"use strict";const u=require("./address-RcMobNYE.js"),i=e=>{const t=e.decode.bind(e),s=e.encode.bind(e);return{decode:t,encode:s}},f=e=>t=>{const s=u.blob(e,t),{encode:b,decode:r}=i(s),o=s;return o.decode=(c,n)=>{const d=r(c,n);return u.toBigIntLE_1(u.dist.Buffer.from(d))},o.encode=(c,n,d)=>{const l=u.toBufferLE_1(c,e);return b(l,n,d)},o},y=f(8),L=e=>{const t=u.u8(e),{encode:s,decode:b}=i(t),r=t;return r.decode=(o,c)=>!!b(o,c),r.encode=(o,c,n)=>{const d=Number(o);return s(d,c,n)},r},a=e=>{const t=u.blob(32,e),{encode:s,decode:b}=i(t),r=t;return r.decode=(o,c)=>{const n=b(o,c);return new u.PublicKey(n)},r.encode=(o,c,n)=>{const d=o.toBuffer();return s(d,c,n)},r};exports.bool=L;exports.publicKey=a;exports.u64=y;
