edge-currency-accountbased 4.31.1 → 4.31.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/android/src/main/assets/edge-currency-accountbased/edge-currency-accountbased.js +1 -1
- package/android/src/main/assets/edge-currency-accountbased/solana.chunk.js +3 -3
- package/lib/algorand/algorandInfo.js +2 -2
- package/lib/solana/SolanaEngine.js +3 -2
- package/lib/solana/SolanaTools.js +8 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 4.31.3 (2024-12-11)
|
|
6
|
+
|
|
7
|
+
- fixed: Updated Algorand explorer to use Allo.
|
|
8
|
+
|
|
9
|
+
## 4.31.2 (2024-12-11)
|
|
10
|
+
|
|
11
|
+
- fixed: Use `corsBypass: 'always'` for Solana RPC nodes to fix issues with syncing transaction data.
|
|
12
|
+
|
|
5
13
|
## 4.31.1 (2024-12-06)
|
|
6
14
|
|
|
7
15
|
- fixed: Fixed broken balance query method in `aquireTokenBalance` causing stalled syncing.
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
`)>=0)return!1;return!0}function D(L,$){var se;if(L.indent===" ")se=" ";else if(typeof L.indent=="number"&&L.indent>0)se=ie.call(Array(L.indent+1)," ");else return null;return{base:se,prev:ie.call(Array($+1),se)}}function X(L,$){if(L.length===0)return"";var se=`
|
|
10
10
|
`+$.prev+$.base;return se+ie.call(L,","+se)+`
|
|
11
11
|
`+$.prev}function Y(L,$){var se=V(L),ue=[];if(se){ue.length=L.length;for(var Ae=0;Ae<L.length;Ae++)ue[Ae]=ke(L,Ae)?$(L[Ae],L):""}var me=typeof K=="function"?K(L):[],Ue;if(n){Ue={};for(var ot=0;ot<me.length;ot++)Ue["$"+me[ot]]=me[ot]}for(var Ne in L)!ke(L,Ne)||se&&String(Number(Ne))===Ne&&Ne<L.length||n&&Ue["$"+Ne]instanceof Symbol||(H.call(/[^\w$]/,Ne)?ue.push($(Ne,L)+": "+$(L[Ne],L)):ue.push(Ne+": "+$(L[Ne],L)));if(typeof K=="function")for(var Je=0;Je<me.length;Je++)s.call(L,me[Je])&&ue.push("["+$(me[Je])+"]: "+$(L[me[Je]],L));return ue}},28875:function(w,E,t){"use strict";var e;if(!Object.keys){var u=Object.prototype.hasOwnProperty,f=Object.prototype.toString,p=t(1093),l=Object.prototype.propertyIsEnumerable,A=!l.call({toString:null},"toString"),m=l.call(function(){},"prototype"),F=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=function(B){var T=B.constructor;return T&&T.prototype===B},M={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},O=function(){if(typeof window>"u")return!1;for(var B in window)try{if(!M["$"+B]&&u.call(window,B)&&window[B]!==null&&typeof window[B]=="object")try{S(window[B])}catch{return!0}}catch{return!0}return!1}(),U=function(B){if(typeof window>"u"||!O)return S(B);try{return S(B)}catch{return!1}};e=function(T){var N=T!==null&&typeof T=="object",P=f.call(T)==="[object Function]",G=p(T),J=N&&f.call(T)==="[object String]",j=[];if(!N&&!P&&!G)throw new TypeError("Object.keys called on a non-object");var q=m&&P;if(J&&T.length>0&&!u.call(T,0))for(var z=0;z<T.length;++z)j.push(String(z));if(G&&T.length>0)for(var R=0;R<T.length;++R)j.push(String(R));else for(var H in T)!(q&&H==="prototype")&&u.call(T,H)&&j.push(String(H));if(A)for(var re=U(T),ie=0;ie<F.length;++ie)!(re&&F[ie]==="constructor")&&u.call(T,F[ie])&&j.push(F[ie]);return j}}w.exports=e},1189:function(w,E,t){"use strict";var e=Array.prototype.slice,u=t(1093),f=Object.keys,p=f?function(m){return f(m)}:t(28875),l=Object.keys;p.shim=function(){if(Object.keys){var m=function(){var F=Object.keys(arguments);return F&&F.length===arguments.length}(1,2);m||(Object.keys=function(S){return u(S)?l(e.call(S)):l(S)})}else Object.keys=p;return Object.keys||p},w.exports=p},1093:function(w){"use strict";var E=Object.prototype.toString;w.exports=function(e){var u=E.call(e),f=u==="[object Arguments]";return f||(f=u!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&E.call(e.callee)==="[object Function]"),f}},65606:function(w){var E=w.exports={},t,e;function u(){throw new Error("setTimeout has not been defined")}function f(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?t=setTimeout:t=u}catch{t=u}try{typeof clearTimeout=="function"?e=clearTimeout:e=f}catch{e=f}})();function p(T){if(t===setTimeout)return setTimeout(T,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(T,0);try{return t(T,0)}catch{try{return t.call(null,T,0)}catch{return t.call(this,T,0)}}}function l(T){if(e===clearTimeout)return clearTimeout(T);if((e===f||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(T);try{return e(T)}catch{try{return e.call(null,T)}catch{return e.call(this,T)}}}var A=[],m=!1,F,S=-1;function M(){!m||!F||(m=!1,F.length?A=F.concat(A):S=-1,A.length&&O())}function O(){if(!m){var T=p(M);m=!0;for(var N=A.length;N;){for(F=A,A=[];++S<N;)F&&F[S].run();S=-1,N=A.length}F=null,m=!1,l(T)}}E.nextTick=function(T){var N=new Array(arguments.length-1);if(arguments.length>1)for(var P=1;P<arguments.length;P++)N[P-1]=arguments[P];A.push(new U(T,N)),A.length===1&&!m&&p(O)};function U(T,N){this.fun=T,this.array=N}U.prototype.run=function(){this.fun.apply(null,this.array)},E.title="browser",E.browser=!0,E.env={},E.argv=[],E.version="",E.versions={};function B(){}E.on=B,E.addListener=B,E.once=B,E.off=B,E.removeListener=B,E.removeAllListeners=B,E.emit=B,E.prependListener=B,E.prependOnceListener=B,E.listeners=function(T){return[]},E.binding=function(T){throw new Error("process.binding is not supported")},E.cwd=function(){return"/"},E.chdir=function(T){throw new Error("process.chdir is not supported")},E.umask=function(){return 0}},7452:function(w){var E=function(t){"use strict";var e=Object.prototype,u=e.hasOwnProperty,f=Object.defineProperty||function(s,c,d){s[c]=d.value},p,l=typeof Symbol=="function"?Symbol:{},A=l.iterator||"@@iterator",m=l.asyncIterator||"@@asyncIterator",F=l.toStringTag||"@@toStringTag";function S(s,c,d){return Object.defineProperty(s,c,{value:d,enumerable:!0,configurable:!0,writable:!0}),s[c]}try{S({},"")}catch{S=function(c,d,C){return c[d]=C}}function M(s,c,d,C){var I=c&&c.prototype instanceof G?c:G,h=Object.create(I.prototype),r=new v(C||[]);return f(h,"_invoke",{value:ye(s,d,r)}),h}t.wrap=M;function O(s,c,d){try{return{type:"normal",arg:s.call(c,d)}}catch(C){return{type:"throw",arg:C}}}var U="suspendedStart",B="suspendedYield",T="executing",N="completed",P={};function G(){}function J(){}function j(){}var q={};S(q,A,function(){return this});var z=Object.getPrototypeOf,R=z&&z(z(n([])));R&&R!==e&&u.call(R,A)&&(q=R);var H=j.prototype=G.prototype=Object.create(q);J.prototype=j,f(H,"constructor",{value:j,configurable:!0}),f(j,"constructor",{value:J,configurable:!0}),J.displayName=S(j,F,"GeneratorFunction");function re(s){["next","throw","return"].forEach(function(c){S(s,c,function(d){return this._invoke(c,d)})})}t.isGeneratorFunction=function(s){var c=typeof s=="function"&&s.constructor;return c?c===J||(c.displayName||c.name)==="GeneratorFunction":!1},t.mark=function(s){return Object.setPrototypeOf?Object.setPrototypeOf(s,j):(s.__proto__=j,S(s,F,"GeneratorFunction")),s.prototype=Object.create(H),s},t.awrap=function(s){return{__await:s}};function ie(s,c){function d(h,r,b,V){var _=O(s[h],s,r);if(_.type==="throw")V(_.arg);else{var ee=_.arg,ae=ee.value;return ae&&typeof ae=="object"&&u.call(ae,"__await")?c.resolve(ae.__await).then(function(fe){d("next",fe,b,V)},function(fe){d("throw",fe,b,V)}):c.resolve(ae).then(function(fe){ee.value=fe,b(ee)},function(fe){return d("throw",fe,b,V)})}}var C;function I(h,r){function b(){return new c(function(V,_){d(h,r,V,_)})}return C=C?C.then(b,b):b()}f(this,"_invoke",{value:I})}re(ie.prototype),S(ie.prototype,m,function(){return this}),t.AsyncIterator=ie,t.async=function(s,c,d,C,I){I===void 0&&(I=Promise);var h=new ie(M(s,c,d,C),I);return t.isGeneratorFunction(c)?h:h.next().then(function(r){return r.done?r.value:h.next()})};function ye(s,c,d){var C=U;return function(h,r){if(C===T)throw new Error("Generator is already running");if(C===N){if(h==="throw")throw r;return a()}for(d.method=h,d.arg=r;;){var b=d.delegate;if(b){var V=ve(b,d);if(V){if(V===P)continue;return V}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(C===U)throw C=N,d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);C=T;var _=O(s,c,d);if(_.type==="normal"){if(C=d.done?N:B,_.arg===P)continue;return{value:_.arg,done:d.done}}else _.type==="throw"&&(C=N,d.method="throw",d.arg=_.arg)}}}function ve(s,c){var d=c.method,C=s.iterator[d];if(C===p)return c.delegate=null,d==="throw"&&s.iterator.return&&(c.method="return",c.arg=p,ve(s,c),c.method==="throw")||d!=="return"&&(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+d+"' method")),P;var I=O(C,s.iterator,c.arg);if(I.type==="throw")return c.method="throw",c.arg=I.arg,c.delegate=null,P;var h=I.arg;if(!h)return c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,P;if(h.done)c[s.resultName]=h.value,c.next=s.nextLoc,c.method!=="return"&&(c.method="next",c.arg=p);else return h;return c.delegate=null,P}re(H),S(H,F,"Generator"),S(H,A,function(){return this}),S(H,"toString",function(){return"[object Generator]"});function W(s){var c={tryLoc:s[0]};1 in s&&(c.catchLoc=s[1]),2 in s&&(c.finallyLoc=s[2],c.afterLoc=s[3]),this.tryEntries.push(c)}function K(s){var c=s.completion||{};c.type="normal",delete c.arg,s.completion=c}function v(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(W,this),this.reset(!0)}t.keys=function(s){var c=Object(s),d=[];for(var C in c)d.push(C);return d.reverse(),function I(){for(;d.length;){var h=d.pop();if(h in c)return I.value=h,I.done=!1,I}return I.done=!0,I}};function n(s){if(s){var c=s[A];if(c)return c.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var d=-1,C=function I(){for(;++d<s.length;)if(u.call(s,d))return I.value=s[d],I.done=!1,I;return I.value=p,I.done=!0,I};return C.next=C}}return{next:a}}t.values=n;function a(){return{value:p,done:!0}}return v.prototype={constructor:v,reset:function(s){if(this.prev=0,this.next=0,this.sent=this._sent=p,this.done=!1,this.delegate=null,this.method="next",this.arg=p,this.tryEntries.forEach(K),!s)for(var c in this)c.charAt(0)==="t"&&u.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=p)},stop:function(){this.done=!0;var s=this.tryEntries[0],c=s.completion;if(c.type==="throw")throw c.arg;return this.rval},dispatchException:function(s){if(this.done)throw s;var c=this;function d(V,_){return h.type="throw",h.arg=s,c.next=V,_&&(c.method="next",c.arg=p),!!_}for(var C=this.tryEntries.length-1;C>=0;--C){var I=this.tryEntries[C],h=I.completion;if(I.tryLoc==="root")return d("end");if(I.tryLoc<=this.prev){var r=u.call(I,"catchLoc"),b=u.call(I,"finallyLoc");if(r&&b){if(this.prev<I.catchLoc)return d(I.catchLoc,!0);if(this.prev<I.finallyLoc)return d(I.finallyLoc)}else if(r){if(this.prev<I.catchLoc)return d(I.catchLoc,!0)}else if(b){if(this.prev<I.finallyLoc)return d(I.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(s,c){for(var d=this.tryEntries.length-1;d>=0;--d){var C=this.tryEntries[d];if(C.tryLoc<=this.prev&&u.call(C,"finallyLoc")&&this.prev<C.finallyLoc){var I=C;break}}I&&(s==="break"||s==="continue")&&I.tryLoc<=c&&c<=I.finallyLoc&&(I=null);var h=I?I.completion:{};return h.type=s,h.arg=c,I?(this.method="next",this.next=I.finallyLoc,P):this.complete(h)},complete:function(s,c){if(s.type==="throw")throw s.arg;return s.type==="break"||s.type==="continue"?this.next=s.arg:s.type==="return"?(this.rval=this.arg=s.arg,this.method="return",this.next="end"):s.type==="normal"&&c&&(this.next=c),P},finish:function(s){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.finallyLoc===s)return this.complete(d.completion,d.afterLoc),K(d),P}},catch:function(s){for(var c=this.tryEntries.length-1;c>=0;--c){var d=this.tryEntries[c];if(d.tryLoc===s){var C=d.completion;if(C.type==="throw"){var I=C.arg;K(d)}return I}}throw new Error("illegal catch attempt")},delegateYield:function(s,c,d){return this.delegate={iterator:n(s),resultName:c,nextLoc:d},this.method==="next"&&(this.arg=p),P}},t}(w.exports);try{regeneratorRuntime=E}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=E:Function("r","regeneratorRuntime = r")(E)}},96897:function(w,E,t){"use strict";var e=t(70453),u=t(30041),f=t(30592)(),p=t(75795),l=t(69675),A=e("%Math.floor%");w.exports=function(F,S){if(typeof F!="function")throw new l("`fn` is not a function");if(typeof S!="number"||S<0||S>4294967295||A(S)!==S)throw new l("`length` must be a positive 32-bit integer");var M=arguments.length>2&&!!arguments[2],O=!0,U=!0;if("length"in F&&p){var B=p(F,"length");B&&!B.configurable&&(O=!1),B&&!B.writable&&(U=!1)}return(O||U||!M)&&(f?u(F,"length",S,!0,!0):u(F,"length",S)),F}},43206:function(w,E,t){"use strict";var e=t(30041),u=t(30592)(),f=t(74462).functionsHaveConfigurableNames(),p=t(69675);w.exports=function(A,m){if(typeof A!="function")throw new p("`fn` is not a function");var F=arguments.length>2&&!!arguments[2];return(!F||f)&&(u?e(A,"name",m,!0,!0):e(A,"name",m)),A}},920:function(w,E,t){"use strict";var e=t(70453),u=t(38075),f=t(58859),p=e("%TypeError%"),l=e("%WeakMap%",!0),A=e("%Map%",!0),m=u("WeakMap.prototype.get",!0),F=u("WeakMap.prototype.set",!0),S=u("WeakMap.prototype.has",!0),M=u("Map.prototype.get",!0),O=u("Map.prototype.set",!0),U=u("Map.prototype.has",!0),B=function(G,J){for(var j=G,q;(q=j.next)!==null;j=q)if(q.key===J)return j.next=q.next,q.next=G.next,G.next=q,q},T=function(G,J){var j=B(G,J);return j&&j.value},N=function(G,J,j){var q=B(G,J);q?q.value=j:G.next={key:J,next:G.next,value:j}},P=function(G,J){return!!B(G,J)};w.exports=function(){var J,j,q,z={assert:function(R){if(!z.has(R))throw new p("Side channel does not contain "+f(R))},get:function(R){if(l&&R&&(typeof R=="object"||typeof R=="function")){if(J)return m(J,R)}else if(A){if(j)return M(j,R)}else if(q)return T(q,R)},has:function(R){if(l&&R&&(typeof R=="object"||typeof R=="function")){if(J)return S(J,R)}else if(A){if(j)return U(j,R)}else if(q)return P(q,R);return!1},set:function(R,H){l&&R&&(typeof R=="object"||typeof R=="function")?(J||(J=new l),F(J,R,H)):A?(j||(j=new A),O(j,R,H)):(q||(q={key:{},next:null}),N(q,R,H))}};return z}},47790:function(){},42634:function(){},52413:function(w,E,t){"use strict";var e=t(69675),u=t(84769),f=t(79173),p=t(97856),l=t(25637),A=t(56654),m=t(58501);w.exports=function(S,M,O){if(m(S)!=="Object")throw new e("Assertion failed: Type(O) is not Object");if(!l(M))throw new e("Assertion failed: IsPropertyKey(P) is not true");var U={"[[Configurable]]":!0,"[[Enumerable]]":!1,"[[Value]]":O,"[[Writable]]":!0};return u(p,A,f,S,M,U)}},79173:function(w,E,t){"use strict";var e=t(69675),u=t(55701),f=t(52997);w.exports=function(l){if(typeof l<"u"&&!u(l))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return f(l)}},97856:function(w,E,t){"use strict";var e=t(69675),u=t(9957),f=t(55701);w.exports=function(l){if(typeof l>"u")return!1;if(!f(l))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!u(l,"[[Value]]")&&!u(l,"[[Writable]]"))}},25637:function(w){"use strict";w.exports=function(t){return typeof t=="string"||typeof t=="symbol"}},56654:function(w,E,t){"use strict";var e=t(78756);w.exports=function(f,p){return f===p?f===0?1/f===1/p:!0:e(f)&&e(p)}},58501:function(w,E,t){"use strict";var e=t(82439);w.exports=function(f){return typeof f=="symbol"?"Symbol":typeof f=="bigint"?"BigInt":e(f)}},71847:function(w,E,t){"use strict";var e=t(77312),u=t(11087),f=t(37050),p=t(69675);w.exports=function(A,m,F){if(typeof A!="string")throw new p("Assertion failed: `S` must be a String");if(!u(m)||m<0||m>f)throw new p("Assertion failed: `length` must be an integer >= 0 and <= 2**53");if(typeof F!="boolean")throw new p("Assertion failed: `unicode` must be a Boolean");if(!F)return m+1;var S=A.length;if(m+1>=S)return m+1;var M=e(A,m);return m+M["[[CodeUnitCount]]"]}},42650:function(w,E,t){"use strict";var e=t(70453),u=t(58068),f=t(69675),p=e("%Promise%",!0),l=t(38075),A=t(45354),m=t(77703),F=t(319),S=t(50025),M=t(47730),O=l("Promise.prototype.then",!0);w.exports=function(B){if(M(B)!=="Object")throw new f("Assertion failed: Type(O) is not Object");if(arguments.length>1)throw new u("although AsyncFromSyncIteratorContinuation should take a second argument, it is not used in this implementation");if(!p)throw new u("This environment does not support Promises.");return new p(function(T){var N=m(B),P=F(B),G=S(p,P),J=function(j){return A(j,N)};T(O(G,J))})}},48246:function(w,E,t){"use strict";var e=t(70453),u=t(38075),f=t(69675),p=t(10533),l=e("%Reflect.apply%",!0)||u("Function.prototype.apply");w.exports=function(m,F){var S=arguments.length>2?arguments[2]:[];if(!p(S))throw new f("Assertion failed: optional `argumentsList`, if provided, must be a List");return l(m,F,S)}},77312:function(w,E,t){"use strict";var e=t(69675),u=t(38075),f=t(42161),p=t(33703),l=t(23254),A=u("String.prototype.charAt"),m=u("String.prototype.charCodeAt");w.exports=function(S,M){if(typeof S!="string")throw new e("Assertion failed: `string` must be a String");var O=S.length;if(M<0||M>=O)throw new e("Assertion failed: `position` must be >= 0, and < the length of `string`");var U=m(S,M),B=A(S,M),T=f(U),N=p(U);if(!T&&!N)return{"[[CodePoint]]":B,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!1};if(N||M+1===O)return{"[[CodePoint]]":B,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0};var P=m(S,M+1);return p(P)?{"[[CodePoint]]":l(U,P),"[[CodeUnitCount]]":2,"[[IsUnpairedSurrogate]]":!1}:{"[[CodePoint]]":B,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0}}},5573:function(w,E,t){"use strict";var e=t(70453),u=t(58068),f=t(69675),p=e("%Promise%",!0),l=t(42650),A=t(48246),m=t(45354),F=t(60280),S=t(65149),M=t(67469),O=t(25383),U=t(47730),B=t(20063),T=t(83316),N=e("%AsyncFromSyncIteratorPrototype%",!0)||{next:function(G){if(!p)throw new u("This environment does not support Promises.");var J=this;B.assert(J,"[[SyncIteratorRecord]]");var j=arguments.length;return new p(function(q){var z=B.get(J,"[[SyncIteratorRecord]]"),R;j>0?R=M(z,G):R=M(z),q(l(R))})},return:function(){if(!p)throw new u("This environment does not support Promises.");var P=this;B.assert(P,"[[SyncIteratorRecord]]");var G=arguments.length>0,J=G?arguments[0]:void 0;return new p(function(j,q){var z=B.get(P,"[[SyncIteratorRecord]]")["[[Iterator]]"],R=S(z,"return");if(typeof R>"u"){var H=m(J,!0);A(j,void 0,[H]);return}var re;if(G?re=A(R,z,[J]):re=A(R,z),U(re)!=="Object"){A(q,void 0,[new f("Iterator `return` method returned a non-object value.")]);return}j(l(re))})},throw:function(){if(!p)throw new u("This environment does not support Promises.");var P=this;B.assert(P,"[[SyncIteratorRecord]]");var G=arguments.length>0,J=G?arguments[0]:void 0;return new p(function(j,q){var z=B.get(P,"[[SyncIteratorRecord]]")["[[Iterator]]"],R=S(z,"throw");if(typeof R>"u"){A(q,void 0,[J]);return}var H;if(G?H=A(R,z,[J]):H=A(R,z),U(H)!=="Object"){A(q,void 0,[new f("Iterator `throw` method returned a non-object value.")]);return}j(l(H))})}};w.exports=function(G){if(!T(G))throw new f("Assertion failed: `syncIteratorRecord` must be an Iterator Record");var J=O(N);B.set(J,"[[SyncIteratorRecord]]",G);var j=F(J,"next");return{"[[Iterator]]":J,"[[NextMethod]]":j,"[[Done]]":!1}}},547:function(w,E,t){"use strict";var e=t(69675),u=t(53400),f=t(68798),p=t(47730);w.exports=function(A,m,F){if(p(A)!=="Object")throw new e("Assertion failed: Type(O) is not Object");if(!u(m))throw new e("Assertion failed: IsPropertyKey(P) is not true");var S={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":F,"[[Writable]]":!0};return f(A,m,S)}},87976:function(w,E,t){"use strict";var e=t(69675),u=t(547),f=t(53400),p=t(47730);w.exports=function(A,m,F){if(p(A)!=="Object")throw new e("Assertion failed: Type(O) is not Object");if(!f(m))throw new e("Assertion failed: IsPropertyKey(P) is not true");var S=u(A,m,F);if(!S)throw new e("unable to create data property")}},45354:function(w,E,t){"use strict";var e=t(69675);w.exports=function(f,p){if(typeof p!="boolean")throw new e("Assertion failed: Type(done) is not Boolean");return{value:f,done:p}}},17030:function(w,E,t){"use strict";var e=t(69675),u=t(55701),f=t(52997);w.exports=function(l){if(typeof l<"u"&&!u(l))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return f(l)}},60280:function(w,E,t){"use strict";var e=t(69675),u=t(58859),f=t(53400),p=t(47730);w.exports=function(A,m){if(p(A)!=="Object")throw new e("Assertion failed: Type(O) is not Object");if(!f(m))throw new e("Assertion failed: IsPropertyKey(P) is not true, got "+u(m));return A[m]}},72034:function(w,E,t){"use strict";var e=t(70453),u=t(69675),f=e("%Symbol.asyncIterator%",!0),p=t(58859),l=t(64039)(),A=t(71847),m=t(5573),F=t(97579),S=t(65149),M=t(10533),O=t(24998);w.exports=function(B,T){if(T!=="SYNC"&&T!=="ASYNC")throw new u("Assertion failed: `kind` must be one of 'sync' or 'async', got "+p(T));var N;if(T==="ASYNC"&&l&&f&&(N=S(B,f)),typeof N>"u"){var P=O({AdvanceStringIndex:A,GetMethod:S,IsArray:M},B);if(T==="ASYNC"){if(typeof P>"u")throw new u("iterator method is `undefined`");var G=F(B,P);return m(G)}N=P}if(typeof N>"u")throw new u("iterator method is `undefined`");return F(B,N)}},97579:function(w,E,t){"use strict";var e=t(69675),u=t(48246),f=t(60280),p=t(6966),l=t(47730);w.exports=function(m,F){if(!p(F))throw new e("method must be a function");var S=u(F,m);if(l(S)!=="Object")throw new e("iterator must return an object");var M=f(S,"next");return{"[[Iterator]]":S,"[[NextMethod]]":M,"[[Done]]":!1}}},65149:function(w,E,t){"use strict";var e=t(69675),u=t(10844),f=t(6966),p=t(53400),l=t(58859);w.exports=function(m,F){if(!p(F))throw new e("Assertion failed: IsPropertyKey(P) is not true");var S=u(m,F);if(S!=null){if(!f(S))throw new e(l(F)+" is not a function: "+l(S));return S}}},10844:function(w,E,t){"use strict";var e=t(69675),u=t(58859),f=t(53400);w.exports=function(l,A){if(!f(A))throw new e("Assertion failed: IsPropertyKey(P) is not true, got "+u(A));return l[A]}},15520:function(w,E,t){"use strict";var e=t(69675),u=t(9957),f=t(55701);w.exports=function(l){if(typeof l>"u")return!1;if(!f(l))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!u(l,"[[Get]]")&&!u(l,"[[Set]]"))}},10533:function(w,E,t){"use strict";w.exports=t(21412)},6966:function(w,E,t){"use strict";w.exports=t(69600)},28131:function(w,E,t){"use strict";var e=t(69675),u=t(9957),f=t(55701);w.exports=function(l){if(typeof l>"u")return!1;if(!f(l))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!(!u(l,"[[Value]]")&&!u(l,"[[Writable]]"))}},52439:function(w,E,t){"use strict";var e=t(70453),u=e("%Object.preventExtensions%",!0),f=e("%Object.isExtensible%",!0),p=t(86600);w.exports=u?function(A){return!p(A)&&f(A)}:function(A){return!p(A)}},88608:function(w,E,t){"use strict";var e=t(69675),u=t(15520),f=t(28131),p=t(55701);w.exports=function(A){if(typeof A>"u")return!1;if(!p(A))throw new e("Assertion failed: `Desc` must be a Property Descriptor");return!u(A)&&!f(A)}},53400:function(w){"use strict";w.exports=function(t){return typeof t=="string"||typeof t=="symbol"}},77703:function(w,E,t){"use strict";var e=t(69675),u=t(60280),f=t(44323),p=t(47730);w.exports=function(A){if(p(A)!=="Object")throw new e("Assertion failed: Type(iterResult) is not Object");return f(u(A,"done"))}},67469:function(w,E,t){"use strict";var e=t(69675),u=t(48246),f=t(47730),p=t(83316);w.exports=function(A){if(!p(A))throw new e("Assertion failed: `iteratorRecord` must be an Iterator Record");var m;if(arguments.length<2?m=u(A["[[NextMethod]]"],A["[[Iterator]]"]):m=u(A["[[NextMethod]]"],A["[[Iterator]]"],[arguments[1]]),f(m)!=="Object")throw new e("iterator next must return an object");return m}},14482:function(w,E,t){"use strict";var e=t(69675),u=t(77703),f=t(67469),p=t(83316);w.exports=function(A){if(!p(A))throw new e("Assertion failed: `iteratorRecord` must be an Iterator Record");var m=f(A),F=u(m);return F===!0?!1:m}},37461:function(w,E,t){"use strict";var e=t(69675),u=t(38075),f=u("Array.prototype.push"),p=t(14482),l=t(319),A=t(83316);w.exports=function(F){if(!A(F))throw new e("Assertion failed: `iteratorRecord` must be an Iterator Record");for(var S=[],M=!0;M;)if(M=p(F),M){var O=l(M);f(S,O)}return S}},319:function(w,E,t){"use strict";var e=t(69675),u=t(60280),f=t(47730);w.exports=function(l){if(f(l)!=="Object")throw new e("Assertion failed: Type(iterResult) is not Object");return u(l,"value")}},68798:function(w,E,t){"use strict";var e=t(75795),u=t(58068),f=t(69675),p=t(55701),l=t(15520),A=t(52439),m=t(53400),F=t(60259),S=t(52875),M=t(47730),O=t(76751);w.exports=function(B,T,N){if(M(B)!=="Object")throw new f("Assertion failed: O must be an Object");if(!m(T))throw new f("Assertion failed: P must be a Property Key");if(!p(N))throw new f("Assertion failed: Desc must be a Property Descriptor");if(!e){if(l(N))throw new u("This environment does not support accessor property descriptors.");var P=!(T in B)&&N["[[Writable]]"]&&N["[[Enumerable]]"]&&N["[[Configurable]]"]&&"[[Value]]"in N,G=T in B&&(!("[[Configurable]]"in N)||N["[[Configurable]]"])&&(!("[[Enumerable]]"in N)||N["[[Enumerable]]"])&&(!("[[Writable]]"in N)||N["[[Writable]]"])&&"[[Value]]"in N;if(P||G)return B[T]=N["[[Value]]"],S(B[T],N["[[Value]]"]);throw new u("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var J=e(B,T),j=J&&F(J),q=A(B);return O(B,T,q,N,j)}},53519:function(w,E,t){"use strict";var e=t(69675),u=t(46763),f=t(47730);w.exports=function(l){if(f(l)!=="Object")throw new e("Assertion failed: O must be an Object");if(!u)throw new e("This environment does not support fetching prototypes.");return u(l)}},25383:function(w,E,t){"use strict";var e=t(70453),u=e("%Object.create%",!0),f=t(69675),p=t(58068),l=t(10533),A=t(47730),m=t(53795),F=t(20063),S=t(80024)();w.exports=function(O){if(O!==null&&A(O)!=="Object")throw new f("Assertion failed: `proto` must be null or an object");var U=arguments.length<2?[]:arguments[1];if(!l(U))throw new f("Assertion failed: `additionalInternalSlotsList` must be an Array");var B;if(u)B=u(O);else if(S)B={__proto__:O};else{if(O===null)throw new p("native Object.create support is required to create null objects");var T=function(){};T.prototype=O,B=new T}return U.length>0&&m(U,function(N){F.set(B,N,void 0)}),B}},74107:function(w,E,t){"use strict";var e=t(69675),u=t(70751),f=t(53519);w.exports=function(l,A){if(typeof A!="object")throw new e("Assertion failed: V must be Object or Null");try{u(l,A)}catch{return!1}return f(l)===A}},50025:function(w,E,t){"use strict";var e=t(70453),u=t(10487),f=t(58068),p=e("%Promise.resolve%",!0),l=p&&u(p);w.exports=function(m,F){if(!l)throw new f("This environment does not support Promises.");return l(m,F)}},52875:function(w,E,t){"use strict";var e=t(78756);w.exports=function(f,p){return f===p?f===0?1/f===1/p:!0:e(f)&&e(p)}},44323:function(w){"use strict";w.exports=function(t){return!!t}},60259:function(w,E,t){"use strict";var e=t(9957),u=t(69675),f=t(47730),p=t(44323),l=t(6966);w.exports=function(m){if(f(m)!=="Object")throw new u("ToPropertyDescriptor requires an object");var F={};if(e(m,"enumerable")&&(F["[[Enumerable]]"]=p(m.enumerable)),e(m,"configurable")&&(F["[[Configurable]]"]=p(m.configurable)),e(m,"value")&&(F["[[Value]]"]=m.value),e(m,"writable")&&(F["[[Writable]]"]=p(m.writable)),e(m,"get")){var S=m.get;if(typeof S<"u"&&!l(S))throw new u("getter must be a function");F["[[Get]]"]=S}if(e(m,"set")){var M=m.set;if(typeof M<"u"&&!l(M))throw new u("setter must be a function");F["[[Set]]"]=M}if((e(F,"[[Get]]")||e(F,"[[Set]]"))&&(e(F,"[[Value]]")||e(F,"[[Writable]]")))throw new u("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return F}},47730:function(w,E,t){"use strict";var e=t(82439);w.exports=function(f){return typeof f=="symbol"?"Symbol":typeof f=="bigint"?"BigInt":e(f)}},23254:function(w,E,t){"use strict";var e=t(70453),u=t(69675),f=e("%String.fromCharCode%"),p=t(42161),l=t(33703);w.exports=function(m,F){if(!p(m)||!l(F))throw new u("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");return f(m)+f(F)}},76751:function(w,E,t){"use strict";var e=t(69675),u=t(84769),f=t(98143),p=t(55701),l=t(17030),A=t(15520),m=t(28131),F=t(88608),S=t(53400),M=t(52875),O=t(47730);w.exports=function(B,T,N,P,G){var J=O(B);if(J!=="Undefined"&&J!=="Object")throw new e("Assertion failed: O must be undefined or an Object");if(!S(T))throw new e("Assertion failed: P must be a Property Key");if(typeof N!="boolean")throw new e("Assertion failed: extensible must be a Boolean");if(!p(P))throw new e("Assertion failed: Desc must be a Property Descriptor");if(typeof G<"u"&&!p(G))throw new e("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof G>"u")return N?J==="Undefined"?!0:A(P)?u(m,M,l,B,T,P):u(m,M,l,B,T,{"[[Configurable]]":!!P["[[Configurable]]"],"[[Enumerable]]":!!P["[[Enumerable]]"],"[[Value]]":P["[[Value]]"],"[[Writable]]":!!P["[[Writable]]"]}):!1;if(!f({IsAccessorDescriptor:A,IsDataDescriptor:m},G))throw new e("`current`, when present, must be a fully populated and valid Property Descriptor");if(!G["[[Configurable]]"]){if("[[Configurable]]"in P&&P["[[Configurable]]"]||"[[Enumerable]]"in P&&!M(P["[[Enumerable]]"],G["[[Enumerable]]"])||!F(P)&&!M(A(P),A(G)))return!1;if(A(G)){if("[[Get]]"in P&&!M(P["[[Get]]"],G["[[Get]]"])||"[[Set]]"in P&&!M(P["[[Set]]"],G["[[Set]]"]))return!1}else if(!G["[[Writable]]"]&&("[[Writable]]"in P&&P["[[Writable]]"]||"[[Value]]"in P&&!M(P["[[Value]]"],G["[[Value]]"])))return!1}if(J!=="Undefined"){var j,q;return m(G)&&A(P)?(j=("[[Configurable]]"in P?P:G)["[[Configurable]]"],q=("[[Enumerable]]"in P?P:G)["[[Enumerable]]"],u(m,M,l,B,T,{"[[Configurable]]":!!j,"[[Enumerable]]":!!q,"[[Get]]":("[[Get]]"in P?P:G)["[[Get]]"],"[[Set]]":("[[Set]]"in P?P:G)["[[Set]]"]})):A(G)&&m(P)?(j=("[[Configurable]]"in P?P:G)["[[Configurable]]"],q=("[[Enumerable]]"in P?P:G)["[[Enumerable]]"],u(m,M,l,B,T,{"[[Configurable]]":!!j,"[[Enumerable]]":!!q,"[[Value]]":("[[Value]]"in P?P:G)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in P?P:G)["[[Writable]]"]})):u(m,M,l,B,T,P)}return!0}},82439:function(w){"use strict";w.exports=function(t){if(t===null)return"Null";if(typeof t>"u")return"Undefined";if(typeof t=="function"||typeof t=="object")return"Object";if(typeof t=="number")return"Number";if(typeof t=="boolean")return"Boolean";if(typeof t=="string")return"String"}},84769:function(w,E,t){"use strict";var e=t(30592),u=t(30655),f=e.hasArrayLengthDefineBug(),p=f&&t(21412),l=t(38075),A=l("Object.prototype.propertyIsEnumerable");w.exports=function(F,S,M,O,U,B){if(!u){if(!F(B)||!B["[[Configurable]]"]||!B["[[Writable]]"]||U in O&&A(O,U)!==!!B["[[Enumerable]]"])return!1;var T=B["[[Value]]"];return O[U]=T,S(O[U],T)}return f&&U==="length"&&"[[Value]]"in B&&p(O)&&O.length!==B["[[Value]]"]?(O.length=B["[[Value]]"],O.length===B["[[Value]]"]):(u(O,U,M(B)),!0)}},21412:function(w,E,t){"use strict";var e=t(70453),u=e("%Array%"),f=!u.isArray&&t(38075)("Object.prototype.toString");w.exports=u.isArray||function(l){return f(l)==="[object Array]"}},53795:function(w){"use strict";w.exports=function(t,e){for(var u=0;u<t.length;u+=1)e(t[u],u,t)}},52997:function(w){"use strict";w.exports=function(t){if(typeof t>"u")return t;var e={};return"[[Value]]"in t&&(e.value=t["[[Value]]"]),"[[Writable]]"in t&&(e.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(e.get=t["[[Get]]"]),"[[Set]]"in t&&(e.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(e.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(e.configurable=!!t["[[Configurable]]"]),e}},24998:function(w,E,t){"use strict";var e=t(64039)(),u=t(70453),f=t(38075),p=t(4761),l=u("%Symbol.iterator%",!0),A=f("String.prototype.slice"),m=u("%String%");w.exports=function(S,M){var O;return e?O=S.GetMethod(M,l):S.IsArray(M)?O=function(){var U=-1,B=this;return{next:function(){return U+=1,{done:U>=B.length,value:B[U]}}}}:p(M)&&(O=function(){var U=0;return{next:function(){var B=S.AdvanceStringIndex(m(M),U,!0),T=A(M,U,B);return U=B,{done:B>M.length,value:T}}}}),O}},46763:function(w,E,t){"use strict";var e=t(70453),u=e("%Object.getPrototypeOf%",!0),f=t(80024)();w.exports=u||(f?function(p){return p.__proto__}:null)},95046:function(w,E,t){"use strict";var e=t(78756);w.exports=function(u){return(typeof u=="number"||typeof u=="bigint")&&!e(u)&&u!==1/0&&u!==-1/0}},98143:function(w,E,t){"use strict";var e=t(55701);w.exports=function(f,p){return e(p)&&typeof p=="object"&&"[[Enumerable]]"in p&&"[[Configurable]]"in p&&(f.IsAccessorDescriptor(p)||f.IsDataDescriptor(p))}},11087:function(w,E,t){"use strict";var e=t(70453),u=e("%Math.abs%"),f=e("%Math.floor%"),p=t(78756),l=t(95046);w.exports=function(m){if(typeof m!="number"||p(m)||!l(m))return!1;var F=u(m);return f(F)===F}},42161:function(w){"use strict";w.exports=function(t){return typeof t=="number"&&t>=55296&&t<=56319}},78756:function(w){"use strict";w.exports=Number.isNaN||function(t){return t!==t}},86600:function(w){"use strict";w.exports=function(t){return t===null||typeof t!="function"&&typeof t!="object"}},33703:function(w){"use strict";w.exports=function(t){return typeof t=="number"&&t>=56320&&t<=57343}},37050:function(w){"use strict";w.exports=Number.MAX_SAFE_INTEGER||9007199254740991},83316:function(w,E,t){"use strict";var e=t(9957);w.exports=function(f){return!!f&&typeof f=="object"&&e(f,"[[Iterator]]")&&e(f,"[[NextMethod]]")&&typeof f["[[NextMethod]]"]=="function"&&e(f,"[[Done]]")&&typeof f["[[Done]]"]=="boolean"}},55701:function(w,E,t){"use strict";var e=t(69675),u=t(9957),f={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};w.exports=function(l){if(!l||typeof l!="object")return!1;for(var A in l)if(u(l,A)&&!f[A])return!1;var m=u(l,"[[Value]]")||u(l,"[[Writable]]"),F=u(l,"[[Get]]")||u(l,"[[Set]]");if(m&&F)throw new e("Property Descriptors may not be both accessor and data descriptors");return!0}},70751:function(w,E,t){"use strict";var e=t(70453),u=e("%Object.setPrototypeOf%",!0),f=t(80024)();w.exports=u||(f?function(p,l){return p.__proto__=l,p}:null)},99818:function(w,E,t){"use strict";t.d(E,{D5:function(){return l},E8:function(){return j},H7:function(){return T},HH:function(){return p},HS:function(){return S},UH:function(){return A},VA:function(){return P},_j:function(){return u},bW:function(){return G},eB:function(){return B},fI:function(){return m},i:function(){return U},oJ:function(){return N},ob:function(){return O},p_:function(){return J},sd:function(){return q},tB:function(){return f}});var e=t(53662);const u=e._j,f=e.tB,p=e.HH,l=e.D5,A=e.UH,m=e.fI,F=e.$H,S=e.HS,M=e.LU,O=e.ob,U=e.i,B=e.eB,T=e.H7,N=e.oJ,P=e.VA,G=e.bW,J=e.p_,j=e.E8,q=e.sd},65828:function(w,E,t){"use strict";t.d(E,{K3:function(){return O},RG:function(){return S},xn:function(){return F}});function e(T,N,P){var G;if(P===void 0&&(P={}),!N.codes){N.codes={};for(var J=0;J<N.chars.length;++J)N.codes[N.chars[J]]=J}if(!P.loose&&T.length*N.bits&7)throw new SyntaxError("Invalid padding");for(var j=T.length;T[j-1]==="=";)if(--j,!P.loose&&!((T.length-j)*N.bits&7))throw new SyntaxError("Invalid padding");for(var q=new((G=P.out)!=null?G:Uint8Array)(j*N.bits/8|0),z=0,R=0,H=0,re=0;re<j;++re){var ie=N.codes[T[re]];if(ie===void 0)throw new SyntaxError("Invalid character "+T[re]);R=R<<N.bits|ie,z+=N.bits,z>=8&&(z-=8,q[H++]=255&R>>z)}if(z>=N.bits||255&R<<8-z)throw new SyntaxError("Unexpected end of data");return q}function u(T,N,P){P===void 0&&(P={});for(var G=P,J=G.pad,j=J===void 0?!0:J,q=(1<<N.bits)-1,z="",R=0,H=0,re=0;re<T.length;++re)for(H=H<<8|255&T[re],R+=8;R>N.bits;)R-=N.bits,z+=N.chars[q&H>>R];if(R&&(z+=N.chars[q&H<<N.bits-R]),j)for(;z.length*N.bits&7;)z+="=";return z}var f={chars:"0123456789ABCDEF",bits:4},p={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bits:5},l={chars:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bits:5},A={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bits:6},m={chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bits:6},F={parse:function(N,P){return e(N.toUpperCase(),f,P)},stringify:function(N,P){return u(N,f,P)}},S={parse:function(N,P){return P===void 0&&(P={}),e(P.loose?N.toUpperCase().replace(/0/g,"O").replace(/1/g,"L").replace(/8/g,"B"):N,p,P)},stringify:function(N,P){return u(N,p,P)}},M={parse:function(N,P){return e(N,l,P)},stringify:function(N,P){return u(N,l,P)}},O={parse:function(N,P){return e(N,A,P)},stringify:function(N,P){return u(N,A,P)}},U={parse:function(N,P){return e(N,m,P)},stringify:function(N,P){return u(N,m,P)}},B={parse:e,stringify:u}}},Jt={};function g(w){var E=Jt[w];if(E!==void 0)return E.exports;var t=Jt[w]={id:w,loaded:!1,exports:{}};return Ut[w].call(t.exports,t,t.exports,g),t.loaded=!0,t.exports}g.m=Ut,function(){g.amdO={}}(),function(){g.n=function(w){var E=w&&w.__esModule?function(){return w.default}:function(){return w};return g.d(E,{a:E}),E}}(),function(){var w=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},E;g.t=function(t,e){if(e&1&&(t=this(t)),e&8||typeof t=="object"&&t&&(e&4&&t.__esModule||e&16&&typeof t.then=="function"))return t;var u=Object.create(null);g.r(u);var f={};E=E||[null,w({}),w([]),w(w)];for(var p=e&2&&t;typeof p=="object"&&!~E.indexOf(p);p=w(p))Object.getOwnPropertyNames(p).forEach(function(l){f[l]=function(){return t[l]}});return f.default=function(){return t},g.d(u,f),u}}(),function(){g.d=function(w,E){for(var t in E)g.o(E,t)&&!g.o(w,t)&&Object.defineProperty(w,t,{enumerable:!0,get:E[t]})}}(),function(){g.f={},g.e=function(w){return Promise.all(Object.keys(g.f).reduce(function(E,t){return g.f[t](w,E),E},[]))}}(),function(){g.u=function(w){return""+({651:"cardano",1280:"ethereum",3355:"bnb",3566:"eos",4458:"ton",5552:"hedera",5650:"filecoin",6227:"solana",6478:"zcash",7057:"polkadot",7182:"stellar",7685:"ripple",7854:"axelar",8518:"tezos",9415:"fio",9647:"algorand",9722:"tron"}[w]||w)+".chunk.js"}}(),function(){g.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){g.hmd=function(w){return w=Object.create(w),w.children||(w.children=[]),Object.defineProperty(w,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+w.id)}}),w}}(),function(){g.o=function(w,E){return Object.prototype.hasOwnProperty.call(w,E)}}(),function(){var w={},E="edge-currency-accountbased:";g.l=function(t,e,u,f){if(w[t]){w[t].push(e);return}var p,l;if(u!==void 0)for(var A=document.getElementsByTagName("script"),m=0;m<A.length;m++){var F=A[m];if(F.getAttribute("src")==t||F.getAttribute("data-webpack")==E+u){p=F;break}}p||(l=!0,p=document.createElement("script"),p.charset="utf-8",p.timeout=120,g.nc&&p.setAttribute("nonce",g.nc),p.setAttribute("data-webpack",E+u),p.src=t),w[t]=[e];var S=function(O,U){p.onerror=p.onload=null,clearTimeout(M);var B=w[t];if(delete w[t],p.parentNode&&p.parentNode.removeChild(p),B&&B.forEach(function(T){return T(U)}),O)return O(U)},M=setTimeout(S.bind(null,void 0,{type:"timeout",target:p}),12e4);p.onerror=S.bind(null,p.onerror),p.onload=S.bind(null,p.onload),l&&document.head.appendChild(p)}}(),function(){g.r=function(w){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})}}(),function(){g.nmd=function(w){return w.paths=[],w.children||(w.children=[]),w}}(),function(){var w;g.g.importScripts&&(w=g.g.location+"");var E=g.g.document;if(!w&&E&&(E.currentScript&&(w=E.currentScript.src),!w)){var t=E.getElementsByTagName("script");if(t.length)for(var e=t.length-1;e>-1&&(!w||!/^http(s?):/.test(w));)w=t[e--].src}if(!w)throw new Error("Automatic publicPath is not supported in this browser");w=w.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),g.p=w}(),function(){var w={8792:0};g.f.j=function(e,u){var f=g.o(w,e)?w[e]:void 0;if(f!==0)if(f)u.push(f[2]);else{var p=new Promise(function(F,S){f=w[e]=[F,S]});u.push(f[2]=p);var l=g.p+g.u(e),A=new Error,m=function(F){if(g.o(w,e)&&(f=w[e],f!==0&&(w[e]=void 0),f)){var S=F&&(F.type==="load"?"missing":F.type),M=F&&F.target&&F.target.src;A.message="Loading chunk "+e+` failed.
|
|
12
|
-
(`+S+": "+M+")",A.name="ChunkLoadError",A.type=S,A.request=M,f[1](A)}};g.l(l,m,"chunk-"+e,e)}};var E=function(e,u){var f=u[0],p=u[1],l=u[2],A,m,F=0;if(f.some(function(M){return w[M]!==0})){for(A in p)g.o(p,A)&&(g.m[A]=p[A]);if(l)var S=l(g)}for(e&&e(u);F<f.length;F++)m=f[F],g.o(w,m)&&w[m]&&w[m][0](),w[m]=0},t=self.webpackChunkedge_currency_accountbased=self.webpackChunkedge_currency_accountbased||[];t.forEach(E.bind(null,0)),t.push=E.bind(null,t.push.bind(t))}();var _t={};(function(){"use strict";var w=g(7452),E=g(23018),t=g(14483),e=g(37085),u=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const f={31566704:{currencyCode:"USDC",displayName:"USD Coin",denominations:[{name:"USDC",multiplier:"1000000"}],networkLocation:{contractAddress:"31566704"}}},p={algodServers:["https://mainnet-api.algonode.cloud","http://node.algoexplorerapi.io","https://xna-mainnet-api.algonode.cloud"],indexerServers:["https://mainnet-idx.algonode.cloud","https://algoindexer.algoexplorerapi.io"],genesisID:"mainnet-v1.0",genesisHash:"wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=",minimumTxFee:1e3,minimumAddressBalance:"100000"},l={currencyCode:"ALGO",displayName:"Algorand",pluginId:"algorand",walletType:"wallet:algorand",addressExplorer:"https://explorer.bitquery.io/algorand/address/%s",transactionExplorer:"https://explorer.bitquery.io/algorand/tx/%s",customFeeTemplate:[{displayName:"Fee",key:"fee",type:"string"}],customTokenTemplate:[{displayName:"Contract Address",key:"contractAddress",type:"string"}],denominations:[{name:"ALGO",multiplier:"1000000",symbol:"\u023A"}],memoOptions:[{type:"text",memoName:"note",maxLength:1e3}],defaultSettings:{customFeeSettings:["fee"]},metaTokens:(0,t.yQ)(f)},A=(0,E.T)({builtinTokens:f,currencyInfo:l,asInfoPayload:e.F8,networkInfo:p,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Algorand requires bigint support")},getInnerPlugin(){return u(this,null,function*(){return yield Promise.all([g.e(597),g.e(8947),g.e(1594),g.e(8140),g.e(8330),g.e(9647)]).then(g.bind(g,47813))})}});var m=g(68411),F=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const S={binanceApiServers:["https://dex.binance.org","https://dex-atlantic.binance.org","https://dex-asiapacific.binance.org","https://dex-european.binance.org"],beaconChainApiServers:["https://api.binance.org"]},M={currencyCode:"BNB",displayName:"BNB Beacon Chain",pluginId:"binance",walletType:"wallet:binance",addressExplorer:"https://explorer.binance.org/address/%s",transactionExplorer:"https://explorer.binance.org/tx/%s",blockExplorer:"https://explorer.binance.org/block/%s",denominations:[{name:"BNB",multiplier:"100000000",symbol:"B"}],memoOptions:[{type:"text",memoName:"memo",maxLength:128}]},O=(0,E.T)({currencyInfo:M,asInfoPayload:m.$n,networkInfo:S,getInnerPlugin(){return F(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(537),g.e(4841),g.e(6976),g.e(852),g.e(9354),g.e(8330),g.e(3355)]).then(g.bind(g,58879))})}});var U=g(43755),B=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const T={networkId:1,koiosServer:"https://api.koios.rest",blockfrostServer:"https://cardano-mainnet.blockfrost.io",maestroServer:"https://mainnet.gomaestro-api.org"},N={currencyCode:"ADA",displayName:"Cardano",pluginId:"cardano",walletType:"wallet:cardano",addressExplorer:"https://cardanoscan.io/address/%s",transactionExplorer:"https://cardanoscan.io/transaction/%s",denominations:[{name:"ADA",multiplier:"1000000"}]},P=(0,E.T)({currencyInfo:N,asInfoPayload:U.zZ,networkInfo:T,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Cardano requires bigint support")},getInnerPlugin(){return B(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6271),g.e(8330),g.e(651)]).then(g.bind(g,52250))})}});var G=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const J={networkId:0,koiosServer:"https://preprod.koios.rest",blockfrostServer:"https://cardano-preprod.blockfrost.io",maestroServer:"https://preprod.gomaestro-api.org"},j={currencyCode:"ADA",displayName:"Cardano PreProd Testnet",pluginId:"cardanotestnet",walletType:"wallet:cardanotestnet",addressExplorer:"https://preprod.cardanoscan.io/address/%s",transactionExplorer:"https://preprod.cardanoscan.io/transaction/%s",denominations:[{name:"ADA",multiplier:"1000000"}]},q=(0,E.T)({currencyInfo:j,asInfoPayload:U.zZ,networkInfo:J,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Cardano Testnet requires bigint support")},getInnerPlugin(){return G(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6271),g.e(8330),g.e(651)]).then(g.bind(g,52250))})}});var z=g(84397),R=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const H={bech32AddressPrefix:"axelar",bip39Path:"m/44'/118'/0'/0/0",chainInfo:{chainName:"axelar",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/chain.json"},defaultChainId:"axelar-dojo-1",nativeDenom:"uaxl",pluginMnemonicKeyName:"axelarMnemonic",rpcNode:{url:"https://axelar-rpc.publicnode.com:443",headers:{}},archiveNodes:[{blockTimeRangeSeconds:{start:0},endpoint:{url:"https://axelararchive-rpc.quickapi.com:443",headers:{}}}]},re={currencyCode:"AXL",displayName:"Axelar",pluginId:"axelar",walletType:"wallet:axelar",addressExplorer:"https://www.mintscan.io/axelar/address/%s",transactionExplorer:"https://www.mintscan.io/axelar/tx/%s",denominations:[{name:"AXL",multiplier:"1000000",symbol:""}],memoOptions:[{type:"text",maxLength:250}]},ie=(0,E.T)({currencyInfo:re,asInfoPayload:z.j1,networkInfo:H,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Axelar requires BigInt support")},getInnerPlugin(){return R(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}});var ye=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const ve={"usara-core1r9gc0rnxnzpq33u82f44aufgdwvyxv4wyepyck98m9v2pxua6naqr8h03z":{currencyCode:"SARA",displayName:"Pulsara",denominations:[{name:"SARA",multiplier:"1000000"}],networkLocation:{contractAddress:"usara-core1r9gc0rnxnzpq33u82f44aufgdwvyxv4wyepyck98m9v2pxua6naqr8h03z"}},ibce1e3674a0e4e1ef9c69646f9af8d9497173821826074622d831bab73ccb99a2d:{currencyCode:"USDC",displayName:"USDC from Noble",denominations:[{name:"USDC",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/E1E3674A0E4E1EF9C69646F9AF8D9497173821826074622D831BAB73CCB99A2D"}},ibc13b2c536bb057ac79d5616b8ea1b9540ec1f2170718caff6f0083c966fffed0b:{currencyCode:"OSMO",displayName:"Osmosis",denominations:[{name:"OSMO",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/13B2C536BB057AC79D5616B8EA1B9540EC1F2170718CAFF6F0083C966FFFED0B"}},ibc45c001a5ae212d09879be4627c45b64d5636086285590d5145a51e18e9d16722:{currencyCode:"ATOM",displayName:"Cosmos Hub",denominations:[{name:"ATOM",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/45C001A5AE212D09879BE4627C45B64D5636086285590D5145A51E18E9D16722"}},ibc64ada1661e3c1a4293e3bb15d5bd13012d0db3d9002c117c30d7c429a32f4d51:{currencyCode:"GRAV",displayName:"Gravity Bridge",denominations:[{name:"GRAV",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/64ADA1661E3C1A4293E3BB15D5BD13012D0DB3D9002C117C30D7C429A32F4D51"}},ibcab305490f17eccae3f2b0398a572e0efb3af394b90c3a1663da28c1f0869f624:{currencyCode:"KUJI",displayName:"Kujira",denominations:[{name:"KUJI",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/AB305490F17ECCAE3F2B0398A572E0EFB3AF394B90C3A1663DA28C1F0869F624"}},ibc6d42727c323c8af2821966c83e0708f0c17fb0b0de38ba5e4d23f2ee7c0e9ddc:{currencyCode:"BAND",displayName:"Band Protocol",denominations:[{name:"BAND",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/6D42727C323C8AF2821966C83E0708F0C17FB0B0DE38BA5E4D23F2EE7C0E9DDC"}},ibc078eaf11288a47609fd894070ca8a1bfcebd9e08745ea7030f95d7adee2e22ca:{currencyCode:"EVMOS",displayName:"Evmos",denominations:[{name:"EVMOS",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"ibc/078EAF11288A47609FD894070CA8A1BFCEBD9E08745EA7030F95D7ADEE2E22CA"}},ibc3e35008738ac049c9c1a1e37f785e947a8daa9811b3ea3b25580664294056151:{currencyCode:"AXL",displayName:"Axelar",denominations:[{name:"AXL",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/3E35008738AC049C9C1A1E37F785E947A8DAA9811B3EA3B25580664294056151"}},ibc81bd95b0890b8d0130755e8338cf4aa48c7cbbd149c1d66ec9f9b62afae5c4f3:{currencyCode:"SEI",displayName:"Sei Network",denominations:[{name:"SEI",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/81BD95B0890B8D0130755E8338CF4AA48C7CBBD149C1D66EC9F9B62AFAE5C4F3"}},ibc12b178a885fc6891e0e09e1fb013973c5632b7093ce52d8f33b32e76e3bb6ea1:{currencyCode:"KAVA",displayName:"Kava",denominations:[{name:"KAVA",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/12B178A885FC6891E0E09E1FB013973C5632B7093CE52D8F33B32E76E3BB6EA1"}},ibc6c00e4aa0cc7618370f81f7378638ae6c48eff8c9203ce1c2357012b440ebdb7:{currencyCode:"USDT",displayName:"USDT from Kava",denominations:[{name:"USDT",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/6C00E4AA0CC7618370F81F7378638AE6C48EFF8C9203CE1C2357012B440EBDB7"}},ibcf8ca5236869f819bc006eef088e67889a26e4140339757878f0f4e229cdda858:{currencyCode:"DYDX",displayName:"dYdX",denominations:[{name:"DYDX",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"ibc/F8CA5236869F819BC006EEF088E67889A26E4140339757878F0F4E229CDDA858"}}},W={bech32AddressPrefix:"core",bip39Path:"m/44'/990'/0'/0/0",chainInfo:{chainName:"coreum",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/coreum/chain.json"},defaultChainId:"coreum-mainnet-1",nativeDenom:"ucore",pluginMnemonicKeyName:"coreumMnemonic",rpcNode:{url:"https://full-node.mainnet-1.coreum.dev:26657",headers:{}},archiveNodes:[{blockTimeRangeSeconds:{start:0},endpoint:{url:"https://full-node.mainnet-1.coreum.dev:26657",headers:{}}}]},K={currencyCode:"COREUM",displayName:"Coreum",pluginId:"coreum",walletType:"wallet:coreum",addressExplorer:"https://explorer.coreum.com/coreum/accounts/%s",transactionExplorer:"https://explorer.coreum.com/coreum/transactions/%s",denominations:[{name:"COREUM",multiplier:"1000000",symbol:""}],memoOptions:[{type:"text",maxLength:250}],metaTokens:(0,t.yQ)(ve)},v=(0,E.T)({builtinTokens:ve,currencyInfo:K,asInfoPayload:z.j1,networkInfo:W,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Coreum requires BigInt support")},getInnerPlugin(){return ye(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}});var n=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const a={bech32AddressPrefix:"cosmos",bip39Path:"m/44'/118'/0'/0/0",chainInfo:{chainName:"cosmoshub",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/chain.json"},defaultChainId:"cosmoshub-4",nativeDenom:"uatom",pluginMnemonicKeyName:"cosmoshubMnemonic",rpcNode:{url:"https://cosmos-rpc.publicnode.com:443",headers:{}}},s={currencyCode:"ATOM",displayName:"Cosmos Hub",pluginId:"cosmoshub",walletType:"wallet:cosmoshub",addressExplorer:"https://www.mintscan.io/cosmos/address/%s",transactionExplorer:"https://www.mintscan.io/cosmos/tx/%s",denominations:[{name:"ATOM",multiplier:"1000000",symbol:""}],memoOptions:[{type:"text",maxLength:250}]},c=(0,E.T)({currencyInfo:s,asInfoPayload:z.j1,networkInfo:a,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Cosmos Hub requires BigInt support")},getInnerPlugin(){return n(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}}),d=[{displayName:"Contract Address",key:"contractAddress",type:"string"}];var C=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const I={uion:{currencyCode:"ION",displayName:"Ion",denominations:[{name:"ION",multiplier:"1000000"}],networkLocation:{contractAddress:"uion"}}},h={bech32AddressPrefix:"osmo",bip39Path:"m/44'/118'/0'/0/0",chainInfo:{chainName:"osmosis",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/chain.json"},defaultChainId:"osmosis-1",nativeDenom:"uosmo",pluginMnemonicKeyName:"osmosisMnemonic",rpcNode:{url:"https://rpc.osmosis.zone:443",headers:{}},archiveNodes:[{blockTimeRangeSeconds:{start:0},endpoint:{url:"https://osmosisarchive-rpc.quickapi.com:443",headers:{}}}]},r={currencyCode:"OSMO",customTokenTemplate:d,displayName:"Osmosis",pluginId:"osmosis",walletType:"wallet:osmosis",addressExplorer:"https://www.mintscan.io/osmosis/address/%s",transactionExplorer:"https://www.mintscan.io/osmosis/tx/%s",denominations:[{name:"OSMO",multiplier:"1000000",symbol:""}],memoOptions:[{type:"text",maxLength:250}],metaTokens:(0,t.yQ)(I)},b=(0,E.T)({currencyInfo:r,asInfoPayload:z.j1,networkInfo:h,builtinTokens:I,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Osmosis requires BigInt support")},getInnerPlugin(){return C(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}});var V=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const _={bech32AddressPrefix:"thor",bip39Path:"m/44'/931'/0'/0/0",chainInfo:{chainName:"thorchain",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/thorchain/chain.json"},defaultChainId:"thorchain-mainnet-v1",chainIdUpdateUrl:"https://rpc.ninerealms.com/status",transactionFeeConnectionInfo:{url:"https://thornode.ninerealms.com/thorchain/network",headers:{"x-client-id":"{{ninerealmsClientId}}"}},midgardConnctionInfo:{url:"https://midgard.ninerealms.com",headers:{"x-client-id":"{{ninerealmsClientId}}"}},nativeDenom:"rune",pluginMnemonicKeyName:"thorchainruneMnemonic",rpcNode:{url:"https://rpc.ninerealms.com",headers:{"x-client-id":"{{ninerealmsClientId}}"}},archiveNodes:[{blockTimeRangeSeconds:{start:1647912564649},endpoint:{url:"https://rpc-v1.ninerealms.com",headers:{"x-client-id":"{{ninerealmsClientId}}"}}}]},ee={currencyCode:"RUNE",displayName:"THORChain",pluginId:"thorchainrune",walletType:"wallet:thorchainrune",addressExplorer:"https://viewblock.io/thorchain/address/%s",transactionExplorer:"https://viewblock.io/thorchain/tx/%s",denominations:[{name:"RUNE",multiplier:"100000000",symbol:"\u16B1"}],memoOptions:[{type:"text",maxLength:250}]},ae=(0,E.T)({currencyInfo:ee,asInfoPayload:z.j1,networkInfo:_,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Thorchain requires BigInt support")},getInnerPlugin(){return V(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}}),fe={axelar:ie,coreum:v,cosmoshub:c,osmosis:b,thorchainrune:ae};var ge=g(23707);const Re=[{type:"text",memoName:"memo",maxLength:256}],Ce=[{displayName:"Contract Address",key:"contractAddress",type:"string"}];var xe=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const rt={chainId:"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906",eosActivationServers:["https://eospay.edge.app"],eosHyperionNodes:["https://api.eossweden.org"],eosNodes:["https://api.eoseoul.io","https://api.eoslaomao.com","https://mainnet.eoscannon.io","https://api.eos.wiki","https://mainnet.eosio.sg","https://eos.newdex.one","https://api.bitmars.one","https://node1.zbeos.com","https://api.eosn.io"],eosDfuseServers:["https://eos.dfuse.eosnation.io"],powerUpServers:["https://api.eospowerup.io/freePowerup"],uriProtocol:"eos"},ke={currencyCode:"EOS",customTokenTemplate:Ce,displayName:"EOS",memoOptions:Re,pluginId:"eos",unsafeBroadcastTx:!0,walletType:"wallet:eos",addressExplorer:"https://bloks.io/account/%s",transactionExplorer:"https://bloks.io/transaction/%s",denominations:[{name:"EOS",multiplier:"10000",symbol:"E"}]},Oe=(0,E.T)({currencyInfo:ke,asInfoPayload:ge.eA,networkInfo:rt,otherMethodNames:ge.Nt,getInnerPlugin(){return xe(this,null,function*(){return yield Promise.all([g.e(597),g.e(6729),g.e(7458),g.e(8502),g.e(8330),g.e(3566)]).then(g.bind(g,72722))})}});var it=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const We={chainId:"4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11",eosActivationServers:["https://eospay.edge.app","https://account.teloscrew.com"],eosHyperionNodes:["https://telos.caleos.io"],eosNodes:["https://telos.caleos.io"],powerUpServers:[],eosDfuseServers:[],uriProtocol:"telos"},Ze={currencyCode:"TLOS",customTokenTemplate:Ce,displayName:"Telos",memoOptions:Re,pluginId:"telos",walletType:"wallet:telos",addressExplorer:"https://telos.bloks.io/account/%s",transactionExplorer:"https://telos.bloks.io/transaction/%s",denominations:[{name:"TLOS",multiplier:"10000",symbol:"T"}]},st=(0,E.T)({currencyInfo:Ze,asInfoPayload:ge.eA,networkInfo:We,otherMethodNames:ge.Nt,getInnerPlugin(){return it(this,null,function*(){return yield Promise.all([g.e(597),g.e(6729),g.e(7458),g.e(8502),g.e(8330),g.e(3566)]).then(g.bind(g,72722))})}});var Ke=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Me={chainId:"1064487b3cd1a897ce03ae5b6a865651747e2e152090f99c1d19d44e01aea5a4",eosActivationServers:[],eosDfuseServers:[],eosHyperionNodes:["https://api.waxsweden.org"],eosNodes:["https://api.waxsweden.org"],powerUpServers:[],uriProtocol:"wax"},ct={currencyCode:"WAX",customTokenTemplate:Ce,displayName:"Wax",memoOptions:Re,pluginId:"wax",walletType:"wallet:wax",addressExplorer:"https://wax.bloks.io/account/%s",transactionExplorer:"https://wax.bloks.io/transaction/%s",denominations:[{name:"WAX",multiplier:"100000000",symbol:"W"}]},Ve=(0,E.T)({currencyInfo:ct,asInfoPayload:ge.eA,networkInfo:Me,otherMethodNames:ge.Nt,getInnerPlugin(){return Ke(this,null,function*(){return yield Promise.all([g.e(597),g.e(6729),g.e(7458),g.e(8502),g.e(8330),g.e(3566)]).then(g.bind(g,72722))})}}),Le={eos:Oe,telos:st,wax:Ve};var ht=g(38960),y=g(19027),o=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const i={filfoxUrl:"https://calibration.filfox.info/api/v1",filscanUrl:"https://api-cali.filscan.io/api/v1",hdPathCoinType:461,networkPrefix:"Testnet",rpcNode:{networkName:"Calibration",url:"https://api.calibration.node.glif.io/"}},x={currencyCode:"tFIL",displayName:"Filecoin Testnet (Calibration)",pluginId:"calibration",requiredConfirmations:900,unsafeBroadcastTx:!0,walletType:"wallet:calibration",addressExplorer:"https://calibration.filfox.info/en/address/%s",transactionExplorer:"https://calibration.filfox.info/en/message/%s",denominations:[{name:"tFIL",multiplier:"1000000000000000000",symbol:"\u2A0E"},{name:"milliFIL",multiplier:"1000000000000000",symbol:"m\u2A0E"},{name:"microFIL",multiplier:"1000000000000",symbol:"\xB5\u2A0E"},{name:"nanoFIL",multiplier:"1000000000",symbol:"n\u2A0E"},{name:"picoFIL",multiplier:"1000000",symbol:"p\u2A0E"},{name:"femtoFIL",multiplier:"1000",symbol:"f\u2A0E"},{name:"attoFIL",multiplier:"1",symbol:"a\u2A0E"}]},D=(0,E.T)({currencyInfo:x,asInfoPayload:y.Si,networkInfo:i,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Filecoin requires BigInt support")},getInnerPlugin(){return o(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(2505),g.e(537),g.e(5277),g.e(7141),g.e(1091),g.e(852),g.e(1700),g.e(8330),g.e(5650)]).then(g.bind(g,26708))})}});var X=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Y={filfoxUrl:"https://filfox.info/api/v1",filscanUrl:"https://api-v2.filscan.io/api/v1",hdPathCoinType:461,networkPrefix:"Mainnet",rpcNode:{networkName:"Mainnet",url:"https://api.node.glif.io/"}},L={currencyCode:"FIL",displayName:"Filecoin",pluginId:"filecoin",requiredConfirmations:900,walletType:"wallet:filecoin",addressExplorer:"https://filfox.info/en/address/%s",transactionExplorer:"https://filfox.info/en/message/%s",customTokenTemplate:[{displayName:"Contract Address",key:"contractAddress",type:"string"}],denominations:[{name:"FIL",multiplier:"1000000000000000000",symbol:"\u2A0E"},{name:"milliFIL",multiplier:"1000000000000000",symbol:"m\u2A0E"},{name:"microFIL",multiplier:"1000000000000",symbol:"\xB5\u2A0E"},{name:"nanoFIL",multiplier:"1000000000",symbol:"n\u2A0E"},{name:"picoFIL",multiplier:"1000000",symbol:"p\u2A0E"},{name:"femtoFIL",multiplier:"1000",symbol:"f\u2A0E"},{name:"attoFIL",multiplier:"1",symbol:"a\u2A0E"}]},$=(0,E.T)({currencyInfo:L,asInfoPayload:y.Si,networkInfo:Y,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Filecoin requires BigInt support")},getInnerPlugin(){return X(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(2505),g.e(537),g.e(5277),g.e(7141),g.e(1091),g.e(852),g.e(1700),g.e(8330),g.e(5650)]).then(g.bind(g,26708))})}});var se=g(27980),ue=g(54567),Ae=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const me={apiUrls:["https://fio.eosdac.io/v1/","https://api.fio.alohaeos.com/v1/","https://fio.eosargentina.io/v1/","https://api.fio.currencyhub.io/v1/","https://api.fio.services/v1/","https://fio.eosphere.io/v1/","https://fio.blockpane.com/v1/"],historyNodeUrls:["https://fio.eosphere.io/v1/","https://api.fio.detroitledger.tech/v1/","https://api.fiosweden.org/v1/","https://fio.blockpane.com/v1/"],fioRegApiUrl:"https://reg.fioprotocol.io/public-api/",fioDomainRegUrl:"https://reg.fioprotocol.io/domain/",fioAddressRegUrl:"https://reg.fioprotocol.io/address/",fioStakingApyUrl:"https://fioprotocol.io/staking",defaultRef:"edge",fallbackRef:"edge",freeAddressRef:"edgefree",errorCodes:se.HE,chainId:"21dcae42c0182200e93f954a074011f9048a7624c6fe81d3c9541a614a88bd1c"},Ue={currencyCode:"FIO",displayName:"FIO",pluginId:"fio",unsafeSyncNetwork:!0,walletType:"wallet:fio",addressExplorer:"https://fio.bloks.io/key/%s",transactionExplorer:"https://fio.bloks.io/transaction/%s",denominations:[{name:"FIO",multiplier:"1000000000",symbol:"\u1D6E"}],memoOptions:[],defaultSettings:{errorCodes:me.errorCodes,defaultRef:me.defaultRef,fallbackRef:me.fallbackRef,fioAddressRegUrl:me.fioAddressRegUrl,freeAddressRef:me.freeAddressRef}},ot=(0,E.T)({currencyInfo:Ue,asInfoPayload:ue.j5,networkInfo:me,otherMethodNames:ue.Mt,getInnerPlugin(){return Ae(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(537),g.e(5277),g.e(8570),g.e(7141),g.e(7458),g.e(7190),g.e(8330),g.e(9415)]).then(g.bind(g,97734))})}});var Ne=g(59571),Je=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const lt={mirrorNodes:["https://mainnet.mirrornode.hedera.com:443"],client:"mainnet",checksumNetworkID:"0",maxFee:1e8},Ge={currencyCode:"HBAR",displayName:"Hedera",pluginId:"hedera",walletType:"wallet:hedera",addressExplorer:"https://hashscan.io/mainnet/account/%s",transactionExplorer:"https://hashscan.io/mainnet/transaction/%s",denominations:[{name:"HBAR",multiplier:"100000000",symbol:"\u210F"},{name:"tHBAR",multiplier:"1",symbol:"t\u210F"}],memoOptions:[{type:"text",memoName:"memo",maxLength:100}]},De=(0,E.T)({currencyInfo:Ge,asInfoPayload:Ne.az,networkInfo:lt,getInnerPlugin(){return Je(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(2505),g.e(8947),g.e(8570),g.e(4861),g.e(346),g.e(6946),g.e(4864),g.e(8330),g.e(5552)]).then(g.bind(g,31827))})}});var yt=g(62071),Ye=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Qe={rpcNode:{networkName:"mainnet",defaultHost:"lightd1.pirate.black",defaultPort:443},defaultNetworkFee:"10000",transactionQueryLimit:999},at={currencyCode:"ARRR",displayName:"Pirate Chain",pluginId:"piratechain",requiredConfirmations:10,unsafeBroadcastTx:!0,unsafeSyncNetwork:!0,walletType:"wallet:piratechain",addressExplorer:"",transactionExplorer:"https://explorer.pirate.black/tx/%s",denominations:[{name:"ARRR",multiplier:"100000000",symbol:"P"}],memoOptions:[{type:"text",maxLength:512}]},qe=(0,E.T)({currencyInfo:at,asInfoPayload:yt.Tv,networkInfo:Qe,getInnerPlugin(){return Ye(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(8330),g.e(9649)]).then(g.bind(g,99649))})}});var He=g(51097),ft=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const ze={1:{currencyCode:"LLM",displayName:"Liberland Merit",denominations:[{name:"LLM",multiplier:"1000000000000"}],networkLocation:{contractAddress:"1"}}},_e={rpcNodes:["wss://mainnet.liberland.org/","wss://liberland-rpc.dwellir.com/"],ss58Format:42,subscanBaseUrl:void 0,subscanQueryLimit:100,partialFeeOffsetMultiplier:"2",lengthFeePerByte:"76800000",liberlandScanUrl:"https://archive.mainnet.liberland.org/"},mt={currencyCode:"LLD",displayName:"Liberland",pluginId:"liberland",walletType:"wallet:liberland",addressExplorer:"https://chainscan.mainnet.liberland.org/account/%s",transactionExplorer:"https://chainscan.mainnet.liberland.org/%s",denominations:[{name:"LLD",multiplier:"1000000000000",symbol:""}],metaTokens:(0,t.yQ)(ze)},et=(0,E.T)({builtinTokens:ze,currencyInfo:mt,asInfoPayload:He.v,networkInfo:_e,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Liberland requires bigint support")},getInnerPlugin(){return ft(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(780),g.e(6845),g.e(8330),g.e(7057)]).then(g.bind(g,74551))})}});var Xe=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const dt={1:{currencyCode:"LKN",displayName:"Liberland Merit Testnet",denominations:[{name:"LKN",multiplier:"1000000000000"}],networkLocation:{contractAddress:"1"}}},tt={rpcNodes:["wss://testchain.liberland.org/"],ss58Format:42,subscanBaseUrl:void 0,subscanQueryLimit:100,partialFeeOffsetMultiplier:"2",lengthFeePerByte:"76800000",liberlandScanUrl:"https://archive.testchain.liberland.org/graphql/"},nt={currencyCode:"LDN",displayName:"Liberland Testnet",pluginId:"liberlandtestnet",walletType:"wallet:liberlandtestnet",addressExplorer:"",transactionExplorer:"",denominations:[{name:"LDN",multiplier:"1000000000000",symbol:""}],metaTokens:(0,t.yQ)(dt)},ut=(0,E.T)({builtinTokens:dt,currencyInfo:nt,asInfoPayload:He.v,networkInfo:tt,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Liberland Testnet requires bigint support")},getInnerPlugin(){return Xe(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(780),g.e(6845),g.e(8330),g.e(7057)]).then(g.bind(g,74551))})}});var $e=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const je={rpcNodes:["wss://rpc.polkadot.io"],ss58Format:0,subscanBaseUrl:"https://polkadot.api.subscan.io/api",subscanQueryLimit:100,partialFeeOffsetMultiplier:"1",lengthFeePerByte:"1000000",liberlandScanUrl:void 0},vt={currencyCode:"DOT",displayName:"Polkadot",pluginId:"polkadot",walletType:"wallet:polkadot",addressExplorer:"https://polkadot.subscan.io/account/%s",transactionExplorer:"https://polkadot.subscan.io/extrinsic/%s",denominations:[{name:"DOT",multiplier:"10000000000",symbol:""}],memoOptions:[]},pt=(0,E.T)({currencyInfo:vt,asInfoPayload:He.v,networkInfo:je,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Polkadot requires bigint support")},getInnerPlugin(){return $e(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(780),g.e(6845),g.e(8330),g.e(7057)]).then(g.bind(g,74551))})}});var Ct=g(20158),At=g(49841),Mt=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const gt={DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263:{currencyCode:"BONK",displayName:"Bonk",denominations:[{name:"BONK",multiplier:"100000"}],networkLocation:{contractAddress:"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"}},kshrEkxuc7zPAvLxvabxoERKxK6BfariPcjBoiHvM7B:{currencyCode:"GMT",displayName:"STEPN",denominations:[{name:"GMT",multiplier:"1000000000"}],networkLocation:{contractAddress:"kshrEkxuc7zPAvLxvabxoERKxK6BfariPcjBoiHvM7B"}},CWE8jPTUYhdCTZYWPTe1o5DFqfdjzWKc9WKz6rSjQUdG:{currencyCode:"LINK",displayName:"Wrapped Chainlink",denominations:[{name:"LINK",multiplier:"1000000"}],networkLocation:{contractAddress:"CWE8jPTUYhdCTZYWPTe1o5DFqfdjzWKc9WKz6rSjQUdG"}},HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3:{currencyCode:"PYTH",displayName:"Pyth Network",denominations:[{name:"PYTH",multiplier:"1000000"}],networkLocation:{contractAddress:"HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3"}},rndrizKT3MK1iimdxRdWabcF7Zg7AR5T4nud4EkHBof:{currencyCode:"RNDR",displayName:"Render Token",denominations:[{name:"RNDR",multiplier:"100000000"}],networkLocation:{contractAddress:"rndrizKT3MK1iimdxRdWabcF7Zg7AR5T4nud4EkHBof"}},"4geJykZY92d2mZk8zgWDrKoz4BDcSjp7DJdNvH8GoH5f":{currencyCode:"BOBBY",displayName:"Kennedy Memecoin",denominations:[{name:"BOBBY",multiplier:"100000000"}],networkLocation:{contractAddress:"4geJykZY92d2mZk8zgWDrKoz4BDcSjp7DJdNvH8GoH5f"}},EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:{currencyCode:"USDC",displayName:"USD Coin",denominations:[{name:"USDC",multiplier:"1000000"}],networkLocation:{contractAddress:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}},Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB:{currencyCode:"USDT",displayName:"Tether",denominations:[{name:"USDT",multiplier:"1000000"}],networkLocation:{contractAddress:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"}},"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs":{currencyCode:"WETH",displayName:"Wrapped Ether (Wormhole)",denominations:[{name:"WETH",multiplier:"100000000"}],networkLocation:{contractAddress:"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs"}},"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh":{currencyCode:"WBTC",displayName:"Wrapped BTC (Wormhole)",denominations:[{name:"WBTC",multiplier:"100000000"}],networkLocation:{contractAddress:"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh"}},So11111111111111111111111111111111111111112:{currencyCode:"WSOL",displayName:"Wrapped SOL",denominations:[{name:"WSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"So11111111111111111111111111111111111111112"}},mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So:{currencyCode:"MSOL",displayName:"Marinade staked SOL",denominations:[{name:"MSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So"}},DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7:{currencyCode:"DRIFT",displayName:"DRIFT",denominations:[{name:"DRIFT",multiplier:"1000000"}],networkLocation:{contractAddress:"DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7"}},JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN:{currencyCode:"JUP",displayName:"Jupiter",denominations:[{name:"JUP",multiplier:"1000000"}],networkLocation:{contractAddress:"JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"}},jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL:{currencyCode:"JTO",displayName:"JITO",denominations:[{name:"JTO",multiplier:"1000000000"}],networkLocation:{contractAddress:"jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL"}},bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1:{currencyCode:"BSOL",displayName:"BlazeStake",denominations:[{name:"BSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1"}},BKipkearSqAUdNKa1WDstvcMjoPsSKBuNyvKDQDDu9WE:{currencyCode:"HAWK",displayName:"Hawksight",denominations:[{name:"HAWK",multiplier:"1000000"}],networkLocation:{contractAddress:"BKipkearSqAUdNKa1WDstvcMjoPsSKBuNyvKDQDDu9WE"}},J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn:{currencyCode:"JITOSOL",displayName:"Jito Staked SOL",denominations:[{name:"JITOSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn"}},"7Q2afV64in6N6SeZsAAB81TJzwDoD6zpqmHkzi9Dcavn":{currencyCode:"JSOL",displayName:"JPool Staked SOL",denominations:[{name:"JSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"7Q2afV64in6N6SeZsAAB81TJzwDoD6zpqmHkzi9Dcavn"}},MangoCzJ36AjZyKwVj3VnYU4GTonjfVEnJmvvWaxLac:{currencyCode:"MNGO",displayName:"Mango",denominations:[{name:"MNGO",multiplier:"1000000"}],networkLocation:{contractAddress:"MangoCzJ36AjZyKwVj3VnYU4GTonjfVEnJmvvWaxLac"}},"9TE7ebz1dsFo1uQ2T4oYAKSm39Y6fWuHrd6Uk6XaiD16":{currencyCode:"MIMO",displayName:"Million Monke",denominations:[{name:"MIMO",multiplier:"1000000000"}],networkLocation:{contractAddress:"9TE7ebz1dsFo1uQ2T4oYAKSm39Y6fWuHrd6Uk6XaiD16"}}},xt={rpcNodes:["https://api.mainnet-beta.solana.com","https://solana-mainnet.rpc.grove.city/v1/{{poktPortalApiKey}}"],rpcNodesArchival:["https://api.mainnet-beta.solana.com","https://solana-mainnet.g.alchemy.com/v2/{{alchemyApiKey}}"],stakedConnectionRpcNodes:["https://staked.helius-rpc.com?api-key={{heliusApiKey}}"],commitment:"confirmed",txQueryLimit:1e3,derivationPath:"m/44'/501'/0'/0'",memoPublicKey:"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr",tokenPublicKey:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",associatedTokenPublicKey:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},Bt={currencyCode:"SOL",displayName:"Solana",pluginId:"solana",walletType:"wallet:solana",addressExplorer:"https://explorer.solana.com/address/%s",transactionExplorer:"https://explorer.solana.com/tx/%s",customFeeTemplate:[{displayName:"Micro Lamports",key:"microLamports",type:"string"}],customTokenTemplate:[{displayName:"Token Address",key:"contractAddress",type:"string"}],denominations:[{name:"SOL",multiplier:"1000000000",symbol:"\u25CE"}],memoOptions:[{type:"text",memoName:"memo",maxLength:32}],defaultSettings:{customFeeSettings:["microLamports"]},metaTokens:(0,t.yQ)(gt)},Tt=(0,E.T)({currencyInfo:Bt,asInfoPayload:At.FM,createTokenId:t.fo,networkInfo:xt,builtinTokens:gt,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Solana requires bigint support")},getInnerPlugin(){return Mt(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(3507),g.e(8947),g.e(346),g.e(780),g.e(4649),g.e(8330),g.e(6227)]).then(g.bind(g,17792))})}});var wt=g(96931),Lt=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Et={baseReserve:"10000000",stellarServers:["https://horizon.stellar.org"]},Pt={currencyCode:"XLM",displayName:"Stellar",pluginId:"stellar",walletType:"wallet:stellar",addressExplorer:"https://stellarchain.io/address/%s",transactionExplorer:"https://stellarchain.io/tx/%s",denominations:[{name:"XLM",multiplier:"10000000",symbol:"*"}],memoOptions:[{type:"text",maxLength:28},{type:"number",maxValue:"18446744073709551615"},{type:"hex",maxBytes:32,minBytes:32}],multipleMemos:!0},Ft=(0,E.T)({currencyInfo:Pt,asInfoPayload:wt.Ed,networkInfo:Et,getInnerPlugin(){return Lt(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(537),g.e(8947),g.e(8570),g.e(6976),g.e(7798),g.e(570),g.e(8330),g.e(7182)]).then(g.bind(g,26043))})}});var St=g(99847),It=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Dt={tezosRpcNodes:["https://prod.tcinfra.net/rpc/mainnet/","https://mainnet.ecadinfra.com/"],tezosApiServers:["https://api.tzkt.io"],fee:{transaction:"1350",reveal:"1300",burn:"257000"},limit:{gas:"10600",storage:"277"}},bt={currencyCode:"XTZ",displayName:"Tezos",pluginId:"tezos",walletType:"wallet:tezos",addressExplorer:"https://tzstats.com/%s",transactionExplorer:"https://tzstats.com/%s",denominations:[{name:"XTZ",multiplier:"1000000",symbol:"t"}],memoOptions:[]},Nt=(0,E.T)({currencyInfo:bt,asInfoPayload:St.kf,networkInfo:Dt,getInnerPlugin(){return It(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(5982),g.e(8330),g.e(8518)]).then(g.bind(g,65202))})}});var kt=g(88795),Ot=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Te={defaultWalletContract:"v5r1",minimumAddressBalance:"50000000",pluginMnemonicKeyName:"tonMnemonic",tonCenterUrl:"https://toncenter.com/api/v2/jsonRPC",tonOrbsServers:["https://ton.access.orbs.network/4410c0ff5Bd3F8B62C092Ab4D238bEE463E64410/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/4411c0ff5Bd3F8B62C092Ab4D238bEE463E64411/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/4412c0ff5Bd3F8B62C092Ab4D238bEE463E64412/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/55013c0ff5Bd3F8B62C092Ab4D238bEE463E5501/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/55023c0ff5Bd3F8B62C092Ab4D238bEE463E5502/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/mainnet/toncenter-api-v2/jsonRPC"]},Pe={currencyCode:"TON",displayName:"Toncoin",pluginId:"ton",walletType:"wallet:ton",addressExplorer:"https://tonscan.org/address/%s",transactionExplorer:"https://tonscan.org/tx/%s",denominations:[{name:"TON",multiplier:"1000000000",symbol:""}],memoOptions:[{type:"text",memoName:"memo",maxLength:127}]},oe=(0,E.T)({currencyInfo:Pe,asInfoPayload:kt.Wo,networkInfo:Te,checkEnvironment(){if(g.g.BigInt==null)throw new Error("TON requires BigInt support")},getInnerPlugin(){return Ot(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(2505),g.e(8947),g.e(2851),g.e(8330),g.e(4458)]).then(g.bind(g,14531))})}});var Fe=g(35011),be=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Be={TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn:{currencyCode:"USDD",displayName:"Decentralized USD",denominations:[{name:"USDD",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn"}},TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t:{currencyCode:"USDT",displayName:"Tether",denominations:[{name:"USDT",multiplier:"1000000"}],networkLocation:{contractAddress:"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}},TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8:{currencyCode:"USDC",displayName:"USD Coin",denominations:[{name:"USDC",multiplier:"1000000"}],networkLocation:{contractAddress:"TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8"}},TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR:{currencyCode:"WTRX",displayName:"Wrapped TRX",denominations:[{name:"WTRX",multiplier:"1000000"}],networkLocation:{contractAddress:"TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR"}},TUpMhErZL2fhh4sVNULAbNKLokS4GjC1F4:{currencyCode:"TUSD",displayName:"TrueUSD",denominations:[{name:"TUSD",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TUpMhErZL2fhh4sVNULAbNKLokS4GjC1F4"}},TAFjULxiVgT4qWk6UZwjqwZXTSaGaqnVp4:{currencyCode:"BTT",displayName:"BitTorrent",denominations:[{name:"BTT",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TAFjULxiVgT4qWk6UZwjqwZXTSaGaqnVp4"}},TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9:{currencyCode:"JST",displayName:"JUST",denominations:[{name:"JST",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9"}},TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7:{currencyCode:"WIN",displayName:"WINkLink",denominations:[{name:"WIN",multiplier:"1000000"}],networkLocation:{contractAddress:"TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7"}},TFczxzPhnThNSqr5by8tvxsdCFRRz6cPNq:{currencyCode:"NFT",displayName:"APENFT",denominations:[{name:"NFT",multiplier:"1000000"}],networkLocation:{contractAddress:"TFczxzPhnThNSqr5by8tvxsdCFRRz6cPNq"}},TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S:{currencyCode:"SUN",displayName:"SUN",denominations:[{name:"SUN",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S"}},TMwFHYXLJaRUPeW6421aqXL4ZEzPRFGkGT:{currencyCode:"USDJ",displayName:"JUST Stablecoin",denominations:[{name:"USDJ",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TMwFHYXLJaRUPeW6421aqXL4ZEzPRFGkGT"}}},Se={tronApiServers:["https://api.trongrid.io"],tronNodeServers:["https://rpc.ankr.com/http/tron","https://rpc.coinsdo.net/trx-api","http://3.225.171.164:8090","http://52.53.189.99:8090","http://18.196.99.16:8090","http://34.253.187.192:8090","http://54.252.224.209:8090","http://3.218.137.187:8090","http://34.237.210.82:8090"],defaultDerivationPath:"m/44'/195'/0'/0/0",defaultFeeLimit:1e9,defaultFreezeDurationInDays:3,trc20BalCheckerContract:"TN8RtFXeQZyFHGmH1iiSRm5r4CRz1yWkCf"},ce={currencyCode:"TRX",displayName:"Tron",pluginId:"tron",walletType:"wallet:tron",addressExplorer:"https://tronscan.org/#/address/%s",transactionExplorer:"https://tronscan.org/#/transaction/%s",customTokenTemplate:[{displayName:"Contract Address",key:"contractAddress",type:"string"}],denominations:[{name:"TRX",multiplier:"1000000",symbol:"T"}],memoOptions:[{type:"text",memoName:"note"}],metaTokens:(0,t.yQ)(Be)},Z=(0,E.T)({builtinTokens:Be,currencyInfo:ce,asInfoPayload:Fe.OY,networkInfo:Se,getInnerPlugin(){return be(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(537),g.e(5277),g.e(1594),g.e(7141),g.e(4841),g.e(4861),g.e(1091),g.e(6950),g.e(8330),g.e(9722)]).then(g.bind(g,23657))})}});var le=g(175),Wt=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Gt={rpcNode:{networkName:"mainnet",defaultHost:"zec.rocks",defaultPort:443},defaultNetworkFee:"10000"},$t={currencyCode:"ZEC",displayName:"Zcash",pluginId:"zcash",requiredConfirmations:10,unsafeBroadcastTx:!0,unsafeSyncNetwork:!0,walletType:"wallet:zcash",addressExplorer:"https://blockchair.com/zcash/address/%s?from=edgeapp",transactionExplorer:"https://blockchair.com/zcash/transaction/%s?from=edgeapp",denominations:[{name:"ZEC",multiplier:"100000000",symbol:"Z"}],memoOptions:[{type:"text",maxLength:512}]},jt=(0,E.T)({currencyInfo:$t,asInfoPayload:le.Qz,networkInfo:Gt,getInnerPlugin(){return Wt(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(8330),g.e(6478)]).then(g.bind(g,36823))})}});var zt=Object.defineProperty,Vt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,Ht=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Kt=(he,pe,Q)=>pe in he?zt(he,pe,{enumerable:!0,configurable:!0,writable:!0,value:Q}):he[pe]=Q,Rt=(he,pe)=>{for(var Q in pe||(pe={}))Zt.call(pe,Q)&&Kt(he,Q,pe[Q]);if(Ht)for(var Q of Ht(pe))Yt.call(pe,Q)&&Kt(he,Q,pe[Q]);return he},Qt=(he,pe)=>Vt(he,Xt(pe));const qt=Qt(Rt(Rt(Rt({},Le),ht.S),fe),{algorand:A,binance:O,cardano:P,cardanotestnet:q,filecoin:$,calibration:D,fio:ot,hedera:De,liberland:et,liberlandtestnet:ut,piratechain:qe,polkadot:pt,ripple:Ct.fq,solana:Tt,stellar:Ft,tezos:Nt,ton:oe,tron:Z,zcash:jt});typeof window<"u"&&typeof window.addEdgeCorePlugins=="function"&&window.addEdgeCorePlugins(qt);var en=null})()})();
|
|
12
|
+
(`+S+": "+M+")",A.name="ChunkLoadError",A.type=S,A.request=M,f[1](A)}};g.l(l,m,"chunk-"+e,e)}};var E=function(e,u){var f=u[0],p=u[1],l=u[2],A,m,F=0;if(f.some(function(M){return w[M]!==0})){for(A in p)g.o(p,A)&&(g.m[A]=p[A]);if(l)var S=l(g)}for(e&&e(u);F<f.length;F++)m=f[F],g.o(w,m)&&w[m]&&w[m][0](),w[m]=0},t=self.webpackChunkedge_currency_accountbased=self.webpackChunkedge_currency_accountbased||[];t.forEach(E.bind(null,0)),t.push=E.bind(null,t.push.bind(t))}();var _t={};(function(){"use strict";var w=g(7452),E=g(23018),t=g(14483),e=g(37085),u=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const f={31566704:{currencyCode:"USDC",displayName:"USD Coin",denominations:[{name:"USDC",multiplier:"1000000"}],networkLocation:{contractAddress:"31566704"}}},p={algodServers:["https://mainnet-api.algonode.cloud","http://node.algoexplorerapi.io","https://xna-mainnet-api.algonode.cloud"],indexerServers:["https://mainnet-idx.algonode.cloud","https://algoindexer.algoexplorerapi.io"],genesisID:"mainnet-v1.0",genesisHash:"wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=",minimumTxFee:1e3,minimumAddressBalance:"100000"},l={currencyCode:"ALGO",displayName:"Algorand",pluginId:"algorand",walletType:"wallet:algorand",addressExplorer:"https://allo.info/account/%s",transactionExplorer:"https://allo.info/tx/%s",customFeeTemplate:[{displayName:"Fee",key:"fee",type:"string"}],customTokenTemplate:[{displayName:"Contract Address",key:"contractAddress",type:"string"}],denominations:[{name:"ALGO",multiplier:"1000000",symbol:"\u023A"}],memoOptions:[{type:"text",memoName:"note",maxLength:1e3}],defaultSettings:{customFeeSettings:["fee"]},metaTokens:(0,t.yQ)(f)},A=(0,E.T)({builtinTokens:f,currencyInfo:l,asInfoPayload:e.F8,networkInfo:p,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Algorand requires bigint support")},getInnerPlugin(){return u(this,null,function*(){return yield Promise.all([g.e(597),g.e(8947),g.e(1594),g.e(8140),g.e(8330),g.e(9647)]).then(g.bind(g,47813))})}});var m=g(68411),F=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const S={binanceApiServers:["https://dex.binance.org","https://dex-atlantic.binance.org","https://dex-asiapacific.binance.org","https://dex-european.binance.org"],beaconChainApiServers:["https://api.binance.org"]},M={currencyCode:"BNB",displayName:"BNB Beacon Chain",pluginId:"binance",walletType:"wallet:binance",addressExplorer:"https://explorer.binance.org/address/%s",transactionExplorer:"https://explorer.binance.org/tx/%s",blockExplorer:"https://explorer.binance.org/block/%s",denominations:[{name:"BNB",multiplier:"100000000",symbol:"B"}],memoOptions:[{type:"text",memoName:"memo",maxLength:128}]},O=(0,E.T)({currencyInfo:M,asInfoPayload:m.$n,networkInfo:S,getInnerPlugin(){return F(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(537),g.e(4841),g.e(6976),g.e(852),g.e(9354),g.e(8330),g.e(3355)]).then(g.bind(g,58879))})}});var U=g(43755),B=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const T={networkId:1,koiosServer:"https://api.koios.rest",blockfrostServer:"https://cardano-mainnet.blockfrost.io",maestroServer:"https://mainnet.gomaestro-api.org"},N={currencyCode:"ADA",displayName:"Cardano",pluginId:"cardano",walletType:"wallet:cardano",addressExplorer:"https://cardanoscan.io/address/%s",transactionExplorer:"https://cardanoscan.io/transaction/%s",denominations:[{name:"ADA",multiplier:"1000000"}]},P=(0,E.T)({currencyInfo:N,asInfoPayload:U.zZ,networkInfo:T,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Cardano requires bigint support")},getInnerPlugin(){return B(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6271),g.e(8330),g.e(651)]).then(g.bind(g,52250))})}});var G=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const J={networkId:0,koiosServer:"https://preprod.koios.rest",blockfrostServer:"https://cardano-preprod.blockfrost.io",maestroServer:"https://preprod.gomaestro-api.org"},j={currencyCode:"ADA",displayName:"Cardano PreProd Testnet",pluginId:"cardanotestnet",walletType:"wallet:cardanotestnet",addressExplorer:"https://preprod.cardanoscan.io/address/%s",transactionExplorer:"https://preprod.cardanoscan.io/transaction/%s",denominations:[{name:"ADA",multiplier:"1000000"}]},q=(0,E.T)({currencyInfo:j,asInfoPayload:U.zZ,networkInfo:J,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Cardano Testnet requires bigint support")},getInnerPlugin(){return G(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6271),g.e(8330),g.e(651)]).then(g.bind(g,52250))})}});var z=g(84397),R=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const H={bech32AddressPrefix:"axelar",bip39Path:"m/44'/118'/0'/0/0",chainInfo:{chainName:"axelar",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/chain.json"},defaultChainId:"axelar-dojo-1",nativeDenom:"uaxl",pluginMnemonicKeyName:"axelarMnemonic",rpcNode:{url:"https://axelar-rpc.publicnode.com:443",headers:{}},archiveNodes:[{blockTimeRangeSeconds:{start:0},endpoint:{url:"https://axelararchive-rpc.quickapi.com:443",headers:{}}}]},re={currencyCode:"AXL",displayName:"Axelar",pluginId:"axelar",walletType:"wallet:axelar",addressExplorer:"https://www.mintscan.io/axelar/address/%s",transactionExplorer:"https://www.mintscan.io/axelar/tx/%s",denominations:[{name:"AXL",multiplier:"1000000",symbol:""}],memoOptions:[{type:"text",maxLength:250}]},ie=(0,E.T)({currencyInfo:re,asInfoPayload:z.j1,networkInfo:H,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Axelar requires BigInt support")},getInnerPlugin(){return R(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}});var ye=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const ve={"usara-core1r9gc0rnxnzpq33u82f44aufgdwvyxv4wyepyck98m9v2pxua6naqr8h03z":{currencyCode:"SARA",displayName:"Pulsara",denominations:[{name:"SARA",multiplier:"1000000"}],networkLocation:{contractAddress:"usara-core1r9gc0rnxnzpq33u82f44aufgdwvyxv4wyepyck98m9v2pxua6naqr8h03z"}},ibce1e3674a0e4e1ef9c69646f9af8d9497173821826074622d831bab73ccb99a2d:{currencyCode:"USDC",displayName:"USDC from Noble",denominations:[{name:"USDC",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/E1E3674A0E4E1EF9C69646F9AF8D9497173821826074622D831BAB73CCB99A2D"}},ibc13b2c536bb057ac79d5616b8ea1b9540ec1f2170718caff6f0083c966fffed0b:{currencyCode:"OSMO",displayName:"Osmosis",denominations:[{name:"OSMO",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/13B2C536BB057AC79D5616B8EA1B9540EC1F2170718CAFF6F0083C966FFFED0B"}},ibc45c001a5ae212d09879be4627c45b64d5636086285590d5145a51e18e9d16722:{currencyCode:"ATOM",displayName:"Cosmos Hub",denominations:[{name:"ATOM",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/45C001A5AE212D09879BE4627C45B64D5636086285590D5145A51E18E9D16722"}},ibc64ada1661e3c1a4293e3bb15d5bd13012d0db3d9002c117c30d7c429a32f4d51:{currencyCode:"GRAV",displayName:"Gravity Bridge",denominations:[{name:"GRAV",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/64ADA1661E3C1A4293E3BB15D5BD13012D0DB3D9002C117C30D7C429A32F4D51"}},ibcab305490f17eccae3f2b0398a572e0efb3af394b90c3a1663da28c1f0869f624:{currencyCode:"KUJI",displayName:"Kujira",denominations:[{name:"KUJI",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/AB305490F17ECCAE3F2B0398A572E0EFB3AF394B90C3A1663DA28C1F0869F624"}},ibc6d42727c323c8af2821966c83e0708f0c17fb0b0de38ba5e4d23f2ee7c0e9ddc:{currencyCode:"BAND",displayName:"Band Protocol",denominations:[{name:"BAND",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/6D42727C323C8AF2821966C83E0708F0C17FB0B0DE38BA5E4D23F2EE7C0E9DDC"}},ibc078eaf11288a47609fd894070ca8a1bfcebd9e08745ea7030f95d7adee2e22ca:{currencyCode:"EVMOS",displayName:"Evmos",denominations:[{name:"EVMOS",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"ibc/078EAF11288A47609FD894070CA8A1BFCEBD9E08745EA7030F95D7ADEE2E22CA"}},ibc3e35008738ac049c9c1a1e37f785e947a8daa9811b3ea3b25580664294056151:{currencyCode:"AXL",displayName:"Axelar",denominations:[{name:"AXL",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/3E35008738AC049C9C1A1E37F785E947A8DAA9811B3EA3B25580664294056151"}},ibc81bd95b0890b8d0130755e8338cf4aa48c7cbbd149c1d66ec9f9b62afae5c4f3:{currencyCode:"SEI",displayName:"Sei Network",denominations:[{name:"SEI",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/81BD95B0890B8D0130755E8338CF4AA48C7CBBD149C1D66EC9F9B62AFAE5C4F3"}},ibc12b178a885fc6891e0e09e1fb013973c5632b7093ce52d8f33b32e76e3bb6ea1:{currencyCode:"KAVA",displayName:"Kava",denominations:[{name:"KAVA",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/12B178A885FC6891E0E09E1FB013973C5632B7093CE52D8F33B32E76E3BB6EA1"}},ibc6c00e4aa0cc7618370f81f7378638ae6c48eff8c9203ce1c2357012b440ebdb7:{currencyCode:"USDT",displayName:"USDT from Kava",denominations:[{name:"USDT",multiplier:"1000000"}],networkLocation:{contractAddress:"ibc/6C00E4AA0CC7618370F81F7378638AE6C48EFF8C9203CE1C2357012B440EBDB7"}},ibcf8ca5236869f819bc006eef088e67889a26e4140339757878f0f4e229cdda858:{currencyCode:"DYDX",displayName:"dYdX",denominations:[{name:"DYDX",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"ibc/F8CA5236869F819BC006EEF088E67889A26E4140339757878F0F4E229CDDA858"}}},W={bech32AddressPrefix:"core",bip39Path:"m/44'/990'/0'/0/0",chainInfo:{chainName:"coreum",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/coreum/chain.json"},defaultChainId:"coreum-mainnet-1",nativeDenom:"ucore",pluginMnemonicKeyName:"coreumMnemonic",rpcNode:{url:"https://full-node.mainnet-1.coreum.dev:26657",headers:{}},archiveNodes:[{blockTimeRangeSeconds:{start:0},endpoint:{url:"https://full-node.mainnet-1.coreum.dev:26657",headers:{}}}]},K={currencyCode:"COREUM",displayName:"Coreum",pluginId:"coreum",walletType:"wallet:coreum",addressExplorer:"https://explorer.coreum.com/coreum/accounts/%s",transactionExplorer:"https://explorer.coreum.com/coreum/transactions/%s",denominations:[{name:"COREUM",multiplier:"1000000",symbol:""}],memoOptions:[{type:"text",maxLength:250}],metaTokens:(0,t.yQ)(ve)},v=(0,E.T)({builtinTokens:ve,currencyInfo:K,asInfoPayload:z.j1,networkInfo:W,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Coreum requires BigInt support")},getInnerPlugin(){return ye(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}});var n=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const a={bech32AddressPrefix:"cosmos",bip39Path:"m/44'/118'/0'/0/0",chainInfo:{chainName:"cosmoshub",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/chain.json"},defaultChainId:"cosmoshub-4",nativeDenom:"uatom",pluginMnemonicKeyName:"cosmoshubMnemonic",rpcNode:{url:"https://cosmos-rpc.publicnode.com:443",headers:{}}},s={currencyCode:"ATOM",displayName:"Cosmos Hub",pluginId:"cosmoshub",walletType:"wallet:cosmoshub",addressExplorer:"https://www.mintscan.io/cosmos/address/%s",transactionExplorer:"https://www.mintscan.io/cosmos/tx/%s",denominations:[{name:"ATOM",multiplier:"1000000",symbol:""}],memoOptions:[{type:"text",maxLength:250}]},c=(0,E.T)({currencyInfo:s,asInfoPayload:z.j1,networkInfo:a,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Cosmos Hub requires BigInt support")},getInnerPlugin(){return n(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}}),d=[{displayName:"Contract Address",key:"contractAddress",type:"string"}];var C=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const I={uion:{currencyCode:"ION",displayName:"Ion",denominations:[{name:"ION",multiplier:"1000000"}],networkLocation:{contractAddress:"uion"}}},h={bech32AddressPrefix:"osmo",bip39Path:"m/44'/118'/0'/0/0",chainInfo:{chainName:"osmosis",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/chain.json"},defaultChainId:"osmosis-1",nativeDenom:"uosmo",pluginMnemonicKeyName:"osmosisMnemonic",rpcNode:{url:"https://rpc.osmosis.zone:443",headers:{}},archiveNodes:[{blockTimeRangeSeconds:{start:0},endpoint:{url:"https://osmosisarchive-rpc.quickapi.com:443",headers:{}}}]},r={currencyCode:"OSMO",customTokenTemplate:d,displayName:"Osmosis",pluginId:"osmosis",walletType:"wallet:osmosis",addressExplorer:"https://www.mintscan.io/osmosis/address/%s",transactionExplorer:"https://www.mintscan.io/osmosis/tx/%s",denominations:[{name:"OSMO",multiplier:"1000000",symbol:""}],memoOptions:[{type:"text",maxLength:250}],metaTokens:(0,t.yQ)(I)},b=(0,E.T)({currencyInfo:r,asInfoPayload:z.j1,networkInfo:h,builtinTokens:I,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Osmosis requires BigInt support")},getInnerPlugin(){return C(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}});var V=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const _={bech32AddressPrefix:"thor",bip39Path:"m/44'/931'/0'/0/0",chainInfo:{chainName:"thorchain",url:"https://raw.githubusercontent.com/cosmos/chain-registry/master/thorchain/chain.json"},defaultChainId:"thorchain-mainnet-v1",chainIdUpdateUrl:"https://rpc.ninerealms.com/status",transactionFeeConnectionInfo:{url:"https://thornode.ninerealms.com/thorchain/network",headers:{"x-client-id":"{{ninerealmsClientId}}"}},midgardConnctionInfo:{url:"https://midgard.ninerealms.com",headers:{"x-client-id":"{{ninerealmsClientId}}"}},nativeDenom:"rune",pluginMnemonicKeyName:"thorchainruneMnemonic",rpcNode:{url:"https://rpc.ninerealms.com",headers:{"x-client-id":"{{ninerealmsClientId}}"}},archiveNodes:[{blockTimeRangeSeconds:{start:1647912564649},endpoint:{url:"https://rpc-v1.ninerealms.com",headers:{"x-client-id":"{{ninerealmsClientId}}"}}}]},ee={currencyCode:"RUNE",displayName:"THORChain",pluginId:"thorchainrune",walletType:"wallet:thorchainrune",addressExplorer:"https://viewblock.io/thorchain/address/%s",transactionExplorer:"https://viewblock.io/thorchain/tx/%s",denominations:[{name:"RUNE",multiplier:"100000000",symbol:"\u16B1"}],memoOptions:[{type:"text",maxLength:250}]},ae=(0,E.T)({currencyInfo:ee,asInfoPayload:z.j1,networkInfo:_,checkEnvironment(){if(g.g.BigInt==null)throw new Error("Thorchain requires BigInt support")},getInnerPlugin(){return V(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(8570),g.e(4841),g.e(6946),g.e(4580),g.e(8330),g.e(7854)]).then(g.bind(g,34931))})}}),fe={axelar:ie,coreum:v,cosmoshub:c,osmosis:b,thorchainrune:ae};var ge=g(23707);const Re=[{type:"text",memoName:"memo",maxLength:256}],Ce=[{displayName:"Contract Address",key:"contractAddress",type:"string"}];var xe=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const rt={chainId:"aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906",eosActivationServers:["https://eospay.edge.app"],eosHyperionNodes:["https://api.eossweden.org"],eosNodes:["https://api.eoseoul.io","https://api.eoslaomao.com","https://mainnet.eoscannon.io","https://api.eos.wiki","https://mainnet.eosio.sg","https://eos.newdex.one","https://api.bitmars.one","https://node1.zbeos.com","https://api.eosn.io"],eosDfuseServers:["https://eos.dfuse.eosnation.io"],powerUpServers:["https://api.eospowerup.io/freePowerup"],uriProtocol:"eos"},ke={currencyCode:"EOS",customTokenTemplate:Ce,displayName:"EOS",memoOptions:Re,pluginId:"eos",unsafeBroadcastTx:!0,walletType:"wallet:eos",addressExplorer:"https://bloks.io/account/%s",transactionExplorer:"https://bloks.io/transaction/%s",denominations:[{name:"EOS",multiplier:"10000",symbol:"E"}]},Oe=(0,E.T)({currencyInfo:ke,asInfoPayload:ge.eA,networkInfo:rt,otherMethodNames:ge.Nt,getInnerPlugin(){return xe(this,null,function*(){return yield Promise.all([g.e(597),g.e(6729),g.e(7458),g.e(8502),g.e(8330),g.e(3566)]).then(g.bind(g,72722))})}});var it=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const We={chainId:"4667b205c6838ef70ff7988f6e8257e8be0e1284a2f59699054a018f743b1d11",eosActivationServers:["https://eospay.edge.app","https://account.teloscrew.com"],eosHyperionNodes:["https://telos.caleos.io"],eosNodes:["https://telos.caleos.io"],powerUpServers:[],eosDfuseServers:[],uriProtocol:"telos"},Ze={currencyCode:"TLOS",customTokenTemplate:Ce,displayName:"Telos",memoOptions:Re,pluginId:"telos",walletType:"wallet:telos",addressExplorer:"https://telos.bloks.io/account/%s",transactionExplorer:"https://telos.bloks.io/transaction/%s",denominations:[{name:"TLOS",multiplier:"10000",symbol:"T"}]},st=(0,E.T)({currencyInfo:Ze,asInfoPayload:ge.eA,networkInfo:We,otherMethodNames:ge.Nt,getInnerPlugin(){return it(this,null,function*(){return yield Promise.all([g.e(597),g.e(6729),g.e(7458),g.e(8502),g.e(8330),g.e(3566)]).then(g.bind(g,72722))})}});var Ke=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Me={chainId:"1064487b3cd1a897ce03ae5b6a865651747e2e152090f99c1d19d44e01aea5a4",eosActivationServers:[],eosDfuseServers:[],eosHyperionNodes:["https://api.waxsweden.org"],eosNodes:["https://api.waxsweden.org"],powerUpServers:[],uriProtocol:"wax"},ct={currencyCode:"WAX",customTokenTemplate:Ce,displayName:"Wax",memoOptions:Re,pluginId:"wax",walletType:"wallet:wax",addressExplorer:"https://wax.bloks.io/account/%s",transactionExplorer:"https://wax.bloks.io/transaction/%s",denominations:[{name:"WAX",multiplier:"100000000",symbol:"W"}]},Ve=(0,E.T)({currencyInfo:ct,asInfoPayload:ge.eA,networkInfo:Me,otherMethodNames:ge.Nt,getInnerPlugin(){return Ke(this,null,function*(){return yield Promise.all([g.e(597),g.e(6729),g.e(7458),g.e(8502),g.e(8330),g.e(3566)]).then(g.bind(g,72722))})}}),Le={eos:Oe,telos:st,wax:Ve};var ht=g(38960),y=g(19027),o=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const i={filfoxUrl:"https://calibration.filfox.info/api/v1",filscanUrl:"https://api-cali.filscan.io/api/v1",hdPathCoinType:461,networkPrefix:"Testnet",rpcNode:{networkName:"Calibration",url:"https://api.calibration.node.glif.io/"}},x={currencyCode:"tFIL",displayName:"Filecoin Testnet (Calibration)",pluginId:"calibration",requiredConfirmations:900,unsafeBroadcastTx:!0,walletType:"wallet:calibration",addressExplorer:"https://calibration.filfox.info/en/address/%s",transactionExplorer:"https://calibration.filfox.info/en/message/%s",denominations:[{name:"tFIL",multiplier:"1000000000000000000",symbol:"\u2A0E"},{name:"milliFIL",multiplier:"1000000000000000",symbol:"m\u2A0E"},{name:"microFIL",multiplier:"1000000000000",symbol:"\xB5\u2A0E"},{name:"nanoFIL",multiplier:"1000000000",symbol:"n\u2A0E"},{name:"picoFIL",multiplier:"1000000",symbol:"p\u2A0E"},{name:"femtoFIL",multiplier:"1000",symbol:"f\u2A0E"},{name:"attoFIL",multiplier:"1",symbol:"a\u2A0E"}]},D=(0,E.T)({currencyInfo:x,asInfoPayload:y.Si,networkInfo:i,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Filecoin requires BigInt support")},getInnerPlugin(){return o(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(2505),g.e(537),g.e(5277),g.e(7141),g.e(1091),g.e(852),g.e(1700),g.e(8330),g.e(5650)]).then(g.bind(g,26708))})}});var X=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Y={filfoxUrl:"https://filfox.info/api/v1",filscanUrl:"https://api-v2.filscan.io/api/v1",hdPathCoinType:461,networkPrefix:"Mainnet",rpcNode:{networkName:"Mainnet",url:"https://api.node.glif.io/"}},L={currencyCode:"FIL",displayName:"Filecoin",pluginId:"filecoin",requiredConfirmations:900,walletType:"wallet:filecoin",addressExplorer:"https://filfox.info/en/address/%s",transactionExplorer:"https://filfox.info/en/message/%s",customTokenTemplate:[{displayName:"Contract Address",key:"contractAddress",type:"string"}],denominations:[{name:"FIL",multiplier:"1000000000000000000",symbol:"\u2A0E"},{name:"milliFIL",multiplier:"1000000000000000",symbol:"m\u2A0E"},{name:"microFIL",multiplier:"1000000000000",symbol:"\xB5\u2A0E"},{name:"nanoFIL",multiplier:"1000000000",symbol:"n\u2A0E"},{name:"picoFIL",multiplier:"1000000",symbol:"p\u2A0E"},{name:"femtoFIL",multiplier:"1000",symbol:"f\u2A0E"},{name:"attoFIL",multiplier:"1",symbol:"a\u2A0E"}]},$=(0,E.T)({currencyInfo:L,asInfoPayload:y.Si,networkInfo:Y,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Filecoin requires BigInt support")},getInnerPlugin(){return X(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(2505),g.e(537),g.e(5277),g.e(7141),g.e(1091),g.e(852),g.e(1700),g.e(8330),g.e(5650)]).then(g.bind(g,26708))})}});var se=g(27980),ue=g(54567),Ae=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const me={apiUrls:["https://fio.eosdac.io/v1/","https://api.fio.alohaeos.com/v1/","https://fio.eosargentina.io/v1/","https://api.fio.currencyhub.io/v1/","https://api.fio.services/v1/","https://fio.eosphere.io/v1/","https://fio.blockpane.com/v1/"],historyNodeUrls:["https://fio.eosphere.io/v1/","https://api.fio.detroitledger.tech/v1/","https://api.fiosweden.org/v1/","https://fio.blockpane.com/v1/"],fioRegApiUrl:"https://reg.fioprotocol.io/public-api/",fioDomainRegUrl:"https://reg.fioprotocol.io/domain/",fioAddressRegUrl:"https://reg.fioprotocol.io/address/",fioStakingApyUrl:"https://fioprotocol.io/staking",defaultRef:"edge",fallbackRef:"edge",freeAddressRef:"edgefree",errorCodes:se.HE,chainId:"21dcae42c0182200e93f954a074011f9048a7624c6fe81d3c9541a614a88bd1c"},Ue={currencyCode:"FIO",displayName:"FIO",pluginId:"fio",unsafeSyncNetwork:!0,walletType:"wallet:fio",addressExplorer:"https://fio.bloks.io/key/%s",transactionExplorer:"https://fio.bloks.io/transaction/%s",denominations:[{name:"FIO",multiplier:"1000000000",symbol:"\u1D6E"}],memoOptions:[],defaultSettings:{errorCodes:me.errorCodes,defaultRef:me.defaultRef,fallbackRef:me.fallbackRef,fioAddressRegUrl:me.fioAddressRegUrl,freeAddressRef:me.freeAddressRef}},ot=(0,E.T)({currencyInfo:Ue,asInfoPayload:ue.j5,networkInfo:me,otherMethodNames:ue.Mt,getInnerPlugin(){return Ae(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(537),g.e(5277),g.e(8570),g.e(7141),g.e(7458),g.e(7190),g.e(8330),g.e(9415)]).then(g.bind(g,97734))})}});var Ne=g(59571),Je=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const lt={mirrorNodes:["https://mainnet.mirrornode.hedera.com:443"],client:"mainnet",checksumNetworkID:"0",maxFee:1e8},Ge={currencyCode:"HBAR",displayName:"Hedera",pluginId:"hedera",walletType:"wallet:hedera",addressExplorer:"https://hashscan.io/mainnet/account/%s",transactionExplorer:"https://hashscan.io/mainnet/transaction/%s",denominations:[{name:"HBAR",multiplier:"100000000",symbol:"\u210F"},{name:"tHBAR",multiplier:"1",symbol:"t\u210F"}],memoOptions:[{type:"text",memoName:"memo",maxLength:100}]},De=(0,E.T)({currencyInfo:Ge,asInfoPayload:Ne.az,networkInfo:lt,getInnerPlugin(){return Je(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(2505),g.e(8947),g.e(8570),g.e(4861),g.e(346),g.e(6946),g.e(4864),g.e(8330),g.e(5552)]).then(g.bind(g,31827))})}});var yt=g(62071),Ye=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Qe={rpcNode:{networkName:"mainnet",defaultHost:"lightd1.pirate.black",defaultPort:443},defaultNetworkFee:"10000",transactionQueryLimit:999},at={currencyCode:"ARRR",displayName:"Pirate Chain",pluginId:"piratechain",requiredConfirmations:10,unsafeBroadcastTx:!0,unsafeSyncNetwork:!0,walletType:"wallet:piratechain",addressExplorer:"",transactionExplorer:"https://explorer.pirate.black/tx/%s",denominations:[{name:"ARRR",multiplier:"100000000",symbol:"P"}],memoOptions:[{type:"text",maxLength:512}]},qe=(0,E.T)({currencyInfo:at,asInfoPayload:yt.Tv,networkInfo:Qe,getInnerPlugin(){return Ye(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(8330),g.e(9649)]).then(g.bind(g,99649))})}});var He=g(51097),ft=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const ze={1:{currencyCode:"LLM",displayName:"Liberland Merit",denominations:[{name:"LLM",multiplier:"1000000000000"}],networkLocation:{contractAddress:"1"}}},_e={rpcNodes:["wss://mainnet.liberland.org/","wss://liberland-rpc.dwellir.com/"],ss58Format:42,subscanBaseUrl:void 0,subscanQueryLimit:100,partialFeeOffsetMultiplier:"2",lengthFeePerByte:"76800000",liberlandScanUrl:"https://archive.mainnet.liberland.org/"},mt={currencyCode:"LLD",displayName:"Liberland",pluginId:"liberland",walletType:"wallet:liberland",addressExplorer:"https://chainscan.mainnet.liberland.org/account/%s",transactionExplorer:"https://chainscan.mainnet.liberland.org/%s",denominations:[{name:"LLD",multiplier:"1000000000000",symbol:""}],metaTokens:(0,t.yQ)(ze)},et=(0,E.T)({builtinTokens:ze,currencyInfo:mt,asInfoPayload:He.v,networkInfo:_e,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Liberland requires bigint support")},getInnerPlugin(){return ft(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(780),g.e(6845),g.e(8330),g.e(7057)]).then(g.bind(g,74551))})}});var Xe=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const dt={1:{currencyCode:"LKN",displayName:"Liberland Merit Testnet",denominations:[{name:"LKN",multiplier:"1000000000000"}],networkLocation:{contractAddress:"1"}}},tt={rpcNodes:["wss://testchain.liberland.org/"],ss58Format:42,subscanBaseUrl:void 0,subscanQueryLimit:100,partialFeeOffsetMultiplier:"2",lengthFeePerByte:"76800000",liberlandScanUrl:"https://archive.testchain.liberland.org/graphql/"},nt={currencyCode:"LDN",displayName:"Liberland Testnet",pluginId:"liberlandtestnet",walletType:"wallet:liberlandtestnet",addressExplorer:"",transactionExplorer:"",denominations:[{name:"LDN",multiplier:"1000000000000",symbol:""}],metaTokens:(0,t.yQ)(dt)},ut=(0,E.T)({builtinTokens:dt,currencyInfo:nt,asInfoPayload:He.v,networkInfo:tt,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Liberland Testnet requires bigint support")},getInnerPlugin(){return Xe(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(780),g.e(6845),g.e(8330),g.e(7057)]).then(g.bind(g,74551))})}});var $e=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const je={rpcNodes:["wss://rpc.polkadot.io"],ss58Format:0,subscanBaseUrl:"https://polkadot.api.subscan.io/api",subscanQueryLimit:100,partialFeeOffsetMultiplier:"1",lengthFeePerByte:"1000000",liberlandScanUrl:void 0},vt={currencyCode:"DOT",displayName:"Polkadot",pluginId:"polkadot",walletType:"wallet:polkadot",addressExplorer:"https://polkadot.subscan.io/account/%s",transactionExplorer:"https://polkadot.subscan.io/extrinsic/%s",denominations:[{name:"DOT",multiplier:"10000000000",symbol:""}],memoOptions:[]},pt=(0,E.T)({currencyInfo:vt,asInfoPayload:He.v,networkInfo:je,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Polkadot requires bigint support")},getInnerPlugin(){return $e(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(780),g.e(6845),g.e(8330),g.e(7057)]).then(g.bind(g,74551))})}});var Ct=g(20158),At=g(49841),Mt=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const gt={DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263:{currencyCode:"BONK",displayName:"Bonk",denominations:[{name:"BONK",multiplier:"100000"}],networkLocation:{contractAddress:"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"}},kshrEkxuc7zPAvLxvabxoERKxK6BfariPcjBoiHvM7B:{currencyCode:"GMT",displayName:"STEPN",denominations:[{name:"GMT",multiplier:"1000000000"}],networkLocation:{contractAddress:"kshrEkxuc7zPAvLxvabxoERKxK6BfariPcjBoiHvM7B"}},CWE8jPTUYhdCTZYWPTe1o5DFqfdjzWKc9WKz6rSjQUdG:{currencyCode:"LINK",displayName:"Wrapped Chainlink",denominations:[{name:"LINK",multiplier:"1000000"}],networkLocation:{contractAddress:"CWE8jPTUYhdCTZYWPTe1o5DFqfdjzWKc9WKz6rSjQUdG"}},HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3:{currencyCode:"PYTH",displayName:"Pyth Network",denominations:[{name:"PYTH",multiplier:"1000000"}],networkLocation:{contractAddress:"HZ1JovNiVvGrGNiiYvEozEVgZ58xaU3RKwX8eACQBCt3"}},rndrizKT3MK1iimdxRdWabcF7Zg7AR5T4nud4EkHBof:{currencyCode:"RNDR",displayName:"Render Token",denominations:[{name:"RNDR",multiplier:"100000000"}],networkLocation:{contractAddress:"rndrizKT3MK1iimdxRdWabcF7Zg7AR5T4nud4EkHBof"}},"4geJykZY92d2mZk8zgWDrKoz4BDcSjp7DJdNvH8GoH5f":{currencyCode:"BOBBY",displayName:"Kennedy Memecoin",denominations:[{name:"BOBBY",multiplier:"100000000"}],networkLocation:{contractAddress:"4geJykZY92d2mZk8zgWDrKoz4BDcSjp7DJdNvH8GoH5f"}},EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:{currencyCode:"USDC",displayName:"USD Coin",denominations:[{name:"USDC",multiplier:"1000000"}],networkLocation:{contractAddress:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}},Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB:{currencyCode:"USDT",displayName:"Tether",denominations:[{name:"USDT",multiplier:"1000000"}],networkLocation:{contractAddress:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"}},"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs":{currencyCode:"WETH",displayName:"Wrapped Ether (Wormhole)",denominations:[{name:"WETH",multiplier:"100000000"}],networkLocation:{contractAddress:"7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs"}},"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh":{currencyCode:"WBTC",displayName:"Wrapped BTC (Wormhole)",denominations:[{name:"WBTC",multiplier:"100000000"}],networkLocation:{contractAddress:"3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh"}},So11111111111111111111111111111111111111112:{currencyCode:"WSOL",displayName:"Wrapped SOL",denominations:[{name:"WSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"So11111111111111111111111111111111111111112"}},mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So:{currencyCode:"MSOL",displayName:"Marinade staked SOL",denominations:[{name:"MSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So"}},DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7:{currencyCode:"DRIFT",displayName:"DRIFT",denominations:[{name:"DRIFT",multiplier:"1000000"}],networkLocation:{contractAddress:"DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7"}},JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN:{currencyCode:"JUP",displayName:"Jupiter",denominations:[{name:"JUP",multiplier:"1000000"}],networkLocation:{contractAddress:"JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"}},jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL:{currencyCode:"JTO",displayName:"JITO",denominations:[{name:"JTO",multiplier:"1000000000"}],networkLocation:{contractAddress:"jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL"}},bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1:{currencyCode:"BSOL",displayName:"BlazeStake",denominations:[{name:"BSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1"}},BKipkearSqAUdNKa1WDstvcMjoPsSKBuNyvKDQDDu9WE:{currencyCode:"HAWK",displayName:"Hawksight",denominations:[{name:"HAWK",multiplier:"1000000"}],networkLocation:{contractAddress:"BKipkearSqAUdNKa1WDstvcMjoPsSKBuNyvKDQDDu9WE"}},J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn:{currencyCode:"JITOSOL",displayName:"Jito Staked SOL",denominations:[{name:"JITOSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn"}},"7Q2afV64in6N6SeZsAAB81TJzwDoD6zpqmHkzi9Dcavn":{currencyCode:"JSOL",displayName:"JPool Staked SOL",denominations:[{name:"JSOL",multiplier:"1000000000"}],networkLocation:{contractAddress:"7Q2afV64in6N6SeZsAAB81TJzwDoD6zpqmHkzi9Dcavn"}},MangoCzJ36AjZyKwVj3VnYU4GTonjfVEnJmvvWaxLac:{currencyCode:"MNGO",displayName:"Mango",denominations:[{name:"MNGO",multiplier:"1000000"}],networkLocation:{contractAddress:"MangoCzJ36AjZyKwVj3VnYU4GTonjfVEnJmvvWaxLac"}},"9TE7ebz1dsFo1uQ2T4oYAKSm39Y6fWuHrd6Uk6XaiD16":{currencyCode:"MIMO",displayName:"Million Monke",denominations:[{name:"MIMO",multiplier:"1000000000"}],networkLocation:{contractAddress:"9TE7ebz1dsFo1uQ2T4oYAKSm39Y6fWuHrd6Uk6XaiD16"}}},xt={rpcNodes:["https://api.mainnet-beta.solana.com","https://solana-mainnet.rpc.grove.city/v1/{{poktPortalApiKey}}"],rpcNodesArchival:["https://api.mainnet-beta.solana.com","https://solana-mainnet.g.alchemy.com/v2/{{alchemyApiKey}}"],stakedConnectionRpcNodes:["https://staked.helius-rpc.com?api-key={{heliusApiKey}}"],commitment:"confirmed",txQueryLimit:1e3,derivationPath:"m/44'/501'/0'/0'",memoPublicKey:"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr",tokenPublicKey:"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",associatedTokenPublicKey:"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},Bt={currencyCode:"SOL",displayName:"Solana",pluginId:"solana",walletType:"wallet:solana",addressExplorer:"https://explorer.solana.com/address/%s",transactionExplorer:"https://explorer.solana.com/tx/%s",customFeeTemplate:[{displayName:"Micro Lamports",key:"microLamports",type:"string"}],customTokenTemplate:[{displayName:"Token Address",key:"contractAddress",type:"string"}],denominations:[{name:"SOL",multiplier:"1000000000",symbol:"\u25CE"}],memoOptions:[{type:"text",memoName:"memo",maxLength:32}],defaultSettings:{customFeeSettings:["microLamports"]},metaTokens:(0,t.yQ)(gt)},Tt=(0,E.T)({currencyInfo:Bt,asInfoPayload:At.FM,createTokenId:t.fo,networkInfo:xt,builtinTokens:gt,checkEnvironment:()=>{if(g.g.BigInt==null)throw new Error("Solana requires bigint support")},getInnerPlugin(){return Mt(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(3507),g.e(8947),g.e(346),g.e(780),g.e(4649),g.e(8330),g.e(6227)]).then(g.bind(g,17792))})}});var wt=g(96931),Lt=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Et={baseReserve:"10000000",stellarServers:["https://horizon.stellar.org"]},Pt={currencyCode:"XLM",displayName:"Stellar",pluginId:"stellar",walletType:"wallet:stellar",addressExplorer:"https://stellarchain.io/address/%s",transactionExplorer:"https://stellarchain.io/tx/%s",denominations:[{name:"XLM",multiplier:"10000000",symbol:"*"}],memoOptions:[{type:"text",maxLength:28},{type:"number",maxValue:"18446744073709551615"},{type:"hex",maxBytes:32,minBytes:32}],multipleMemos:!0},Ft=(0,E.T)({currencyInfo:Pt,asInfoPayload:wt.Ed,networkInfo:Et,getInnerPlugin(){return Lt(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(537),g.e(8947),g.e(8570),g.e(6976),g.e(7798),g.e(570),g.e(8330),g.e(7182)]).then(g.bind(g,26043))})}});var St=g(99847),It=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Dt={tezosRpcNodes:["https://prod.tcinfra.net/rpc/mainnet/","https://mainnet.ecadinfra.com/"],tezosApiServers:["https://api.tzkt.io"],fee:{transaction:"1350",reveal:"1300",burn:"257000"},limit:{gas:"10600",storage:"277"}},bt={currencyCode:"XTZ",displayName:"Tezos",pluginId:"tezos",walletType:"wallet:tezos",addressExplorer:"https://tzstats.com/%s",transactionExplorer:"https://tzstats.com/%s",denominations:[{name:"XTZ",multiplier:"1000000",symbol:"t"}],memoOptions:[]},Nt=(0,E.T)({currencyInfo:bt,asInfoPayload:St.kf,networkInfo:Dt,getInnerPlugin(){return It(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(5982),g.e(8330),g.e(8518)]).then(g.bind(g,65202))})}});var kt=g(88795),Ot=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Te={defaultWalletContract:"v5r1",minimumAddressBalance:"50000000",pluginMnemonicKeyName:"tonMnemonic",tonCenterUrl:"https://toncenter.com/api/v2/jsonRPC",tonOrbsServers:["https://ton.access.orbs.network/4410c0ff5Bd3F8B62C092Ab4D238bEE463E64410/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/4411c0ff5Bd3F8B62C092Ab4D238bEE463E64411/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/4412c0ff5Bd3F8B62C092Ab4D238bEE463E64412/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/55013c0ff5Bd3F8B62C092Ab4D238bEE463E5501/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/55023c0ff5Bd3F8B62C092Ab4D238bEE463E5502/1/mainnet/toncenter-api-v2/jsonRPC","https://ton.access.orbs.network/55033c0ff5Bd3F8B62C092Ab4D238bEE463E5503/1/mainnet/toncenter-api-v2/jsonRPC"]},Pe={currencyCode:"TON",displayName:"Toncoin",pluginId:"ton",walletType:"wallet:ton",addressExplorer:"https://tonscan.org/address/%s",transactionExplorer:"https://tonscan.org/tx/%s",denominations:[{name:"TON",multiplier:"1000000000",symbol:""}],memoOptions:[{type:"text",memoName:"memo",maxLength:127}]},oe=(0,E.T)({currencyInfo:Pe,asInfoPayload:kt.Wo,networkInfo:Te,checkEnvironment(){if(g.g.BigInt==null)throw new Error("TON requires BigInt support")},getInnerPlugin(){return Ot(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(2505),g.e(8947),g.e(2851),g.e(8330),g.e(4458)]).then(g.bind(g,14531))})}});var Fe=g(35011),be=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Be={TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn:{currencyCode:"USDD",displayName:"Decentralized USD",denominations:[{name:"USDD",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn"}},TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t:{currencyCode:"USDT",displayName:"Tether",denominations:[{name:"USDT",multiplier:"1000000"}],networkLocation:{contractAddress:"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}},TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8:{currencyCode:"USDC",displayName:"USD Coin",denominations:[{name:"USDC",multiplier:"1000000"}],networkLocation:{contractAddress:"TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8"}},TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR:{currencyCode:"WTRX",displayName:"Wrapped TRX",denominations:[{name:"WTRX",multiplier:"1000000"}],networkLocation:{contractAddress:"TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR"}},TUpMhErZL2fhh4sVNULAbNKLokS4GjC1F4:{currencyCode:"TUSD",displayName:"TrueUSD",denominations:[{name:"TUSD",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TUpMhErZL2fhh4sVNULAbNKLokS4GjC1F4"}},TAFjULxiVgT4qWk6UZwjqwZXTSaGaqnVp4:{currencyCode:"BTT",displayName:"BitTorrent",denominations:[{name:"BTT",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TAFjULxiVgT4qWk6UZwjqwZXTSaGaqnVp4"}},TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9:{currencyCode:"JST",displayName:"JUST",denominations:[{name:"JST",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9"}},TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7:{currencyCode:"WIN",displayName:"WINkLink",denominations:[{name:"WIN",multiplier:"1000000"}],networkLocation:{contractAddress:"TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7"}},TFczxzPhnThNSqr5by8tvxsdCFRRz6cPNq:{currencyCode:"NFT",displayName:"APENFT",denominations:[{name:"NFT",multiplier:"1000000"}],networkLocation:{contractAddress:"TFczxzPhnThNSqr5by8tvxsdCFRRz6cPNq"}},TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S:{currencyCode:"SUN",displayName:"SUN",denominations:[{name:"SUN",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S"}},TMwFHYXLJaRUPeW6421aqXL4ZEzPRFGkGT:{currencyCode:"USDJ",displayName:"JUST Stablecoin",denominations:[{name:"USDJ",multiplier:"1000000000000000000"}],networkLocation:{contractAddress:"TMwFHYXLJaRUPeW6421aqXL4ZEzPRFGkGT"}}},Se={tronApiServers:["https://api.trongrid.io"],tronNodeServers:["https://rpc.ankr.com/http/tron","https://rpc.coinsdo.net/trx-api","http://3.225.171.164:8090","http://52.53.189.99:8090","http://18.196.99.16:8090","http://34.253.187.192:8090","http://54.252.224.209:8090","http://3.218.137.187:8090","http://34.237.210.82:8090"],defaultDerivationPath:"m/44'/195'/0'/0/0",defaultFeeLimit:1e9,defaultFreezeDurationInDays:3,trc20BalCheckerContract:"TN8RtFXeQZyFHGmH1iiSRm5r4CRz1yWkCf"},ce={currencyCode:"TRX",displayName:"Tron",pluginId:"tron",walletType:"wallet:tron",addressExplorer:"https://tronscan.org/#/address/%s",transactionExplorer:"https://tronscan.org/#/transaction/%s",customTokenTemplate:[{displayName:"Contract Address",key:"contractAddress",type:"string"}],denominations:[{name:"TRX",multiplier:"1000000",symbol:"T"}],memoOptions:[{type:"text",memoName:"note"}],metaTokens:(0,t.yQ)(Be)},Z=(0,E.T)({builtinTokens:Be,currencyInfo:ce,asInfoPayload:Fe.OY,networkInfo:Se,getInnerPlugin(){return be(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(6729),g.e(3507),g.e(1565),g.e(2505),g.e(537),g.e(5277),g.e(1594),g.e(7141),g.e(4841),g.e(4861),g.e(1091),g.e(6950),g.e(8330),g.e(9722)]).then(g.bind(g,23657))})}});var le=g(175),Wt=(he,pe,Q)=>new Promise((we,de)=>{var Ee=k=>{try{te(Q.next(k))}catch(ne){de(ne)}},Ie=k=>{try{te(Q.throw(k))}catch(ne){de(ne)}},te=k=>k.done?we(k.value):Promise.resolve(k.value).then(Ee,Ie);te((Q=Q.apply(he,pe)).next())});const Gt={rpcNode:{networkName:"mainnet",defaultHost:"zec.rocks",defaultPort:443},defaultNetworkFee:"10000"},$t={currencyCode:"ZEC",displayName:"Zcash",pluginId:"zcash",requiredConfirmations:10,unsafeBroadcastTx:!0,unsafeSyncNetwork:!0,walletType:"wallet:zcash",addressExplorer:"https://blockchair.com/zcash/address/%s?from=edgeapp",transactionExplorer:"https://blockchair.com/zcash/transaction/%s?from=edgeapp",denominations:[{name:"ZEC",multiplier:"100000000",symbol:"Z"}],memoOptions:[{type:"text",maxLength:512}]},jt=(0,E.T)({currencyInfo:$t,asInfoPayload:le.Qz,networkInfo:Gt,getInnerPlugin(){return Wt(this,null,function*(){return yield Promise.all([g.e(597),g.e(749),g.e(8330),g.e(6478)]).then(g.bind(g,36823))})}});var zt=Object.defineProperty,Vt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,Ht=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Kt=(he,pe,Q)=>pe in he?zt(he,pe,{enumerable:!0,configurable:!0,writable:!0,value:Q}):he[pe]=Q,Rt=(he,pe)=>{for(var Q in pe||(pe={}))Zt.call(pe,Q)&&Kt(he,Q,pe[Q]);if(Ht)for(var Q of Ht(pe))Yt.call(pe,Q)&&Kt(he,Q,pe[Q]);return he},Qt=(he,pe)=>Vt(he,Xt(pe));const qt=Qt(Rt(Rt(Rt({},Le),ht.S),fe),{algorand:A,binance:O,cardano:P,cardanotestnet:q,filecoin:$,calibration:D,fio:ot,hedera:De,liberland:et,liberlandtestnet:ut,piratechain:qe,polkadot:pt,ripple:Ct.fq,solana:Tt,stellar:Ft,tezos:Nt,ton:oe,tron:Z,zcash:jt});typeof window<"u"&&typeof window.addEdgeCorePlugins=="function"&&window.addEdgeCorePlugins(qt);var en=null})()})();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(self.webpackChunkedge_currency_accountbased=self.webpackChunkedge_currency_accountbased||[]).push([[6227],{62351:function(ht,W,y){"use strict";y.d(W,{Nn:function(){return H},Nt:function(){return Q},fi:function(){return z},zp:function(){return j}});var d=y(14171),u=y(44276),x=(w,h,v)=>new Promise((E,K)=>{var D=C=>{try{O(v.next(C))}catch(I){K(I)}},P=C=>{try{O(v.throw(C))}catch(I){K(I)}},O=C=>C.done?E(C.value):Promise.resolve(C.value).then(D,P);O((v=v.apply(w,h)).next())});const _=["https://info1.edge.app","https://info2.edge.app"];function U(w,h,v){return x(this,arguments,function*(E,K,D,P=5e3,O=fetch){const C=E.map(I=>()=>x(this,null,function*(){const V=yield O(I+"/"+K,D);if(typeof V!="object"){const X=`Invalid return value ${K} in ${I}`;throw console.log(X),new Error(X)}return V}));return yield(0,d.NN)(C,P)})}function j(w,h,v,E,K=5e3,D){return x(this,null,function*(){const P=yield U((0,u.R3)(h),v,E,K,D);if(!P.ok){const I=yield P.text();throw console.error(I),new Error(`Error fetching ${v}: ${I}`)}const O=yield P.json();return w(O)})}function tt(w,h,v,E=5e3,K){return x(this,null,function*(){return yield U((0,u.R3)(w),h,v,E,K)})}const H=(w,h,v,E)=>x(void 0,null,function*(){return yield tt(_,w,h,v,E)}),Q=w=>Object.keys(w).map(h=>{const v=w[h];return v==null?h:`${h}=${encodeURIComponent(v)}`}).join("&"),z=(w,h=5e3)=>w+Math.random()*h*2-h},17792:function(ht,W,y){"use strict";y.r(W),y.d(W,{SolanaTools:function(){return ut},isValidAddress:function(){return G},makeCurrencyEngine:function(){return wt},makeCurrencyTools:function(){return bt},updateInfoPayload:function(){return Pt}});var d=y(43322),u=y(66001),x=y(90749),_=y(16763),U=y.n(_),j=y(48287),tt=y(37680),H=y(65828),Q=y(14483),z=y(96542),w=y(44276),h=y(49841),v=y(8197),E=y(9646),K=y(76556),D=y(99818),P=y(82671),O=y(26277),C=y(62351),I=y(14171),V=y(48287).Buffer,X=Object.defineProperty,it=Object.getOwnPropertySymbols,dt=Object.getPrototypeOf,ft=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,mt=Reflect.get,ct=(a,t,e)=>t in a?X(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e,pt=(a,t)=>{for(var e in t||(t={}))ft.call(t,e)&&ct(a,e,t[e]);if(it)for(var e of it(t))yt.call(t,e)&&ct(a,e,t[e]);return a},at=(a,t,e)=>mt(dt(a),e,t),m=(a,t,e)=>new Promise((n,o)=>{var s=c=>{try{i(e.next(c))}catch(k){o(k)}},r=c=>{try{i(e.throw(c))}catch(k){o(k)}},i=c=>c.done?n(c.value):Promise.resolve(c.value).then(s,r);i((e=e.apply(a,t)).next())});const kt=(0,C.fi)(2e4),et=(0,C.fi)(2e4),gt=(0,C.fi)(2e4);class q extends O.k{constructor(t,e,n,o){var s;super(t,e,n,o),this.lightMode=(s=o.lightMode)!=null?s:!1,this.networkInfo=t.networkInfo,this.chainCode=e.currencyInfo.currencyCode,this.fetchCors=(0,w.CY)(t.io),this.feePerSignature="5000",this.priorityFee="0",this.recentBlockhash="",this.base58PublicKey=n.keys.publicKey,this.progressRatio=0,this.addressCache=new Map,this.minimumAddressBalance="0"}setOtherData(t){this.otherData=(0,h._$)(t)}fetchRpcBulk(t,e){return m(this,null,function*(){const n={method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t.map((r,i)=>pt({jsonrpc:"2.0",id:i+1},r)))},s=(e!=null?e:this.networkInfo.rpcNodes).map(r=>()=>m(this,null,function*(){r=this.tools.rpcWithApiKey(r);const i=yield this.fetchCors(r,n);if(!i.ok)throw new Error(`fetchRpc ${n.method} failed error: ${i.status}`);return yield i.json()}));return yield(0,I.NN)(s)})}queryBalance(){return m(this,null,function*(){var t,e,n;try{const o=[{method:"getBalance",params:[this.base58PublicKey,{commitment:this.networkInfo.commitment}]}],s=[...Object.keys(this.allTokensMap)],r=new d.J3(this.base58PublicKey),i=new d.J3(this.networkInfo.tokenPublicKey),c=new d.J3(this.networkInfo.associatedTokenPublicKey);for(const b of s){const f=(0,v.Xt)(new d.J3(b),r,!1,i,c);o.push({method:"getTokenAccountBalance",params:[f.toBase58(),{commitment:this.networkInfo.commitment,encoding:"jsonParsed"}]})}const k=yield this.fetchRpcBulk(o),[p,...B]=k,g=(0,h.GC)(p);this.updateBalance(this.chainCode,g.result.value.toString());const A=[];for(const[b,f]of s.entries()){const l=(0,D.HS)(h.Ek)(B[b]),T=(n=(e=(t=l==null?void 0:l.result)==null?void 0:t.value)==null?void 0:e.amount)!=null?n:"0";this.updateBalance(this.allTokensMap[f].currencyCode,T),(0,u.gt)(T,"0")&&A.push(f)}A.length>0&&this.currencyEngineCallbacks.onNewTokens(A)}catch(o){this.error(`Error checking ${this.chainCode} address balance`,o)}})}queryBlockheight(){return m(this,null,function*(){try{const t=this.tools.connections.map(n=>()=>m(this,null,function*(){return yield n.getSlot()})),e=yield(0,I.NN)(t);e>this.walletLocalData.blockHeight&&(this.walletLocalData.blockHeight=e,this.walletLocalDataDirty=!0,this.currencyEngineCallbacks.onBlockHeightChanged(this.walletLocalData.blockHeight))}catch(t){this.error("queryBlockheight Error ",t)}})}queryMinimumBalance(){return m(this,null,function*(){try{const t=this.tools.connections.map(n=>()=>m(this,null,function*(){return yield n.getMinimumBalanceForRentExemption(50)})),e=yield(0,I.NN)(t);this.minimumAddressBalance=e.toString()}catch(t){this.error("queryMinimumBalance Error ",t)}})}queryFee(){return m(this,null,function*(){try{const t=this.tools.connections.map(o=>()=>m(this,null,function*(){return yield o.getRecentPrioritizationFees()})),n=(yield(0,I.NN)(t)).sort((o,s)=>o.slot-s.slot)[0];this.priorityFee=n.prioritizationFee.toString()}catch(t){this.error("queryFee Error ",t)}})}queryBlockhash(){return m(this,null,function*(){try{const n=(yield Promise.allSettled(this.tools.connections.map(o=>m(this,null,function*(){return yield o.getLatestBlockhash({commitment:"finalized"})})))).filter(o=>o.status!=="rejected").sort((o,s)=>s.value.lastValidBlockHeight-o.value.lastValidBlockHeight)[0];if(n==null)throw new Error("No valid blockhash found");this.recentBlockhash=n.value.blockhash}catch(t){this.error("queryBlockhash Error ",t)}})}processSolanaTransaction(t,e,n,o){const s=[],{amount:r,networkFee:i,parentNetworkFee:c,tokenId:k=null}=e,p=k!=null?this.allTokensMap[k].currencyCode:this.chainCode;(0,u.gte)(r,"0")&&s.push(this.base58PublicKey);const B={blockHeight:t.slot,currencyCode:p,date:n,isSend:r.startsWith("-"),memos:o.map(g=>({type:"text",value:g})),nativeAmount:r,networkFee:i,networkFees:[],ourReceiveAddresses:s,parentNetworkFee:c,signedTx:"",tokenId:k,txid:t.transaction.signatures[0],walletId:this.walletId};this.addTransaction(p,B)}parseTxAmounts(t,e){var n;const o=[],s=t.transaction.message.staticAccountKeys.findIndex(l=>l.equals(e));if(s<0||t.meta==null)return o;const{fee:r,preBalances:i,postBalances:c,preTokenBalances:k,postTokenBalances:p}=t.meta,B=k!=null?k:[],g=p!=null?p:[],A=r.toString();if(this.base58PublicKey===e.toBase58()){const l=(c[s]-i[s]).toString();if(l!=="0"){const T=(0,u.lt)(l,"0");o.push({amount:l,networkFee:T?A:"0"})}}const b=l=>l.owner!==this.base58PublicKey||this.allTokensMap[l.mint]==null,f=new Map;for(const l of g)l==null||b(l)||f.set(l.mint,l.uiTokenAmount.amount);for(const l of B){if(l==null||b(l))continue;const T=(n=f.get(l.mint))!=null?n:"0";f.set(l.mint,(0,u.sub)(T,l.uiTokenAmount.amount))}return f.forEach((l,T)=>{o.push({amount:l,networkFee:"0",parentNetworkFee:(0,u.lt)(l,"0")?A:void 0,tokenId:T})}),o}queryTransactions(){return m(this,null,function*(){const t=new d.J3(this.base58PublicKey),e=new Set([[this.currencyInfo.currencyCode,t]]);for(const n of this.enabledTokenIds){const o=(0,v.Xt)(new d.J3(n),t,!1,new d.J3(this.networkInfo.tokenPublicKey),new d.J3(this.networkInfo.associatedTokenPublicKey)),s=this.allTokensMap[n].currencyCode;e.add([s,o])}for(const n of e){const[o,s]=n;yield this.queryTransactionsInner(o,s)}})}queryTransactionsInner(t,e){return m(this,null,function*(){var n;let o;const s=this.otherData.newestTxid[t]!==""?this.otherData.newestTxid[t]:void 0;let r=[];try{for(;;){const p=this.tools.archiveConnections.map(g=>()=>m(this,null,function*(){return yield g.getSignaturesForAddress(e,{until:s,before:o,limit:this.networkInfo.txQueryLimit})})),B=yield(0,I.NN)(p);if(r=r.concat(B),B.length<this.networkInfo.txQueryLimit)break;o=B[this.networkInfo.txQueryLimit-1].signature}}catch(p){this.error("getTransactionSignatures failed with error: ",p);return}if(r.length===0){this.updateTxStatus(t,1);return}const i=50;let c=0;const k=r.map(p=>p.signature).reverse();for(let p=0;p<k.length;p+=i){const B=this.tools.archiveConnections.map(f=>()=>m(this,null,function*(){return yield f.getTransactions(k,{commitment:this.networkInfo.commitment,maxSupportedTransactionVersion:0})})),g=yield(0,I.NN)(B),A=g.map(f=>({method:"getBlockTime",params:[f.slot]})),b=yield this.fetchRpcBulk(A,this.networkInfo.rpcNodesArchival);for(let f=0;f<g.length;f++){if(((n=g[f].meta)==null?void 0:n.err)!=null)continue;const l=r.find(L=>L.signature===g[f].transaction.signatures[0]),T=[];if((l==null?void 0:l.memo)!=null){const L=/^\[\d+\]\s(.*)$/,M=l.memo.match(L);M!=null&&T.push(M[1])}this.parseTxAmounts(g[f],e).forEach(L=>{this.processSolanaTransaction(g[f],L,(0,h.Ft)(b[f]).result,T),c++}),this.otherData.newestTxid[t]=r[f].signature;const F=1-c/r.length;F!==this.progressRatio&&(Math.abs(F-this.progressRatio)>.25||F===1)&&(this.progressRatio=F,this.updateTxStatus(t,this.progressRatio))}}this.walletLocalDataDirty=!0,this.updateTxStatus(t,1),this.transactionsChangedArray.length>0&&(this.currencyEngineCallbacks.onTransactionsChanged(this.transactionsChangedArray),this.transactionsChangedArray=[])})}updateTxStatus(t,e){this.tokenCheckTransactionsStatus[t]=e,this.updateOnAddressesChecked()}startEngine(){return m(this,null,function*(){if(this.engineOn=!0,yield this.tools.connectClient(),this.addToLoop("queryBlockheight",et).catch(()=>{}),this.addToLoop("queryMinimumBalance",et).catch(()=>{}),this.addToLoop("queryFee",et).catch(()=>{}),this.queryBlockhash().catch(()=>{}),this.addToLoop("queryBalance",kt).catch(()=>{}),this.lightMode){this.tokenCheckTransactionsStatus[this.currencyInfo.currencyCode]=1;for(const t of Object.values(this.allTokensMap))this.tokenCheckTransactionsStatus[t.currencyCode]=1}else this.addToLoop("queryTransactions",gt).catch(()=>{});yield at(q.prototype,this,"startEngine").call(this)})}killEngine(){return m(this,null,function*(){yield this.tools.disconnectClient(),yield at(q.prototype,this,"killEngine").call(this)})}resyncBlockchain(){return m(this,null,function*(){yield this.killEngine(),yield this.clearBlockchainCache(),yield this.startEngine()})}getMaxSpendable(t){return m(this,null,function*(){const{tokenId:e}=t,n=this.getBalance({tokenId:e});t.spendTargets[0].nativeAmount="1";const o=yield this.makeSpend(t);let s;if(e==null)s=(0,u.sub)((0,u.sub)(n,o.networkFee),this.minimumAddressBalance);else{const r=this.getBalance({tokenId:null}),i=(0,u.sub)(r,o.networkFee);if((0,u.lt)((0,u.sub)(i,this.minimumAddressBalance),"0"))throw new P.k5({networkFee:this.feePerSignature,tokenId:null});s=n}if((0,u.lt)(s,"0"))throw new P.k5({tokenId:e});return s})}makeSpend(t){return m(this,null,function*(){var e,n,o,s,r;const{edgeSpendInfo:i,currencyCode:c}=this.makeSpendCheck(t),{customNetworkFee:k,memos:p=[],networkFeeOption:B,tokenId:g,otherParams:A={}}=i;if(i.spendTargets.length!==1)throw new Error("Error: only one output allowed");const{nativeAmount:b,publicAddress:f}=i.spendTargets[0];if(f==null)throw new Error("makeSpend Missing publicAddress");if(b==null)throw new P.ef;const l=g!=null;let T="0",N=this.feePerSignature,F;const L=(e=this.walletLocalData.totalBalances[c])!=null?e:"0",M=new d.J3(this.base58PublicKey),nt=new d.J3(f),Y=new d.J3(this.networkInfo.tokenPublicKey),ot=new d.J3(this.networkInfo.associatedTokenPublicKey),J=[];let $="0";switch(B){case"low":$=(0,u.max)("0",(0,u.mul)(this.priorityFee,"0.75"));break;case"standard":$=this.priorityFee;break;case"high":$=(0,u.max)("1",(0,u.mul)(this.priorityFee,"1.25"));break;case"custom":{$=(0,h.CB)(k).microLamports;break}}if((0,u.gt)($,"0")){const R=d.d_.setComputeUnitPrice({microLamports:parseInt($)});J.push(R),N=(0,u.add)(N,$)}if(l){const R=new d.J3(g),st=(0,v.Xt)(R,nt,!1,Y,ot);let Z=this.addressCache.get(f);if(Z===void 0){const rt=this.tools.connections.map(Ot=>()=>m(this,null,function*(){return yield Ot.getAccountInfo(st,this.networkInfo.commitment)}));(yield(0,I.NN)(rt))==null?(Z=!1,this.addressCache.set(f,!1)):(Z=!0,this.addressCache.set(f,!0))}if(!Z){const rt=(0,E.JA)(M,st,nt,R,Y,ot);J.push(rt),N=(0,u.add)(N,this.feePerSignature)}if(F=N,N="0",T=b,(0,u.gt)(b,L))throw new P.k5({tokenId:g});const Kt=(n=this.walletLocalData.totalBalances[this.chainCode])!=null?n:"0";if((0,u.gt)((0,u.add)(F,this.minimumAddressBalance),Kt))throw new P.k5({networkFee:F,tokenId:null});const At=(0,v.Xt)(R,M,!1,Y,ot),xt=(0,K.C3)(At,st,M,BigInt(b),[],Y);J.push(xt)}else{T=(0,u.add)(b,N);const R=d.yq.transfer({fromPubkey:M,toPubkey:nt,lamports:parseInt(b)});J.push(R)}if(!(g!=null&&(0,u.eq)(T,L))){if((0,u.gt)((0,u.add)(T,this.minimumAddressBalance),L))throw new P.k5({tokenId:g})}if(((o=p[0])==null?void 0:o.type)==="text"){const R=new d.fH({keys:[{pubkey:M,isSigner:!0,isWritable:!0}],programId:new d.J3(this.networkInfo.memoPublicKey),data:V.from(p[0].value,"utf-8")});J.push(R)}this.recentBlockhash===""&&(yield this.queryBlockhash());const Ct=d.Wr.compile({instructions:J,payerKey:M,recentBlockhash:this.recentBlockhash}),Bt=new d.Kt(Ct),St=(r=(s=(0,h.PT)(A))==null?void 0:s.unsignedTx)!=null?r:Bt.serialize(),Et=(0,h.c_)({unsignedTx:St});return{blockHeight:0,currencyCode:c,date:0,isSend:!0,memos:p,nativeAmount:(0,u.mul)(T,"-1"),networkFee:N,networkFees:[],otherParams:Et,ourReceiveAddresses:[],parentNetworkFee:F,signedTx:"",tokenId:g,txid:"",walletId:this.walletId}})}signTx(t,e){return m(this,null,function*(){const n=(0,h.aY)(this.currencyInfo.pluginId)(e),{unsignedTx:o}=(0,h.fQ)((0,w.Je)(t)),s=d.Kt.deserialize(o);yield this.queryBlockhash(),s.message.recentBlockhash=this.recentBlockhash;const r=d.AX.fromSecretKey(H.xn.parse(n.privateKey));return s.sign([{publicKey:r.publicKey,secretKey:r.secretKey}]),t.signedTx=H.K3.stringify(s.serialize()),this.warn(`signTx
|
|
2
|
-
${(0,
|
|
3
|
-
${(0,
|
|
1
|
+
(self.webpackChunkedge_currency_accountbased=self.webpackChunkedge_currency_accountbased||[]).push([[6227],{62351:function(mt,W,y){"use strict";y.d(W,{Nn:function(){return H},Nt:function(){return Q},fi:function(){return V},zp:function(){return J}});var d=y(14171),u=y(44276),x=(v,h,w)=>new Promise((E,K)=>{var D=C=>{try{O(w.next(C))}catch(T){K(T)}},b=C=>{try{O(w.throw(C))}catch(T){K(T)}},O=C=>C.done?E(C.value):Promise.resolve(C.value).then(D,b);O((w=w.apply(v,h)).next())});const tt=["https://info1.edge.app","https://info2.edge.app"];function U(v,h,w){return x(this,arguments,function*(E,K,D,b=5e3,O=fetch){const C=E.map(T=>()=>x(this,null,function*(){const z=yield O(T+"/"+K,D);if(typeof z!="object"){const X=`Invalid return value ${K} in ${T}`;throw console.log(X),new Error(X)}return z}));return yield(0,d.NN)(C,b)})}function J(v,h,w,E,K=5e3,D){return x(this,null,function*(){const b=yield U((0,u.R3)(h),w,E,K,D);if(!b.ok){const T=yield b.text();throw console.error(T),new Error(`Error fetching ${w}: ${T}`)}const O=yield b.json();return v(O)})}function et(v,h,w,E=5e3,K){return x(this,null,function*(){return yield U((0,u.R3)(v),h,w,E,K)})}const H=(v,h,w,E)=>x(void 0,null,function*(){return yield et(tt,v,h,w,E)}),Q=v=>Object.keys(v).map(h=>{const w=v[h];return w==null?h:`${h}=${encodeURIComponent(w)}`}).join("&"),V=(v,h=5e3)=>v+Math.random()*h*2-h},17792:function(mt,W,y){"use strict";y.r(W),y.d(W,{SolanaTools:function(){return yt},isValidAddress:function(){return Y},makeCurrencyEngine:function(){return Ct},makeCurrencyTools:function(){return Ot},updateInfoPayload:function(){return Nt}});var d=y(43322),u=y(66001),x=y(90749),tt=y(16763),U=y.n(tt),J=y(48287),et=y(37680),H=y(65828),Q=y(14483),V=y(96542),v=y(44276),h=y(49841),w=y(8197),E=y(9646),K=y(76556),D=y(99818),b=y(82671),O=y(26277),C=y(62351),T=y(14171),z=y(48287).Buffer,X=Object.defineProperty,pt=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,gt=Object.getPrototypeOf,wt=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,Tt=Reflect.get,at=(i,t,e)=>t in i?X(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,lt=(i,t)=>{for(var e in t||(t={}))wt.call(t,e)&&at(i,e,t[e]);if(ct)for(var e of ct(t))vt.call(t,e)&&at(i,e,t[e]);return i},It=(i,t)=>pt(i,kt(t)),ut=(i,t,e)=>Tt(gt(i),e,t),m=(i,t,e)=>new Promise((n,o)=>{var s=a=>{try{c(e.next(a))}catch(k){o(k)}},r=a=>{try{c(e.throw(a))}catch(k){o(k)}},c=a=>a.done?n(a.value):Promise.resolve(a.value).then(s,r);c((e=e.apply(i,t)).next())});const Pt=(0,C.fi)(2e4),nt=(0,C.fi)(2e4),bt=(0,C.fi)(2e4);class q extends O.k{constructor(t,e,n,o){var s;super(t,e,n,o),this.lightMode=(s=o.lightMode)!=null?s:!1,this.networkInfo=t.networkInfo,this.chainCode=e.currencyInfo.currencyCode,this.fetch=(r,c)=>m(this,null,function*(){return yield t.io.fetch(r,It(lt({},c),{corsBypass:"always"}))}),this.feePerSignature="5000",this.priorityFee="0",this.recentBlockhash="",this.base58PublicKey=n.keys.publicKey,this.progressRatio=0,this.addressCache=new Map,this.minimumAddressBalance="0"}setOtherData(t){this.otherData=(0,h._$)(t)}fetchRpcBulk(t,e){return m(this,null,function*(){const n={method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t.map((r,c)=>lt({jsonrpc:"2.0",id:c+1},r)))},s=(e!=null?e:this.networkInfo.rpcNodes).map(r=>()=>m(this,null,function*(){r=this.tools.rpcWithApiKey(r);const c=yield this.fetch(r,n);if(!c.ok)throw new Error(`fetchRpc ${n.method} failed error: ${c.status}`);return yield c.json()}));return yield(0,T.NN)(s)})}queryBalance(){return m(this,null,function*(){var t,e,n;try{const o=[{method:"getBalance",params:[this.base58PublicKey,{commitment:this.networkInfo.commitment}]}],s=[...Object.keys(this.allTokensMap)],r=new d.J3(this.base58PublicKey),c=new d.J3(this.networkInfo.tokenPublicKey),a=new d.J3(this.networkInfo.associatedTokenPublicKey);for(const P of s){const f=(0,w.Xt)(new d.J3(P),r,!1,c,a);o.push({method:"getTokenAccountBalance",params:[f.toBase58(),{commitment:this.networkInfo.commitment,encoding:"jsonParsed"}]})}const k=yield this.fetchRpcBulk(o),[p,...S]=k,g=(0,h.GC)(p);this.updateBalance(this.chainCode,g.result.value.toString());const A=[];for(const[P,f]of s.entries()){const l=(0,D.HS)(h.Ek)(S[P]),I=(n=(e=(t=l==null?void 0:l.result)==null?void 0:t.value)==null?void 0:e.amount)!=null?n:"0";this.updateBalance(this.allTokensMap[f].currencyCode,I),(0,u.gt)(I,"0")&&A.push(f)}A.length>0&&this.currencyEngineCallbacks.onNewTokens(A)}catch(o){this.error(`Error checking ${this.chainCode} address balance`,o)}})}queryBlockheight(){return m(this,null,function*(){try{const t=this.tools.connections.map(n=>()=>m(this,null,function*(){return yield n.getSlot()})),e=yield(0,T.NN)(t);e>this.walletLocalData.blockHeight&&(this.walletLocalData.blockHeight=e,this.walletLocalDataDirty=!0,this.currencyEngineCallbacks.onBlockHeightChanged(this.walletLocalData.blockHeight))}catch(t){this.error("queryBlockheight Error ",t)}})}queryMinimumBalance(){return m(this,null,function*(){try{const t=this.tools.connections.map(n=>()=>m(this,null,function*(){return yield n.getMinimumBalanceForRentExemption(50)})),e=yield(0,T.NN)(t);this.minimumAddressBalance=e.toString()}catch(t){this.error("queryMinimumBalance Error ",t)}})}queryFee(){return m(this,null,function*(){try{const t=this.tools.connections.map(o=>()=>m(this,null,function*(){return yield o.getRecentPrioritizationFees()})),n=(yield(0,T.NN)(t)).sort((o,s)=>o.slot-s.slot)[0];this.priorityFee=n.prioritizationFee.toString()}catch(t){this.error("queryFee Error ",t)}})}queryBlockhash(){return m(this,null,function*(){try{const n=(yield Promise.allSettled(this.tools.connections.map(o=>m(this,null,function*(){return yield o.getLatestBlockhash({commitment:"finalized"})})))).filter(o=>o.status!=="rejected").sort((o,s)=>s.value.lastValidBlockHeight-o.value.lastValidBlockHeight)[0];if(n==null)throw new Error("No valid blockhash found");this.recentBlockhash=n.value.blockhash}catch(t){this.error("queryBlockhash Error ",t)}})}processSolanaTransaction(t,e,n,o){const s=[],{amount:r,networkFee:c,parentNetworkFee:a,tokenId:k=null}=e,p=k!=null?this.allTokensMap[k].currencyCode:this.chainCode;(0,u.gte)(r,"0")&&s.push(this.base58PublicKey);const S={blockHeight:t.slot,currencyCode:p,date:n,isSend:r.startsWith("-"),memos:o.map(g=>({type:"text",value:g})),nativeAmount:r,networkFee:c,networkFees:[],ourReceiveAddresses:s,parentNetworkFee:a,signedTx:"",tokenId:k,txid:t.transaction.signatures[0],walletId:this.walletId};this.addTransaction(p,S)}parseTxAmounts(t,e){var n;const o=[],s=t.transaction.message.staticAccountKeys.findIndex(l=>l.equals(e));if(s<0||t.meta==null)return o;const{fee:r,preBalances:c,postBalances:a,preTokenBalances:k,postTokenBalances:p}=t.meta,S=k!=null?k:[],g=p!=null?p:[],A=r.toString();if(this.base58PublicKey===e.toBase58()){const l=(a[s]-c[s]).toString();if(l!=="0"){const I=(0,u.lt)(l,"0");o.push({amount:l,networkFee:I?A:"0"})}}const P=l=>l.owner!==this.base58PublicKey||this.allTokensMap[l.mint]==null,f=new Map;for(const l of g)l==null||P(l)||f.set(l.mint,l.uiTokenAmount.amount);for(const l of S){if(l==null||P(l))continue;const I=(n=f.get(l.mint))!=null?n:"0";f.set(l.mint,(0,u.sub)(I,l.uiTokenAmount.amount))}return f.forEach((l,I)=>{o.push({amount:l,networkFee:"0",parentNetworkFee:(0,u.lt)(l,"0")?A:void 0,tokenId:I})}),o}queryTransactions(){return m(this,null,function*(){const t=new d.J3(this.base58PublicKey),e=new Set([[this.currencyInfo.currencyCode,t]]);for(const n of this.enabledTokenIds){const o=(0,w.Xt)(new d.J3(n),t,!1,new d.J3(this.networkInfo.tokenPublicKey),new d.J3(this.networkInfo.associatedTokenPublicKey)),s=this.allTokensMap[n].currencyCode;e.add([s,o])}for(const n of e){const[o,s]=n;yield this.queryTransactionsInner(o,s)}})}queryTransactionsInner(t,e){return m(this,null,function*(){var n;let o;const s=this.otherData.newestTxid[t]!==""?this.otherData.newestTxid[t]:void 0;let r=[];try{for(;;){const p=this.tools.archiveConnections.map(g=>()=>m(this,null,function*(){return yield g.getSignaturesForAddress(e,{until:s,before:o,limit:this.networkInfo.txQueryLimit})})),S=yield(0,T.NN)(p);if(r=r.concat(S),S.length<this.networkInfo.txQueryLimit)break;o=S[this.networkInfo.txQueryLimit-1].signature}}catch(p){this.error("getTransactionSignatures failed with error: ",p);return}if(r.length===0){this.updateTxStatus(t,1);return}const c=50;let a=0;const k=r.map(p=>p.signature).reverse();for(let p=0;p<k.length;p+=c){const S=this.tools.archiveConnections.map(f=>()=>m(this,null,function*(){return yield f.getTransactions(k,{commitment:this.networkInfo.commitment,maxSupportedTransactionVersion:0})})),g=yield(0,T.NN)(S),A=g.map(f=>({method:"getBlockTime",params:[f.slot]})),P=yield this.fetchRpcBulk(A,this.networkInfo.rpcNodesArchival);for(let f=0;f<g.length;f++){if(((n=g[f].meta)==null?void 0:n.err)!=null)continue;const l=r.find(L=>L.signature===g[f].transaction.signatures[0]),I=[];if((l==null?void 0:l.memo)!=null){const L=/^\[\d+\]\s(.*)$/,M=l.memo.match(L);M!=null&&I.push(M[1])}this.parseTxAmounts(g[f],e).forEach(L=>{this.processSolanaTransaction(g[f],L,(0,h.Ft)(P[f]).result,I),a++}),this.otherData.newestTxid[t]=r[f].signature;const F=1-a/r.length;F!==this.progressRatio&&(Math.abs(F-this.progressRatio)>.25||F===1)&&(this.progressRatio=F,this.updateTxStatus(t,this.progressRatio))}}this.walletLocalDataDirty=!0,this.updateTxStatus(t,1),this.transactionsChangedArray.length>0&&(this.currencyEngineCallbacks.onTransactionsChanged(this.transactionsChangedArray),this.transactionsChangedArray=[])})}updateTxStatus(t,e){this.tokenCheckTransactionsStatus[t]=e,this.updateOnAddressesChecked()}startEngine(){return m(this,null,function*(){if(this.engineOn=!0,yield this.tools.connectClient(),this.addToLoop("queryBlockheight",nt).catch(()=>{}),this.addToLoop("queryMinimumBalance",nt).catch(()=>{}),this.addToLoop("queryFee",nt).catch(()=>{}),this.queryBlockhash().catch(()=>{}),this.addToLoop("queryBalance",Pt).catch(()=>{}),this.lightMode){this.tokenCheckTransactionsStatus[this.currencyInfo.currencyCode]=1;for(const t of Object.values(this.allTokensMap))this.tokenCheckTransactionsStatus[t.currencyCode]=1}else this.addToLoop("queryTransactions",bt).catch(()=>{});yield ut(q.prototype,this,"startEngine").call(this)})}killEngine(){return m(this,null,function*(){yield this.tools.disconnectClient(),yield ut(q.prototype,this,"killEngine").call(this)})}resyncBlockchain(){return m(this,null,function*(){yield this.killEngine(),yield this.clearBlockchainCache(),yield this.startEngine()})}getMaxSpendable(t){return m(this,null,function*(){const{tokenId:e}=t,n=this.getBalance({tokenId:e});t.spendTargets[0].nativeAmount="1";const o=yield this.makeSpend(t);let s;if(e==null)s=(0,u.sub)((0,u.sub)(n,o.networkFee),this.minimumAddressBalance);else{const r=this.getBalance({tokenId:null}),c=(0,u.sub)(r,o.networkFee);if((0,u.lt)((0,u.sub)(c,this.minimumAddressBalance),"0"))throw new b.k5({networkFee:this.feePerSignature,tokenId:null});s=n}if((0,u.lt)(s,"0"))throw new b.k5({tokenId:e});return s})}makeSpend(t){return m(this,null,function*(){var e,n,o,s,r;const{edgeSpendInfo:c,currencyCode:a}=this.makeSpendCheck(t),{customNetworkFee:k,memos:p=[],networkFeeOption:S,tokenId:g,otherParams:A={}}=c;if(c.spendTargets.length!==1)throw new Error("Error: only one output allowed");const{nativeAmount:P,publicAddress:f}=c.spendTargets[0];if(f==null)throw new Error("makeSpend Missing publicAddress");if(P==null)throw new b.ef;const l=g!=null;let I="0",N=this.feePerSignature,F;const L=(e=this.walletLocalData.totalBalances[a])!=null?e:"0",M=new d.J3(this.base58PublicKey),ot=new d.J3(f),Z=new d.J3(this.networkInfo.tokenPublicKey),st=new d.J3(this.networkInfo.associatedTokenPublicKey),j=[];let $="0";switch(S){case"low":$=(0,u.max)("0",(0,u.mul)(this.priorityFee,"0.75"));break;case"standard":$=this.priorityFee;break;case"high":$=(0,u.max)("1",(0,u.mul)(this.priorityFee,"1.25"));break;case"custom":{$=(0,h.CB)(k).microLamports;break}}if((0,u.gt)($,"0")){const R=d.d_.setComputeUnitPrice({microLamports:parseInt($)});j.push(R),N=(0,u.add)(N,$)}if(l){const R=new d.J3(g),rt=(0,w.Xt)(R,ot,!1,Z,st);let _=this.addressCache.get(f);if(_===void 0){const it=this.tools.connections.map(Jt=>()=>m(this,null,function*(){return yield Jt.getAccountInfo(rt,this.networkInfo.commitment)}));(yield(0,T.NN)(it))==null?(_=!1,this.addressCache.set(f,!1)):(_=!0,this.addressCache.set(f,!0))}if(!_){const it=(0,E.JA)(M,rt,ot,R,Z,st);j.push(it),N=(0,u.add)(N,this.feePerSignature)}if(F=N,N="0",I=P,(0,u.gt)(P,L))throw new b.k5({tokenId:g});const Dt=(n=this.walletLocalData.totalBalances[this.chainCode])!=null?n:"0";if((0,u.gt)((0,u.add)(F,this.minimumAddressBalance),Dt))throw new b.k5({networkFee:F,tokenId:null});const $t=(0,w.Xt)(R,M,!1,Z,st),jt=(0,K.C3)($t,rt,M,BigInt(P),[],Z);j.push(jt)}else{I=(0,u.add)(P,N);const R=d.yq.transfer({fromPubkey:M,toPubkey:ot,lamports:parseInt(P)});j.push(R)}if(!(g!=null&&(0,u.eq)(I,L))){if((0,u.gt)((0,u.add)(I,this.minimumAddressBalance),L))throw new b.k5({tokenId:g})}if(((o=p[0])==null?void 0:o.type)==="text"){const R=new d.fH({keys:[{pubkey:M,isSigner:!0,isWritable:!0}],programId:new d.J3(this.networkInfo.memoPublicKey),data:z.from(p[0].value,"utf-8")});j.push(R)}this.recentBlockhash===""&&(yield this.queryBlockhash());const Ft=d.Wr.compile({instructions:j,payerKey:M,recentBlockhash:this.recentBlockhash}),Lt=new d.Kt(Ft),Mt=(r=(s=(0,h.PT)(A))==null?void 0:s.unsignedTx)!=null?r:Lt.serialize(),Rt=(0,h.c_)({unsignedTx:Mt});return{blockHeight:0,currencyCode:a,date:0,isSend:!0,memos:p,nativeAmount:(0,u.mul)(I,"-1"),networkFee:N,networkFees:[],otherParams:Rt,ourReceiveAddresses:[],parentNetworkFee:F,signedTx:"",tokenId:g,txid:"",walletId:this.walletId}})}signTx(t,e){return m(this,null,function*(){const n=(0,h.aY)(this.currencyInfo.pluginId)(e),{unsignedTx:o}=(0,h.fQ)((0,v.Je)(t)),s=d.Kt.deserialize(o);yield this.queryBlockhash(),s.message.recentBlockhash=this.recentBlockhash;const r=d.AX.fromSecretKey(H.xn.parse(n.privateKey));return s.sign([{publicKey:r.publicKey,secretKey:r.secretKey}]),t.signedTx=H.K3.stringify(s.serialize()),this.warn(`signTx
|
|
2
|
+
${(0,v.T5)(t)}`),this.addressCache=new Map(Array.from(this.addressCache.entries()).filter(([c,a])=>a)),t})}broadcastTx(t){return m(this,null,function*(){if(t.signedTx==null)throw new Error("Missing signedTx");const e=this.tools.makeConnections(this.networkInfo.stakedConnectionRpcNodes),n=[...this.tools.connections,...e];try{const o=n.map(r=>m(this,null,function*(){return yield r.sendEncodedTransaction(t.signedTx)})),s=yield(0,T.QR)(o);t.txid=s,t.date=Date.now()/1e3,this.warn(`SUCCESS broadcastTx
|
|
3
|
+
${(0,v.T5)(t)}`)}catch(o){throw this.warn("FAILURE broadcastTx failed: ",o),o}return t})}}function Ct(i,t,e,n){return m(this,null,function*(){const o=(0,h.BW)(e),s=new q(i,t,o,n);return yield s.loadEngine(),s})}var Bt=Object.defineProperty,St=Object.defineProperties,Et=Object.getOwnPropertyDescriptors,G=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,ft=(i,t,e)=>t in i?Bt(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,Kt=(i,t)=>{for(var e in t||(t={}))ht.call(t,e)&&ft(i,e,t[e]);if(G)for(var e of G(t))dt.call(t,e)&&ft(i,e,t[e]);return i},At=(i,t)=>St(i,Et(t)),xt=(i,t)=>{var e={};for(var n in i)ht.call(i,n)&&t.indexOf(n)<0&&(e[n]=i[n]);if(i!=null&&G)for(var n of G(i))t.indexOf(n)<0&&dt.call(i,n)&&(e[n]=i[n]);return e},B=(i,t,e)=>new Promise((n,o)=>{var s=a=>{try{c(e.next(a))}catch(k){o(k)}},r=a=>{try{c(e.throw(a))}catch(k){o(k)}},c=a=>a.done?n(a.value):Promise.resolve(a.value).then(s,r);c((e=e.apply(i,t)).next())});const Y=i=>{try{return d.J3.isOnCurve(new d.J3(i).toBytes()),!0}catch{}return!1};class yt{constructor(t){const{builtinTokens:e,currencyInfo:n,io:o,log:s,networkInfo:r}=t;this.builtinTokens=e,this.currencyInfo=n,this.io=o,this.log=s,this.networkInfo=r,this.initOptions=(0,h.Tk)(t.initOptions),this.connections=[],this.archiveConnections=[],this.clientCount=0}getDisplayPrivateKey(t){return B(this,null,function*(){var e,n;const{pluginId:o}=this.currencyInfo,s=(0,h.aY)(o)(t.keys);return(n=(e=s.mnemonic)!=null?e:s.base58Key)!=null?n:s.privateKey})}getDisplayPublicKey(t){return B(this,null,function*(){const{keys:e}=(0,h.BW)(t);return e.publicKey})}importPrivateKey(t){return B(this,null,function*(){const{pluginId:e}=this.currencyInfo;if((0,x.validateMnemonic)(t)){const n=yield(0,x.mnemonicToSeed)(t),o=et.derivePath(this.networkInfo.derivationPath,H.xn.stringify(n)).key,s=d.AX.fromSeed(Uint8Array.from(o));return{[`${e}Mnemonic`]:t,[`${e}Key`]:J.Buffer.from(s.secretKey).toString("hex"),publicKey:s.publicKey.toBase58()}}else{const n=U().decode(t),o=yield d.AX.fromSecretKey(n);return{[`${e}Base58Key`]:t,[`${e}Key`]:J.Buffer.from(o.secretKey).toString("hex"),publicKey:o.publicKey.toBase58()}}})}createPrivateKey(t){return B(this,null,function*(){if(t!==this.currencyInfo.walletType)throw new Error("InvalidWalletType");const e=J.Buffer.from(this.io.random(32)),n=(0,x.entropyToMnemonic)(e);return yield this.importPrivateKey(n)})}derivePublicKey(t){return B(this,null,function*(){var e;const{pluginId:n}=this.currencyInfo;if(t.type!==this.currencyInfo.walletType)throw new Error("InvalidWalletType");return{publicKey:(yield this.importPrivateKey((e=t.keys[`${n}Mnemonic`])!=null?e:t.keys[`${n}Base58Key`])).publicKey.toString()}})}parseUri(t,e,n){return B(this,null,function*(){const{pluginId:o}=this.currencyInfo,s={[o]:!0},{parsedUri:r,edgeParsedUri:c}=yield(0,V.x)({currencyInfo:this.currencyInfo,uri:t,networks:s,builtinTokens:this.builtinTokens,currencyCode:e!=null?e:this.currencyInfo.currencyCode,customTokens:n,testPrivateKeys:this.importPrivateKey.bind(this)});if(c.privateKeys!=null)return c;if(c.publicAddress!=null&&!Y(c.publicAddress))throw new Error("InvalidPublicAddressError");return c.uniqueIdentifier=r.query.memo,c})}encodeUri(t){return B(this,arguments,function*(e,n=[]){const{pluginId:o}=this.currencyInfo,{nativeAmount:s,currencyCode:r,publicAddress:c}=e;if(!Y(c))throw new Error("InvalidPublicAddressError");let a;if(typeof s=="string"){const p=(0,v.FQ)(r!=null?r:this.currencyInfo.currencyCode,this.currencyInfo,n,this.builtinTokens);if(p==null)throw new Error("InternalErrorInvalidCurrencyCode");a=(0,u.div)(s,p.multiplier,18)}return(0,V.m)(e,o,a)})}rpcWithApiKey(t){const e=this.initOptions,o=/{{(.*)}}/g.exec(t);if(o!=null){const s=o[1],r=e[s];if(typeof r=="string")t=t.replace(o[0],r);else throw r==null?new Error(`Missing ${s} in 'initOptions' for ${this.currencyInfo.pluginId}`):new Error("Incorrect apikey type for RPC")}return t}makeConnections(t){const e=(s,r)=>B(this,null,function*(){return yield this.io.fetch(s,At(Kt({},r),{corsBypass:"always"}))}),n={commitment:this.networkInfo.commitment,fetch:e},o=[];for(const s of t)try{const r=new d.Ng(this.rpcWithApiKey(s),n);o.push(r)}catch(r){this.log.warn("Error creating connection",r)}return o}connectClient(){return B(this,null,function*(){this.clientCount===0&&(this.connections=this.makeConnections(this.networkInfo.rpcNodes),this.archiveConnections=this.makeConnections(this.networkInfo.rpcNodesArchival)),++this.clientCount})}disconnectClient(){return B(this,null,function*(){--this.clientCount,this.clientCount===0&&(this.connections=[],this.archiveConnections=[])})}getTokenId(t){return B(this,null,function*(){(0,Q.k9)(t);const e=(0,Q.oQ)(t.networkLocation);if(e==null||!Y(e.contractAddress))throw new Error("ErrorInvalidContractAddress");return e.contractAddress})}}function Ot(i){return B(this,null,function*(){return new yt(i)})}function Nt(i,t){return B(this,null,function*(){const e=xt(t,[]);i.networkInfo=(0,v.wy)(i.networkInfo,e)})}},15340:function(){},79838:function(){},71281:function(){}}]);
|
|
@@ -43,8 +43,8 @@ const currencyInfo = {
|
|
|
43
43
|
walletType: 'wallet:algorand',
|
|
44
44
|
|
|
45
45
|
// Explorers:
|
|
46
|
-
addressExplorer: 'https://
|
|
47
|
-
transactionExplorer: 'https://
|
|
46
|
+
addressExplorer: 'https://allo.info/account/%s',
|
|
47
|
+
transactionExplorer: 'https://allo.info/tx/%s',
|
|
48
48
|
|
|
49
49
|
customFeeTemplate: [
|
|
50
50
|
{
|
|
@@ -92,7 +92,8 @@ const TRANSACTION_POLL_MILLISECONDS = _network.getRandomDelayMs.call(void 0, 200
|
|
|
92
92
|
this.lightMode = _nullishCoalesce(opts.lightMode, () => ( false))
|
|
93
93
|
this.networkInfo = env.networkInfo
|
|
94
94
|
this.chainCode = tools.currencyInfo.currencyCode
|
|
95
|
-
this.
|
|
95
|
+
this.fetch = async (uri, opts) =>
|
|
96
|
+
await env.io.fetch(uri, { ...opts, corsBypass: 'always' })
|
|
96
97
|
this.feePerSignature = '5000'
|
|
97
98
|
this.priorityFee = '0'
|
|
98
99
|
this.recentBlockhash = '' // must be < ~2min old to send tx
|
|
@@ -124,7 +125,7 @@ const TRANSACTION_POLL_MILLISECONDS = _network.getRandomDelayMs.call(void 0, 200
|
|
|
124
125
|
const rpcNodes = _nullishCoalesce(overrideRpcNodes, () => ( this.networkInfo.rpcNodes))
|
|
125
126
|
const funcs = rpcNodes.map(serverUrl => async () => {
|
|
126
127
|
serverUrl = this.tools.rpcWithApiKey(serverUrl)
|
|
127
|
-
const res = await this.
|
|
128
|
+
const res = await this.fetch(serverUrl, options)
|
|
128
129
|
if (!res.ok) {
|
|
129
130
|
throw new Error(
|
|
130
131
|
`fetchRpc ${options.method} failed error: ${res.status}`
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
|
|
6
7
|
var _web3js = require('@solana/web3.js');
|
|
7
8
|
var _biggystring = require('biggystring');
|
|
8
9
|
var _bip39 = require('bip39');
|
|
@@ -22,6 +23,7 @@ var _ed25519hdkey = require('ed25519-hd-key'); var ed25519 = _interopRequireWild
|
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
|
|
26
|
+
|
|
25
27
|
var _rfc4648 = require('rfc4648');
|
|
26
28
|
|
|
27
29
|
|
|
@@ -216,10 +218,14 @@ var _solanaTypes = require('./solanaTypes');
|
|
|
216
218
|
}
|
|
217
219
|
|
|
218
220
|
makeConnections(rpcUrls) {
|
|
221
|
+
const fetchCorsBypassed = async (uri, opts) =>
|
|
222
|
+
await this.io.fetch(uri, {
|
|
223
|
+
...opts,
|
|
224
|
+
corsBypass: 'always'
|
|
225
|
+
})
|
|
219
226
|
const connectionConfig = {
|
|
220
227
|
commitment: this.networkInfo.commitment,
|
|
221
|
-
|
|
222
|
-
fetch: this.io.fetchCors
|
|
228
|
+
fetch: fetchCorsBypassed
|
|
223
229
|
}
|
|
224
230
|
|
|
225
231
|
const out = []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edge-currency-accountbased",
|
|
3
|
-
"version": "4.31.
|
|
3
|
+
"version": "4.31.3",
|
|
4
4
|
"description": "Edge currency plugin for account based currencies",
|
|
5
5
|
"homepage": "https://edge.app/",
|
|
6
6
|
"repository": {
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"chai": "^4.2.0",
|
|
144
144
|
"clipanion": "^4.0.0-rc.2",
|
|
145
145
|
"crypto-browserify": "^3.12.0",
|
|
146
|
-
"edge-core-js": "^2.
|
|
146
|
+
"edge-core-js": "^2.22.0",
|
|
147
147
|
"esbuild-loader": "^2.20.0",
|
|
148
148
|
"eslint": "^8.19.0",
|
|
149
149
|
"eslint-config-standard-kit": "0.15.1",
|