import { _ as ps } from "./__vite-plugin-wasm-helper-D7K_KhUE.js";
let $, UW, G, ue, W, y_, a_, B, ae, Ee, er, K, v, vt, m_, k_, MW, pt, bt, I_, lt, SW, WW, HW, Y, GW, Kt, ar, x_, DW, s_, Dt, j_, Zt, be, i_, kt, AW, I, zt, z_, F_, H, R_, TW, At, Tt, O_, He, Yt, Ke, O, P, gt, rr, Ft, nt, Ue, ce, ze, Oe, ur, nr, d_, le, Jt, pe, q_, rt, Z, Me, NW, Nt, c_, Vt, Ge, E, $_, L_, De, fe, A, VW, qe, Ae, Te, CW, PW, Y_, br, BW, se, he, wt, Wt, Ne, $e, Se, Ct, J_, N, E_, M, tH, Ht, Q, Pt, _H, we, Bt, t_, v_, g_, Le, yt, R, eH, rH, it, ve, Ye, S, me, Ut, tt, Gt, Je, or, X_, ye, Z_, Q_, K_, U_, mt, M_, ot, at, Et, pH, st, ct, nH, Mt, Xt, oH, S_, T, W_, H_, G_, l_, J, aH, D_, A_, T_, It, sH, N_, V_, C_, P_, xt, jt, B_, te, lr, __, e_, Rt, vr, yr, _e, C, fr, Ce, et, dt, X, U, L, iH, Fe, D, p_, ge, w_, dH, Ot, de, ft, u_, ke, r_, Ve, sr, k, ee, n_, qt, f_, ie, F, je, _t, hr, $t, re, ne, cH, oe, V, gH, We, ir, ut, b_, Lt, dr, Qt, St, cr, ms, ks, Is, xs, js, zs, Fs, Rs, Os, qs, $s, Ls, Ys, Js, Es, Xs, Zs, Qs, Ks, Us, Ms, Ss, Ws, Hs, Gs, Ds, As, Ts, Ns, Vs, Cs, Ps, Bs, ti, us, _i, ei, ri, ni, oi, ai, si, ii, di, ci, gi, pi, wi, ui, bi, li, fW, yW, ZW, KW, EW, YW, XW, QW, qW, JW, LW, RW, FW, $W, xW, jW, zW, mW, kW, IW, OW, lW, vW, hW;
let __tla = (async ()=>{
    const ws = "/assets/cardano_serialization_lib_bg-pbZPHw08.wasm";
    let _;
    us = function(w) {
        _ = w;
    };
    let Pe = null;
    function Re() {
        return (Pe === null || Pe.byteLength === 0) && (Pe = new Uint8Array(_.memory.buffer)), Pe;
    }
    const ns = typeof TextDecoder > "u" ? (0, module.require)("util").TextDecoder : TextDecoder;
    let tr = new ns("utf-8", {
        ignoreBOM: !0,
        fatal: !0
    });
    tr.decode();
    const bs = 2146435072;
    let pr = 0;
    function ls(w, t) {
        return pr += t, pr >= bs && (tr = new ns("utf-8", {
            ignoreBOM: !0,
            fatal: !0
        }), tr.decode(), pr = t), tr.decode(Re().subarray(w, w + t));
    }
    function f(w, t) {
        return w = w >>> 0, ls(w, t);
    }
    const o_ = new Array(128).fill(void 0);
    o_.push(void 0, null, !0, !1);
    let Qe = o_.length;
    function q(w) {
        Qe === o_.length && o_.push(o_.length + 1);
        const t = Qe;
        return Qe = o_[t], o_[t] = w, t;
    }
    function z(w) {
        return o_[w];
    }
    let b = 0;
    const fs = typeof TextEncoder > "u" ? (0, module.require)("util").TextEncoder : TextEncoder, _r = new fs("utf-8"), hs = typeof _r.encodeInto == "function" ? function(w, t) {
        return _r.encodeInto(w, t);
    } : function(w, t) {
        const e = _r.encode(w);
        return t.set(e), {
            read: w.length,
            written: e.length
        };
    };
    function l(w, t, e) {
        if (e === void 0) {
            const i = _r.encode(w), u = t(i.length, 1) >>> 0;
            return Re().subarray(u, u + i.length).set(i), b = i.length, u;
        }
        let a = w.length, n = t(a, 1) >>> 0;
        const r = Re();
        let d = 0;
        for(; d < a; d++){
            const i = w.charCodeAt(d);
            if (i > 127) break;
            r[n + d] = i;
        }
        if (d !== a) {
            d !== 0 && (w = w.slice(d)), n = e(n, a, a = d + w.length * 3, 1) >>> 0;
            const i = Re().subarray(n + d, n + a), u = hs(w, i);
            d += u.written, n = e(n, a, d, 1) >>> 0;
        }
        return b = d, n;
    }
    let Ie = null;
    function o() {
        return (Ie === null || Ie.buffer.detached === !0 || Ie.buffer.detached === void 0 && Ie.buffer !== _.memory.buffer) && (Ie = new DataView(_.memory.buffer)), Ie;
    }
    function h_(w, t) {
        try {
            return w.apply(this, t);
        } catch (e) {
            _.__wbindgen_exn_store(q(e));
        }
    }
    function y(w, t) {
        return w = w >>> 0, Re().subarray(w / 1, w / 1 + t);
    }
    function vs(w) {
        w < 132 || (o_[w] = Qe, Qe = w);
    }
    function c(w) {
        const t = z(w);
        return vs(w), t;
    }
    function wr(w) {
        const t = typeof w;
        if (t == "number" || t == "boolean" || w == null) return `${w}`;
        if (t == "string") return `"${w}"`;
        if (t == "symbol") {
            const n = w.description;
            return n == null ? "Symbol" : `Symbol(${n})`;
        }
        if (t == "function") {
            const n = w.name;
            return typeof n == "string" && n.length > 0 ? `Function(${n})` : "Function";
        }
        if (Array.isArray(w)) {
            const n = w.length;
            let r = "[";
            n > 0 && (r += wr(w[0]));
            for(let d = 1; d < n; d++)r += ", " + wr(w[d]);
            return r += "]", r;
        }
        const e = /\[object ([^\]]+)\]/.exec(toString.call(w));
        let a;
        if (e && e.length > 1) a = e[1];
        else return toString.call(w);
        if (a == "Object") try {
            return "Object(" + JSON.stringify(w) + ")";
        } catch  {
            return "Object";
        }
        return w instanceof Error ? `${w.name}: ${w.message}
${w.stack}` : a;
    }
    function ht(w) {
        return w == null;
    }
    function p(w, t) {
        if (!(w instanceof t)) throw new Error(`expected instance of ${t.name}`);
    }
    function h(w, t) {
        const e = t(w.length * 1, 1) >>> 0;
        return Re().set(w, e / 1), b = w.length, e;
    }
    lW = function(w, t) {
        try {
            const r = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, Rt), p(t, Te), _.min_fee(r, w.__wbg_ptr, t.__wbg_ptr);
            var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
            if (n) throw c(a);
            return v.__wrap(e);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    fW = function(w, t) {
        try {
            const r = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, nt), p(t, Ft), _.calculate_ex_units_ceil_cost(r, w.__wbg_ptr, t.__wbg_ptr);
            var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
            if (n) throw c(a);
            return v.__wrap(e);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    hW = function(w, t) {
        try {
            const r = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, Rt), p(t, Ft), _.min_script_fee(r, w.__wbg_ptr, t.__wbg_ptr);
            var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
            if (n) throw c(a);
            return v.__wrap(e);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    vW = function(w, t) {
        try {
            const r = _.__wbindgen_add_to_stack_pointer(-16);
            p(t, k), _.min_ref_script_fee(r, w, t.__wbg_ptr);
            var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
            if (n) throw c(a);
            return v.__wrap(e);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    yW = function(w, t, e) {
        try {
            const d = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, $), p(t, de), p(e, Ce), _.create_send_all(d, w.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
            if (r) throw c(n);
            return yr.__wrap(a);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    let Be = null;
    function os() {
        return (Be === null || Be.byteLength === 0) && (Be = new Uint32Array(_.memory.buffer)), Be;
    }
    function gr(w, t) {
        return w = w >>> 0, os().subarray(w / 4, w / 4 + t);
    }
    mW = function(w, t, e) {
        p(w, dt), p(t, lt), p(e, Ae);
        const a = _.make_daedalus_bootstrap_witness(w.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
        return bt.__wrap(a);
    };
    kW = function(w, t, e) {
        p(w, dt), p(t, lt), p(e, vt);
        const a = _.make_icarus_bootstrap_witness(w.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
        return bt.__wrap(a);
    };
    IW = function(w, t) {
        p(w, dt), p(t, mt);
        const e = _.make_vkey_witness(w.__wbg_ptr, t.__wbg_ptr);
        return $t.__wrap(e);
    };
    xW = function(w) {
        p(w, B);
        const t = _.hash_auxiliary_data(w.__wbg_ptr);
        return ae.__wrap(t);
    };
    jW = function(w) {
        p(w, R);
        const t = _.hash_plutus_data(w.__wbg_ptr);
        return Yt.__wrap(t);
    };
    zW = function(w, t, e) {
        p(w, Mt), p(t, kt);
        let a = 0;
        ht(e) || (p(e, it), a = e.__destroy_into_raw());
        const n = _.hash_script_data(w.__wbg_ptr, t.__wbg_ptr, a);
        return l_.__wrap(n);
    };
    FW = function(w, t, e) {
        try {
            const d = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, C), p(t, v), p(e, v), _.get_implicit_input(d, w.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
            if (r) throw c(n);
            return F.__wrap(a);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    RW = function(w, t, e) {
        try {
            const d = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, C), p(t, v), p(e, v), _.get_deposit(d, w.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
            if (r) throw c(n);
            return v.__wrap(a);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    OW = function(w, t) {
        try {
            const r = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, D), p(t, He), _.min_ada_for_output(r, w.__wbg_ptr, t.__wbg_ptr);
            var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
            if (n) throw c(a);
            return v.__wrap(e);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    qW = function(w, t, e) {
        try {
            const d = _.__wbindgen_add_to_stack_pointer(-16), i = l(w, _.__wbindgen_malloc, _.__wbindgen_realloc), u = b, g = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), m = b;
            _.encode_json_str_to_native_script(d, i, u, g, m, e);
            var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
            if (r) throw c(n);
            return M.__wrap(a);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    $W = function(w) {
        try {
            const n = _.__wbindgen_add_to_stack_pointer(-16), r = h(w, _.__wbindgen_malloc), d = b;
            _.has_transaction_set_tag(n, r, d);
            var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
            if (a) throw c(e);
            return t;
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    LW = function(w, t, e, a) {
        let n, r;
        try {
            const j = _.__wbindgen_add_to_stack_pointer(-16), Xe = l(w, _.__wbindgen_malloc, _.__wbindgen_realloc), Ze = b, as = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), ss = b, is = l(e, _.__wbindgen_malloc, _.__wbindgen_realloc), ds = b, cs = l(a, _.__wbindgen_malloc, _.__wbindgen_realloc), gs = b;
            _.encrypt_with_password(j, Xe, Ze, as, ss, is, ds, cs, gs);
            var d = o().getInt32(j + 0, !0), i = o().getInt32(j + 4, !0), u = o().getInt32(j + 8, !0), g = o().getInt32(j + 12, !0), m = d, x = i;
            if (g) throw m = 0, x = 0, c(u);
            return n = m, r = x, f(m, x);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(n, r, 1);
        }
    };
    YW = function(w, t) {
        let e, a;
        try {
            const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(w, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b, Xe = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), Ze = b;
            _.decrypt_with_password(m, x, j, Xe, Ze);
            var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
            if (i) throw u = 0, g = 0, c(d);
            return e = u, a = g, f(u, g);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
        }
    };
    JW = function(w, t) {
        try {
            const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(w, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
            _.encode_json_str_to_plutus_datum(r, d, i, t);
            var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
            if (n) throw c(a);
            return R.__wrap(e);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    EW = function(w, t) {
        let e, a;
        try {
            const m = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, R), _.decode_plutus_datum_to_json_str(m, w.__wbg_ptr, t);
            var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
            if (i) throw u = 0, g = 0, c(d);
            return e = u, a = g, f(u, g);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
        }
    };
    XW = function(w) {
        const t = h(w, _.__wbindgen_malloc), e = b, a = _.encode_arbitrary_bytes_as_metadatum(t, e);
        return L.__wrap(a);
    };
    ZW = function(w) {
        try {
            const d = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, L), _.decode_arbitrary_bytes_from_metadatum(d, w.__wbg_ptr);
            var t = o().getInt32(d + 0, !0), e = o().getInt32(d + 4, !0), a = o().getInt32(d + 8, !0), n = o().getInt32(d + 12, !0);
            if (n) throw c(a);
            var r = y(t, e).slice();
            return _.__wbindgen_free(t, e * 1, 1), r;
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    QW = function(w, t) {
        try {
            const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(w, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
            _.encode_json_str_to_metadatum(r, d, i, t);
            var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
            if (n) throw c(a);
            return L.__wrap(e);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16);
        }
    };
    KW = function(w, t) {
        let e, a;
        try {
            const m = _.__wbindgen_add_to_stack_pointer(-16);
            p(w, L), _.decode_metadatum_to_json_str(m, w.__wbg_ptr, t);
            var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
            if (i) throw u = 0, g = 0, c(d);
            return e = u, a = g, f(u, g);
        } finally{
            _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
        }
    };
    function ys(w, t) {
        const e = t(w.length * 4, 4) >>> 0;
        return os().set(w, e / 4), b = w.length, e;
    }
    let mr;
    UW = Object.freeze({
        Base: 0,
        0: "Base",
        Pointer: 1,
        1: "Pointer",
        Enterprise: 2,
        2: "Enterprise",
        Reward: 3,
        3: "Reward",
        Byron: 4,
        4: "Byron",
        Malformed: 5,
        5: "Malformed"
    });
    MW = Object.freeze({
        Byron: 0,
        0: "Byron",
        Shelley: 1,
        1: "Shelley",
        Allegra: 2,
        2: "Allegra",
        Mary: 3,
        3: "Mary",
        Alonzo: 4,
        4: "Alonzo",
        Babbage: 5,
        5: "Babbage",
        Conway: 6,
        6: "Conway",
        Unknown: 7,
        7: "Unknown"
    });
    SW = Object.freeze({
        ATPubKey: 0,
        0: "ATPubKey",
        ATScript: 1,
        1: "ATScript",
        ATRedeem: 2,
        2: "ATRedeem"
    });
    WW = Object.freeze({
        Array: 0,
        0: "Array",
        Map: 1,
        1: "Map"
    });
    HW = Object.freeze({
        Tagged: 0,
        0: "Tagged",
        Untagged: 1,
        1: "Untagged"
    });
    GW = Object.freeze({
        StakeRegistration: 0,
        0: "StakeRegistration",
        StakeDeregistration: 1,
        1: "StakeDeregistration",
        StakeDelegation: 2,
        2: "StakeDelegation",
        PoolRegistration: 3,
        3: "PoolRegistration",
        PoolRetirement: 4,
        4: "PoolRetirement",
        GenesisKeyDelegation: 5,
        5: "GenesisKeyDelegation",
        MoveInstantaneousRewardsCert: 6,
        6: "MoveInstantaneousRewardsCert",
        CommitteeHotAuth: 7,
        7: "CommitteeHotAuth",
        CommitteeColdResign: 8,
        8: "CommitteeColdResign",
        DRepDeregistration: 9,
        9: "DRepDeregistration",
        DRepRegistration: 10,
        10: "DRepRegistration",
        DRepUpdate: 11,
        11: "DRepUpdate",
        StakeAndVoteDelegation: 12,
        12: "StakeAndVoteDelegation",
        StakeRegistrationAndDelegation: 13,
        13: "StakeRegistrationAndDelegation",
        StakeVoteRegistrationAndDelegation: 14,
        14: "StakeVoteRegistrationAndDelegation",
        VoteDelegation: 15,
        15: "VoteDelegation",
        VoteRegistrationAndDelegation: 16,
        16: "VoteRegistrationAndDelegation"
    });
    DW = Object.freeze({
        LargestFirst: 0,
        0: "LargestFirst",
        RandomImprove: 1,
        1: "RandomImprove",
        LargestFirstMultiAsset: 2,
        2: "LargestFirstMultiAsset",
        RandomImproveMultiAsset: 3,
        3: "RandomImproveMultiAsset"
    });
    AW = Object.freeze({
        Key: 0,
        0: "Key",
        Script: 1,
        1: "Script"
    });
    TW = Object.freeze({
        KeyHash: 0,
        0: "KeyHash",
        ScriptHash: 1,
        1: "ScriptHash",
        AlwaysAbstain: 2,
        2: "AlwaysAbstain",
        AlwaysNoConfidence: 3,
        3: "AlwaysNoConfidence"
    });
    NW = Object.freeze({
        ParameterChangeAction: 0,
        0: "ParameterChangeAction",
        HardForkInitiationAction: 1,
        1: "HardForkInitiationAction",
        TreasuryWithdrawalsAction: 2,
        2: "TreasuryWithdrawalsAction",
        NoConfidenceAction: 3,
        3: "NoConfidenceAction",
        UpdateCommitteeAction: 4,
        4: "UpdateCommitteeAction",
        NewConstitutionAction: 5,
        5: "NewConstitutionAction",
        InfoAction: 6,
        6: "InfoAction"
    });
    VW = Object.freeze({
        PlutusV1: 0,
        0: "PlutusV1",
        PlutusV2: 1,
        1: "PlutusV2",
        PlutusV3: 2,
        2: "PlutusV3"
    });
    CW = Object.freeze({
        ToOtherPot: 0,
        0: "ToOtherPot",
        ToStakeCredentials: 1,
        1: "ToStakeCredentials"
    });
    PW = Object.freeze({
        Reserves: 0,
        0: "Reserves",
        Treasury: 1,
        1: "Treasury"
    });
    BW = Object.freeze({
        NoConversions: 0,
        0: "NoConversions",
        BasicConversions: 1,
        1: "BasicConversions",
        DetailedSchema: 2,
        2: "DetailedSchema"
    });
    tH = Object.freeze({
        ScriptPubkey: 0,
        0: "ScriptPubkey",
        ScriptAll: 1,
        1: "ScriptAll",
        ScriptAny: 2,
        2: "ScriptAny",
        ScriptNOfK: 3,
        3: "ScriptNOfK",
        TimelockStart: 4,
        4: "TimelockStart",
        TimelockExpiry: 5,
        5: "TimelockExpiry"
    });
    _H = Object.freeze({
        Testnet: 0,
        0: "Testnet",
        Mainnet: 1,
        1: "Mainnet"
    });
    eH = Object.freeze({
        ConstrPlutusData: 0,
        0: "ConstrPlutusData",
        Map: 1,
        1: "Map",
        List: 2,
        2: "List",
        Integer: 3,
        3: "Integer",
        Bytes: 4,
        4: "Bytes"
    });
    rH = Object.freeze({
        BasicConversions: 0,
        0: "BasicConversions",
        DetailedSchema: 1,
        1: "DetailedSchema"
    });
    nH = Object.freeze({
        Spend: 0,
        0: "Spend",
        Mint: 1,
        1: "Mint",
        Cert: 2,
        2: "Cert",
        Reward: 3,
        3: "Reward",
        Vote: 4,
        4: "Vote",
        VotingProposal: 5,
        5: "VotingProposal"
    });
    oH = Object.freeze({
        SingleHostAddr: 0,
        0: "SingleHostAddr",
        SingleHostName: 1,
        1: "SingleHostName",
        MultiHostName: 2,
        2: "MultiHostName"
    });
    aH = Object.freeze({
        NativeScript: 0,
        0: "NativeScript",
        PlutusScript: 1,
        1: "PlutusScript",
        PlutusScriptV2: 2,
        2: "PlutusScriptV2",
        PlutusScriptV3: 3,
        3: "PlutusScriptV3"
    });
    sH = Object.freeze({
        Wallet: 0,
        0: "Wallet",
        Node: 1,
        1: "Node"
    });
    iH = Object.freeze({
        MetadataMap: 0,
        0: "MetadataMap",
        MetadataList: 1,
        1: "MetadataList",
        Int: 2,
        2: "Int",
        Bytes: 3,
        3: "Bytes",
        Text: 4,
        4: "Text"
    });
    dH = Object.freeze({
        AllSetsHaveTag: 0,
        0: "AllSetsHaveTag",
        AllSetsHaveNoTag: 1,
        1: "AllSetsHaveNoTag",
        MixedSets: 2,
        2: "MixedSets"
    });
    cH = Object.freeze({
        No: 0,
        0: "No",
        Yes: 1,
        1: "Yes",
        Abstain: 2,
        2: "Abstain"
    });
    gH = Object.freeze({
        ConstitutionalCommitteeHotKeyHash: 0,
        0: "ConstitutionalCommitteeHotKeyHash",
        ConstitutionalCommitteeHotScriptHash: 1,
        1: "ConstitutionalCommitteeHotScriptHash",
        DRepKeyHash: 2,
        2: "DRepKeyHash",
        DRepScriptHash: 3,
        3: "DRepScriptHash",
        StakingPoolKeyHash: 4,
        4: "StakingPoolKeyHash"
    });
    mr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_address_free(w >>> 0, 1));
    $ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create($.prototype);
            return e.__wbg_ptr = t, mr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, mr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_address_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.address_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.address_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.address_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.address_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        kind() {
            return _.address_kind(this.__wbg_ptr);
        }
        payment_cred() {
            const t = _.address_payment_cred(this.__wbg_ptr);
            return t === 0 ? void 0 : I.__wrap(t);
        }
        is_malformed() {
            return _.address_is_malformed(this.__wbg_ptr) !== 0;
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.address_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.address_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.address_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const j = _.__wbindgen_add_to_stack_pointer(-16);
                var n = ht(t) ? 0 : l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), r = b;
                _.address_to_bech32(j, this.__wbg_ptr, n, r);
                var d = o().getInt32(j + 0, !0), i = o().getInt32(j + 4, !0), u = o().getInt32(j + 8, !0), g = o().getInt32(j + 12, !0), m = d, x = i;
                if (g) throw m = 0, x = 0, c(u);
                return e = m, a = x, f(m, x);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.address_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        network_id() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.address_network_id(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const kr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_anchor_free(w >>> 0, 1));
    G = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(G.prototype);
            return e.__wbg_ptr = t, kr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, kr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_anchor_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.anchor_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.anchor_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return G.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.anchor_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.anchor_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return G.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.anchor_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.anchor_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.anchor_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return G.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        url() {
            const t = _.anchor_url(this.__wbg_ptr);
            return sr.__wrap(t);
        }
        anchor_data_hash() {
            const t = _.anchor_anchor_data_hash(this.__wbg_ptr);
            return ue.__wrap(t);
        }
        static new(t, e) {
            p(t, sr), p(e, ue);
            const a = _.anchor_new(t.__wbg_ptr, e.__wbg_ptr);
            return G.__wrap(a);
        }
    };
    const Ir = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_anchordatahash_free(w >>> 0, 1));
    ue = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ue.prototype);
            return e.__wbg_ptr = t, Ir.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ir.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_anchordatahash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.anchordatahash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ue.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.anchordatahash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.anchordatahash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.anchordatahash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ue.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.anchordatahash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.anchordatahash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ue.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const xr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_assetname_free(w >>> 0, 1));
    W = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(W.prototype);
            return e.__wbg_ptr = t, xr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, xr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_assetname_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetname_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.assetname_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return W.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetname_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.assetname_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return W.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetname_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetname_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.assetname_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return W.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.assetname_new(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return W.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        name() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetname_name(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const jr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_assetnames_free(w >>> 0, 1));
    y_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(y_.prototype);
            return e.__wbg_ptr = t, jr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, jr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_assetnames_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetnames_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.assetnames_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return y_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetnames_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.assetnames_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return y_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetnames_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.assetnames_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.assetnames_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return y_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.assetnames_new();
            return y_.__wrap(t);
        }
        len() {
            return _.assetnames_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.assetnames_get(this.__wbg_ptr, t);
            return W.__wrap(e);
        }
        add(t) {
            p(t, W), _.assetnames_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const zr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_assets_free(w >>> 0, 1));
    a_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(a_.prototype);
            return e.__wbg_ptr = t, zr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, zr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_assets_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.assets_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.assets_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return a_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.assets_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.assets_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return a_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.assets_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.assets_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.assets_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return a_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.assets_new();
            return a_.__wrap(t);
        }
        len() {
            return _.assets_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, W), p(e, v);
            const a = _.assets_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : v.__wrap(a);
        }
        get(t) {
            p(t, W);
            const e = _.assets_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : v.__wrap(e);
        }
        keys() {
            const t = _.assets_keys(this.__wbg_ptr);
            return y_.__wrap(t);
        }
    };
    const Fr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_auxiliarydata_free(w >>> 0, 1));
    B = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(B.prototype);
            return e.__wbg_ptr = t, Fr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Fr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_auxiliarydata_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.auxiliarydata_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.auxiliarydata_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return B.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.auxiliarydata_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.auxiliarydata_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return B.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.auxiliarydata_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.auxiliarydata_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.auxiliarydata_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return B.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.auxiliarydata_new();
            return B.__wrap(t);
        }
        metadata() {
            const t = _.auxiliarydata_metadata(this.__wbg_ptr);
            return t === 0 ? void 0 : d_.__wrap(t);
        }
        set_metadata(t) {
            p(t, d_), _.auxiliarydata_set_metadata(this.__wbg_ptr, t.__wbg_ptr);
        }
        native_scripts() {
            const t = _.auxiliarydata_native_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Q.__wrap(t);
        }
        set_native_scripts(t) {
            p(t, Q), _.auxiliarydata_set_native_scripts(this.__wbg_ptr, t.__wbg_ptr);
        }
        plutus_scripts() {
            const t = _.auxiliarydata_plutus_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Ut.__wrap(t);
        }
        set_plutus_scripts(t) {
            p(t, Ut), _.auxiliarydata_set_plutus_scripts(this.__wbg_ptr, t.__wbg_ptr);
        }
        prefer_alonzo_format() {
            return _.auxiliarydata_prefer_alonzo_format(this.__wbg_ptr) !== 0;
        }
        set_prefer_alonzo_format(t) {
            _.auxiliarydata_set_prefer_alonzo_format(this.__wbg_ptr, t);
        }
    };
    const Rr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_auxiliarydatahash_free(w >>> 0, 1));
    ae = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ae.prototype);
            return e.__wbg_ptr = t, Rr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Rr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_auxiliarydatahash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.auxiliarydatahash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ae.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.auxiliarydatahash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.auxiliarydatahash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.auxiliarydatahash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ae.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.auxiliarydatahash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.auxiliarydatahash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ae.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Or = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_auxiliarydataset_free(w >>> 0, 1));
    Ee = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ee.prototype);
            return e.__wbg_ptr = t, Or.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Or.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_auxiliarydataset_free(t, 0);
        }
        static new() {
            const t = _.auxiliarydataset_new();
            return Ee.__wrap(t);
        }
        len() {
            return _.auxiliarydataset_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(e, B);
            const a = _.auxiliarydataset_insert(this.__wbg_ptr, t, e.__wbg_ptr);
            return a === 0 ? void 0 : B.__wrap(a);
        }
        get(t) {
            const e = _.auxiliarydataset_get(this.__wbg_ptr, t);
            return e === 0 ? void 0 : B.__wrap(e);
        }
        indices() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.auxiliarydataset_indices(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = gr(t, e).slice();
                return _.__wbindgen_free(t, e * 4, 4), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const qr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_baseaddress_free(w >>> 0, 1));
    er = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(er.prototype);
            return e.__wbg_ptr = t, qr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, qr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_baseaddress_free(t, 0);
        }
        static new(t, e, a) {
            p(e, I), p(a, I);
            const n = _.baseaddress_new(t, e.__wbg_ptr, a.__wbg_ptr);
            return er.__wrap(n);
        }
        payment_cred() {
            const t = _.baseaddress_payment_cred(this.__wbg_ptr);
            return I.__wrap(t);
        }
        stake_cred() {
            const t = _.baseaddress_stake_cred(this.__wbg_ptr);
            return I.__wrap(t);
        }
        to_address() {
            const t = _.baseaddress_to_address(this.__wbg_ptr);
            return $.__wrap(t);
        }
        static from_address(t) {
            p(t, $);
            const e = _.baseaddress_from_address(t.__wbg_ptr);
            return e === 0 ? void 0 : er.__wrap(e);
        }
        network_id() {
            return _.baseaddress_network_id(this.__wbg_ptr);
        }
    };
    const $r = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_bigint_free(w >>> 0, 1));
    K = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(K.prototype);
            return e.__wbg_ptr = t, $r.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, $r.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_bigint_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bigint_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.bigint_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return K.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bigint_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bigint_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return K.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.bigint_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bigint_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bigint_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return K.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        is_zero() {
            return _.bigint_is_zero(this.__wbg_ptr) !== 0;
        }
        as_u64() {
            const t = _.bigint_as_u64(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        as_int() {
            const t = _.bigint_as_int(this.__wbg_ptr);
            return t === 0 ? void 0 : E.__wrap(t);
        }
        static from_str(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bigint_from_str(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return K.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_str() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bigint_to_str(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        add(t) {
            p(t, K);
            const e = _.bigint_add(this.__wbg_ptr, t.__wbg_ptr);
            return K.__wrap(e);
        }
        sub(t) {
            p(t, K);
            const e = _.bigint_sub(this.__wbg_ptr, t.__wbg_ptr);
            return K.__wrap(e);
        }
        mul(t) {
            p(t, K);
            const e = _.bigint_mul(this.__wbg_ptr, t.__wbg_ptr);
            return K.__wrap(e);
        }
        pow(t) {
            const e = _.bigint_pow(this.__wbg_ptr, t);
            return K.__wrap(e);
        }
        static one() {
            const t = _.bigint_one();
            return K.__wrap(t);
        }
        static zero() {
            const t = _.bigint_zero();
            return K.__wrap(t);
        }
        abs() {
            const t = _.bigint_abs(this.__wbg_ptr);
            return K.__wrap(t);
        }
        increment() {
            const t = _.bigint_increment(this.__wbg_ptr);
            return K.__wrap(t);
        }
        div_ceil(t) {
            p(t, K);
            const e = _.bigint_div_ceil(this.__wbg_ptr, t.__wbg_ptr);
            return K.__wrap(e);
        }
        div_floor(t) {
            p(t, K);
            const e = _.bigint_div_floor(this.__wbg_ptr, t.__wbg_ptr);
            return K.__wrap(e);
        }
    };
    const Lr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_bignum_free(w >>> 0, 1));
    v = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(v.prototype);
            return e.__wbg_ptr = t, Lr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Lr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_bignum_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bignum_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.bignum_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bignum_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bignum_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.bignum_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bignum_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bignum_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_str(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bignum_from_str(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_str() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bignum_to_str(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static zero() {
            const t = _.bignum_zero();
            return v.__wrap(t);
        }
        static one() {
            const t = _.bignum_one();
            return v.__wrap(t);
        }
        is_zero() {
            return _.bignum_is_zero(this.__wbg_ptr) !== 0;
        }
        div_floor(t) {
            p(t, v);
            const e = _.bignum_div_floor(this.__wbg_ptr, t.__wbg_ptr);
            return v.__wrap(e);
        }
        checked_mul(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v), _.bignum_checked_mul(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        checked_add(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v), _.bignum_checked_add(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        checked_sub(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v), _.bignum_checked_sub(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        clamped_sub(t) {
            p(t, v);
            const e = _.bignum_clamped_sub(this.__wbg_ptr, t.__wbg_ptr);
            return v.__wrap(e);
        }
        compare(t) {
            return p(t, v), _.bignum_compare(this.__wbg_ptr, t.__wbg_ptr);
        }
        less_than(t) {
            return p(t, v), _.bignum_less_than(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
        static max_value() {
            const t = _.bignum_max_value();
            return v.__wrap(t);
        }
        static max(t, e) {
            p(t, v), p(e, v);
            const a = _.bignum_max(t.__wbg_ptr, e.__wbg_ptr);
            return v.__wrap(a);
        }
    };
    const Yr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_bip32privatekey_free(w >>> 0, 1));
    vt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(vt.prototype);
            return e.__wbg_ptr = t, Yr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Yr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_bip32privatekey_free(t, 0);
        }
        derive(t) {
            const e = _.bip32privatekey_derive(this.__wbg_ptr, t);
            return vt.__wrap(e);
        }
        static from_128_xprv(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.bip32privatekey_from_128_xprv(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return vt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_128_xprv() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32privatekey_to_128_xprv(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static generate_ed25519_bip32() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32privatekey_generate_ed25519_bip32(n);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return vt.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_raw_key() {
            const t = _.bip32privatekey_to_raw_key(this.__wbg_ptr);
            return mt.__wrap(t);
        }
        to_public() {
            const t = _.bip32privatekey_to_public(this.__wbg_ptr);
            return m_.__wrap(t);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.bip32privatekey_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return vt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32privatekey_as_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bip32privatekey_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return vt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32privatekey_to_bech32(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_bip39_entropy(t, e) {
            const a = h(t, _.__wbindgen_malloc), n = b, r = h(e, _.__wbindgen_malloc), d = b, i = _.bip32privatekey_from_bip39_entropy(a, n, r, d);
            return vt.__wrap(i);
        }
        chaincode() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32privatekey_chaincode(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32privatekey_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bip32privatekey_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return vt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Jr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_bip32publickey_free(w >>> 0, 1));
    m_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(m_.prototype);
            return e.__wbg_ptr = t, Jr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Jr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_bip32publickey_free(t, 0);
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bip32publickey_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return m_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32publickey_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        chaincode() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32publickey_chaincode(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32publickey_to_bech32(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bip32publickey_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return m_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32publickey_as_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.bip32publickey_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return m_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_raw_key() {
            const t = _.bip32publickey_to_raw_key(this.__wbg_ptr);
            return Et.__wrap(t);
        }
        derive(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bip32publickey_derive(r, this.__wbg_ptr, t);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return m_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Er = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_block_free(w >>> 0, 1));
    k_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(k_.prototype);
            return e.__wbg_ptr = t, Er.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Er.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_block_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.block_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.block_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return k_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.block_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.block_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return k_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.block_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.block_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.block_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return k_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        header() {
            const t = _.block_header(this.__wbg_ptr);
            return c_.__wrap(t);
        }
        transaction_bodies() {
            const t = _.block_transaction_bodies(this.__wbg_ptr);
            return _e.__wrap(t);
        }
        transaction_witness_sets() {
            const t = _.block_transaction_witness_sets(this.__wbg_ptr);
            return u_.__wrap(t);
        }
        auxiliary_data_set() {
            const t = _.block_auxiliary_data_set(this.__wbg_ptr);
            return Ee.__wrap(t);
        }
        invalid_transactions() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.block_invalid_transactions(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = gr(t, e).slice();
                return _.__wbindgen_free(t, e * 4, 4), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e, a, n, r) {
            p(t, c_), p(e, _e), p(a, u_), p(n, Ee);
            const d = ys(r, _.__wbindgen_malloc), i = b, u = _.block_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr, d, i);
            return k_.__wrap(u);
        }
    };
    const Xr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_blockhash_free(w >>> 0, 1));
    pt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(pt.prototype);
            return e.__wbg_ptr = t, Xr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Xr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_blockhash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.blockhash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return pt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.blockhash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.blockhash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.blockhash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return pt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.blockhash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.blockhash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return pt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Zr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_bootstrapwitness_free(w >>> 0, 1));
    bt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(bt.prototype);
            return e.__wbg_ptr = t, Zr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Zr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_bootstrapwitness_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitness_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.bootstrapwitness_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return bt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitness_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bootstrapwitness_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return bt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitness_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitness_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bootstrapwitness_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return bt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        vkey() {
            const t = _.bootstrapwitness_vkey(this.__wbg_ptr);
            return _t.__wrap(t);
        }
        signature() {
            const t = _.bootstrapwitness_signature(this.__wbg_ptr);
            return gt.__wrap(t);
        }
        chain_code() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitness_chain_code(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        attributes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitness_attributes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e, a, n) {
            p(t, _t), p(e, gt);
            const r = h(a, _.__wbindgen_malloc), d = b, i = h(n, _.__wbindgen_malloc), u = b, g = _.bootstrapwitness_new(t.__wbg_ptr, e.__wbg_ptr, r, d, i, u);
            return bt.__wrap(g);
        }
    };
    const Qr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_bootstrapwitnesses_free(w >>> 0, 1));
    I_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(I_.prototype);
            return e.__wbg_ptr = t, Qr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Qr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_bootstrapwitnesses_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitnesses_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.bootstrapwitnesses_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return I_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitnesses_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bootstrapwitnesses_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return I_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitnesses_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.bootstrapwitnesses_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.bootstrapwitnesses_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return I_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.bootstrapwitnesses_new();
            return I_.__wrap(t);
        }
        len() {
            return _.bootstrapwitnesses_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.bootstrapwitnesses_get(this.__wbg_ptr, t);
            return bt.__wrap(e);
        }
        add(t) {
            return p(t, bt), _.bootstrapwitnesses_add(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
    };
    const Kr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_byronaddress_free(w >>> 0, 1));
    lt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(lt.prototype);
            return e.__wbg_ptr = t, Kr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Kr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_byronaddress_free(t, 0);
        }
        to_base58() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.byronaddress_to_base58(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.byronaddress_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.byronaddress_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return lt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        byron_protocol_magic() {
            return _.byronaddress_byron_protocol_magic(this.__wbg_ptr) >>> 0;
        }
        byron_address_kind() {
            return _.byronaddress_byron_address_kind(this.__wbg_ptr);
        }
        attributes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.byronaddress_attributes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        network_id() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.byronaddress_network_id(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_base58(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.byronaddress_from_base58(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return lt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static icarus_from_key(t, e) {
            p(t, m_);
            const a = _.byronaddress_icarus_from_key(t.__wbg_ptr, e);
            return lt.__wrap(a);
        }
        static is_valid(t) {
            const e = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), a = b;
            return _.byronaddress_is_valid(e, a) !== 0;
        }
        to_address() {
            const t = _.byronaddress_to_address(this.__wbg_ptr);
            return $.__wrap(t);
        }
        static from_address(t) {
            p(t, $);
            const e = _.byronaddress_from_address(t.__wbg_ptr);
            return e === 0 ? void 0 : lt.__wrap(e);
        }
    };
    const Ur = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_certificate_free(w >>> 0, 1));
    Y = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Y.prototype);
            return e.__wbg_ptr = t, Ur.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ur.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_certificate_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.certificate_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.certificate_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Y.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.certificate_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.certificate_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Y.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.certificate_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.certificate_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.certificate_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Y.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_stake_registration(t) {
            p(t, jt);
            const e = _.certificate_new_stake_registration(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_reg_cert(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, jt), _.certificate_new_reg_cert(r, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Y.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_stake_deregistration(t) {
            p(t, xt);
            const e = _.certificate_new_stake_deregistration(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_unreg_cert(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, xt), _.certificate_new_unreg_cert(r, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Y.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_stake_delegation(t) {
            p(t, P_);
            const e = _.certificate_new_stake_delegation(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_pool_registration(t) {
            p(t, Q_);
            const e = _.certificate_new_pool_registration(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_pool_retirement(t) {
            p(t, K_);
            const e = _.certificate_new_pool_retirement(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_genesis_key_delegation(t) {
            p(t, q_);
            const e = _.certificate_new_genesis_key_delegation(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_move_instantaneous_rewards_cert(t) {
            p(t, J_);
            const e = _.certificate_new_move_instantaneous_rewards_cert(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_committee_hot_auth(t) {
            p(t, j_);
            const e = _.certificate_new_committee_hot_auth(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_committee_cold_resign(t) {
            p(t, Dt);
            const e = _.certificate_new_committee_cold_resign(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_drep_deregistration(t) {
            p(t, R_);
            const e = _.certificate_new_drep_deregistration(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_drep_registration(t) {
            p(t, At);
            const e = _.certificate_new_drep_registration(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_drep_update(t) {
            p(t, Tt);
            const e = _.certificate_new_drep_update(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_stake_and_vote_delegation(t) {
            p(t, C_);
            const e = _.certificate_new_stake_and_vote_delegation(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_stake_registration_and_delegation(t) {
            p(t, B_);
            const e = _.certificate_new_stake_registration_and_delegation(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_stake_vote_registration_and_delegation(t) {
            p(t, te);
            const e = _.certificate_new_stake_vote_registration_and_delegation(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_vote_delegation(t) {
            p(t, ne);
            const e = _.certificate_new_vote_delegation(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        static new_vote_registration_and_delegation(t) {
            p(t, oe);
            const e = _.certificate_new_vote_registration_and_delegation(t.__wbg_ptr);
            return Y.__wrap(e);
        }
        kind() {
            return _.certificate_kind(this.__wbg_ptr);
        }
        as_stake_registration() {
            const t = _.certificate_as_stake_registration(this.__wbg_ptr);
            return t === 0 ? void 0 : jt.__wrap(t);
        }
        as_reg_cert() {
            const t = _.certificate_as_reg_cert(this.__wbg_ptr);
            return t === 0 ? void 0 : jt.__wrap(t);
        }
        as_stake_deregistration() {
            const t = _.certificate_as_stake_deregistration(this.__wbg_ptr);
            return t === 0 ? void 0 : xt.__wrap(t);
        }
        as_unreg_cert() {
            const t = _.certificate_as_unreg_cert(this.__wbg_ptr);
            return t === 0 ? void 0 : xt.__wrap(t);
        }
        as_stake_delegation() {
            const t = _.certificate_as_stake_delegation(this.__wbg_ptr);
            return t === 0 ? void 0 : P_.__wrap(t);
        }
        as_pool_registration() {
            const t = _.certificate_as_pool_registration(this.__wbg_ptr);
            return t === 0 ? void 0 : Q_.__wrap(t);
        }
        as_pool_retirement() {
            const t = _.certificate_as_pool_retirement(this.__wbg_ptr);
            return t === 0 ? void 0 : K_.__wrap(t);
        }
        as_genesis_key_delegation() {
            const t = _.certificate_as_genesis_key_delegation(this.__wbg_ptr);
            return t === 0 ? void 0 : q_.__wrap(t);
        }
        as_move_instantaneous_rewards_cert() {
            const t = _.certificate_as_move_instantaneous_rewards_cert(this.__wbg_ptr);
            return t === 0 ? void 0 : J_.__wrap(t);
        }
        as_committee_hot_auth() {
            const t = _.certificate_as_committee_hot_auth(this.__wbg_ptr);
            return t === 0 ? void 0 : j_.__wrap(t);
        }
        as_committee_cold_resign() {
            const t = _.certificate_as_committee_cold_resign(this.__wbg_ptr);
            return t === 0 ? void 0 : Dt.__wrap(t);
        }
        as_drep_deregistration() {
            const t = _.certificate_as_drep_deregistration(this.__wbg_ptr);
            return t === 0 ? void 0 : R_.__wrap(t);
        }
        as_drep_registration() {
            const t = _.certificate_as_drep_registration(this.__wbg_ptr);
            return t === 0 ? void 0 : At.__wrap(t);
        }
        as_drep_update() {
            const t = _.certificate_as_drep_update(this.__wbg_ptr);
            return t === 0 ? void 0 : Tt.__wrap(t);
        }
        as_stake_and_vote_delegation() {
            const t = _.certificate_as_stake_and_vote_delegation(this.__wbg_ptr);
            return t === 0 ? void 0 : C_.__wrap(t);
        }
        as_stake_registration_and_delegation() {
            const t = _.certificate_as_stake_registration_and_delegation(this.__wbg_ptr);
            return t === 0 ? void 0 : B_.__wrap(t);
        }
        as_stake_vote_registration_and_delegation() {
            const t = _.certificate_as_stake_vote_registration_and_delegation(this.__wbg_ptr);
            return t === 0 ? void 0 : te.__wrap(t);
        }
        as_vote_delegation() {
            const t = _.certificate_as_vote_delegation(this.__wbg_ptr);
            return t === 0 ? void 0 : ne.__wrap(t);
        }
        as_vote_registration_and_delegation() {
            const t = _.certificate_as_vote_registration_and_delegation(this.__wbg_ptr);
            return t === 0 ? void 0 : oe.__wrap(t);
        }
        has_required_script_witness() {
            return _.certificate_has_required_script_witness(this.__wbg_ptr) !== 0;
        }
    };
    const Mr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_certificates_free(w >>> 0, 1));
    Kt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Kt.prototype);
            return e.__wbg_ptr = t, Mr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Mr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_certificates_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.certificates_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.certificates_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Kt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.certificates_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.certificates_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Kt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.certificates_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.certificates_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.certificates_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Kt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.certificates_new();
            return Kt.__wrap(t);
        }
        len() {
            return _.certificates_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.certificates_get(this.__wbg_ptr, t);
            return Y.__wrap(e);
        }
        add(t) {
            return p(t, Y), _.certificates_add(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
    };
    const Sr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_certificatesbuilder_free(w >>> 0, 1));
    ar = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ar.prototype);
            return e.__wbg_ptr = t, Sr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Sr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_certificatesbuilder_free(t, 0);
        }
        static new() {
            const t = _.certificatesbuilder_new();
            return ar.__wrap(t);
        }
        add(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Y), _.certificatesbuilder_add(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_with_plutus_witness(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Y), p(e, tt), _.certificatesbuilder_add_with_plutus_witness(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_with_native_script(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Y), p(e, Ht), _.certificatesbuilder_add_with_native_script(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_plutus_witnesses() {
            const t = _.certificatesbuilder_get_plutus_witnesses(this.__wbg_ptr);
            return Gt.__wrap(t);
        }
        get_ref_inputs() {
            const t = _.certificatesbuilder_get_ref_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        get_native_scripts() {
            const t = _.certificatesbuilder_get_native_scripts(this.__wbg_ptr);
            return Q.__wrap(t);
        }
        get_certificates_refund(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v), p(e, v), _.certificatesbuilder_get_certificates_refund(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return F.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_certificates_deposit(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v), p(e, v), _.certificatesbuilder_get_certificates_deposit(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return v.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        has_plutus_scripts() {
            return _.certificatesbuilder_has_plutus_scripts(this.__wbg_ptr) !== 0;
        }
        build() {
            const t = _.certificatesbuilder_build(this.__wbg_ptr);
            return Kt.__wrap(t);
        }
    };
    const Wr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_changeconfig_free(w >>> 0, 1));
    x_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(x_.prototype);
            return e.__wbg_ptr = t, Wr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Wr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_changeconfig_free(t, 0);
        }
        static new(t) {
            p(t, $);
            const e = _.changeconfig_new(t.__wbg_ptr);
            return x_.__wrap(e);
        }
        change_address(t) {
            p(t, $);
            const e = _.changeconfig_change_address(this.__wbg_ptr, t.__wbg_ptr);
            return x_.__wrap(e);
        }
        change_plutus_data(t) {
            p(t, Le);
            const e = _.changeconfig_change_plutus_data(this.__wbg_ptr, t.__wbg_ptr);
            return x_.__wrap(e);
        }
        change_script_ref(t) {
            p(t, It);
            const e = _.changeconfig_change_script_ref(this.__wbg_ptr, t.__wbg_ptr);
            return x_.__wrap(e);
        }
    };
    const Hr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_committee_free(w >>> 0, 1));
    s_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(s_.prototype);
            return e.__wbg_ptr = t, Hr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Hr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_committee_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.committee_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.committee_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return s_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.committee_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.committee_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return s_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.committee_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.committee_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.committee_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return s_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            p(t, k);
            const e = _.committee_new(t.__wbg_ptr);
            return s_.__wrap(e);
        }
        members_keys() {
            const t = _.committee_members_keys(this.__wbg_ptr);
            return zt.__wrap(t);
        }
        quorum_threshold() {
            const t = _.committee_quorum_threshold(this.__wbg_ptr);
            return k.__wrap(t);
        }
        add_member(t, e) {
            p(t, I), _.committee_add_member(this.__wbg_ptr, t.__wbg_ptr, e);
        }
        get_member_epoch(t) {
            p(t, I);
            const e = _.committee_get_member_epoch(this.__wbg_ptr, t.__wbg_ptr);
            return e === 4294967297 ? void 0 : e;
        }
    };
    const Gr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_committeecoldresign_free(w >>> 0, 1));
    Dt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Dt.prototype);
            return e.__wbg_ptr = t, Gr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Gr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_committeecoldresign_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.committeecoldresign_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.committeecoldresign_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Dt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.committeecoldresign_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.committeecoldresign_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Dt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.committeecoldresign_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.committeecoldresign_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.committeecoldresign_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Dt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        committee_cold_credential() {
            const t = _.committeecoldresign_committee_cold_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        anchor() {
            const t = _.committeecoldresign_anchor(this.__wbg_ptr);
            return t === 0 ? void 0 : G.__wrap(t);
        }
        static new(t) {
            p(t, I);
            const e = _.committeecoldresign_new(t.__wbg_ptr);
            return Dt.__wrap(e);
        }
        static new_with_anchor(t, e) {
            p(t, I), p(e, G);
            const a = _.committeecoldresign_new_with_anchor(t.__wbg_ptr, e.__wbg_ptr);
            return Dt.__wrap(a);
        }
        has_script_credentials() {
            return _.committeecoldresign_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const Dr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_committeehotauth_free(w >>> 0, 1));
    j_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(j_.prototype);
            return e.__wbg_ptr = t, Dr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Dr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_committeehotauth_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.committeehotauth_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.committeehotauth_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return j_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.committeehotauth_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.committeehotauth_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return j_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.committeehotauth_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.committeehotauth_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.committeehotauth_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return j_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        committee_cold_credential() {
            const t = _.committeehotauth_committee_cold_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        committee_hot_credential() {
            const t = _.committeehotauth_committee_hot_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        static new(t, e) {
            p(t, I), p(e, I);
            const a = _.committeehotauth_new(t.__wbg_ptr, e.__wbg_ptr);
            return j_.__wrap(a);
        }
        has_script_credentials() {
            return _.committeehotauth_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const Ar = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_constitution_free(w >>> 0, 1));
    Zt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Zt.prototype);
            return e.__wbg_ptr = t, Ar.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ar.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_constitution_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.constitution_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.constitution_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Zt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.constitution_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.constitution_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Zt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.constitution_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.constitution_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.constitution_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Zt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        anchor() {
            const t = _.constitution_anchor(this.__wbg_ptr);
            return G.__wrap(t);
        }
        script_hash() {
            const t = _.constitution_script_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : J.__wrap(t);
        }
        static new(t) {
            p(t, G);
            const e = _.constitution_new(t.__wbg_ptr);
            return Zt.__wrap(e);
        }
        static new_with_script_hash(t, e) {
            p(t, G), p(e, J);
            const a = _.constitution_new_with_script_hash(t.__wbg_ptr, e.__wbg_ptr);
            return Zt.__wrap(a);
        }
    };
    const Tr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_constrplutusdata_free(w >>> 0, 1));
    be = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(be.prototype);
            return e.__wbg_ptr = t, Tr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Tr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_constrplutusdata_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.constrplutusdata_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.constrplutusdata_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return be.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.constrplutusdata_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.constrplutusdata_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return be.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        alternative() {
            const t = _.constrplutusdata_alternative(this.__wbg_ptr);
            return v.__wrap(t);
        }
        data() {
            const t = _.constrplutusdata_data(this.__wbg_ptr);
            return it.__wrap(t);
        }
        static new(t, e) {
            p(t, v), p(e, it);
            const a = _.constrplutusdata_new(t.__wbg_ptr, e.__wbg_ptr);
            return be.__wrap(a);
        }
    };
    const Nr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_costmodel_free(w >>> 0, 1));
    i_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(i_.prototype);
            return e.__wbg_ptr = t, Nr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Nr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_costmodel_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmodel_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.costmodel_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return i_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmodel_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.costmodel_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return i_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmodel_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmodel_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.costmodel_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return i_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.costmodel_new();
            return i_.__wrap(t);
        }
        set(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(e, E), _.costmodel_set(d, this.__wbg_ptr, t, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return E.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmodel_get(r, this.__wbg_ptr, t);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return E.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        len() {
            return _.costmodel_len(this.__wbg_ptr) >>> 0;
        }
    };
    const Vr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_costmdls_free(w >>> 0, 1));
    kt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(kt.prototype);
            return e.__wbg_ptr = t, Vr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Vr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_costmdls_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmdls_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.costmdls_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return kt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmdls_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.costmdls_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return kt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmdls_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.costmdls_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.costmdls_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return kt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.costmdls_new();
            return kt.__wrap(t);
        }
        len() {
            return _.costmdls_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, A), p(e, i_);
            const a = _.costmdls_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : i_.__wrap(a);
        }
        get(t) {
            p(t, A);
            const e = _.costmdls_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : i_.__wrap(e);
        }
        keys() {
            const t = _.costmdls_keys(this.__wbg_ptr);
            return qe.__wrap(t);
        }
        retain_language_versions(t) {
            p(t, qe);
            const e = _.costmdls_retain_language_versions(this.__wbg_ptr, t.__wbg_ptr);
            return kt.__wrap(e);
        }
    };
    const Cr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_credential_free(w >>> 0, 1));
    I = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(I.prototype);
            return e.__wbg_ptr = t, Cr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Cr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_credential_free(t, 0);
        }
        static from_keyhash(t) {
            p(t, O);
            const e = _.credential_from_keyhash(t.__wbg_ptr);
            return I.__wrap(e);
        }
        static from_scripthash(t) {
            p(t, J);
            const e = _.credential_from_scripthash(t.__wbg_ptr);
            return I.__wrap(e);
        }
        to_keyhash() {
            const t = _.credential_to_keyhash(this.__wbg_ptr);
            return t === 0 ? void 0 : O.__wrap(t);
        }
        to_scripthash() {
            const t = _.credential_to_scripthash(this.__wbg_ptr);
            return t === 0 ? void 0 : J.__wrap(t);
        }
        kind() {
            return _.credential_has_script_hash(this.__wbg_ptr);
        }
        has_script_hash() {
            return _.credential_has_script_hash(this.__wbg_ptr) !== 0;
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.credential_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.credential_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return I.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.credential_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.credential_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return I.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.credential_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.credential_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.credential_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return I.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Pr = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_credentials_free(w >>> 0, 1));
    zt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(zt.prototype);
            return e.__wbg_ptr = t, Pr.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Pr.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_credentials_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.credentials_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.credentials_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return zt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.credentials_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.credentials_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return zt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.credentials_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.credentials_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.credentials_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return zt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.credentials_new();
            return zt.__wrap(t);
        }
        len() {
            return _.credentials_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.credentials_get(this.__wbg_ptr, t);
            return I.__wrap(e);
        }
        add(t) {
            return p(t, I), _.credentials_add(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
    };
    const Br = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_dnsrecordaoraaaa_free(w >>> 0, 1));
    z_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(z_.prototype);
            return e.__wbg_ptr = t, Br.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Br.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_dnsrecordaoraaaa_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordaoraaaa_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.dnsrecordaoraaaa_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return z_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordaoraaaa_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.dnsrecordaoraaaa_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return z_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordaoraaaa_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordaoraaaa_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.dnsrecordaoraaaa_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return z_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.dnsrecordaoraaaa_new(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return z_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        record() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordaoraaaa_record(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
    };
    const tn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_dnsrecordsrv_free(w >>> 0, 1));
    F_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(F_.prototype);
            return e.__wbg_ptr = t, tn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, tn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_dnsrecordsrv_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordsrv_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.dnsrecordsrv_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordsrv_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.dnsrecordsrv_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordsrv_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordsrv_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.dnsrecordsrv_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.dnsrecordsrv_new(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        record() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.dnsrecordsrv_record(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
    };
    const _n = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_drep_free(w >>> 0, 1));
    H = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(H.prototype);
            return e.__wbg_ptr = t, _n.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, _n.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_drep_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drep_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.drep_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return H.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.drep_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drep_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return H.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.drep_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drep_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drep_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return H.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_key_hash(t) {
            p(t, O);
            const e = _.drep_new_key_hash(t.__wbg_ptr);
            return H.__wrap(e);
        }
        static new_script_hash(t) {
            p(t, J);
            const e = _.drep_new_script_hash(t.__wbg_ptr);
            return H.__wrap(e);
        }
        static new_always_abstain() {
            const t = _.drep_new_always_abstain();
            return H.__wrap(t);
        }
        static new_always_no_confidence() {
            const t = _.drep_new_always_no_confidence();
            return H.__wrap(t);
        }
        static new_from_credential(t) {
            p(t, I);
            const e = _.drep_new_from_credential(t.__wbg_ptr);
            return H.__wrap(e);
        }
        kind() {
            return _.drep_kind(this.__wbg_ptr);
        }
        to_key_hash() {
            const t = _.drep_to_key_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : O.__wrap(t);
        }
        to_script_hash() {
            const t = _.drep_to_script_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : J.__wrap(t);
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16);
                _.drep_to_bech32(m, this.__wbg_ptr, t);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drep_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return H.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const en = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_drepderegistration_free(w >>> 0, 1));
    R_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(R_.prototype);
            return e.__wbg_ptr = t, en.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, en.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_drepderegistration_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepderegistration_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.drepderegistration_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return R_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepderegistration_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drepderegistration_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return R_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepderegistration_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepderegistration_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drepderegistration_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return R_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        voting_credential() {
            const t = _.drepderegistration_voting_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        coin() {
            const t = _.drepderegistration_coin(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t, e) {
            p(t, I), p(e, v);
            const a = _.drepderegistration_new(t.__wbg_ptr, e.__wbg_ptr);
            return R_.__wrap(a);
        }
        has_script_credentials() {
            return _.drepderegistration_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const rn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_drepregistration_free(w >>> 0, 1));
    At = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(At.prototype);
            return e.__wbg_ptr = t, rn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, rn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_drepregistration_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepregistration_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.drepregistration_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return At.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepregistration_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drepregistration_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return At.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepregistration_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepregistration_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drepregistration_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return At.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        voting_credential() {
            const t = _.drepregistration_voting_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        coin() {
            const t = _.drepregistration_coin(this.__wbg_ptr);
            return v.__wrap(t);
        }
        anchor() {
            const t = _.drepregistration_anchor(this.__wbg_ptr);
            return t === 0 ? void 0 : G.__wrap(t);
        }
        static new(t, e) {
            p(t, I), p(e, v);
            const a = _.drepregistration_new(t.__wbg_ptr, e.__wbg_ptr);
            return At.__wrap(a);
        }
        static new_with_anchor(t, e, a) {
            p(t, I), p(e, v), p(a, G);
            const n = _.drepregistration_new_with_anchor(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return At.__wrap(n);
        }
        has_script_credentials() {
            return _.drepregistration_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const nn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_drepupdate_free(w >>> 0, 1));
    Tt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Tt.prototype);
            return e.__wbg_ptr = t, nn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, nn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_drepupdate_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepupdate_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.drepupdate_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Tt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepupdate_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drepupdate_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Tt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepupdate_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepupdate_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drepupdate_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Tt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        voting_credential() {
            const t = _.drepupdate_voting_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        anchor() {
            const t = _.drepupdate_anchor(this.__wbg_ptr);
            return t === 0 ? void 0 : G.__wrap(t);
        }
        static new(t) {
            p(t, I);
            const e = _.drepupdate_new(t.__wbg_ptr);
            return Tt.__wrap(e);
        }
        static new_with_anchor(t, e) {
            p(t, I), p(e, G);
            const a = _.drepupdate_new_with_anchor(t.__wbg_ptr, e.__wbg_ptr);
            return Tt.__wrap(a);
        }
        has_script_credentials() {
            return _.drepupdate_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const on = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_drepvotingthresholds_free(w >>> 0, 1));
    O_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(O_.prototype);
            return e.__wbg_ptr = t, on.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, on.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_drepvotingthresholds_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepvotingthresholds_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.drepvotingthresholds_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return O_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepvotingthresholds_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drepvotingthresholds_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return O_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepvotingthresholds_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.drepvotingthresholds_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.drepvotingthresholds_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return O_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e, a, n, r, d, i, u, g, m) {
            p(t, k), p(e, k), p(a, k), p(n, k), p(r, k), p(d, k), p(i, k), p(u, k), p(g, k), p(m, k);
            const x = _.drepvotingthresholds_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr, r.__wbg_ptr, d.__wbg_ptr, i.__wbg_ptr, u.__wbg_ptr, g.__wbg_ptr, m.__wbg_ptr);
            return O_.__wrap(x);
        }
        set_motion_no_confidence(t) {
            p(t, k), _.drepvotingthresholds_set_motion_no_confidence(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_committee_normal(t) {
            p(t, k), _.drepvotingthresholds_set_committee_normal(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_committee_no_confidence(t) {
            p(t, k), _.drepvotingthresholds_set_committee_no_confidence(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_update_constitution(t) {
            p(t, k), _.drepvotingthresholds_set_update_constitution(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_hard_fork_initiation(t) {
            p(t, k), _.drepvotingthresholds_set_hard_fork_initiation(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_pp_network_group(t) {
            p(t, k), _.drepvotingthresholds_set_pp_network_group(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_pp_economic_group(t) {
            p(t, k), _.drepvotingthresholds_set_pp_economic_group(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_pp_technical_group(t) {
            p(t, k), _.drepvotingthresholds_set_pp_technical_group(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_pp_governance_group(t) {
            p(t, k), _.drepvotingthresholds_set_pp_governance_group(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_treasury_withdrawal(t) {
            p(t, k), _.drepvotingthresholds_set_treasury_withdrawal(this.__wbg_ptr, t.__wbg_ptr);
        }
        motion_no_confidence() {
            const t = _.drepvotingthresholds_motion_no_confidence(this.__wbg_ptr);
            return k.__wrap(t);
        }
        committee_normal() {
            const t = _.drepvotingthresholds_committee_normal(this.__wbg_ptr);
            return k.__wrap(t);
        }
        committee_no_confidence() {
            const t = _.drepvotingthresholds_committee_no_confidence(this.__wbg_ptr);
            return k.__wrap(t);
        }
        update_constitution() {
            const t = _.drepvotingthresholds_update_constitution(this.__wbg_ptr);
            return k.__wrap(t);
        }
        hard_fork_initiation() {
            const t = _.drepvotingthresholds_hard_fork_initiation(this.__wbg_ptr);
            return k.__wrap(t);
        }
        pp_network_group() {
            const t = _.drepvotingthresholds_pp_network_group(this.__wbg_ptr);
            return k.__wrap(t);
        }
        pp_economic_group() {
            const t = _.drepvotingthresholds_pp_economic_group(this.__wbg_ptr);
            return k.__wrap(t);
        }
        pp_technical_group() {
            const t = _.drepvotingthresholds_pp_technical_group(this.__wbg_ptr);
            return k.__wrap(t);
        }
        pp_governance_group() {
            const t = _.drepvotingthresholds_pp_governance_group(this.__wbg_ptr);
            return k.__wrap(t);
        }
        treasury_withdrawal() {
            const t = _.drepvotingthresholds_treasury_withdrawal(this.__wbg_ptr);
            return k.__wrap(t);
        }
    };
    const an = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_datacost_free(w >>> 0, 1));
    He = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(He.prototype);
            return e.__wbg_ptr = t, an.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, an.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_datacost_free(t, 0);
        }
        static new_coins_per_byte(t) {
            p(t, v);
            const e = _.datacost_new_coins_per_byte(t.__wbg_ptr);
            return He.__wrap(e);
        }
        coins_per_byte() {
            const t = _.datacost_coins_per_byte(this.__wbg_ptr);
            return v.__wrap(t);
        }
    };
    const sn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_datahash_free(w >>> 0, 1));
    Yt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Yt.prototype);
            return e.__wbg_ptr = t, sn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, sn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_datahash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.datahash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Yt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.datahash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.datahash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.datahash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Yt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.datahash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.datahash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Yt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const dn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_datumsource_free(w >>> 0, 1));
    Ke = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ke.prototype);
            return e.__wbg_ptr = t, dn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, dn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_datumsource_free(t, 0);
        }
        static new(t) {
            p(t, R);
            const e = _.datumsource_new(t.__wbg_ptr);
            return Ke.__wrap(e);
        }
        static new_ref_input(t) {
            p(t, X);
            const e = _.datumsource_new_ref_input(t.__wbg_ptr);
            return Ke.__wrap(e);
        }
    };
    const cn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_ed25519keyhash_free(w >>> 0, 1));
    O = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(O.prototype);
            return e.__wbg_ptr = t, cn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, cn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_ed25519keyhash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.ed25519keyhash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return O.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519keyhash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.ed25519keyhash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ed25519keyhash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return O.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519keyhash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ed25519keyhash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return O.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const gn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_ed25519keyhashes_free(w >>> 0, 1));
    P = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(P.prototype);
            return e.__wbg_ptr = t, gn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, gn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_ed25519keyhashes_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519keyhashes_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.ed25519keyhashes_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return P.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519keyhashes_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ed25519keyhashes_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return P.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519keyhashes_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519keyhashes_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ed25519keyhashes_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return P.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.ed25519keyhashes_new();
            return P.__wrap(t);
        }
        len() {
            return _.ed25519keyhashes_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.ed25519keyhashes_get(this.__wbg_ptr, t);
            return O.__wrap(e);
        }
        add(t) {
            return p(t, O), _.ed25519keyhashes_add(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
        contains(t) {
            return p(t, O), _.ed25519keyhashes_contains(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
        to_option() {
            const t = _.ed25519keyhashes_to_option(this.__wbg_ptr);
            return t === 0 ? void 0 : P.__wrap(t);
        }
    };
    const pn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_ed25519signature_free(w >>> 0, 1));
    gt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(gt.prototype);
            return e.__wbg_ptr = t, pn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, pn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_ed25519signature_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519signature_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519signature_to_bech32(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.ed25519signature_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ed25519signature_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return gt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ed25519signature_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return gt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.ed25519signature_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return gt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const wn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_enterpriseaddress_free(w >>> 0, 1));
    rr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(rr.prototype);
            return e.__wbg_ptr = t, wn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, wn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_enterpriseaddress_free(t, 0);
        }
        static new(t, e) {
            p(e, I);
            const a = _.enterpriseaddress_new(t, e.__wbg_ptr);
            return rr.__wrap(a);
        }
        payment_cred() {
            const t = _.enterpriseaddress_payment_cred(this.__wbg_ptr);
            return I.__wrap(t);
        }
        to_address() {
            const t = _.enterpriseaddress_to_address(this.__wbg_ptr);
            return $.__wrap(t);
        }
        static from_address(t) {
            p(t, $);
            const e = _.enterpriseaddress_from_address(t.__wbg_ptr);
            return e === 0 ? void 0 : rr.__wrap(e);
        }
        network_id() {
            return _.enterpriseaddress_network_id(this.__wbg_ptr);
        }
    };
    const un = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_exunitprices_free(w >>> 0, 1));
    Ft = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ft.prototype);
            return e.__wbg_ptr = t, un.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, un.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_exunitprices_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.exunitprices_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.exunitprices_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ft.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.exunitprices_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.exunitprices_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ft.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.exunitprices_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.exunitprices_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.exunitprices_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ft.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        mem_price() {
            const t = _.exunitprices_mem_price(this.__wbg_ptr);
            return k.__wrap(t);
        }
        step_price() {
            const t = _.exunitprices_step_price(this.__wbg_ptr);
            return k.__wrap(t);
        }
        static new(t, e) {
            p(t, k), p(e, k);
            const a = _.exunitprices_new(t.__wbg_ptr, e.__wbg_ptr);
            return Ft.__wrap(a);
        }
    };
    const bn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_exunits_free(w >>> 0, 1));
    nt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(nt.prototype);
            return e.__wbg_ptr = t, bn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, bn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_exunits_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.exunits_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.exunits_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return nt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.exunits_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.exunits_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return nt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.exunits_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.exunits_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.exunits_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return nt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        mem() {
            const t = _.exunits_mem(this.__wbg_ptr);
            return v.__wrap(t);
        }
        steps() {
            const t = _.exunits_steps(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t, e) {
            p(t, v), p(e, v);
            const a = _.exunits_new(t.__wbg_ptr, e.__wbg_ptr);
            return nt.__wrap(a);
        }
    };
    const ln = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_fixedblock_free(w >>> 0, 1));
    Ue = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ue.prototype);
            return e.__wbg_ptr = t, ln.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ln.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_fixedblock_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.fixedblock_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ue.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.fixedblock_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ue.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        header() {
            const t = _.fixedblock_header(this.__wbg_ptr);
            return c_.__wrap(t);
        }
        transaction_bodies() {
            const t = _.fixedblock_transaction_bodies(this.__wbg_ptr);
            return ze.__wrap(t);
        }
        transaction_witness_sets() {
            const t = _.fixedblock_transaction_witness_sets(this.__wbg_ptr);
            return u_.__wrap(t);
        }
        auxiliary_data_set() {
            const t = _.fixedblock_auxiliary_data_set(this.__wbg_ptr);
            return Ee.__wrap(t);
        }
        invalid_transactions() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.fixedblock_invalid_transactions(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = gr(t, e).slice();
                return _.__wbindgen_free(t, e * 4, 4), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        block_hash() {
            const t = _.fixedblock_block_hash(this.__wbg_ptr);
            return pt.__wrap(t);
        }
    };
    const fn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_fixedtransaction_free(w >>> 0, 1));
    ce = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ce.prototype);
            return e.__wbg_ptr = t, fn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, fn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_fixedtransaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.fixedtransaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.fixedtransaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ce.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.fixedtransaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.fixedtransaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ce.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e, a) {
            try {
                const i = _.__wbindgen_add_to_stack_pointer(-16), u = h(t, _.__wbindgen_malloc), g = b, m = h(e, _.__wbindgen_malloc), x = b;
                _.fixedtransaction_new(i, u, g, m, x, a);
                var n = o().getInt32(i + 0, !0), r = o().getInt32(i + 4, !0), d = o().getInt32(i + 8, !0);
                if (d) throw c(r);
                return ce.__wrap(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_with_auxiliary(t, e, a, n) {
            try {
                const u = _.__wbindgen_add_to_stack_pointer(-16), g = h(t, _.__wbindgen_malloc), m = b, x = h(e, _.__wbindgen_malloc), j = b, Xe = h(a, _.__wbindgen_malloc), Ze = b;
                _.fixedtransaction_new_with_auxiliary(u, g, m, x, j, Xe, Ze, n);
                var r = o().getInt32(u + 0, !0), d = o().getInt32(u + 4, !0), i = o().getInt32(u + 8, !0);
                if (i) throw c(d);
                return ce.__wrap(r);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_from_body_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.fixedtransaction_new_from_body_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ce.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        body() {
            const t = _.fixedtransaction_body(this.__wbg_ptr);
            return C.__wrap(t);
        }
        raw_body() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.fixedtransaction_raw_body(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_body(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16), r = h(t, _.__wbindgen_malloc), d = b;
                _.fixedtransaction_set_body(n, this.__wbg_ptr, r, d);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_witness_set(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16), r = h(t, _.__wbindgen_malloc), d = b;
                _.fixedtransaction_set_witness_set(n, this.__wbg_ptr, r, d);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        witness_set() {
            const t = _.fixedtransaction_witness_set(this.__wbg_ptr);
            return ft.__wrap(t);
        }
        raw_witness_set() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.fixedtransaction_raw_witness_set(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_is_valid(t) {
            _.fixedtransaction_set_is_valid(this.__wbg_ptr, t);
        }
        is_valid() {
            return _.fixedtransaction_is_valid(this.__wbg_ptr) !== 0;
        }
        set_auxiliary_data(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16), r = h(t, _.__wbindgen_malloc), d = b;
                _.fixedtransaction_set_auxiliary_data(n, this.__wbg_ptr, r, d);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        auxiliary_data() {
            const t = _.fixedtransaction_auxiliary_data(this.__wbg_ptr);
            return t === 0 ? void 0 : B.__wrap(t);
        }
        raw_auxiliary_data() {
            try {
                const a = _.__wbindgen_add_to_stack_pointer(-16);
                _.fixedtransaction_raw_auxiliary_data(a, this.__wbg_ptr);
                var t = o().getInt32(a + 0, !0), e = o().getInt32(a + 4, !0);
                let n;
                return t !== 0 && (n = y(t, e).slice(), _.__wbindgen_free(t, e * 1, 1)), n;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        transaction_hash() {
            const t = _.fixedtransaction_transaction_hash(this.__wbg_ptr);
            return dt.__wrap(t);
        }
        add_vkey_witness(t) {
            p(t, $t), _.fixedtransaction_add_vkey_witness(this.__wbg_ptr, t.__wbg_ptr);
        }
        add_bootstrap_witness(t) {
            p(t, bt), _.fixedtransaction_add_bootstrap_witness(this.__wbg_ptr, t.__wbg_ptr);
        }
        sign_and_add_vkey_signature(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, mt), _.fixedtransaction_sign_and_add_vkey_signature(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        sign_and_add_icarus_bootstrap_signature(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, lt), p(e, vt), _.fixedtransaction_sign_and_add_icarus_bootstrap_signature(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        sign_and_add_daedalus_bootstrap_signature(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, lt), p(e, Ae), _.fixedtransaction_sign_and_add_daedalus_bootstrap_signature(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const hn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_fixedtransactionbodies_free(w >>> 0, 1));
    ze = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ze.prototype);
            return e.__wbg_ptr = t, hn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, hn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_fixedtransactionbodies_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.fixedtransactionbodies_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ze.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.fixedtransactionbodies_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ze.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.fixedtransactionbodies_new();
            return ze.__wrap(t);
        }
        len() {
            return _.fixedtransactionbodies_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.fixedtransactionbodies_get(this.__wbg_ptr, t);
            return Oe.__wrap(e);
        }
        add(t) {
            p(t, Oe), _.fixedtransactionbodies_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const vn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_fixedtransactionbody_free(w >>> 0, 1));
    Oe = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Oe.prototype);
            return e.__wbg_ptr = t, vn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, vn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_fixedtransactionbody_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.fixedtransactionbody_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Oe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.fixedtransactionbody_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Oe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        transaction_body() {
            const t = _.fixedtransactionbody_transaction_body(this.__wbg_ptr);
            return C.__wrap(t);
        }
        tx_hash() {
            const t = _.fixedtransactionbody_tx_hash(this.__wbg_ptr);
            return dt.__wrap(t);
        }
        original_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.fixedtransactionbody_original_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const yn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_fixedtxwitnessesset_free(w >>> 0, 1));
    ur = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ur.prototype);
            return e.__wbg_ptr = t, yn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, yn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_fixedtxwitnessesset_free(t, 0);
        }
        tx_witnesses_set() {
            const t = _.fixedtxwitnessesset_tx_witnesses_set(this.__wbg_ptr);
            return ft.__wrap(t);
        }
        add_vkey_witness(t) {
            p(t, $t), _.fixedtxwitnessesset_add_vkey_witness(this.__wbg_ptr, t.__wbg_ptr);
        }
        add_bootstrap_witness(t) {
            p(t, bt), _.fixedtxwitnessesset_add_bootstrap_witness(this.__wbg_ptr, t.__wbg_ptr);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.fixedtxwitnessesset_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.fixedtxwitnessesset_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ur.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const mn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_fixedversionedblock_free(w >>> 0, 1));
    nr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(nr.prototype);
            return e.__wbg_ptr = t, mn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, mn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_fixedversionedblock_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.fixedversionedblock_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return nr.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.fixedversionedblock_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return nr.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        block() {
            const t = _.fixedversionedblock_block(this.__wbg_ptr);
            return Ue.__wrap(t);
        }
        era() {
            return _.fixedversionedblock_era(this.__wbg_ptr);
        }
    };
    const kn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_generaltransactionmetadata_free(w >>> 0, 1));
    d_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(d_.prototype);
            return e.__wbg_ptr = t, kn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, kn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_generaltransactionmetadata_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.generaltransactionmetadata_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.generaltransactionmetadata_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return d_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.generaltransactionmetadata_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.generaltransactionmetadata_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return d_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.generaltransactionmetadata_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.generaltransactionmetadata_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.generaltransactionmetadata_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return d_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.generaltransactionmetadata_new();
            return d_.__wrap(t);
        }
        len() {
            return _.generaltransactionmetadata_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, v), p(e, L);
            const a = _.generaltransactionmetadata_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : L.__wrap(a);
        }
        get(t) {
            p(t, v);
            const e = _.generaltransactionmetadata_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : L.__wrap(e);
        }
        keys() {
            const t = _.generaltransactionmetadata_keys(this.__wbg_ptr);
            return Fe.__wrap(t);
        }
    };
    const In = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_genesisdelegatehash_free(w >>> 0, 1));
    le = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(le.prototype);
            return e.__wbg_ptr = t, In.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, In.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_genesisdelegatehash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.genesisdelegatehash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return le.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesisdelegatehash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.genesisdelegatehash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.genesisdelegatehash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return le.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesisdelegatehash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.genesisdelegatehash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return le.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const xn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_genesishash_free(w >>> 0, 1));
    Jt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Jt.prototype);
            return e.__wbg_ptr = t, xn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, xn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_genesishash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.genesishash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Jt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesishash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.genesishash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.genesishash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Jt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesishash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.genesishash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Jt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const jn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_genesishashes_free(w >>> 0, 1));
    pe = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(pe.prototype);
            return e.__wbg_ptr = t, jn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, jn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_genesishashes_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesishashes_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.genesishashes_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return pe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesishashes_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.genesishashes_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return pe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesishashes_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesishashes_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.genesishashes_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return pe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.genesishashes_new();
            return pe.__wrap(t);
        }
        len() {
            return _.genesishashes_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.genesishashes_get(this.__wbg_ptr, t);
            return Jt.__wrap(e);
        }
        add(t) {
            p(t, Jt), _.genesishashes_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const zn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_genesiskeydelegation_free(w >>> 0, 1));
    q_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(q_.prototype);
            return e.__wbg_ptr = t, zn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, zn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_genesiskeydelegation_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesiskeydelegation_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.genesiskeydelegation_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return q_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesiskeydelegation_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.genesiskeydelegation_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return q_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesiskeydelegation_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.genesiskeydelegation_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.genesiskeydelegation_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return q_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        genesishash() {
            const t = _.genesiskeydelegation_genesishash(this.__wbg_ptr);
            return Jt.__wrap(t);
        }
        genesis_delegate_hash() {
            const t = _.genesiskeydelegation_genesis_delegate_hash(this.__wbg_ptr);
            return le.__wrap(t);
        }
        vrf_keyhash() {
            const t = _.genesiskeydelegation_vrf_keyhash(this.__wbg_ptr);
            return f_.__wrap(t);
        }
        static new(t, e, a) {
            p(t, Jt), p(e, le), p(a, f_);
            const n = _.genesiskeydelegation_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return q_.__wrap(n);
        }
    };
    const Fn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_governanceaction_free(w >>> 0, 1));
    rt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(rt.prototype);
            return e.__wbg_ptr = t, Fn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Fn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_governanceaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.governanceaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return rt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.governanceaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return rt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceaction_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceaction_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.governanceaction_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return rt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_parameter_change_action(t) {
            p(t, yt);
            const e = _.governanceaction_new_parameter_change_action(t.__wbg_ptr);
            return rt.__wrap(e);
        }
        static new_hard_fork_initiation_action(t) {
            p(t, Nt);
            const e = _.governanceaction_new_hard_fork_initiation_action(t.__wbg_ptr);
            return rt.__wrap(e);
        }
        static new_treasury_withdrawals_action(t) {
            p(t, r_);
            const e = _.governanceaction_new_treasury_withdrawals_action(t.__wbg_ptr);
            return rt.__wrap(e);
        }
        static new_no_confidence_action(t) {
            p(t, t_);
            const e = _.governanceaction_new_no_confidence_action(t.__wbg_ptr);
            return rt.__wrap(e);
        }
        static new_new_committee_action(t) {
            p(t, n_);
            const e = _.governanceaction_new_new_committee_action(t.__wbg_ptr);
            return rt.__wrap(e);
        }
        static new_new_constitution_action(t) {
            p(t, Bt);
            const e = _.governanceaction_new_new_constitution_action(t.__wbg_ptr);
            return rt.__wrap(e);
        }
        static new_info_action(t) {
            p(t, Ge);
            const e = _.governanceaction_new_info_action(t.__wbg_ptr);
            return rt.__wrap(e);
        }
        kind() {
            return _.governanceaction_kind(this.__wbg_ptr);
        }
        as_parameter_change_action() {
            const t = _.governanceaction_as_parameter_change_action(this.__wbg_ptr);
            return t === 0 ? void 0 : yt.__wrap(t);
        }
        as_hard_fork_initiation_action() {
            const t = _.governanceaction_as_hard_fork_initiation_action(this.__wbg_ptr);
            return t === 0 ? void 0 : Nt.__wrap(t);
        }
        as_treasury_withdrawals_action() {
            const t = _.governanceaction_as_treasury_withdrawals_action(this.__wbg_ptr);
            return t === 0 ? void 0 : r_.__wrap(t);
        }
        as_no_confidence_action() {
            const t = _.governanceaction_as_no_confidence_action(this.__wbg_ptr);
            return t === 0 ? void 0 : t_.__wrap(t);
        }
        as_new_committee_action() {
            const t = _.governanceaction_as_new_committee_action(this.__wbg_ptr);
            return t === 0 ? void 0 : n_.__wrap(t);
        }
        as_new_constitution_action() {
            const t = _.governanceaction_as_new_constitution_action(this.__wbg_ptr);
            return t === 0 ? void 0 : Bt.__wrap(t);
        }
        as_info_action() {
            const t = _.governanceaction_as_info_action(this.__wbg_ptr);
            return t === 0 ? void 0 : Ge.__wrap(t);
        }
    };
    const Rn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_governanceactionid_free(w >>> 0, 1));
    Z = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Z.prototype);
            return e.__wbg_ptr = t, Rn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Rn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_governanceactionid_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceactionid_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.governanceactionid_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Z.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceactionid_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.governanceactionid_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Z.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceactionid_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceactionid_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.governanceactionid_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Z.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        transaction_id() {
            const t = _.governanceactionid_transaction_id(this.__wbg_ptr);
            return dt.__wrap(t);
        }
        index() {
            return _.governanceactionid_index(this.__wbg_ptr) >>> 0;
        }
        static new(t, e) {
            p(t, dt);
            const a = _.governanceactionid_new(t.__wbg_ptr, e);
            return Z.__wrap(a);
        }
    };
    const On = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_governanceactionids_free(w >>> 0, 1));
    Me = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Me.prototype);
            return e.__wbg_ptr = t, On.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, On.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_governanceactionids_free(t, 0);
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceactionids_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.governanceactionids_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.governanceactionids_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Me.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.governanceactionids_new();
            return Me.__wrap(t);
        }
        add(t) {
            p(t, Z), _.governanceactionids_add(this.__wbg_ptr, t.__wbg_ptr);
        }
        get(t) {
            const e = _.governanceactionids_get(this.__wbg_ptr, t);
            return e === 0 ? void 0 : Z.__wrap(e);
        }
        len() {
            return _.governanceactionids_len(this.__wbg_ptr) >>> 0;
        }
    };
    const qn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_hardforkinitiationaction_free(w >>> 0, 1));
    Nt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Nt.prototype);
            return e.__wbg_ptr = t, qn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, qn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_hardforkinitiationaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.hardforkinitiationaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.hardforkinitiationaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Nt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.hardforkinitiationaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.hardforkinitiationaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Nt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.hardforkinitiationaction_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.hardforkinitiationaction_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.hardforkinitiationaction_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Nt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        gov_action_id() {
            const t = _.hardforkinitiationaction_gov_action_id(this.__wbg_ptr);
            return t === 0 ? void 0 : Z.__wrap(t);
        }
        protocol_version() {
            const t = _.hardforkinitiationaction_protocol_version(this.__wbg_ptr);
            return at.__wrap(t);
        }
        static new(t) {
            p(t, at);
            const e = _.hardforkinitiationaction_new(t.__wbg_ptr);
            return Nt.__wrap(e);
        }
        static new_with_action_id(t, e) {
            p(t, Z), p(e, at);
            const a = _.hardforkinitiationaction_new_with_action_id(t.__wbg_ptr, e.__wbg_ptr);
            return Nt.__wrap(a);
        }
    };
    const $n = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_header_free(w >>> 0, 1));
    c_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(c_.prototype);
            return e.__wbg_ptr = t, $n.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, $n.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_header_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.header_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.header_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return c_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.header_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.header_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return c_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.header_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.header_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.header_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return c_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        header_body() {
            const t = _.header_header_body(this.__wbg_ptr);
            return Vt.__wrap(t);
        }
        body_signature() {
            const t = _.header_body_signature(this.__wbg_ptr);
            return De.__wrap(t);
        }
        static new(t, e) {
            p(t, Vt), p(e, De);
            const a = _.header_new(t.__wbg_ptr, e.__wbg_ptr);
            return c_.__wrap(a);
        }
    };
    const Ln = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_headerbody_free(w >>> 0, 1));
    Vt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Vt.prototype);
            return e.__wbg_ptr = t, Ln.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ln.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_headerbody_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.headerbody_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.headerbody_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Vt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.headerbody_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.headerbody_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Vt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.headerbody_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.headerbody_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.headerbody_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Vt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        block_number() {
            return _.headerbody_block_number(this.__wbg_ptr) >>> 0;
        }
        slot() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.headerbody_slot(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t >>> 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        slot_bignum() {
            const t = _.headerbody_slot_bignum(this.__wbg_ptr);
            return v.__wrap(t);
        }
        prev_hash() {
            const t = _.headerbody_prev_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : pt.__wrap(t);
        }
        issuer_vkey() {
            const t = _.headerbody_issuer_vkey(this.__wbg_ptr);
            return _t.__wrap(t);
        }
        vrf_vkey() {
            const t = _.headerbody_vrf_vkey(this.__wbg_ptr);
            return ie.__wrap(t);
        }
        has_nonce_and_leader_vrf() {
            return _.headerbody_has_nonce_and_leader_vrf(this.__wbg_ptr) !== 0;
        }
        nonce_vrf_or_nothing() {
            const t = _.headerbody_nonce_vrf_or_nothing(this.__wbg_ptr);
            return t === 0 ? void 0 : qt.__wrap(t);
        }
        leader_vrf_or_nothing() {
            const t = _.headerbody_leader_vrf_or_nothing(this.__wbg_ptr);
            return t === 0 ? void 0 : qt.__wrap(t);
        }
        has_vrf_result() {
            return _.headerbody_has_vrf_result(this.__wbg_ptr) !== 0;
        }
        vrf_result_or_nothing() {
            const t = _.headerbody_vrf_result_or_nothing(this.__wbg_ptr);
            return t === 0 ? void 0 : qt.__wrap(t);
        }
        block_body_size() {
            return _.headerbody_block_body_size(this.__wbg_ptr) >>> 0;
        }
        block_body_hash() {
            const t = _.headerbody_block_body_hash(this.__wbg_ptr);
            return pt.__wrap(t);
        }
        operational_cert() {
            const t = _.headerbody_operational_cert(this.__wbg_ptr);
            return g_.__wrap(t);
        }
        protocol_version() {
            const t = _.headerbody_protocol_version(this.__wbg_ptr);
            return at.__wrap(t);
        }
        static new(t, e, a, n, r, d, i, u, g, m) {
            let x = 0;
            ht(a) || (p(a, pt), x = a.__destroy_into_raw()), p(n, _t), p(r, ie), p(d, qt), p(u, pt), p(g, g_), p(m, at);
            const j = _.headerbody_new(t, e, x, n.__wbg_ptr, r.__wbg_ptr, d.__wbg_ptr, i, u.__wbg_ptr, g.__wbg_ptr, m.__wbg_ptr);
            return Vt.__wrap(j);
        }
        static new_headerbody(t, e, a, n, r, d, i, u, g, m) {
            p(e, v);
            let x = 0;
            ht(a) || (p(a, pt), x = a.__destroy_into_raw()), p(n, _t), p(r, ie), p(d, qt), p(u, pt), p(g, g_), p(m, at);
            const j = _.headerbody_new_headerbody(t, e.__wbg_ptr, x, n.__wbg_ptr, r.__wbg_ptr, d.__wbg_ptr, i, u.__wbg_ptr, g.__wbg_ptr, m.__wbg_ptr);
            return Vt.__wrap(j);
        }
    };
    const Yn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_infoaction_free(w >>> 0, 1));
    Ge = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ge.prototype);
            return e.__wbg_ptr = t, Yn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Yn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_infoaction_free(t, 0);
        }
        static new() {
            const t = _.infoaction_new();
            return Ge.__wrap(t);
        }
    };
    const Jn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_int_free(w >>> 0, 1));
    E = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(E.prototype);
            return e.__wbg_ptr = t, Jn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Jn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_int_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.int_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.int_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return E.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.int_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.int_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return E.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.int_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.int_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.int_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return E.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            p(t, v);
            const e = _.int_new(t.__wbg_ptr);
            return E.__wrap(e);
        }
        static new_negative(t) {
            p(t, v);
            const e = _.int_new_negative(t.__wbg_ptr);
            return E.__wrap(e);
        }
        static new_i32(t) {
            const e = _.int_new_i32(t);
            return E.__wrap(e);
        }
        is_positive() {
            return _.int_is_positive(this.__wbg_ptr) !== 0;
        }
        as_positive() {
            const t = _.int_as_positive(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        as_negative() {
            const t = _.int_as_negative(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        as_i32() {
            const t = _.int_as_i32(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        as_i32_or_nothing() {
            const t = _.int_as_i32_or_nothing(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        as_i32_or_fail() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.int_as_i32_or_fail(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_str() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.int_to_str(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_str(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.int_from_str(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return E.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const En = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_ipv4_free(w >>> 0, 1));
    $_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create($_.prototype);
            return e.__wbg_ptr = t, En.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, En.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_ipv4_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv4_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.ipv4_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv4_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ipv4_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv4_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv4_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ipv4_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.ipv4_new(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        ip() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv4_ip(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Xn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_ipv6_free(w >>> 0, 1));
    L_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(L_.prototype);
            return e.__wbg_ptr = t, Xn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Xn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_ipv6_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv6_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.ipv6_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv6_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ipv6_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv6_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv6_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.ipv6_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.ipv6_new(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        ip() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.ipv6_ip(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Zn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_kessignature_free(w >>> 0, 1));
    De = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(De.prototype);
            return e.__wbg_ptr = t, Zn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Zn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_kessignature_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.kessignature_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.kessignature_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return De.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Qn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_kesvkey_free(w >>> 0, 1));
    fe = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(fe.prototype);
            return e.__wbg_ptr = t, Qn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Qn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_kesvkey_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.kesvkey_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return fe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.kesvkey_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.kesvkey_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.kesvkey_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return fe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.kesvkey_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.kesvkey_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return fe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Kn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_language_free(w >>> 0, 1));
    A = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(A.prototype);
            return e.__wbg_ptr = t, Kn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Kn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_language_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.language_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.language_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return A.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.language_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.language_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return A.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.language_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.language_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.language_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return A.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_plutus_v1() {
            const t = _.language_new_plutus_v1();
            return A.__wrap(t);
        }
        static new_plutus_v2() {
            const t = _.language_new_plutus_v2();
            return A.__wrap(t);
        }
        static new_plutus_v3() {
            const t = _.language_new_plutus_v3();
            return A.__wrap(t);
        }
        kind() {
            return _.language_kind(this.__wbg_ptr);
        }
    };
    const Un = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_languages_free(w >>> 0, 1));
    qe = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(qe.prototype);
            return e.__wbg_ptr = t, Un.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Un.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_languages_free(t, 0);
        }
        static new() {
            const t = _.languages_new();
            return qe.__wrap(t);
        }
        len() {
            return _.languages_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.languages_get(this.__wbg_ptr, t);
            return A.__wrap(e);
        }
        add(t) {
            p(t, A);
            var e = t.__destroy_into_raw();
            _.languages_add(this.__wbg_ptr, e);
        }
        static list() {
            const t = _.languages_list();
            return qe.__wrap(t);
        }
    };
    const Mn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_legacydaedalusprivatekey_free(w >>> 0, 1));
    Ae = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ae.prototype);
            return e.__wbg_ptr = t, Mn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Mn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_legacydaedalusprivatekey_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.legacydaedalusprivatekey_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ae.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.legacydaedalusprivatekey_as_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        chaincode() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.legacydaedalusprivatekey_chaincode(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Sn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_linearfee_free(w >>> 0, 1));
    Te = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Te.prototype);
            return e.__wbg_ptr = t, Sn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Sn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_linearfee_free(t, 0);
        }
        constant() {
            const t = _.linearfee_constant(this.__wbg_ptr);
            return v.__wrap(t);
        }
        coefficient() {
            const t = _.linearfee_coefficient(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t, e) {
            p(t, v), p(e, v);
            const a = _.linearfee_new(t.__wbg_ptr, e.__wbg_ptr);
            return Te.__wrap(a);
        }
    };
    const Wn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_mirtostakecredentials_free(w >>> 0, 1));
    Y_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Y_.prototype);
            return e.__wbg_ptr = t, Wn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Wn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_mirtostakecredentials_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.mirtostakecredentials_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.mirtostakecredentials_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Y_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.mirtostakecredentials_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.mirtostakecredentials_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Y_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.mirtostakecredentials_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.mirtostakecredentials_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.mirtostakecredentials_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Y_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.mirtostakecredentials_new();
            return Y_.__wrap(t);
        }
        len() {
            return _.mirtostakecredentials_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, I), p(e, E);
            const a = _.mirtostakecredentials_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : E.__wrap(a);
        }
        get(t) {
            p(t, I);
            const e = _.mirtostakecredentials_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : E.__wrap(e);
        }
        keys() {
            const t = _.mirtostakecredentials_keys(this.__wbg_ptr);
            return zt.__wrap(t);
        }
    };
    const Hn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_malformedaddress_free(w >>> 0, 1));
    br = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(br.prototype);
            return e.__wbg_ptr = t, Hn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Hn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_malformedaddress_free(t, 0);
        }
        original_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.malformedaddress_original_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_address() {
            const t = _.malformedaddress_to_address(this.__wbg_ptr);
            return $.__wrap(t);
        }
        static from_address(t) {
            p(t, $);
            const e = _.malformedaddress_from_address(t.__wbg_ptr);
            return e === 0 ? void 0 : br.__wrap(e);
        }
    };
    const Gn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_metadatalist_free(w >>> 0, 1));
    se = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(se.prototype);
            return e.__wbg_ptr = t, Gn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Gn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_metadatalist_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.metadatalist_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.metadatalist_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return se.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.metadatalist_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.metadatalist_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return se.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.metadatalist_new();
            return se.__wrap(t);
        }
        len() {
            return _.metadatalist_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.metadatalist_get(this.__wbg_ptr, t);
            return L.__wrap(e);
        }
        add(t) {
            p(t, L), _.metadatalist_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const Dn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_metadatamap_free(w >>> 0, 1));
    he = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(he.prototype);
            return e.__wbg_ptr = t, Dn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Dn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_metadatamap_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.metadatamap_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.metadatamap_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return he.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.metadatamap_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.metadatamap_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return he.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.metadatamap_new();
            return he.__wrap(t);
        }
        len() {
            return _.metadatamap_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, L), p(e, L);
            const a = _.metadatamap_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : L.__wrap(a);
        }
        insert_str(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16), i = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), u = b;
                p(e, L), _.metadatamap_insert_str(d, this.__wbg_ptr, i, u, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return a === 0 ? void 0 : L.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        insert_i32(t, e) {
            p(e, L);
            const a = _.metadatamap_insert_i32(this.__wbg_ptr, t, e.__wbg_ptr);
            return a === 0 ? void 0 : L.__wrap(a);
        }
        get(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, L), _.metadatamap_get(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_str(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.metadatamap_get_str(r, this.__wbg_ptr, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_i32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.metadatamap_get_i32(r, this.__wbg_ptr, t);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        has(t) {
            return p(t, L), _.metadatamap_has(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
        keys() {
            const t = _.metadatamap_keys(this.__wbg_ptr);
            return se.__wrap(t);
        }
    };
    const An = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_mint_free(w >>> 0, 1));
    wt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(wt.prototype);
            return e.__wbg_ptr = t, An.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, An.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_mint_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.mint_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.mint_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return wt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.mint_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.mint_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return wt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.mint_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.mint_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.mint_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return wt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.mint_new();
            return wt.__wrap(t);
        }
        static new_from_entry(t, e) {
            p(t, J), p(e, Wt);
            const a = _.mint_new_from_entry(t.__wbg_ptr, e.__wbg_ptr);
            return wt.__wrap(a);
        }
        len() {
            return _.mint_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, J), p(e, Wt);
            const a = _.mint_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : Wt.__wrap(a);
        }
        get(t) {
            p(t, J);
            const e = _.mint_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : Se.__wrap(e);
        }
        keys() {
            const t = _.mint_keys(this.__wbg_ptr);
            return D_.__wrap(t);
        }
        as_positive_multiasset() {
            const t = _.mint_as_positive_multiasset(this.__wbg_ptr);
            return N.__wrap(t);
        }
        as_negative_multiasset() {
            const t = _.mint_as_negative_multiasset(this.__wbg_ptr);
            return N.__wrap(t);
        }
    };
    const Tn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_mintassets_free(w >>> 0, 1));
    Wt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Wt.prototype);
            return e.__wbg_ptr = t, Tn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Tn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_mintassets_free(t, 0);
        }
        static new() {
            const t = _.mintassets_new();
            return Wt.__wrap(t);
        }
        static new_from_entry(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, W), p(e, E), _.mintassets_new_from_entry(d, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return Wt.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        len() {
            return _.mintassets_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, W), p(e, E), _.mintassets_insert(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return a === 0 ? void 0 : E.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get(t) {
            p(t, W);
            const e = _.mintassets_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : E.__wrap(e);
        }
        keys() {
            const t = _.mintassets_keys(this.__wbg_ptr);
            return y_.__wrap(t);
        }
    };
    const Nn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_mintbuilder_free(w >>> 0, 1));
    Ne = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ne.prototype);
            return e.__wbg_ptr = t, Nn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Nn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_mintbuilder_free(t, 0);
        }
        static new() {
            const t = _.mintbuilder_new();
            return Ne.__wrap(t);
        }
        add_asset(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, $e), p(e, W), p(a, E), _.mintbuilder_add_asset(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_asset(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, $e), p(e, W), p(a, E), _.mintbuilder_set_asset(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        build() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.mintbuilder_build(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return wt.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_native_scripts() {
            const t = _.mintbuilder_get_native_scripts(this.__wbg_ptr);
            return Q.__wrap(t);
        }
        get_plutus_witnesses() {
            const t = _.mintbuilder_get_plutus_witnesses(this.__wbg_ptr);
            return Gt.__wrap(t);
        }
        get_ref_inputs() {
            const t = _.mintbuilder_get_ref_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        get_redeemers() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.mintbuilder_get_redeemers(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return Mt.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        has_plutus_scripts() {
            return _.mintbuilder_has_plutus_scripts(this.__wbg_ptr) !== 0;
        }
        has_native_scripts() {
            return _.mintbuilder_has_native_scripts(this.__wbg_ptr) !== 0;
        }
    };
    const Vn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_mintwitness_free(w >>> 0, 1));
    $e = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create($e.prototype);
            return e.__wbg_ptr = t, Vn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Vn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_mintwitness_free(t, 0);
        }
        static new_native_script(t) {
            p(t, Ht);
            const e = _.mintwitness_new_native_script(t.__wbg_ptr);
            return $e.__wrap(e);
        }
        static new_plutus_script(t, e) {
            p(t, me), p(e, st);
            const a = _.mintwitness_new_plutus_script(t.__wbg_ptr, e.__wbg_ptr);
            return $e.__wrap(a);
        }
    };
    const Cn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_mintsassets_free(w >>> 0, 1));
    Se = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Se.prototype);
            return e.__wbg_ptr = t, Cn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Cn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_mintsassets_free(t, 0);
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.mintsassets_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.mintsassets_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.mintsassets_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Se.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.mintsassets_new();
            return Se.__wrap(t);
        }
        add(t) {
            p(t, Wt), _.mintsassets_add(this.__wbg_ptr, t.__wbg_ptr);
        }
        get(t) {
            const e = _.mintsassets_get(this.__wbg_ptr, t);
            return e === 0 ? void 0 : Wt.__wrap(e);
        }
        len() {
            return _.mintsassets_len(this.__wbg_ptr) >>> 0;
        }
    };
    const Pn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_moveinstantaneousreward_free(w >>> 0, 1));
    Ct = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ct.prototype);
            return e.__wbg_ptr = t, Pn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Pn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_moveinstantaneousreward_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.moveinstantaneousreward_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.moveinstantaneousreward_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ct.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.moveinstantaneousreward_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.moveinstantaneousreward_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ct.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.moveinstantaneousreward_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.moveinstantaneousreward_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.moveinstantaneousreward_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ct.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_to_other_pot(t, e) {
            p(e, v);
            const a = _.moveinstantaneousreward_new_to_other_pot(t, e.__wbg_ptr);
            return Ct.__wrap(a);
        }
        static new_to_stake_creds(t, e) {
            p(e, Y_);
            const a = _.moveinstantaneousreward_new_to_stake_creds(t, e.__wbg_ptr);
            return Ct.__wrap(a);
        }
        pot() {
            return _.moveinstantaneousreward_pot(this.__wbg_ptr);
        }
        kind() {
            return _.moveinstantaneousreward_kind(this.__wbg_ptr);
        }
        as_to_other_pot() {
            const t = _.moveinstantaneousreward_as_to_other_pot(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        as_to_stake_creds() {
            const t = _.moveinstantaneousreward_as_to_stake_creds(this.__wbg_ptr);
            return t === 0 ? void 0 : Y_.__wrap(t);
        }
    };
    const Bn = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_moveinstantaneousrewardscert_free(w >>> 0, 1));
    J_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(J_.prototype);
            return e.__wbg_ptr = t, Bn.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Bn.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_moveinstantaneousrewardscert_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.moveinstantaneousrewardscert_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.moveinstantaneousrewardscert_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return J_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.moveinstantaneousrewardscert_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.moveinstantaneousrewardscert_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return J_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.moveinstantaneousrewardscert_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.moveinstantaneousrewardscert_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.moveinstantaneousrewardscert_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return J_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        move_instantaneous_reward() {
            const t = _.moveinstantaneousrewardscert_move_instantaneous_reward(this.__wbg_ptr);
            return Ct.__wrap(t);
        }
        static new(t) {
            p(t, Ct);
            const e = _.moveinstantaneousrewardscert_new(t.__wbg_ptr);
            return J_.__wrap(e);
        }
    };
    const to = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_multiasset_free(w >>> 0, 1));
    N = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(N.prototype);
            return e.__wbg_ptr = t, to.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, to.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_multiasset_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.multiasset_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.multiasset_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return N.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.multiasset_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.multiasset_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return N.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.multiasset_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.multiasset_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.multiasset_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return N.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.multiasset_new();
            return N.__wrap(t);
        }
        len() {
            return _.multiasset_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, J), p(e, a_);
            const a = _.multiasset_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : a_.__wrap(a);
        }
        get(t) {
            p(t, J);
            const e = _.multiasset_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : a_.__wrap(e);
        }
        set_asset(t, e, a) {
            p(t, J), p(e, W), p(a, v);
            const n = _.multiasset_set_asset(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return n === 0 ? void 0 : v.__wrap(n);
        }
        get_asset(t, e) {
            p(t, J), p(e, W);
            const a = _.multiasset_get_asset(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return v.__wrap(a);
        }
        keys() {
            const t = _.multiasset_keys(this.__wbg_ptr);
            return D_.__wrap(t);
        }
        sub(t) {
            p(t, N);
            const e = _.multiasset_sub(this.__wbg_ptr, t.__wbg_ptr);
            return N.__wrap(e);
        }
    };
    const _o = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_multihostname_free(w >>> 0, 1));
    E_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(E_.prototype);
            return e.__wbg_ptr = t, _o.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, _o.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_multihostname_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.multihostname_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.multihostname_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return E_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.multihostname_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.multihostname_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return E_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.multihostname_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.multihostname_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.multihostname_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return E_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        dns_name() {
            const t = _.multihostname_dns_name(this.__wbg_ptr);
            return F_.__wrap(t);
        }
        static new(t) {
            p(t, F_);
            const e = _.multihostname_new(t.__wbg_ptr);
            return E_.__wrap(e);
        }
    };
    const eo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_nativescript_free(w >>> 0, 1));
    M = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(M.prototype);
            return e.__wbg_ptr = t, eo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, eo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_nativescript_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.nativescript_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.nativescript_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return M.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.nativescript_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.nativescript_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return M.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.nativescript_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.nativescript_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.nativescript_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return M.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        hash() {
            const t = _.nativescript_hash(this.__wbg_ptr);
            return J.__wrap(t);
        }
        static new_script_pubkey(t) {
            p(t, T_);
            const e = _.nativescript_new_script_pubkey(t.__wbg_ptr);
            return M.__wrap(e);
        }
        static new_script_all(t) {
            p(t, H_);
            const e = _.nativescript_new_script_all(t.__wbg_ptr);
            return M.__wrap(e);
        }
        static new_script_any(t) {
            p(t, G_);
            const e = _.nativescript_new_script_any(t.__wbg_ptr);
            return M.__wrap(e);
        }
        static new_script_n_of_k(t) {
            p(t, A_);
            const e = _.nativescript_new_script_n_of_k(t.__wbg_ptr);
            return M.__wrap(e);
        }
        static new_timelock_start(t) {
            p(t, e_);
            const e = _.nativescript_new_timelock_start(t.__wbg_ptr);
            return M.__wrap(e);
        }
        static new_timelock_expiry(t) {
            p(t, __);
            const e = _.nativescript_new_timelock_expiry(t.__wbg_ptr);
            return M.__wrap(e);
        }
        kind() {
            return _.nativescript_kind(this.__wbg_ptr);
        }
        as_script_pubkey() {
            const t = _.nativescript_as_script_pubkey(this.__wbg_ptr);
            return t === 0 ? void 0 : T_.__wrap(t);
        }
        as_script_all() {
            const t = _.nativescript_as_script_all(this.__wbg_ptr);
            return t === 0 ? void 0 : H_.__wrap(t);
        }
        as_script_any() {
            const t = _.nativescript_as_script_any(this.__wbg_ptr);
            return t === 0 ? void 0 : G_.__wrap(t);
        }
        as_script_n_of_k() {
            const t = _.nativescript_as_script_n_of_k(this.__wbg_ptr);
            return t === 0 ? void 0 : A_.__wrap(t);
        }
        as_timelock_start() {
            const t = _.nativescript_as_timelock_start(this.__wbg_ptr);
            return t === 0 ? void 0 : e_.__wrap(t);
        }
        as_timelock_expiry() {
            const t = _.nativescript_as_timelock_expiry(this.__wbg_ptr);
            return t === 0 ? void 0 : __.__wrap(t);
        }
        get_required_signers() {
            const t = _.nativescript_get_required_signers(this.__wbg_ptr);
            return P.__wrap(t);
        }
    };
    const ro = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_nativescriptsource_free(w >>> 0, 1));
    Ht = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ht.prototype);
            return e.__wbg_ptr = t, ro.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ro.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_nativescriptsource_free(t, 0);
        }
        static new(t) {
            p(t, M);
            const e = _.nativescriptsource_new(t.__wbg_ptr);
            return Ht.__wrap(e);
        }
        static new_ref_input(t, e, a) {
            p(t, J), p(e, X);
            const n = _.nativescriptsource_new_ref_input(t.__wbg_ptr, e.__wbg_ptr, a);
            return Ht.__wrap(n);
        }
        set_required_signers(t) {
            p(t, P), _.nativescriptsource_set_required_signers(this.__wbg_ptr, t.__wbg_ptr);
        }
        get_ref_script_size() {
            const t = _.nativescriptsource_get_ref_script_size(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
    };
    const no = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_nativescripts_free(w >>> 0, 1));
    Q = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Q.prototype);
            return e.__wbg_ptr = t, no.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, no.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_nativescripts_free(t, 0);
        }
        static new() {
            const t = _.nativescripts_new();
            return Q.__wrap(t);
        }
        len() {
            return _.nativescripts_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.nativescripts_get(this.__wbg_ptr, t);
            return M.__wrap(e);
        }
        add(t) {
            p(t, M), _.nativescripts_add(this.__wbg_ptr, t.__wbg_ptr);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.nativescripts_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.nativescripts_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Q.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.nativescripts_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.nativescripts_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Q.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.nativescripts_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.nativescripts_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.nativescripts_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Q.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const oo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_networkid_free(w >>> 0, 1));
    Pt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Pt.prototype);
            return e.__wbg_ptr = t, oo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, oo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_networkid_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.networkid_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.networkid_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Pt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.networkid_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.networkid_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Pt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.networkid_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.networkid_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.networkid_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Pt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static testnet() {
            const t = _.networkid_testnet();
            return Pt.__wrap(t);
        }
        static mainnet() {
            const t = _.networkid_mainnet();
            return Pt.__wrap(t);
        }
        kind() {
            return _.networkid_kind(this.__wbg_ptr);
        }
    };
    const ao = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_networkinfo_free(w >>> 0, 1));
    we = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(we.prototype);
            return e.__wbg_ptr = t, ao.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ao.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_networkinfo_free(t, 0);
        }
        static new(t, e) {
            const a = _.networkinfo_new(t, e);
            return we.__wrap(a);
        }
        network_id() {
            return _.networkinfo_network_id(this.__wbg_ptr);
        }
        protocol_magic() {
            return _.networkinfo_protocol_magic(this.__wbg_ptr) >>> 0;
        }
        static testnet_preview() {
            const t = _.networkinfo_testnet_preview();
            return we.__wrap(t);
        }
        static testnet_preprod() {
            const t = _.networkinfo_testnet_preprod();
            return we.__wrap(t);
        }
        static mainnet() {
            const t = _.networkinfo_mainnet();
            return we.__wrap(t);
        }
    };
    const so = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_newconstitutionaction_free(w >>> 0, 1));
    Bt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Bt.prototype);
            return e.__wbg_ptr = t, so.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, so.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_newconstitutionaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.newconstitutionaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.newconstitutionaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Bt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.newconstitutionaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.newconstitutionaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Bt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.newconstitutionaction_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.newconstitutionaction_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.newconstitutionaction_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Bt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        gov_action_id() {
            const t = _.newconstitutionaction_gov_action_id(this.__wbg_ptr);
            return t === 0 ? void 0 : Z.__wrap(t);
        }
        constitution() {
            const t = _.newconstitutionaction_constitution(this.__wbg_ptr);
            return Zt.__wrap(t);
        }
        static new(t) {
            p(t, Zt);
            const e = _.newconstitutionaction_new(t.__wbg_ptr);
            return Bt.__wrap(e);
        }
        static new_with_action_id(t, e) {
            p(t, Z), p(e, Zt);
            const a = _.newconstitutionaction_new_with_action_id(t.__wbg_ptr, e.__wbg_ptr);
            return Bt.__wrap(a);
        }
        has_script_hash() {
            return _.newconstitutionaction_has_script_hash(this.__wbg_ptr) !== 0;
        }
    };
    const io = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_noconfidenceaction_free(w >>> 0, 1));
    t_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(t_.prototype);
            return e.__wbg_ptr = t, io.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, io.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_noconfidenceaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.noconfidenceaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.noconfidenceaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return t_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.noconfidenceaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.noconfidenceaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return t_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.noconfidenceaction_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.noconfidenceaction_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.noconfidenceaction_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return t_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        gov_action_id() {
            const t = _.noconfidenceaction_gov_action_id(this.__wbg_ptr);
            return t === 0 ? void 0 : Z.__wrap(t);
        }
        static new() {
            const t = _.noconfidenceaction_new();
            return t_.__wrap(t);
        }
        static new_with_action_id(t) {
            p(t, Z);
            const e = _.noconfidenceaction_new_with_action_id(t.__wbg_ptr);
            return t_.__wrap(e);
        }
    };
    const co = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_nonce_free(w >>> 0, 1));
    v_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(v_.prototype);
            return e.__wbg_ptr = t, co.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, co.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_nonce_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.nonce_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.nonce_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.nonce_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.nonce_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.nonce_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.nonce_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.nonce_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_identity() {
            const t = _.nonce_new_identity();
            return v_.__wrap(t);
        }
        static new_from_hash(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.nonce_new_from_hash(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_hash() {
            try {
                const a = _.__wbindgen_add_to_stack_pointer(-16);
                _.nonce_get_hash(a, this.__wbg_ptr);
                var t = o().getInt32(a + 0, !0), e = o().getInt32(a + 4, !0);
                let n;
                return t !== 0 && (n = y(t, e).slice(), _.__wbindgen_free(t, e * 1, 1)), n;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const go = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_operationalcert_free(w >>> 0, 1));
    g_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(g_.prototype);
            return e.__wbg_ptr = t, go.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, go.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_operationalcert_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.operationalcert_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.operationalcert_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return g_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.operationalcert_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.operationalcert_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return g_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.operationalcert_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.operationalcert_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.operationalcert_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return g_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        hot_vkey() {
            const t = _.operationalcert_hot_vkey(this.__wbg_ptr);
            return fe.__wrap(t);
        }
        sequence_number() {
            return _.operationalcert_sequence_number(this.__wbg_ptr) >>> 0;
        }
        kes_period() {
            return _.operationalcert_kes_period(this.__wbg_ptr) >>> 0;
        }
        sigma() {
            const t = _.operationalcert_sigma(this.__wbg_ptr);
            return gt.__wrap(t);
        }
        static new(t, e, a, n) {
            p(t, fe), p(n, gt);
            const r = _.operationalcert_new(t.__wbg_ptr, e, a, n.__wbg_ptr);
            return g_.__wrap(r);
        }
    };
    const po = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_outputdatum_free(w >>> 0, 1));
    Le = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Le.prototype);
            return e.__wbg_ptr = t, po.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, po.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_outputdatum_free(t, 0);
        }
        static new_data_hash(t) {
            p(t, Yt);
            const e = _.outputdatum_new_data_hash(t.__wbg_ptr);
            return Le.__wrap(e);
        }
        static new_data(t) {
            p(t, R);
            const e = _.outputdatum_new_data(t.__wbg_ptr);
            return Le.__wrap(e);
        }
        data_hash() {
            const t = _.outputdatum_data_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : Yt.__wrap(t);
        }
        data() {
            const t = _.outputdatum_data(this.__wbg_ptr);
            return t === 0 ? void 0 : R.__wrap(t);
        }
    };
    const wo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_parameterchangeaction_free(w >>> 0, 1));
    yt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(yt.prototype);
            return e.__wbg_ptr = t, wo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, wo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_parameterchangeaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.parameterchangeaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.parameterchangeaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return yt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.parameterchangeaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.parameterchangeaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return yt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.parameterchangeaction_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.parameterchangeaction_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.parameterchangeaction_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return yt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        gov_action_id() {
            const t = _.parameterchangeaction_gov_action_id(this.__wbg_ptr);
            return t === 0 ? void 0 : Z.__wrap(t);
        }
        protocol_param_updates() {
            const t = _.parameterchangeaction_protocol_param_updates(this.__wbg_ptr);
            return ot.__wrap(t);
        }
        policy_hash() {
            const t = _.parameterchangeaction_policy_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : J.__wrap(t);
        }
        static new(t) {
            p(t, ot);
            const e = _.parameterchangeaction_new(t.__wbg_ptr);
            return yt.__wrap(e);
        }
        static new_with_action_id(t, e) {
            p(t, Z), p(e, ot);
            const a = _.parameterchangeaction_new_with_action_id(t.__wbg_ptr, e.__wbg_ptr);
            return yt.__wrap(a);
        }
        static new_with_policy_hash(t, e) {
            p(t, ot), p(e, J);
            const a = _.parameterchangeaction_new_with_policy_hash(t.__wbg_ptr, e.__wbg_ptr);
            return yt.__wrap(a);
        }
        static new_with_policy_hash_and_action_id(t, e, a) {
            p(t, Z), p(e, ot), p(a, J);
            const n = _.parameterchangeaction_new_with_policy_hash_and_action_id(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return yt.__wrap(n);
        }
    };
    const uo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutusdata_free(w >>> 0, 1));
    R = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(R.prototype);
            return e.__wbg_ptr = t, uo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, uo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutusdata_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusdata_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.plutusdata_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return R.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusdata_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.plutusdata_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return R.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_constr_plutus_data(t) {
            p(t, be);
            const e = _.plutusdata_new_constr_plutus_data(t.__wbg_ptr);
            return R.__wrap(e);
        }
        static new_empty_constr_plutus_data(t) {
            p(t, v);
            const e = _.plutusdata_new_empty_constr_plutus_data(t.__wbg_ptr);
            return R.__wrap(e);
        }
        static new_single_value_constr_plutus_data(t, e) {
            p(t, v), p(e, R);
            const a = _.plutusdata_new_single_value_constr_plutus_data(t.__wbg_ptr, e.__wbg_ptr);
            return R.__wrap(a);
        }
        static new_map(t) {
            p(t, ve);
            const e = _.plutusdata_new_map(t.__wbg_ptr);
            return R.__wrap(e);
        }
        static new_list(t) {
            p(t, it);
            const e = _.plutusdata_new_list(t.__wbg_ptr);
            return R.__wrap(e);
        }
        static new_integer(t) {
            p(t, K);
            const e = _.plutusdata_new_integer(t.__wbg_ptr);
            return R.__wrap(e);
        }
        static new_bytes(t) {
            const e = h(t, _.__wbindgen_malloc), a = b, n = _.plutusdata_new_bytes(e, a);
            return R.__wrap(n);
        }
        kind() {
            return _.plutusdata_kind(this.__wbg_ptr);
        }
        as_constr_plutus_data() {
            const t = _.plutusdata_as_constr_plutus_data(this.__wbg_ptr);
            return t === 0 ? void 0 : be.__wrap(t);
        }
        as_map() {
            const t = _.plutusdata_as_map(this.__wbg_ptr);
            return t === 0 ? void 0 : ve.__wrap(t);
        }
        as_list() {
            const t = _.plutusdata_as_list(this.__wbg_ptr);
            return t === 0 ? void 0 : it.__wrap(t);
        }
        as_integer() {
            const t = _.plutusdata_as_integer(this.__wbg_ptr);
            return t === 0 ? void 0 : K.__wrap(t);
        }
        as_bytes() {
            try {
                const a = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusdata_as_bytes(a, this.__wbg_ptr);
                var t = o().getInt32(a + 0, !0), e = o().getInt32(a + 4, !0);
                let n;
                return t !== 0 && (n = y(t, e).slice(), _.__wbindgen_free(t, e * 1, 1)), n;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16);
                _.decode_plutus_datum_to_json_str(m, this.__wbg_ptr, t);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_json(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16), i = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), u = b;
                _.encode_json_str_to_plutus_datum(d, i, u, e);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return R.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_address(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, $), _.plutusdata_from_address(r, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return R.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_address(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, we), _.plutusdata_as_address(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const bo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutuslist_free(w >>> 0, 1));
    it = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(it.prototype);
            return e.__wbg_ptr = t, bo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, bo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutuslist_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutuslist_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.plutuslist_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return it.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutuslist_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.plutuslist_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return it.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.plutuslist_new();
            return it.__wrap(t);
        }
        len() {
            return _.plutuslist_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.plutuslist_get(this.__wbg_ptr, t);
            return R.__wrap(e);
        }
        add(t) {
            p(t, R), _.plutuslist_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const lo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutusmap_free(w >>> 0, 1));
    ve = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ve.prototype);
            return e.__wbg_ptr = t, lo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, lo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutusmap_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusmap_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.plutusmap_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ve.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusmap_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.plutusmap_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ve.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.plutusmap_new();
            return ve.__wrap(t);
        }
        len() {
            return _.plutusmap_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, R), p(e, Ye);
            const a = _.plutusmap_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : Ye.__wrap(a);
        }
        get(t) {
            p(t, R);
            const e = _.plutusmap_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : Ye.__wrap(e);
        }
        keys() {
            const t = _.plutusmap_keys(this.__wbg_ptr);
            return it.__wrap(t);
        }
    };
    const fo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutusmapvalues_free(w >>> 0, 1));
    Ye = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ye.prototype);
            return e.__wbg_ptr = t, fo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, fo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutusmapvalues_free(t, 0);
        }
        static new() {
            const t = _.plutusmapvalues_new();
            return Ye.__wrap(t);
        }
        len() {
            return _.plutusmapvalues_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.plutusmapvalues_get(this.__wbg_ptr, t);
            return e === 0 ? void 0 : R.__wrap(e);
        }
        add(t) {
            p(t, R), _.plutusmapvalues_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const ho = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutusscript_free(w >>> 0, 1));
    S = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(S.prototype);
            return e.__wbg_ptr = t, ho.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ho.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutusscript_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusscript_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.plutusscript_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return S.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusscript_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.plutusscript_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return S.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            const e = h(t, _.__wbindgen_malloc), a = b, n = _.plutusscript_new(e, a);
            return S.__wrap(n);
        }
        static new_v2(t) {
            const e = h(t, _.__wbindgen_malloc), a = b, n = _.plutusscript_new_v2(e, a);
            return S.__wrap(n);
        }
        static new_v3(t) {
            const e = h(t, _.__wbindgen_malloc), a = b, n = _.plutusscript_new_v3(e, a);
            return S.__wrap(n);
        }
        static new_with_version(t, e) {
            const a = h(t, _.__wbindgen_malloc), n = b;
            p(e, A);
            const r = _.plutusscript_new_with_version(a, n, e.__wbg_ptr);
            return S.__wrap(r);
        }
        bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusscript_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes_v2(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.plutusscript_from_bytes_v2(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return S.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes_v3(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.plutusscript_from_bytes_v3(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return S.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes_with_version(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16), i = h(t, _.__wbindgen_malloc), u = b;
                p(e, A), _.plutusscript_from_bytes_with_version(d, i, u, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return S.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_hex_with_version(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16), i = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), u = b;
                p(e, A), _.plutusscript_from_hex_with_version(d, i, u, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return S.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        hash() {
            const t = _.plutusscript_hash(this.__wbg_ptr);
            return J.__wrap(t);
        }
        language_version() {
            const t = _.plutusscript_language_version(this.__wbg_ptr);
            return A.__wrap(t);
        }
    };
    const vo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutusscriptsource_free(w >>> 0, 1));
    me = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(me.prototype);
            return e.__wbg_ptr = t, vo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, vo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutusscriptsource_free(t, 0);
        }
        static new(t) {
            p(t, S);
            const e = _.plutusscriptsource_new(t.__wbg_ptr);
            return me.__wrap(e);
        }
        static new_ref_input(t, e, a, n) {
            p(t, J), p(e, X), p(a, A);
            const r = _.plutusscriptsource_new_ref_input(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n);
            return me.__wrap(r);
        }
        set_required_signers(t) {
            p(t, P), _.plutusscriptsource_set_required_signers(this.__wbg_ptr, t.__wbg_ptr);
        }
        get_ref_script_size() {
            const t = _.plutusscriptsource_get_ref_script_size(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
    };
    const yo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutusscripts_free(w >>> 0, 1));
    Ut = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ut.prototype);
            return e.__wbg_ptr = t, yo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, yo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutusscripts_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusscripts_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.plutusscripts_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ut.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusscripts_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.plutusscripts_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ut.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusscripts_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.plutusscripts_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.plutusscripts_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ut.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.plutusscripts_new();
            return Ut.__wrap(t);
        }
        len() {
            return _.plutusscripts_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.plutusscripts_get(this.__wbg_ptr, t);
            return S.__wrap(e);
        }
        add(t) {
            p(t, S), _.plutusscripts_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const mo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutuswitness_free(w >>> 0, 1));
    tt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(tt.prototype);
            return e.__wbg_ptr = t, mo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, mo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutuswitness_free(t, 0);
        }
        static new(t, e, a) {
            p(t, S), p(e, R), p(a, st);
            const n = _.plutuswitness_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return tt.__wrap(n);
        }
        static new_with_ref(t, e, a) {
            p(t, me), p(e, Ke), p(a, st);
            const n = _.plutuswitness_new_with_ref(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return tt.__wrap(n);
        }
        static new_without_datum(t, e) {
            p(t, S), p(e, st);
            const a = _.plutuswitness_new_without_datum(t.__wbg_ptr, e.__wbg_ptr);
            return tt.__wrap(a);
        }
        static new_with_ref_without_datum(t, e) {
            p(t, me), p(e, st);
            const a = _.plutuswitness_new_with_ref_without_datum(t.__wbg_ptr, e.__wbg_ptr);
            return tt.__wrap(a);
        }
        script() {
            const t = _.plutuswitness_script(this.__wbg_ptr);
            return t === 0 ? void 0 : S.__wrap(t);
        }
        datum() {
            const t = _.plutuswitness_datum(this.__wbg_ptr);
            return t === 0 ? void 0 : R.__wrap(t);
        }
        redeemer() {
            const t = _.plutuswitness_redeemer(this.__wbg_ptr);
            return st.__wrap(t);
        }
    };
    const ko = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_plutuswitnesses_free(w >>> 0, 1));
    Gt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Gt.prototype);
            return e.__wbg_ptr = t, ko.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ko.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_plutuswitnesses_free(t, 0);
        }
        static new() {
            const t = _.plutuswitnesses_new();
            return Gt.__wrap(t);
        }
        len() {
            return _.plutuswitnesses_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.plutuswitnesses_get(this.__wbg_ptr, t);
            return tt.__wrap(e);
        }
        add(t) {
            p(t, tt), _.plutuswitnesses_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const Io = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_pointer_free(w >>> 0, 1));
    Je = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Je.prototype);
            return e.__wbg_ptr = t, Io.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Io.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_pointer_free(t, 0);
        }
        cert_index_bignum() {
            const t = _.pointer_cert_index_bignum(this.__wbg_ptr);
            return v.__wrap(t);
        }
        tx_index_bignum() {
            const t = _.pointer_tx_index_bignum(this.__wbg_ptr);
            return v.__wrap(t);
        }
        slot_bignum() {
            const t = _.pointer_slot_bignum(this.__wbg_ptr);
            return v.__wrap(t);
        }
        cert_index() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.pointer_cert_index(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t >>> 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        tx_index() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.pointer_tx_index(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t >>> 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        slot() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.pointer_slot(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t >>> 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_pointer(t, e, a) {
            p(t, v), p(e, v), p(a, v);
            const n = _.pointer_new_pointer(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return Je.__wrap(n);
        }
        static new(t, e, a) {
            const n = _.pointer_new(t, e, a);
            return Je.__wrap(n);
        }
    };
    const xo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_pointeraddress_free(w >>> 0, 1));
    or = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(or.prototype);
            return e.__wbg_ptr = t, xo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, xo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_pointeraddress_free(t, 0);
        }
        static new(t, e, a) {
            p(e, I), p(a, Je);
            const n = _.pointeraddress_new(t, e.__wbg_ptr, a.__wbg_ptr);
            return or.__wrap(n);
        }
        payment_cred() {
            const t = _.pointeraddress_payment_cred(this.__wbg_ptr);
            return I.__wrap(t);
        }
        stake_pointer() {
            const t = _.pointeraddress_stake_pointer(this.__wbg_ptr);
            return Je.__wrap(t);
        }
        to_address() {
            const t = _.pointeraddress_to_address(this.__wbg_ptr);
            return $.__wrap(t);
        }
        static from_address(t) {
            p(t, $);
            const e = _.pointeraddress_from_address(t.__wbg_ptr);
            return e === 0 ? void 0 : or.__wrap(e);
        }
        network_id() {
            return _.pointeraddress_network_id(this.__wbg_ptr);
        }
    };
    const jo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_poolmetadata_free(w >>> 0, 1));
    X_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(X_.prototype);
            return e.__wbg_ptr = t, jo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, jo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_poolmetadata_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolmetadata_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.poolmetadata_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return X_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolmetadata_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolmetadata_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return X_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolmetadata_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolmetadata_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolmetadata_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return X_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        url() {
            const t = _.poolmetadata_url(this.__wbg_ptr);
            return sr.__wrap(t);
        }
        pool_metadata_hash() {
            const t = _.poolmetadata_pool_metadata_hash(this.__wbg_ptr);
            return ye.__wrap(t);
        }
        static new(t, e) {
            p(t, sr), p(e, ye);
            const a = _.poolmetadata_new(t.__wbg_ptr, e.__wbg_ptr);
            return X_.__wrap(a);
        }
    };
    const zo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_poolmetadatahash_free(w >>> 0, 1));
    ye = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ye.prototype);
            return e.__wbg_ptr = t, zo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, zo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_poolmetadatahash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.poolmetadatahash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ye.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolmetadatahash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.poolmetadatahash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolmetadatahash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ye.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolmetadatahash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolmetadatahash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ye.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Fo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_poolparams_free(w >>> 0, 1));
    Z_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Z_.prototype);
            return e.__wbg_ptr = t, Fo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Fo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_poolparams_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolparams_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.poolparams_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Z_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolparams_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolparams_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Z_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolparams_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolparams_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolparams_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Z_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        operator() {
            const t = _.poolparams_operator(this.__wbg_ptr);
            return O.__wrap(t);
        }
        vrf_keyhash() {
            const t = _.poolparams_vrf_keyhash(this.__wbg_ptr);
            return f_.__wrap(t);
        }
        pledge() {
            const t = _.poolparams_pledge(this.__wbg_ptr);
            return v.__wrap(t);
        }
        cost() {
            const t = _.poolparams_cost(this.__wbg_ptr);
            return v.__wrap(t);
        }
        margin() {
            const t = _.poolparams_margin(this.__wbg_ptr);
            return k.__wrap(t);
        }
        reward_account() {
            const t = _.poolparams_reward_account(this.__wbg_ptr);
            return T.__wrap(t);
        }
        pool_owners() {
            const t = _.poolparams_pool_owners(this.__wbg_ptr);
            return P.__wrap(t);
        }
        relays() {
            const t = _.poolparams_relays(this.__wbg_ptr);
            return S_.__wrap(t);
        }
        pool_metadata() {
            const t = _.poolparams_pool_metadata(this.__wbg_ptr);
            return t === 0 ? void 0 : X_.__wrap(t);
        }
        static new(t, e, a, n, r, d, i, u, g) {
            p(t, O), p(e, f_), p(a, v), p(n, v), p(r, k), p(d, T), p(i, P), p(u, S_);
            let m = 0;
            ht(g) || (p(g, X_), m = g.__destroy_into_raw());
            const x = _.poolparams_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr, r.__wbg_ptr, d.__wbg_ptr, i.__wbg_ptr, u.__wbg_ptr, m);
            return Z_.__wrap(x);
        }
    };
    const Ro = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_poolregistration_free(w >>> 0, 1));
    Q_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Q_.prototype);
            return e.__wbg_ptr = t, Ro.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ro.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_poolregistration_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolregistration_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.poolregistration_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Q_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolregistration_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolregistration_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Q_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolregistration_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolregistration_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolregistration_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Q_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        pool_params() {
            const t = _.poolregistration_pool_params(this.__wbg_ptr);
            return Z_.__wrap(t);
        }
        static new(t) {
            p(t, Z_);
            const e = _.poolregistration_new(t.__wbg_ptr);
            return Q_.__wrap(e);
        }
    };
    const Oo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_poolretirement_free(w >>> 0, 1));
    K_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(K_.prototype);
            return e.__wbg_ptr = t, Oo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Oo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_poolretirement_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolretirement_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.poolretirement_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return K_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolretirement_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolretirement_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return K_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolretirement_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolretirement_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolretirement_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return K_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        pool_keyhash() {
            const t = _.poolretirement_pool_keyhash(this.__wbg_ptr);
            return O.__wrap(t);
        }
        epoch() {
            return _.poolretirement_epoch(this.__wbg_ptr) >>> 0;
        }
        static new(t, e) {
            p(t, O);
            const a = _.poolretirement_new(t.__wbg_ptr, e);
            return K_.__wrap(a);
        }
    };
    const qo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_poolvotingthresholds_free(w >>> 0, 1));
    U_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(U_.prototype);
            return e.__wbg_ptr = t, qo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, qo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_poolvotingthresholds_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolvotingthresholds_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.poolvotingthresholds_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return U_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolvotingthresholds_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolvotingthresholds_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return U_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolvotingthresholds_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.poolvotingthresholds_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.poolvotingthresholds_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return U_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e, a, n, r) {
            p(t, k), p(e, k), p(a, k), p(n, k), p(r, k);
            const d = _.poolvotingthresholds_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr, r.__wbg_ptr);
            return U_.__wrap(d);
        }
        motion_no_confidence() {
            const t = _.poolvotingthresholds_motion_no_confidence(this.__wbg_ptr);
            return k.__wrap(t);
        }
        committee_normal() {
            const t = _.poolvotingthresholds_committee_normal(this.__wbg_ptr);
            return k.__wrap(t);
        }
        committee_no_confidence() {
            const t = _.poolvotingthresholds_committee_no_confidence(this.__wbg_ptr);
            return k.__wrap(t);
        }
        hard_fork_initiation() {
            const t = _.poolvotingthresholds_hard_fork_initiation(this.__wbg_ptr);
            return k.__wrap(t);
        }
        security_relevant_threshold() {
            const t = _.poolvotingthresholds_security_relevant_threshold(this.__wbg_ptr);
            return k.__wrap(t);
        }
    };
    const $o = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_privatekey_free(w >>> 0, 1));
    mt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(mt.prototype);
            return e.__wbg_ptr = t, $o.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, $o.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_privatekey_free(t, 0);
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.privatekey_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return mt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.privatekey_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        sign(t) {
            const e = h(t, _.__wbindgen_malloc), a = b, n = _.privatekey_sign(this.__wbg_ptr, e, a);
            return gt.__wrap(n);
        }
        static from_normal_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.privatekey_from_normal_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return mt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_extended_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.privatekey_from_extended_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return mt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.privatekey_as_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.privatekey_to_bech32(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.privatekey_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return mt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static generate_ed25519extended() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.privatekey_generate_ed25519extended(n);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return mt.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static generate_ed25519() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.privatekey_generate_ed25519(n);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return mt.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_public() {
            const t = _.privatekey_to_public(this.__wbg_ptr);
            return Et.__wrap(t);
        }
    };
    const Lo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_proposedprotocolparameterupdates_free(w >>> 0, 1));
    M_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(M_.prototype);
            return e.__wbg_ptr = t, Lo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Lo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_proposedprotocolparameterupdates_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.proposedprotocolparameterupdates_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.proposedprotocolparameterupdates_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return M_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.proposedprotocolparameterupdates_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.proposedprotocolparameterupdates_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return M_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.proposedprotocolparameterupdates_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.proposedprotocolparameterupdates_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.proposedprotocolparameterupdates_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return M_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.proposedprotocolparameterupdates_new();
            return M_.__wrap(t);
        }
        len() {
            return _.proposedprotocolparameterupdates_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, Jt), p(e, ot);
            const a = _.proposedprotocolparameterupdates_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : ot.__wrap(a);
        }
        get(t) {
            p(t, Jt);
            const e = _.proposedprotocolparameterupdates_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : ot.__wrap(e);
        }
        keys() {
            const t = _.proposedprotocolparameterupdates_keys(this.__wbg_ptr);
            return pe.__wrap(t);
        }
    };
    const Yo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_protocolparamupdate_free(w >>> 0, 1));
    ot = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ot.prototype);
            return e.__wbg_ptr = t, Yo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Yo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_protocolparamupdate_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.protocolparamupdate_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.protocolparamupdate_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ot.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.protocolparamupdate_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.protocolparamupdate_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ot.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.protocolparamupdate_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.protocolparamupdate_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.protocolparamupdate_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ot.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_minfee_a(t) {
            p(t, v), _.protocolparamupdate_set_minfee_a(this.__wbg_ptr, t.__wbg_ptr);
        }
        minfee_a() {
            const t = _.protocolparamupdate_minfee_a(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_minfee_b(t) {
            p(t, v), _.protocolparamupdate_set_minfee_b(this.__wbg_ptr, t.__wbg_ptr);
        }
        minfee_b() {
            const t = _.protocolparamupdate_minfee_b(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_max_block_body_size(t) {
            _.protocolparamupdate_set_max_block_body_size(this.__wbg_ptr, t);
        }
        max_block_body_size() {
            const t = _.protocolparamupdate_max_block_body_size(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_max_tx_size(t) {
            _.protocolparamupdate_set_max_tx_size(this.__wbg_ptr, t);
        }
        max_tx_size() {
            const t = _.protocolparamupdate_max_tx_size(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_max_block_header_size(t) {
            _.protocolparamupdate_set_max_block_header_size(this.__wbg_ptr, t);
        }
        max_block_header_size() {
            const t = _.protocolparamupdate_max_block_header_size(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_key_deposit(t) {
            p(t, v), _.protocolparamupdate_set_key_deposit(this.__wbg_ptr, t.__wbg_ptr);
        }
        key_deposit() {
            const t = _.protocolparamupdate_key_deposit(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_pool_deposit(t) {
            p(t, v), _.protocolparamupdate_set_pool_deposit(this.__wbg_ptr, t.__wbg_ptr);
        }
        pool_deposit() {
            const t = _.protocolparamupdate_pool_deposit(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_max_epoch(t) {
            _.protocolparamupdate_set_max_epoch(this.__wbg_ptr, t);
        }
        max_epoch() {
            const t = _.protocolparamupdate_max_epoch(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_n_opt(t) {
            _.protocolparamupdate_set_n_opt(this.__wbg_ptr, t);
        }
        n_opt() {
            const t = _.protocolparamupdate_n_opt(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_pool_pledge_influence(t) {
            p(t, k), _.protocolparamupdate_set_pool_pledge_influence(this.__wbg_ptr, t.__wbg_ptr);
        }
        pool_pledge_influence() {
            const t = _.protocolparamupdate_pool_pledge_influence(this.__wbg_ptr);
            return t === 0 ? void 0 : k.__wrap(t);
        }
        set_expansion_rate(t) {
            p(t, k), _.protocolparamupdate_set_expansion_rate(this.__wbg_ptr, t.__wbg_ptr);
        }
        expansion_rate() {
            const t = _.protocolparamupdate_expansion_rate(this.__wbg_ptr);
            return t === 0 ? void 0 : k.__wrap(t);
        }
        set_treasury_growth_rate(t) {
            p(t, k), _.protocolparamupdate_set_treasury_growth_rate(this.__wbg_ptr, t.__wbg_ptr);
        }
        treasury_growth_rate() {
            const t = _.protocolparamupdate_treasury_growth_rate(this.__wbg_ptr);
            return t === 0 ? void 0 : k.__wrap(t);
        }
        d() {
            const t = _.protocolparamupdate_d(this.__wbg_ptr);
            return t === 0 ? void 0 : k.__wrap(t);
        }
        extra_entropy() {
            const t = _.protocolparamupdate_extra_entropy(this.__wbg_ptr);
            return t === 0 ? void 0 : v_.__wrap(t);
        }
        set_protocol_version(t) {
            p(t, at), _.protocolparamupdate_set_protocol_version(this.__wbg_ptr, t.__wbg_ptr);
        }
        protocol_version() {
            const t = _.protocolparamupdate_protocol_version(this.__wbg_ptr);
            return t === 0 ? void 0 : at.__wrap(t);
        }
        set_min_pool_cost(t) {
            p(t, v), _.protocolparamupdate_set_min_pool_cost(this.__wbg_ptr, t.__wbg_ptr);
        }
        min_pool_cost() {
            const t = _.protocolparamupdate_min_pool_cost(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_ada_per_utxo_byte(t) {
            p(t, v), _.protocolparamupdate_set_ada_per_utxo_byte(this.__wbg_ptr, t.__wbg_ptr);
        }
        ada_per_utxo_byte() {
            const t = _.protocolparamupdate_ada_per_utxo_byte(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_cost_models(t) {
            p(t, kt), _.protocolparamupdate_set_cost_models(this.__wbg_ptr, t.__wbg_ptr);
        }
        cost_models() {
            const t = _.protocolparamupdate_cost_models(this.__wbg_ptr);
            return t === 0 ? void 0 : kt.__wrap(t);
        }
        set_execution_costs(t) {
            p(t, Ft), _.protocolparamupdate_set_execution_costs(this.__wbg_ptr, t.__wbg_ptr);
        }
        execution_costs() {
            const t = _.protocolparamupdate_execution_costs(this.__wbg_ptr);
            return t === 0 ? void 0 : Ft.__wrap(t);
        }
        set_max_tx_ex_units(t) {
            p(t, nt), _.protocolparamupdate_set_max_tx_ex_units(this.__wbg_ptr, t.__wbg_ptr);
        }
        max_tx_ex_units() {
            const t = _.protocolparamupdate_max_tx_ex_units(this.__wbg_ptr);
            return t === 0 ? void 0 : nt.__wrap(t);
        }
        set_max_block_ex_units(t) {
            p(t, nt), _.protocolparamupdate_set_max_block_ex_units(this.__wbg_ptr, t.__wbg_ptr);
        }
        max_block_ex_units() {
            const t = _.protocolparamupdate_max_block_ex_units(this.__wbg_ptr);
            return t === 0 ? void 0 : nt.__wrap(t);
        }
        set_max_value_size(t) {
            _.protocolparamupdate_set_max_value_size(this.__wbg_ptr, t);
        }
        max_value_size() {
            const t = _.protocolparamupdate_max_value_size(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_collateral_percentage(t) {
            _.protocolparamupdate_set_collateral_percentage(this.__wbg_ptr, t);
        }
        collateral_percentage() {
            const t = _.protocolparamupdate_collateral_percentage(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_max_collateral_inputs(t) {
            _.protocolparamupdate_set_max_collateral_inputs(this.__wbg_ptr, t);
        }
        max_collateral_inputs() {
            const t = _.protocolparamupdate_max_collateral_inputs(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_pool_voting_thresholds(t) {
            p(t, U_), _.protocolparamupdate_set_pool_voting_thresholds(this.__wbg_ptr, t.__wbg_ptr);
        }
        pool_voting_thresholds() {
            const t = _.protocolparamupdate_pool_voting_thresholds(this.__wbg_ptr);
            return t === 0 ? void 0 : U_.__wrap(t);
        }
        set_drep_voting_thresholds(t) {
            p(t, O_), _.protocolparamupdate_set_drep_voting_thresholds(this.__wbg_ptr, t.__wbg_ptr);
        }
        drep_voting_thresholds() {
            const t = _.protocolparamupdate_drep_voting_thresholds(this.__wbg_ptr);
            return t === 0 ? void 0 : O_.__wrap(t);
        }
        set_min_committee_size(t) {
            _.protocolparamupdate_set_min_committee_size(this.__wbg_ptr, t);
        }
        min_committee_size() {
            const t = _.protocolparamupdate_min_committee_size(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_committee_term_limit(t) {
            _.protocolparamupdate_set_committee_term_limit(this.__wbg_ptr, t);
        }
        committee_term_limit() {
            const t = _.protocolparamupdate_committee_term_limit(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_governance_action_validity_period(t) {
            _.protocolparamupdate_set_governance_action_validity_period(this.__wbg_ptr, t);
        }
        governance_action_validity_period() {
            const t = _.protocolparamupdate_governance_action_validity_period(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_governance_action_deposit(t) {
            p(t, v), _.protocolparamupdate_set_governance_action_deposit(this.__wbg_ptr, t.__wbg_ptr);
        }
        governance_action_deposit() {
            const t = _.protocolparamupdate_governance_action_deposit(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_drep_deposit(t) {
            p(t, v), _.protocolparamupdate_set_drep_deposit(this.__wbg_ptr, t.__wbg_ptr);
        }
        drep_deposit() {
            const t = _.protocolparamupdate_drep_deposit(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_drep_inactivity_period(t) {
            _.protocolparamupdate_set_drep_inactivity_period(this.__wbg_ptr, t);
        }
        drep_inactivity_period() {
            const t = _.protocolparamupdate_drep_inactivity_period(this.__wbg_ptr);
            return t === 4294967297 ? void 0 : t;
        }
        set_ref_script_coins_per_byte(t) {
            p(t, k), _.protocolparamupdate_set_ref_script_coins_per_byte(this.__wbg_ptr, t.__wbg_ptr);
        }
        ref_script_coins_per_byte() {
            const t = _.protocolparamupdate_ref_script_coins_per_byte(this.__wbg_ptr);
            return t === 0 ? void 0 : k.__wrap(t);
        }
        static new() {
            const t = _.protocolparamupdate_new();
            return ot.__wrap(t);
        }
    };
    const Jo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_protocolversion_free(w >>> 0, 1));
    at = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(at.prototype);
            return e.__wbg_ptr = t, Jo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Jo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_protocolversion_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.protocolversion_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.protocolversion_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return at.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.protocolversion_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.protocolversion_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return at.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.protocolversion_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.protocolversion_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.protocolversion_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return at.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        major() {
            return _.protocolversion_major(this.__wbg_ptr) >>> 0;
        }
        minor() {
            return _.protocolversion_minor(this.__wbg_ptr) >>> 0;
        }
        static new(t, e) {
            const a = _.protocolversion_new(t, e);
            return at.__wrap(a);
        }
    };
    const Eo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_publickey_free(w >>> 0, 1));
    Et = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Et.prototype);
            return e.__wbg_ptr = t, Eo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Eo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_publickey_free(t, 0);
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.publickey_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Et.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.publickey_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        hash() {
            const t = _.publickey_hash(this.__wbg_ptr);
            return O.__wrap(t);
        }
        verify(t, e) {
            const a = h(t, _.__wbindgen_malloc), n = b;
            return p(e, gt), _.publickey_verify(this.__wbg_ptr, a, n, e.__wbg_ptr) !== 0;
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.publickey_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Et.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.publickey_as_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.publickey_to_bech32(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.publickey_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Et.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Xo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_publickeys_free(w >>> 0, 1));
    pH = class {
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Xo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_publickeys_free(t, 0);
        }
        constructor(){
            const t = _.publickeys_new();
            return this.__wbg_ptr = t >>> 0, Xo.register(this, this.__wbg_ptr, this), this;
        }
        size() {
            return _.publickeys_size(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.publickeys_get(this.__wbg_ptr, t);
            return Et.__wrap(e);
        }
        add(t) {
            p(t, Et), _.publickeys_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const Zo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_redeemer_free(w >>> 0, 1));
    st = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(st.prototype);
            return e.__wbg_ptr = t, Zo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Zo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_redeemer_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemer_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.redeemer_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return st.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemer_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.redeemer_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return st.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemer_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemer_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.redeemer_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return st.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        tag() {
            const t = _.redeemer_tag(this.__wbg_ptr);
            return ct.__wrap(t);
        }
        index() {
            const t = _.redeemer_index(this.__wbg_ptr);
            return v.__wrap(t);
        }
        data() {
            const t = _.redeemer_data(this.__wbg_ptr);
            return R.__wrap(t);
        }
        ex_units() {
            const t = _.redeemer_ex_units(this.__wbg_ptr);
            return nt.__wrap(t);
        }
        static new(t, e, a, n) {
            p(t, ct), p(e, v), p(a, R), p(n, nt);
            const r = _.redeemer_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr);
            return st.__wrap(r);
        }
    };
    const Qo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_redeemertag_free(w >>> 0, 1));
    ct = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ct.prototype);
            return e.__wbg_ptr = t, Qo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Qo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_redeemertag_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemertag_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.redeemertag_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ct.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemertag_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.redeemertag_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ct.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemertag_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemertag_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.redeemertag_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ct.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_spend() {
            const t = _.redeemertag_new_spend();
            return ct.__wrap(t);
        }
        static new_mint() {
            const t = _.redeemertag_new_mint();
            return ct.__wrap(t);
        }
        static new_cert() {
            const t = _.redeemertag_new_cert();
            return ct.__wrap(t);
        }
        static new_reward() {
            const t = _.redeemertag_new_reward();
            return ct.__wrap(t);
        }
        static new_vote() {
            const t = _.redeemertag_new_vote();
            return ct.__wrap(t);
        }
        static new_voting_proposal() {
            const t = _.redeemertag_new_voting_proposal();
            return ct.__wrap(t);
        }
        kind() {
            return _.redeemertag_kind(this.__wbg_ptr);
        }
    };
    const Ko = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_redeemers_free(w >>> 0, 1));
    Mt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Mt.prototype);
            return e.__wbg_ptr = t, Ko.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ko.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_redeemers_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemers_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.redeemers_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Mt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemers_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.redeemers_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Mt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemers_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemers_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.redeemers_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Mt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.redeemers_new();
            return Mt.__wrap(t);
        }
        len() {
            return _.redeemers_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.redeemers_get(this.__wbg_ptr, t);
            return st.__wrap(e);
        }
        add(t) {
            p(t, st), _.redeemers_add(this.__wbg_ptr, t.__wbg_ptr);
        }
        get_container_type() {
            return _.redeemers_get_container_type(this.__wbg_ptr);
        }
        total_ex_units() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.redeemers_total_ex_units(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return nt.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Uo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_relay_free(w >>> 0, 1));
    Xt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Xt.prototype);
            return e.__wbg_ptr = t, Uo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Uo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_relay_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.relay_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.relay_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Xt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.relay_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.relay_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Xt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.relay_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.relay_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.relay_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Xt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_single_host_addr(t) {
            p(t, N_);
            const e = _.relay_new_single_host_addr(t.__wbg_ptr);
            return Xt.__wrap(e);
        }
        static new_single_host_name(t) {
            p(t, V_);
            const e = _.relay_new_single_host_name(t.__wbg_ptr);
            return Xt.__wrap(e);
        }
        static new_multi_host_name(t) {
            p(t, E_);
            const e = _.relay_new_multi_host_name(t.__wbg_ptr);
            return Xt.__wrap(e);
        }
        kind() {
            return _.relay_kind(this.__wbg_ptr);
        }
        as_single_host_addr() {
            const t = _.relay_as_single_host_addr(this.__wbg_ptr);
            return t === 0 ? void 0 : N_.__wrap(t);
        }
        as_single_host_name() {
            const t = _.relay_as_single_host_name(this.__wbg_ptr);
            return t === 0 ? void 0 : V_.__wrap(t);
        }
        as_multi_host_name() {
            const t = _.relay_as_multi_host_name(this.__wbg_ptr);
            return t === 0 ? void 0 : E_.__wrap(t);
        }
    };
    const Mo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_relays_free(w >>> 0, 1));
    S_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(S_.prototype);
            return e.__wbg_ptr = t, Mo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Mo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_relays_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.relays_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.relays_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return S_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.relays_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.relays_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return S_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.relays_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.relays_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.relays_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return S_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.relays_new();
            return S_.__wrap(t);
        }
        len() {
            return _.relays_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.relays_get(this.__wbg_ptr, t);
            return Xt.__wrap(e);
        }
        add(t) {
            p(t, Xt), _.relays_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const So = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_rewardaddress_free(w >>> 0, 1));
    T = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(T.prototype);
            return e.__wbg_ptr = t, So.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, So.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_rewardaddress_free(t, 0);
        }
        static new(t, e) {
            p(e, I);
            const a = _.rewardaddress_new(t, e.__wbg_ptr);
            return T.__wrap(a);
        }
        payment_cred() {
            const t = _.rewardaddress_payment_cred(this.__wbg_ptr);
            return I.__wrap(t);
        }
        to_address() {
            const t = _.rewardaddress_to_address(this.__wbg_ptr);
            return $.__wrap(t);
        }
        static from_address(t) {
            p(t, $);
            const e = _.rewardaddress_from_address(t.__wbg_ptr);
            return e === 0 ? void 0 : T.__wrap(e);
        }
        network_id() {
            return _.rewardaddress_network_id(this.__wbg_ptr);
        }
    };
    const Wo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_rewardaddresses_free(w >>> 0, 1));
    W_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(W_.prototype);
            return e.__wbg_ptr = t, Wo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Wo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_rewardaddresses_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.rewardaddresses_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.rewardaddresses_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return W_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.rewardaddresses_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.rewardaddresses_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return W_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.rewardaddresses_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.rewardaddresses_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.rewardaddresses_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return W_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.rewardaddresses_new();
            return W_.__wrap(t);
        }
        len() {
            return _.rewardaddresses_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.rewardaddresses_get(this.__wbg_ptr, t);
            return T.__wrap(e);
        }
        add(t) {
            p(t, T), _.rewardaddresses_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const Ho = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_scriptall_free(w >>> 0, 1));
    H_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(H_.prototype);
            return e.__wbg_ptr = t, Ho.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ho.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_scriptall_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptall_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.scriptall_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return H_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptall_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptall_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return H_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptall_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptall_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptall_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return H_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        native_scripts() {
            const t = _.scriptall_native_scripts(this.__wbg_ptr);
            return Q.__wrap(t);
        }
        static new(t) {
            p(t, Q);
            const e = _.scriptall_new(t.__wbg_ptr);
            return H_.__wrap(e);
        }
    };
    const Go = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_scriptany_free(w >>> 0, 1));
    G_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(G_.prototype);
            return e.__wbg_ptr = t, Go.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Go.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_scriptany_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptany_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.scriptany_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return G_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptany_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptany_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return G_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptany_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptany_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptany_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return G_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        native_scripts() {
            const t = _.scriptany_native_scripts(this.__wbg_ptr);
            return Q.__wrap(t);
        }
        static new(t) {
            p(t, Q);
            const e = _.scriptany_new(t.__wbg_ptr);
            return G_.__wrap(e);
        }
    };
    const Do = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_scriptdatahash_free(w >>> 0, 1));
    l_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(l_.prototype);
            return e.__wbg_ptr = t, Do.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Do.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_scriptdatahash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.scriptdatahash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return l_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptdatahash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.scriptdatahash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptdatahash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return l_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptdatahash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptdatahash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return l_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Ao = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_scripthash_free(w >>> 0, 1));
    J = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(J.prototype);
            return e.__wbg_ptr = t, Ao.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ao.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_scripthash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.scripthash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return J.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scripthash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.scripthash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scripthash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return J.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.scripthash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scripthash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return J.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const To = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_scripthashes_free(w >>> 0, 1));
    D_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(D_.prototype);
            return e.__wbg_ptr = t, To.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, To.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_scripthashes_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scripthashes_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.scripthashes_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return D_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.scripthashes_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scripthashes_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return D_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.scripthashes_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scripthashes_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scripthashes_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return D_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.scripthashes_new();
            return D_.__wrap(t);
        }
        len() {
            return _.scripthashes_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.scripthashes_get(this.__wbg_ptr, t);
            return J.__wrap(e);
        }
        add(t) {
            p(t, J), _.scripthashes_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const No = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_scriptnofk_free(w >>> 0, 1));
    A_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(A_.prototype);
            return e.__wbg_ptr = t, No.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, No.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_scriptnofk_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptnofk_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.scriptnofk_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return A_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptnofk_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptnofk_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return A_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptnofk_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptnofk_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptnofk_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return A_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        n() {
            return _.scriptnofk_n(this.__wbg_ptr) >>> 0;
        }
        native_scripts() {
            const t = _.scriptnofk_native_scripts(this.__wbg_ptr);
            return Q.__wrap(t);
        }
        static new(t, e) {
            p(e, Q);
            const a = _.scriptnofk_new(t, e.__wbg_ptr);
            return A_.__wrap(a);
        }
    };
    const Vo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_scriptpubkey_free(w >>> 0, 1));
    T_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(T_.prototype);
            return e.__wbg_ptr = t, Vo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Vo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_scriptpubkey_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptpubkey_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.scriptpubkey_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return T_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptpubkey_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptpubkey_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return T_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptpubkey_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptpubkey_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptpubkey_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return T_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        addr_keyhash() {
            const t = _.scriptpubkey_addr_keyhash(this.__wbg_ptr);
            return O.__wrap(t);
        }
        static new(t) {
            p(t, O);
            const e = _.scriptpubkey_new(t.__wbg_ptr);
            return T_.__wrap(e);
        }
    };
    const Co = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_scriptref_free(w >>> 0, 1));
    It = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(It.prototype);
            return e.__wbg_ptr = t, Co.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Co.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_scriptref_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptref_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.scriptref_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return It.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptref_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptref_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return It.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptref_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptref_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.scriptref_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return It.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_native_script(t) {
            p(t, M);
            const e = _.scriptref_new_native_script(t.__wbg_ptr);
            return It.__wrap(e);
        }
        static new_plutus_script(t) {
            p(t, S);
            const e = _.scriptref_new_plutus_script(t.__wbg_ptr);
            return It.__wrap(e);
        }
        is_native_script() {
            return _.scriptref_is_native_script(this.__wbg_ptr) !== 0;
        }
        is_plutus_script() {
            return _.scriptref_is_plutus_script(this.__wbg_ptr) !== 0;
        }
        native_script() {
            const t = _.scriptref_native_script(this.__wbg_ptr);
            return t === 0 ? void 0 : M.__wrap(t);
        }
        plutus_script() {
            const t = _.scriptref_plutus_script(this.__wbg_ptr);
            return t === 0 ? void 0 : S.__wrap(t);
        }
        to_unwrapped_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.scriptref_to_unwrapped_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Po = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_singlehostaddr_free(w >>> 0, 1));
    N_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(N_.prototype);
            return e.__wbg_ptr = t, Po.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Po.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_singlehostaddr_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.singlehostaddr_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.singlehostaddr_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return N_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.singlehostaddr_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.singlehostaddr_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return N_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.singlehostaddr_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.singlehostaddr_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.singlehostaddr_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return N_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        port() {
            const t = _.singlehostaddr_port(this.__wbg_ptr);
            return t === 16777215 ? void 0 : t;
        }
        ipv4() {
            const t = _.singlehostaddr_ipv4(this.__wbg_ptr);
            return t === 0 ? void 0 : $_.__wrap(t);
        }
        ipv6() {
            const t = _.singlehostaddr_ipv6(this.__wbg_ptr);
            return t === 0 ? void 0 : L_.__wrap(t);
        }
        static new(t, e, a) {
            let n = 0;
            ht(e) || (p(e, $_), n = e.__destroy_into_raw());
            let r = 0;
            ht(a) || (p(a, L_), r = a.__destroy_into_raw());
            const d = _.singlehostaddr_new(ht(t) ? 16777215 : t, n, r);
            return N_.__wrap(d);
        }
    };
    const Bo = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_singlehostname_free(w >>> 0, 1));
    V_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(V_.prototype);
            return e.__wbg_ptr = t, Bo.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Bo.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_singlehostname_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.singlehostname_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.singlehostname_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return V_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.singlehostname_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.singlehostname_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return V_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.singlehostname_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.singlehostname_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.singlehostname_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return V_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        port() {
            const t = _.singlehostname_port(this.__wbg_ptr);
            return t === 16777215 ? void 0 : t;
        }
        dns_name() {
            const t = _.singlehostname_dns_name(this.__wbg_ptr);
            return z_.__wrap(t);
        }
        static new(t, e) {
            p(e, z_);
            const a = _.singlehostname_new(ht(t) ? 16777215 : t, e.__wbg_ptr);
            return V_.__wrap(a);
        }
    };
    const ta = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_stakeandvotedelegation_free(w >>> 0, 1));
    C_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(C_.prototype);
            return e.__wbg_ptr = t, ta.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ta.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_stakeandvotedelegation_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeandvotedelegation_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.stakeandvotedelegation_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return C_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeandvotedelegation_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakeandvotedelegation_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return C_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeandvotedelegation_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeandvotedelegation_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakeandvotedelegation_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return C_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        stake_credential() {
            const t = _.stakeandvotedelegation_stake_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        pool_keyhash() {
            const t = _.stakeandvotedelegation_pool_keyhash(this.__wbg_ptr);
            return O.__wrap(t);
        }
        drep() {
            const t = _.stakeandvotedelegation_drep(this.__wbg_ptr);
            return H.__wrap(t);
        }
        static new(t, e, a) {
            p(t, I), p(e, O), p(a, H);
            const n = _.stakeandvotedelegation_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return C_.__wrap(n);
        }
        has_script_credentials() {
            return _.stakeandvotedelegation_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const _a = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_stakedelegation_free(w >>> 0, 1));
    P_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(P_.prototype);
            return e.__wbg_ptr = t, _a.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, _a.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_stakedelegation_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakedelegation_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.stakedelegation_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return P_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakedelegation_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakedelegation_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return P_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakedelegation_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakedelegation_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakedelegation_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return P_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        stake_credential() {
            const t = _.stakedelegation_stake_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        pool_keyhash() {
            const t = _.stakedelegation_pool_keyhash(this.__wbg_ptr);
            return O.__wrap(t);
        }
        static new(t, e) {
            p(t, I), p(e, O);
            const a = _.stakedelegation_new(t.__wbg_ptr, e.__wbg_ptr);
            return P_.__wrap(a);
        }
        has_script_credentials() {
            return _.stakedelegation_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const ea = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_stakederegistration_free(w >>> 0, 1));
    xt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(xt.prototype);
            return e.__wbg_ptr = t, ea.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ea.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_stakederegistration_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakederegistration_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.stakederegistration_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return xt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakederegistration_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakederegistration_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return xt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakederegistration_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakederegistration_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakederegistration_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return xt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        stake_credential() {
            const t = _.stakederegistration_stake_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        coin() {
            const t = _.stakederegistration_coin(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        static new(t) {
            p(t, I);
            const e = _.stakederegistration_new(t.__wbg_ptr);
            return xt.__wrap(e);
        }
        static new_with_explicit_refund(t, e) {
            p(t, I), p(e, v);
            const a = _.stakederegistration_new_with_explicit_refund(t.__wbg_ptr, e.__wbg_ptr);
            return xt.__wrap(a);
        }
        has_script_credentials() {
            return _.stakederegistration_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const ra = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_stakeregistration_free(w >>> 0, 1));
    jt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(jt.prototype);
            return e.__wbg_ptr = t, ra.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ra.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_stakeregistration_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeregistration_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.stakeregistration_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return jt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeregistration_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakeregistration_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return jt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeregistration_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeregistration_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakeregistration_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return jt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        stake_credential() {
            const t = _.stakeregistration_stake_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        coin() {
            const t = _.stakeregistration_coin(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        static new(t) {
            p(t, I);
            const e = _.stakeregistration_new(t.__wbg_ptr);
            return jt.__wrap(e);
        }
        static new_with_explicit_deposit(t, e) {
            p(t, I), p(e, v);
            const a = _.stakeregistration_new_with_explicit_deposit(t.__wbg_ptr, e.__wbg_ptr);
            return jt.__wrap(a);
        }
        has_script_credentials() {
            return _.stakeregistration_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const na = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_stakeregistrationanddelegation_free(w >>> 0, 1));
    B_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(B_.prototype);
            return e.__wbg_ptr = t, na.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, na.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_stakeregistrationanddelegation_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeregistrationanddelegation_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.stakeregistrationanddelegation_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return B_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeregistrationanddelegation_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakeregistrationanddelegation_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return B_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeregistrationanddelegation_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakeregistrationanddelegation_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakeregistrationanddelegation_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return B_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        stake_credential() {
            const t = _.stakeregistrationanddelegation_stake_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        pool_keyhash() {
            const t = _.stakeregistrationanddelegation_pool_keyhash(this.__wbg_ptr);
            return O.__wrap(t);
        }
        coin() {
            const t = _.stakeregistrationanddelegation_coin(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t, e, a) {
            p(t, I), p(e, O), p(a, v);
            const n = _.stakeregistrationanddelegation_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return B_.__wrap(n);
        }
        has_script_credentials() {
            return _.stakeregistrationanddelegation_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const oa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_stakevoteregistrationanddelegation_free(w >>> 0, 1));
    te = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(te.prototype);
            return e.__wbg_ptr = t, oa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, oa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_stakevoteregistrationanddelegation_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakevoteregistrationanddelegation_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.stakevoteregistrationanddelegation_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return te.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakevoteregistrationanddelegation_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakevoteregistrationanddelegation_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return te.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakevoteregistrationanddelegation_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.stakevoteregistrationanddelegation_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.stakevoteregistrationanddelegation_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return te.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        stake_credential() {
            const t = _.stakevoteregistrationanddelegation_stake_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        pool_keyhash() {
            const t = _.stakevoteregistrationanddelegation_pool_keyhash(this.__wbg_ptr);
            return O.__wrap(t);
        }
        drep() {
            const t = _.stakevoteregistrationanddelegation_drep(this.__wbg_ptr);
            return H.__wrap(t);
        }
        coin() {
            const t = _.stakevoteregistrationanddelegation_coin(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t, e, a, n) {
            p(t, I), p(e, O), p(a, H), p(n, v);
            const r = _.stakevoteregistrationanddelegation_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr);
            return te.__wrap(r);
        }
        has_script_credentials() {
            return _.stakevoteregistrationanddelegation_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const aa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_strings_free(w >>> 0, 1));
    lr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(lr.prototype);
            return e.__wbg_ptr = t, aa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, aa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_strings_free(t, 0);
        }
        static new() {
            const t = _.strings_new();
            return lr.__wrap(t);
        }
        len() {
            return _.strings_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            let e, a;
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                _.strings_get(d, this.__wbg_ptr, t);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                return e = n, a = r, f(n, r);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        add(t) {
            const e = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), a = b;
            _.strings_add(this.__wbg_ptr, e, a);
        }
    };
    const sa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_timelockexpiry_free(w >>> 0, 1));
    __ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(__.prototype);
            return e.__wbg_ptr = t, sa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, sa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_timelockexpiry_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockexpiry_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.timelockexpiry_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return __.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockexpiry_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.timelockexpiry_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return __.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockexpiry_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockexpiry_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.timelockexpiry_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return __.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        slot() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockexpiry_slot(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t >>> 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        slot_bignum() {
            const t = _.timelockexpiry_slot_bignum(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t) {
            const e = _.timelockexpiry_new(t);
            return __.__wrap(e);
        }
        static new_timelockexpiry(t) {
            p(t, v);
            const e = _.timelockexpiry_new_timelockexpiry(t.__wbg_ptr);
            return __.__wrap(e);
        }
    };
    const ia = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_timelockstart_free(w >>> 0, 1));
    e_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(e_.prototype);
            return e.__wbg_ptr = t, ia.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ia.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_timelockstart_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockstart_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.timelockstart_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return e_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockstart_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.timelockstart_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return e_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockstart_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockstart_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.timelockstart_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return e_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        slot() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.timelockstart_slot(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t >>> 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        slot_bignum() {
            const t = _.timelockstart_slot_bignum(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t) {
            const e = _.timelockstart_new(t);
            return e_.__wrap(e);
        }
        static new_timelockstart(t) {
            p(t, v);
            const e = _.timelockstart_new_timelockstart(t.__wbg_ptr);
            return e_.__wrap(e);
        }
    };
    const da = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transaction_free(w >>> 0, 1));
    Rt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Rt.prototype);
            return e.__wbg_ptr = t, da.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, da.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Rt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Rt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transaction_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transaction_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transaction_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Rt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        body() {
            const t = _.transaction_body(this.__wbg_ptr);
            return C.__wrap(t);
        }
        witness_set() {
            const t = _.transaction_witness_set(this.__wbg_ptr);
            return ft.__wrap(t);
        }
        is_valid() {
            return _.transaction_is_valid(this.__wbg_ptr) !== 0;
        }
        auxiliary_data() {
            const t = _.transaction_auxiliary_data(this.__wbg_ptr);
            return t === 0 ? void 0 : B.__wrap(t);
        }
        set_is_valid(t) {
            _.transaction_set_is_valid(this.__wbg_ptr, t);
        }
        static new(t, e, a) {
            p(t, C), p(e, ft);
            let n = 0;
            ht(a) || (p(a, B), n = a.__destroy_into_raw());
            const r = _.transaction_new(t.__wbg_ptr, e.__wbg_ptr, n);
            return Rt.__wrap(r);
        }
    };
    const ca = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionbatch_free(w >>> 0, 1));
    vr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(vr.prototype);
            return e.__wbg_ptr = t, ca.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ca.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionbatch_free(t, 0);
        }
        len() {
            return _.transactionbatch_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.transactionbatch_get(this.__wbg_ptr, t);
            return Rt.__wrap(e);
        }
    };
    const ga = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionbatchlist_free(w >>> 0, 1));
    yr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(yr.prototype);
            return e.__wbg_ptr = t, ga.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ga.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionbatchlist_free(t, 0);
        }
        len() {
            return _.transactionbatchlist_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.transactionbatchlist_get(this.__wbg_ptr, t);
            return vr.__wrap(e);
        }
    };
    const pa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionbodies_free(w >>> 0, 1));
    _e = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(_e.prototype);
            return e.__wbg_ptr = t, pa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, pa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionbodies_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbodies_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionbodies_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return _e.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbodies_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionbodies_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return _e.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbodies_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbodies_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionbodies_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return _e.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.transactionbodies_new();
            return _e.__wrap(t);
        }
        len() {
            return _.transactionbodies_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.transactionbodies_get(this.__wbg_ptr, t);
            return C.__wrap(e);
        }
        add(t) {
            p(t, C), _.transactionbodies_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const wa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionbody_free(w >>> 0, 1));
    C = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(C.prototype);
            return e.__wbg_ptr = t, wa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, wa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionbody_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbody_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionbody_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return C.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbody_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionbody_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return C.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbody_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbody_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionbody_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return C.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        inputs() {
            const t = _.transactionbody_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        outputs() {
            const t = _.transactionbody_outputs(this.__wbg_ptr);
            return w_.__wrap(t);
        }
        fee() {
            const t = _.transactionbody_fee(this.__wbg_ptr);
            return v.__wrap(t);
        }
        ttl() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbody_ttl(n, this.__wbg_ptr);
                var t = o().getFloat64(n + 0, !0), e = o().getInt32(n + 8, !0), a = o().getInt32(n + 12, !0);
                if (a) throw c(e);
                return t === 4294967297 ? void 0 : t;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        ttl_bignum() {
            const t = _.transactionbody_ttl_bignum(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_ttl(t) {
            p(t, v), _.transactionbody_set_ttl(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_ttl() {
            _.transactionbody_remove_ttl(this.__wbg_ptr);
        }
        set_certs(t) {
            p(t, Kt), _.transactionbody_set_certs(this.__wbg_ptr, t.__wbg_ptr);
        }
        certs() {
            const t = _.transactionbody_certs(this.__wbg_ptr);
            return t === 0 ? void 0 : Kt.__wrap(t);
        }
        set_withdrawals(t) {
            p(t, St), _.transactionbody_set_withdrawals(this.__wbg_ptr, t.__wbg_ptr);
        }
        withdrawals() {
            const t = _.transactionbody_withdrawals(this.__wbg_ptr);
            return t === 0 ? void 0 : St.__wrap(t);
        }
        set_update(t) {
            p(t, ee), _.transactionbody_set_update(this.__wbg_ptr, t.__wbg_ptr);
        }
        update() {
            const t = _.transactionbody_update(this.__wbg_ptr);
            return t === 0 ? void 0 : ee.__wrap(t);
        }
        set_auxiliary_data_hash(t) {
            p(t, ae), _.transactionbody_set_auxiliary_data_hash(this.__wbg_ptr, t.__wbg_ptr);
        }
        auxiliary_data_hash() {
            const t = _.transactionbody_auxiliary_data_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : ae.__wrap(t);
        }
        set_validity_start_interval(t) {
            _.transactionbody_set_validity_start_interval(this.__wbg_ptr, t);
        }
        set_validity_start_interval_bignum(t) {
            p(t, v), _.transactionbody_set_validity_start_interval_bignum(this.__wbg_ptr, t.__wbg_ptr);
        }
        validity_start_interval_bignum() {
            const t = _.transactionbody_validity_start_interval_bignum(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        validity_start_interval() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbody_validity_start_interval(n, this.__wbg_ptr);
                var t = o().getFloat64(n + 0, !0), e = o().getInt32(n + 8, !0), a = o().getInt32(n + 12, !0);
                if (a) throw c(e);
                return t === 4294967297 ? void 0 : t;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_mint(t) {
            p(t, wt), _.transactionbody_set_mint(this.__wbg_ptr, t.__wbg_ptr);
        }
        mint() {
            const t = _.transactionbody_mint(this.__wbg_ptr);
            return t === 0 ? void 0 : wt.__wrap(t);
        }
        set_reference_inputs(t) {
            p(t, U), _.transactionbody_set_reference_inputs(this.__wbg_ptr, t.__wbg_ptr);
        }
        reference_inputs() {
            const t = _.transactionbody_reference_inputs(this.__wbg_ptr);
            return t === 0 ? void 0 : U.__wrap(t);
        }
        set_script_data_hash(t) {
            p(t, l_), _.transactionbody_set_script_data_hash(this.__wbg_ptr, t.__wbg_ptr);
        }
        script_data_hash() {
            const t = _.transactionbody_script_data_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : l_.__wrap(t);
        }
        set_collateral(t) {
            p(t, U), _.transactionbody_set_collateral(this.__wbg_ptr, t.__wbg_ptr);
        }
        collateral() {
            const t = _.transactionbody_collateral(this.__wbg_ptr);
            return t === 0 ? void 0 : U.__wrap(t);
        }
        set_required_signers(t) {
            p(t, P), _.transactionbody_set_required_signers(this.__wbg_ptr, t.__wbg_ptr);
        }
        required_signers() {
            const t = _.transactionbody_required_signers(this.__wbg_ptr);
            return t === 0 ? void 0 : P.__wrap(t);
        }
        set_network_id(t) {
            p(t, Pt), _.transactionbody_set_network_id(this.__wbg_ptr, t.__wbg_ptr);
        }
        network_id() {
            const t = _.transactionbody_network_id(this.__wbg_ptr);
            return t === 0 ? void 0 : Pt.__wrap(t);
        }
        set_collateral_return(t) {
            p(t, D), _.transactionbody_set_collateral_return(this.__wbg_ptr, t.__wbg_ptr);
        }
        collateral_return() {
            const t = _.transactionbody_collateral_return(this.__wbg_ptr);
            return t === 0 ? void 0 : D.__wrap(t);
        }
        set_total_collateral(t) {
            p(t, v), _.transactionbody_set_total_collateral(this.__wbg_ptr, t.__wbg_ptr);
        }
        total_collateral() {
            const t = _.transactionbody_total_collateral(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_voting_procedures(t) {
            p(t, b_), _.transactionbody_set_voting_procedures(this.__wbg_ptr, t.__wbg_ptr);
        }
        voting_procedures() {
            const t = _.transactionbody_voting_procedures(this.__wbg_ptr);
            return t === 0 ? void 0 : b_.__wrap(t);
        }
        set_voting_proposals(t) {
            p(t, Qt), _.transactionbody_set_voting_proposals(this.__wbg_ptr, t.__wbg_ptr);
        }
        voting_proposals() {
            const t = _.transactionbody_voting_proposals(this.__wbg_ptr);
            return t === 0 ? void 0 : Qt.__wrap(t);
        }
        set_donation(t) {
            p(t, v), _.transactionbody_set_donation(this.__wbg_ptr, t.__wbg_ptr);
        }
        donation() {
            const t = _.transactionbody_donation(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_current_treasury_value(t) {
            p(t, v), _.transactionbody_set_current_treasury_value(this.__wbg_ptr, t.__wbg_ptr);
        }
        current_treasury_value() {
            const t = _.transactionbody_current_treasury_value(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        static new(t, e, a, n) {
            p(t, U), p(e, w_), p(a, v);
            const r = _.transactionbody_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, ht(n) ? 4294967297 : n >>> 0);
            return C.__wrap(r);
        }
        static new_tx_body(t, e, a) {
            p(t, U), p(e, w_), p(a, v);
            const n = _.transactionbody_new_tx_body(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return C.__wrap(n);
        }
    };
    const ua = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionbuilder_free(w >>> 0, 1));
    fr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(fr.prototype);
            return e.__wbg_ptr = t, ua.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ua.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionbuilder_free(t, 0);
        }
        add_inputs_from(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, de), _.transactionbuilder_add_inputs_from(r, this.__wbg_ptr, t.__wbg_ptr, e);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_inputs(t) {
            p(t, Ve), _.transactionbuilder_set_inputs(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_collateral(t) {
            p(t, Ve), _.transactionbuilder_set_collateral(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_collateral_return(t) {
            p(t, D), _.transactionbuilder_set_collateral_return(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_collateral_return() {
            _.transactionbuilder_remove_collateral_return(this.__wbg_ptr);
        }
        set_collateral_return_and_total(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, D), _.transactionbuilder_set_collateral_return_and_total(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_total_collateral(t) {
            p(t, v), _.transactionbuilder_set_total_collateral(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_total_collateral() {
            _.transactionbuilder_remove_total_collateral(this.__wbg_ptr);
        }
        set_total_collateral_and_return(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v), p(e, $), _.transactionbuilder_set_total_collateral_and_return(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_reference_input(t) {
            p(t, X), _.transactionbuilder_add_reference_input(this.__wbg_ptr, t.__wbg_ptr);
        }
        add_script_reference_input(t, e) {
            p(t, X), _.transactionbuilder_add_script_reference_input(this.__wbg_ptr, t.__wbg_ptr, e);
        }
        add_key_input(t, e, a) {
            p(t, O), p(e, X), p(a, F), _.transactionbuilder_add_key_input(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        add_native_script_input(t, e, a) {
            p(t, M), p(e, X), p(a, F), _.transactionbuilder_add_native_script_input(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        add_plutus_script_input(t, e, a) {
            p(t, tt), p(e, X), p(a, F), _.transactionbuilder_add_plutus_script_input(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        add_bootstrap_input(t, e, a) {
            p(t, lt), p(e, X), p(a, F), _.transactionbuilder_add_bootstrap_input(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        add_regular_input(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, $), p(e, X), p(a, F), _.transactionbuilder_add_regular_input(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_inputs_from_and_change(t, e, a) {
            try {
                const i = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, de), p(a, x_), _.transactionbuilder_add_inputs_from_and_change(i, this.__wbg_ptr, t.__wbg_ptr, e, a.__wbg_ptr);
                var n = o().getInt32(i + 0, !0), r = o().getInt32(i + 4, !0), d = o().getInt32(i + 8, !0);
                if (d) throw c(r);
                return n !== 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_inputs_from_and_change_with_collateral_return(t, e, a, n) {
            try {
                const i = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, de), p(a, x_), p(n, v), _.transactionbuilder_add_inputs_from_and_change_with_collateral_return(i, this.__wbg_ptr, t.__wbg_ptr, e, a.__wbg_ptr, n.__wbg_ptr);
                var r = o().getInt32(i + 0, !0), d = o().getInt32(i + 4, !0);
                if (d) throw c(r);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_native_input_scripts() {
            const t = _.transactionbuilder_get_native_input_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Q.__wrap(t);
        }
        get_plutus_input_scripts() {
            const t = _.transactionbuilder_get_plutus_input_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Gt.__wrap(t);
        }
        fee_for_input(t, e, a) {
            try {
                const i = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, $), p(e, X), p(a, F), _.transactionbuilder_fee_for_input(i, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(i + 0, !0), r = o().getInt32(i + 4, !0), d = o().getInt32(i + 8, !0);
                if (d) throw c(r);
                return v.__wrap(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_output(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, D), _.transactionbuilder_add_output(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        fee_for_output(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, D), _.transactionbuilder_fee_for_output(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return v.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_fee(t) {
            p(t, v), _.transactionbuilder_set_fee(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_min_fee(t) {
            p(t, v), _.transactionbuilder_set_min_fee(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_ttl(t) {
            _.transactionbuilder_set_ttl(this.__wbg_ptr, t);
        }
        set_ttl_bignum(t) {
            p(t, v), _.transactionbuilder_set_ttl_bignum(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_ttl() {
            _.transactionbuilder_remove_ttl(this.__wbg_ptr);
        }
        set_validity_start_interval(t) {
            _.transactionbuilder_set_validity_start_interval(this.__wbg_ptr, t);
        }
        set_validity_start_interval_bignum(t) {
            p(t, v), _.transactionbuilder_set_validity_start_interval_bignum(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_validity_start_interval() {
            _.transactionbuilder_remove_validity_start_interval(this.__wbg_ptr);
        }
        set_certs(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Kt), _.transactionbuilder_set_certs(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        remove_certs() {
            _.transactionbuilder_remove_certs(this.__wbg_ptr);
        }
        set_certs_builder(t) {
            p(t, ar), _.transactionbuilder_set_certs_builder(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_withdrawals(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, St), _.transactionbuilder_set_withdrawals(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_withdrawals_builder(t) {
            p(t, cr), _.transactionbuilder_set_withdrawals_builder(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_voting_builder(t) {
            p(t, ir), _.transactionbuilder_set_voting_builder(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_voting_proposal_builder(t) {
            p(t, dr), _.transactionbuilder_set_voting_proposal_builder(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_withdrawals() {
            _.transactionbuilder_remove_withdrawals(this.__wbg_ptr);
        }
        get_auxiliary_data() {
            const t = _.transactionbuilder_get_auxiliary_data(this.__wbg_ptr);
            return t === 0 ? void 0 : B.__wrap(t);
        }
        set_auxiliary_data(t) {
            p(t, B), _.transactionbuilder_set_auxiliary_data(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_auxiliary_data() {
            _.transactionbuilder_remove_auxiliary_data(this.__wbg_ptr);
        }
        set_metadata(t) {
            p(t, d_), _.transactionbuilder_set_metadata(this.__wbg_ptr, t.__wbg_ptr);
        }
        add_metadatum(t, e) {
            p(t, v), p(e, L), _.transactionbuilder_add_metadatum(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
        }
        add_json_metadatum(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v);
                const d = l(e, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionbuilder_add_json_metadatum(r, this.__wbg_ptr, t.__wbg_ptr, d, i);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_json_metadatum_with_schema(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v);
                const i = l(e, _.__wbindgen_malloc, _.__wbindgen_realloc), u = b;
                _.transactionbuilder_add_json_metadatum_with_schema(d, this.__wbg_ptr, t.__wbg_ptr, i, u, a);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_mint_builder(t) {
            p(t, Ne), _.transactionbuilder_set_mint_builder(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_mint_builder() {
            _.transactionbuilder_remove_mint_builder(this.__wbg_ptr);
        }
        get_mint_builder() {
            const t = _.transactionbuilder_get_mint_builder(this.__wbg_ptr);
            return t === 0 ? void 0 : Ne.__wrap(t);
        }
        set_mint(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, wt), p(e, Q), _.transactionbuilder_set_mint(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_mint() {
            const t = _.transactionbuilder_get_mint(this.__wbg_ptr);
            return t === 0 ? void 0 : wt.__wrap(t);
        }
        get_mint_scripts() {
            const t = _.transactionbuilder_get_mint_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Q.__wrap(t);
        }
        set_mint_asset(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, M), p(e, Wt), _.transactionbuilder_set_mint_asset(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_mint_asset(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, M), p(e, W), p(a, E), _.transactionbuilder_add_mint_asset(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_mint_asset_and_output(t, e, a, n, r) {
            try {
                const u = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, M), p(e, W), p(a, E), p(n, p_), p(r, v), _.transactionbuilder_add_mint_asset_and_output(u, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr, r.__wbg_ptr);
                var d = o().getInt32(u + 0, !0), i = o().getInt32(u + 4, !0);
                if (i) throw c(d);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_mint_asset_and_output_min_required_coin(t, e, a, n) {
            try {
                const i = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, M), p(e, W), p(a, E), p(n, p_), _.transactionbuilder_add_mint_asset_and_output_min_required_coin(i, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr);
                var r = o().getInt32(i + 0, !0), d = o().getInt32(i + 4, !0);
                if (d) throw c(r);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_extra_witness_datum(t) {
            p(t, R), _.transactionbuilder_add_extra_witness_datum(this.__wbg_ptr, t.__wbg_ptr);
        }
        get_extra_witness_datums() {
            const t = _.transactionbuilder_get_extra_witness_datums(this.__wbg_ptr);
            return t === 0 ? void 0 : it.__wrap(t);
        }
        set_donation(t) {
            p(t, v), _.transactionbuilder_set_donation(this.__wbg_ptr, t.__wbg_ptr);
        }
        get_donation() {
            const t = _.transactionbuilder_get_donation(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        set_current_treasury_value(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, v), _.transactionbuilder_set_current_treasury_value(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_current_treasury_value() {
            const t = _.transactionbuilder_get_current_treasury_value(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        static new(t) {
            p(t, Ce);
            const e = _.transactionbuilder_new(t.__wbg_ptr);
            return fr.__wrap(e);
        }
        get_reference_inputs() {
            const t = _.transactionbuilder_get_reference_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        get_explicit_input() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_get_explicit_input(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return F.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_implicit_input() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_get_implicit_input(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return F.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_total_input() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_get_total_input(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return F.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_total_output() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_get_total_output(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return F.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_explicit_output() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_get_explicit_output(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return F.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_deposit() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_get_deposit(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return v.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_fee_if_set() {
            const t = _.transactionbuilder_get_fee_if_set(this.__wbg_ptr);
            return t === 0 ? void 0 : v.__wrap(t);
        }
        add_change_if_needed(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, $), _.transactionbuilder_add_change_if_needed(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return e !== 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_change_if_needed_with_datum(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, $), p(e, Le), _.transactionbuilder_add_change_if_needed_with_datum(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return a !== 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        calc_script_data_hash(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, kt), _.transactionbuilder_calc_script_data_hash(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_script_data_hash(t) {
            p(t, l_), _.transactionbuilder_set_script_data_hash(this.__wbg_ptr, t.__wbg_ptr);
        }
        remove_script_data_hash() {
            _.transactionbuilder_remove_script_data_hash(this.__wbg_ptr);
        }
        add_required_signer(t) {
            p(t, O), _.transactionbuilder_add_required_signer(this.__wbg_ptr, t.__wbg_ptr);
        }
        full_size() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_full_size(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return t >>> 0;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        output_sizes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_output_sizes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = gr(t, e).slice();
                return _.__wbindgen_free(t, e * 4, 4), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        build() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_build(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return C.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        build_tx() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_build_tx(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return Rt.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        build_tx_unsafe() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_build_tx_unsafe(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return Rt.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        min_fee() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilder_min_fee(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return v.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const ba = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionbuilderconfig_free(w >>> 0, 1));
    Ce = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ce.prototype);
            return e.__wbg_ptr = t, ba.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ba.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionbuilderconfig_free(t, 0);
        }
    };
    const la = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionbuilderconfigbuilder_free(w >>> 0, 1));
    et = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(et.prototype);
            return e.__wbg_ptr = t, la.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, la.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionbuilderconfigbuilder_free(t, 0);
        }
        static new() {
            const t = _.transactionbuilderconfigbuilder_new();
            return et.__wrap(t);
        }
        fee_algo(t) {
            p(t, Te);
            const e = _.transactionbuilderconfigbuilder_fee_algo(this.__wbg_ptr, t.__wbg_ptr);
            return et.__wrap(e);
        }
        coins_per_utxo_byte(t) {
            p(t, v);
            const e = _.transactionbuilderconfigbuilder_coins_per_utxo_byte(this.__wbg_ptr, t.__wbg_ptr);
            return et.__wrap(e);
        }
        ex_unit_prices(t) {
            p(t, Ft);
            const e = _.transactionbuilderconfigbuilder_ex_unit_prices(this.__wbg_ptr, t.__wbg_ptr);
            return et.__wrap(e);
        }
        pool_deposit(t) {
            p(t, v);
            const e = _.transactionbuilderconfigbuilder_pool_deposit(this.__wbg_ptr, t.__wbg_ptr);
            return et.__wrap(e);
        }
        key_deposit(t) {
            p(t, v);
            const e = _.transactionbuilderconfigbuilder_key_deposit(this.__wbg_ptr, t.__wbg_ptr);
            return et.__wrap(e);
        }
        max_value_size(t) {
            const e = _.transactionbuilderconfigbuilder_max_value_size(this.__wbg_ptr, t);
            return et.__wrap(e);
        }
        max_tx_size(t) {
            const e = _.transactionbuilderconfigbuilder_max_tx_size(this.__wbg_ptr, t);
            return et.__wrap(e);
        }
        ref_script_coins_per_byte(t) {
            p(t, k);
            const e = _.transactionbuilderconfigbuilder_ref_script_coins_per_byte(this.__wbg_ptr, t.__wbg_ptr);
            return et.__wrap(e);
        }
        prefer_pure_change(t) {
            const e = _.transactionbuilderconfigbuilder_prefer_pure_change(this.__wbg_ptr, t);
            return et.__wrap(e);
        }
        deduplicate_explicit_ref_inputs_with_regular_inputs(t) {
            const e = _.transactionbuilderconfigbuilder_deduplicate_explicit_ref_inputs_with_regular_inputs(this.__wbg_ptr, t);
            return et.__wrap(e);
        }
        do_not_burn_extra_change(t) {
            const e = _.transactionbuilderconfigbuilder_do_not_burn_extra_change(this.__wbg_ptr, t);
            return et.__wrap(e);
        }
        build() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionbuilderconfigbuilder_build(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return Ce.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const fa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionhash_free(w >>> 0, 1));
    dt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(dt.prototype);
            return e.__wbg_ptr = t, fa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, fa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionhash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionhash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return dt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionhash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.transactionhash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionhash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return dt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionhash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionhash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return dt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const ha = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactioninput_free(w >>> 0, 1));
    X = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(X.prototype);
            return e.__wbg_ptr = t, ha.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ha.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactioninput_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactioninput_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactioninput_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return X.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactioninput_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactioninput_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return X.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactioninput_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactioninput_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactioninput_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return X.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        transaction_id() {
            const t = _.transactioninput_transaction_id(this.__wbg_ptr);
            return dt.__wrap(t);
        }
        index() {
            return _.transactioninput_index(this.__wbg_ptr) >>> 0;
        }
        static new(t, e) {
            p(t, dt);
            const a = _.transactioninput_new(t.__wbg_ptr, e);
            return X.__wrap(a);
        }
    };
    const va = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactioninputs_free(w >>> 0, 1));
    U = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(U.prototype);
            return e.__wbg_ptr = t, va.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, va.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactioninputs_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactioninputs_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactioninputs_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return U.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactioninputs_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactioninputs_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return U.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactioninputs_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactioninputs_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactioninputs_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return U.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.transactioninputs_new();
            return U.__wrap(t);
        }
        len() {
            return _.transactioninputs_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.transactioninputs_get(this.__wbg_ptr, t);
            return X.__wrap(e);
        }
        add(t) {
            return p(t, X), _.transactioninputs_add(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
        to_option() {
            const t = _.transactioninputs_to_option(this.__wbg_ptr);
            return t === 0 ? void 0 : U.__wrap(t);
        }
    };
    const ya = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionmetadatum_free(w >>> 0, 1));
    L = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(L.prototype);
            return e.__wbg_ptr = t, ya.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ya.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionmetadatum_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatum_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionmetadatum_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatum_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionmetadatum_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_map(t) {
            p(t, he);
            const e = _.transactionmetadatum_new_map(t.__wbg_ptr);
            return L.__wrap(e);
        }
        static new_list(t) {
            p(t, se);
            const e = _.transactionmetadatum_new_list(t.__wbg_ptr);
            return L.__wrap(e);
        }
        static new_int(t) {
            p(t, E);
            const e = _.transactionmetadatum_new_int(t.__wbg_ptr);
            return L.__wrap(e);
        }
        static new_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionmetadatum_new_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_text(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionmetadatum_new_text(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return L.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        kind() {
            return _.transactionmetadatum_kind(this.__wbg_ptr);
        }
        as_map() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatum_as_map(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return he.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_list() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatum_as_list(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return se.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_int() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatum_as_int(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return E.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_bytes() {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatum_as_bytes(d, this.__wbg_ptr);
                var t = o().getInt32(d + 0, !0), e = o().getInt32(d + 4, !0), a = o().getInt32(d + 8, !0), n = o().getInt32(d + 12, !0);
                if (n) throw c(a);
                var r = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), r;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        as_text() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatum_as_text(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
    };
    const ma = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionmetadatumlabels_free(w >>> 0, 1));
    Fe = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Fe.prototype);
            return e.__wbg_ptr = t, ma.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ma.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionmetadatumlabels_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatumlabels_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionmetadatumlabels_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Fe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionmetadatumlabels_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionmetadatumlabels_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Fe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.transactionmetadatumlabels_new();
            return Fe.__wrap(t);
        }
        len() {
            return _.transactionmetadatumlabels_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.transactionmetadatumlabels_get(this.__wbg_ptr, t);
            return v.__wrap(e);
        }
        add(t) {
            p(t, v), _.transactionmetadatumlabels_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const ka = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionoutput_free(w >>> 0, 1));
    D = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(D.prototype);
            return e.__wbg_ptr = t, ka.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ka.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionoutput_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutput_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionoutput_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return D.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutput_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionoutput_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return D.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutput_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutput_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionoutput_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return D.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        address() {
            const t = _.transactionoutput_address(this.__wbg_ptr);
            return $.__wrap(t);
        }
        amount() {
            const t = _.transactionoutput_amount(this.__wbg_ptr);
            return F.__wrap(t);
        }
        data_hash() {
            const t = _.transactionoutput_data_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : Yt.__wrap(t);
        }
        plutus_data() {
            const t = _.transactionoutput_plutus_data(this.__wbg_ptr);
            return t === 0 ? void 0 : R.__wrap(t);
        }
        script_ref() {
            const t = _.transactionoutput_script_ref(this.__wbg_ptr);
            return t === 0 ? void 0 : It.__wrap(t);
        }
        set_script_ref(t) {
            p(t, It), _.transactionoutput_set_script_ref(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_plutus_data(t) {
            p(t, R), _.transactionoutput_set_plutus_data(this.__wbg_ptr, t.__wbg_ptr);
        }
        set_data_hash(t) {
            p(t, Yt), _.transactionoutput_set_data_hash(this.__wbg_ptr, t.__wbg_ptr);
        }
        has_plutus_data() {
            return _.transactionoutput_has_plutus_data(this.__wbg_ptr) !== 0;
        }
        has_data_hash() {
            return _.transactionoutput_has_data_hash(this.__wbg_ptr) !== 0;
        }
        has_script_ref() {
            return _.transactionoutput_has_script_ref(this.__wbg_ptr) !== 0;
        }
        static new(t, e) {
            p(t, $), p(e, F);
            const a = _.transactionoutput_new(t.__wbg_ptr, e.__wbg_ptr);
            return D.__wrap(a);
        }
        serialization_format() {
            const t = _.transactionoutput_serialization_format(this.__wbg_ptr);
            return t === 2 ? void 0 : t;
        }
    };
    const Ia = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionoutputamountbuilder_free(w >>> 0, 1));
    p_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(p_.prototype);
            return e.__wbg_ptr = t, Ia.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ia.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionoutputamountbuilder_free(t, 0);
        }
        with_value(t) {
            p(t, F);
            const e = _.transactionoutputamountbuilder_with_value(this.__wbg_ptr, t.__wbg_ptr);
            return p_.__wrap(e);
        }
        with_coin(t) {
            p(t, v);
            const e = _.transactionoutputamountbuilder_with_coin(this.__wbg_ptr, t.__wbg_ptr);
            return p_.__wrap(e);
        }
        with_coin_and_asset(t, e) {
            p(t, v), p(e, N);
            const a = _.transactionoutputamountbuilder_with_coin_and_asset(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return p_.__wrap(a);
        }
        with_asset_and_min_required_coin_by_utxo_cost(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, N), p(e, He), _.transactionoutputamountbuilder_with_asset_and_min_required_coin_by_utxo_cost(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return p_.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        build() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutputamountbuilder_build(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return D.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const xa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionoutputbuilder_free(w >>> 0, 1));
    ge = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ge.prototype);
            return e.__wbg_ptr = t, xa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, xa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionoutputbuilder_free(t, 0);
        }
        static new() {
            const t = _.transactionoutputbuilder_new();
            return ge.__wrap(t);
        }
        with_address(t) {
            p(t, $);
            const e = _.transactionoutputbuilder_with_address(this.__wbg_ptr, t.__wbg_ptr);
            return ge.__wrap(e);
        }
        with_data_hash(t) {
            p(t, Yt);
            const e = _.transactionoutputbuilder_with_data_hash(this.__wbg_ptr, t.__wbg_ptr);
            return ge.__wrap(e);
        }
        with_plutus_data(t) {
            p(t, R);
            const e = _.transactionoutputbuilder_with_plutus_data(this.__wbg_ptr, t.__wbg_ptr);
            return ge.__wrap(e);
        }
        with_script_ref(t) {
            p(t, It);
            const e = _.transactionoutputbuilder_with_script_ref(this.__wbg_ptr, t.__wbg_ptr);
            return ge.__wrap(e);
        }
        next() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutputbuilder_next(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return p_.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const ja = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionoutputs_free(w >>> 0, 1));
    w_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(w_.prototype);
            return e.__wbg_ptr = t, ja.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ja.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionoutputs_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutputs_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionoutputs_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return w_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutputs_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionoutputs_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return w_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutputs_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionoutputs_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionoutputs_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return w_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.transactionoutputs_new();
            return w_.__wrap(t);
        }
        len() {
            return _.transactionoutputs_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.transactionoutputs_get(this.__wbg_ptr, t);
            return D.__wrap(e);
        }
        add(t) {
            p(t, D), _.transactionoutputs_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const za = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionunspentoutput_free(w >>> 0, 1));
    Ot = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ot.prototype);
            return e.__wbg_ptr = t, za.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, za.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionunspentoutput_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionunspentoutput_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionunspentoutput_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ot.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionunspentoutput_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionunspentoutput_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ot.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionunspentoutput_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionunspentoutput_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionunspentoutput_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Ot.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e) {
            p(t, X), p(e, D);
            const a = _.transactionunspentoutput_new(t.__wbg_ptr, e.__wbg_ptr);
            return Ot.__wrap(a);
        }
        input() {
            const t = _.transactionunspentoutput_input(this.__wbg_ptr);
            return X.__wrap(t);
        }
        output() {
            const t = _.transactionunspentoutput_output(this.__wbg_ptr);
            return D.__wrap(t);
        }
    };
    const Fa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionunspentoutputs_free(w >>> 0, 1));
    de = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(de.prototype);
            return e.__wbg_ptr = t, Fa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Fa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionunspentoutputs_free(t, 0);
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionunspentoutputs_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionunspentoutputs_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionunspentoutputs_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return de.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.transactionunspentoutputs_new();
            return de.__wrap(t);
        }
        len() {
            return _.transactionunspentoutputs_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.transactionunspentoutputs_get(this.__wbg_ptr, t);
            return Ot.__wrap(e);
        }
        add(t) {
            p(t, Ot), _.transactionunspentoutputs_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const Ra = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionwitnessset_free(w >>> 0, 1));
    ft = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ft.prototype);
            return e.__wbg_ptr = t, Ra.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ra.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionwitnessset_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionwitnessset_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionwitnessset_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ft.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionwitnessset_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionwitnessset_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ft.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionwitnessset_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionwitnessset_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionwitnessset_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ft.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        set_vkeys(t) {
            p(t, re), _.transactionwitnessset_set_vkeys(this.__wbg_ptr, t.__wbg_ptr);
        }
        vkeys() {
            const t = _.transactionwitnessset_vkeys(this.__wbg_ptr);
            return t === 0 ? void 0 : re.__wrap(t);
        }
        set_native_scripts(t) {
            p(t, Q), _.transactionwitnessset_set_native_scripts(this.__wbg_ptr, t.__wbg_ptr);
        }
        native_scripts() {
            const t = _.transactionwitnessset_native_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Q.__wrap(t);
        }
        set_bootstraps(t) {
            p(t, I_), _.transactionwitnessset_set_bootstraps(this.__wbg_ptr, t.__wbg_ptr);
        }
        bootstraps() {
            const t = _.transactionwitnessset_bootstraps(this.__wbg_ptr);
            return t === 0 ? void 0 : I_.__wrap(t);
        }
        set_plutus_scripts(t) {
            p(t, Ut), _.transactionwitnessset_set_plutus_scripts(this.__wbg_ptr, t.__wbg_ptr);
        }
        plutus_scripts() {
            const t = _.transactionwitnessset_plutus_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Ut.__wrap(t);
        }
        set_plutus_data(t) {
            p(t, it), _.transactionwitnessset_set_plutus_data(this.__wbg_ptr, t.__wbg_ptr);
        }
        plutus_data() {
            const t = _.transactionwitnessset_plutus_data(this.__wbg_ptr);
            return t === 0 ? void 0 : it.__wrap(t);
        }
        set_redeemers(t) {
            p(t, Mt), _.transactionwitnessset_set_redeemers(this.__wbg_ptr, t.__wbg_ptr);
        }
        redeemers() {
            const t = _.transactionwitnessset_redeemers(this.__wbg_ptr);
            return t === 0 ? void 0 : Mt.__wrap(t);
        }
        static new() {
            const t = _.transactionwitnessset_new();
            return ft.__wrap(t);
        }
    };
    const Oa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_transactionwitnesssets_free(w >>> 0, 1));
    u_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(u_.prototype);
            return e.__wbg_ptr = t, Oa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Oa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_transactionwitnesssets_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionwitnesssets_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.transactionwitnesssets_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return u_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionwitnesssets_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionwitnesssets_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return u_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionwitnesssets_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.transactionwitnesssets_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.transactionwitnesssets_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return u_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.transactionwitnesssets_new();
            return u_.__wrap(t);
        }
        len() {
            return _.transactionwitnesssets_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.transactionwitnesssets_get(this.__wbg_ptr, t);
            return ft.__wrap(e);
        }
        add(t) {
            p(t, ft), _.transactionwitnesssets_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const qa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_treasurywithdrawals_free(w >>> 0, 1));
    ke = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ke.prototype);
            return e.__wbg_ptr = t, qa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, qa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_treasurywithdrawals_free(t, 0);
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.treasurywithdrawals_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.treasurywithdrawals_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.treasurywithdrawals_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ke.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.treasurywithdrawals_new();
            return ke.__wrap(t);
        }
        get(t) {
            p(t, T);
            const e = _.treasurywithdrawals_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : v.__wrap(e);
        }
        insert(t, e) {
            p(t, T), p(e, v), _.treasurywithdrawals_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
        }
        keys() {
            const t = _.treasurywithdrawals_keys(this.__wbg_ptr);
            return W_.__wrap(t);
        }
        len() {
            return _.treasurywithdrawals_len(this.__wbg_ptr) >>> 0;
        }
    };
    const $a = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_treasurywithdrawalsaction_free(w >>> 0, 1));
    r_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(r_.prototype);
            return e.__wbg_ptr = t, $a.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, $a.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_treasurywithdrawalsaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.treasurywithdrawalsaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.treasurywithdrawalsaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return r_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.treasurywithdrawalsaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.treasurywithdrawalsaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return r_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.treasurywithdrawalsaction_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.treasurywithdrawalsaction_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.treasurywithdrawalsaction_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return r_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        withdrawals() {
            const t = _.treasurywithdrawalsaction_withdrawals(this.__wbg_ptr);
            return ke.__wrap(t);
        }
        policy_hash() {
            const t = _.treasurywithdrawalsaction_policy_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : J.__wrap(t);
        }
        static new(t) {
            p(t, ke);
            const e = _.treasurywithdrawalsaction_new(t.__wbg_ptr);
            return r_.__wrap(e);
        }
        static new_with_policy_hash(t, e) {
            p(t, ke), p(e, J);
            const a = _.treasurywithdrawalsaction_new_with_policy_hash(t.__wbg_ptr, e.__wbg_ptr);
            return r_.__wrap(a);
        }
    };
    const La = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_txinputsbuilder_free(w >>> 0, 1));
    Ve = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Ve.prototype);
            return e.__wbg_ptr = t, La.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, La.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_txinputsbuilder_free(t, 0);
        }
        static new() {
            const t = _.txinputsbuilder_new();
            return Ve.__wrap(t);
        }
        add_regular_utxo(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Ot), _.txinputsbuilder_add_regular_utxo(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_plutus_script_utxo(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Ot), p(e, tt), _.txinputsbuilder_add_plutus_script_utxo(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_native_script_utxo(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Ot), p(e, Ht), _.txinputsbuilder_add_native_script_utxo(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_key_input(t, e, a) {
            p(t, O), p(e, X), p(a, F), _.txinputsbuilder_add_key_input(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        add_native_script_input(t, e, a) {
            p(t, Ht), p(e, X), p(a, F), _.txinputsbuilder_add_native_script_input(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        add_plutus_script_input(t, e, a) {
            p(t, tt), p(e, X), p(a, F), _.txinputsbuilder_add_plutus_script_input(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        add_bootstrap_input(t, e, a) {
            p(t, lt), p(e, X), p(a, F), _.txinputsbuilder_add_bootstrap_input(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        add_regular_input(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, $), p(e, X), p(a, F), _.txinputsbuilder_add_regular_input(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_ref_inputs() {
            const t = _.txinputsbuilder_get_ref_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        get_native_input_scripts() {
            const t = _.txinputsbuilder_get_native_input_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Q.__wrap(t);
        }
        get_plutus_input_scripts() {
            const t = _.txinputsbuilder_get_plutus_input_scripts(this.__wbg_ptr);
            return t === 0 ? void 0 : Gt.__wrap(t);
        }
        len() {
            return _.txinputsbuilder_len(this.__wbg_ptr) >>> 0;
        }
        add_required_signer(t) {
            p(t, O), _.txinputsbuilder_add_required_signer(this.__wbg_ptr, t.__wbg_ptr);
        }
        add_required_signers(t) {
            p(t, P), _.txinputsbuilder_add_required_signers(this.__wbg_ptr, t.__wbg_ptr);
        }
        total_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.txinputsbuilder_total_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return F.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        inputs() {
            const t = _.txinputsbuilder_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        inputs_option() {
            const t = _.txinputsbuilder_inputs_option(this.__wbg_ptr);
            return t === 0 ? void 0 : U.__wrap(t);
        }
    };
    const Ya = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_url_free(w >>> 0, 1));
    sr = class xe {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(xe.prototype);
            return e.__wbg_ptr = t, Ya.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ya.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_url_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.url_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.url_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return xe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.url_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.url_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return xe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.url_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.url_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.url_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return xe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.url_new(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return xe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        url() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.url_url(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
    };
    const Ja = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_unitinterval_free(w >>> 0, 1));
    k = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(k.prototype);
            return e.__wbg_ptr = t, Ja.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ja.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_unitinterval_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.unitinterval_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.unitinterval_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return k.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.unitinterval_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.unitinterval_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return k.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.unitinterval_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.unitinterval_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.unitinterval_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return k.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        numerator() {
            const t = _.unitinterval_numerator(this.__wbg_ptr);
            return v.__wrap(t);
        }
        denominator() {
            const t = _.unitinterval_denominator(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t, e) {
            p(t, v), p(e, v);
            const a = _.unitinterval_new(t.__wbg_ptr, e.__wbg_ptr);
            return k.__wrap(a);
        }
    };
    const Ea = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_update_free(w >>> 0, 1));
    ee = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ee.prototype);
            return e.__wbg_ptr = t, Ea.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ea.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_update_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.update_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.update_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ee.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.update_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.update_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ee.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.update_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.update_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.update_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ee.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        proposed_protocol_parameter_updates() {
            const t = _.update_proposed_protocol_parameter_updates(this.__wbg_ptr);
            return M_.__wrap(t);
        }
        epoch() {
            return _.update_epoch(this.__wbg_ptr) >>> 0;
        }
        static new(t, e) {
            p(t, M_);
            const a = _.update_new(t.__wbg_ptr, e);
            return ee.__wrap(a);
        }
    };
    const Xa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_updatecommitteeaction_free(w >>> 0, 1));
    n_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(n_.prototype);
            return e.__wbg_ptr = t, Xa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Xa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_updatecommitteeaction_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.updatecommitteeaction_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.updatecommitteeaction_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return n_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.updatecommitteeaction_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.updatecommitteeaction_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return n_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.updatecommitteeaction_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.updatecommitteeaction_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.updatecommitteeaction_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return n_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        gov_action_id() {
            const t = _.updatecommitteeaction_gov_action_id(this.__wbg_ptr);
            return t === 0 ? void 0 : Z.__wrap(t);
        }
        committee() {
            const t = _.updatecommitteeaction_committee(this.__wbg_ptr);
            return s_.__wrap(t);
        }
        members_to_remove() {
            const t = _.updatecommitteeaction_members_to_remove(this.__wbg_ptr);
            return zt.__wrap(t);
        }
        static new(t, e) {
            p(t, s_), p(e, zt);
            const a = _.updatecommitteeaction_new(t.__wbg_ptr, e.__wbg_ptr);
            return n_.__wrap(a);
        }
        static new_with_action_id(t, e, a) {
            p(t, Z), p(e, s_), p(a, zt);
            const n = _.updatecommitteeaction_new_with_action_id(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return n_.__wrap(n);
        }
    };
    const Za = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_vrfcert_free(w >>> 0, 1));
    qt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(qt.prototype);
            return e.__wbg_ptr = t, Za.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Za.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_vrfcert_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfcert_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.vrfcert_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return qt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfcert_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vrfcert_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return qt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfcert_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfcert_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vrfcert_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return qt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        output() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfcert_output(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        proof() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfcert_proof(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16), i = h(t, _.__wbindgen_malloc), u = b, g = h(e, _.__wbindgen_malloc), m = b;
                _.vrfcert_new(d, i, u, g, m);
                var a = o().getInt32(d + 0, !0), n = o().getInt32(d + 4, !0), r = o().getInt32(d + 8, !0);
                if (r) throw c(n);
                return qt.__wrap(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Qa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_vrfkeyhash_free(w >>> 0, 1));
    f_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(f_.prototype);
            return e.__wbg_ptr = t, Qa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Qa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_vrfkeyhash_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.vrfkeyhash_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return f_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfkeyhash_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.vrfkeyhash_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vrfkeyhash_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return f_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfkeyhash_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vrfkeyhash_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return f_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Ka = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_vrfvkey_free(w >>> 0, 1));
    ie = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ie.prototype);
            return e.__wbg_ptr = t, Ka.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ka.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_vrfvkey_free(t, 0);
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.vrfvkey_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ie.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfvkey_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_bech32(t) {
            let e, a;
            try {
                const m = _.__wbindgen_add_to_stack_pointer(-16), x = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), j = b;
                _.vrfvkey_to_bech32(m, this.__wbg_ptr, x, j);
                var n = o().getInt32(m + 0, !0), r = o().getInt32(m + 4, !0), d = o().getInt32(m + 8, !0), i = o().getInt32(m + 12, !0), u = n, g = r;
                if (i) throw u = 0, g = 0, c(d);
                return e = u, a = g, f(u, g);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(e, a, 1);
            }
        }
        static from_bech32(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vrfvkey_from_bech32(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ie.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.vrfvkey_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vrfvkey_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ie.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
    };
    const Ua = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_value_free(w >>> 0, 1));
    F = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(F.prototype);
            return e.__wbg_ptr = t, Ua.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ua.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_value_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.value_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.value_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.value_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.value_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.value_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.value_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.value_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            p(t, v);
            const e = _.value_new(t.__wbg_ptr);
            return F.__wrap(e);
        }
        static new_from_assets(t) {
            p(t, N);
            const e = _.value_new_from_assets(t.__wbg_ptr);
            return F.__wrap(e);
        }
        static new_with_assets(t, e) {
            p(t, v), p(e, N);
            const a = _.value_new_with_assets(t.__wbg_ptr, e.__wbg_ptr);
            return F.__wrap(a);
        }
        static zero() {
            const t = _.value_zero();
            return F.__wrap(t);
        }
        is_zero() {
            return _.value_is_zero(this.__wbg_ptr) !== 0;
        }
        coin() {
            const t = _.value_coin(this.__wbg_ptr);
            return v.__wrap(t);
        }
        set_coin(t) {
            p(t, v), _.value_set_coin(this.__wbg_ptr, t.__wbg_ptr);
        }
        multiasset() {
            const t = _.value_multiasset(this.__wbg_ptr);
            return t === 0 ? void 0 : N.__wrap(t);
        }
        set_multiasset(t) {
            p(t, N), _.value_set_multiasset(this.__wbg_ptr, t.__wbg_ptr);
        }
        checked_add(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, F), _.value_checked_add(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        checked_sub(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, F), _.value_checked_sub(r, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return F.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        clamped_sub(t) {
            p(t, F);
            const e = _.value_clamped_sub(this.__wbg_ptr, t.__wbg_ptr);
            return F.__wrap(e);
        }
        compare(t) {
            p(t, F);
            const e = _.value_compare(this.__wbg_ptr, t.__wbg_ptr);
            return e === 16777215 ? void 0 : e;
        }
    };
    const Ma = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_versionedblock_free(w >>> 0, 1));
    je = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(je.prototype);
            return e.__wbg_ptr = t, Ma.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ma.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_versionedblock_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.versionedblock_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.versionedblock_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return je.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.versionedblock_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.versionedblock_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return je.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.versionedblock_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.versionedblock_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.versionedblock_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return je.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e) {
            p(t, k_);
            var a = t.__destroy_into_raw();
            const n = _.versionedblock_new(a, e);
            return je.__wrap(n);
        }
        block() {
            const t = _.versionedblock_block(this.__wbg_ptr);
            return k_.__wrap(t);
        }
        era() {
            return _.versionedblock_era(this.__wbg_ptr);
        }
    };
    const Sa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_vkey_free(w >>> 0, 1));
    _t = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(_t.prototype);
            return e.__wbg_ptr = t, Sa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Sa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_vkey_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkey_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.vkey_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return _t.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkey_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vkey_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return _t.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkey_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkey_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vkey_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return _t.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            p(t, Et);
            const e = _.vkey_new(t.__wbg_ptr);
            return _t.__wrap(e);
        }
        public_key() {
            const t = _.vkey_public_key(this.__wbg_ptr);
            return Et.__wrap(t);
        }
    };
    const Wa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_vkeys_free(w >>> 0, 1));
    hr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(hr.prototype);
            return e.__wbg_ptr = t, Wa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Wa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_vkeys_free(t, 0);
        }
        static new() {
            const t = _.vkeys_new();
            return hr.__wrap(t);
        }
        len() {
            return _.vkeys_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.vkeys_get(this.__wbg_ptr, t);
            return _t.__wrap(e);
        }
        add(t) {
            p(t, _t), _.vkeys_add(this.__wbg_ptr, t.__wbg_ptr);
        }
    };
    const Ha = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_vkeywitness_free(w >>> 0, 1));
    $t = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create($t.prototype);
            return e.__wbg_ptr = t, Ha.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ha.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_vkeywitness_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkeywitness_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.vkeywitness_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $t.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkeywitness_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vkeywitness_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $t.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkeywitness_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkeywitness_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vkeywitness_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return $t.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t, e) {
            p(t, _t), p(e, gt);
            const a = _.vkeywitness_new(t.__wbg_ptr, e.__wbg_ptr);
            return $t.__wrap(a);
        }
        vkey() {
            const t = _.vkeywitness_vkey(this.__wbg_ptr);
            return _t.__wrap(t);
        }
        signature() {
            const t = _.vkeywitness_signature(this.__wbg_ptr);
            return gt.__wrap(t);
        }
    };
    const Ga = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_vkeywitnesses_free(w >>> 0, 1));
    re = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(re.prototype);
            return e.__wbg_ptr = t, Ga.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ga.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_vkeywitnesses_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkeywitnesses_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.vkeywitnesses_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return re.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkeywitnesses_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vkeywitnesses_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return re.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkeywitnesses_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.vkeywitnesses_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.vkeywitnesses_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return re.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.vkeywitnesses_new();
            return re.__wrap(t);
        }
        len() {
            return _.vkeywitnesses_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.vkeywitnesses_get(this.__wbg_ptr, t);
            return $t.__wrap(e);
        }
        add(t) {
            return p(t, $t), _.vkeywitnesses_add(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
    };
    const Da = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_votedelegation_free(w >>> 0, 1));
    ne = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ne.prototype);
            return e.__wbg_ptr = t, Da.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Da.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_votedelegation_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votedelegation_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.votedelegation_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ne.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.votedelegation_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votedelegation_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ne.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.votedelegation_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votedelegation_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votedelegation_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ne.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        stake_credential() {
            const t = _.votedelegation_stake_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        drep() {
            const t = _.votedelegation_drep(this.__wbg_ptr);
            return H.__wrap(t);
        }
        static new(t, e) {
            p(t, I), p(e, H);
            const a = _.votedelegation_new(t.__wbg_ptr, e.__wbg_ptr);
            return ne.__wrap(a);
        }
        has_script_credentials() {
            return _.votedelegation_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const Aa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_voteregistrationanddelegation_free(w >>> 0, 1));
    oe = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(oe.prototype);
            return e.__wbg_ptr = t, Aa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Aa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_voteregistrationanddelegation_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.voteregistrationanddelegation_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.voteregistrationanddelegation_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return oe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.voteregistrationanddelegation_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.voteregistrationanddelegation_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return oe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.voteregistrationanddelegation_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.voteregistrationanddelegation_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.voteregistrationanddelegation_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return oe.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        stake_credential() {
            const t = _.voteregistrationanddelegation_stake_credential(this.__wbg_ptr);
            return I.__wrap(t);
        }
        drep() {
            const t = _.voteregistrationanddelegation_drep(this.__wbg_ptr);
            return H.__wrap(t);
        }
        coin() {
            const t = _.voteregistrationanddelegation_coin(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t, e, a) {
            p(t, I), p(e, H), p(a, v);
            const n = _.voteregistrationanddelegation_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
            return oe.__wrap(n);
        }
        has_script_credentials() {
            return _.voteregistrationanddelegation_has_script_credentials(this.__wbg_ptr) !== 0;
        }
    };
    const Ta = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_voter_free(w >>> 0, 1));
    V = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(V.prototype);
            return e.__wbg_ptr = t, Ta.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ta.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_voter_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.voter_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.voter_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return V.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.voter_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.voter_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return V.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.voter_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.voter_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.voter_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return V.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new_constitutional_committee_hot_credential(t) {
            p(t, I);
            const e = _.voter_new_constitutional_committee_hot_credential(t.__wbg_ptr);
            return V.__wrap(e);
        }
        static new_drep_credential(t) {
            p(t, I);
            const e = _.voter_new_drep_credential(t.__wbg_ptr);
            return V.__wrap(e);
        }
        static new_stake_pool_key_hash(t) {
            p(t, O);
            const e = _.voter_new_stake_pool_key_hash(t.__wbg_ptr);
            return V.__wrap(e);
        }
        kind() {
            return _.voter_kind(this.__wbg_ptr);
        }
        to_constitutional_committee_hot_credential() {
            const t = _.voter_to_constitutional_committee_hot_credential(this.__wbg_ptr);
            return t === 0 ? void 0 : I.__wrap(t);
        }
        to_drep_credential() {
            const t = _.voter_to_drep_credential(this.__wbg_ptr);
            return t === 0 ? void 0 : I.__wrap(t);
        }
        to_stake_pool_key_hash() {
            const t = _.voter_to_stake_pool_key_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : O.__wrap(t);
        }
        has_script_credentials() {
            return _.voter_has_script_credentials(this.__wbg_ptr) !== 0;
        }
        to_key_hash() {
            const t = _.voter_to_key_hash(this.__wbg_ptr);
            return t === 0 ? void 0 : O.__wrap(t);
        }
    };
    const Na = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_voters_free(w >>> 0, 1));
    We = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(We.prototype);
            return e.__wbg_ptr = t, Na.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Na.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_voters_free(t, 0);
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.voters_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.voters_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.voters_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return We.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.voters_new();
            return We.__wrap(t);
        }
        add(t) {
            p(t, V), _.voters_add(this.__wbg_ptr, t.__wbg_ptr);
        }
        get(t) {
            const e = _.voters_get(this.__wbg_ptr, t);
            return e === 0 ? void 0 : V.__wrap(e);
        }
        len() {
            return _.voters_len(this.__wbg_ptr) >>> 0;
        }
    };
    const Va = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_votingbuilder_free(w >>> 0, 1));
    ir = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ir.prototype);
            return e.__wbg_ptr = t, Va.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Va.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_votingbuilder_free(t, 0);
        }
        static new() {
            const t = _.votingbuilder_new();
            return ir.__wrap(t);
        }
        add(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, V), p(e, Z), p(a, ut), _.votingbuilder_add(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_with_plutus_witness(t, e, a, n) {
            try {
                const i = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, V), p(e, Z), p(a, ut), p(n, tt), _.votingbuilder_add_with_plutus_witness(i, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr);
                var r = o().getInt32(i + 0, !0), d = o().getInt32(i + 4, !0);
                if (d) throw c(r);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_with_native_script(t, e, a, n) {
            try {
                const i = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, V), p(e, Z), p(a, ut), p(n, Ht), _.votingbuilder_add_with_native_script(i, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr);
                var r = o().getInt32(i + 0, !0), d = o().getInt32(i + 4, !0);
                if (d) throw c(r);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_plutus_witnesses() {
            const t = _.votingbuilder_get_plutus_witnesses(this.__wbg_ptr);
            return Gt.__wrap(t);
        }
        get_ref_inputs() {
            const t = _.votingbuilder_get_ref_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        get_native_scripts() {
            const t = _.votingbuilder_get_native_scripts(this.__wbg_ptr);
            return Q.__wrap(t);
        }
        has_plutus_scripts() {
            return _.votingbuilder_has_plutus_scripts(this.__wbg_ptr) !== 0;
        }
        build() {
            const t = _.votingbuilder_build(this.__wbg_ptr);
            return b_.__wrap(t);
        }
    };
    const Ca = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_votingprocedure_free(w >>> 0, 1));
    ut = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(ut.prototype);
            return e.__wbg_ptr = t, Ca.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ca.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_votingprocedure_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingprocedure_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.votingprocedure_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ut.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingprocedure_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votingprocedure_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ut.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingprocedure_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingprocedure_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votingprocedure_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return ut.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new(t) {
            const e = _.votingprocedure_new(t);
            return ut.__wrap(e);
        }
        static new_with_anchor(t, e) {
            p(e, G);
            const a = _.votingprocedure_new_with_anchor(t, e.__wbg_ptr);
            return ut.__wrap(a);
        }
        vote_kind() {
            return _.votingprocedure_vote_kind(this.__wbg_ptr);
        }
        anchor() {
            const t = _.votingprocedure_anchor(this.__wbg_ptr);
            return t === 0 ? void 0 : G.__wrap(t);
        }
    };
    const Pa = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_votingprocedures_free(w >>> 0, 1));
    b_ = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(b_.prototype);
            return e.__wbg_ptr = t, Pa.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Pa.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_votingprocedures_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingprocedures_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.votingprocedures_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return b_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingprocedures_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votingprocedures_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return b_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingprocedures_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingprocedures_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votingprocedures_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return b_.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.votingprocedures_new();
            return b_.__wrap(t);
        }
        insert(t, e, a) {
            p(t, V), p(e, Z), p(a, ut), _.votingprocedures_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
        }
        get(t, e) {
            p(t, V), p(e, Z);
            const a = _.votingprocedures_get(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : ut.__wrap(a);
        }
        get_voters() {
            const t = _.votingprocedures_get_voters(this.__wbg_ptr);
            return We.__wrap(t);
        }
        get_governance_action_ids_by_voter(t) {
            p(t, V);
            const e = _.votingprocedures_get_governance_action_ids_by_voter(this.__wbg_ptr, t.__wbg_ptr);
            return Me.__wrap(e);
        }
    };
    const Ba = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_votingproposal_free(w >>> 0, 1));
    Lt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Lt.prototype);
            return e.__wbg_ptr = t, Ba.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, Ba.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_votingproposal_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingproposal_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.votingproposal_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Lt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingproposal_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votingproposal_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Lt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingproposal_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingproposal_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votingproposal_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Lt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        governance_action() {
            const t = _.votingproposal_governance_action(this.__wbg_ptr);
            return rt.__wrap(t);
        }
        anchor() {
            const t = _.votingproposal_anchor(this.__wbg_ptr);
            return G.__wrap(t);
        }
        reward_account() {
            const t = _.votingproposal_reward_account(this.__wbg_ptr);
            return T.__wrap(t);
        }
        deposit() {
            const t = _.votingproposal_deposit(this.__wbg_ptr);
            return v.__wrap(t);
        }
        static new(t, e, a, n) {
            p(t, rt), p(e, G), p(a, T), p(n, v);
            const r = _.votingproposal_new(t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr, n.__wbg_ptr);
            return Lt.__wrap(r);
        }
    };
    const ts = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_votingproposalbuilder_free(w >>> 0, 1));
    dr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(dr.prototype);
            return e.__wbg_ptr = t, ts.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, ts.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_votingproposalbuilder_free(t, 0);
        }
        static new() {
            const t = _.votingproposalbuilder_new();
            return dr.__wrap(t);
        }
        add(t) {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Lt), _.votingproposalbuilder_add(n, this.__wbg_ptr, t.__wbg_ptr);
                var e = o().getInt32(n + 0, !0), a = o().getInt32(n + 4, !0);
                if (a) throw c(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_with_plutus_witness(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, Lt), p(e, tt), _.votingproposalbuilder_add_with_plutus_witness(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_plutus_witnesses() {
            const t = _.votingproposalbuilder_get_plutus_witnesses(this.__wbg_ptr);
            return Gt.__wrap(t);
        }
        get_ref_inputs() {
            const t = _.votingproposalbuilder_get_ref_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        has_plutus_scripts() {
            return _.votingproposalbuilder_has_plutus_scripts(this.__wbg_ptr) !== 0;
        }
        build() {
            const t = _.votingproposalbuilder_build(this.__wbg_ptr);
            return Qt.__wrap(t);
        }
    };
    const _s = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_votingproposals_free(w >>> 0, 1));
    Qt = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(Qt.prototype);
            return e.__wbg_ptr = t, _s.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, _s.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_votingproposals_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingproposals_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.votingproposals_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Qt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingproposals_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votingproposals_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Qt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingproposals_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.votingproposals_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.votingproposals_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return Qt.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.votingproposals_new();
            return Qt.__wrap(t);
        }
        len() {
            return _.votingproposals_len(this.__wbg_ptr) >>> 0;
        }
        get(t) {
            const e = _.votingproposals_get(this.__wbg_ptr, t);
            return Lt.__wrap(e);
        }
        add(t) {
            return p(t, Lt), _.votingproposals_add(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
        contains(t) {
            return p(t, Lt), _.votingproposals_contains(this.__wbg_ptr, t.__wbg_ptr) !== 0;
        }
        to_option() {
            const t = _.votingproposals_to_option(this.__wbg_ptr);
            return t === 0 ? void 0 : Qt.__wrap(t);
        }
    };
    const es = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_withdrawals_free(w >>> 0, 1));
    St = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(St.prototype);
            return e.__wbg_ptr = t, es.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, es.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_withdrawals_free(t, 0);
        }
        to_bytes() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.withdrawals_to_bytes(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = y(t, e).slice();
                return _.__wbindgen_free(t, e * 1, 1), a;
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_bytes(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = h(t, _.__wbindgen_malloc), i = b;
                _.withdrawals_from_bytes(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return St.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_hex() {
            let t, e;
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                _.withdrawals_to_hex(r, this.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                return t = a, e = n, f(a, n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        static from_hex(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.withdrawals_from_hex(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return St.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        to_json() {
            let t, e;
            try {
                const g = _.__wbindgen_add_to_stack_pointer(-16);
                _.withdrawals_to_json(g, this.__wbg_ptr);
                var a = o().getInt32(g + 0, !0), n = o().getInt32(g + 4, !0), r = o().getInt32(g + 8, !0), d = o().getInt32(g + 12, !0), i = a, u = n;
                if (d) throw i = 0, u = 0, c(r);
                return t = i, e = u, f(i, u);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16), _.__wbindgen_free(t, e, 1);
            }
        }
        to_js_value() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.withdrawals_to_js_value(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return c(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static from_json(t) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16), d = l(t, _.__wbindgen_malloc, _.__wbindgen_realloc), i = b;
                _.withdrawals_from_json(r, d, i);
                var e = o().getInt32(r + 0, !0), a = o().getInt32(r + 4, !0), n = o().getInt32(r + 8, !0);
                if (n) throw c(a);
                return St.__wrap(e);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        static new() {
            const t = _.withdrawals_new();
            return St.__wrap(t);
        }
        len() {
            return _.withdrawals_len(this.__wbg_ptr) >>> 0;
        }
        insert(t, e) {
            p(t, T), p(e, v);
            const a = _.withdrawals_insert(this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
            return a === 0 ? void 0 : v.__wrap(a);
        }
        get(t) {
            p(t, T);
            const e = _.withdrawals_get(this.__wbg_ptr, t.__wbg_ptr);
            return e === 0 ? void 0 : v.__wrap(e);
        }
        keys() {
            const t = _.withdrawals_keys(this.__wbg_ptr);
            return W_.__wrap(t);
        }
    };
    const rs = typeof FinalizationRegistry > "u" ? {
        register: ()=>{},
        unregister: ()=>{}
    } : new FinalizationRegistry((w)=>_.__wbg_withdrawalsbuilder_free(w >>> 0, 1));
    cr = class {
        static __wrap(t) {
            t = t >>> 0;
            const e = Object.create(cr.prototype);
            return e.__wbg_ptr = t, rs.register(e, e.__wbg_ptr, e), e;
        }
        __destroy_into_raw() {
            const t = this.__wbg_ptr;
            return this.__wbg_ptr = 0, rs.unregister(this), t;
        }
        free() {
            const t = this.__destroy_into_raw();
            _.__wbg_withdrawalsbuilder_free(t, 0);
        }
        static new() {
            const t = _.withdrawalsbuilder_new();
            return cr.__wrap(t);
        }
        add(t, e) {
            try {
                const r = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, T), p(e, v), _.withdrawalsbuilder_add(r, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr);
                var a = o().getInt32(r + 0, !0), n = o().getInt32(r + 4, !0);
                if (n) throw c(a);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_with_plutus_witness(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, T), p(e, v), p(a, tt), _.withdrawalsbuilder_add_with_plutus_witness(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        add_with_native_script(t, e, a) {
            try {
                const d = _.__wbindgen_add_to_stack_pointer(-16);
                p(t, T), p(e, v), p(a, Ht), _.withdrawalsbuilder_add_with_native_script(d, this.__wbg_ptr, t.__wbg_ptr, e.__wbg_ptr, a.__wbg_ptr);
                var n = o().getInt32(d + 0, !0), r = o().getInt32(d + 4, !0);
                if (r) throw c(n);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        get_plutus_witnesses() {
            const t = _.withdrawalsbuilder_get_plutus_witnesses(this.__wbg_ptr);
            return Gt.__wrap(t);
        }
        get_ref_inputs() {
            const t = _.withdrawalsbuilder_get_ref_inputs(this.__wbg_ptr);
            return U.__wrap(t);
        }
        get_native_scripts() {
            const t = _.withdrawalsbuilder_get_native_scripts(this.__wbg_ptr);
            return Q.__wrap(t);
        }
        get_total_withdrawals() {
            try {
                const n = _.__wbindgen_add_to_stack_pointer(-16);
                _.withdrawalsbuilder_get_total_withdrawals(n, this.__wbg_ptr);
                var t = o().getInt32(n + 0, !0), e = o().getInt32(n + 4, !0), a = o().getInt32(n + 8, !0);
                if (a) throw c(e);
                return F.__wrap(t);
            } finally{
                _.__wbindgen_add_to_stack_pointer(16);
            }
        }
        has_plutus_scripts() {
            return _.withdrawalsbuilder_has_plutus_scripts(this.__wbg_ptr) !== 0;
        }
        build() {
            const t = _.withdrawalsbuilder_build(this.__wbg_ptr);
            return St.__wrap(t);
        }
    };
    ms = function(w, t) {
        const e = Error(f(w, t));
        return q(e);
    };
    ks = function(w, t) {
        const e = String(z(t)), a = l(e, _.__wbindgen_malloc, _.__wbindgen_realloc), n = b;
        o().setInt32(w + 4, n, !0), o().setInt32(w + 0, a, !0);
    };
    Is = function(w) {
        const t = z(w).buffer;
        return q(t);
    };
    xs = function() {
        return h_(function(w, t) {
            const e = z(w).call(z(t));
            return q(e);
        }, arguments);
    };
    js = function() {
        return h_(function(w, t, e) {
            const a = z(w).call(z(t), z(e));
            return q(a);
        }, arguments);
    };
    zs = function(w, t) {
        const e = z(w).call(z(t));
        return q(e);
    };
    Fs = function(w) {
        const t = z(w).crypto;
        return q(t);
    };
    Rs = function(w) {
        const t = z(w).crypto;
        return q(t);
    };
    Os = function(w) {
        const t = z(w).getRandomValues;
        return q(t);
    };
    qs = function() {
        return h_(function(w, t) {
            z(w).getRandomValues(z(t));
        }, arguments);
    };
    $s = function(w, t, e) {
        z(w).getRandomValues(y(t, e));
    };
    Ls = function() {
        return h_(function() {
            const w = globalThis.globalThis;
            return q(w);
        }, arguments);
    };
    Ys = function() {
        return h_(function() {
            const w = globalThis.global;
            return q(w);
        }, arguments);
    };
    Js = function(w) {
        const t = z(w).msCrypto;
        return q(t);
    };
    Es = function() {
        return q(new Map);
    };
    Xs = function(w, t) {
        const e = new Function(f(w, t));
        return q(e);
    };
    Zs = function(w) {
        const t = new Uint8Array(z(w));
        return q(t);
    };
    Qs = function() {
        const w = new Object;
        return q(w);
    };
    Ks = function() {
        const w = new Array;
        return q(w);
    };
    Us = function(w, t) {
        const e = new Function(f(w, t));
        return q(e);
    };
    Ms = function(w, t, e) {
        const a = new Uint8Array(z(w), t >>> 0, e >>> 0);
        return q(a);
    };
    Ss = function(w) {
        const t = new Uint8Array(w >>> 0);
        return q(t);
    };
    Ws = function(w) {
        const t = z(w).node;
        return q(t);
    };
    Hs = function(w) {
        const t = z(w).process;
        return q(t);
    };
    Gs = function() {
        return h_(function(w, t) {
            z(w).randomFillSync(c(t));
        }, arguments);
    };
    Ds = function(w, t, e) {
        z(w).randomFillSync(y(t, e));
    };
    As = function(w, t) {
        const e = require(f(w, t));
        return q(e);
    };
    Ts = function() {
        return h_(function() {
            const w = module.require;
            return q(w);
        }, arguments);
    };
    Ns = function(w) {
        const t = z(w).self;
        return q(t);
    };
    Vs = function() {
        return h_(function() {
            const w = self.self;
            return q(w);
        }, arguments);
    };
    Cs = function(w, t, e) {
        const a = z(w).set(z(t), z(e));
        return q(a);
    };
    Ps = function(w, t, e) {
        z(w)[c(t)] = c(e);
    };
    Bs = function(w, t, e) {
        z(w).set(z(t), e >>> 0);
    };
    ti = function(w, t, e) {
        z(w)[t >>> 0] = c(e);
    };
    _i = function(w, t, e) {
        const a = z(w).subarray(t >>> 0, e >>> 0);
        return q(a);
    };
    ei = function(w) {
        const t = z(w).versions;
        return q(t);
    };
    ri = function(w, t) {
        const e = wr(z(t)), a = l(e, _.__wbindgen_malloc, _.__wbindgen_realloc), n = b;
        o().setInt32(w + 4, n, !0), o().setInt32(w + 0, a, !0);
    };
    ni = function(w) {
        return typeof z(w) == "function";
    };
    oi = function(w) {
        const t = z(w);
        return typeof t == "object" && t !== null;
    };
    ai = function(w) {
        return typeof z(w) == "string";
    };
    si = function(w) {
        return z(w) === void 0;
    };
    ii = function(w, t) {
        return z(w) === z(t);
    };
    di = function() {
        const w = _.memory;
        return q(w);
    };
    ci = function(w, t) {
        const e = z(t), a = typeof e == "string" ? e : void 0;
        var n = ht(a) ? 0 : l(a, _.__wbindgen_malloc, _.__wbindgen_realloc), r = b;
        o().setInt32(w + 4, r, !0), o().setInt32(w + 0, n, !0);
    };
    gi = function(w, t) {
        throw new Error(f(w, t));
    };
    pi = function() {
        return h_(function() {
            const w = window.window;
            return q(w);
        }, arguments);
    };
    wi = function(w, t) {
        const e = f(w, t);
        return q(e);
    };
    ui = function(w) {
        return q(w);
    };
    bi = function(w) {
        const t = z(w);
        return q(t);
    };
    li = function(w) {
        c(w);
    };
    URL = globalThis.URL;
    const s = await ps({
        "./cardano_serialization_lib_bg.js": {
            __wbindgen_object_drop_ref: li,
            __wbindgen_object_clone_ref: bi,
            __wbg_String_fed4d24b68977888: ks,
            __wbg_set_3fda3bac07393de4: Ps,
            __wbg_crypto_ed58b8e10a292839: Rs,
            __wbg_process_5c1d670bc53614b8: Hs,
            __wbg_versions_c71aa1626a93e0a1: ei,
            __wbg_node_02999533c4ea02e3: Ws,
            __wbg_require_79b1e9274cde3c87: Ts,
            __wbg_msCrypto_0a36e2ec3a343d26: Js,
            __wbg_randomFillSync_ab2cfe79ebbf2740: Gs,
            __wbg_getRandomValues_bcb4912f16000dc4: qs,
            __wbg_new_e2d07398d7689006: Ks,
            __wbg_newnoargs_a136448eeb7d48ac: Us,
            __wbg_new_518e2184725aa711: Es,
            __wbg_new_67abf4a77618ee3e: Qs,
            __wbg_self_cca3ca60d61220f4: Vs,
            __wbg_window_2aba046d3fc4ad7c: pi,
            __wbg_globalThis_6b4d52a0b6aaeaea: Ls,
            __wbg_global_49324ce12193de77: Ys,
            __wbg_set_93ba9407b5476ec6: ti,
            __wbg_call_0ad083564791763a: xs,
            __wbg_call_a34b6b4765f27be0: js,
            __wbg_set_393f510a6b7e9da5: Cs,
            __wbg_buffer_ef9774282e5dab94: Is,
            __wbg_newwithbyteoffsetandlength_84908302a4c137cf: Ms,
            __wbg_new_59845962d1127937: Zs,
            __wbg_set_5deee49b10b2b780: Bs,
            __wbg_newwithlength_4c216eaaf23f2f9a: Ss,
            __wbg_subarray_2dc34705c0dc7cdb: _i,
            __wbg_new_592cfd1910fe92ab: Xs,
            __wbg_call_ca9f902b9c01d6a4: zs,
            __wbg_self_53a054fa1aa99285: Ns,
            __wbg_require_51e6ff2a093da33e: As,
            __wbg_crypto_b8b8d219dd106386: Fs,
            __wbg_getRandomValues_37d862323ab7a9ea: Os,
            __wbg_randomFillSync_dacc4c955df2f8ce: Ds,
            __wbg_getRandomValues_f95fbcecd77f2425: $s,
            __wbg_wbindgendebugstring_bb652b1bc2061b6d: ri,
            __wbg_wbindgenmemory_6856c8c520f40c41: di,
            __wbg_Error_1f3748b298f99708: ms,
            __wbg_wbindgenisundefined_71f08a6ade4354e7: si,
            __wbg_wbindgenisobject_dfe064a121d87553: oi,
            __wbg_wbindgenisfunction_ea72b9d66a0e1705: ni,
            __wbg_wbindgenisstring_4b74e4111ba029e6: ai,
            __wbg_wbindgenstringget_43fe05afe34b0cb1: ci,
            __wbg_wbindgenthrow_4c11a24fca429ccf: gi,
            __wbg_wbindgenjsvaleq_f27272c0a890df7f: ii,
            __wbindgen_cast_d6cd19b81560fd6e: ui,
            __wbindgen_cast_2241b6af4c4b2941: wi
        }
    }, ws), fi = s.memory, hi = s.__wbg_mintwitness_free, vi = s.mintwitness_new_native_script, yi = s.mintwitness_new_plutus_script, mi = s.__wbg_mintbuilder_free, ki = s.mintbuilder_new, Ii = s.mintbuilder_add_asset, xi = s.mintbuilder_set_asset, ji = s.mintbuilder_build, zi = s.mintbuilder_get_native_scripts, Fi = s.mintbuilder_get_plutus_witnesses, Ri = s.mintbuilder_get_ref_inputs, Oi = s.mintbuilder_get_redeemers, qi = s.mintbuilder_has_plutus_scripts, $i = s.mintbuilder_has_native_scripts, Li = s.__wbg_datumsource_free, Yi = s.datumsource_new, Ji = s.datumsource_new_ref_input, Ei = s.__wbg_plutuswitness_free, Xi = s.plutuswitness_new, Zi = s.plutuswitness_new_with_ref, Qi = s.plutuswitness_new_without_datum, Ki = s.plutuswitness_new_with_ref_without_datum, Ui = s.plutuswitness_script, Mi = s.plutuswitness_datum, Si = s.plutuswitness_redeemer, Wi = s.__wbg_plutuswitnesses_free, Hi = s.plutuswitnesses_new, Gi = s.plutuswitnesses_len, Di = s.plutuswitnesses_get, Ai = s.plutuswitnesses_add, Ti = s.__wbg_votingbuilder_free, Ni = s.votingbuilder_new, Vi = s.votingbuilder_add, Ci = s.votingbuilder_add_with_plutus_witness, Pi = s.votingbuilder_add_with_native_script, Bi = s.votingbuilder_get_plutus_witnesses, td = s.votingbuilder_get_ref_inputs, _d = s.votingbuilder_get_native_scripts, ed = s.votingbuilder_has_plutus_scripts, rd = s.votingbuilder_build, nd = s.__wbg_stakeregistration_free, od = s.stakeregistration_to_bytes, ad = s.stakeregistration_from_bytes, sd = s.stakeregistration_to_hex, id = s.stakeregistration_from_hex, dd = s.stakeregistration_to_json, cd = s.stakeregistration_to_js_value, gd = s.stakeregistration_from_json, pd = s.stakeregistration_stake_credential, wd = s.stakeregistration_coin, ud = s.stakeregistration_new, bd = s.stakeregistration_new_with_explicit_deposit, ld = s.stakeregistration_has_script_credentials, fd = s.__wbg_committeecoldresign_free, hd = s.committeecoldresign_to_bytes, vd = s.committeecoldresign_from_bytes, yd = s.committeecoldresign_to_hex, md = s.committeecoldresign_from_hex, kd = s.committeecoldresign_to_json, Id = s.committeecoldresign_to_js_value, xd = s.committeecoldresign_from_json, jd = s.committeecoldresign_committee_cold_credential, zd = s.committeecoldresign_anchor, Fd = s.committeecoldresign_new, Rd = s.committeecoldresign_new_with_anchor, Od = s.committeecoldresign_has_script_credentials, qd = s.__wbg_drepregistration_free, $d = s.drepregistration_to_bytes, Ld = s.drepregistration_from_bytes, Yd = s.drepregistration_to_hex, Jd = s.drepregistration_from_hex, Ed = s.drepregistration_to_json, Xd = s.drepregistration_to_js_value, Zd = s.drepregistration_from_json, Qd = s.drepregistration_voting_credential, Kd = s.drepregistration_coin, Ud = s.drepregistration_anchor, Md = s.drepregistration_new, Sd = s.drepregistration_new_with_anchor, Wd = s.drepregistration_has_script_credentials, Hd = s.__wbg_voters_free, Gd = s.voters_to_json, Dd = s.voters_to_js_value, Ad = s.voters_from_json, Td = s.voters_new, Nd = s.voters_add, Vd = s.voters_get, Cd = s.voters_len, Pd = s.__wbg_parameterchangeaction_free, Bd = s.parameterchangeaction_to_bytes, tc = s.parameterchangeaction_from_bytes, _c = s.parameterchangeaction_to_hex, ec = s.parameterchangeaction_from_hex, rc = s.parameterchangeaction_to_json, nc = s.parameterchangeaction_to_js_value, oc = s.parameterchangeaction_from_json, ac = s.parameterchangeaction_gov_action_id, sc = s.parameterchangeaction_protocol_param_updates, ic = s.parameterchangeaction_policy_hash, dc = s.parameterchangeaction_new, cc = s.parameterchangeaction_new_with_action_id, gc = s.parameterchangeaction_new_with_policy_hash, pc = s.parameterchangeaction_new_with_policy_hash_and_action_id, wc = s.__wbg_hardforkinitiationaction_free, uc = s.hardforkinitiationaction_to_bytes, bc = s.hardforkinitiationaction_from_bytes, lc = s.hardforkinitiationaction_to_hex, fc = s.hardforkinitiationaction_from_hex, hc = s.hardforkinitiationaction_to_json, vc = s.hardforkinitiationaction_to_js_value, yc = s.hardforkinitiationaction_from_json, mc = s.hardforkinitiationaction_gov_action_id, kc = s.hardforkinitiationaction_protocol_version, Ic = s.hardforkinitiationaction_new, xc = s.hardforkinitiationaction_new_with_action_id, jc = s.__wbg_updatecommitteeaction_free, zc = s.updatecommitteeaction_to_bytes, Fc = s.updatecommitteeaction_from_bytes, Rc = s.updatecommitteeaction_to_hex, Oc = s.updatecommitteeaction_from_hex, qc = s.updatecommitteeaction_to_json, $c = s.updatecommitteeaction_to_js_value, Lc = s.updatecommitteeaction_from_json, Yc = s.updatecommitteeaction_gov_action_id, Jc = s.updatecommitteeaction_committee, Ec = s.updatecommitteeaction_members_to_remove, Xc = s.updatecommitteeaction_new, Zc = s.updatecommitteeaction_new_with_action_id, Qc = s.__wbg_newconstitutionaction_free, Kc = s.newconstitutionaction_to_bytes, Uc = s.newconstitutionaction_from_bytes, Mc = s.newconstitutionaction_to_hex, Sc = s.newconstitutionaction_from_hex, Wc = s.newconstitutionaction_to_json, Hc = s.newconstitutionaction_to_js_value, Gc = s.newconstitutionaction_from_json, Dc = s.newconstitutionaction_gov_action_id, Ac = s.newconstitutionaction_constitution, Tc = s.newconstitutionaction_new, Nc = s.newconstitutionaction_new_with_action_id, Vc = s.newconstitutionaction_has_script_hash, Cc = s.__wbg_votingproposal_free, Pc = s.votingproposal_to_bytes, Bc = s.votingproposal_from_bytes, tg = s.votingproposal_to_hex, _g = s.votingproposal_from_hex, eg = s.votingproposal_to_json, rg = s.votingproposal_to_js_value, ng = s.votingproposal_from_json, og = s.votingproposal_governance_action, ag = s.votingproposal_anchor, sg = s.votingproposal_reward_account, ig = s.votingproposal_deposit, dg = s.votingproposal_new, cg = s.__wbg_votingproposals_free, gg = s.votingproposals_to_bytes, pg = s.votingproposals_from_bytes, wg = s.votingproposals_to_hex, ug = s.votingproposals_from_hex, bg = s.votingproposals_to_json, lg = s.votingproposals_to_js_value, fg = s.votingproposals_from_json, hg = s.votingproposals_new, vg = s.votingproposals_len, yg = s.votingproposals_get, mg = s.votingproposals_add, kg = s.votingproposals_contains, Ig = s.votingproposals_to_option, xg = s.__wbg_bip32privatekey_free, jg = s.bip32privatekey_derive, zg = s.bip32privatekey_from_128_xprv, Fg = s.bip32privatekey_to_128_xprv, Rg = s.bip32privatekey_generate_ed25519_bip32, Og = s.bip32privatekey_to_raw_key, qg = s.bip32privatekey_to_public, $g = s.bip32privatekey_from_bytes, Lg = s.bip32privatekey_as_bytes, Yg = s.bip32privatekey_from_bech32, Jg = s.bip32privatekey_to_bech32, Eg = s.bip32privatekey_from_bip39_entropy, Xg = s.bip32privatekey_chaincode, Zg = s.bip32privatekey_to_hex, Qg = s.bip32privatekey_from_hex, Kg = s.__wbg_bignum_free, Ug = s.bignum_to_bytes, Mg = s.bignum_from_bytes, Sg = s.bignum_to_hex, Wg = s.bignum_from_hex, Hg = s.bignum_to_json, Gg = s.bignum_to_js_value, Dg = s.bignum_from_json, Ag = s.bignum_from_str, Tg = s.bignum_to_str, Ng = s.bignum_zero, Vg = s.bignum_one, Cg = s.bignum_is_zero, Pg = s.bignum_div_floor, Bg = s.bignum_checked_mul, tp = s.bignum_checked_add, _p = s.bignum_checked_sub, ep = s.bignum_clamped_sub, rp = s.bignum_compare, np = s.bignum_less_than, op = s.bignum_max_value, ap = s.bignum_max, sp = s.__wbg_linearfee_free, ip = s.linearfee_constant, dp = s.linearfee_coefficient, cp = s.linearfee_new, gp = s.min_fee, pp = s.calculate_ex_units_ceil_cost, wp = s.min_script_fee, up = s.min_ref_script_fee, bp = s.__wbg_language_free, lp = s.language_to_bytes, fp = s.language_from_bytes, hp = s.language_to_hex, vp = s.language_from_hex, yp = s.language_to_json, mp = s.language_to_js_value, kp = s.language_from_json, Ip = s.language_new_plutus_v1, xp = s.language_new_plutus_v2, jp = s.language_new_plutus_v3, zp = s.language_kind, Fp = s.__wbg_languages_free, Rp = s.languages_new, Op = s.languages_len, qp = s.languages_get, $p = s.languages_add, Lp = s.languages_list, Yp = s.__wbg_costmdls_free, Jp = s.costmdls_to_bytes, Ep = s.costmdls_from_bytes, Xp = s.costmdls_to_hex, Zp = s.costmdls_from_hex, Qp = s.costmdls_to_json, Kp = s.costmdls_to_js_value, Up = s.costmdls_from_json, Mp = s.costmdls_new, Sp = s.costmdls_len, Wp = s.costmdls_insert, Hp = s.costmdls_get, Gp = s.costmdls_keys, Dp = s.costmdls_retain_language_versions, Ap = s.__wbg_transactioninputs_free, Tp = s.transactioninputs_to_bytes, Np = s.transactioninputs_from_bytes, Vp = s.transactioninputs_to_hex, Cp = s.transactioninputs_from_hex, Pp = s.transactioninputs_to_json, Bp = s.transactioninputs_to_js_value, tw = s.transactioninputs_from_json, _w = s.transactioninputs_new, ew = s.transactioninputs_len, rw = s.transactioninputs_get, nw = s.transactioninputs_add, ow = s.transactioninputs_to_option, aw = s.__wbg_credentials_free, sw = s.credentials_to_bytes, iw = s.credentials_from_bytes, dw = s.credentials_to_hex, cw = s.credentials_from_hex, gw = s.credentials_to_json, pw = s.credentials_to_js_value, ww = s.credentials_from_json, uw = s.credentials_new, bw = s.credentials_len, lw = s.credentials_get, fw = s.credentials_add, hw = s.__wbg_ed25519keyhashes_free, vw = s.ed25519keyhashes_to_bytes, yw = s.ed25519keyhashes_from_bytes, mw = s.ed25519keyhashes_to_hex, kw = s.ed25519keyhashes_from_hex, Iw = s.ed25519keyhashes_to_json, xw = s.ed25519keyhashes_to_js_value, jw = s.ed25519keyhashes_from_json, zw = s.ed25519keyhashes_new, Fw = s.ed25519keyhashes_len, Rw = s.ed25519keyhashes_get, Ow = s.ed25519keyhashes_add, qw = s.ed25519keyhashes_contains, $w = s.ed25519keyhashes_to_option, Lw = s.__wbg_vkeywitnesses_free, Yw = s.vkeywitnesses_to_bytes, Jw = s.vkeywitnesses_from_bytes, Ew = s.vkeywitnesses_to_hex, Xw = s.vkeywitnesses_from_hex, Zw = s.vkeywitnesses_to_json, Qw = s.vkeywitnesses_to_js_value, Kw = s.vkeywitnesses_from_json, Uw = s.vkeywitnesses_new, Mw = s.vkeywitnesses_len, Sw = s.vkeywitnesses_get, Ww = s.vkeywitnesses_add, Hw = s.__wbg_bootstrapwitness_free, Gw = s.bootstrapwitness_to_bytes, Dw = s.bootstrapwitness_from_bytes, Aw = s.bootstrapwitness_to_hex, Tw = s.bootstrapwitness_from_hex, Nw = s.bootstrapwitness_to_json, Vw = s.bootstrapwitness_to_js_value, Cw = s.bootstrapwitness_from_json, Pw = s.bootstrapwitness_vkey, Bw = s.bootstrapwitness_signature, tu = s.bootstrapwitness_chain_code, _u = s.bootstrapwitness_attributes, eu = s.bootstrapwitness_new, ru = s.__wbg_bootstrapwitnesses_free, nu = s.bootstrapwitnesses_to_bytes, ou = s.bootstrapwitnesses_from_bytes, au = s.bootstrapwitnesses_to_hex, su = s.bootstrapwitnesses_from_hex, iu = s.bootstrapwitnesses_to_json, du = s.bootstrapwitnesses_to_js_value, cu = s.bootstrapwitnesses_from_json, gu = s.bootstrapwitnesses_new, pu = s.bootstrapwitnesses_len, wu = s.bootstrapwitnesses_get, uu = s.bootstrapwitnesses_add, bu = s.__wbg_ed25519signature_free, lu = s.ed25519signature_to_bytes, fu = s.ed25519signature_to_bech32, hu = s.ed25519signature_to_hex, vu = s.ed25519signature_from_bech32, yu = s.ed25519signature_from_hex, mu = s.ed25519signature_from_bytes, ku = s.__wbg_legacydaedalusprivatekey_free, Iu = s.legacydaedalusprivatekey_from_bytes, xu = s.legacydaedalusprivatekey_as_bytes, ju = s.legacydaedalusprivatekey_chaincode, zu = s.__wbg_int_free, Fu = s.int_to_bytes, Ru = s.int_from_bytes, Ou = s.int_to_hex, qu = s.int_from_hex, $u = s.int_to_json, Lu = s.int_to_js_value, Yu = s.int_from_json, Ju = s.int_new, Eu = s.int_new_negative, Xu = s.int_new_i32, Zu = s.int_is_positive, Qu = s.int_as_positive, Ku = s.int_as_negative, Uu = s.int_as_i32, Mu = s.int_as_i32_or_nothing, Su = s.int_as_i32_or_fail, Wu = s.int_to_str, Hu = s.int_from_str, Gu = s.publickey_from_hex, Du = s.publickey_to_hex, Au = s.publickey_hash, Tu = s.publickey_verify, Nu = s.publickey_from_bytes, Vu = s.publickey_as_bytes, Cu = s.publickey_to_bech32, Pu = s.publickey_from_bech32, Bu = s.__wbg_publickey_free, tb = s.privatekey_from_hex, _b = s.privatekey_to_hex, eb = s.privatekey_sign, rb = s.privatekey_from_normal_bytes, nb = s.privatekey_from_extended_bytes, ob = s.privatekey_as_bytes, ab = s.privatekey_to_bech32, sb = s.privatekey_from_bech32, ib = s.privatekey_generate_ed25519extended, db = s.privatekey_generate_ed25519, cb = s.privatekey_to_public, gb = s.__wbg_privatekey_free, pb = s.__wbg_ed25519keyhash_free, wb = s.ed25519keyhash_from_bytes, ub = s.ed25519keyhash_to_bytes, bb = s.ed25519keyhash_to_bech32, lb = s.ed25519keyhash_from_bech32, fb = s.ed25519keyhash_to_hex, hb = s.ed25519keyhash_from_hex, vb = s.__wbg_scripthash_free, yb = s.scripthash_from_bytes, mb = s.scripthash_to_bytes, kb = s.scripthash_to_bech32, Ib = s.scripthash_from_bech32, xb = s.scripthash_to_hex, jb = s.scripthash_from_hex, zb = s.__wbg_anchordatahash_free, Fb = s.anchordatahash_from_bytes, Rb = s.anchordatahash_to_bytes, Ob = s.anchordatahash_to_bech32, qb = s.anchordatahash_from_bech32, $b = s.anchordatahash_to_hex, Lb = s.anchordatahash_from_hex, Yb = s.__wbg_transactionhash_free, Jb = s.transactionhash_from_bytes, Eb = s.transactionhash_to_bytes, Xb = s.transactionhash_to_bech32, Zb = s.transactionhash_from_bech32, Qb = s.transactionhash_to_hex, Kb = s.transactionhash_from_hex, Ub = s.__wbg_genesisdelegatehash_free, Mb = s.genesisdelegatehash_from_bytes, Sb = s.genesisdelegatehash_to_bytes, Wb = s.genesisdelegatehash_to_bech32, Hb = s.genesisdelegatehash_from_bech32, Gb = s.genesisdelegatehash_to_hex, Db = s.genesisdelegatehash_from_hex, Ab = s.__wbg_genesishash_free, Tb = s.genesishash_from_bytes, Nb = s.genesishash_to_bytes, Vb = s.genesishash_to_bech32, Cb = s.genesishash_from_bech32, Pb = s.genesishash_to_hex, Bb = s.genesishash_from_hex, tl = s.__wbg_auxiliarydatahash_free, _l = s.auxiliarydatahash_from_bytes, el = s.auxiliarydatahash_to_bytes, rl = s.auxiliarydatahash_to_bech32, nl = s.auxiliarydatahash_from_bech32, ol = s.auxiliarydatahash_to_hex, al = s.auxiliarydatahash_from_hex, sl = s.__wbg_poolmetadatahash_free, il = s.poolmetadatahash_from_bytes, dl = s.poolmetadatahash_to_bytes, cl = s.poolmetadatahash_to_bech32, gl = s.poolmetadatahash_from_bech32, pl = s.poolmetadatahash_to_hex, wl = s.poolmetadatahash_from_hex, ul = s.__wbg_vrfkeyhash_free, bl = s.vrfkeyhash_from_bytes, ll = s.vrfkeyhash_to_bytes, fl = s.vrfkeyhash_to_bech32, hl = s.vrfkeyhash_from_bech32, vl = s.vrfkeyhash_to_hex, yl = s.vrfkeyhash_from_hex, ml = s.__wbg_blockhash_free, kl = s.blockhash_from_bytes, Il = s.blockhash_to_bytes, xl = s.blockhash_to_bech32, jl = s.blockhash_from_bech32, zl = s.blockhash_to_hex, Fl = s.blockhash_from_hex, Rl = s.__wbg_datahash_free, Ol = s.datahash_from_bytes, ql = s.datahash_to_bytes, $l = s.datahash_to_bech32, Ll = s.datahash_from_bech32, Yl = s.datahash_to_hex, Jl = s.datahash_from_hex, El = s.__wbg_scriptdatahash_free, Xl = s.scriptdatahash_from_bytes, Zl = s.scriptdatahash_to_bytes, Ql = s.scriptdatahash_to_bech32, Kl = s.scriptdatahash_from_bech32, Ul = s.scriptdatahash_to_hex, Ml = s.scriptdatahash_from_hex, Sl = s.__wbg_vrfvkey_free, Wl = s.vrfvkey_from_bytes, Hl = s.vrfvkey_to_bytes, Gl = s.vrfvkey_to_bech32, Dl = s.vrfvkey_from_bech32, Al = s.vrfvkey_to_hex, Tl = s.vrfvkey_from_hex, Nl = s.__wbg_kesvkey_free, Vl = s.kesvkey_from_bytes, Cl = s.kesvkey_to_bytes, Pl = s.kesvkey_to_bech32, Bl = s.kesvkey_from_bech32, tf = s.kesvkey_to_hex, _f = s.kesvkey_from_hex, ef = s.__wbg_certificatesbuilder_free, rf = s.certificatesbuilder_new, nf = s.certificatesbuilder_add, of = s.certificatesbuilder_add_with_plutus_witness, af = s.certificatesbuilder_add_with_native_script, sf = s.certificatesbuilder_get_plutus_witnesses, df = s.certificatesbuilder_get_ref_inputs, cf = s.certificatesbuilder_get_native_scripts, gf = s.certificatesbuilder_get_certificates_refund, pf = s.certificatesbuilder_get_certificates_deposit, wf = s.certificatesbuilder_has_plutus_scripts, uf = s.certificatesbuilder_build, bf = s.__wbg_transactionbatchlist_free, lf = s.transactionbatchlist_len, ff = s.transactionbatchlist_get, hf = s.__wbg_transactionbatch_free, vf = s.transactionbatch_len, yf = s.transactionbatch_get, mf = s.create_send_all, kf = s.__wbg_withdrawalsbuilder_free, If = s.withdrawalsbuilder_new, xf = s.withdrawalsbuilder_add, jf = s.withdrawalsbuilder_add_with_plutus_witness, zf = s.withdrawalsbuilder_add_with_native_script, Ff = s.withdrawalsbuilder_get_plutus_witnesses, Rf = s.withdrawalsbuilder_get_ref_inputs, Of = s.withdrawalsbuilder_get_native_scripts, qf = s.withdrawalsbuilder_get_total_withdrawals, $f = s.withdrawalsbuilder_has_plutus_scripts, Lf = s.withdrawalsbuilder_build, Yf = s.__wbg_fixedtransaction_free, Jf = s.fixedtransaction_to_bytes, Ef = s.fixedtransaction_from_bytes, Xf = s.fixedtransaction_to_hex, Zf = s.fixedtransaction_from_hex, Qf = s.fixedtransaction_new, Kf = s.fixedtransaction_new_with_auxiliary, Uf = s.fixedtransaction_new_from_body_bytes, Mf = s.fixedtransaction_body, Sf = s.fixedtransaction_raw_body, Wf = s.fixedtransaction_set_body, Hf = s.fixedtransaction_set_witness_set, Gf = s.fixedtransaction_witness_set, Df = s.fixedtransaction_raw_witness_set, Af = s.fixedtransaction_set_is_valid, Tf = s.fixedtransaction_is_valid, Nf = s.fixedtransaction_set_auxiliary_data, Vf = s.fixedtransaction_auxiliary_data, Cf = s.fixedtransaction_raw_auxiliary_data, Pf = s.fixedtransaction_transaction_hash, Bf = s.fixedtransaction_add_vkey_witness, th = s.fixedtransaction_add_bootstrap_witness, _h = s.fixedtransaction_sign_and_add_vkey_signature, eh = s.fixedtransaction_sign_and_add_icarus_bootstrap_signature, rh = s.fixedtransaction_sign_and_add_daedalus_bootstrap_signature, nh = s.__wbg_certificate_free, oh = s.certificate_to_bytes, ah = s.certificate_from_bytes, sh = s.certificate_to_hex, ih = s.certificate_from_hex, dh = s.certificate_to_json, ch = s.certificate_to_js_value, gh = s.certificate_from_json, ph = s.certificate_new_stake_registration, wh = s.certificate_new_reg_cert, uh = s.certificate_new_stake_deregistration, bh = s.certificate_new_unreg_cert, lh = s.certificate_new_stake_delegation, fh = s.certificate_new_pool_registration, hh = s.certificate_new_pool_retirement, vh = s.certificate_new_genesis_key_delegation, yh = s.certificate_new_move_instantaneous_rewards_cert, mh = s.certificate_new_committee_hot_auth, kh = s.certificate_new_committee_cold_resign, Ih = s.certificate_new_drep_deregistration, xh = s.certificate_new_drep_registration, jh = s.certificate_new_drep_update, zh = s.certificate_new_stake_and_vote_delegation, Fh = s.certificate_new_stake_registration_and_delegation, Rh = s.certificate_new_stake_vote_registration_and_delegation, Oh = s.certificate_new_vote_delegation, qh = s.certificate_new_vote_registration_and_delegation, $h = s.certificate_kind, Lh = s.certificate_as_stake_registration, Yh = s.certificate_as_reg_cert, Jh = s.certificate_as_stake_deregistration, Eh = s.certificate_as_unreg_cert, Xh = s.certificate_as_stake_delegation, Zh = s.certificate_as_pool_registration, Qh = s.certificate_as_pool_retirement, Kh = s.certificate_as_genesis_key_delegation, Uh = s.certificate_as_move_instantaneous_rewards_cert, Mh = s.certificate_as_committee_hot_auth, Sh = s.certificate_as_committee_cold_resign, Wh = s.certificate_as_drep_deregistration, Hh = s.certificate_as_drep_registration, Gh = s.certificate_as_drep_update, Dh = s.certificate_as_stake_and_vote_delegation, Ah = s.certificate_as_stake_registration_and_delegation, Th = s.certificate_as_stake_vote_registration_and_delegation, Nh = s.certificate_as_vote_delegation, Vh = s.certificate_as_vote_registration_and_delegation, Ch = s.certificate_has_required_script_witness, Ph = s.__wbg_certificates_free, Bh = s.certificates_to_bytes, tv = s.certificates_from_bytes, _v = s.certificates_to_hex, ev = s.certificates_from_hex, rv = s.certificates_to_json, nv = s.certificates_to_js_value, ov = s.certificates_from_json, av = s.certificates_new, sv = s.certificates_len, iv = s.certificates_get, dv = s.certificates_add, cv = s.__wbg_voter_free, gv = s.voter_to_bytes, pv = s.voter_from_bytes, wv = s.voter_to_hex, uv = s.voter_from_hex, bv = s.voter_to_json, lv = s.voter_to_js_value, fv = s.voter_from_json, hv = s.voter_new_constitutional_committee_hot_credential, vv = s.voter_new_drep_credential, yv = s.voter_new_stake_pool_key_hash, mv = s.voter_kind, kv = s.voter_to_constitutional_committee_hot_credential, Iv = s.voter_to_drep_credential, xv = s.voter_to_stake_pool_key_hash, jv = s.voter_has_script_credentials, zv = s.voter_to_key_hash, Fv = s.__wbg_plutusscripts_free, Rv = s.plutusscripts_to_bytes, Ov = s.plutusscripts_from_bytes, qv = s.plutusscripts_to_hex, $v = s.plutusscripts_from_hex, Lv = s.plutusscripts_to_json, Yv = s.plutusscripts_to_js_value, Jv = s.plutusscripts_from_json, Ev = s.plutusscripts_new, Xv = s.plutusscripts_len, Zv = s.plutusscripts_get, Qv = s.plutusscripts_add, Kv = s.__wbg_redeemertag_free, Uv = s.redeemertag_to_bytes, Mv = s.redeemertag_from_bytes, Sv = s.redeemertag_to_hex, Wv = s.redeemertag_from_hex, Hv = s.redeemertag_to_json, Gv = s.redeemertag_to_js_value, Dv = s.redeemertag_from_json, Av = s.redeemertag_new_spend, Tv = s.redeemertag_new_mint, Nv = s.redeemertag_new_cert, Vv = s.redeemertag_new_reward, Cv = s.redeemertag_new_vote, Pv = s.redeemertag_new_voting_proposal, Bv = s.redeemertag_kind, ty = s.__wbg_transactionwitnesssets_free, _y = s.transactionwitnesssets_to_bytes, ey = s.transactionwitnesssets_from_bytes, ry = s.transactionwitnesssets_to_hex, ny = s.transactionwitnesssets_from_hex, oy = s.transactionwitnesssets_to_json, ay = s.transactionwitnesssets_to_js_value, sy = s.transactionwitnesssets_from_json, iy = s.transactionwitnesssets_new, dy = s.transactionwitnesssets_len, cy = s.transactionwitnesssets_get, gy = s.transactionwitnesssets_add, py = s.__wbg_bigint_free, wy = s.bigint_to_bytes, uy = s.bigint_from_bytes, by = s.bigint_to_hex, ly = s.bigint_from_hex, fy = s.bigint_to_json, hy = s.bigint_to_js_value, vy = s.bigint_from_json, yy = s.bigint_is_zero, my = s.bigint_as_u64, ky = s.bigint_as_int, Iy = s.bigint_from_str, xy = s.bigint_to_str, jy = s.bigint_add, zy = s.bigint_sub, Fy = s.bigint_mul, Ry = s.bigint_pow, Oy = s.bigint_one, qy = s.bigint_zero, $y = s.bigint_abs, Ly = s.bigint_increment, Yy = s.bigint_div_ceil, Jy = s.bigint_div_floor, Ey = s.__wbg_transactionbodies_free, Xy = s.transactionbodies_to_bytes, Zy = s.transactionbodies_from_bytes, Qy = s.transactionbodies_to_hex, Ky = s.transactionbodies_from_hex, Uy = s.transactionbodies_to_json, My = s.transactionbodies_to_js_value, Sy = s.transactionbodies_from_json, Wy = s.transactionbodies_new, Hy = s.transactionbodies_len, Gy = s.transactionbodies_get, Dy = s.transactionbodies_add, Ay = s.__wbg_fixedtransactionbodies_free, Ty = s.fixedtransactionbodies_from_bytes, Ny = s.fixedtransactionbodies_from_hex, Vy = s.fixedtransactionbodies_new, Cy = s.fixedtransactionbodies_len, Py = s.fixedtransactionbodies_get, By = s.fixedtransactionbodies_add, tm = s.__wbg_txinputsbuilder_free, _m = s.txinputsbuilder_new, em = s.txinputsbuilder_add_regular_utxo, rm = s.txinputsbuilder_add_plutus_script_utxo, nm = s.txinputsbuilder_add_native_script_utxo, om = s.txinputsbuilder_add_key_input, am = s.txinputsbuilder_add_native_script_input, sm = s.txinputsbuilder_add_plutus_script_input, im = s.txinputsbuilder_add_bootstrap_input, dm = s.txinputsbuilder_add_regular_input, cm = s.txinputsbuilder_get_ref_inputs, gm = s.txinputsbuilder_get_native_input_scripts, pm = s.txinputsbuilder_get_plutus_input_scripts, wm = s.txinputsbuilder_len, um = s.txinputsbuilder_add_required_signer, bm = s.txinputsbuilder_add_required_signers, lm = s.txinputsbuilder_total_value, fm = s.txinputsbuilder_inputs, hm = s.txinputsbuilder_inputs_option, vm = s.__wbg_transactionbuilderconfig_free, ym = s.__wbg_transactionbuilderconfigbuilder_free, mm = s.transactionbuilderconfigbuilder_new, km = s.transactionbuilderconfigbuilder_fee_algo, Im = s.transactionbuilderconfigbuilder_coins_per_utxo_byte, xm = s.transactionbuilderconfigbuilder_ex_unit_prices, jm = s.transactionbuilderconfigbuilder_pool_deposit, zm = s.transactionbuilderconfigbuilder_key_deposit, Fm = s.transactionbuilderconfigbuilder_max_value_size, Rm = s.transactionbuilderconfigbuilder_max_tx_size, Om = s.transactionbuilderconfigbuilder_ref_script_coins_per_byte, qm = s.transactionbuilderconfigbuilder_prefer_pure_change, $m = s.transactionbuilderconfigbuilder_deduplicate_explicit_ref_inputs_with_regular_inputs, Lm = s.transactionbuilderconfigbuilder_do_not_burn_extra_change, Ym = s.transactionbuilderconfigbuilder_build, Jm = s.__wbg_changeconfig_free, Em = s.changeconfig_new, Xm = s.changeconfig_change_address, Zm = s.changeconfig_change_plutus_data, Qm = s.changeconfig_change_script_ref, Km = s.__wbg_transactionbuilder_free, Um = s.transactionbuilder_add_inputs_from, Mm = s.transactionbuilder_set_inputs, Sm = s.transactionbuilder_set_collateral, Wm = s.transactionbuilder_set_collateral_return, Hm = s.transactionbuilder_remove_collateral_return, Gm = s.transactionbuilder_set_collateral_return_and_total, Dm = s.transactionbuilder_set_total_collateral, Am = s.transactionbuilder_remove_total_collateral, Tm = s.transactionbuilder_set_total_collateral_and_return, Nm = s.transactionbuilder_add_reference_input, Vm = s.transactionbuilder_add_script_reference_input, Cm = s.transactionbuilder_add_key_input, Pm = s.transactionbuilder_add_native_script_input, Bm = s.transactionbuilder_add_plutus_script_input, t2 = s.transactionbuilder_add_bootstrap_input, _2 = s.transactionbuilder_add_regular_input, e2 = s.transactionbuilder_add_inputs_from_and_change, r2 = s.transactionbuilder_add_inputs_from_and_change_with_collateral_return, n2 = s.transactionbuilder_get_native_input_scripts, o2 = s.transactionbuilder_get_plutus_input_scripts, a2 = s.transactionbuilder_fee_for_input, s2 = s.transactionbuilder_add_output, i2 = s.transactionbuilder_fee_for_output, d2 = s.transactionbuilder_set_fee, c2 = s.transactionbuilder_set_min_fee, g2 = s.transactionbuilder_set_ttl, p2 = s.transactionbuilder_set_ttl_bignum, w2 = s.transactionbuilder_remove_ttl, u2 = s.transactionbuilder_set_validity_start_interval, b2 = s.transactionbuilder_set_validity_start_interval_bignum, l2 = s.transactionbuilder_remove_validity_start_interval, f2 = s.transactionbuilder_set_certs, h2 = s.transactionbuilder_remove_certs, v2 = s.transactionbuilder_set_certs_builder, y2 = s.transactionbuilder_set_withdrawals, m2 = s.transactionbuilder_set_withdrawals_builder, k2 = s.transactionbuilder_set_voting_builder, I2 = s.transactionbuilder_set_voting_proposal_builder, x2 = s.transactionbuilder_remove_withdrawals, j2 = s.transactionbuilder_get_auxiliary_data, z2 = s.transactionbuilder_set_auxiliary_data, F2 = s.transactionbuilder_remove_auxiliary_data, R2 = s.transactionbuilder_set_metadata, O2 = s.transactionbuilder_add_metadatum, q2 = s.transactionbuilder_add_json_metadatum, $2 = s.transactionbuilder_add_json_metadatum_with_schema, L2 = s.transactionbuilder_set_mint_builder, Y2 = s.transactionbuilder_remove_mint_builder, J2 = s.transactionbuilder_get_mint_builder, E2 = s.transactionbuilder_set_mint, X2 = s.transactionbuilder_get_mint, Z2 = s.transactionbuilder_get_mint_scripts, Q2 = s.transactionbuilder_set_mint_asset, K2 = s.transactionbuilder_add_mint_asset, U2 = s.transactionbuilder_add_mint_asset_and_output, M2 = s.transactionbuilder_add_mint_asset_and_output_min_required_coin, S2 = s.transactionbuilder_add_extra_witness_datum, W2 = s.transactionbuilder_get_extra_witness_datums, H2 = s.transactionbuilder_set_donation, G2 = s.transactionbuilder_get_donation, D2 = s.transactionbuilder_set_current_treasury_value, A2 = s.transactionbuilder_get_current_treasury_value, T2 = s.transactionbuilder_new, N2 = s.transactionbuilder_get_reference_inputs, V2 = s.transactionbuilder_get_explicit_input, C2 = s.transactionbuilder_get_implicit_input, P2 = s.transactionbuilder_get_total_input, B2 = s.transactionbuilder_get_total_output, t1 = s.transactionbuilder_get_explicit_output, _1 = s.transactionbuilder_get_deposit, e1 = s.transactionbuilder_get_fee_if_set, r1 = s.transactionbuilder_add_change_if_needed, n1 = s.transactionbuilder_add_change_if_needed_with_datum, o1 = s.transactionbuilder_calc_script_data_hash, a1 = s.transactionbuilder_set_script_data_hash, s1 = s.transactionbuilder_remove_script_data_hash, i1 = s.transactionbuilder_add_required_signer, d1 = s.transactionbuilder_full_size, c1 = s.transactionbuilder_output_sizes, g1 = s.transactionbuilder_build, p1 = s.transactionbuilder_build_tx, w1 = s.transactionbuilder_build_tx_unsafe, u1 = s.transactionbuilder_min_fee, b1 = s.__wbg_poolregistration_free, l1 = s.poolregistration_to_bytes, f1 = s.poolregistration_from_bytes, h1 = s.poolregistration_to_hex, v1 = s.poolregistration_from_hex, y1 = s.poolregistration_to_json, m1 = s.poolregistration_to_js_value, k1 = s.poolregistration_from_json, I1 = s.poolregistration_pool_params, x1 = s.poolregistration_new, j1 = s.__wbg_relays_free, z1 = s.relays_to_bytes, F1 = s.relays_from_bytes, R1 = s.relays_to_hex, O1 = s.relays_from_hex, q1 = s.relays_to_json, $1 = s.relays_to_js_value, L1 = s.relays_from_json, Y1 = s.relays_new, J1 = s.relays_len, E1 = s.relays_get, X1 = s.relays_add, Z1 = s.__wbg_poolparams_free, Q1 = s.poolparams_to_bytes, K1 = s.poolparams_from_bytes, U1 = s.poolparams_to_hex, M1 = s.poolparams_from_hex, S1 = s.poolparams_to_json, W1 = s.poolparams_to_js_value, H1 = s.poolparams_from_json, G1 = s.poolparams_operator, D1 = s.poolparams_vrf_keyhash, A1 = s.poolparams_pledge, T1 = s.poolparams_cost, N1 = s.poolparams_margin, V1 = s.poolparams_reward_account, C1 = s.poolparams_pool_owners, P1 = s.poolparams_relays, B1 = s.poolparams_pool_metadata, t0 = s.poolparams_new, _0 = s.__wbg_stakedelegation_free, e0 = s.stakedelegation_to_bytes, r0 = s.stakedelegation_from_bytes, n0 = s.stakedelegation_to_hex, o0 = s.stakedelegation_from_hex, a0 = s.stakedelegation_to_json, s0 = s.stakedelegation_to_js_value, i0 = s.stakedelegation_from_json, d0 = s.stakedelegation_stake_credential, c0 = s.stakedelegation_pool_keyhash, g0 = s.stakedelegation_new, p0 = s.stakedelegation_has_script_credentials, w0 = s.__wbg_transactioninput_free, u0 = s.transactioninput_to_bytes, b0 = s.transactioninput_from_bytes, l0 = s.transactioninput_to_hex, f0 = s.transactioninput_from_hex, h0 = s.transactioninput_to_json, v0 = s.transactioninput_to_js_value, y0 = s.transactioninput_from_json, m0 = s.transactioninput_transaction_id, k0 = s.transactioninput_index, I0 = s.transactioninput_new, x0 = s.__wbg_vrfcert_free, j0 = s.vrfcert_to_bytes, z0 = s.vrfcert_from_bytes, F0 = s.vrfcert_to_hex, R0 = s.vrfcert_from_hex, O0 = s.vrfcert_to_json, q0 = s.vrfcert_to_js_value, $0 = s.vrfcert_from_json, L0 = s.vrfcert_output, Y0 = s.vrfcert_proof, J0 = s.vrfcert_new, E0 = s.__wbg_scriptref_free, X0 = s.scriptref_to_bytes, Z0 = s.scriptref_from_bytes, Q0 = s.scriptref_to_hex, K0 = s.scriptref_from_hex, U0 = s.scriptref_to_json, M0 = s.scriptref_to_js_value, S0 = s.scriptref_from_json, W0 = s.scriptref_new_native_script, H0 = s.scriptref_new_plutus_script, G0 = s.scriptref_is_native_script, D0 = s.scriptref_is_plutus_script, A0 = s.scriptref_native_script, T0 = s.scriptref_plutus_script, N0 = s.scriptref_to_unwrapped_bytes, V0 = s.__wbg_headerbody_free, C0 = s.headerbody_to_bytes, P0 = s.headerbody_from_bytes, B0 = s.headerbody_to_hex, tk = s.headerbody_from_hex, _k = s.headerbody_to_json, ek = s.headerbody_to_js_value, rk = s.headerbody_from_json, nk = s.headerbody_block_number, ok = s.headerbody_slot, ak = s.headerbody_slot_bignum, sk = s.headerbody_prev_hash, ik = s.headerbody_issuer_vkey, dk = s.headerbody_vrf_vkey, ck = s.headerbody_has_nonce_and_leader_vrf, gk = s.headerbody_nonce_vrf_or_nothing, pk = s.headerbody_leader_vrf_or_nothing, wk = s.headerbody_has_vrf_result, uk = s.headerbody_vrf_result_or_nothing, bk = s.headerbody_block_body_size, lk = s.headerbody_block_body_hash, fk = s.headerbody_operational_cert, hk = s.headerbody_protocol_version, vk = s.headerbody_new, yk = s.headerbody_new_headerbody, mk = s.__wbg_operationalcert_free, kk = s.operationalcert_to_bytes, Ik = s.operationalcert_from_bytes, xk = s.operationalcert_to_hex, jk = s.operationalcert_from_hex, zk = s.operationalcert_to_json, Fk = s.operationalcert_to_js_value, Rk = s.operationalcert_from_json, Ok = s.operationalcert_hot_vkey, qk = s.operationalcert_sequence_number, $k = s.operationalcert_kes_period, Lk = s.operationalcert_sigma, Yk = s.operationalcert_new, Jk = s.__wbg_transactionunspentoutput_free, Ek = s.transactionunspentoutput_to_bytes, Xk = s.transactionunspentoutput_from_bytes, Zk = s.transactionunspentoutput_to_hex, Qk = s.transactionunspentoutput_from_hex, Kk = s.transactionunspentoutput_to_json, Uk = s.transactionunspentoutput_to_js_value, Mk = s.transactionunspentoutput_from_json, Sk = s.transactionunspentoutput_new, Wk = s.transactionunspentoutput_input, Hk = s.transactionunspentoutput_output, Gk = s.__wbg_transactionunspentoutputs_free, Dk = s.transactionunspentoutputs_to_json, Ak = s.transactionunspentoutputs_to_js_value, Tk = s.transactionunspentoutputs_from_json, Nk = s.transactionunspentoutputs_new, Vk = s.transactionunspentoutputs_len, Ck = s.transactionunspentoutputs_get, Pk = s.transactionunspentoutputs_add, Bk = s.__wbg_value_free, t3 = s.value_to_bytes, _3 = s.value_from_bytes, e3 = s.value_to_hex, r3 = s.value_from_hex, n3 = s.value_to_json, o3 = s.value_to_js_value, a3 = s.value_from_json, s3 = s.value_new, i3 = s.value_new_from_assets, d3 = s.value_new_with_assets, c3 = s.value_zero, g3 = s.value_is_zero, p3 = s.value_coin, w3 = s.value_set_coin, u3 = s.value_multiasset, b3 = s.value_set_multiasset, l3 = s.value_checked_add, f3 = s.value_checked_sub, h3 = s.value_clamped_sub, v3 = s.value_compare, y3 = s.make_daedalus_bootstrap_witness, m3 = s.make_icarus_bootstrap_witness, k3 = s.make_vkey_witness, I3 = s.hash_auxiliary_data, x3 = s.hash_plutus_data, j3 = s.hash_script_data, z3 = s.get_implicit_input, F3 = s.get_deposit, R3 = s.min_ada_for_output, O3 = s.encode_json_str_to_native_script, q3 = s.has_transaction_set_tag, $3 = s.__wbg_plutusscriptsource_free, L3 = s.plutusscriptsource_new, Y3 = s.plutusscriptsource_new_ref_input, J3 = s.plutusscriptsource_set_required_signers, E3 = s.plutusscriptsource_get_ref_script_size, X3 = s.__wbg_nativescriptsource_free, Z3 = s.nativescriptsource_new, Q3 = s.nativescriptsource_new_ref_input, K3 = s.nativescriptsource_set_required_signers, U3 = s.nativescriptsource_get_ref_script_size, M3 = s.__wbg_noconfidenceaction_free, S3 = s.noconfidenceaction_to_bytes, W3 = s.noconfidenceaction_from_bytes, H3 = s.noconfidenceaction_to_hex, G3 = s.noconfidenceaction_from_hex, D3 = s.noconfidenceaction_to_json, A3 = s.noconfidenceaction_to_js_value, T3 = s.noconfidenceaction_from_json, N3 = s.noconfidenceaction_gov_action_id, V3 = s.noconfidenceaction_new, C3 = s.noconfidenceaction_new_with_action_id, P3 = s.__wbg_committee_free, B3 = s.committee_to_bytes, t4 = s.committee_from_bytes, _4 = s.committee_to_hex, e4 = s.committee_from_hex, r4 = s.committee_to_json, n4 = s.committee_to_js_value, o4 = s.committee_from_json, a4 = s.committee_new, s4 = s.committee_members_keys, i4 = s.committee_quorum_threshold, d4 = s.committee_add_member, c4 = s.committee_get_member_epoch, g4 = s.__wbg_exunitprices_free, p4 = s.exunitprices_to_bytes, w4 = s.exunitprices_from_bytes, u4 = s.exunitprices_to_hex, b4 = s.exunitprices_from_hex, l4 = s.exunitprices_to_json, f4 = s.exunitprices_to_js_value, h4 = s.exunitprices_from_json, v4 = s.exunitprices_mem_price, y4 = s.exunitprices_step_price, m4 = s.exunitprices_new, k4 = s.__wbg_redeemer_free, I4 = s.redeemer_to_bytes, x4 = s.redeemer_from_bytes, j4 = s.redeemer_to_hex, z4 = s.redeemer_from_hex, F4 = s.redeemer_to_json, R4 = s.redeemer_to_js_value, O4 = s.redeemer_from_json, q4 = s.redeemer_tag, $4 = s.redeemer_index, L4 = s.redeemer_data, Y4 = s.redeemer_ex_units, J4 = s.redeemer_new, E4 = s.__wbg_strings_free, X4 = s.strings_new, Z4 = s.strings_len, Q4 = s.strings_get, K4 = s.strings_add, U4 = s.__wbg_transactionbody_free, M4 = s.transactionbody_to_bytes, S4 = s.transactionbody_from_bytes, W4 = s.transactionbody_to_hex, H4 = s.transactionbody_from_hex, G4 = s.transactionbody_to_json, D4 = s.transactionbody_to_js_value, A4 = s.transactionbody_from_json, T4 = s.transactionbody_inputs, N4 = s.transactionbody_outputs, V4 = s.transactionbody_fee, C4 = s.transactionbody_ttl, P4 = s.transactionbody_ttl_bignum, B4 = s.transactionbody_set_ttl, tI = s.transactionbody_remove_ttl, _I = s.transactionbody_set_certs, eI = s.transactionbody_certs, rI = s.transactionbody_set_withdrawals, nI = s.transactionbody_withdrawals, oI = s.transactionbody_set_update, aI = s.transactionbody_update, sI = s.transactionbody_set_auxiliary_data_hash, iI = s.transactionbody_auxiliary_data_hash, dI = s.transactionbody_set_validity_start_interval, cI = s.transactionbody_set_validity_start_interval_bignum, gI = s.transactionbody_validity_start_interval_bignum, pI = s.transactionbody_validity_start_interval, wI = s.transactionbody_set_mint, uI = s.transactionbody_mint, bI = s.transactionbody_set_reference_inputs, lI = s.transactionbody_reference_inputs, fI = s.transactionbody_set_script_data_hash, hI = s.transactionbody_script_data_hash, vI = s.transactionbody_set_collateral, yI = s.transactionbody_collateral, mI = s.transactionbody_set_required_signers, kI = s.transactionbody_required_signers, II = s.transactionbody_set_network_id, xI = s.transactionbody_network_id, jI = s.transactionbody_set_collateral_return, zI = s.transactionbody_collateral_return, FI = s.transactionbody_set_total_collateral, RI = s.transactionbody_total_collateral, OI = s.transactionbody_set_voting_procedures, qI = s.transactionbody_voting_procedures, $I = s.transactionbody_set_voting_proposals, LI = s.transactionbody_voting_proposals, YI = s.transactionbody_set_donation, JI = s.transactionbody_donation, EI = s.transactionbody_set_current_treasury_value, XI = s.transactionbody_current_treasury_value, ZI = s.transactionbody_new, QI = s.transactionbody_new_tx_body, KI = s.__wbg_poolvotingthresholds_free, UI = s.poolvotingthresholds_to_bytes, MI = s.poolvotingthresholds_from_bytes, SI = s.poolvotingthresholds_to_hex, WI = s.poolvotingthresholds_from_hex, HI = s.poolvotingthresholds_to_json, GI = s.poolvotingthresholds_to_js_value, DI = s.poolvotingthresholds_from_json, AI = s.poolvotingthresholds_new, TI = s.poolvotingthresholds_motion_no_confidence, NI = s.poolvotingthresholds_committee_normal, VI = s.poolvotingthresholds_committee_no_confidence, CI = s.poolvotingthresholds_hard_fork_initiation, PI = s.poolvotingthresholds_security_relevant_threshold, BI = s.__wbg_drepvotingthresholds_free, t6 = s.drepvotingthresholds_to_bytes, _6 = s.drepvotingthresholds_from_bytes, e6 = s.drepvotingthresholds_to_hex, r6 = s.drepvotingthresholds_from_hex, n6 = s.drepvotingthresholds_to_json, o6 = s.drepvotingthresholds_to_js_value, a6 = s.drepvotingthresholds_from_json, s6 = s.drepvotingthresholds_new, i6 = s.drepvotingthresholds_set_motion_no_confidence, d6 = s.drepvotingthresholds_set_committee_normal, c6 = s.drepvotingthresholds_set_committee_no_confidence, g6 = s.drepvotingthresholds_set_update_constitution, p6 = s.drepvotingthresholds_set_hard_fork_initiation, w6 = s.drepvotingthresholds_set_pp_network_group, u6 = s.drepvotingthresholds_set_pp_economic_group, b6 = s.drepvotingthresholds_set_pp_technical_group, l6 = s.drepvotingthresholds_set_pp_governance_group, f6 = s.drepvotingthresholds_set_treasury_withdrawal, h6 = s.drepvotingthresholds_motion_no_confidence, v6 = s.drepvotingthresholds_committee_normal, y6 = s.drepvotingthresholds_committee_no_confidence, m6 = s.drepvotingthresholds_update_constitution, k6 = s.drepvotingthresholds_hard_fork_initiation, I6 = s.drepvotingthresholds_pp_network_group, x6 = s.drepvotingthresholds_pp_economic_group, j6 = s.drepvotingthresholds_pp_technical_group, z6 = s.drepvotingthresholds_pp_governance_group, F6 = s.drepvotingthresholds_treasury_withdrawal, R6 = s.__wbg_protocolparamupdate_free, O6 = s.protocolparamupdate_to_bytes, q6 = s.protocolparamupdate_from_bytes, $6 = s.protocolparamupdate_to_hex, L6 = s.protocolparamupdate_from_hex, Y6 = s.protocolparamupdate_to_json, J6 = s.protocolparamupdate_to_js_value, E6 = s.protocolparamupdate_from_json, X6 = s.protocolparamupdate_set_minfee_a, Z6 = s.protocolparamupdate_minfee_a, Q6 = s.protocolparamupdate_set_minfee_b, K6 = s.protocolparamupdate_minfee_b, U6 = s.protocolparamupdate_set_max_block_body_size, M6 = s.protocolparamupdate_max_block_body_size, S6 = s.protocolparamupdate_set_max_tx_size, W6 = s.protocolparamupdate_max_tx_size, H6 = s.protocolparamupdate_set_max_block_header_size, G6 = s.protocolparamupdate_max_block_header_size, D6 = s.protocolparamupdate_set_key_deposit, A6 = s.protocolparamupdate_key_deposit, T6 = s.protocolparamupdate_set_pool_deposit, N6 = s.protocolparamupdate_pool_deposit, V6 = s.protocolparamupdate_set_max_epoch, C6 = s.protocolparamupdate_max_epoch, P6 = s.protocolparamupdate_set_n_opt, B6 = s.protocolparamupdate_n_opt, tx = s.protocolparamupdate_set_pool_pledge_influence, _x = s.protocolparamupdate_pool_pledge_influence, ex = s.protocolparamupdate_set_expansion_rate, rx = s.protocolparamupdate_expansion_rate, nx = s.protocolparamupdate_set_treasury_growth_rate, ox = s.protocolparamupdate_treasury_growth_rate, ax = s.protocolparamupdate_d, sx = s.protocolparamupdate_extra_entropy, ix = s.protocolparamupdate_set_protocol_version, dx = s.protocolparamupdate_protocol_version, cx = s.protocolparamupdate_set_min_pool_cost, gx = s.protocolparamupdate_min_pool_cost, px = s.protocolparamupdate_set_ada_per_utxo_byte, wx = s.protocolparamupdate_ada_per_utxo_byte, ux = s.protocolparamupdate_set_cost_models, bx = s.protocolparamupdate_cost_models, lx = s.protocolparamupdate_set_execution_costs, fx = s.protocolparamupdate_execution_costs, hx = s.protocolparamupdate_set_max_tx_ex_units, vx = s.protocolparamupdate_max_tx_ex_units, yx = s.protocolparamupdate_set_max_block_ex_units, mx = s.protocolparamupdate_max_block_ex_units, kx = s.protocolparamupdate_set_max_value_size, Ix = s.protocolparamupdate_max_value_size, xx = s.protocolparamupdate_set_collateral_percentage, jx = s.protocolparamupdate_collateral_percentage, zx = s.protocolparamupdate_set_max_collateral_inputs, Fx = s.protocolparamupdate_max_collateral_inputs, Rx = s.protocolparamupdate_set_pool_voting_thresholds, Ox = s.protocolparamupdate_pool_voting_thresholds, qx = s.protocolparamupdate_set_drep_voting_thresholds, $x = s.protocolparamupdate_drep_voting_thresholds, Lx = s.protocolparamupdate_set_min_committee_size, Yx = s.protocolparamupdate_min_committee_size, Jx = s.protocolparamupdate_set_committee_term_limit, Ex = s.protocolparamupdate_committee_term_limit, Xx = s.protocolparamupdate_set_governance_action_validity_period, Zx = s.protocolparamupdate_governance_action_validity_period, Qx = s.protocolparamupdate_set_governance_action_deposit, Kx = s.protocolparamupdate_governance_action_deposit, Ux = s.protocolparamupdate_set_drep_deposit, Mx = s.protocolparamupdate_drep_deposit, Sx = s.protocolparamupdate_set_drep_inactivity_period, Wx = s.protocolparamupdate_drep_inactivity_period, Hx = s.protocolparamupdate_set_ref_script_coins_per_byte, Gx = s.protocolparamupdate_ref_script_coins_per_byte, Dx = s.protocolparamupdate_new, Ax = s.__wbg_vkey_free, Tx = s.vkey_to_bytes, Nx = s.vkey_from_bytes, Vx = s.vkey_to_hex, Cx = s.vkey_from_hex, Px = s.vkey_to_json, Bx = s.vkey_to_js_value, tj = s.vkey_from_json, _j = s.vkey_new, ej = s.vkey_public_key, rj = s.__wbg_fixedtransactionbody_free, nj = s.fixedtransactionbody_from_bytes, oj = s.fixedtransactionbody_from_hex, aj = s.fixedtransactionbody_transaction_body, sj = s.fixedtransactionbody_tx_hash, ij = s.fixedtransactionbody_original_bytes, dj = s.pointer_cert_index_bignum, cj = s.pointer_tx_index_bignum, gj = s.pointer_slot_bignum, pj = s.pointer_cert_index, wj = s.pointer_tx_index, uj = s.pointer_slot, bj = s.pointer_new_pointer, lj = s.pointer_new, fj = s.__wbg_pointer_free, hj = s.__wbg_genesiskeydelegation_free, vj = s.genesiskeydelegation_to_bytes, yj = s.genesiskeydelegation_from_bytes, mj = s.genesiskeydelegation_to_hex, kj = s.genesiskeydelegation_from_hex, Ij = s.genesiskeydelegation_to_json, xj = s.genesiskeydelegation_to_js_value, jj = s.genesiskeydelegation_from_json, zj = s.genesiskeydelegation_genesishash, Fj = s.genesiskeydelegation_genesis_delegate_hash, Rj = s.genesiskeydelegation_vrf_keyhash, Oj = s.genesiskeydelegation_new, qj = s.__wbg_drepderegistration_free, $j = s.drepderegistration_to_bytes, Lj = s.drepderegistration_from_bytes, Yj = s.drepderegistration_to_hex, Jj = s.drepderegistration_from_hex, Ej = s.drepderegistration_to_json, Xj = s.drepderegistration_to_js_value, Zj = s.drepderegistration_from_json, Qj = s.drepderegistration_voting_credential, Kj = s.drepderegistration_coin, Uj = s.drepderegistration_new, Mj = s.drepderegistration_has_script_credentials, Sj = s.__wbg_anchor_free, Wj = s.anchor_to_bytes, Hj = s.anchor_from_bytes, Gj = s.anchor_to_hex, Dj = s.anchor_from_hex, Aj = s.anchor_to_json, Tj = s.anchor_to_js_value, Nj = s.anchor_from_json, Vj = s.anchor_url, Cj = s.anchor_anchor_data_hash, Pj = s.anchor_new, Bj = s.__wbg_governanceactionid_free, tz = s.governanceactionid_to_bytes, _z = s.governanceactionid_from_bytes, ez = s.governanceactionid_to_hex, rz = s.governanceactionid_from_hex, nz = s.governanceactionid_to_json, oz = s.governanceactionid_to_js_value, az = s.governanceactionid_from_json, sz = s.governanceactionid_transaction_id, iz = s.governanceactionid_index, dz = s.governanceactionid_new, cz = s.__wbg_transactionwitnessset_free, gz = s.transactionwitnessset_to_bytes, pz = s.transactionwitnessset_from_bytes, wz = s.transactionwitnessset_to_hex, uz = s.transactionwitnessset_from_hex, bz = s.transactionwitnessset_to_json, lz = s.transactionwitnessset_to_js_value, fz = s.transactionwitnessset_from_json, hz = s.transactionwitnessset_set_vkeys, vz = s.transactionwitnessset_vkeys, yz = s.transactionwitnessset_set_native_scripts, mz = s.transactionwitnessset_native_scripts, kz = s.transactionwitnessset_set_bootstraps, Iz = s.transactionwitnessset_bootstraps, xz = s.transactionwitnessset_set_plutus_scripts, jz = s.transactionwitnessset_plutus_scripts, zz = s.transactionwitnessset_set_plutus_data, Fz = s.transactionwitnessset_plutus_data, Rz = s.transactionwitnessset_set_redeemers, Oz = s.transactionwitnessset_redeemers, qz = s.transactionwitnessset_new, $z = s.__wbg_fixedtxwitnessesset_free, Lz = s.fixedtxwitnessesset_tx_witnesses_set, Yz = s.fixedtxwitnessesset_add_vkey_witness, Jz = s.fixedtxwitnessesset_add_bootstrap_witness, Ez = s.fixedtxwitnessesset_to_bytes, Xz = s.fixedtxwitnessesset_from_bytes, Zz = s.__wbg_kessignature_free, Qz = s.kessignature_to_bytes, Kz = s.kessignature_from_bytes, Uz = s.__wbg_nonce_free, Mz = s.nonce_to_bytes, Sz = s.nonce_from_bytes, Wz = s.nonce_to_hex, Hz = s.nonce_from_hex, Gz = s.nonce_to_json, Dz = s.nonce_to_js_value, Az = s.nonce_from_json, Tz = s.nonce_new_identity, Nz = s.nonce_new_from_hash, Vz = s.nonce_get_hash, Cz = s.__wbg_nativescripts_free, Pz = s.nativescripts_new, Bz = s.nativescripts_len, tF = s.nativescripts_get, _F = s.nativescripts_add, eF = s.nativescripts_to_bytes, rF = s.nativescripts_from_bytes, nF = s.nativescripts_to_hex, oF = s.nativescripts_from_hex, aF = s.nativescripts_to_json, sF = s.nativescripts_to_js_value, iF = s.nativescripts_from_json, dF = s.__wbg_unitinterval_free, cF = s.unitinterval_to_bytes, gF = s.unitinterval_from_bytes, pF = s.unitinterval_to_hex, wF = s.unitinterval_from_hex, uF = s.unitinterval_to_json, bF = s.unitinterval_to_js_value, lF = s.unitinterval_from_json, fF = s.unitinterval_numerator, hF = s.unitinterval_denominator, vF = s.unitinterval_new, yF = s.__wbg_transaction_free, mF = s.transaction_to_bytes, kF = s.transaction_from_bytes, IF = s.transaction_to_hex, xF = s.transaction_from_hex, jF = s.transaction_to_json, zF = s.transaction_to_js_value, FF = s.transaction_from_json, RF = s.transaction_body, OF = s.transaction_witness_set, qF = s.transaction_is_valid, $F = s.transaction_auxiliary_data, LF = s.transaction_set_is_valid, YF = s.transaction_new, JF = s.__wbg_transactionoutputs_free, EF = s.transactionoutputs_to_bytes, XF = s.transactionoutputs_from_bytes, ZF = s.transactionoutputs_to_hex, QF = s.transactionoutputs_from_hex, KF = s.transactionoutputs_to_json, UF = s.transactionoutputs_to_js_value, MF = s.transactionoutputs_from_json, SF = s.transactionoutputs_new, WF = s.transactionoutputs_len, HF = s.transactionoutputs_get, GF = s.transactionoutputs_add, DF = s.__wbg_datacost_free, AF = s.datacost_new_coins_per_byte, TF = s.datacost_coins_per_byte, NF = s.__wbg_transactionoutput_free, VF = s.transactionoutput_to_bytes, CF = s.transactionoutput_from_bytes, PF = s.transactionoutput_to_hex, BF = s.transactionoutput_from_hex, tR = s.transactionoutput_to_json, _R = s.transactionoutput_to_js_value, eR = s.transactionoutput_from_json, rR = s.transactionoutput_address, nR = s.transactionoutput_amount, oR = s.transactionoutput_data_hash, aR = s.transactionoutput_plutus_data, sR = s.transactionoutput_script_ref, iR = s.transactionoutput_set_script_ref, dR = s.transactionoutput_set_plutus_data, cR = s.transactionoutput_set_data_hash, gR = s.transactionoutput_has_plutus_data, pR = s.transactionoutput_has_data_hash, wR = s.transactionoutput_has_script_ref, uR = s.transactionoutput_new, bR = s.transactionoutput_serialization_format, lR = s.__wbg_ipv4_free, fR = s.ipv4_to_bytes, hR = s.ipv4_from_bytes, vR = s.ipv4_to_hex, yR = s.ipv4_from_hex, mR = s.ipv4_to_json, kR = s.ipv4_to_js_value, IR = s.ipv4_from_json, xR = s.ipv4_new, jR = s.ipv4_ip, zR = s.__wbg_ipv6_free, FR = s.ipv6_to_bytes, RR = s.ipv6_from_bytes, OR = s.ipv6_to_hex, qR = s.ipv6_from_hex, $R = s.ipv6_to_json, LR = s.ipv6_to_js_value, YR = s.ipv6_from_json, JR = s.ipv6_new, ER = s.ipv6_ip, XR = s.__wbg_url_free, ZR = s.url_to_bytes, QR = s.url_from_bytes, KR = s.url_to_hex, UR = s.url_from_hex, MR = s.url_to_json, SR = s.url_to_js_value, WR = s.url_from_json, HR = s.url_new, GR = s.url_url, DR = s.__wbg_dnsrecordaoraaaa_free, AR = s.dnsrecordaoraaaa_to_bytes, TR = s.dnsrecordaoraaaa_from_bytes, NR = s.dnsrecordaoraaaa_to_hex, VR = s.dnsrecordaoraaaa_from_hex, CR = s.dnsrecordaoraaaa_to_json, PR = s.dnsrecordaoraaaa_to_js_value, BR = s.dnsrecordaoraaaa_from_json, t5 = s.dnsrecordaoraaaa_new, _5 = s.dnsrecordaoraaaa_record, e5 = s.__wbg_dnsrecordsrv_free, r5 = s.dnsrecordsrv_to_bytes, n5 = s.dnsrecordsrv_from_bytes, o5 = s.dnsrecordsrv_to_hex, a5 = s.dnsrecordsrv_from_hex, s5 = s.dnsrecordsrv_to_json, i5 = s.dnsrecordsrv_to_js_value, d5 = s.dnsrecordsrv_from_json, c5 = s.dnsrecordsrv_new, g5 = s.dnsrecordsrv_record, p5 = s.__wbg_singlehostaddr_free, w5 = s.singlehostaddr_to_bytes, u5 = s.singlehostaddr_from_bytes, b5 = s.singlehostaddr_to_hex, l5 = s.singlehostaddr_from_hex, f5 = s.singlehostaddr_to_json, h5 = s.singlehostaddr_to_js_value, v5 = s.singlehostaddr_from_json, y5 = s.singlehostaddr_port, m5 = s.singlehostaddr_ipv4, k5 = s.singlehostaddr_ipv6, I5 = s.singlehostaddr_new, x5 = s.__wbg_singlehostname_free, j5 = s.singlehostname_to_bytes, z5 = s.singlehostname_from_bytes, F5 = s.singlehostname_to_hex, R5 = s.singlehostname_from_hex, O5 = s.singlehostname_to_json, q5 = s.singlehostname_to_js_value, $5 = s.singlehostname_from_json, L5 = s.singlehostname_port, Y5 = s.singlehostname_dns_name, J5 = s.singlehostname_new, E5 = s.__wbg_multihostname_free, X5 = s.multihostname_to_bytes, Z5 = s.multihostname_from_bytes, Q5 = s.multihostname_to_hex, K5 = s.multihostname_from_hex, U5 = s.multihostname_to_json, M5 = s.multihostname_to_js_value, S5 = s.multihostname_from_json, W5 = s.multihostname_dns_name, H5 = s.multihostname_new, G5 = s.__wbg_relay_free, D5 = s.relay_to_bytes, A5 = s.relay_from_bytes, T5 = s.relay_to_hex, N5 = s.relay_from_hex, V5 = s.relay_to_json, C5 = s.relay_to_js_value, P5 = s.relay_from_json, B5 = s.relay_new_single_host_addr, t9 = s.relay_new_single_host_name, _9 = s.relay_new_multi_host_name, e9 = s.relay_kind, r9 = s.relay_as_single_host_addr, n9 = s.relay_as_single_host_name, o9 = s.relay_as_multi_host_name, a9 = s.__wbg_poolmetadata_free, s9 = s.poolmetadata_to_bytes, i9 = s.poolmetadata_from_bytes, d9 = s.poolmetadata_to_hex, c9 = s.poolmetadata_from_hex, g9 = s.poolmetadata_to_json, p9 = s.poolmetadata_to_js_value, w9 = s.poolmetadata_from_json, u9 = s.poolmetadata_url, b9 = s.poolmetadata_pool_metadata_hash, l9 = s.poolmetadata_new, f9 = s.__wbg_rewardaddresses_free, h9 = s.rewardaddresses_to_bytes, v9 = s.rewardaddresses_from_bytes, y9 = s.rewardaddresses_to_hex, m9 = s.rewardaddresses_from_hex, k9 = s.rewardaddresses_to_json, I9 = s.rewardaddresses_to_js_value, x9 = s.rewardaddresses_from_json, j9 = s.rewardaddresses_new, z9 = s.rewardaddresses_len, F9 = s.rewardaddresses_get, R9 = s.rewardaddresses_add, O9 = s.__wbg_withdrawals_free, q9 = s.withdrawals_to_bytes, $9 = s.withdrawals_from_bytes, L9 = s.withdrawals_to_hex, Y9 = s.withdrawals_from_hex, J9 = s.withdrawals_to_json, E9 = s.withdrawals_to_js_value, X9 = s.withdrawals_from_json, Z9 = s.withdrawals_new, Q9 = s.withdrawals_len, K9 = s.withdrawals_insert, U9 = s.withdrawals_get, M9 = s.withdrawals_keys, S9 = s.__wbg_outputdatum_free, W9 = s.outputdatum_new_data_hash, H9 = s.outputdatum_new_data, G9 = s.outputdatum_data_hash, D9 = s.outputdatum_data, A9 = s.__wbg_update_free, T9 = s.update_to_bytes, N9 = s.update_from_bytes, V9 = s.update_to_hex, C9 = s.update_from_hex, P9 = s.update_to_json, B9 = s.update_to_js_value, tO = s.update_from_json, _O = s.update_proposed_protocol_parameter_updates, eO = s.update_epoch, rO = s.update_new, nO = s.__wbg_genesishashes_free, oO = s.genesishashes_to_bytes, aO = s.genesishashes_from_bytes, sO = s.genesishashes_to_hex, iO = s.genesishashes_from_hex, dO = s.genesishashes_to_json, cO = s.genesishashes_to_js_value, gO = s.genesishashes_from_json, pO = s.genesishashes_new, wO = s.genesishashes_len, uO = s.genesishashes_get, bO = s.genesishashes_add, lO = s.__wbg_scripthashes_free, fO = s.scripthashes_to_bytes, hO = s.scripthashes_from_bytes, vO = s.scripthashes_to_hex, yO = s.scripthashes_from_hex, mO = s.scripthashes_to_json, kO = s.scripthashes_to_js_value, IO = s.scripthashes_from_json, xO = s.scripthashes_new, jO = s.scripthashes_len, zO = s.scripthashes_get, FO = s.scripthashes_add, RO = s.__wbg_proposedprotocolparameterupdates_free, OO = s.proposedprotocolparameterupdates_to_bytes, qO = s.proposedprotocolparameterupdates_from_bytes, $O = s.proposedprotocolparameterupdates_to_hex, LO = s.proposedprotocolparameterupdates_from_hex, YO = s.proposedprotocolparameterupdates_to_json, JO = s.proposedprotocolparameterupdates_to_js_value, EO = s.proposedprotocolparameterupdates_from_json, XO = s.proposedprotocolparameterupdates_new, ZO = s.proposedprotocolparameterupdates_len, QO = s.proposedprotocolparameterupdates_insert, KO = s.proposedprotocolparameterupdates_get, UO = s.proposedprotocolparameterupdates_keys, MO = s.__wbg_protocolversion_free, SO = s.protocolversion_to_bytes, WO = s.protocolversion_from_bytes, HO = s.protocolversion_to_hex, GO = s.protocolversion_from_hex, DO = s.protocolversion_to_json, AO = s.protocolversion_to_js_value, TO = s.protocolversion_from_json, NO = s.protocolversion_major, VO = s.protocolversion_minor, CO = s.protocolversion_new, PO = s.__wbg_auxiliarydataset_free, BO = s.auxiliarydataset_new, t7 = s.auxiliarydataset_len, _7 = s.auxiliarydataset_insert, e7 = s.auxiliarydataset_get, r7 = s.auxiliarydataset_indices, n7 = s.__wbg_assetname_free, o7 = s.assetname_to_bytes, a7 = s.assetname_from_bytes, s7 = s.assetname_to_hex, i7 = s.assetname_from_hex, d7 = s.assetname_to_json, c7 = s.assetname_to_js_value, g7 = s.assetname_from_json, p7 = s.assetname_new, w7 = s.assetname_name, u7 = s.__wbg_assetnames_free, b7 = s.assetnames_to_bytes, l7 = s.assetnames_from_bytes, f7 = s.assetnames_to_hex, h7 = s.assetnames_from_hex, v7 = s.assetnames_to_json, y7 = s.assetnames_to_js_value, m7 = s.assetnames_from_json, k7 = s.assetnames_new, I7 = s.assetnames_len, x7 = s.assetnames_get, j7 = s.assetnames_add, z7 = s.__wbg_assets_free, F7 = s.assets_to_bytes, R7 = s.assets_from_bytes, O7 = s.assets_to_hex, q7 = s.assets_from_hex, $7 = s.assets_to_json, L7 = s.assets_to_js_value, Y7 = s.assets_from_json, J7 = s.assets_new, E7 = s.assets_len, X7 = s.assets_insert, Z7 = s.assets_get, Q7 = s.assets_keys, K7 = s.__wbg_multiasset_free, U7 = s.multiasset_to_bytes, M7 = s.multiasset_from_bytes, S7 = s.multiasset_to_hex, W7 = s.multiasset_from_hex, H7 = s.multiasset_to_json, G7 = s.multiasset_to_js_value, D7 = s.multiasset_from_json, A7 = s.multiasset_new, T7 = s.multiasset_len, N7 = s.multiasset_insert, V7 = s.multiasset_get, C7 = s.multiasset_set_asset, P7 = s.multiasset_get_asset, B7 = s.multiasset_keys, t8 = s.multiasset_sub, _8 = s.__wbg_mintsassets_free, e8 = s.mintsassets_to_json, r8 = s.mintsassets_to_js_value, n8 = s.mintsassets_from_json, o8 = s.mintsassets_new, a8 = s.mintsassets_add, s8 = s.mintsassets_get, i8 = s.mintsassets_len, d8 = s.__wbg_mintassets_free, c8 = s.mintassets_new, g8 = s.mintassets_new_from_entry, p8 = s.mintassets_len, w8 = s.mintassets_insert, u8 = s.mintassets_get, b8 = s.mintassets_keys, l8 = s.__wbg_mint_free, f8 = s.mint_to_bytes, h8 = s.mint_from_bytes, v8 = s.mint_to_hex, y8 = s.mint_from_hex, m8 = s.mint_to_json, k8 = s.mint_to_js_value, I8 = s.mint_from_json, x8 = s.mint_new, j8 = s.mint_new_from_entry, z8 = s.mint_len, F8 = s.mint_insert, R8 = s.mint_get, O8 = s.mint_keys, q8 = s.mint_as_positive_multiasset, $8 = s.mint_as_negative_multiasset, L8 = s.__wbg_networkid_free, Y8 = s.networkid_to_bytes, J8 = s.networkid_from_bytes, E8 = s.networkid_to_hex, X8 = s.networkid_from_hex, Z8 = s.networkid_to_json, Q8 = s.networkid_to_js_value, K8 = s.networkid_from_json, U8 = s.networkid_testnet, M8 = s.networkid_mainnet, S8 = s.networkid_kind, W8 = s.encrypt_with_password, H8 = s.decrypt_with_password, G8 = s.__wbg_poolretirement_free, D8 = s.poolretirement_to_bytes, A8 = s.poolretirement_from_bytes, T8 = s.poolretirement_to_hex, N8 = s.poolretirement_from_hex, V8 = s.poolretirement_to_json, C8 = s.poolretirement_to_js_value, P8 = s.poolretirement_from_json, B8 = s.poolretirement_pool_keyhash, tq = s.poolretirement_epoch, _q = s.poolretirement_new, eq = s.__wbg_stakeregistrationanddelegation_free, rq = s.stakeregistrationanddelegation_to_bytes, nq = s.stakeregistrationanddelegation_from_bytes, oq = s.stakeregistrationanddelegation_to_hex, aq = s.stakeregistrationanddelegation_from_hex, sq = s.stakeregistrationanddelegation_to_json, iq = s.stakeregistrationanddelegation_to_js_value, dq = s.stakeregistrationanddelegation_from_json, cq = s.stakeregistrationanddelegation_stake_credential, gq = s.stakeregistrationanddelegation_pool_keyhash, pq = s.stakeregistrationanddelegation_coin, wq = s.stakeregistrationanddelegation_new, uq = s.stakeregistrationanddelegation_has_script_credentials, bq = s.__wbg_committeehotauth_free, lq = s.committeehotauth_to_bytes, fq = s.committeehotauth_from_bytes, hq = s.committeehotauth_to_hex, vq = s.committeehotauth_from_hex, yq = s.committeehotauth_to_json, mq = s.committeehotauth_to_js_value, kq = s.committeehotauth_from_json, Iq = s.committeehotauth_committee_cold_credential, xq = s.committeehotauth_committee_hot_credential, jq = s.committeehotauth_new, zq = s.committeehotauth_has_script_credentials, Fq = s.__wbg_treasurywithdrawalsaction_free, Rq = s.treasurywithdrawalsaction_to_bytes, Oq = s.treasurywithdrawalsaction_from_bytes, qq = s.treasurywithdrawalsaction_to_hex, $q = s.treasurywithdrawalsaction_from_hex, Lq = s.treasurywithdrawalsaction_to_json, Yq = s.treasurywithdrawalsaction_to_js_value, Jq = s.treasurywithdrawalsaction_from_json, Eq = s.treasurywithdrawalsaction_withdrawals, Xq = s.treasurywithdrawalsaction_policy_hash, Zq = s.treasurywithdrawalsaction_new, Qq = s.treasurywithdrawalsaction_new_with_policy_hash, Kq = s.__wbg_treasurywithdrawals_free, Uq = s.treasurywithdrawals_to_json, Mq = s.treasurywithdrawals_to_js_value, Sq = s.treasurywithdrawals_from_json, Wq = s.treasurywithdrawals_new, Hq = s.treasurywithdrawals_get, Gq = s.treasurywithdrawals_insert, Dq = s.treasurywithdrawals_keys, Aq = s.treasurywithdrawals_len, Tq = s.__wbg_costmodel_free, Nq = s.costmodel_to_bytes, Vq = s.costmodel_from_bytes, Cq = s.costmodel_to_hex, Pq = s.costmodel_from_hex, Bq = s.costmodel_to_json, t$ = s.costmodel_to_js_value, _$ = s.costmodel_from_json, e$ = s.costmodel_new, r$ = s.costmodel_set, n$ = s.costmodel_get, o$ = s.costmodel_len, a$ = s.__wbg_redeemers_free, s$ = s.redeemers_to_bytes, i$ = s.redeemers_from_bytes, d$ = s.redeemers_to_hex, c$ = s.redeemers_from_hex, g$ = s.redeemers_to_json, p$ = s.redeemers_to_js_value, w$ = s.redeemers_from_json, u$ = s.redeemers_new, b$ = s.redeemers_len, l$ = s.redeemers_get, f$ = s.redeemers_add, h$ = s.redeemers_get_container_type, v$ = s.redeemers_total_ex_units, y$ = s.__wbg_constrplutusdata_free, m$ = s.constrplutusdata_to_bytes, k$ = s.constrplutusdata_from_bytes, I$ = s.constrplutusdata_to_hex, x$ = s.constrplutusdata_from_hex, j$ = s.constrplutusdata_alternative, z$ = s.constrplutusdata_data, F$ = s.constrplutusdata_new, R$ = s.__wbg_plutusmapvalues_free, O$ = s.plutusmapvalues_new, q$ = s.plutusmapvalues_len, $$ = s.plutusmapvalues_get, L$ = s.plutusmapvalues_add, Y$ = s.__wbg_plutusmap_free, J$ = s.plutusmap_to_bytes, E$ = s.plutusmap_from_bytes, X$ = s.plutusmap_to_hex, Z$ = s.plutusmap_from_hex, Q$ = s.plutusmap_new, K$ = s.plutusmap_len, U$ = s.plutusmap_insert, M$ = s.plutusmap_get, S$ = s.plutusmap_keys, W$ = s.__wbg_plutusdata_free, H$ = s.plutusdata_to_bytes, G$ = s.plutusdata_from_bytes, D$ = s.plutusdata_to_hex, A$ = s.plutusdata_from_hex, T$ = s.plutusdata_new_constr_plutus_data, N$ = s.plutusdata_new_empty_constr_plutus_data, V$ = s.plutusdata_new_single_value_constr_plutus_data, C$ = s.plutusdata_new_map, P$ = s.plutusdata_new_list, B$ = s.plutusdata_new_integer, tL = s.plutusdata_new_bytes, _L = s.plutusdata_kind, eL = s.plutusdata_as_constr_plutus_data, rL = s.plutusdata_as_map, nL = s.plutusdata_as_list, oL = s.plutusdata_as_integer, aL = s.plutusdata_as_bytes, sL = s.plutusdata_from_address, iL = s.plutusdata_as_address, dL = s.__wbg_plutuslist_free, cL = s.plutuslist_to_bytes, gL = s.plutuslist_from_bytes, pL = s.plutuslist_to_hex, wL = s.plutuslist_from_hex, uL = s.plutuslist_new, bL = s.plutuslist_len, lL = s.plutuslist_get, fL = s.plutuslist_add, hL = s.encode_json_str_to_plutus_datum, vL = s.decode_plutus_datum_to_json_str, yL = s.__wbg_vkeys_free, mL = s.vkeys_new, kL = s.vkeys_len, IL = s.vkeys_get, xL = s.vkeys_add, jL = s.__wbg_nativescript_free, zL = s.nativescript_to_bytes, FL = s.nativescript_from_bytes, RL = s.nativescript_to_hex, OL = s.nativescript_from_hex, qL = s.nativescript_to_json, $L = s.nativescript_to_js_value, LL = s.nativescript_from_json, YL = s.nativescript_hash, JL = s.nativescript_new_script_pubkey, EL = s.nativescript_new_script_all, XL = s.nativescript_new_script_any, ZL = s.nativescript_new_script_n_of_k, QL = s.nativescript_new_timelock_start, KL = s.nativescript_new_timelock_expiry, UL = s.nativescript_kind, ML = s.nativescript_as_script_pubkey, SL = s.nativescript_as_script_all, WL = s.nativescript_as_script_any, HL = s.nativescript_as_script_n_of_k, GL = s.nativescript_as_timelock_start, DL = s.nativescript_as_timelock_expiry, AL = s.nativescript_get_required_signers, TL = s.__wbg_scriptpubkey_free, NL = s.scriptpubkey_to_bytes, VL = s.scriptpubkey_from_bytes, CL = s.scriptpubkey_to_hex, PL = s.scriptpubkey_from_hex, BL = s.scriptpubkey_to_json, tY = s.scriptpubkey_to_js_value, _Y = s.scriptpubkey_from_json, eY = s.scriptpubkey_addr_keyhash, rY = s.scriptpubkey_new, nY = s.__wbg_scriptall_free, oY = s.scriptall_to_bytes, aY = s.scriptall_from_bytes, sY = s.scriptall_to_hex, iY = s.scriptall_from_hex, dY = s.scriptall_to_json, cY = s.scriptall_to_js_value, gY = s.scriptall_from_json, pY = s.scriptall_native_scripts, wY = s.scriptall_new, uY = s.__wbg_scriptany_free, bY = s.scriptany_to_bytes, lY = s.scriptany_from_bytes, fY = s.scriptany_to_hex, hY = s.scriptany_from_hex, vY = s.scriptany_to_json, yY = s.scriptany_to_js_value, mY = s.scriptany_from_json, kY = s.scriptany_native_scripts, IY = s.scriptany_new, xY = s.__wbg_scriptnofk_free, jY = s.scriptnofk_to_bytes, zY = s.scriptnofk_from_bytes, FY = s.scriptnofk_to_hex, RY = s.scriptnofk_from_hex, OY = s.scriptnofk_to_json, qY = s.scriptnofk_to_js_value, $Y = s.scriptnofk_from_json, LY = s.scriptnofk_n, YY = s.scriptnofk_native_scripts, JY = s.scriptnofk_new, EY = s.__wbg_timelockstart_free, XY = s.timelockstart_to_bytes, ZY = s.timelockstart_from_bytes, QY = s.timelockstart_to_hex, KY = s.timelockstart_from_hex, UY = s.timelockstart_to_json, MY = s.timelockstart_to_js_value, SY = s.timelockstart_from_json, WY = s.timelockstart_slot, HY = s.timelockstart_slot_bignum, GY = s.timelockstart_new, DY = s.timelockstart_new_timelockstart, AY = s.__wbg_timelockexpiry_free, TY = s.timelockexpiry_to_bytes, NY = s.timelockexpiry_from_bytes, VY = s.timelockexpiry_to_hex, CY = s.timelockexpiry_from_hex, PY = s.timelockexpiry_to_json, BY = s.timelockexpiry_to_js_value, tJ = s.timelockexpiry_from_json, _J = s.timelockexpiry_slot, eJ = s.timelockexpiry_slot_bignum, rJ = s.timelockexpiry_new, nJ = s.timelockexpiry_new_timelockexpiry, oJ = s.plutusdata_to_json, aJ = s.plutusdata_from_json, sJ = s.__wbg_networkinfo_free, iJ = s.networkinfo_new, dJ = s.networkinfo_network_id, cJ = s.networkinfo_protocol_magic, gJ = s.networkinfo_testnet_preview, pJ = s.networkinfo_testnet_preprod, wJ = s.networkinfo_mainnet, uJ = s.__wbg_malformedaddress_free, bJ = s.malformedaddress_original_bytes, lJ = s.malformedaddress_to_address, fJ = s.malformedaddress_from_address, hJ = s.__wbg_byronaddress_free, vJ = s.byronaddress_to_base58, yJ = s.byronaddress_to_bytes, mJ = s.byronaddress_from_bytes, kJ = s.byronaddress_byron_protocol_magic, IJ = s.byronaddress_byron_address_kind, xJ = s.byronaddress_attributes, jJ = s.byronaddress_network_id, zJ = s.byronaddress_from_base58, FJ = s.byronaddress_icarus_from_key, RJ = s.byronaddress_is_valid, OJ = s.byronaddress_to_address, qJ = s.byronaddress_from_address, $J = s.__wbg_address_free, LJ = s.address_from_bytes, YJ = s.address_to_json, JJ = s.address_to_js_value, EJ = s.address_from_json, XJ = s.address_kind, ZJ = s.address_payment_cred, QJ = s.address_is_malformed, KJ = s.address_to_hex, UJ = s.address_from_hex, MJ = s.address_to_bytes, SJ = s.address_to_bech32, WJ = s.address_from_bech32, HJ = s.address_network_id, GJ = s.__wbg_baseaddress_free, DJ = s.baseaddress_new, AJ = s.baseaddress_payment_cred, TJ = s.baseaddress_stake_cred, NJ = s.baseaddress_to_address, VJ = s.baseaddress_from_address, CJ = s.baseaddress_network_id, PJ = s.__wbg_enterpriseaddress_free, BJ = s.enterpriseaddress_new, tE = s.enterpriseaddress_payment_cred, _E = s.enterpriseaddress_to_address, eE = s.enterpriseaddress_from_address, rE = s.enterpriseaddress_network_id, nE = s.__wbg_rewardaddress_free, oE = s.rewardaddress_new, aE = s.rewardaddress_payment_cred, sE = s.rewardaddress_to_address, iE = s.rewardaddress_from_address, dE = s.rewardaddress_network_id, cE = s.__wbg_pointeraddress_free, gE = s.pointeraddress_new, pE = s.pointeraddress_payment_cred, wE = s.pointeraddress_stake_pointer, uE = s.pointeraddress_to_address, bE = s.pointeraddress_from_address, lE = s.pointeraddress_network_id, fE = s.__wbg_publickeys_free, hE = s.publickeys_new, vE = s.publickeys_size, yE = s.publickeys_get, mE = s.publickeys_add, kE = s.__wbg_moveinstantaneousrewardscert_free, IE = s.moveinstantaneousrewardscert_to_bytes, xE = s.moveinstantaneousrewardscert_from_bytes, jE = s.moveinstantaneousrewardscert_to_hex, zE = s.moveinstantaneousrewardscert_from_hex, FE = s.moveinstantaneousrewardscert_to_json, RE = s.moveinstantaneousrewardscert_to_js_value, OE = s.moveinstantaneousrewardscert_from_json, qE = s.moveinstantaneousrewardscert_move_instantaneous_reward, $E = s.moveinstantaneousrewardscert_new, LE = s.__wbg_mirtostakecredentials_free, YE = s.mirtostakecredentials_to_bytes, JE = s.mirtostakecredentials_from_bytes, EE = s.mirtostakecredentials_to_hex, XE = s.mirtostakecredentials_from_hex, ZE = s.mirtostakecredentials_to_json, QE = s.mirtostakecredentials_to_js_value, KE = s.mirtostakecredentials_from_json, UE = s.mirtostakecredentials_new, ME = s.mirtostakecredentials_len, SE = s.mirtostakecredentials_insert, WE = s.mirtostakecredentials_get, HE = s.mirtostakecredentials_keys, GE = s.__wbg_moveinstantaneousreward_free, DE = s.moveinstantaneousreward_to_bytes, AE = s.moveinstantaneousreward_from_bytes, TE = s.moveinstantaneousreward_to_hex, NE = s.moveinstantaneousreward_from_hex, VE = s.moveinstantaneousreward_to_json, CE = s.moveinstantaneousreward_to_js_value, PE = s.moveinstantaneousreward_from_json, BE = s.moveinstantaneousreward_new_to_other_pot, tX = s.moveinstantaneousreward_new_to_stake_creds, _X = s.moveinstantaneousreward_pot, eX = s.moveinstantaneousreward_kind, rX = s.moveinstantaneousreward_as_to_other_pot, nX = s.moveinstantaneousreward_as_to_stake_creds, oX = s.__wbg_stakederegistration_free, aX = s.stakederegistration_to_bytes, sX = s.stakederegistration_from_bytes, iX = s.stakederegistration_to_hex, dX = s.stakederegistration_from_hex, cX = s.stakederegistration_to_json, gX = s.stakederegistration_to_js_value, pX = s.stakederegistration_from_json, wX = s.stakederegistration_stake_credential, uX = s.stakederegistration_coin, bX = s.stakederegistration_new, lX = s.stakederegistration_new_with_explicit_refund, fX = s.stakederegistration_has_script_credentials, hX = s.__wbg_votedelegation_free, vX = s.votedelegation_to_bytes, yX = s.votedelegation_from_bytes, mX = s.votedelegation_to_hex, kX = s.votedelegation_from_hex, IX = s.votedelegation_to_json, xX = s.votedelegation_to_js_value, jX = s.votedelegation_from_json, zX = s.votedelegation_stake_credential, FX = s.votedelegation_drep, RX = s.votedelegation_new, OX = s.votedelegation_has_script_credentials, qX = s.__wbg_stakevoteregistrationanddelegation_free, $X = s.stakevoteregistrationanddelegation_to_bytes, LX = s.stakevoteregistrationanddelegation_from_bytes, YX = s.stakevoteregistrationanddelegation_to_hex, JX = s.stakevoteregistrationanddelegation_from_hex, EX = s.stakevoteregistrationanddelegation_to_json, XX = s.stakevoteregistrationanddelegation_to_js_value, ZX = s.stakevoteregistrationanddelegation_from_json, QX = s.stakevoteregistrationanddelegation_stake_credential, KX = s.stakevoteregistrationanddelegation_pool_keyhash, UX = s.stakevoteregistrationanddelegation_drep, MX = s.stakevoteregistrationanddelegation_coin, SX = s.stakevoteregistrationanddelegation_new, WX = s.stakevoteregistrationanddelegation_has_script_credentials, HX = s.__wbg_voteregistrationanddelegation_free, GX = s.voteregistrationanddelegation_to_bytes, DX = s.voteregistrationanddelegation_from_bytes, AX = s.voteregistrationanddelegation_to_hex, TX = s.voteregistrationanddelegation_from_hex, NX = s.voteregistrationanddelegation_to_json, VX = s.voteregistrationanddelegation_to_js_value, CX = s.voteregistrationanddelegation_from_json, PX = s.voteregistrationanddelegation_stake_credential, BX = s.voteregistrationanddelegation_drep, tZ = s.voteregistrationanddelegation_coin, _Z = s.voteregistrationanddelegation_new, eZ = s.voteregistrationanddelegation_has_script_credentials, rZ = s.__wbg_drep_free, nZ = s.drep_to_bytes, oZ = s.drep_from_bytes, aZ = s.drep_to_hex, sZ = s.drep_from_hex, iZ = s.drep_to_json, dZ = s.drep_to_js_value, cZ = s.drep_from_json, gZ = s.drep_new_key_hash, pZ = s.drep_new_script_hash, wZ = s.drep_new_always_abstain, uZ = s.drep_new_always_no_confidence, bZ = s.drep_new_from_credential, lZ = s.drep_kind, fZ = s.drep_to_key_hash, hZ = s.drep_to_script_hash, vZ = s.drep_to_bech32, yZ = s.drep_from_bech32, mZ = s.__wbg_governanceactionids_free, kZ = s.governanceactionids_to_json, IZ = s.governanceactionids_to_js_value, xZ = s.governanceactionids_from_json, jZ = s.governanceactionids_new, zZ = s.governanceactionids_add, FZ = s.governanceactionids_get, RZ = s.governanceactionids_len, OZ = s.__wbg_exunits_free, qZ = s.exunits_to_bytes, $Z = s.exunits_from_bytes, LZ = s.exunits_to_hex, YZ = s.exunits_from_hex, JZ = s.exunits_to_json, EZ = s.exunits_to_js_value, XZ = s.exunits_from_json, ZZ = s.exunits_mem, QZ = s.exunits_steps, KZ = s.exunits_new, UZ = s.__wbg_metadatamap_free, MZ = s.metadatamap_to_bytes, SZ = s.metadatamap_from_bytes, WZ = s.metadatamap_to_hex, HZ = s.metadatamap_from_hex, GZ = s.metadatamap_new, DZ = s.metadatamap_len, AZ = s.metadatamap_insert, TZ = s.metadatamap_insert_str, NZ = s.metadatamap_insert_i32, VZ = s.metadatamap_get, CZ = s.metadatamap_get_str, PZ = s.metadatamap_get_i32, BZ = s.metadatamap_has, tQ = s.metadatamap_keys, _Q = s.__wbg_metadatalist_free, eQ = s.metadatalist_to_bytes, rQ = s.metadatalist_from_bytes, nQ = s.metadatalist_to_hex, oQ = s.metadatalist_from_hex, aQ = s.metadatalist_new, sQ = s.metadatalist_len, iQ = s.metadatalist_get, dQ = s.metadatalist_add, cQ = s.__wbg_transactionmetadatum_free, gQ = s.transactionmetadatum_to_bytes, pQ = s.transactionmetadatum_from_bytes, wQ = s.transactionmetadatum_to_hex, uQ = s.transactionmetadatum_from_hex, bQ = s.transactionmetadatum_new_map, lQ = s.transactionmetadatum_new_list, fQ = s.transactionmetadatum_new_int, hQ = s.transactionmetadatum_new_bytes, vQ = s.transactionmetadatum_new_text, yQ = s.transactionmetadatum_kind, mQ = s.transactionmetadatum_as_map, kQ = s.transactionmetadatum_as_list, IQ = s.transactionmetadatum_as_int, xQ = s.transactionmetadatum_as_bytes, jQ = s.transactionmetadatum_as_text, zQ = s.__wbg_transactionmetadatumlabels_free, FQ = s.transactionmetadatumlabels_to_bytes, RQ = s.transactionmetadatumlabels_from_bytes, OQ = s.transactionmetadatumlabels_to_hex, qQ = s.transactionmetadatumlabels_from_hex, $Q = s.transactionmetadatumlabels_new, LQ = s.transactionmetadatumlabels_len, YQ = s.transactionmetadatumlabels_get, JQ = s.transactionmetadatumlabels_add, EQ = s.__wbg_generaltransactionmetadata_free, XQ = s.generaltransactionmetadata_to_bytes, ZQ = s.generaltransactionmetadata_from_bytes, QQ = s.generaltransactionmetadata_to_hex, KQ = s.generaltransactionmetadata_from_hex, UQ = s.generaltransactionmetadata_to_json, MQ = s.generaltransactionmetadata_to_js_value, SQ = s.generaltransactionmetadata_from_json, WQ = s.generaltransactionmetadata_new, HQ = s.generaltransactionmetadata_len, GQ = s.generaltransactionmetadata_insert, DQ = s.generaltransactionmetadata_get, AQ = s.generaltransactionmetadata_keys, TQ = s.__wbg_auxiliarydata_free, NQ = s.auxiliarydata_to_bytes, VQ = s.auxiliarydata_from_bytes, CQ = s.auxiliarydata_to_hex, PQ = s.auxiliarydata_from_hex, BQ = s.auxiliarydata_to_json, tK = s.auxiliarydata_to_js_value, _K = s.auxiliarydata_from_json, eK = s.auxiliarydata_new, rK = s.auxiliarydata_metadata, nK = s.auxiliarydata_set_metadata, oK = s.auxiliarydata_native_scripts, aK = s.auxiliarydata_set_native_scripts, sK = s.auxiliarydata_plutus_scripts, iK = s.auxiliarydata_set_plutus_scripts, dK = s.auxiliarydata_prefer_alonzo_format, cK = s.auxiliarydata_set_prefer_alonzo_format, gK = s.encode_arbitrary_bytes_as_metadatum, pK = s.decode_arbitrary_bytes_from_metadatum, wK = s.encode_json_str_to_metadatum, uK = s.decode_metadatum_to_json_str, bK = s.__wbg_vkeywitness_free, lK = s.vkeywitness_to_bytes, fK = s.vkeywitness_from_bytes, hK = s.vkeywitness_to_hex, vK = s.vkeywitness_from_hex, yK = s.vkeywitness_to_json, mK = s.vkeywitness_to_js_value, kK = s.vkeywitness_from_json, IK = s.vkeywitness_new, xK = s.vkeywitness_vkey, jK = s.vkeywitness_signature, zK = s.__wbg_block_free, FK = s.block_to_bytes, RK = s.block_from_bytes, OK = s.block_to_hex, qK = s.block_from_hex, $K = s.block_to_json, LK = s.block_to_js_value, YK = s.block_from_json, JK = s.block_header, EK = s.block_transaction_bodies, XK = s.block_transaction_witness_sets, ZK = s.block_auxiliary_data_set, QK = s.block_invalid_transactions, KK = s.block_new, UK = s.__wbg_fixedblock_free, MK = s.fixedblock_from_bytes, SK = s.fixedblock_from_hex, WK = s.fixedblock_header, HK = s.fixedblock_transaction_bodies, GK = s.fixedblock_transaction_witness_sets, DK = s.fixedblock_auxiliary_data_set, AK = s.fixedblock_invalid_transactions, TK = s.fixedblock_block_hash, NK = s.__wbg_header_free, VK = s.header_to_bytes, CK = s.header_from_bytes, PK = s.header_to_hex, BK = s.header_from_hex, tU = s.header_to_json, _U = s.header_to_js_value, eU = s.header_from_json, rU = s.header_header_body, nU = s.header_body_signature, oU = s.header_new, aU = s.__wbg_fixedversionedblock_free, sU = s.fixedversionedblock_from_bytes, iU = s.fixedversionedblock_from_hex, dU = s.fixedversionedblock_block, cU = s.fixedversionedblock_era, gU = s.__wbg_versionedblock_free, pU = s.versionedblock_to_bytes, wU = s.versionedblock_from_bytes, uU = s.versionedblock_to_hex, bU = s.versionedblock_from_hex, lU = s.versionedblock_to_json, fU = s.versionedblock_to_js_value, hU = s.versionedblock_from_json, vU = s.versionedblock_new, yU = s.versionedblock_block, mU = s.versionedblock_era, kU = s.bip32publickey_from_hex, IU = s.bip32publickey_to_hex, xU = s.bip32publickey_chaincode, jU = s.bip32publickey_to_bech32, zU = s.bip32publickey_from_bech32, FU = s.bip32publickey_as_bytes, RU = s.bip32publickey_from_bytes, OU = s.bip32publickey_to_raw_key, qU = s.bip32publickey_derive, $U = s.__wbg_bip32publickey_free, LU = s.__wbg_votingproposalbuilder_free, YU = s.votingproposalbuilder_new, JU = s.votingproposalbuilder_add, EU = s.votingproposalbuilder_add_with_plutus_witness, XU = s.votingproposalbuilder_get_plutus_witnesses, ZU = s.votingproposalbuilder_get_ref_inputs, QU = s.votingproposalbuilder_has_plutus_scripts, KU = s.votingproposalbuilder_build, UU = s.__wbg_transactionoutputbuilder_free, MU = s.transactionoutputbuilder_new, SU = s.transactionoutputbuilder_with_address, WU = s.transactionoutputbuilder_with_data_hash, HU = s.transactionoutputbuilder_with_plutus_data, GU = s.transactionoutputbuilder_with_script_ref, DU = s.transactionoutputbuilder_next, AU = s.__wbg_transactionoutputamountbuilder_free, TU = s.transactionoutputamountbuilder_with_value, NU = s.transactionoutputamountbuilder_with_coin, VU = s.transactionoutputamountbuilder_with_coin_and_asset, CU = s.transactionoutputamountbuilder_with_asset_and_min_required_coin_by_utxo_cost, PU = s.transactionoutputamountbuilder_build, BU = s.__wbg_stakeandvotedelegation_free, tM = s.stakeandvotedelegation_to_bytes, _M = s.stakeandvotedelegation_from_bytes, eM = s.stakeandvotedelegation_to_hex, rM = s.stakeandvotedelegation_from_hex, nM = s.stakeandvotedelegation_to_json, oM = s.stakeandvotedelegation_to_js_value, aM = s.stakeandvotedelegation_from_json, sM = s.stakeandvotedelegation_stake_credential, iM = s.stakeandvotedelegation_pool_keyhash, dM = s.stakeandvotedelegation_drep, cM = s.stakeandvotedelegation_new, gM = s.stakeandvotedelegation_has_script_credentials, pM = s.__wbg_drepupdate_free, wM = s.drepupdate_to_bytes, uM = s.drepupdate_from_bytes, bM = s.drepupdate_to_hex, lM = s.drepupdate_from_hex, fM = s.drepupdate_to_json, hM = s.drepupdate_to_js_value, vM = s.drepupdate_from_json, yM = s.drepupdate_voting_credential, mM = s.drepupdate_anchor, kM = s.drepupdate_new, IM = s.drepupdate_new_with_anchor, xM = s.drepupdate_has_script_credentials, jM = s.__wbg_votingprocedure_free, zM = s.votingprocedure_to_bytes, FM = s.votingprocedure_from_bytes, RM = s.votingprocedure_to_hex, OM = s.votingprocedure_from_hex, qM = s.votingprocedure_to_json, $M = s.votingprocedure_to_js_value, LM = s.votingprocedure_from_json, YM = s.votingprocedure_new, JM = s.votingprocedure_new_with_anchor, EM = s.votingprocedure_vote_kind, XM = s.votingprocedure_anchor, ZM = s.__wbg_votingprocedures_free, QM = s.votingprocedures_to_bytes, KM = s.votingprocedures_from_bytes, UM = s.votingprocedures_to_hex, MM = s.votingprocedures_from_hex, SM = s.votingprocedures_to_json, WM = s.votingprocedures_to_js_value, HM = s.votingprocedures_from_json, GM = s.votingprocedures_new, DM = s.votingprocedures_insert, AM = s.votingprocedures_get, TM = s.votingprocedures_get_voters, NM = s.votingprocedures_get_governance_action_ids_by_voter, VM = s.__wbg_constitution_free, CM = s.constitution_to_bytes, PM = s.constitution_from_bytes, BM = s.constitution_to_hex, tS = s.constitution_from_hex, _S = s.constitution_to_json, eS = s.constitution_to_js_value, rS = s.constitution_from_json, nS = s.constitution_anchor, oS = s.constitution_script_hash, aS = s.constitution_new, sS = s.constitution_new_with_script_hash, iS = s.__wbg_infoaction_free, dS = s.infoaction_new, cS = s.__wbg_governanceaction_free, gS = s.governanceaction_to_bytes, pS = s.governanceaction_from_bytes, wS = s.governanceaction_to_hex, uS = s.governanceaction_from_hex, bS = s.governanceaction_to_json, lS = s.governanceaction_to_js_value, fS = s.governanceaction_from_json, hS = s.governanceaction_new_parameter_change_action, vS = s.governanceaction_new_hard_fork_initiation_action, yS = s.governanceaction_new_treasury_withdrawals_action, mS = s.governanceaction_new_no_confidence_action, kS = s.governanceaction_new_new_committee_action, IS = s.governanceaction_new_new_constitution_action, xS = s.governanceaction_new_info_action, jS = s.governanceaction_kind, zS = s.governanceaction_as_parameter_change_action, FS = s.governanceaction_as_hard_fork_initiation_action, RS = s.governanceaction_as_treasury_withdrawals_action, OS = s.governanceaction_as_no_confidence_action, qS = s.governanceaction_as_new_committee_action, $S = s.governanceaction_as_new_constitution_action, LS = s.governanceaction_as_info_action, YS = s.__wbg_plutusscript_free, JS = s.plutusscript_to_bytes, ES = s.plutusscript_from_bytes, XS = s.plutusscript_to_hex, ZS = s.plutusscript_from_hex, QS = s.plutusscript_new, KS = s.plutusscript_new_v2, US = s.plutusscript_new_v3, MS = s.plutusscript_new_with_version, SS = s.plutusscript_bytes, WS = s.plutusscript_from_bytes_v2, HS = s.plutusscript_from_bytes_v3, GS = s.plutusscript_from_bytes_with_version, DS = s.plutusscript_from_hex_with_version, AS = s.plutusscript_hash, TS = s.plutusscript_language_version, NS = s.__wbg_credential_free, VS = s.credential_from_keyhash, CS = s.credential_from_scripthash, PS = s.credential_to_keyhash, BS = s.credential_to_scripthash, tW = s.credential_has_script_hash, _W = s.credential_to_bytes, eW = s.credential_from_bytes, rW = s.credential_to_hex, nW = s.credential_from_hex, oW = s.credential_to_json, aW = s.credential_to_js_value, sW = s.credential_from_json, iW = s.credential_kind, dW = s.__wbindgen_malloc, cW = s.__wbindgen_realloc, gW = s.__wbindgen_exn_store, pW = s.__wbindgen_add_to_stack_pointer, wW = s.__wbindgen_free, uW = Object.freeze(Object.defineProperty({
        __proto__: null,
        __wbg_address_free: $J,
        __wbg_anchor_free: Sj,
        __wbg_anchordatahash_free: zb,
        __wbg_assetname_free: n7,
        __wbg_assetnames_free: u7,
        __wbg_assets_free: z7,
        __wbg_auxiliarydata_free: TQ,
        __wbg_auxiliarydatahash_free: tl,
        __wbg_auxiliarydataset_free: PO,
        __wbg_baseaddress_free: GJ,
        __wbg_bigint_free: py,
        __wbg_bignum_free: Kg,
        __wbg_bip32privatekey_free: xg,
        __wbg_bip32publickey_free: $U,
        __wbg_block_free: zK,
        __wbg_blockhash_free: ml,
        __wbg_bootstrapwitness_free: Hw,
        __wbg_bootstrapwitnesses_free: ru,
        __wbg_byronaddress_free: hJ,
        __wbg_certificate_free: nh,
        __wbg_certificates_free: Ph,
        __wbg_certificatesbuilder_free: ef,
        __wbg_changeconfig_free: Jm,
        __wbg_committee_free: P3,
        __wbg_committeecoldresign_free: fd,
        __wbg_committeehotauth_free: bq,
        __wbg_constitution_free: VM,
        __wbg_constrplutusdata_free: y$,
        __wbg_costmdls_free: Yp,
        __wbg_costmodel_free: Tq,
        __wbg_credential_free: NS,
        __wbg_credentials_free: aw,
        __wbg_datacost_free: DF,
        __wbg_datahash_free: Rl,
        __wbg_datumsource_free: Li,
        __wbg_dnsrecordaoraaaa_free: DR,
        __wbg_dnsrecordsrv_free: e5,
        __wbg_drep_free: rZ,
        __wbg_drepderegistration_free: qj,
        __wbg_drepregistration_free: qd,
        __wbg_drepupdate_free: pM,
        __wbg_drepvotingthresholds_free: BI,
        __wbg_ed25519keyhash_free: pb,
        __wbg_ed25519keyhashes_free: hw,
        __wbg_ed25519signature_free: bu,
        __wbg_enterpriseaddress_free: PJ,
        __wbg_exunitprices_free: g4,
        __wbg_exunits_free: OZ,
        __wbg_fixedblock_free: UK,
        __wbg_fixedtransaction_free: Yf,
        __wbg_fixedtransactionbodies_free: Ay,
        __wbg_fixedtransactionbody_free: rj,
        __wbg_fixedtxwitnessesset_free: $z,
        __wbg_fixedversionedblock_free: aU,
        __wbg_generaltransactionmetadata_free: EQ,
        __wbg_genesisdelegatehash_free: Ub,
        __wbg_genesishash_free: Ab,
        __wbg_genesishashes_free: nO,
        __wbg_genesiskeydelegation_free: hj,
        __wbg_governanceaction_free: cS,
        __wbg_governanceactionid_free: Bj,
        __wbg_governanceactionids_free: mZ,
        __wbg_hardforkinitiationaction_free: wc,
        __wbg_header_free: NK,
        __wbg_headerbody_free: V0,
        __wbg_infoaction_free: iS,
        __wbg_int_free: zu,
        __wbg_ipv4_free: lR,
        __wbg_ipv6_free: zR,
        __wbg_kessignature_free: Zz,
        __wbg_kesvkey_free: Nl,
        __wbg_language_free: bp,
        __wbg_languages_free: Fp,
        __wbg_legacydaedalusprivatekey_free: ku,
        __wbg_linearfee_free: sp,
        __wbg_malformedaddress_free: uJ,
        __wbg_metadatalist_free: _Q,
        __wbg_metadatamap_free: UZ,
        __wbg_mint_free: l8,
        __wbg_mintassets_free: d8,
        __wbg_mintbuilder_free: mi,
        __wbg_mintsassets_free: _8,
        __wbg_mintwitness_free: hi,
        __wbg_mirtostakecredentials_free: LE,
        __wbg_moveinstantaneousreward_free: GE,
        __wbg_moveinstantaneousrewardscert_free: kE,
        __wbg_multiasset_free: K7,
        __wbg_multihostname_free: E5,
        __wbg_nativescript_free: jL,
        __wbg_nativescripts_free: Cz,
        __wbg_nativescriptsource_free: X3,
        __wbg_networkid_free: L8,
        __wbg_networkinfo_free: sJ,
        __wbg_newconstitutionaction_free: Qc,
        __wbg_noconfidenceaction_free: M3,
        __wbg_nonce_free: Uz,
        __wbg_operationalcert_free: mk,
        __wbg_outputdatum_free: S9,
        __wbg_parameterchangeaction_free: Pd,
        __wbg_plutusdata_free: W$,
        __wbg_plutuslist_free: dL,
        __wbg_plutusmap_free: Y$,
        __wbg_plutusmapvalues_free: R$,
        __wbg_plutusscript_free: YS,
        __wbg_plutusscripts_free: Fv,
        __wbg_plutusscriptsource_free: $3,
        __wbg_plutuswitness_free: Ei,
        __wbg_plutuswitnesses_free: Wi,
        __wbg_pointer_free: fj,
        __wbg_pointeraddress_free: cE,
        __wbg_poolmetadata_free: a9,
        __wbg_poolmetadatahash_free: sl,
        __wbg_poolparams_free: Z1,
        __wbg_poolregistration_free: b1,
        __wbg_poolretirement_free: G8,
        __wbg_poolvotingthresholds_free: KI,
        __wbg_privatekey_free: gb,
        __wbg_proposedprotocolparameterupdates_free: RO,
        __wbg_protocolparamupdate_free: R6,
        __wbg_protocolversion_free: MO,
        __wbg_publickey_free: Bu,
        __wbg_publickeys_free: fE,
        __wbg_redeemer_free: k4,
        __wbg_redeemers_free: a$,
        __wbg_redeemertag_free: Kv,
        __wbg_relay_free: G5,
        __wbg_relays_free: j1,
        __wbg_rewardaddress_free: nE,
        __wbg_rewardaddresses_free: f9,
        __wbg_scriptall_free: nY,
        __wbg_scriptany_free: uY,
        __wbg_scriptdatahash_free: El,
        __wbg_scripthash_free: vb,
        __wbg_scripthashes_free: lO,
        __wbg_scriptnofk_free: xY,
        __wbg_scriptpubkey_free: TL,
        __wbg_scriptref_free: E0,
        __wbg_singlehostaddr_free: p5,
        __wbg_singlehostname_free: x5,
        __wbg_stakeandvotedelegation_free: BU,
        __wbg_stakedelegation_free: _0,
        __wbg_stakederegistration_free: oX,
        __wbg_stakeregistration_free: nd,
        __wbg_stakeregistrationanddelegation_free: eq,
        __wbg_stakevoteregistrationanddelegation_free: qX,
        __wbg_strings_free: E4,
        __wbg_timelockexpiry_free: AY,
        __wbg_timelockstart_free: EY,
        __wbg_transaction_free: yF,
        __wbg_transactionbatch_free: hf,
        __wbg_transactionbatchlist_free: bf,
        __wbg_transactionbodies_free: Ey,
        __wbg_transactionbody_free: U4,
        __wbg_transactionbuilder_free: Km,
        __wbg_transactionbuilderconfig_free: vm,
        __wbg_transactionbuilderconfigbuilder_free: ym,
        __wbg_transactionhash_free: Yb,
        __wbg_transactioninput_free: w0,
        __wbg_transactioninputs_free: Ap,
        __wbg_transactionmetadatum_free: cQ,
        __wbg_transactionmetadatumlabels_free: zQ,
        __wbg_transactionoutput_free: NF,
        __wbg_transactionoutputamountbuilder_free: AU,
        __wbg_transactionoutputbuilder_free: UU,
        __wbg_transactionoutputs_free: JF,
        __wbg_transactionunspentoutput_free: Jk,
        __wbg_transactionunspentoutputs_free: Gk,
        __wbg_transactionwitnessset_free: cz,
        __wbg_transactionwitnesssets_free: ty,
        __wbg_treasurywithdrawals_free: Kq,
        __wbg_treasurywithdrawalsaction_free: Fq,
        __wbg_txinputsbuilder_free: tm,
        __wbg_unitinterval_free: dF,
        __wbg_update_free: A9,
        __wbg_updatecommitteeaction_free: jc,
        __wbg_url_free: XR,
        __wbg_value_free: Bk,
        __wbg_versionedblock_free: gU,
        __wbg_vkey_free: Ax,
        __wbg_vkeys_free: yL,
        __wbg_vkeywitness_free: bK,
        __wbg_vkeywitnesses_free: Lw,
        __wbg_votedelegation_free: hX,
        __wbg_voter_free: cv,
        __wbg_voteregistrationanddelegation_free: HX,
        __wbg_voters_free: Hd,
        __wbg_votingbuilder_free: Ti,
        __wbg_votingprocedure_free: jM,
        __wbg_votingprocedures_free: ZM,
        __wbg_votingproposal_free: Cc,
        __wbg_votingproposalbuilder_free: LU,
        __wbg_votingproposals_free: cg,
        __wbg_vrfcert_free: x0,
        __wbg_vrfkeyhash_free: ul,
        __wbg_vrfvkey_free: Sl,
        __wbg_withdrawals_free: O9,
        __wbg_withdrawalsbuilder_free: kf,
        __wbindgen_add_to_stack_pointer: pW,
        __wbindgen_exn_store: gW,
        __wbindgen_free: wW,
        __wbindgen_malloc: dW,
        __wbindgen_realloc: cW,
        address_from_bech32: WJ,
        address_from_bytes: LJ,
        address_from_hex: UJ,
        address_from_json: EJ,
        address_is_malformed: QJ,
        address_kind: XJ,
        address_network_id: HJ,
        address_payment_cred: ZJ,
        address_to_bech32: SJ,
        address_to_bytes: MJ,
        address_to_hex: KJ,
        address_to_js_value: JJ,
        address_to_json: YJ,
        anchor_anchor_data_hash: Cj,
        anchor_from_bytes: Hj,
        anchor_from_hex: Dj,
        anchor_from_json: Nj,
        anchor_new: Pj,
        anchor_to_bytes: Wj,
        anchor_to_hex: Gj,
        anchor_to_js_value: Tj,
        anchor_to_json: Aj,
        anchor_url: Vj,
        anchordatahash_from_bech32: qb,
        anchordatahash_from_bytes: Fb,
        anchordatahash_from_hex: Lb,
        anchordatahash_to_bech32: Ob,
        anchordatahash_to_bytes: Rb,
        anchordatahash_to_hex: $b,
        assetname_from_bytes: a7,
        assetname_from_hex: i7,
        assetname_from_json: g7,
        assetname_name: w7,
        assetname_new: p7,
        assetname_to_bytes: o7,
        assetname_to_hex: s7,
        assetname_to_js_value: c7,
        assetname_to_json: d7,
        assetnames_add: j7,
        assetnames_from_bytes: l7,
        assetnames_from_hex: h7,
        assetnames_from_json: m7,
        assetnames_get: x7,
        assetnames_len: I7,
        assetnames_new: k7,
        assetnames_to_bytes: b7,
        assetnames_to_hex: f7,
        assetnames_to_js_value: y7,
        assetnames_to_json: v7,
        assets_from_bytes: R7,
        assets_from_hex: q7,
        assets_from_json: Y7,
        assets_get: Z7,
        assets_insert: X7,
        assets_keys: Q7,
        assets_len: E7,
        assets_new: J7,
        assets_to_bytes: F7,
        assets_to_hex: O7,
        assets_to_js_value: L7,
        assets_to_json: $7,
        auxiliarydata_from_bytes: VQ,
        auxiliarydata_from_hex: PQ,
        auxiliarydata_from_json: _K,
        auxiliarydata_metadata: rK,
        auxiliarydata_native_scripts: oK,
        auxiliarydata_new: eK,
        auxiliarydata_plutus_scripts: sK,
        auxiliarydata_prefer_alonzo_format: dK,
        auxiliarydata_set_metadata: nK,
        auxiliarydata_set_native_scripts: aK,
        auxiliarydata_set_plutus_scripts: iK,
        auxiliarydata_set_prefer_alonzo_format: cK,
        auxiliarydata_to_bytes: NQ,
        auxiliarydata_to_hex: CQ,
        auxiliarydata_to_js_value: tK,
        auxiliarydata_to_json: BQ,
        auxiliarydatahash_from_bech32: nl,
        auxiliarydatahash_from_bytes: _l,
        auxiliarydatahash_from_hex: al,
        auxiliarydatahash_to_bech32: rl,
        auxiliarydatahash_to_bytes: el,
        auxiliarydatahash_to_hex: ol,
        auxiliarydataset_get: e7,
        auxiliarydataset_indices: r7,
        auxiliarydataset_insert: _7,
        auxiliarydataset_len: t7,
        auxiliarydataset_new: BO,
        baseaddress_from_address: VJ,
        baseaddress_network_id: CJ,
        baseaddress_new: DJ,
        baseaddress_payment_cred: AJ,
        baseaddress_stake_cred: TJ,
        baseaddress_to_address: NJ,
        bigint_abs: $y,
        bigint_add: jy,
        bigint_as_int: ky,
        bigint_as_u64: my,
        bigint_div_ceil: Yy,
        bigint_div_floor: Jy,
        bigint_from_bytes: uy,
        bigint_from_hex: ly,
        bigint_from_json: vy,
        bigint_from_str: Iy,
        bigint_increment: Ly,
        bigint_is_zero: yy,
        bigint_mul: Fy,
        bigint_one: Oy,
        bigint_pow: Ry,
        bigint_sub: zy,
        bigint_to_bytes: wy,
        bigint_to_hex: by,
        bigint_to_js_value: hy,
        bigint_to_json: fy,
        bigint_to_str: xy,
        bigint_zero: qy,
        bignum_checked_add: tp,
        bignum_checked_mul: Bg,
        bignum_checked_sub: _p,
        bignum_clamped_sub: ep,
        bignum_compare: rp,
        bignum_div_floor: Pg,
        bignum_from_bytes: Mg,
        bignum_from_hex: Wg,
        bignum_from_json: Dg,
        bignum_from_str: Ag,
        bignum_is_zero: Cg,
        bignum_less_than: np,
        bignum_max: ap,
        bignum_max_value: op,
        bignum_one: Vg,
        bignum_to_bytes: Ug,
        bignum_to_hex: Sg,
        bignum_to_js_value: Gg,
        bignum_to_json: Hg,
        bignum_to_str: Tg,
        bignum_zero: Ng,
        bip32privatekey_as_bytes: Lg,
        bip32privatekey_chaincode: Xg,
        bip32privatekey_derive: jg,
        bip32privatekey_from_128_xprv: zg,
        bip32privatekey_from_bech32: Yg,
        bip32privatekey_from_bip39_entropy: Eg,
        bip32privatekey_from_bytes: $g,
        bip32privatekey_from_hex: Qg,
        bip32privatekey_generate_ed25519_bip32: Rg,
        bip32privatekey_to_128_xprv: Fg,
        bip32privatekey_to_bech32: Jg,
        bip32privatekey_to_hex: Zg,
        bip32privatekey_to_public: qg,
        bip32privatekey_to_raw_key: Og,
        bip32publickey_as_bytes: FU,
        bip32publickey_chaincode: xU,
        bip32publickey_derive: qU,
        bip32publickey_from_bech32: zU,
        bip32publickey_from_bytes: RU,
        bip32publickey_from_hex: kU,
        bip32publickey_to_bech32: jU,
        bip32publickey_to_hex: IU,
        bip32publickey_to_raw_key: OU,
        block_auxiliary_data_set: ZK,
        block_from_bytes: RK,
        block_from_hex: qK,
        block_from_json: YK,
        block_header: JK,
        block_invalid_transactions: QK,
        block_new: KK,
        block_to_bytes: FK,
        block_to_hex: OK,
        block_to_js_value: LK,
        block_to_json: $K,
        block_transaction_bodies: EK,
        block_transaction_witness_sets: XK,
        blockhash_from_bech32: jl,
        blockhash_from_bytes: kl,
        blockhash_from_hex: Fl,
        blockhash_to_bech32: xl,
        blockhash_to_bytes: Il,
        blockhash_to_hex: zl,
        bootstrapwitness_attributes: _u,
        bootstrapwitness_chain_code: tu,
        bootstrapwitness_from_bytes: Dw,
        bootstrapwitness_from_hex: Tw,
        bootstrapwitness_from_json: Cw,
        bootstrapwitness_new: eu,
        bootstrapwitness_signature: Bw,
        bootstrapwitness_to_bytes: Gw,
        bootstrapwitness_to_hex: Aw,
        bootstrapwitness_to_js_value: Vw,
        bootstrapwitness_to_json: Nw,
        bootstrapwitness_vkey: Pw,
        bootstrapwitnesses_add: uu,
        bootstrapwitnesses_from_bytes: ou,
        bootstrapwitnesses_from_hex: su,
        bootstrapwitnesses_from_json: cu,
        bootstrapwitnesses_get: wu,
        bootstrapwitnesses_len: pu,
        bootstrapwitnesses_new: gu,
        bootstrapwitnesses_to_bytes: nu,
        bootstrapwitnesses_to_hex: au,
        bootstrapwitnesses_to_js_value: du,
        bootstrapwitnesses_to_json: iu,
        byronaddress_attributes: xJ,
        byronaddress_byron_address_kind: IJ,
        byronaddress_byron_protocol_magic: kJ,
        byronaddress_from_address: qJ,
        byronaddress_from_base58: zJ,
        byronaddress_from_bytes: mJ,
        byronaddress_icarus_from_key: FJ,
        byronaddress_is_valid: RJ,
        byronaddress_network_id: jJ,
        byronaddress_to_address: OJ,
        byronaddress_to_base58: vJ,
        byronaddress_to_bytes: yJ,
        calculate_ex_units_ceil_cost: pp,
        certificate_as_committee_cold_resign: Sh,
        certificate_as_committee_hot_auth: Mh,
        certificate_as_drep_deregistration: Wh,
        certificate_as_drep_registration: Hh,
        certificate_as_drep_update: Gh,
        certificate_as_genesis_key_delegation: Kh,
        certificate_as_move_instantaneous_rewards_cert: Uh,
        certificate_as_pool_registration: Zh,
        certificate_as_pool_retirement: Qh,
        certificate_as_reg_cert: Yh,
        certificate_as_stake_and_vote_delegation: Dh,
        certificate_as_stake_delegation: Xh,
        certificate_as_stake_deregistration: Jh,
        certificate_as_stake_registration: Lh,
        certificate_as_stake_registration_and_delegation: Ah,
        certificate_as_stake_vote_registration_and_delegation: Th,
        certificate_as_unreg_cert: Eh,
        certificate_as_vote_delegation: Nh,
        certificate_as_vote_registration_and_delegation: Vh,
        certificate_from_bytes: ah,
        certificate_from_hex: ih,
        certificate_from_json: gh,
        certificate_has_required_script_witness: Ch,
        certificate_kind: $h,
        certificate_new_committee_cold_resign: kh,
        certificate_new_committee_hot_auth: mh,
        certificate_new_drep_deregistration: Ih,
        certificate_new_drep_registration: xh,
        certificate_new_drep_update: jh,
        certificate_new_genesis_key_delegation: vh,
        certificate_new_move_instantaneous_rewards_cert: yh,
        certificate_new_pool_registration: fh,
        certificate_new_pool_retirement: hh,
        certificate_new_reg_cert: wh,
        certificate_new_stake_and_vote_delegation: zh,
        certificate_new_stake_delegation: lh,
        certificate_new_stake_deregistration: uh,
        certificate_new_stake_registration: ph,
        certificate_new_stake_registration_and_delegation: Fh,
        certificate_new_stake_vote_registration_and_delegation: Rh,
        certificate_new_unreg_cert: bh,
        certificate_new_vote_delegation: Oh,
        certificate_new_vote_registration_and_delegation: qh,
        certificate_to_bytes: oh,
        certificate_to_hex: sh,
        certificate_to_js_value: ch,
        certificate_to_json: dh,
        certificates_add: dv,
        certificates_from_bytes: tv,
        certificates_from_hex: ev,
        certificates_from_json: ov,
        certificates_get: iv,
        certificates_len: sv,
        certificates_new: av,
        certificates_to_bytes: Bh,
        certificates_to_hex: _v,
        certificates_to_js_value: nv,
        certificates_to_json: rv,
        certificatesbuilder_add: nf,
        certificatesbuilder_add_with_native_script: af,
        certificatesbuilder_add_with_plutus_witness: of,
        certificatesbuilder_build: uf,
        certificatesbuilder_get_certificates_deposit: pf,
        certificatesbuilder_get_certificates_refund: gf,
        certificatesbuilder_get_native_scripts: cf,
        certificatesbuilder_get_plutus_witnesses: sf,
        certificatesbuilder_get_ref_inputs: df,
        certificatesbuilder_has_plutus_scripts: wf,
        certificatesbuilder_new: rf,
        changeconfig_change_address: Xm,
        changeconfig_change_plutus_data: Zm,
        changeconfig_change_script_ref: Qm,
        changeconfig_new: Em,
        committee_add_member: d4,
        committee_from_bytes: t4,
        committee_from_hex: e4,
        committee_from_json: o4,
        committee_get_member_epoch: c4,
        committee_members_keys: s4,
        committee_new: a4,
        committee_quorum_threshold: i4,
        committee_to_bytes: B3,
        committee_to_hex: _4,
        committee_to_js_value: n4,
        committee_to_json: r4,
        committeecoldresign_anchor: zd,
        committeecoldresign_committee_cold_credential: jd,
        committeecoldresign_from_bytes: vd,
        committeecoldresign_from_hex: md,
        committeecoldresign_from_json: xd,
        committeecoldresign_has_script_credentials: Od,
        committeecoldresign_new: Fd,
        committeecoldresign_new_with_anchor: Rd,
        committeecoldresign_to_bytes: hd,
        committeecoldresign_to_hex: yd,
        committeecoldresign_to_js_value: Id,
        committeecoldresign_to_json: kd,
        committeehotauth_committee_cold_credential: Iq,
        committeehotauth_committee_hot_credential: xq,
        committeehotauth_from_bytes: fq,
        committeehotauth_from_hex: vq,
        committeehotauth_from_json: kq,
        committeehotauth_has_script_credentials: zq,
        committeehotauth_new: jq,
        committeehotauth_to_bytes: lq,
        committeehotauth_to_hex: hq,
        committeehotauth_to_js_value: mq,
        committeehotauth_to_json: yq,
        constitution_anchor: nS,
        constitution_from_bytes: PM,
        constitution_from_hex: tS,
        constitution_from_json: rS,
        constitution_new: aS,
        constitution_new_with_script_hash: sS,
        constitution_script_hash: oS,
        constitution_to_bytes: CM,
        constitution_to_hex: BM,
        constitution_to_js_value: eS,
        constitution_to_json: _S,
        constrplutusdata_alternative: j$,
        constrplutusdata_data: z$,
        constrplutusdata_from_bytes: k$,
        constrplutusdata_from_hex: x$,
        constrplutusdata_new: F$,
        constrplutusdata_to_bytes: m$,
        constrplutusdata_to_hex: I$,
        costmdls_from_bytes: Ep,
        costmdls_from_hex: Zp,
        costmdls_from_json: Up,
        costmdls_get: Hp,
        costmdls_insert: Wp,
        costmdls_keys: Gp,
        costmdls_len: Sp,
        costmdls_new: Mp,
        costmdls_retain_language_versions: Dp,
        costmdls_to_bytes: Jp,
        costmdls_to_hex: Xp,
        costmdls_to_js_value: Kp,
        costmdls_to_json: Qp,
        costmodel_from_bytes: Vq,
        costmodel_from_hex: Pq,
        costmodel_from_json: _$,
        costmodel_get: n$,
        costmodel_len: o$,
        costmodel_new: e$,
        costmodel_set: r$,
        costmodel_to_bytes: Nq,
        costmodel_to_hex: Cq,
        costmodel_to_js_value: t$,
        costmodel_to_json: Bq,
        create_send_all: mf,
        credential_from_bytes: eW,
        credential_from_hex: nW,
        credential_from_json: sW,
        credential_from_keyhash: VS,
        credential_from_scripthash: CS,
        credential_has_script_hash: tW,
        credential_kind: iW,
        credential_to_bytes: _W,
        credential_to_hex: rW,
        credential_to_js_value: aW,
        credential_to_json: oW,
        credential_to_keyhash: PS,
        credential_to_scripthash: BS,
        credentials_add: fw,
        credentials_from_bytes: iw,
        credentials_from_hex: cw,
        credentials_from_json: ww,
        credentials_get: lw,
        credentials_len: bw,
        credentials_new: uw,
        credentials_to_bytes: sw,
        credentials_to_hex: dw,
        credentials_to_js_value: pw,
        credentials_to_json: gw,
        datacost_coins_per_byte: TF,
        datacost_new_coins_per_byte: AF,
        datahash_from_bech32: Ll,
        datahash_from_bytes: Ol,
        datahash_from_hex: Jl,
        datahash_to_bech32: $l,
        datahash_to_bytes: ql,
        datahash_to_hex: Yl,
        datumsource_new: Yi,
        datumsource_new_ref_input: Ji,
        decode_arbitrary_bytes_from_metadatum: pK,
        decode_metadatum_to_json_str: uK,
        decode_plutus_datum_to_json_str: vL,
        decrypt_with_password: H8,
        dnsrecordaoraaaa_from_bytes: TR,
        dnsrecordaoraaaa_from_hex: VR,
        dnsrecordaoraaaa_from_json: BR,
        dnsrecordaoraaaa_new: t5,
        dnsrecordaoraaaa_record: _5,
        dnsrecordaoraaaa_to_bytes: AR,
        dnsrecordaoraaaa_to_hex: NR,
        dnsrecordaoraaaa_to_js_value: PR,
        dnsrecordaoraaaa_to_json: CR,
        dnsrecordsrv_from_bytes: n5,
        dnsrecordsrv_from_hex: a5,
        dnsrecordsrv_from_json: d5,
        dnsrecordsrv_new: c5,
        dnsrecordsrv_record: g5,
        dnsrecordsrv_to_bytes: r5,
        dnsrecordsrv_to_hex: o5,
        dnsrecordsrv_to_js_value: i5,
        dnsrecordsrv_to_json: s5,
        drep_from_bech32: yZ,
        drep_from_bytes: oZ,
        drep_from_hex: sZ,
        drep_from_json: cZ,
        drep_kind: lZ,
        drep_new_always_abstain: wZ,
        drep_new_always_no_confidence: uZ,
        drep_new_from_credential: bZ,
        drep_new_key_hash: gZ,
        drep_new_script_hash: pZ,
        drep_to_bech32: vZ,
        drep_to_bytes: nZ,
        drep_to_hex: aZ,
        drep_to_js_value: dZ,
        drep_to_json: iZ,
        drep_to_key_hash: fZ,
        drep_to_script_hash: hZ,
        drepderegistration_coin: Kj,
        drepderegistration_from_bytes: Lj,
        drepderegistration_from_hex: Jj,
        drepderegistration_from_json: Zj,
        drepderegistration_has_script_credentials: Mj,
        drepderegistration_new: Uj,
        drepderegistration_to_bytes: $j,
        drepderegistration_to_hex: Yj,
        drepderegistration_to_js_value: Xj,
        drepderegistration_to_json: Ej,
        drepderegistration_voting_credential: Qj,
        drepregistration_anchor: Ud,
        drepregistration_coin: Kd,
        drepregistration_from_bytes: Ld,
        drepregistration_from_hex: Jd,
        drepregistration_from_json: Zd,
        drepregistration_has_script_credentials: Wd,
        drepregistration_new: Md,
        drepregistration_new_with_anchor: Sd,
        drepregistration_to_bytes: $d,
        drepregistration_to_hex: Yd,
        drepregistration_to_js_value: Xd,
        drepregistration_to_json: Ed,
        drepregistration_voting_credential: Qd,
        drepupdate_anchor: mM,
        drepupdate_from_bytes: uM,
        drepupdate_from_hex: lM,
        drepupdate_from_json: vM,
        drepupdate_has_script_credentials: xM,
        drepupdate_new: kM,
        drepupdate_new_with_anchor: IM,
        drepupdate_to_bytes: wM,
        drepupdate_to_hex: bM,
        drepupdate_to_js_value: hM,
        drepupdate_to_json: fM,
        drepupdate_voting_credential: yM,
        drepvotingthresholds_committee_no_confidence: y6,
        drepvotingthresholds_committee_normal: v6,
        drepvotingthresholds_from_bytes: _6,
        drepvotingthresholds_from_hex: r6,
        drepvotingthresholds_from_json: a6,
        drepvotingthresholds_hard_fork_initiation: k6,
        drepvotingthresholds_motion_no_confidence: h6,
        drepvotingthresholds_new: s6,
        drepvotingthresholds_pp_economic_group: x6,
        drepvotingthresholds_pp_governance_group: z6,
        drepvotingthresholds_pp_network_group: I6,
        drepvotingthresholds_pp_technical_group: j6,
        drepvotingthresholds_set_committee_no_confidence: c6,
        drepvotingthresholds_set_committee_normal: d6,
        drepvotingthresholds_set_hard_fork_initiation: p6,
        drepvotingthresholds_set_motion_no_confidence: i6,
        drepvotingthresholds_set_pp_economic_group: u6,
        drepvotingthresholds_set_pp_governance_group: l6,
        drepvotingthresholds_set_pp_network_group: w6,
        drepvotingthresholds_set_pp_technical_group: b6,
        drepvotingthresholds_set_treasury_withdrawal: f6,
        drepvotingthresholds_set_update_constitution: g6,
        drepvotingthresholds_to_bytes: t6,
        drepvotingthresholds_to_hex: e6,
        drepvotingthresholds_to_js_value: o6,
        drepvotingthresholds_to_json: n6,
        drepvotingthresholds_treasury_withdrawal: F6,
        drepvotingthresholds_update_constitution: m6,
        ed25519keyhash_from_bech32: lb,
        ed25519keyhash_from_bytes: wb,
        ed25519keyhash_from_hex: hb,
        ed25519keyhash_to_bech32: bb,
        ed25519keyhash_to_bytes: ub,
        ed25519keyhash_to_hex: fb,
        ed25519keyhashes_add: Ow,
        ed25519keyhashes_contains: qw,
        ed25519keyhashes_from_bytes: yw,
        ed25519keyhashes_from_hex: kw,
        ed25519keyhashes_from_json: jw,
        ed25519keyhashes_get: Rw,
        ed25519keyhashes_len: Fw,
        ed25519keyhashes_new: zw,
        ed25519keyhashes_to_bytes: vw,
        ed25519keyhashes_to_hex: mw,
        ed25519keyhashes_to_js_value: xw,
        ed25519keyhashes_to_json: Iw,
        ed25519keyhashes_to_option: $w,
        ed25519signature_from_bech32: vu,
        ed25519signature_from_bytes: mu,
        ed25519signature_from_hex: yu,
        ed25519signature_to_bech32: fu,
        ed25519signature_to_bytes: lu,
        ed25519signature_to_hex: hu,
        encode_arbitrary_bytes_as_metadatum: gK,
        encode_json_str_to_metadatum: wK,
        encode_json_str_to_native_script: O3,
        encode_json_str_to_plutus_datum: hL,
        encrypt_with_password: W8,
        enterpriseaddress_from_address: eE,
        enterpriseaddress_network_id: rE,
        enterpriseaddress_new: BJ,
        enterpriseaddress_payment_cred: tE,
        enterpriseaddress_to_address: _E,
        exunitprices_from_bytes: w4,
        exunitprices_from_hex: b4,
        exunitprices_from_json: h4,
        exunitprices_mem_price: v4,
        exunitprices_new: m4,
        exunitprices_step_price: y4,
        exunitprices_to_bytes: p4,
        exunitprices_to_hex: u4,
        exunitprices_to_js_value: f4,
        exunitprices_to_json: l4,
        exunits_from_bytes: $Z,
        exunits_from_hex: YZ,
        exunits_from_json: XZ,
        exunits_mem: ZZ,
        exunits_new: KZ,
        exunits_steps: QZ,
        exunits_to_bytes: qZ,
        exunits_to_hex: LZ,
        exunits_to_js_value: EZ,
        exunits_to_json: JZ,
        fixedblock_auxiliary_data_set: DK,
        fixedblock_block_hash: TK,
        fixedblock_from_bytes: MK,
        fixedblock_from_hex: SK,
        fixedblock_header: WK,
        fixedblock_invalid_transactions: AK,
        fixedblock_transaction_bodies: HK,
        fixedblock_transaction_witness_sets: GK,
        fixedtransaction_add_bootstrap_witness: th,
        fixedtransaction_add_vkey_witness: Bf,
        fixedtransaction_auxiliary_data: Vf,
        fixedtransaction_body: Mf,
        fixedtransaction_from_bytes: Ef,
        fixedtransaction_from_hex: Zf,
        fixedtransaction_is_valid: Tf,
        fixedtransaction_new: Qf,
        fixedtransaction_new_from_body_bytes: Uf,
        fixedtransaction_new_with_auxiliary: Kf,
        fixedtransaction_raw_auxiliary_data: Cf,
        fixedtransaction_raw_body: Sf,
        fixedtransaction_raw_witness_set: Df,
        fixedtransaction_set_auxiliary_data: Nf,
        fixedtransaction_set_body: Wf,
        fixedtransaction_set_is_valid: Af,
        fixedtransaction_set_witness_set: Hf,
        fixedtransaction_sign_and_add_daedalus_bootstrap_signature: rh,
        fixedtransaction_sign_and_add_icarus_bootstrap_signature: eh,
        fixedtransaction_sign_and_add_vkey_signature: _h,
        fixedtransaction_to_bytes: Jf,
        fixedtransaction_to_hex: Xf,
        fixedtransaction_transaction_hash: Pf,
        fixedtransaction_witness_set: Gf,
        fixedtransactionbodies_add: By,
        fixedtransactionbodies_from_bytes: Ty,
        fixedtransactionbodies_from_hex: Ny,
        fixedtransactionbodies_get: Py,
        fixedtransactionbodies_len: Cy,
        fixedtransactionbodies_new: Vy,
        fixedtransactionbody_from_bytes: nj,
        fixedtransactionbody_from_hex: oj,
        fixedtransactionbody_original_bytes: ij,
        fixedtransactionbody_transaction_body: aj,
        fixedtransactionbody_tx_hash: sj,
        fixedtxwitnessesset_add_bootstrap_witness: Jz,
        fixedtxwitnessesset_add_vkey_witness: Yz,
        fixedtxwitnessesset_from_bytes: Xz,
        fixedtxwitnessesset_to_bytes: Ez,
        fixedtxwitnessesset_tx_witnesses_set: Lz,
        fixedversionedblock_block: dU,
        fixedversionedblock_era: cU,
        fixedversionedblock_from_bytes: sU,
        fixedversionedblock_from_hex: iU,
        generaltransactionmetadata_from_bytes: ZQ,
        generaltransactionmetadata_from_hex: KQ,
        generaltransactionmetadata_from_json: SQ,
        generaltransactionmetadata_get: DQ,
        generaltransactionmetadata_insert: GQ,
        generaltransactionmetadata_keys: AQ,
        generaltransactionmetadata_len: HQ,
        generaltransactionmetadata_new: WQ,
        generaltransactionmetadata_to_bytes: XQ,
        generaltransactionmetadata_to_hex: QQ,
        generaltransactionmetadata_to_js_value: MQ,
        generaltransactionmetadata_to_json: UQ,
        genesisdelegatehash_from_bech32: Hb,
        genesisdelegatehash_from_bytes: Mb,
        genesisdelegatehash_from_hex: Db,
        genesisdelegatehash_to_bech32: Wb,
        genesisdelegatehash_to_bytes: Sb,
        genesisdelegatehash_to_hex: Gb,
        genesishash_from_bech32: Cb,
        genesishash_from_bytes: Tb,
        genesishash_from_hex: Bb,
        genesishash_to_bech32: Vb,
        genesishash_to_bytes: Nb,
        genesishash_to_hex: Pb,
        genesishashes_add: bO,
        genesishashes_from_bytes: aO,
        genesishashes_from_hex: iO,
        genesishashes_from_json: gO,
        genesishashes_get: uO,
        genesishashes_len: wO,
        genesishashes_new: pO,
        genesishashes_to_bytes: oO,
        genesishashes_to_hex: sO,
        genesishashes_to_js_value: cO,
        genesishashes_to_json: dO,
        genesiskeydelegation_from_bytes: yj,
        genesiskeydelegation_from_hex: kj,
        genesiskeydelegation_from_json: jj,
        genesiskeydelegation_genesis_delegate_hash: Fj,
        genesiskeydelegation_genesishash: zj,
        genesiskeydelegation_new: Oj,
        genesiskeydelegation_to_bytes: vj,
        genesiskeydelegation_to_hex: mj,
        genesiskeydelegation_to_js_value: xj,
        genesiskeydelegation_to_json: Ij,
        genesiskeydelegation_vrf_keyhash: Rj,
        get_deposit: F3,
        get_implicit_input: z3,
        governanceaction_as_hard_fork_initiation_action: FS,
        governanceaction_as_info_action: LS,
        governanceaction_as_new_committee_action: qS,
        governanceaction_as_new_constitution_action: $S,
        governanceaction_as_no_confidence_action: OS,
        governanceaction_as_parameter_change_action: zS,
        governanceaction_as_treasury_withdrawals_action: RS,
        governanceaction_from_bytes: pS,
        governanceaction_from_hex: uS,
        governanceaction_from_json: fS,
        governanceaction_kind: jS,
        governanceaction_new_hard_fork_initiation_action: vS,
        governanceaction_new_info_action: xS,
        governanceaction_new_new_committee_action: kS,
        governanceaction_new_new_constitution_action: IS,
        governanceaction_new_no_confidence_action: mS,
        governanceaction_new_parameter_change_action: hS,
        governanceaction_new_treasury_withdrawals_action: yS,
        governanceaction_to_bytes: gS,
        governanceaction_to_hex: wS,
        governanceaction_to_js_value: lS,
        governanceaction_to_json: bS,
        governanceactionid_from_bytes: _z,
        governanceactionid_from_hex: rz,
        governanceactionid_from_json: az,
        governanceactionid_index: iz,
        governanceactionid_new: dz,
        governanceactionid_to_bytes: tz,
        governanceactionid_to_hex: ez,
        governanceactionid_to_js_value: oz,
        governanceactionid_to_json: nz,
        governanceactionid_transaction_id: sz,
        governanceactionids_add: zZ,
        governanceactionids_from_json: xZ,
        governanceactionids_get: FZ,
        governanceactionids_len: RZ,
        governanceactionids_new: jZ,
        governanceactionids_to_js_value: IZ,
        governanceactionids_to_json: kZ,
        hardforkinitiationaction_from_bytes: bc,
        hardforkinitiationaction_from_hex: fc,
        hardforkinitiationaction_from_json: yc,
        hardforkinitiationaction_gov_action_id: mc,
        hardforkinitiationaction_new: Ic,
        hardforkinitiationaction_new_with_action_id: xc,
        hardforkinitiationaction_protocol_version: kc,
        hardforkinitiationaction_to_bytes: uc,
        hardforkinitiationaction_to_hex: lc,
        hardforkinitiationaction_to_js_value: vc,
        hardforkinitiationaction_to_json: hc,
        has_transaction_set_tag: q3,
        hash_auxiliary_data: I3,
        hash_plutus_data: x3,
        hash_script_data: j3,
        header_body_signature: nU,
        header_from_bytes: CK,
        header_from_hex: BK,
        header_from_json: eU,
        header_header_body: rU,
        header_new: oU,
        header_to_bytes: VK,
        header_to_hex: PK,
        header_to_js_value: _U,
        header_to_json: tU,
        headerbody_block_body_hash: lk,
        headerbody_block_body_size: bk,
        headerbody_block_number: nk,
        headerbody_from_bytes: P0,
        headerbody_from_hex: tk,
        headerbody_from_json: rk,
        headerbody_has_nonce_and_leader_vrf: ck,
        headerbody_has_vrf_result: wk,
        headerbody_issuer_vkey: ik,
        headerbody_leader_vrf_or_nothing: pk,
        headerbody_new: vk,
        headerbody_new_headerbody: yk,
        headerbody_nonce_vrf_or_nothing: gk,
        headerbody_operational_cert: fk,
        headerbody_prev_hash: sk,
        headerbody_protocol_version: hk,
        headerbody_slot: ok,
        headerbody_slot_bignum: ak,
        headerbody_to_bytes: C0,
        headerbody_to_hex: B0,
        headerbody_to_js_value: ek,
        headerbody_to_json: _k,
        headerbody_vrf_result_or_nothing: uk,
        headerbody_vrf_vkey: dk,
        infoaction_new: dS,
        int_as_i32: Uu,
        int_as_i32_or_fail: Su,
        int_as_i32_or_nothing: Mu,
        int_as_negative: Ku,
        int_as_positive: Qu,
        int_from_bytes: Ru,
        int_from_hex: qu,
        int_from_json: Yu,
        int_from_str: Hu,
        int_is_positive: Zu,
        int_new: Ju,
        int_new_i32: Xu,
        int_new_negative: Eu,
        int_to_bytes: Fu,
        int_to_hex: Ou,
        int_to_js_value: Lu,
        int_to_json: $u,
        int_to_str: Wu,
        ipv4_from_bytes: hR,
        ipv4_from_hex: yR,
        ipv4_from_json: IR,
        ipv4_ip: jR,
        ipv4_new: xR,
        ipv4_to_bytes: fR,
        ipv4_to_hex: vR,
        ipv4_to_js_value: kR,
        ipv4_to_json: mR,
        ipv6_from_bytes: RR,
        ipv6_from_hex: qR,
        ipv6_from_json: YR,
        ipv6_ip: ER,
        ipv6_new: JR,
        ipv6_to_bytes: FR,
        ipv6_to_hex: OR,
        ipv6_to_js_value: LR,
        ipv6_to_json: $R,
        kessignature_from_bytes: Kz,
        kessignature_to_bytes: Qz,
        kesvkey_from_bech32: Bl,
        kesvkey_from_bytes: Vl,
        kesvkey_from_hex: _f,
        kesvkey_to_bech32: Pl,
        kesvkey_to_bytes: Cl,
        kesvkey_to_hex: tf,
        language_from_bytes: fp,
        language_from_hex: vp,
        language_from_json: kp,
        language_kind: zp,
        language_new_plutus_v1: Ip,
        language_new_plutus_v2: xp,
        language_new_plutus_v3: jp,
        language_to_bytes: lp,
        language_to_hex: hp,
        language_to_js_value: mp,
        language_to_json: yp,
        languages_add: $p,
        languages_get: qp,
        languages_len: Op,
        languages_list: Lp,
        languages_new: Rp,
        legacydaedalusprivatekey_as_bytes: xu,
        legacydaedalusprivatekey_chaincode: ju,
        legacydaedalusprivatekey_from_bytes: Iu,
        linearfee_coefficient: dp,
        linearfee_constant: ip,
        linearfee_new: cp,
        make_daedalus_bootstrap_witness: y3,
        make_icarus_bootstrap_witness: m3,
        make_vkey_witness: k3,
        malformedaddress_from_address: fJ,
        malformedaddress_original_bytes: bJ,
        malformedaddress_to_address: lJ,
        memory: fi,
        metadatalist_add: dQ,
        metadatalist_from_bytes: rQ,
        metadatalist_from_hex: oQ,
        metadatalist_get: iQ,
        metadatalist_len: sQ,
        metadatalist_new: aQ,
        metadatalist_to_bytes: eQ,
        metadatalist_to_hex: nQ,
        metadatamap_from_bytes: SZ,
        metadatamap_from_hex: HZ,
        metadatamap_get: VZ,
        metadatamap_get_i32: PZ,
        metadatamap_get_str: CZ,
        metadatamap_has: BZ,
        metadatamap_insert: AZ,
        metadatamap_insert_i32: NZ,
        metadatamap_insert_str: TZ,
        metadatamap_keys: tQ,
        metadatamap_len: DZ,
        metadatamap_new: GZ,
        metadatamap_to_bytes: MZ,
        metadatamap_to_hex: WZ,
        min_ada_for_output: R3,
        min_fee: gp,
        min_ref_script_fee: up,
        min_script_fee: wp,
        mint_as_negative_multiasset: $8,
        mint_as_positive_multiasset: q8,
        mint_from_bytes: h8,
        mint_from_hex: y8,
        mint_from_json: I8,
        mint_get: R8,
        mint_insert: F8,
        mint_keys: O8,
        mint_len: z8,
        mint_new: x8,
        mint_new_from_entry: j8,
        mint_to_bytes: f8,
        mint_to_hex: v8,
        mint_to_js_value: k8,
        mint_to_json: m8,
        mintassets_get: u8,
        mintassets_insert: w8,
        mintassets_keys: b8,
        mintassets_len: p8,
        mintassets_new: c8,
        mintassets_new_from_entry: g8,
        mintbuilder_add_asset: Ii,
        mintbuilder_build: ji,
        mintbuilder_get_native_scripts: zi,
        mintbuilder_get_plutus_witnesses: Fi,
        mintbuilder_get_redeemers: Oi,
        mintbuilder_get_ref_inputs: Ri,
        mintbuilder_has_native_scripts: $i,
        mintbuilder_has_plutus_scripts: qi,
        mintbuilder_new: ki,
        mintbuilder_set_asset: xi,
        mintsassets_add: a8,
        mintsassets_from_json: n8,
        mintsassets_get: s8,
        mintsassets_len: i8,
        mintsassets_new: o8,
        mintsassets_to_js_value: r8,
        mintsassets_to_json: e8,
        mintwitness_new_native_script: vi,
        mintwitness_new_plutus_script: yi,
        mirtostakecredentials_from_bytes: JE,
        mirtostakecredentials_from_hex: XE,
        mirtostakecredentials_from_json: KE,
        mirtostakecredentials_get: WE,
        mirtostakecredentials_insert: SE,
        mirtostakecredentials_keys: HE,
        mirtostakecredentials_len: ME,
        mirtostakecredentials_new: UE,
        mirtostakecredentials_to_bytes: YE,
        mirtostakecredentials_to_hex: EE,
        mirtostakecredentials_to_js_value: QE,
        mirtostakecredentials_to_json: ZE,
        moveinstantaneousreward_as_to_other_pot: rX,
        moveinstantaneousreward_as_to_stake_creds: nX,
        moveinstantaneousreward_from_bytes: AE,
        moveinstantaneousreward_from_hex: NE,
        moveinstantaneousreward_from_json: PE,
        moveinstantaneousreward_kind: eX,
        moveinstantaneousreward_new_to_other_pot: BE,
        moveinstantaneousreward_new_to_stake_creds: tX,
        moveinstantaneousreward_pot: _X,
        moveinstantaneousreward_to_bytes: DE,
        moveinstantaneousreward_to_hex: TE,
        moveinstantaneousreward_to_js_value: CE,
        moveinstantaneousreward_to_json: VE,
        moveinstantaneousrewardscert_from_bytes: xE,
        moveinstantaneousrewardscert_from_hex: zE,
        moveinstantaneousrewardscert_from_json: OE,
        moveinstantaneousrewardscert_move_instantaneous_reward: qE,
        moveinstantaneousrewardscert_new: $E,
        moveinstantaneousrewardscert_to_bytes: IE,
        moveinstantaneousrewardscert_to_hex: jE,
        moveinstantaneousrewardscert_to_js_value: RE,
        moveinstantaneousrewardscert_to_json: FE,
        multiasset_from_bytes: M7,
        multiasset_from_hex: W7,
        multiasset_from_json: D7,
        multiasset_get: V7,
        multiasset_get_asset: P7,
        multiasset_insert: N7,
        multiasset_keys: B7,
        multiasset_len: T7,
        multiasset_new: A7,
        multiasset_set_asset: C7,
        multiasset_sub: t8,
        multiasset_to_bytes: U7,
        multiasset_to_hex: S7,
        multiasset_to_js_value: G7,
        multiasset_to_json: H7,
        multihostname_dns_name: W5,
        multihostname_from_bytes: Z5,
        multihostname_from_hex: K5,
        multihostname_from_json: S5,
        multihostname_new: H5,
        multihostname_to_bytes: X5,
        multihostname_to_hex: Q5,
        multihostname_to_js_value: M5,
        multihostname_to_json: U5,
        nativescript_as_script_all: SL,
        nativescript_as_script_any: WL,
        nativescript_as_script_n_of_k: HL,
        nativescript_as_script_pubkey: ML,
        nativescript_as_timelock_expiry: DL,
        nativescript_as_timelock_start: GL,
        nativescript_from_bytes: FL,
        nativescript_from_hex: OL,
        nativescript_from_json: LL,
        nativescript_get_required_signers: AL,
        nativescript_hash: YL,
        nativescript_kind: UL,
        nativescript_new_script_all: EL,
        nativescript_new_script_any: XL,
        nativescript_new_script_n_of_k: ZL,
        nativescript_new_script_pubkey: JL,
        nativescript_new_timelock_expiry: KL,
        nativescript_new_timelock_start: QL,
        nativescript_to_bytes: zL,
        nativescript_to_hex: RL,
        nativescript_to_js_value: $L,
        nativescript_to_json: qL,
        nativescripts_add: _F,
        nativescripts_from_bytes: rF,
        nativescripts_from_hex: oF,
        nativescripts_from_json: iF,
        nativescripts_get: tF,
        nativescripts_len: Bz,
        nativescripts_new: Pz,
        nativescripts_to_bytes: eF,
        nativescripts_to_hex: nF,
        nativescripts_to_js_value: sF,
        nativescripts_to_json: aF,
        nativescriptsource_get_ref_script_size: U3,
        nativescriptsource_new: Z3,
        nativescriptsource_new_ref_input: Q3,
        nativescriptsource_set_required_signers: K3,
        networkid_from_bytes: J8,
        networkid_from_hex: X8,
        networkid_from_json: K8,
        networkid_kind: S8,
        networkid_mainnet: M8,
        networkid_testnet: U8,
        networkid_to_bytes: Y8,
        networkid_to_hex: E8,
        networkid_to_js_value: Q8,
        networkid_to_json: Z8,
        networkinfo_mainnet: wJ,
        networkinfo_network_id: dJ,
        networkinfo_new: iJ,
        networkinfo_protocol_magic: cJ,
        networkinfo_testnet_preprod: pJ,
        networkinfo_testnet_preview: gJ,
        newconstitutionaction_constitution: Ac,
        newconstitutionaction_from_bytes: Uc,
        newconstitutionaction_from_hex: Sc,
        newconstitutionaction_from_json: Gc,
        newconstitutionaction_gov_action_id: Dc,
        newconstitutionaction_has_script_hash: Vc,
        newconstitutionaction_new: Tc,
        newconstitutionaction_new_with_action_id: Nc,
        newconstitutionaction_to_bytes: Kc,
        newconstitutionaction_to_hex: Mc,
        newconstitutionaction_to_js_value: Hc,
        newconstitutionaction_to_json: Wc,
        noconfidenceaction_from_bytes: W3,
        noconfidenceaction_from_hex: G3,
        noconfidenceaction_from_json: T3,
        noconfidenceaction_gov_action_id: N3,
        noconfidenceaction_new: V3,
        noconfidenceaction_new_with_action_id: C3,
        noconfidenceaction_to_bytes: S3,
        noconfidenceaction_to_hex: H3,
        noconfidenceaction_to_js_value: A3,
        noconfidenceaction_to_json: D3,
        nonce_from_bytes: Sz,
        nonce_from_hex: Hz,
        nonce_from_json: Az,
        nonce_get_hash: Vz,
        nonce_new_from_hash: Nz,
        nonce_new_identity: Tz,
        nonce_to_bytes: Mz,
        nonce_to_hex: Wz,
        nonce_to_js_value: Dz,
        nonce_to_json: Gz,
        operationalcert_from_bytes: Ik,
        operationalcert_from_hex: jk,
        operationalcert_from_json: Rk,
        operationalcert_hot_vkey: Ok,
        operationalcert_kes_period: $k,
        operationalcert_new: Yk,
        operationalcert_sequence_number: qk,
        operationalcert_sigma: Lk,
        operationalcert_to_bytes: kk,
        operationalcert_to_hex: xk,
        operationalcert_to_js_value: Fk,
        operationalcert_to_json: zk,
        outputdatum_data: D9,
        outputdatum_data_hash: G9,
        outputdatum_new_data: H9,
        outputdatum_new_data_hash: W9,
        parameterchangeaction_from_bytes: tc,
        parameterchangeaction_from_hex: ec,
        parameterchangeaction_from_json: oc,
        parameterchangeaction_gov_action_id: ac,
        parameterchangeaction_new: dc,
        parameterchangeaction_new_with_action_id: cc,
        parameterchangeaction_new_with_policy_hash: gc,
        parameterchangeaction_new_with_policy_hash_and_action_id: pc,
        parameterchangeaction_policy_hash: ic,
        parameterchangeaction_protocol_param_updates: sc,
        parameterchangeaction_to_bytes: Bd,
        parameterchangeaction_to_hex: _c,
        parameterchangeaction_to_js_value: nc,
        parameterchangeaction_to_json: rc,
        plutusdata_as_address: iL,
        plutusdata_as_bytes: aL,
        plutusdata_as_constr_plutus_data: eL,
        plutusdata_as_integer: oL,
        plutusdata_as_list: nL,
        plutusdata_as_map: rL,
        plutusdata_from_address: sL,
        plutusdata_from_bytes: G$,
        plutusdata_from_hex: A$,
        plutusdata_from_json: aJ,
        plutusdata_kind: _L,
        plutusdata_new_bytes: tL,
        plutusdata_new_constr_plutus_data: T$,
        plutusdata_new_empty_constr_plutus_data: N$,
        plutusdata_new_integer: B$,
        plutusdata_new_list: P$,
        plutusdata_new_map: C$,
        plutusdata_new_single_value_constr_plutus_data: V$,
        plutusdata_to_bytes: H$,
        plutusdata_to_hex: D$,
        plutusdata_to_json: oJ,
        plutuslist_add: fL,
        plutuslist_from_bytes: gL,
        plutuslist_from_hex: wL,
        plutuslist_get: lL,
        plutuslist_len: bL,
        plutuslist_new: uL,
        plutuslist_to_bytes: cL,
        plutuslist_to_hex: pL,
        plutusmap_from_bytes: E$,
        plutusmap_from_hex: Z$,
        plutusmap_get: M$,
        plutusmap_insert: U$,
        plutusmap_keys: S$,
        plutusmap_len: K$,
        plutusmap_new: Q$,
        plutusmap_to_bytes: J$,
        plutusmap_to_hex: X$,
        plutusmapvalues_add: L$,
        plutusmapvalues_get: $$,
        plutusmapvalues_len: q$,
        plutusmapvalues_new: O$,
        plutusscript_bytes: SS,
        plutusscript_from_bytes: ES,
        plutusscript_from_bytes_v2: WS,
        plutusscript_from_bytes_v3: HS,
        plutusscript_from_bytes_with_version: GS,
        plutusscript_from_hex: ZS,
        plutusscript_from_hex_with_version: DS,
        plutusscript_hash: AS,
        plutusscript_language_version: TS,
        plutusscript_new: QS,
        plutusscript_new_v2: KS,
        plutusscript_new_v3: US,
        plutusscript_new_with_version: MS,
        plutusscript_to_bytes: JS,
        plutusscript_to_hex: XS,
        plutusscripts_add: Qv,
        plutusscripts_from_bytes: Ov,
        plutusscripts_from_hex: $v,
        plutusscripts_from_json: Jv,
        plutusscripts_get: Zv,
        plutusscripts_len: Xv,
        plutusscripts_new: Ev,
        plutusscripts_to_bytes: Rv,
        plutusscripts_to_hex: qv,
        plutusscripts_to_js_value: Yv,
        plutusscripts_to_json: Lv,
        plutusscriptsource_get_ref_script_size: E3,
        plutusscriptsource_new: L3,
        plutusscriptsource_new_ref_input: Y3,
        plutusscriptsource_set_required_signers: J3,
        plutuswitness_datum: Mi,
        plutuswitness_new: Xi,
        plutuswitness_new_with_ref: Zi,
        plutuswitness_new_with_ref_without_datum: Ki,
        plutuswitness_new_without_datum: Qi,
        plutuswitness_redeemer: Si,
        plutuswitness_script: Ui,
        plutuswitnesses_add: Ai,
        plutuswitnesses_get: Di,
        plutuswitnesses_len: Gi,
        plutuswitnesses_new: Hi,
        pointer_cert_index: pj,
        pointer_cert_index_bignum: dj,
        pointer_new: lj,
        pointer_new_pointer: bj,
        pointer_slot: uj,
        pointer_slot_bignum: gj,
        pointer_tx_index: wj,
        pointer_tx_index_bignum: cj,
        pointeraddress_from_address: bE,
        pointeraddress_network_id: lE,
        pointeraddress_new: gE,
        pointeraddress_payment_cred: pE,
        pointeraddress_stake_pointer: wE,
        pointeraddress_to_address: uE,
        poolmetadata_from_bytes: i9,
        poolmetadata_from_hex: c9,
        poolmetadata_from_json: w9,
        poolmetadata_new: l9,
        poolmetadata_pool_metadata_hash: b9,
        poolmetadata_to_bytes: s9,
        poolmetadata_to_hex: d9,
        poolmetadata_to_js_value: p9,
        poolmetadata_to_json: g9,
        poolmetadata_url: u9,
        poolmetadatahash_from_bech32: gl,
        poolmetadatahash_from_bytes: il,
        poolmetadatahash_from_hex: wl,
        poolmetadatahash_to_bech32: cl,
        poolmetadatahash_to_bytes: dl,
        poolmetadatahash_to_hex: pl,
        poolparams_cost: T1,
        poolparams_from_bytes: K1,
        poolparams_from_hex: M1,
        poolparams_from_json: H1,
        poolparams_margin: N1,
        poolparams_new: t0,
        poolparams_operator: G1,
        poolparams_pledge: A1,
        poolparams_pool_metadata: B1,
        poolparams_pool_owners: C1,
        poolparams_relays: P1,
        poolparams_reward_account: V1,
        poolparams_to_bytes: Q1,
        poolparams_to_hex: U1,
        poolparams_to_js_value: W1,
        poolparams_to_json: S1,
        poolparams_vrf_keyhash: D1,
        poolregistration_from_bytes: f1,
        poolregistration_from_hex: v1,
        poolregistration_from_json: k1,
        poolregistration_new: x1,
        poolregistration_pool_params: I1,
        poolregistration_to_bytes: l1,
        poolregistration_to_hex: h1,
        poolregistration_to_js_value: m1,
        poolregistration_to_json: y1,
        poolretirement_epoch: tq,
        poolretirement_from_bytes: A8,
        poolretirement_from_hex: N8,
        poolretirement_from_json: P8,
        poolretirement_new: _q,
        poolretirement_pool_keyhash: B8,
        poolretirement_to_bytes: D8,
        poolretirement_to_hex: T8,
        poolretirement_to_js_value: C8,
        poolretirement_to_json: V8,
        poolvotingthresholds_committee_no_confidence: VI,
        poolvotingthresholds_committee_normal: NI,
        poolvotingthresholds_from_bytes: MI,
        poolvotingthresholds_from_hex: WI,
        poolvotingthresholds_from_json: DI,
        poolvotingthresholds_hard_fork_initiation: CI,
        poolvotingthresholds_motion_no_confidence: TI,
        poolvotingthresholds_new: AI,
        poolvotingthresholds_security_relevant_threshold: PI,
        poolvotingthresholds_to_bytes: UI,
        poolvotingthresholds_to_hex: SI,
        poolvotingthresholds_to_js_value: GI,
        poolvotingthresholds_to_json: HI,
        privatekey_as_bytes: ob,
        privatekey_from_bech32: sb,
        privatekey_from_extended_bytes: nb,
        privatekey_from_hex: tb,
        privatekey_from_normal_bytes: rb,
        privatekey_generate_ed25519: db,
        privatekey_generate_ed25519extended: ib,
        privatekey_sign: eb,
        privatekey_to_bech32: ab,
        privatekey_to_hex: _b,
        privatekey_to_public: cb,
        proposedprotocolparameterupdates_from_bytes: qO,
        proposedprotocolparameterupdates_from_hex: LO,
        proposedprotocolparameterupdates_from_json: EO,
        proposedprotocolparameterupdates_get: KO,
        proposedprotocolparameterupdates_insert: QO,
        proposedprotocolparameterupdates_keys: UO,
        proposedprotocolparameterupdates_len: ZO,
        proposedprotocolparameterupdates_new: XO,
        proposedprotocolparameterupdates_to_bytes: OO,
        proposedprotocolparameterupdates_to_hex: $O,
        proposedprotocolparameterupdates_to_js_value: JO,
        proposedprotocolparameterupdates_to_json: YO,
        protocolparamupdate_ada_per_utxo_byte: wx,
        protocolparamupdate_collateral_percentage: jx,
        protocolparamupdate_committee_term_limit: Ex,
        protocolparamupdate_cost_models: bx,
        protocolparamupdate_d: ax,
        protocolparamupdate_drep_deposit: Mx,
        protocolparamupdate_drep_inactivity_period: Wx,
        protocolparamupdate_drep_voting_thresholds: $x,
        protocolparamupdate_execution_costs: fx,
        protocolparamupdate_expansion_rate: rx,
        protocolparamupdate_extra_entropy: sx,
        protocolparamupdate_from_bytes: q6,
        protocolparamupdate_from_hex: L6,
        protocolparamupdate_from_json: E6,
        protocolparamupdate_governance_action_deposit: Kx,
        protocolparamupdate_governance_action_validity_period: Zx,
        protocolparamupdate_key_deposit: A6,
        protocolparamupdate_max_block_body_size: M6,
        protocolparamupdate_max_block_ex_units: mx,
        protocolparamupdate_max_block_header_size: G6,
        protocolparamupdate_max_collateral_inputs: Fx,
        protocolparamupdate_max_epoch: C6,
        protocolparamupdate_max_tx_ex_units: vx,
        protocolparamupdate_max_tx_size: W6,
        protocolparamupdate_max_value_size: Ix,
        protocolparamupdate_min_committee_size: Yx,
        protocolparamupdate_min_pool_cost: gx,
        protocolparamupdate_minfee_a: Z6,
        protocolparamupdate_minfee_b: K6,
        protocolparamupdate_n_opt: B6,
        protocolparamupdate_new: Dx,
        protocolparamupdate_pool_deposit: N6,
        protocolparamupdate_pool_pledge_influence: _x,
        protocolparamupdate_pool_voting_thresholds: Ox,
        protocolparamupdate_protocol_version: dx,
        protocolparamupdate_ref_script_coins_per_byte: Gx,
        protocolparamupdate_set_ada_per_utxo_byte: px,
        protocolparamupdate_set_collateral_percentage: xx,
        protocolparamupdate_set_committee_term_limit: Jx,
        protocolparamupdate_set_cost_models: ux,
        protocolparamupdate_set_drep_deposit: Ux,
        protocolparamupdate_set_drep_inactivity_period: Sx,
        protocolparamupdate_set_drep_voting_thresholds: qx,
        protocolparamupdate_set_execution_costs: lx,
        protocolparamupdate_set_expansion_rate: ex,
        protocolparamupdate_set_governance_action_deposit: Qx,
        protocolparamupdate_set_governance_action_validity_period: Xx,
        protocolparamupdate_set_key_deposit: D6,
        protocolparamupdate_set_max_block_body_size: U6,
        protocolparamupdate_set_max_block_ex_units: yx,
        protocolparamupdate_set_max_block_header_size: H6,
        protocolparamupdate_set_max_collateral_inputs: zx,
        protocolparamupdate_set_max_epoch: V6,
        protocolparamupdate_set_max_tx_ex_units: hx,
        protocolparamupdate_set_max_tx_size: S6,
        protocolparamupdate_set_max_value_size: kx,
        protocolparamupdate_set_min_committee_size: Lx,
        protocolparamupdate_set_min_pool_cost: cx,
        protocolparamupdate_set_minfee_a: X6,
        protocolparamupdate_set_minfee_b: Q6,
        protocolparamupdate_set_n_opt: P6,
        protocolparamupdate_set_pool_deposit: T6,
        protocolparamupdate_set_pool_pledge_influence: tx,
        protocolparamupdate_set_pool_voting_thresholds: Rx,
        protocolparamupdate_set_protocol_version: ix,
        protocolparamupdate_set_ref_script_coins_per_byte: Hx,
        protocolparamupdate_set_treasury_growth_rate: nx,
        protocolparamupdate_to_bytes: O6,
        protocolparamupdate_to_hex: $6,
        protocolparamupdate_to_js_value: J6,
        protocolparamupdate_to_json: Y6,
        protocolparamupdate_treasury_growth_rate: ox,
        protocolversion_from_bytes: WO,
        protocolversion_from_hex: GO,
        protocolversion_from_json: TO,
        protocolversion_major: NO,
        protocolversion_minor: VO,
        protocolversion_new: CO,
        protocolversion_to_bytes: SO,
        protocolversion_to_hex: HO,
        protocolversion_to_js_value: AO,
        protocolversion_to_json: DO,
        publickey_as_bytes: Vu,
        publickey_from_bech32: Pu,
        publickey_from_bytes: Nu,
        publickey_from_hex: Gu,
        publickey_hash: Au,
        publickey_to_bech32: Cu,
        publickey_to_hex: Du,
        publickey_verify: Tu,
        publickeys_add: mE,
        publickeys_get: yE,
        publickeys_new: hE,
        publickeys_size: vE,
        redeemer_data: L4,
        redeemer_ex_units: Y4,
        redeemer_from_bytes: x4,
        redeemer_from_hex: z4,
        redeemer_from_json: O4,
        redeemer_index: $4,
        redeemer_new: J4,
        redeemer_tag: q4,
        redeemer_to_bytes: I4,
        redeemer_to_hex: j4,
        redeemer_to_js_value: R4,
        redeemer_to_json: F4,
        redeemers_add: f$,
        redeemers_from_bytes: i$,
        redeemers_from_hex: c$,
        redeemers_from_json: w$,
        redeemers_get: l$,
        redeemers_get_container_type: h$,
        redeemers_len: b$,
        redeemers_new: u$,
        redeemers_to_bytes: s$,
        redeemers_to_hex: d$,
        redeemers_to_js_value: p$,
        redeemers_to_json: g$,
        redeemers_total_ex_units: v$,
        redeemertag_from_bytes: Mv,
        redeemertag_from_hex: Wv,
        redeemertag_from_json: Dv,
        redeemertag_kind: Bv,
        redeemertag_new_cert: Nv,
        redeemertag_new_mint: Tv,
        redeemertag_new_reward: Vv,
        redeemertag_new_spend: Av,
        redeemertag_new_vote: Cv,
        redeemertag_new_voting_proposal: Pv,
        redeemertag_to_bytes: Uv,
        redeemertag_to_hex: Sv,
        redeemertag_to_js_value: Gv,
        redeemertag_to_json: Hv,
        relay_as_multi_host_name: o9,
        relay_as_single_host_addr: r9,
        relay_as_single_host_name: n9,
        relay_from_bytes: A5,
        relay_from_hex: N5,
        relay_from_json: P5,
        relay_kind: e9,
        relay_new_multi_host_name: _9,
        relay_new_single_host_addr: B5,
        relay_new_single_host_name: t9,
        relay_to_bytes: D5,
        relay_to_hex: T5,
        relay_to_js_value: C5,
        relay_to_json: V5,
        relays_add: X1,
        relays_from_bytes: F1,
        relays_from_hex: O1,
        relays_from_json: L1,
        relays_get: E1,
        relays_len: J1,
        relays_new: Y1,
        relays_to_bytes: z1,
        relays_to_hex: R1,
        relays_to_js_value: $1,
        relays_to_json: q1,
        rewardaddress_from_address: iE,
        rewardaddress_network_id: dE,
        rewardaddress_new: oE,
        rewardaddress_payment_cred: aE,
        rewardaddress_to_address: sE,
        rewardaddresses_add: R9,
        rewardaddresses_from_bytes: v9,
        rewardaddresses_from_hex: m9,
        rewardaddresses_from_json: x9,
        rewardaddresses_get: F9,
        rewardaddresses_len: z9,
        rewardaddresses_new: j9,
        rewardaddresses_to_bytes: h9,
        rewardaddresses_to_hex: y9,
        rewardaddresses_to_js_value: I9,
        rewardaddresses_to_json: k9,
        scriptall_from_bytes: aY,
        scriptall_from_hex: iY,
        scriptall_from_json: gY,
        scriptall_native_scripts: pY,
        scriptall_new: wY,
        scriptall_to_bytes: oY,
        scriptall_to_hex: sY,
        scriptall_to_js_value: cY,
        scriptall_to_json: dY,
        scriptany_from_bytes: lY,
        scriptany_from_hex: hY,
        scriptany_from_json: mY,
        scriptany_native_scripts: kY,
        scriptany_new: IY,
        scriptany_to_bytes: bY,
        scriptany_to_hex: fY,
        scriptany_to_js_value: yY,
        scriptany_to_json: vY,
        scriptdatahash_from_bech32: Kl,
        scriptdatahash_from_bytes: Xl,
        scriptdatahash_from_hex: Ml,
        scriptdatahash_to_bech32: Ql,
        scriptdatahash_to_bytes: Zl,
        scriptdatahash_to_hex: Ul,
        scripthash_from_bech32: Ib,
        scripthash_from_bytes: yb,
        scripthash_from_hex: jb,
        scripthash_to_bech32: kb,
        scripthash_to_bytes: mb,
        scripthash_to_hex: xb,
        scripthashes_add: FO,
        scripthashes_from_bytes: hO,
        scripthashes_from_hex: yO,
        scripthashes_from_json: IO,
        scripthashes_get: zO,
        scripthashes_len: jO,
        scripthashes_new: xO,
        scripthashes_to_bytes: fO,
        scripthashes_to_hex: vO,
        scripthashes_to_js_value: kO,
        scripthashes_to_json: mO,
        scriptnofk_from_bytes: zY,
        scriptnofk_from_hex: RY,
        scriptnofk_from_json: $Y,
        scriptnofk_n: LY,
        scriptnofk_native_scripts: YY,
        scriptnofk_new: JY,
        scriptnofk_to_bytes: jY,
        scriptnofk_to_hex: FY,
        scriptnofk_to_js_value: qY,
        scriptnofk_to_json: OY,
        scriptpubkey_addr_keyhash: eY,
        scriptpubkey_from_bytes: VL,
        scriptpubkey_from_hex: PL,
        scriptpubkey_from_json: _Y,
        scriptpubkey_new: rY,
        scriptpubkey_to_bytes: NL,
        scriptpubkey_to_hex: CL,
        scriptpubkey_to_js_value: tY,
        scriptpubkey_to_json: BL,
        scriptref_from_bytes: Z0,
        scriptref_from_hex: K0,
        scriptref_from_json: S0,
        scriptref_is_native_script: G0,
        scriptref_is_plutus_script: D0,
        scriptref_native_script: A0,
        scriptref_new_native_script: W0,
        scriptref_new_plutus_script: H0,
        scriptref_plutus_script: T0,
        scriptref_to_bytes: X0,
        scriptref_to_hex: Q0,
        scriptref_to_js_value: M0,
        scriptref_to_json: U0,
        scriptref_to_unwrapped_bytes: N0,
        singlehostaddr_from_bytes: u5,
        singlehostaddr_from_hex: l5,
        singlehostaddr_from_json: v5,
        singlehostaddr_ipv4: m5,
        singlehostaddr_ipv6: k5,
        singlehostaddr_new: I5,
        singlehostaddr_port: y5,
        singlehostaddr_to_bytes: w5,
        singlehostaddr_to_hex: b5,
        singlehostaddr_to_js_value: h5,
        singlehostaddr_to_json: f5,
        singlehostname_dns_name: Y5,
        singlehostname_from_bytes: z5,
        singlehostname_from_hex: R5,
        singlehostname_from_json: $5,
        singlehostname_new: J5,
        singlehostname_port: L5,
        singlehostname_to_bytes: j5,
        singlehostname_to_hex: F5,
        singlehostname_to_js_value: q5,
        singlehostname_to_json: O5,
        stakeandvotedelegation_drep: dM,
        stakeandvotedelegation_from_bytes: _M,
        stakeandvotedelegation_from_hex: rM,
        stakeandvotedelegation_from_json: aM,
        stakeandvotedelegation_has_script_credentials: gM,
        stakeandvotedelegation_new: cM,
        stakeandvotedelegation_pool_keyhash: iM,
        stakeandvotedelegation_stake_credential: sM,
        stakeandvotedelegation_to_bytes: tM,
        stakeandvotedelegation_to_hex: eM,
        stakeandvotedelegation_to_js_value: oM,
        stakeandvotedelegation_to_json: nM,
        stakedelegation_from_bytes: r0,
        stakedelegation_from_hex: o0,
        stakedelegation_from_json: i0,
        stakedelegation_has_script_credentials: p0,
        stakedelegation_new: g0,
        stakedelegation_pool_keyhash: c0,
        stakedelegation_stake_credential: d0,
        stakedelegation_to_bytes: e0,
        stakedelegation_to_hex: n0,
        stakedelegation_to_js_value: s0,
        stakedelegation_to_json: a0,
        stakederegistration_coin: uX,
        stakederegistration_from_bytes: sX,
        stakederegistration_from_hex: dX,
        stakederegistration_from_json: pX,
        stakederegistration_has_script_credentials: fX,
        stakederegistration_new: bX,
        stakederegistration_new_with_explicit_refund: lX,
        stakederegistration_stake_credential: wX,
        stakederegistration_to_bytes: aX,
        stakederegistration_to_hex: iX,
        stakederegistration_to_js_value: gX,
        stakederegistration_to_json: cX,
        stakeregistration_coin: wd,
        stakeregistration_from_bytes: ad,
        stakeregistration_from_hex: id,
        stakeregistration_from_json: gd,
        stakeregistration_has_script_credentials: ld,
        stakeregistration_new: ud,
        stakeregistration_new_with_explicit_deposit: bd,
        stakeregistration_stake_credential: pd,
        stakeregistration_to_bytes: od,
        stakeregistration_to_hex: sd,
        stakeregistration_to_js_value: cd,
        stakeregistration_to_json: dd,
        stakeregistrationanddelegation_coin: pq,
        stakeregistrationanddelegation_from_bytes: nq,
        stakeregistrationanddelegation_from_hex: aq,
        stakeregistrationanddelegation_from_json: dq,
        stakeregistrationanddelegation_has_script_credentials: uq,
        stakeregistrationanddelegation_new: wq,
        stakeregistrationanddelegation_pool_keyhash: gq,
        stakeregistrationanddelegation_stake_credential: cq,
        stakeregistrationanddelegation_to_bytes: rq,
        stakeregistrationanddelegation_to_hex: oq,
        stakeregistrationanddelegation_to_js_value: iq,
        stakeregistrationanddelegation_to_json: sq,
        stakevoteregistrationanddelegation_coin: MX,
        stakevoteregistrationanddelegation_drep: UX,
        stakevoteregistrationanddelegation_from_bytes: LX,
        stakevoteregistrationanddelegation_from_hex: JX,
        stakevoteregistrationanddelegation_from_json: ZX,
        stakevoteregistrationanddelegation_has_script_credentials: WX,
        stakevoteregistrationanddelegation_new: SX,
        stakevoteregistrationanddelegation_pool_keyhash: KX,
        stakevoteregistrationanddelegation_stake_credential: QX,
        stakevoteregistrationanddelegation_to_bytes: $X,
        stakevoteregistrationanddelegation_to_hex: YX,
        stakevoteregistrationanddelegation_to_js_value: XX,
        stakevoteregistrationanddelegation_to_json: EX,
        strings_add: K4,
        strings_get: Q4,
        strings_len: Z4,
        strings_new: X4,
        timelockexpiry_from_bytes: NY,
        timelockexpiry_from_hex: CY,
        timelockexpiry_from_json: tJ,
        timelockexpiry_new: rJ,
        timelockexpiry_new_timelockexpiry: nJ,
        timelockexpiry_slot: _J,
        timelockexpiry_slot_bignum: eJ,
        timelockexpiry_to_bytes: TY,
        timelockexpiry_to_hex: VY,
        timelockexpiry_to_js_value: BY,
        timelockexpiry_to_json: PY,
        timelockstart_from_bytes: ZY,
        timelockstart_from_hex: KY,
        timelockstart_from_json: SY,
        timelockstart_new: GY,
        timelockstart_new_timelockstart: DY,
        timelockstart_slot: WY,
        timelockstart_slot_bignum: HY,
        timelockstart_to_bytes: XY,
        timelockstart_to_hex: QY,
        timelockstart_to_js_value: MY,
        timelockstart_to_json: UY,
        transaction_auxiliary_data: $F,
        transaction_body: RF,
        transaction_from_bytes: kF,
        transaction_from_hex: xF,
        transaction_from_json: FF,
        transaction_is_valid: qF,
        transaction_new: YF,
        transaction_set_is_valid: LF,
        transaction_to_bytes: mF,
        transaction_to_hex: IF,
        transaction_to_js_value: zF,
        transaction_to_json: jF,
        transaction_witness_set: OF,
        transactionbatch_get: yf,
        transactionbatch_len: vf,
        transactionbatchlist_get: ff,
        transactionbatchlist_len: lf,
        transactionbodies_add: Dy,
        transactionbodies_from_bytes: Zy,
        transactionbodies_from_hex: Ky,
        transactionbodies_from_json: Sy,
        transactionbodies_get: Gy,
        transactionbodies_len: Hy,
        transactionbodies_new: Wy,
        transactionbodies_to_bytes: Xy,
        transactionbodies_to_hex: Qy,
        transactionbodies_to_js_value: My,
        transactionbodies_to_json: Uy,
        transactionbody_auxiliary_data_hash: iI,
        transactionbody_certs: eI,
        transactionbody_collateral: yI,
        transactionbody_collateral_return: zI,
        transactionbody_current_treasury_value: XI,
        transactionbody_donation: JI,
        transactionbody_fee: V4,
        transactionbody_from_bytes: S4,
        transactionbody_from_hex: H4,
        transactionbody_from_json: A4,
        transactionbody_inputs: T4,
        transactionbody_mint: uI,
        transactionbody_network_id: xI,
        transactionbody_new: ZI,
        transactionbody_new_tx_body: QI,
        transactionbody_outputs: N4,
        transactionbody_reference_inputs: lI,
        transactionbody_remove_ttl: tI,
        transactionbody_required_signers: kI,
        transactionbody_script_data_hash: hI,
        transactionbody_set_auxiliary_data_hash: sI,
        transactionbody_set_certs: _I,
        transactionbody_set_collateral: vI,
        transactionbody_set_collateral_return: jI,
        transactionbody_set_current_treasury_value: EI,
        transactionbody_set_donation: YI,
        transactionbody_set_mint: wI,
        transactionbody_set_network_id: II,
        transactionbody_set_reference_inputs: bI,
        transactionbody_set_required_signers: mI,
        transactionbody_set_script_data_hash: fI,
        transactionbody_set_total_collateral: FI,
        transactionbody_set_ttl: B4,
        transactionbody_set_update: oI,
        transactionbody_set_validity_start_interval: dI,
        transactionbody_set_validity_start_interval_bignum: cI,
        transactionbody_set_voting_procedures: OI,
        transactionbody_set_voting_proposals: $I,
        transactionbody_set_withdrawals: rI,
        transactionbody_to_bytes: M4,
        transactionbody_to_hex: W4,
        transactionbody_to_js_value: D4,
        transactionbody_to_json: G4,
        transactionbody_total_collateral: RI,
        transactionbody_ttl: C4,
        transactionbody_ttl_bignum: P4,
        transactionbody_update: aI,
        transactionbody_validity_start_interval: pI,
        transactionbody_validity_start_interval_bignum: gI,
        transactionbody_voting_procedures: qI,
        transactionbody_voting_proposals: LI,
        transactionbody_withdrawals: nI,
        transactionbuilder_add_bootstrap_input: t2,
        transactionbuilder_add_change_if_needed: r1,
        transactionbuilder_add_change_if_needed_with_datum: n1,
        transactionbuilder_add_extra_witness_datum: S2,
        transactionbuilder_add_inputs_from: Um,
        transactionbuilder_add_inputs_from_and_change: e2,
        transactionbuilder_add_inputs_from_and_change_with_collateral_return: r2,
        transactionbuilder_add_json_metadatum: q2,
        transactionbuilder_add_json_metadatum_with_schema: $2,
        transactionbuilder_add_key_input: Cm,
        transactionbuilder_add_metadatum: O2,
        transactionbuilder_add_mint_asset: K2,
        transactionbuilder_add_mint_asset_and_output: U2,
        transactionbuilder_add_mint_asset_and_output_min_required_coin: M2,
        transactionbuilder_add_native_script_input: Pm,
        transactionbuilder_add_output: s2,
        transactionbuilder_add_plutus_script_input: Bm,
        transactionbuilder_add_reference_input: Nm,
        transactionbuilder_add_regular_input: _2,
        transactionbuilder_add_required_signer: i1,
        transactionbuilder_add_script_reference_input: Vm,
        transactionbuilder_build: g1,
        transactionbuilder_build_tx: p1,
        transactionbuilder_build_tx_unsafe: w1,
        transactionbuilder_calc_script_data_hash: o1,
        transactionbuilder_fee_for_input: a2,
        transactionbuilder_fee_for_output: i2,
        transactionbuilder_full_size: d1,
        transactionbuilder_get_auxiliary_data: j2,
        transactionbuilder_get_current_treasury_value: A2,
        transactionbuilder_get_deposit: _1,
        transactionbuilder_get_donation: G2,
        transactionbuilder_get_explicit_input: V2,
        transactionbuilder_get_explicit_output: t1,
        transactionbuilder_get_extra_witness_datums: W2,
        transactionbuilder_get_fee_if_set: e1,
        transactionbuilder_get_implicit_input: C2,
        transactionbuilder_get_mint: X2,
        transactionbuilder_get_mint_builder: J2,
        transactionbuilder_get_mint_scripts: Z2,
        transactionbuilder_get_native_input_scripts: n2,
        transactionbuilder_get_plutus_input_scripts: o2,
        transactionbuilder_get_reference_inputs: N2,
        transactionbuilder_get_total_input: P2,
        transactionbuilder_get_total_output: B2,
        transactionbuilder_min_fee: u1,
        transactionbuilder_new: T2,
        transactionbuilder_output_sizes: c1,
        transactionbuilder_remove_auxiliary_data: F2,
        transactionbuilder_remove_certs: h2,
        transactionbuilder_remove_collateral_return: Hm,
        transactionbuilder_remove_mint_builder: Y2,
        transactionbuilder_remove_script_data_hash: s1,
        transactionbuilder_remove_total_collateral: Am,
        transactionbuilder_remove_ttl: w2,
        transactionbuilder_remove_validity_start_interval: l2,
        transactionbuilder_remove_withdrawals: x2,
        transactionbuilder_set_auxiliary_data: z2,
        transactionbuilder_set_certs: f2,
        transactionbuilder_set_certs_builder: v2,
        transactionbuilder_set_collateral: Sm,
        transactionbuilder_set_collateral_return: Wm,
        transactionbuilder_set_collateral_return_and_total: Gm,
        transactionbuilder_set_current_treasury_value: D2,
        transactionbuilder_set_donation: H2,
        transactionbuilder_set_fee: d2,
        transactionbuilder_set_inputs: Mm,
        transactionbuilder_set_metadata: R2,
        transactionbuilder_set_min_fee: c2,
        transactionbuilder_set_mint: E2,
        transactionbuilder_set_mint_asset: Q2,
        transactionbuilder_set_mint_builder: L2,
        transactionbuilder_set_script_data_hash: a1,
        transactionbuilder_set_total_collateral: Dm,
        transactionbuilder_set_total_collateral_and_return: Tm,
        transactionbuilder_set_ttl: g2,
        transactionbuilder_set_ttl_bignum: p2,
        transactionbuilder_set_validity_start_interval: u2,
        transactionbuilder_set_validity_start_interval_bignum: b2,
        transactionbuilder_set_voting_builder: k2,
        transactionbuilder_set_voting_proposal_builder: I2,
        transactionbuilder_set_withdrawals: y2,
        transactionbuilder_set_withdrawals_builder: m2,
        transactionbuilderconfigbuilder_build: Ym,
        transactionbuilderconfigbuilder_coins_per_utxo_byte: Im,
        transactionbuilderconfigbuilder_deduplicate_explicit_ref_inputs_with_regular_inputs: $m,
        transactionbuilderconfigbuilder_do_not_burn_extra_change: Lm,
        transactionbuilderconfigbuilder_ex_unit_prices: xm,
        transactionbuilderconfigbuilder_fee_algo: km,
        transactionbuilderconfigbuilder_key_deposit: zm,
        transactionbuilderconfigbuilder_max_tx_size: Rm,
        transactionbuilderconfigbuilder_max_value_size: Fm,
        transactionbuilderconfigbuilder_new: mm,
        transactionbuilderconfigbuilder_pool_deposit: jm,
        transactionbuilderconfigbuilder_prefer_pure_change: qm,
        transactionbuilderconfigbuilder_ref_script_coins_per_byte: Om,
        transactionhash_from_bech32: Zb,
        transactionhash_from_bytes: Jb,
        transactionhash_from_hex: Kb,
        transactionhash_to_bech32: Xb,
        transactionhash_to_bytes: Eb,
        transactionhash_to_hex: Qb,
        transactioninput_from_bytes: b0,
        transactioninput_from_hex: f0,
        transactioninput_from_json: y0,
        transactioninput_index: k0,
        transactioninput_new: I0,
        transactioninput_to_bytes: u0,
        transactioninput_to_hex: l0,
        transactioninput_to_js_value: v0,
        transactioninput_to_json: h0,
        transactioninput_transaction_id: m0,
        transactioninputs_add: nw,
        transactioninputs_from_bytes: Np,
        transactioninputs_from_hex: Cp,
        transactioninputs_from_json: tw,
        transactioninputs_get: rw,
        transactioninputs_len: ew,
        transactioninputs_new: _w,
        transactioninputs_to_bytes: Tp,
        transactioninputs_to_hex: Vp,
        transactioninputs_to_js_value: Bp,
        transactioninputs_to_json: Pp,
        transactioninputs_to_option: ow,
        transactionmetadatum_as_bytes: xQ,
        transactionmetadatum_as_int: IQ,
        transactionmetadatum_as_list: kQ,
        transactionmetadatum_as_map: mQ,
        transactionmetadatum_as_text: jQ,
        transactionmetadatum_from_bytes: pQ,
        transactionmetadatum_from_hex: uQ,
        transactionmetadatum_kind: yQ,
        transactionmetadatum_new_bytes: hQ,
        transactionmetadatum_new_int: fQ,
        transactionmetadatum_new_list: lQ,
        transactionmetadatum_new_map: bQ,
        transactionmetadatum_new_text: vQ,
        transactionmetadatum_to_bytes: gQ,
        transactionmetadatum_to_hex: wQ,
        transactionmetadatumlabels_add: JQ,
        transactionmetadatumlabels_from_bytes: RQ,
        transactionmetadatumlabels_from_hex: qQ,
        transactionmetadatumlabels_get: YQ,
        transactionmetadatumlabels_len: LQ,
        transactionmetadatumlabels_new: $Q,
        transactionmetadatumlabels_to_bytes: FQ,
        transactionmetadatumlabels_to_hex: OQ,
        transactionoutput_address: rR,
        transactionoutput_amount: nR,
        transactionoutput_data_hash: oR,
        transactionoutput_from_bytes: CF,
        transactionoutput_from_hex: BF,
        transactionoutput_from_json: eR,
        transactionoutput_has_data_hash: pR,
        transactionoutput_has_plutus_data: gR,
        transactionoutput_has_script_ref: wR,
        transactionoutput_new: uR,
        transactionoutput_plutus_data: aR,
        transactionoutput_script_ref: sR,
        transactionoutput_serialization_format: bR,
        transactionoutput_set_data_hash: cR,
        transactionoutput_set_plutus_data: dR,
        transactionoutput_set_script_ref: iR,
        transactionoutput_to_bytes: VF,
        transactionoutput_to_hex: PF,
        transactionoutput_to_js_value: _R,
        transactionoutput_to_json: tR,
        transactionoutputamountbuilder_build: PU,
        transactionoutputamountbuilder_with_asset_and_min_required_coin_by_utxo_cost: CU,
        transactionoutputamountbuilder_with_coin: NU,
        transactionoutputamountbuilder_with_coin_and_asset: VU,
        transactionoutputamountbuilder_with_value: TU,
        transactionoutputbuilder_new: MU,
        transactionoutputbuilder_next: DU,
        transactionoutputbuilder_with_address: SU,
        transactionoutputbuilder_with_data_hash: WU,
        transactionoutputbuilder_with_plutus_data: HU,
        transactionoutputbuilder_with_script_ref: GU,
        transactionoutputs_add: GF,
        transactionoutputs_from_bytes: XF,
        transactionoutputs_from_hex: QF,
        transactionoutputs_from_json: MF,
        transactionoutputs_get: HF,
        transactionoutputs_len: WF,
        transactionoutputs_new: SF,
        transactionoutputs_to_bytes: EF,
        transactionoutputs_to_hex: ZF,
        transactionoutputs_to_js_value: UF,
        transactionoutputs_to_json: KF,
        transactionunspentoutput_from_bytes: Xk,
        transactionunspentoutput_from_hex: Qk,
        transactionunspentoutput_from_json: Mk,
        transactionunspentoutput_input: Wk,
        transactionunspentoutput_new: Sk,
        transactionunspentoutput_output: Hk,
        transactionunspentoutput_to_bytes: Ek,
        transactionunspentoutput_to_hex: Zk,
        transactionunspentoutput_to_js_value: Uk,
        transactionunspentoutput_to_json: Kk,
        transactionunspentoutputs_add: Pk,
        transactionunspentoutputs_from_json: Tk,
        transactionunspentoutputs_get: Ck,
        transactionunspentoutputs_len: Vk,
        transactionunspentoutputs_new: Nk,
        transactionunspentoutputs_to_js_value: Ak,
        transactionunspentoutputs_to_json: Dk,
        transactionwitnessset_bootstraps: Iz,
        transactionwitnessset_from_bytes: pz,
        transactionwitnessset_from_hex: uz,
        transactionwitnessset_from_json: fz,
        transactionwitnessset_native_scripts: mz,
        transactionwitnessset_new: qz,
        transactionwitnessset_plutus_data: Fz,
        transactionwitnessset_plutus_scripts: jz,
        transactionwitnessset_redeemers: Oz,
        transactionwitnessset_set_bootstraps: kz,
        transactionwitnessset_set_native_scripts: yz,
        transactionwitnessset_set_plutus_data: zz,
        transactionwitnessset_set_plutus_scripts: xz,
        transactionwitnessset_set_redeemers: Rz,
        transactionwitnessset_set_vkeys: hz,
        transactionwitnessset_to_bytes: gz,
        transactionwitnessset_to_hex: wz,
        transactionwitnessset_to_js_value: lz,
        transactionwitnessset_to_json: bz,
        transactionwitnessset_vkeys: vz,
        transactionwitnesssets_add: gy,
        transactionwitnesssets_from_bytes: ey,
        transactionwitnesssets_from_hex: ny,
        transactionwitnesssets_from_json: sy,
        transactionwitnesssets_get: cy,
        transactionwitnesssets_len: dy,
        transactionwitnesssets_new: iy,
        transactionwitnesssets_to_bytes: _y,
        transactionwitnesssets_to_hex: ry,
        transactionwitnesssets_to_js_value: ay,
        transactionwitnesssets_to_json: oy,
        treasurywithdrawals_from_json: Sq,
        treasurywithdrawals_get: Hq,
        treasurywithdrawals_insert: Gq,
        treasurywithdrawals_keys: Dq,
        treasurywithdrawals_len: Aq,
        treasurywithdrawals_new: Wq,
        treasurywithdrawals_to_js_value: Mq,
        treasurywithdrawals_to_json: Uq,
        treasurywithdrawalsaction_from_bytes: Oq,
        treasurywithdrawalsaction_from_hex: $q,
        treasurywithdrawalsaction_from_json: Jq,
        treasurywithdrawalsaction_new: Zq,
        treasurywithdrawalsaction_new_with_policy_hash: Qq,
        treasurywithdrawalsaction_policy_hash: Xq,
        treasurywithdrawalsaction_to_bytes: Rq,
        treasurywithdrawalsaction_to_hex: qq,
        treasurywithdrawalsaction_to_js_value: Yq,
        treasurywithdrawalsaction_to_json: Lq,
        treasurywithdrawalsaction_withdrawals: Eq,
        txinputsbuilder_add_bootstrap_input: im,
        txinputsbuilder_add_key_input: om,
        txinputsbuilder_add_native_script_input: am,
        txinputsbuilder_add_native_script_utxo: nm,
        txinputsbuilder_add_plutus_script_input: sm,
        txinputsbuilder_add_plutus_script_utxo: rm,
        txinputsbuilder_add_regular_input: dm,
        txinputsbuilder_add_regular_utxo: em,
        txinputsbuilder_add_required_signer: um,
        txinputsbuilder_add_required_signers: bm,
        txinputsbuilder_get_native_input_scripts: gm,
        txinputsbuilder_get_plutus_input_scripts: pm,
        txinputsbuilder_get_ref_inputs: cm,
        txinputsbuilder_inputs: fm,
        txinputsbuilder_inputs_option: hm,
        txinputsbuilder_len: wm,
        txinputsbuilder_new: _m,
        txinputsbuilder_total_value: lm,
        unitinterval_denominator: hF,
        unitinterval_from_bytes: gF,
        unitinterval_from_hex: wF,
        unitinterval_from_json: lF,
        unitinterval_new: vF,
        unitinterval_numerator: fF,
        unitinterval_to_bytes: cF,
        unitinterval_to_hex: pF,
        unitinterval_to_js_value: bF,
        unitinterval_to_json: uF,
        update_epoch: eO,
        update_from_bytes: N9,
        update_from_hex: C9,
        update_from_json: tO,
        update_new: rO,
        update_proposed_protocol_parameter_updates: _O,
        update_to_bytes: T9,
        update_to_hex: V9,
        update_to_js_value: B9,
        update_to_json: P9,
        updatecommitteeaction_committee: Jc,
        updatecommitteeaction_from_bytes: Fc,
        updatecommitteeaction_from_hex: Oc,
        updatecommitteeaction_from_json: Lc,
        updatecommitteeaction_gov_action_id: Yc,
        updatecommitteeaction_members_to_remove: Ec,
        updatecommitteeaction_new: Xc,
        updatecommitteeaction_new_with_action_id: Zc,
        updatecommitteeaction_to_bytes: zc,
        updatecommitteeaction_to_hex: Rc,
        updatecommitteeaction_to_js_value: $c,
        updatecommitteeaction_to_json: qc,
        url_from_bytes: QR,
        url_from_hex: UR,
        url_from_json: WR,
        url_new: HR,
        url_to_bytes: ZR,
        url_to_hex: KR,
        url_to_js_value: SR,
        url_to_json: MR,
        url_url: GR,
        value_checked_add: l3,
        value_checked_sub: f3,
        value_clamped_sub: h3,
        value_coin: p3,
        value_compare: v3,
        value_from_bytes: _3,
        value_from_hex: r3,
        value_from_json: a3,
        value_is_zero: g3,
        value_multiasset: u3,
        value_new: s3,
        value_new_from_assets: i3,
        value_new_with_assets: d3,
        value_set_coin: w3,
        value_set_multiasset: b3,
        value_to_bytes: t3,
        value_to_hex: e3,
        value_to_js_value: o3,
        value_to_json: n3,
        value_zero: c3,
        versionedblock_block: yU,
        versionedblock_era: mU,
        versionedblock_from_bytes: wU,
        versionedblock_from_hex: bU,
        versionedblock_from_json: hU,
        versionedblock_new: vU,
        versionedblock_to_bytes: pU,
        versionedblock_to_hex: uU,
        versionedblock_to_js_value: fU,
        versionedblock_to_json: lU,
        vkey_from_bytes: Nx,
        vkey_from_hex: Cx,
        vkey_from_json: tj,
        vkey_new: _j,
        vkey_public_key: ej,
        vkey_to_bytes: Tx,
        vkey_to_hex: Vx,
        vkey_to_js_value: Bx,
        vkey_to_json: Px,
        vkeys_add: xL,
        vkeys_get: IL,
        vkeys_len: kL,
        vkeys_new: mL,
        vkeywitness_from_bytes: fK,
        vkeywitness_from_hex: vK,
        vkeywitness_from_json: kK,
        vkeywitness_new: IK,
        vkeywitness_signature: jK,
        vkeywitness_to_bytes: lK,
        vkeywitness_to_hex: hK,
        vkeywitness_to_js_value: mK,
        vkeywitness_to_json: yK,
        vkeywitness_vkey: xK,
        vkeywitnesses_add: Ww,
        vkeywitnesses_from_bytes: Jw,
        vkeywitnesses_from_hex: Xw,
        vkeywitnesses_from_json: Kw,
        vkeywitnesses_get: Sw,
        vkeywitnesses_len: Mw,
        vkeywitnesses_new: Uw,
        vkeywitnesses_to_bytes: Yw,
        vkeywitnesses_to_hex: Ew,
        vkeywitnesses_to_js_value: Qw,
        vkeywitnesses_to_json: Zw,
        votedelegation_drep: FX,
        votedelegation_from_bytes: yX,
        votedelegation_from_hex: kX,
        votedelegation_from_json: jX,
        votedelegation_has_script_credentials: OX,
        votedelegation_new: RX,
        votedelegation_stake_credential: zX,
        votedelegation_to_bytes: vX,
        votedelegation_to_hex: mX,
        votedelegation_to_js_value: xX,
        votedelegation_to_json: IX,
        voter_from_bytes: pv,
        voter_from_hex: uv,
        voter_from_json: fv,
        voter_has_script_credentials: jv,
        voter_kind: mv,
        voter_new_constitutional_committee_hot_credential: hv,
        voter_new_drep_credential: vv,
        voter_new_stake_pool_key_hash: yv,
        voter_to_bytes: gv,
        voter_to_constitutional_committee_hot_credential: kv,
        voter_to_drep_credential: Iv,
        voter_to_hex: wv,
        voter_to_js_value: lv,
        voter_to_json: bv,
        voter_to_key_hash: zv,
        voter_to_stake_pool_key_hash: xv,
        voteregistrationanddelegation_coin: tZ,
        voteregistrationanddelegation_drep: BX,
        voteregistrationanddelegation_from_bytes: DX,
        voteregistrationanddelegation_from_hex: TX,
        voteregistrationanddelegation_from_json: CX,
        voteregistrationanddelegation_has_script_credentials: eZ,
        voteregistrationanddelegation_new: _Z,
        voteregistrationanddelegation_stake_credential: PX,
        voteregistrationanddelegation_to_bytes: GX,
        voteregistrationanddelegation_to_hex: AX,
        voteregistrationanddelegation_to_js_value: VX,
        voteregistrationanddelegation_to_json: NX,
        voters_add: Nd,
        voters_from_json: Ad,
        voters_get: Vd,
        voters_len: Cd,
        voters_new: Td,
        voters_to_js_value: Dd,
        voters_to_json: Gd,
        votingbuilder_add: Vi,
        votingbuilder_add_with_native_script: Pi,
        votingbuilder_add_with_plutus_witness: Ci,
        votingbuilder_build: rd,
        votingbuilder_get_native_scripts: _d,
        votingbuilder_get_plutus_witnesses: Bi,
        votingbuilder_get_ref_inputs: td,
        votingbuilder_has_plutus_scripts: ed,
        votingbuilder_new: Ni,
        votingprocedure_anchor: XM,
        votingprocedure_from_bytes: FM,
        votingprocedure_from_hex: OM,
        votingprocedure_from_json: LM,
        votingprocedure_new: YM,
        votingprocedure_new_with_anchor: JM,
        votingprocedure_to_bytes: zM,
        votingprocedure_to_hex: RM,
        votingprocedure_to_js_value: $M,
        votingprocedure_to_json: qM,
        votingprocedure_vote_kind: EM,
        votingprocedures_from_bytes: KM,
        votingprocedures_from_hex: MM,
        votingprocedures_from_json: HM,
        votingprocedures_get: AM,
        votingprocedures_get_governance_action_ids_by_voter: NM,
        votingprocedures_get_voters: TM,
        votingprocedures_insert: DM,
        votingprocedures_new: GM,
        votingprocedures_to_bytes: QM,
        votingprocedures_to_hex: UM,
        votingprocedures_to_js_value: WM,
        votingprocedures_to_json: SM,
        votingproposal_anchor: ag,
        votingproposal_deposit: ig,
        votingproposal_from_bytes: Bc,
        votingproposal_from_hex: _g,
        votingproposal_from_json: ng,
        votingproposal_governance_action: og,
        votingproposal_new: dg,
        votingproposal_reward_account: sg,
        votingproposal_to_bytes: Pc,
        votingproposal_to_hex: tg,
        votingproposal_to_js_value: rg,
        votingproposal_to_json: eg,
        votingproposalbuilder_add: JU,
        votingproposalbuilder_add_with_plutus_witness: EU,
        votingproposalbuilder_build: KU,
        votingproposalbuilder_get_plutus_witnesses: XU,
        votingproposalbuilder_get_ref_inputs: ZU,
        votingproposalbuilder_has_plutus_scripts: QU,
        votingproposalbuilder_new: YU,
        votingproposals_add: mg,
        votingproposals_contains: kg,
        votingproposals_from_bytes: pg,
        votingproposals_from_hex: ug,
        votingproposals_from_json: fg,
        votingproposals_get: yg,
        votingproposals_len: vg,
        votingproposals_new: hg,
        votingproposals_to_bytes: gg,
        votingproposals_to_hex: wg,
        votingproposals_to_js_value: lg,
        votingproposals_to_json: bg,
        votingproposals_to_option: Ig,
        vrfcert_from_bytes: z0,
        vrfcert_from_hex: R0,
        vrfcert_from_json: $0,
        vrfcert_new: J0,
        vrfcert_output: L0,
        vrfcert_proof: Y0,
        vrfcert_to_bytes: j0,
        vrfcert_to_hex: F0,
        vrfcert_to_js_value: q0,
        vrfcert_to_json: O0,
        vrfkeyhash_from_bech32: hl,
        vrfkeyhash_from_bytes: bl,
        vrfkeyhash_from_hex: yl,
        vrfkeyhash_to_bech32: fl,
        vrfkeyhash_to_bytes: ll,
        vrfkeyhash_to_hex: vl,
        vrfvkey_from_bech32: Dl,
        vrfvkey_from_bytes: Wl,
        vrfvkey_from_hex: Tl,
        vrfvkey_to_bech32: Gl,
        vrfvkey_to_bytes: Hl,
        vrfvkey_to_hex: Al,
        withdrawals_from_bytes: $9,
        withdrawals_from_hex: Y9,
        withdrawals_from_json: X9,
        withdrawals_get: U9,
        withdrawals_insert: K9,
        withdrawals_keys: M9,
        withdrawals_len: Q9,
        withdrawals_new: Z9,
        withdrawals_to_bytes: q9,
        withdrawals_to_hex: L9,
        withdrawals_to_js_value: E9,
        withdrawals_to_json: J9,
        withdrawalsbuilder_add: xf,
        withdrawalsbuilder_add_with_native_script: zf,
        withdrawalsbuilder_add_with_plutus_witness: jf,
        withdrawalsbuilder_build: Lf,
        withdrawalsbuilder_get_native_scripts: Of,
        withdrawalsbuilder_get_plutus_witnesses: Ff,
        withdrawalsbuilder_get_ref_inputs: Rf,
        withdrawalsbuilder_get_total_withdrawals: qf,
        withdrawalsbuilder_has_plutus_scripts: $f,
        withdrawalsbuilder_new: If
    }, Symbol.toStringTag, {
        value: "Module"
    }));
    us(uW);
})();
export { $ as Address, UW as AddressKind, G as Anchor, ue as AnchorDataHash, W as AssetName, y_ as AssetNames, a_ as Assets, B as AuxiliaryData, ae as AuxiliaryDataHash, Ee as AuxiliaryDataSet, er as BaseAddress, K as BigInt, v as BigNum, vt as Bip32PrivateKey, m_ as Bip32PublicKey, k_ as Block, MW as BlockEra, pt as BlockHash, bt as BootstrapWitness, I_ as BootstrapWitnesses, lt as ByronAddress, SW as ByronAddressType, WW as CborContainerType, HW as CborSetType, Y as Certificate, GW as CertificateKind, Kt as Certificates, ar as CertificatesBuilder, x_ as ChangeConfig, DW as CoinSelectionStrategyCIP2, s_ as Committee, Dt as CommitteeColdResign, j_ as CommitteeHotAuth, Zt as Constitution, be as ConstrPlutusData, i_ as CostModel, kt as Costmdls, AW as CredKind, I as Credential, zt as Credentials, z_ as DNSRecordAorAAAA, F_ as DNSRecordSRV, H as DRep, R_ as DRepDeregistration, TW as DRepKind, At as DRepRegistration, Tt as DRepUpdate, O_ as DRepVotingThresholds, He as DataCost, Yt as DataHash, Ke as DatumSource, O as Ed25519KeyHash, P as Ed25519KeyHashes, gt as Ed25519Signature, rr as EnterpriseAddress, Ft as ExUnitPrices, nt as ExUnits, Ue as FixedBlock, ce as FixedTransaction, ze as FixedTransactionBodies, Oe as FixedTransactionBody, ur as FixedTxWitnessesSet, nr as FixedVersionedBlock, d_ as GeneralTransactionMetadata, le as GenesisDelegateHash, Jt as GenesisHash, pe as GenesisHashes, q_ as GenesisKeyDelegation, rt as GovernanceAction, Z as GovernanceActionId, Me as GovernanceActionIds, NW as GovernanceActionKind, Nt as HardForkInitiationAction, c_ as Header, Vt as HeaderBody, Ge as InfoAction, E as Int, $_ as Ipv4, L_ as Ipv6, De as KESSignature, fe as KESVKey, A as Language, VW as LanguageKind, qe as Languages, Ae as LegacyDaedalusPrivateKey, Te as LinearFee, CW as MIRKind, PW as MIRPot, Y_ as MIRToStakeCredentials, br as MalformedAddress, BW as MetadataJsonSchema, se as MetadataList, he as MetadataMap, wt as Mint, Wt as MintAssets, Ne as MintBuilder, $e as MintWitness, Se as MintsAssets, Ct as MoveInstantaneousReward, J_ as MoveInstantaneousRewardsCert, N as MultiAsset, E_ as MultiHostName, M as NativeScript, tH as NativeScriptKind, Ht as NativeScriptSource, Q as NativeScripts, Pt as NetworkId, _H as NetworkIdKind, we as NetworkInfo, Bt as NewConstitutionAction, t_ as NoConfidenceAction, v_ as Nonce, g_ as OperationalCert, Le as OutputDatum, yt as ParameterChangeAction, R as PlutusData, eH as PlutusDataKind, rH as PlutusDatumSchema, it as PlutusList, ve as PlutusMap, Ye as PlutusMapValues, S as PlutusScript, me as PlutusScriptSource, Ut as PlutusScripts, tt as PlutusWitness, Gt as PlutusWitnesses, Je as Pointer, or as PointerAddress, X_ as PoolMetadata, ye as PoolMetadataHash, Z_ as PoolParams, Q_ as PoolRegistration, K_ as PoolRetirement, U_ as PoolVotingThresholds, mt as PrivateKey, M_ as ProposedProtocolParameterUpdates, ot as ProtocolParamUpdate, at as ProtocolVersion, Et as PublicKey, pH as PublicKeys, st as Redeemer, ct as RedeemerTag, nH as RedeemerTagKind, Mt as Redeemers, Xt as Relay, oH as RelayKind, S_ as Relays, T as RewardAddress, W_ as RewardAddresses, H_ as ScriptAll, G_ as ScriptAny, l_ as ScriptDataHash, J as ScriptHash, aH as ScriptHashNamespace, D_ as ScriptHashes, A_ as ScriptNOfK, T_ as ScriptPubkey, It as ScriptRef, sH as ScriptSchema, N_ as SingleHostAddr, V_ as SingleHostName, C_ as StakeAndVoteDelegation, P_ as StakeDelegation, xt as StakeDeregistration, jt as StakeRegistration, B_ as StakeRegistrationAndDelegation, te as StakeVoteRegistrationAndDelegation, lr as Strings, __ as TimelockExpiry, e_ as TimelockStart, Rt as Transaction, vr as TransactionBatch, yr as TransactionBatchList, _e as TransactionBodies, C as TransactionBody, fr as TransactionBuilder, Ce as TransactionBuilderConfig, et as TransactionBuilderConfigBuilder, dt as TransactionHash, X as TransactionInput, U as TransactionInputs, L as TransactionMetadatum, iH as TransactionMetadatumKind, Fe as TransactionMetadatumLabels, D as TransactionOutput, p_ as TransactionOutputAmountBuilder, ge as TransactionOutputBuilder, w_ as TransactionOutputs, dH as TransactionSetsState, Ot as TransactionUnspentOutput, de as TransactionUnspentOutputs, ft as TransactionWitnessSet, u_ as TransactionWitnessSets, ke as TreasuryWithdrawals, r_ as TreasuryWithdrawalsAction, Ve as TxInputsBuilder, sr as URL, k as UnitInterval, ee as Update, n_ as UpdateCommitteeAction, qt as VRFCert, f_ as VRFKeyHash, ie as VRFVKey, F as Value, je as VersionedBlock, _t as Vkey, hr as Vkeys, $t as Vkeywitness, re as Vkeywitnesses, ne as VoteDelegation, cH as VoteKind, oe as VoteRegistrationAndDelegation, V as Voter, gH as VoterKind, We as Voters, ir as VotingBuilder, ut as VotingProcedure, b_ as VotingProcedures, Lt as VotingProposal, dr as VotingProposalBuilder, Qt as VotingProposals, St as Withdrawals, cr as WithdrawalsBuilder, ms as __wbg_Error_1f3748b298f99708, ks as __wbg_String_fed4d24b68977888, Is as __wbg_buffer_ef9774282e5dab94, xs as __wbg_call_0ad083564791763a, js as __wbg_call_a34b6b4765f27be0, zs as __wbg_call_ca9f902b9c01d6a4, Fs as __wbg_crypto_b8b8d219dd106386, Rs as __wbg_crypto_ed58b8e10a292839, Os as __wbg_getRandomValues_37d862323ab7a9ea, qs as __wbg_getRandomValues_bcb4912f16000dc4, $s as __wbg_getRandomValues_f95fbcecd77f2425, Ls as __wbg_globalThis_6b4d52a0b6aaeaea, Ys as __wbg_global_49324ce12193de77, Js as __wbg_msCrypto_0a36e2ec3a343d26, Es as __wbg_new_518e2184725aa711, Xs as __wbg_new_592cfd1910fe92ab, Zs as __wbg_new_59845962d1127937, Qs as __wbg_new_67abf4a77618ee3e, Ks as __wbg_new_e2d07398d7689006, Us as __wbg_newnoargs_a136448eeb7d48ac, Ms as __wbg_newwithbyteoffsetandlength_84908302a4c137cf, Ss as __wbg_newwithlength_4c216eaaf23f2f9a, Ws as __wbg_node_02999533c4ea02e3, Hs as __wbg_process_5c1d670bc53614b8, Gs as __wbg_randomFillSync_ab2cfe79ebbf2740, Ds as __wbg_randomFillSync_dacc4c955df2f8ce, As as __wbg_require_51e6ff2a093da33e, Ts as __wbg_require_79b1e9274cde3c87, Ns as __wbg_self_53a054fa1aa99285, Vs as __wbg_self_cca3ca60d61220f4, Cs as __wbg_set_393f510a6b7e9da5, Ps as __wbg_set_3fda3bac07393de4, Bs as __wbg_set_5deee49b10b2b780, ti as __wbg_set_93ba9407b5476ec6, us as __wbg_set_wasm, _i as __wbg_subarray_2dc34705c0dc7cdb, ei as __wbg_versions_c71aa1626a93e0a1, ri as __wbg_wbindgendebugstring_bb652b1bc2061b6d, ni as __wbg_wbindgenisfunction_ea72b9d66a0e1705, oi as __wbg_wbindgenisobject_dfe064a121d87553, ai as __wbg_wbindgenisstring_4b74e4111ba029e6, si as __wbg_wbindgenisundefined_71f08a6ade4354e7, ii as __wbg_wbindgenjsvaleq_f27272c0a890df7f, di as __wbg_wbindgenmemory_6856c8c520f40c41, ci as __wbg_wbindgenstringget_43fe05afe34b0cb1, gi as __wbg_wbindgenthrow_4c11a24fca429ccf, pi as __wbg_window_2aba046d3fc4ad7c, wi as __wbindgen_cast_2241b6af4c4b2941, ui as __wbindgen_cast_d6cd19b81560fd6e, bi as __wbindgen_object_clone_ref, li as __wbindgen_object_drop_ref, fW as calculate_ex_units_ceil_cost, yW as create_send_all, ZW as decode_arbitrary_bytes_from_metadatum, KW as decode_metadatum_to_json_str, EW as decode_plutus_datum_to_json_str, YW as decrypt_with_password, XW as encode_arbitrary_bytes_as_metadatum, QW as encode_json_str_to_metadatum, qW as encode_json_str_to_native_script, JW as encode_json_str_to_plutus_datum, LW as encrypt_with_password, RW as get_deposit, FW as get_implicit_input, $W as has_transaction_set_tag, xW as hash_auxiliary_data, jW as hash_plutus_data, zW as hash_script_data, mW as make_daedalus_bootstrap_witness, kW as make_icarus_bootstrap_witness, IW as make_vkey_witness, OW as min_ada_for_output, lW as min_fee, vW as min_ref_script_fee, hW as min_script_fee, __tla };
