UNPKG

@sofaws/dapp-core

Version:

A library to hold the main logic for a dapp on the Elrond Network

1 lines 65 kB
"use strict";var Ee=Object.create;var B=Object.defineProperty;var Ae=Object.getOwnPropertyDescriptor;var Ne=Object.getOwnPropertyNames;var De=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty;var ze=(a,e)=>()=>(a&&(e=a(a=0)),e);var R=(a,e)=>()=>(e||a((e={exports:{}}).exports,e),e.exports),Te=(a,e)=>{for(var r in e)B(a,r,{get:e[r],enumerable:!0})},ee=(a,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ne(e))!je.call(a,n)&&n!==r&&B(a,n,{get:()=>e[n],enumerable:!(t=Ae(e,n))||t.enumerable});return a};var re=(a,e,r)=>(r=a!=null?Ee(De(a)):{},ee(e||!a||!a.__esModule?B(r,"default",{value:a,enumerable:!0}):r,a)),Ue=a=>ee(B({},"__esModule",{value:!0}),a);var ne=R(Z=>{"use strict";w();Z.byteLength=Le;Z.toByteArray=Be;Z.fromByteArray=Ye;var x=[],g=[],Fe=typeof Uint8Array!="undefined"?Uint8Array:Array,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(N=0,ae=_.length;N<ae;++N)x[N]=_[N],g[_.charCodeAt(N)]=N;var N,ae;g["-".charCodeAt(0)]=62;g["_".charCodeAt(0)]=63;function te(a){var e=a.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=a.indexOf("=");r===-1&&(r=e);var t=r===e?0:4-r%4;return[r,t]}function Le(a){var e=te(a),r=e[0],t=e[1];return(r+t)*3/4-t}function Se(a,e,r){return(e+r)*3/4-r}function Be(a){var e,r=te(a),t=r[0],n=r[1],c=new Fe(Se(a,t,n)),i=0,d=n>0?t-4:t,q;for(q=0;q<d;q+=4)e=g[a.charCodeAt(q)]<<18|g[a.charCodeAt(q+1)]<<12|g[a.charCodeAt(q+2)]<<6|g[a.charCodeAt(q+3)],c[i++]=e>>16&255,c[i++]=e>>8&255,c[i++]=e&255;return n===2&&(e=g[a.charCodeAt(q)]<<2|g[a.charCodeAt(q+1)]>>4,c[i++]=e&255),n===1&&(e=g[a.charCodeAt(q)]<<10|g[a.charCodeAt(q+1)]<<4|g[a.charCodeAt(q+2)]>>2,c[i++]=e>>8&255,c[i++]=e&255),c}function Re(a){return x[a>>18&63]+x[a>>12&63]+x[a>>6&63]+x[a&63]}function Ze(a,e,r){for(var t,n=[],c=e;c<r;c+=3)t=(a[c]<<16&16711680)+(a[c+1]<<8&65280)+(a[c+2]&255),n.push(Re(t));return n.join("")}function Ye(a){for(var e,r=a.length,t=r%3,n=[],c=16383,i=0,d=r-t;i<d;i+=c)n.push(Ze(a,i,i+c>d?d:i+c));return t===1?(e=a[r-1],n.push(x[e>>2]+x[e<<4&63]+"==")):t===2&&(e=(a[r-2]<<8)+a[r-1],n.push(x[e>>10]+x[e>>4&63]+x[e<<2&63]+"=")),n.join("")}});var ce=R(C=>{w();C.read=function(a,e,r,t,n){var c,i,d=n*8-t-1,q=(1<<d)-1,o=q>>1,u=-7,f=r?n-1:0,b=r?-1:1,m=a[e+f];for(f+=b,c=m&(1<<-u)-1,m>>=-u,u+=d;u>0;c=c*256+a[e+f],f+=b,u-=8);for(i=c&(1<<-u)-1,c>>=-u,u+=t;u>0;i=i*256+a[e+f],f+=b,u-=8);if(c===0)c=1-o;else{if(c===q)return i?NaN:(m?-1:1)*(1/0);i=i+Math.pow(2,t),c=c-o}return(m?-1:1)*i*Math.pow(2,c-t)};C.write=function(a,e,r,t,n,c){var i,d,q,o=c*8-n-1,u=(1<<o)-1,f=u>>1,b=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=t?0:c-1,z=t?1:-1,Me=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,i=u):(i=Math.floor(Math.log(e)/Math.LN2),e*(q=Math.pow(2,-i))<1&&(i--,q*=2),i+f>=1?e+=b/q:e+=b*Math.pow(2,1-f),e*q>=2&&(i++,q/=2),i+f>=u?(d=0,i=u):i+f>=1?(d=(e*q-1)*Math.pow(2,n),i=i+f):(d=e*Math.pow(2,f-1)*Math.pow(2,n),i=0));n>=8;a[r+m]=d&255,m+=z,d/=256,n-=8);for(i=i<<n|d,o+=n;o>0;a[r+m]=i&255,m+=z,i/=256,o-=8);a[r+m-z]|=Me*128}});var be=R(U=>{"use strict";w();var W=ne(),T=ce(),ie=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=We;U.INSPECT_MAX_BYTES=50;var Q=2147483647;U.kMaxLength=Q;s.TYPED_ARRAY_SUPPORT=Qe();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Qe(){try{var a=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(a,e),a.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function M(a){if(a>Q)throw new RangeError('The value "'+a+'" is invalid for option "size"');var e=new Uint8Array(a);return Object.setPrototypeOf(e,s.prototype),e}function s(a,e,r){if(typeof a=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(a)}return qe(a,e,r)}s.poolSize=8192;function qe(a,e,r){if(typeof a=="string")return Ge(a,e);if(ArrayBuffer.isView(a))return _e(a);if(a==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof a);if(v(a,ArrayBuffer)||a&&v(a.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(v(a,SharedArrayBuffer)||a&&v(a.buffer,SharedArrayBuffer)))return P(a,e,r);if(typeof a=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var t=a.valueOf&&a.valueOf();if(t!=null&&t!==a)return s.from(t,e,r);var n=Ce(a);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof a[Symbol.toPrimitive]=="function")return s.from(a[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof a)}s.from=function(a,e,r){return qe(a,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function fe(a){if(typeof a!="number")throw new TypeError('"size" argument must be of type number');if(a<0)throw new RangeError('The value "'+a+'" is invalid for option "size"')}function Ie(a,e,r){return fe(a),a<=0?M(a):e!==void 0?typeof r=="string"?M(a).fill(e,r):M(a).fill(e):M(a)}s.alloc=function(a,e,r){return Ie(a,e,r)};function O(a){return fe(a),M(a<0?0:X(a)|0)}s.allocUnsafe=function(a){return O(a)};s.allocUnsafeSlow=function(a){return O(a)};function Ge(a,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=oe(a,e)|0,t=M(r),n=t.write(a,e);return n!==r&&(t=t.slice(0,n)),t}function H(a){for(var e=a.length<0?0:X(a.length)|0,r=M(e),t=0;t<e;t+=1)r[t]=a[t]&255;return r}function _e(a){if(v(a,Uint8Array)){var e=new Uint8Array(a);return P(e.buffer,e.byteOffset,e.byteLength)}return H(a)}function P(a,e,r){if(e<0||a.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(a.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var t;return e===void 0&&r===void 0?t=new Uint8Array(a):r===void 0?t=new Uint8Array(a,e):t=new Uint8Array(a,e,r),Object.setPrototypeOf(t,s.prototype),t}function Ce(a){if(s.isBuffer(a)){var e=X(a.length)|0,r=M(e);return r.length===0||a.copy(r,0,0,e),r}if(a.length!==void 0)return typeof a.length!="number"||K(a.length)?M(0):H(a);if(a.type==="Buffer"&&Array.isArray(a.data))return H(a.data)}function X(a){if(a>=Q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Q.toString(16)+" bytes");return a|0}function We(a){return+a!=a&&(a=0),s.alloc(+a)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(v(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),v(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var t=e.length,n=r.length,c=0,i=Math.min(t,n);c<i;++c)if(e[c]!==r[c]){t=e[c],n=r[c];break}return t<n?-1:n<t?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var t;if(r===void 0)for(r=0,t=0;t<e.length;++t)r+=e[t].length;var n=s.allocUnsafe(r),c=0;for(t=0;t<e.length;++t){var i=e[t];if(v(i,Uint8Array))c+i.length>n.length?s.from(i).copy(n,c):Uint8Array.prototype.set.call(n,i,c);else if(s.isBuffer(i))i.copy(n,c);else throw new TypeError('"list" argument must be an Array of Buffers');c+=i.length}return n};function oe(a,e){if(s.isBuffer(a))return a.length;if(ArrayBuffer.isView(a)||v(a,ArrayBuffer))return a.byteLength;if(typeof a!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof a);var r=a.length,t=arguments.length>2&&arguments[2]===!0;if(!t&&r===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return V(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ge(a).length;default:if(n)return t?-1:V(a).length;e=(""+e).toLowerCase(),n=!0}}s.byteLength=oe;function He(a,e,r){var t=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(a||(a="utf8");;)switch(a){case"hex":return ar(this,e,r);case"utf8":case"utf-8":return le(this,e,r);case"ascii":return er(this,e,r);case"latin1":case"binary":return rr(this,e,r);case"base64":return Je(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tr(this,e,r);default:if(t)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),t=!0}}s.prototype._isBuffer=!0;function D(a,e,r){var t=a[e];a[e]=a[r],a[r]=t}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)D(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)D(this,r,r+3),D(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)D(this,r,r+7),D(this,r+1,r+6),D(this,r+2,r+5),D(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?le(this,0,e):He.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ie&&(s.prototype[ie]=s.prototype.inspect);s.prototype.compare=function(e,r,t,n,c){if(v(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),t===void 0&&(t=e?e.length:0),n===void 0&&(n=0),c===void 0&&(c=this.length),r<0||t>e.length||n<0||c>this.length)throw new RangeError("out of range index");if(n>=c&&r>=t)return 0;if(n>=c)return-1;if(r>=t)return 1;if(r>>>=0,t>>>=0,n>>>=0,c>>>=0,this===e)return 0;for(var i=c-n,d=t-r,q=Math.min(i,d),o=this.slice(n,c),u=e.slice(r,t),f=0;f<q;++f)if(o[f]!==u[f]){i=o[f],d=u[f];break}return i<d?-1:d<i?1:0};function ue(a,e,r,t,n){if(a.length===0)return-1;if(typeof r=="string"?(t=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,K(r)&&(r=n?0:a.length-1),r<0&&(r=a.length+r),r>=a.length){if(n)return-1;r=a.length-1}else if(r<0)if(n)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,t)),s.isBuffer(e))return e.length===0?-1:se(a,e,r,t,n);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(a,e,r):Uint8Array.prototype.lastIndexOf.call(a,e,r):se(a,[e],r,t,n);throw new TypeError("val must be string, number or Buffer")}function se(a,e,r,t,n){var c=1,i=a.length,d=e.length;if(t!==void 0&&(t=String(t).toLowerCase(),t==="ucs2"||t==="ucs-2"||t==="utf16le"||t==="utf-16le")){if(a.length<2||e.length<2)return-1;c=2,i/=2,d/=2,r/=2}function q(m,z){return c===1?m[z]:m.readUInt16BE(z*c)}var o;if(n){var u=-1;for(o=r;o<i;o++)if(q(a,o)===q(e,u===-1?0:o-u)){if(u===-1&&(u=o),o-u+1===d)return u*c}else u!==-1&&(o-=o-u),u=-1}else for(r+d>i&&(r=i-d),o=r;o>=0;o--){for(var f=!0,b=0;b<d;b++)if(q(a,o+b)!==q(e,b)){f=!1;break}if(f)return o}return-1}s.prototype.includes=function(e,r,t){return this.indexOf(e,r,t)!==-1};s.prototype.indexOf=function(e,r,t){return ue(this,e,r,t,!0)};s.prototype.lastIndexOf=function(e,r,t){return ue(this,e,r,t,!1)};function Pe(a,e,r,t){r=Number(r)||0;var n=a.length-r;t?(t=Number(t),t>n&&(t=n)):t=n;var c=e.length;t>c/2&&(t=c/2);for(var i=0;i<t;++i){var d=parseInt(e.substr(i*2,2),16);if(K(d))return i;a[r+i]=d}return i}function Ve(a,e,r,t){return I(V(e,a.length-r),a,r,t)}function Oe(a,e,r,t){return I(ir(e),a,r,t)}function Xe(a,e,r,t){return I(ge(e),a,r,t)}function Ke(a,e,r,t){return I(sr(e,a.length-r),a,r,t)}s.prototype.write=function(e,r,t,n){if(r===void 0)n="utf8",t=this.length,r=0;else if(t===void 0&&typeof r=="string")n=r,t=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(t)?(t=t>>>0,n===void 0&&(n="utf8")):(n=t,t=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var c=this.length-r;if((t===void 0||t>c)&&(t=c),e.length>0&&(t<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return Pe(this,e,r,t);case"utf8":case"utf-8":return Ve(this,e,r,t);case"ascii":case"latin1":case"binary":return Oe(this,e,r,t);case"base64":return Xe(this,e,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ke(this,e,r,t);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Je(a,e,r){return e===0&&r===a.length?W.fromByteArray(a):W.fromByteArray(a.slice(e,r))}function le(a,e,r){r=Math.min(a.length,r);for(var t=[],n=e;n<r;){var c=a[n],i=null,d=c>239?4:c>223?3:c>191?2:1;if(n+d<=r){var q,o,u,f;switch(d){case 1:c<128&&(i=c);break;case 2:q=a[n+1],(q&192)===128&&(f=(c&31)<<6|q&63,f>127&&(i=f));break;case 3:q=a[n+1],o=a[n+2],(q&192)===128&&(o&192)===128&&(f=(c&15)<<12|(q&63)<<6|o&63,f>2047&&(f<55296||f>57343)&&(i=f));break;case 4:q=a[n+1],o=a[n+2],u=a[n+3],(q&192)===128&&(o&192)===128&&(u&192)===128&&(f=(c&15)<<18|(q&63)<<12|(o&63)<<6|u&63,f>65535&&f<1114112&&(i=f))}}i===null?(i=65533,d=1):i>65535&&(i-=65536,t.push(i>>>10&1023|55296),i=56320|i&1023),t.push(i),n+=d}return $e(t)}var de=4096;function $e(a){var e=a.length;if(e<=de)return String.fromCharCode.apply(String,a);for(var r="",t=0;t<e;)r+=String.fromCharCode.apply(String,a.slice(t,t+=de));return r}function er(a,e,r){var t="";r=Math.min(a.length,r);for(var n=e;n<r;++n)t+=String.fromCharCode(a[n]&127);return t}function rr(a,e,r){var t="";r=Math.min(a.length,r);for(var n=e;n<r;++n)t+=String.fromCharCode(a[n]);return t}function ar(a,e,r){var t=a.length;(!e||e<0)&&(e=0),(!r||r<0||r>t)&&(r=t);for(var n="",c=e;c<r;++c)n+=dr[a[c]];return n}function tr(a,e,r){for(var t=a.slice(e,r),n="",c=0;c<t.length-1;c+=2)n+=String.fromCharCode(t[c]+t[c+1]*256);return n}s.prototype.slice=function(e,r){var t=this.length;e=~~e,r=r===void 0?t:~~r,e<0?(e+=t,e<0&&(e=0)):e>t&&(e=t),r<0?(r+=t,r<0&&(r=0)):r>t&&(r=t),r<e&&(r=e);var n=this.subarray(e,r);return Object.setPrototypeOf(n,s.prototype),n};function p(a,e,r){if(a%1!==0||a<0)throw new RangeError("offset is not uint");if(a+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,t){e=e>>>0,r=r>>>0,t||p(e,r,this.length);for(var n=this[e],c=1,i=0;++i<r&&(c*=256);)n+=this[e+i]*c;return n};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,t){e=e>>>0,r=r>>>0,t||p(e,r,this.length);for(var n=this[e+--r],c=1;r>0&&(c*=256);)n+=this[e+--r]*c;return n};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||p(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||p(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||p(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||p(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||p(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,t){e=e>>>0,r=r>>>0,t||p(e,r,this.length);for(var n=this[e],c=1,i=0;++i<r&&(c*=256);)n+=this[e+i]*c;return c*=128,n>=c&&(n-=Math.pow(2,8*r)),n};s.prototype.readIntBE=function(e,r,t){e=e>>>0,r=r>>>0,t||p(e,r,this.length);for(var n=r,c=1,i=this[e+--n];n>0&&(c*=256);)i+=this[e+--n]*c;return c*=128,i>=c&&(i-=Math.pow(2,8*r)),i};s.prototype.readInt8=function(e,r){return e=e>>>0,r||p(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||p(e,2,this.length);var t=this[e]|this[e+1]<<8;return t&32768?t|4294901760:t};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||p(e,2,this.length);var t=this[e+1]|this[e]<<8;return t&32768?t|4294901760:t};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||p(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||p(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||p(e,4,this.length),T.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||p(e,4,this.length),T.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||p(e,8,this.length),T.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||p(e,8,this.length),T.read(this,e,!1,52,8)};function h(a,e,r,t,n,c){if(!s.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<c)throw new RangeError('"value" argument is out of bounds');if(r+t>a.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,t,n){if(e=+e,r=r>>>0,t=t>>>0,!n){var c=Math.pow(2,8*t)-1;h(this,e,r,t,c,0)}var i=1,d=0;for(this[r]=e&255;++d<t&&(i*=256);)this[r+d]=e/i&255;return r+t};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,t,n){if(e=+e,r=r>>>0,t=t>>>0,!n){var c=Math.pow(2,8*t)-1;h(this,e,r,t,c,0)}var i=t-1,d=1;for(this[r+i]=e&255;--i>=0&&(d*=256);)this[r+i]=e/d&255;return r+t};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,t,n){if(e=+e,r=r>>>0,!n){var c=Math.pow(2,8*t-1);h(this,e,r,t,c-1,-c)}var i=0,d=1,q=0;for(this[r]=e&255;++i<t&&(d*=256);)e<0&&q===0&&this[r+i-1]!==0&&(q=1),this[r+i]=(e/d>>0)-q&255;return r+t};s.prototype.writeIntBE=function(e,r,t,n){if(e=+e,r=r>>>0,!n){var c=Math.pow(2,8*t-1);h(this,e,r,t,c-1,-c)}var i=t-1,d=1,q=0;for(this[r+i]=e&255;--i>=0&&(d*=256);)e<0&&q===0&&this[r+i+1]!==0&&(q=1),this[r+i]=(e/d>>0)-q&255;return r+t};s.prototype.writeInt8=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,t){return e=+e,r=r>>>0,t||h(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function pe(a,e,r,t,n,c){if(r+t>a.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function he(a,e,r,t,n){return e=+e,r=r>>>0,n||pe(a,e,r,4,34028234663852886e22,-34028234663852886e22),T.write(a,e,r,t,23,4),r+4}s.prototype.writeFloatLE=function(e,r,t){return he(this,e,r,!0,t)};s.prototype.writeFloatBE=function(e,r,t){return he(this,e,r,!1,t)};function me(a,e,r,t,n){return e=+e,r=r>>>0,n||pe(a,e,r,8,17976931348623157e292,-17976931348623157e292),T.write(a,e,r,t,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,t){return me(this,e,r,!0,t)};s.prototype.writeDoubleBE=function(e,r,t){return me(this,e,r,!1,t)};s.prototype.copy=function(e,r,t,n){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(t||(t=0),!n&&n!==0&&(n=this.length),r>=e.length&&(r=e.length),r||(r=0),n>0&&n<t&&(n=t),n===t||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-r<n-t&&(n=e.length-r+t);var c=n-t;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,t,n):Uint8Array.prototype.set.call(e,this.subarray(t,n),r),c};s.prototype.fill=function(e,r,t,n){if(typeof e=="string"){if(typeof r=="string"?(n=r,r=0,t=this.length):typeof t=="string"&&(n=t,t=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(e.length===1){var c=e.charCodeAt(0);(n==="utf8"&&c<128||n==="latin1")&&(e=c)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<t)throw new RangeError("Out of range index");if(t<=r)return this;r=r>>>0,t=t===void 0?this.length:t>>>0,e||(e=0);var i;if(typeof e=="number")for(i=r;i<t;++i)this[i]=e;else{var d=s.isBuffer(e)?e:s.from(e,n),q=d.length;if(q===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<t-r;++i)this[i+r]=d[i%q]}return this};var nr=/[^+/0-9A-Za-z-_]/g;function cr(a){if(a=a.split("=")[0],a=a.trim().replace(nr,""),a.length<2)return"";for(;a.length%4!==0;)a=a+"=";return a}function V(a,e){e=e||1/0;for(var r,t=a.length,n=null,c=[],i=0;i<t;++i){if(r=a.charCodeAt(i),r>55295&&r<57344){if(!n){if(r>56319){(e-=3)>-1&&c.push(239,191,189);continue}else if(i+1===t){(e-=3)>-1&&c.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&c.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(e-=3)>-1&&c.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;c.push(r)}else if(r<2048){if((e-=2)<0)break;c.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;c.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;c.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return c}function ir(a){for(var e=[],r=0;r<a.length;++r)e.push(a.charCodeAt(r)&255);return e}function sr(a,e){for(var r,t,n,c=[],i=0;i<a.length&&!((e-=2)<0);++i)r=a.charCodeAt(i),t=r>>8,n=r%256,c.push(n),c.push(t);return c}function ge(a){return W.toByteArray(cr(a))}function I(a,e,r,t){for(var n=0;n<t&&!(n+r>=e.length||n>=a.length);++n)e[n+r]=a[n];return n}function v(a,e){return a instanceof e||a!=null&&a.constructor!=null&&a.constructor.name!=null&&a.constructor.name===e.name}function K(a){return a!==a}var dr=function(){for(var a="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var t=r*16,n=0;n<16;++n)e[t+n]=a[r]+a[n];return e}()});var ke=R((gr,ye)=>{w();var l=ye.exports={},y,k;function J(){throw new Error("setTimeout has not been defined")}function $(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?y=setTimeout:y=J}catch(a){y=J}try{typeof clearTimeout=="function"?k=clearTimeout:k=$}catch(a){k=$}})();function we(a){if(y===setTimeout)return setTimeout(a,0);if((y===J||!y)&&setTimeout)return y=setTimeout,setTimeout(a,0);try{return y(a,0)}catch(e){try{return y.call(null,a,0)}catch(r){return y.call(this,a,0)}}}function qr(a){if(k===clearTimeout)return clearTimeout(a);if((k===$||!k)&&clearTimeout)return k=clearTimeout,clearTimeout(a);try{return k(a)}catch(e){try{return k.call(null,a)}catch(r){return k.call(this,a)}}}var E=[],F=!1,j,G=-1;function fr(){!F||!j||(F=!1,j.length?E=j.concat(E):G=-1,E.length&&xe())}function xe(){if(!F){var a=we(fr);F=!0;for(var e=E.length;e;){for(j=E,E=[];++G<e;)j&&j[G].run();G=-1,e=E.length}j=null,F=!1,qr(a)}}l.nextTick=function(a){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];E.push(new ve(a,e)),E.length===1&&!F&&we(xe)};function ve(a,e){this.fun=a,this.array=e}ve.prototype.run=function(){this.fun.apply(null,this.array)};l.title="browser";l.browser=!0;l.env={};l.argv=[];l.version="";l.versions={};function A(){}l.on=A;l.addListener=A;l.once=A;l.off=A;l.removeListener=A;l.removeAllListeners=A;l.emit=A;l.prependListener=A;l.prependOnceListener=A;l.listeners=function(a){return[]};l.binding=function(a){throw new Error("process.binding is not supported")};l.cwd=function(){return"/"};l.chdir=function(a){throw new Error("process.chdir is not supported")};l.umask=function(){return 0}});var L,S,br,w=ze(()=>{L=re(be()),S=re(ke()),br=function(a){function e(){var t=this||self;return delete a.prototype.__magic__,t}if(typeof globalThis=="object")return globalThis;if(this)return e();a.defineProperty(a.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var ur={};Te(ur,{default:()=>or});module.exports=Ue(ur);w();var or=[{txHash:"5996572de1fc5df2c456602467e8cc1a446b8145ae79df8f6c670e0732ab3b04",gasLimit:12e6,gasPrice:1e9,gasUsed:6062e3,miniBlockHash:"54d07f7c1e4d3f66e9f2c30d44d1e35d768a2da98dfe50cc437d485b9c2afb92",nonce:241,receiver:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqz8llllsh6u4jp",receiverAssets:{name:"Staking: ARC Stake",description:"ARC Staking provides staking services on the Elrond Blockchain, the most advanced blockchain platform in the world.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"},receiverShard:4294967295,round:7430784,sender:"erd1zwq3qaa3vk5suenlkj4cf0ullwefa6h3n2394k25pxv4sz0pwhhsj9u9vk",senderShard:1,signature:"b9d589aa9aabf521864ccd52647850d224bb0ce76e89aaa8ad62bf67b4b9434d586e1b5be0db10ffc251be2fa495a3284585a226f57ee147ae2158efe651900b",status:"success",value:"14167802221131358682",fee:"122000000000000",timestamp:1640702304,data:"ZGVsZWdhdGU=",function:"delegate",action:{category:"stake",name:"delegate",description:"Delegate 14.167802221131358682 eGLD to staking provider ARC Stake",arguments:{value:"14167802221131358682",providerName:"ARC Stake",providerAvatar:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"}},results:[{hash:"8970fe5f5548caa994e495798ee1874b07f4ac2156d6a3a9636f450211350784",timestamp:1640702304,nonce:0,gasLimit:0,gasPrice:1e9,value:"14167802221131358682",sender:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqz8llllsh6u4jp",receiver:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqplllst77y4l",senderAssets:{name:"Staking: ARC Stake",description:"ARC Staking provides staking services on the Elrond Blockchain, the most advanced blockchain platform in the world.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"},receiverAssets:{name:"System: Staking module",description:"Smart contract containing all staked eGLD on the network",tags:["system","staking"],iconPng:"https://raw.githubusercontent.com/ElrondNetwork/assets/master/accounts/icons/elrond.png",iconSvg:"https://raw.githubusercontent.com/ElrondNetwork/assets/master/accounts/icons/elrond.svg"},prevTxHash:"5996572de1fc5df2c456602467e8cc1a446b8145ae79df8f6c670e0732ab3b04",originalTxHash:"5996572de1fc5df2c456602467e8cc1a446b8145ae79df8f6c670e0732ab3b04",callType:"0",miniBlockHash:"432d6b8022301b67f1d76b5a96d525758e934b026128251d7ad462edb003c4b9"},{hash:"d4d84be4aa09cf5d45f79ffed87c971e5d883e7581d31e00d585f65b2da0564d",timestamp:1640702316,nonce:242,gasLimit:0,gasPrice:1e9,value:"59380000000000",sender:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqz8llllsh6u4jp",receiver:"erd1zwq3qaa3vk5suenlkj4cf0ullwefa6h3n2394k25pxv4sz0pwhhsj9u9vk",senderAssets:{name:"Staking: ARC Stake",description:"ARC Staking provides staking services on the Elrond Blockchain, the most advanced blockchain platform in the world.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"},data:"QDZmNmI=",prevTxHash:"5996572de1fc5df2c456602467e8cc1a446b8145ae79df8f6c670e0732ab3b04",originalTxHash:"5996572de1fc5df2c456602467e8cc1a446b8145ae79df8f6c670e0732ab3b04",callType:"0",miniBlockHash:"578fc3b632fa3899ae00a6c7c399bb80d9b8f3e7c9e9396f6730efa73900cf3e",logs:{id:"d4d84be4aa09cf5d45f79ffed87c971e5d883e7581d31e00d585f65b2da0564d",address:"erd1zwq3qaa3vk5suenlkj4cf0ullwefa6h3n2394k25pxv4sz0pwhhsj9u9vk",events:[{address:"erd1zwq3qaa3vk5suenlkj4cf0ullwefa6h3n2394k25pxv4sz0pwhhsj9u9vk",identifier:"completedTxEvent",topics:["WZZXLeH8XfLEVmAkZ+jMGkRrgUWued+PbGcOBzKrOwQ="],order:0}]}}],price:240.75,logs:{id:"5996572de1fc5df2c456602467e8cc1a446b8145ae79df8f6c670e0732ab3b04",address:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqz8llllsh6u4jp",addressAssets:{name:"Staking: ARC Stake",description:"ARC Staking provides staking services on the Elrond Blockchain, the most advanced blockchain platform in the world.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"},events:[{address:"erd1zwq3qaa3vk5suenlkj4cf0ullwefa6h3n2394k25pxv4sz0pwhhsj9u9vk",identifier:"delegate",topics:["xJ4lDk6GYdo=","BKAbisZRO5yq","E8I=","Ha6dNo2YLEc53A=="],order:0}]},operations:[{id:"8970fe5f5548caa994e495798ee1874b07f4ac2156d6a3a9636f450211350784",action:"transfer",type:"egld",sender:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqz8llllsh6u4jp",receiver:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqplllst77y4l",senderAssets:{name:"Staking: ARC Stake",description:"ARC Staking provides staking services on the Elrond Blockchain, the most advanced blockchain platform in the world.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"},receiverAssets:{name:"System: Staking module",description:"Smart contract containing all staked eGLD on the network",tags:["system","staking"],iconPng:"https://raw.githubusercontent.com/ElrondNetwork/assets/master/accounts/icons/elrond.png",iconSvg:"https://raw.githubusercontent.com/ElrondNetwork/assets/master/accounts/icons/elrond.svg"},value:"14167802221131358682"}]},{txHash:"5e32a3f1808e7909a25381784731d6fc247325cc0a2737595129e783d50a3065",gasLimit:12e6,gasPrice:1e9,gasUsed:12e6,miniBlockHash:"e233dd9bc6f3b886ef3c4c5dfd722b291ea189bd4cd7065720730bee84553774",nonce:348,receiver:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqz8llllsh6u4jp",receiverAssets:{name:"Staking: ARC Stake",description:"ARC Staking provides staking services on the Elrond Blockchain, the most advanced blockchain platform in the world.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"},receiverShard:4294967295,round:7430390,sender:"erd122h3x0nk8jddu3tfqujs67jffwuwu300c23da5lyxl9z5hyqtq8shceft6",senderShard:1,signature:"c449a086173d86c6c136278cd129c402cc64b88c757c85273bafcaad40be2b5128bf638d549d123448b09e1b4467954b8d1db43ff5aaf0a2cec66f63e779ec0f",status:"success",value:"0",fee:"209595000000000",timestamp:1640699940,data:"dW5EZWxlZ2F0ZUA0NTYzOTE4MjQ0ZjQwMDAw",function:"unDelegate",action:{category:"stake",name:"unDelegate",description:"Undelegate 5 eGLD from staking provider ARC Stake",arguments:{value:"5000000000000000000",providerName:"ARC Stake",providerAvatar:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"}}},{txHash:"813b7314a27b5aa4fd7e7c9565a826eca12984b620f674c756b01595b74a7ced",gasLimit:6e6,gasPrice:1e9,gasUsed:1068e3,miniBlockHash:"4bd1cc674dffdb322aa9d88d023fa8ec8a4f1f93bee73b00ee261bef7e5c4ce0",nonce:55,receiver:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqz8llllsh6u4jp",receiverAssets:{name:"Staking: ARC Stake",description:"ARC Staking provides staking services on the Elrond Blockchain, the most advanced blockchain platform in the world.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"},receiverShard:4294967295,round:7430236,sender:"erd194ym3hhkw5dl6qxnxvpnnafjj54dyr8lycnev6sg32mqx270pnpq98ryvf",senderShard:2,signature:"b03ebdd464c37c1906bf2c2f1d957736c551fa311f6f5ce2c34c5b6d7b6516e46cac110d2ce8cc846530f2f3ac136d1d3d496b15ec421a73610b73da32480207",status:"success",value:"0",fee:"78000000000000",timestamp:1640699016,data:"Y2xhaW1SZXdhcmRz",function:"claimRewards",action:{category:"stake",name:"claimRewards",description:"Claim rewards from staking provider ARC Stake",arguments:{providerName:"ARC Stake",providerAvatar:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"}}},{txHash:"96f70d60de9fd2b29ea42841a507fe8b8aa0de07e9ed877c9f0fa8ec1feccc51",gasLimit:12e6,gasPrice:1e9,gasUsed:12e6,miniBlockHash:"f7ce09752494703b0f7e70f65a6e8ce7cf91684db94056e95300bc94e0f2a4da",nonce:174,receiver:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqz8llllsh6u4jp",receiverAssets:{name:"Staking: ARC Stake",description:"ARC Staking provides staking services on the Elrond Blockchain, the most advanced blockchain platform in the world.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"},receiverShard:4294967295,round:7429921,sender:"erd1vcsum7fapl6crfrpqg7petydufgxm9qtqnuvhdqygdc6xc6uutksuzfatm",senderShard:1,signature:"ae7c8ae1cfa88474088bf886f1aff12e0ff85c9e1b61facfc46c79aa5314746e7c0ccb4df79197879c4c2171278399f833f8173ec5e7c0f25d64cfb6558d8401",status:"success",value:"0",fee:"181380000000000",timestamp:1640697126,data:"d2l0aGRyYXc=",function:"withdraw",action:{category:"stake",name:"withdraw",description:"Withdraw from staking provider ARC Stake",arguments:{providerName:"ARC Stake",providerAvatar:"https://s3.amazonaws.com/keybase_processed_uploads/d7555347e2e2dc7c68974d39f8e7b405_360_360.jpg"}}},{txHash:"6f570b2e75883df0a525786bbe69da141e0e4c4fc39accac17c9819162e77fbc",gasLimit:1175500,gasPrice:1e9,gasUsed:463200,miniBlockHash:"599c1a26a61dcd9efa5de88deeb856a0278a7e4abeaee017dc72c22d6a118425",nonce:408,receiver:"erd1y8jm2342j4jcyy4kz7hv823lr36wd9ur2mmlq4ea5wn6jndhpnjqh5shcg",receiverShard:0,round:7228515,sender:"erd1y8jm2342j4jcyy4kz7hv823lr36wd9ur2mmlq4ea5wn6jndhpnjqh5shcg",senderShard:0,signature:"b1ee08ee093949d5974461ea8d673d1761139a9bf208cac75a271b93f5f6e3a1b1ebd1bac62bf04c240a7f39e097c0e5f2730df8fc33f113069917a4d1c9c509",status:"success",value:"0",fee:"227877000000000",timestamp:1639488690,data:"RVNEVE5GVFRyYW5zZmVyQDQxNTI1NDQzNTI0MTQ2NTQyZDMzMzIzMjYzMzY2NUAxMUAwMUA3MTc3YjMwYjU0OGM3N2VjMjVlNzQ2NmYwMzg2ZjZlNGQ0NmFlNGZhMzk3Mzg0ZGEzYmVkYWQxNmEwNTA0NzA3",action:{category:"esdtNft",name:"transfer",description:"Transfer",arguments:{transfers:[{type:"NonFungibleESDT",name:"Genesis",ticker:"ARTCRAFT-322c6e",collection:"ARTCRAFT-322c6e",identifier:"ARTCRAFT-322c6e-11",value:"1"}],receiver:"erd1w9mmxz6533m7cf08gehs8phkun2x4e8689ecfk3makk3dgzsgurszhsxk4"}}},{txHash:"d51a4d6c74f1ab359e01dd18148f01ef64ab49162570f0b325fa35103d9784fb",gasLimit:12e6,gasPrice:1e9,gasUsed:6075500,miniBlockHash:"f5d84f705198e940905b36bc6231a90bdb3c1cf6f7af1776bc33bae34e103180",nonce:256,receiver:"erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqq2lllllspsw9sj",receiverAssets:{name:"Staking: Unity Stake",description:"We are a dedicated Elrond Network staking provider aiming to make things as simple and safe as possible by providing personal and caring support.",tags:["staking","provider"],iconPng:"https://s3.amazonaws.com/keybase_processed_uploads/4dd9f0dc7321d396f61f271951bba405_360_360.jpg"},receiverShard:4294967295,round:7071577,sender:"erd1vt2c72styh9eyrlsss855tprxgvtjdhmjpw8kyuapnjudlggatks0q0gm4",senderShard:1,signature:"5d198321defff0c4f451bc16434913f827efb25bb9b86fbf60aeca5ccefc896e27faa7de821f3c998b47dba9f18bae60aa5cba882cef9ee9d37389b5ed262200",status:"success",value:"0",fee:"135500000000000",timestamp:1638547062,data:"cmVEZWxlZ2F0ZVJld2FyZHM=",function:"reDelegateRewards",action:{category:"stake",name:"reDelegateRewards",description:"Redelegate rewards from staking provider Unity Stake",arguments:{providerName:"Unity Stake",providerAvatar:"https://s3.amazonaws.com/keybase_processed_uploads/4dd9f0dc7321d396f61f271951bba405_360_360.jpg"}}},{txHash:"20ab299a06956e3ea122445b3d8a181a226c4dacb0730dd9c13ede7ab5ee9328",gasLimit:14e6,gasPrice:1e9,gasUsed:11520759,miniBlockHash:"4e53661c4ac0803d4e53aa3fd6fa1eae0b4da337bd4630d107229ad0d3af0a85",nonce:112,receiver:"erd1wh9c0sjr2xn8hzf02lwwcr4jk2s84tat9ud2kaq6zr7xzpvl9l5q8awmex",receiverShard:0,round:7057306,sender:"erd1wh9c0sjr2xn8hzf02lwwcr4jk2s84tat9ud2kaq6zr7xzpvl9l5q8awmex",senderShard:0,signature:"07ca4425308793064273435b2fdbfea61acdd7d34bbe6371c3a0e459256003c8f72d52c31cf4538e173965da8a91729686814f5d321426a56b85746f9ddcb002",status:"success",value:"0",fee:"501802590000000",timestamp:1638461436,data:"TXVsdGlFU0RUTkZUVHJhbnNmZXJAMDAwMDAwMDAwMDAwMDAwMDA1MDA5MDU2ZjAwMTEwMWI2ZTE1MTgwNDQwNjRiNDhjMmU0ZmI0OTJjZDg4NTQ4M0AwMkA0YzRiNGQ0NTU4MmQ2MTYxNjIzOTMxMzBAMDNAMDEzZmJlODVlZGM5MDAwMEA0YzRiNGQ0NTU4MmQ2MTYxNjIzOTMxMzBAMGQzZEAxMTJkNmFiZGQ5NWUxZDVlNDBANmQ2NTcyNjc2NTRjNmY2MzZiNjU2NDQxNzM3MzY1NzQ1NDZmNmI2NTZlNzM=",function:"mergeLockedAssetTokens",action:{category:"mex",name:"mergeLockedAssetTokens",description:"Merge 2 LKMEX positions into a single LKMEX position of value 316.957286073585",arguments:{transfers:[{type:"MetaESDT",name:"LockedMEX",ticker:"LKMEX",svgUrl:"https://media.elrond.com/tokens/asset/LKMEX-aab910/logo.svg",collection:"LKMEX-aab910",decimals:18,identifier:"LKMEX-aab910-03",value:"90000000000000000"},{type:"MetaESDT",name:"LockedMEX",ticker:"LKMEX",svgUrl:"https://media.elrond.com/tokens/asset/LKMEX-aab910/logo.svg",collection:"LKMEX-aab910",decimals:18,identifier:"LKMEX-aab910-0d3d",value:"316867286073585000000"}],receiver:"erd1qqqqqqqqqqqqqpgqjpt0qqgsrdhp2xqygpjtfrpwf76f9nvg2jpsg4q7th",functionName:"mergeLockedAssetTokens",receiverAssets:{name:"Maiar Exchange: Locked asset Contract",tags:["mex","lockedasset"]}}}},{txHash:"91d1be9345b8b93983f105bca08ec62c99e13cacb40098773c549a7450aacf3b",gasLimit:1e6,gasPrice:1e9,gasUsed:459600,miniBlockHash:"2c5add74b4224c785440fc957ea5389f288953fdd4c9ddab91d11a1e7f436939",nonce:170,receiver:"erd180yut8q4ve7mzuqtens26ct0tdg0hwmhjfr0s8t2z0ujukmet8rqtt2px0",receiverShard:2,round:7044527,sender:"erd180yut8q4ve7mzuqtens26ct0tdg0hwmhjfr0s8t2z0ujukmet8rqtt2px0",senderShard:2,signature:"cda937a0e6c62ff1f745c5500d1aa9cf0a2009051dc3fdfb2abeaa3c6701946bd3946c8811a8cea6addbdf598f57d27d4ab059d765c88af2085758c4ca2c5807",status:"success",value:"0",fee:"248631000000000",timestamp:1638384762,data:"RVNEVE5GVFRyYW5zZmVyQDRjNGI0NjQxNTI0ZDJkMzk2NDMxNjU2MTM4QDEyNmMxN0AxNTU1ODA4OWJkYmJmNmI5QGNjZmUxOTY4N2JkN2QxMjgwZTY1YTQ3ZTI5NDI0OGE3ODhiNjFkZmUxYTIyNDRmODBhNDEwMTEyMDFlN2MwMTU=",action:{category:"esdtNft",name:"transfer",description:"Transfer",arguments:{transfers:[{type:"MetaESDT",name:"LockedLPStaked",ticker:"LKFARM",svgUrl:"https://media.elrond.com/tokens/asset/LKFARM-9d1ea8/logo.svg",collection:"LKFARM-9d1ea8",decimals:18,identifier:"LKFARM-9d1ea8-126c17",value:"1537276176898979513"}],receiver:"erd1enlpj6rm6lgjsrn953lzjsjg57ytv807rg3yf7q2gyq3yq08cq2sfphazl"}}},{txHash:"5bbe1a53027e6850362fcb4633108627bbe241adbb48001e25e3cd8129861189",gasLimit:105e5,gasPrice:1e9,gasUsed:9755137,miniBlockHash:"29e8111d14131cfc1b80b354ef47899aecff43873b333636e80997bb58d39f6d",nonce:864,receiver:"erd1qqqqqqqqqqqqqpgqa0fsfshnff4n76jhcye6k7uvd7qacsq42jpsp6shh2",receiverAssets:{name:"Maiar Exchange: MEX/WEGLD Liquidity Pool",tags:["mex","liquiditypool"]},receiverShard:1,round:6885918,sender:"erd1dwpev7tgza3hv58u8syzlk8nxsnkm94slwvvsfs44qwu3dqega7sqq3uxx",senderShard:1,signature:"8f028a4635be9cd8e02c2ae180da1a65f95a2b65dea4f65c3b25863f9b2be0c1d6c1059d1c9aafe88dd05e80a709685a120042099a4f182116a071ed7e11500b",status:"success",value:"0",fee:"350496370000000",timestamp:1637433108,data:"RVNEVFRyYW5zZmVyQDU3NDU0NzRjNDQyZDYyNjQzNDY0MzczOUAwZGUwYjZiM2E3NjQwMDAwQDczNzc2MTcwNTQ2ZjZiNjU2ZTczNDY2OTc4NjU2NDQ5NmU3MDc1NzRANGQ0NTU4MmQzNDM1MzU2MzM1MzdAM2I4NGE4YzZmYmY2YjJhZDA5Y2Y=",function:"swapTokensFixedInput",action:{category:"mex",name:"swap",description:"Swap 1 WEGLD for a minimum of 281066.754391919467235791 MEX",arguments:{transfers:[{type:"FungibleESDT",name:"WrappedEGLD",ticker:"WEGLD",svgUrl:"https://media.elrond.com/tokens/asset/WEGLD-bd4d79/logo.svg",token:"WEGLD-bd4d79",decimals:18,value:"1000000000000000000"},{type:"FungibleESDT",name:"MEX",ticker:"MEX",svgUrl:"https://media.elrond.com/tokens/asset/MEX-455c57/logo.svg",token:"MEX-455c57",decimals:18,value:"281066754391919467235791"}],receiver:"erd1qqqqqqqqqqqqqpgqa0fsfshnff4n76jhcye6k7uvd7qacsq42jpsp6shh2",functionName:"swapTokensFixedInput",functionArgs:["4d45582d343535633537","3b84a8c6fbf6b2ad09cf"],receiverAssets:{name:"Maiar Exchange: MEX/WEGLD Liquidity Pool",tags:["mex","liquiditypool"]}}}},{txHash:"6b65404efa716ad6dc6a2f37b6b6a7677cea70815fb699451d6ff1875f2111e2",gasLimit:4e6,gasPrice:1e9,gasUsed:2111255,miniBlockHash:"29e8111d14131cfc1b80b354ef47899aecff43873b333636e80997bb58d39f6d",nonce:863,receiver:"erd1qqqqqqqqqqqqqpgqhe8t5jewej70zupmh44jurgn29psua5l2jps3ntjj3",receiverAssets:{name:"ESDT: WrappedEGLD Contract Shard 1",tags:["mex","wegld"]},receiverShard:1,round:6885918,sender:"erd1dwpev7tgza3hv58u8syzlk8nxsnkm94slwvvsfs44qwu3dqega7sqq3uxx",senderShard:1,signature:"521ce31af51e02f2bf31b9198807784cf7a37c97798acc7859e7c5c5c3e24651b15fe392af24febf90d5a2864614f12f1852eb6ad541e61c456448b6d1c86807",status:"success",value:"1000000000000000000",fee:"82492550000000",timestamp:1637433108,data:"d3JhcEVnbGQ=",function:"wrapEgld",action:{category:"mex",name:"wrapEgld",description:"Wrap 1 eGLD",arguments:{token:{type:"FungibleESDT",name:"WrappedEGLD",token:"WEGLD-bd4d79",ticker:"WEGLD",decimals:18,value:"1000000000000000000"},receiver:"erd1qqqqqqqqqqqqqpgqhe8t5jewej70zupmh44jurgn29psua5l2jps3ntjj3",receiverAssets:{name:"ESDT: WrappedEGLD Contract Shard 1",tags:["mex","wegld"]}}}},{txHash:"8db34cc6b7a8f8bcdfb4dbf0ca55cb885f625da1dfe316fc9e9d722ebc687524",gasLimit:5e5,gasPrice:1e9,gasUsed:316e3,miniBlockHash:"966bcf89dd731f1ed563e37dcab3ec8d923382a769eec6d4ab03eb490d573dee",nonce:813,receiver:"erd1k50edvacs6qvsfyuex38d8plzswus35knd4wxh39apjlpz0j308qpeywwr",receiverShard:2,round:6885918,sender:"erd1fdcfhqsa2qp0l6grzpehndgeum8kzavd5hxjn9h7f0llafwrvyfqvt6k2y",senderShard:2,signature:"8f7caff6c24b5a685008cb93b3bf4c8c53d50215d4e3c8de3f69aeeec4220f183840031a0b220dd38630f4456af11c80d550c486b174273a91fe47f27ae9c302",status:"success",value:"0",fee:"118000000000000",timestamp:1637433108,data:"RVNEVFRyYW5zZmVyQDU1NTM0NDQzMmQ2MzM3MzY2NjMxNjZAYWZkNTZkODA=",action:{category:"esdtNft",name:"transfer",description:"Transfer",arguments:{transfers:[{type:"FungibleESDT",name:"WrappedUSDC",ticker:"USDC",svgUrl:"https://media.elrond.com/tokens/asset/USDC-c76f1f/logo.svg",token:"USDC-c76f1f",decimals:6,value:"2950000000"}],receiver:"erd1k50edvacs6qvsfyuex38d8plzswus35knd4wxh39apjlpz0j308qpeywwr"}}},{txHash:"4abc9f3a18b2685bc8e34f26e0815512899787e10ef66b8ace105a8f48e3f694",gasLimit:4e6,gasPrice:1e9,gasUsed:2213320,miniBlockHash:"29e8111d14131cfc1b80b354ef47899aecff43873b333636e80997bb58d39f6d",nonce:761,receiver:"erd1qqqqqqqqqqqqqpgqhe8t5jewej70zupmh44jurgn29psua5l2jps3ntjj3",receiverAssets:{name:"ESDT: WrappedEGLD Contract Shard 1",tags:["mex","wegld"]},receiverShard:1,round:6885918,sender:"erd1e7ycjzurhan9tcryu5t65sv3pcj0rg5xh490cg9mmpy7k582zsgsyufld5",senderShard:1,signature:"27b2329b6fbd6b717dc664d5c081f9763f4731b8d6d8905001f07dce2781faa98c8fc99deccf2a7b7bf1e3e6666b732ab99c420ebdc1af9f8c5a8cc47808820e",status:"success",value:"0",fee:"183008200000000",timestamp:1637433108,data:"RVNEVFRyYW5zZmVyQDU3NDU0NzRjNDQyZDYyNjQzNDY0MzczOUA0NGVjYzgzNzEwYzU3OWQzQDc1NmU3NzcyNjE3MDQ1Njc2YzY0",function:"unwrapEgld",action:{category:"mex",name:"unwrapEgld",description:"Unwrap 4.966564627912948179 WEGLD",arguments:{transfers:[{type:"FungibleESDT",name:"WrappedEGLD",ticker:"WEGLD",svgUrl:"https://media.elrond.com/tokens/asset/WEGLD-bd4d79/logo.svg",token:"WEGLD-bd4d79",decimals:18,value:"4966564627912948179"}],receiver:"erd1qqqqqqqqqqqqqpgqhe8t5jewej70zupmh44jurgn29psua5l2jps3ntjj3",functionName:"unwrapEgld",receiverAssets:{name:"ESDT: WrappedEGLD Contract Shard 1",tags:["mex","wegld"]}}}},{txHash:"e060a7820af21bae38686ec036c2e28df6295d2492dde473c23c5ebbf83a40cf",gasLimit:6e7,gasPrice:1e9,gasUsed:51054664,miniBlockHash:"29e8111d14131cfc1b80b354ef47899aecff43873b333636e80997bb58d39f6d",nonce:377,receiver:"erd1096gglmcpgrfudgfr6ya8vjxev7gslzfnngyn5qgspt3df9nvlfsttsfwl",receiverShard:1,round:6885918,sender:"erd1096gglmcpgrfudgfr6ya8vjxev7gslzfnngyn5qgspt3df9nvlfsttsfwl",senderShard:1,signature:"bea080cfc7329bc4b181332935100f7772f0ba4133d5e8be807ca78dc9b09218ff4b9a02f730a2cfd28a3256f40324373d78df90c4b559ad6947207d40383500",status:"success",value:"0",fee:"903081640000000",timestamp:1637433108,data:"RVNEVE5GVFRyYW5zZmVyQDRjNGI0NjQxNTI0ZDJkMzk2NDMxNjU2MTM4QDAxNjcxMUA3MDlhNWYxNjJiOGM3YmU2QDAwMDAwMDAwMDAwMDAwMDAwNTAwMWUyYTE0MjhkZDFlM2E1MTQ2YjM5NjBkOWUwZjRhNTAzNjk5MDRlZTU0ODNANjM2YzYxNjk2ZDUyNjU3NzYxNzI2NDczNTA3MjZmNzg3OUAwMDAwMDAwMDAwMDAwMDAwMDUwMDI2NzUxODkzZDY3ODliZTllNWE5OTg2M2JhOWVlYWE4MDg4ZGQyNWY1NDgz",function:"claimRewardsProxy",action:{category:"mex",name:"claimRewards",description:"Claim rewards for 8.113902227485916134 LKFARM",arguments:{transfers:[{type:"MetaESDT",name:"LockedLPStaked",ticker:"LKFARM",svgUrl:"https://media.elrond.com/tokens/asset/LKFARM-9d1ea8/logo.svg",collection:"LKFARM-9d1ea8",decimals:18,identifier:"LKFARM-9d1ea8-016711",value:"8113902227485916134"}],receiver:"erd1qqqqqqqqqqqqqpgqrc4pg2xarca9z34njcxeur622qmfjp8w2jps89fxnl",functionName:"claimRewardsProxy",functionArgs:["0000000000000000050026751893d6789be9e5a99863ba9eeaa8088dd25f5483"],receiverAssets:{name:"Maiar Exchange: Proxy",tags:["maiar","exchange","proxy"],iconPng:"https://raw.githubusercontent.com/ElrondNetwork/assets/master/accounts/icons/elrond.png",iconSvg:"https://raw.githubusercontent.com/ElrondNetwork/assets/master/accounts/icons/elrond.svg"}}}},{txHash:"7b4ac0ef53f9b43c80cc2af6ae0a1e4e9065a3054a1358775edb6161eaa02811",gasLimit:12e6,gasPrice:1e9,gasUsed:10717267,miniBlockHash:"29e8111d14131cfc1b80b354ef47899aecff43873b333636e80997bb58d39f6d",nonce:274,receiver:"erd1x0syqh7tcauqx70qdakmaa48mkmnczh8kl5zw3y0tnp08kfuz9zsqtmmtk",receiverShard:1,round:6885918,sender:"erd1x0syqh7tcauqx70qdakmaa48mkmnczh8kl5zw3y0tnp08kfuz9zsqtmmtk",senderShard:1,signature:"c8ae158d499004313c8d7e0cbede71c9302eb080ea131bd6a53fc7d7fc9d71364f0ff80408948e2a09652003903352a0a13b8f0625497bda3dc1e03297150f07",status:"success",value:"0",fee:"508617670000000",timestamp:1637433108,data:"TXVsdGlFU0RUTkZUVHJhbnNmZXJAMDAwMDAwMDAwMDAwMDAwMDA1MDBlYmQzMDRjMmYzNGE2YjNmNmE1N2MxMzNhYjdiOGM2ZjgxZGM0MDE1NTQ4M0AwMkA1NzQ1NDc0YzQ0MmQ2MjY0MzQ2NDM3MzlAQDA0NGNmNjhjMjkwODUwMDlANGQ0NTU4MmQzNDM1MzU2MzM1MzdAQDEyYWZlMGQzODQ2MTMzMjBjNTQ0QDYxNjQ2NDRjNjk3MTc1Njk2NDY5NzQ3OUAwNDQxZjQxNGZmYTk4MjZmQDEyODAwYTE5MTRmOWQzZTU5MDE3",function:"addLiquidity",action:{category:"mex",name:"addLiquidity",description:"Added liquidity for 0.309893556225986569 WEGLD, 88246.97734239037166522 MEX",arguments:{transfers:[{type:"FungibleESDT",name:"WrappedEGLD",ticker:"WEGLD",svgUrl:"https://media.elrond.com/tokens/asset/WEGLD-bd4d79/logo.svg",token:"WEGLD-bd4d79",decimals:18,value:"309893556225986569"},{type:"FungibleESDT",name:"MEX",ticker:"MEX",svgUrl:"https://media.elrond.com/tokens/asset/MEX-455c57/logo.svg",token:"MEX-455c57",decimals:18,value:"88246977342390371665220"}],receiver:"erd1qqqqqqqqqqqqqpgqa0fsfshnff4n76jhcye6k7uvd7qacsq42jpsp6shh2",functionName:"addLiquidity",functionArgs:["0441f414ffa9826f","12800a1914f9d3e59017"],receiverAssets:{name:"Maiar Exchange: MEX/WEGLD Liquidity Pool",tags:["mex","liquiditypool"]}}}},{txHash:"a13bf18c6d91edb7dc403d915fd89298806f67d59fdd72f12370f2c6fe31966c",gasLimit:38e6,gasPrice:1e9,gasUsed:34290478,miniBlockHash:"29e8111d14131cfc1b80b354ef47899aecff43873b333636e80997bb58d39f6d",nonce:222,receiver:"erd1znusjpmfpukrtf0wscvf4su8yjqg393c092j8sxxvvrfk9m0rdss0646y0",receiverShard:1,round:6885918,sender:"erd1znusjpmfpukrtf0wscvf4su8yjqg393c092j8sxxvvrfk9m0rdss0646y0",senderShard:1,signature:"e06d88a54af0d9fc220050b69d5c2c4368765ce2a382871cc341531ad309cc695b983a11a24efe99697407ac028e7f4cbdd8ff1a79ed17765760fa33897e340b",status:"success",value:"0",fee:"753259780000000",timestamp:1637433108,data:"RVNEVE5GVFRyYW5zZmVyQDRjNGI0NjQxNTI0ZDJkMzk2NDMxNjU2MTM4QDAxNmEzMUAwYTAxMTBiYjNkMGZmNDJmN2ZlZDQ4QDAwMDAwMDAwMDAwMDAwMDAwNTAwMWUyYTE0MjhkZDFlM2E1MTQ2YjM5NjBkOWUwZjRhNTAzNjk5MDR