Contractless-Web3-Wallets/extension/dist/chrome/chunks/core-D2IK1U91.js

2 lines
25 KiB
JavaScript
Raw Normal View History

function _e(n){let e,t;try{const i=F(n,o.__wbindgen_malloc),l=w,s=o.bytes_to_short_address(i,l);var _=s[0],r=s[1];if(s[3])throw _=0,r=0,x(s[2]);return e=_,t=r,h(_,r)}finally{o.__wbindgen_free(e,t,1)}}function re(n,e,t,_,r){let i,l;try{const f=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),d=w,m=u(e,o.__wbindgen_malloc,o.__wbindgen_realloc),p=w,b=u(t,o.__wbindgen_malloc,o.__wbindgen_realloc),A=w,W=u(_,o.__wbindgen_malloc,o.__wbindgen_realloc),$=w,z=u(r,o.__wbindgen_malloc,o.__wbindgen_realloc),G=w,T=o.complete_dual_transaction_request(f,d,m,p,b,A,W,$,z,G);var s=T[0],a=T[1];if(T[3])throw s=0,a=0,x(T[2]);return i=s,l=a,h(s,a)}finally{o.__wbindgen_free(i,l,1)}}function oe(n,e){let t,_;try{const l=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),s=w,a=u(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=w,d=o.create_handshake_proof(l,s,a,f);var r=d[0],i=d[1];if(d[3])throw r=0,i=0,x(d[2]);return t=r,_=i,h(r,i)}finally{o.__wbindgen_free(t,_,1)}}function ce(n,e){let t,_;try{const l=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),s=w,a=u(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=w,d=o.create_wallet_registration(l,s,a,f);var r=d[0],i=d[1];if(d[3])throw r=0,i=0,x(d[2]);return t=r,_=i,h(r,i)}finally{o.__wbindgen_free(t,_,1)}}function ie(n,e,t){let _,r;try{const s=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),a=w,f=u(e,o.__wbindgen_malloc,o.__wbindgen_realloc),d=w,m=u(t,o.__wbindgen_malloc,o.__wbindgen_realloc),p=w,b=o.create_wallet_registration_from_keys(s,a,f,d,m,p);var i=b[0],l=b[1];if(b[3])throw i=0,l=0,x(b[2]);return _=i,r=l,h(i,l)}finally{o.__wbindgen_free(_,r,1)}}function se(n){let e,t;try{const i=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),l=w,s=o.decode_transaction(i,l);var _=s[0],r=s[1];if(s[3])throw _=0,r=0,x(s[2]);return e=_,t=r,h(_,r)}finally{o.__wbindgen_free(e,t,1)}}function le(n){let e,t;try{const i=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),l=w,s=o.decode_transfer(i,l);var _=s[0],r=s[1];if(s[3])throw _=0,r=0,x(s[2]);return e=_,t=r,h(_,r)}finally{o.__wbindgen_free(e,t,1)}}function ae(n,e,t){let _,r;try{const s=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),a=w,f=u(e,o.__wbindgen_malloc,o.__wbindgen_realloc),d=w,m=u(t,o.__wbindgen_malloc,o.__wbindgen_realloc),p=w,b=o.export_legacy_wallet(s,a,f,d,m,p);var i=b[0],l=b[1];if(b[3])throw i=0,l=0,x(b[2]);return _=i,r=l,h(i,l)}finally{o.__wbindgen_free(_,r,1)}}function de(n){let e,t;try{const i=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),l=w,s=o.generate_browser_wallet(i,l);var _=s[0],r=s[1];if(s[3])throw _=0,r=0,x(s[2]);return e=_,t=r,h(_,r)}finally{o.__wbindgen_free(e,t,1)}}function fe(n,e,t){let _,r;try{const s=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),a=w,f=u(e,o.__wbindgen_malloc,o.__wbindgen_realloc),d=w,m=u(t,o.__wbindgen_malloc,o.__wbindgen_realloc),p=w,b=o.import_legacy_wallet(s,a,f,d,m,p);var i=b[0],l=b[1];if(b[3])throw i=0,l=0,x(b[2]);return _=i,r=l,h(i,l)}finally{o.__wbindgen_free(_,r,1)}}function be(n,e){let t,_;try{const l=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),s=w,a=u(e,o.__wbindgen_malloc,o.__wbindgen_realloc),f=w,d=o.import_private_key(l,s,a,f);var r=d[0],i=d[1];if(d[3])throw r=0,i=0,x(d[2]);return t=r,_=i,h(r,i)}finally{o.__wbindgen_free(t,_,1)}}function we(n,e,t){let _,r;try{const s=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),a=w,f=u(e,o.__wbindgen_malloc,o.__wbindgen_realloc),d=w,m=u(t,o.__wbindgen_malloc,o.__wbindgen_realloc),p=w,b=o.import_private_key_image(s,a,f,d,m,p);var i=b[0],l=b[1];if(b[3])throw i=0,l=0,x(b[2]);return _=i,r=l,h(i,l)}finally{o.__wbindgen_free(_,r,1)}}function ge(n){let e,t;try{const i=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),l=w,s=o.inspect_transaction_request(i,l);var _=s[0],r=s[1];if(s[3])throw _=0,r=0,x(s[2]);return e=_,t=r,h(_,r)}finally{o.__wbindgen_free(e,t,1)}}function ue(n){let e,t;try{const i=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),l=w,s=o.public_key_to_short_address(i,l);var _=s[0],r=s[1];if(s[3])throw _=0,r=0,x(s[2]);return e=_,t=r,h(_,r)}finally{o.__wbindgen_free(e,t,1)}}function ye(n){const e=u(n,o.__wbindgen_malloc,o.__wbindgen_realloc),t=w,_=o.short_address_to_bytes(e,t);if(_[3])throw x(_[2]);va