@subwallet/chain-list 0.2.113-beta.0-pr-549-cace5a0a → 0.2.113-beta.0-pr-550-8675c811

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.
@@ -6,336 +6,142 @@
6
6
 
7
7
  const global = window;
8
8
 
9
- class Md5 {
10
- constructor() {
11
- this._dataLength = 0;
12
- this._bufferLength = 0;
13
- this._state = new Int32Array(4);
14
- this._buffer = new ArrayBuffer(68);
15
- this._buffer8 = new Uint8Array(this._buffer, 0, 68);
16
- this._buffer32 = new Uint32Array(this._buffer, 0, 17);
17
- this.start();
9
+ const c = new Int32Array(4);
10
+ class h {
11
+ static hashStr(i, a = !1) {
12
+ return this.onePassHasher.start().appendStr(i).end(a);
13
+ }
14
+ static hashAsciiStr(i, a = !1) {
15
+ return this.onePassHasher.start().appendAsciiStr(i).end(a);
16
+ }
17
+ static stateIdentity = new Int32Array([
18
+ 1732584193,
19
+ -271733879,
20
+ -1732584194,
21
+ 271733878
22
+ ]);
23
+ static buffer32Identity = new Int32Array([
24
+ 0,
25
+ 0,
26
+ 0,
27
+ 0,
28
+ 0,
29
+ 0,
30
+ 0,
31
+ 0,
32
+ 0,
33
+ 0,
34
+ 0,
35
+ 0,
36
+ 0,
37
+ 0,
38
+ 0,
39
+ 0
40
+ ]);
41
+ static hexChars = "0123456789abcdef";
42
+ static hexOut = [];
43
+ static onePassHasher = new h();
44
+ static _hex(i) {
45
+ const a = h.hexChars, t = h.hexOut;
46
+ let e, s, r, n;
47
+ for (n = 0; n < 4; n += 1)
48
+ for (s = n * 8, e = i[n], r = 0; r < 8; r += 2)
49
+ t[s + 1 + r] = a.charAt(e & 15), e >>>= 4, t[s + 0 + r] = a.charAt(e & 15), e >>>= 4;
50
+ return t.join("");
51
+ }
52
+ static _md5cycle(i, a) {
53
+ let t = i[0], e = i[1], s = i[2], r = i[3];
54
+ t += (e & s | ~e & r) + a[0] - 680876936 | 0, t = (t << 7 | t >>> 25) + e | 0, r += (t & e | ~t & s) + a[1] - 389564586 | 0, r = (r << 12 | r >>> 20) + t | 0, s += (r & t | ~r & e) + a[2] + 606105819 | 0, s = (s << 17 | s >>> 15) + r | 0, e += (s & r | ~s & t) + a[3] - 1044525330 | 0, e = (e << 22 | e >>> 10) + s | 0, t += (e & s | ~e & r) + a[4] - 176418897 | 0, t = (t << 7 | t >>> 25) + e | 0, r += (t & e | ~t & s) + a[5] + 1200080426 | 0, r = (r << 12 | r >>> 20) + t | 0, s += (r & t | ~r & e) + a[6] - 1473231341 | 0, s = (s << 17 | s >>> 15) + r | 0, e += (s & r | ~s & t) + a[7] - 45705983 | 0, e = (e << 22 | e >>> 10) + s | 0, t += (e & s | ~e & r) + a[8] + 1770035416 | 0, t = (t << 7 | t >>> 25) + e | 0, r += (t & e | ~t & s) + a[9] - 1958414417 | 0, r = (r << 12 | r >>> 20) + t | 0, s += (r & t | ~r & e) + a[10] - 42063 | 0, s = (s << 17 | s >>> 15) + r | 0, e += (s & r | ~s & t) + a[11] - 1990404162 | 0, e = (e << 22 | e >>> 10) + s | 0, t += (e & s | ~e & r) + a[12] + 1804603682 | 0, t = (t << 7 | t >>> 25) + e | 0, r += (t & e | ~t & s) + a[13] - 40341101 | 0, r = (r << 12 | r >>> 20) + t | 0, s += (r & t | ~r & e) + a[14] - 1502002290 | 0, s = (s << 17 | s >>> 15) + r | 0, e += (s & r | ~s & t) + a[15] + 1236535329 | 0, e = (e << 22 | e >>> 10) + s | 0, t += (e & r | s & ~r) + a[1] - 165796510 | 0, t = (t << 5 | t >>> 27) + e | 0, r += (t & s | e & ~s) + a[6] - 1069501632 | 0, r = (r << 9 | r >>> 23) + t | 0, s += (r & e | t & ~e) + a[11] + 643717713 | 0, s = (s << 14 | s >>> 18) + r | 0, e += (s & t | r & ~t) + a[0] - 373897302 | 0, e = (e << 20 | e >>> 12) + s | 0, t += (e & r | s & ~r) + a[5] - 701558691 | 0, t = (t << 5 | t >>> 27) + e | 0, r += (t & s | e & ~s) + a[10] + 38016083 | 0, r = (r << 9 | r >>> 23) + t | 0, s += (r & e | t & ~e) + a[15] - 660478335 | 0, s = (s << 14 | s >>> 18) + r | 0, e += (s & t | r & ~t) + a[4] - 405537848 | 0, e = (e << 20 | e >>> 12) + s | 0, t += (e & r | s & ~r) + a[9] + 568446438 | 0, t = (t << 5 | t >>> 27) + e | 0, r += (t & s | e & ~s) + a[14] - 1019803690 | 0, r = (r << 9 | r >>> 23) + t | 0, s += (r & e | t & ~e) + a[3] - 187363961 | 0, s = (s << 14 | s >>> 18) + r | 0, e += (s & t | r & ~t) + a[8] + 1163531501 | 0, e = (e << 20 | e >>> 12) + s | 0, t += (e & r | s & ~r) + a[13] - 1444681467 | 0, t = (t << 5 | t >>> 27) + e | 0, r += (t & s | e & ~s) + a[2] - 51403784 | 0, r = (r << 9 | r >>> 23) + t | 0, s += (r & e | t & ~e) + a[7] + 1735328473 | 0, s = (s << 14 | s >>> 18) + r | 0, e += (s & t | r & ~t) + a[12] - 1926607734 | 0, e = (e << 20 | e >>> 12) + s | 0, t += (e ^ s ^ r) + a[5] - 378558 | 0, t = (t << 4 | t >>> 28) + e | 0, r += (t ^ e ^ s) + a[8] - 2022574463 | 0, r = (r << 11 | r >>> 21) + t | 0, s += (r ^ t ^ e) + a[11] + 1839030562 | 0, s = (s << 16 | s >>> 16) + r | 0, e += (s ^ r ^ t) + a[14] - 35309556 | 0, e = (e << 23 | e >>> 9) + s | 0, t += (e ^ s ^ r) + a[1] - 1530992060 | 0, t = (t << 4 | t >>> 28) + e | 0, r += (t ^ e ^ s) + a[4] + 1272893353 | 0, r = (r << 11 | r >>> 21) + t | 0, s += (r ^ t ^ e) + a[7] - 155497632 | 0, s = (s << 16 | s >>> 16) + r | 0, e += (s ^ r ^ t) + a[10] - 1094730640 | 0, e = (e << 23 | e >>> 9) + s | 0, t += (e ^ s ^ r) + a[13] + 681279174 | 0, t = (t << 4 | t >>> 28) + e | 0, r += (t ^ e ^ s) + a[0] - 358537222 | 0, r = (r << 11 | r >>> 21) + t | 0, s += (r ^ t ^ e) + a[3] - 722521979 | 0, s = (s << 16 | s >>> 16) + r | 0, e += (s ^ r ^ t) + a[6] + 76029189 | 0, e = (e << 23 | e >>> 9) + s | 0, t += (e ^ s ^ r) + a[9] - 640364487 | 0, t = (t << 4 | t >>> 28) + e | 0, r += (t ^ e ^ s) + a[12] - 421815835 | 0, r = (r << 11 | r >>> 21) + t | 0, s += (r ^ t ^ e) + a[15] + 530742520 | 0, s = (s << 16 | s >>> 16) + r | 0, e += (s ^ r ^ t) + a[2] - 995338651 | 0, e = (e << 23 | e >>> 9) + s | 0, t += (s ^ (e | ~r)) + a[0] - 198630844 | 0, t = (t << 6 | t >>> 26) + e | 0, r += (e ^ (t | ~s)) + a[7] + 1126891415 | 0, r = (r << 10 | r >>> 22) + t | 0, s += (t ^ (r | ~e)) + a[14] - 1416354905 | 0, s = (s << 15 | s >>> 17) + r | 0, e += (r ^ (s | ~t)) + a[5] - 57434055 | 0, e = (e << 21 | e >>> 11) + s | 0, t += (s ^ (e | ~r)) + a[12] + 1700485571 | 0, t = (t << 6 | t >>> 26) + e | 0, r += (e ^ (t | ~s)) + a[3] - 1894986606 | 0, r = (r << 10 | r >>> 22) + t | 0, s += (t ^ (r | ~e)) + a[10] - 1051523 | 0, s = (s << 15 | s >>> 17) + r | 0, e += (r ^ (s | ~t)) + a[1] - 2054922799 | 0, e = (e << 21 | e >>> 11) + s | 0, t += (s ^ (e | ~r)) + a[8] + 1873313359 | 0, t = (t << 6 | t >>> 26) + e | 0, r += (e ^ (t | ~s)) + a[15] - 30611744 | 0, r = (r << 10 | r >>> 22) + t | 0, s += (t ^ (r | ~e)) + a[6] - 1560198380 | 0, s = (s << 15 | s >>> 17) + r | 0, e += (r ^ (s | ~t)) + a[13] + 1309151649 | 0, e = (e << 21 | e >>> 11) + s | 0, t += (s ^ (e | ~r)) + a[4] - 145523070 | 0, t = (t << 6 | t >>> 26) + e | 0, r += (e ^ (t | ~s)) + a[11] - 1120210379 | 0, r = (r << 10 | r >>> 22) + t | 0, s += (t ^ (r | ~e)) + a[2] + 718787259 | 0, s = (s << 15 | s >>> 17) + r | 0, e += (r ^ (s | ~t)) + a[9] - 343485551 | 0, e = (e << 21 | e >>> 11) + s | 0, i[0] = t + i[0] | 0, i[1] = e + i[1] | 0, i[2] = s + i[2] | 0, i[3] = r + i[3] | 0;
55
+ }
56
+ _dataLength = 0;
57
+ _bufferLength = 0;
58
+ _state = new Int32Array(4);
59
+ _buffer = new ArrayBuffer(68);
60
+ _buffer8;
61
+ _buffer32;
62
+ constructor() {
63
+ this._buffer8 = new Uint8Array(this._buffer, 0, 68), this._buffer32 = new Uint32Array(this._buffer, 0, 17), this.start();
64
+ }
65
+ start() {
66
+ return this._dataLength = 0, this._bufferLength = 0, this._state.set(h.stateIdentity), this;
67
+ }
68
+ appendStr(i) {
69
+ const a = this._buffer8, t = this._buffer32;
70
+ let e = this._bufferLength, s, r;
71
+ for (r = 0; r < i.length; r += 1) {
72
+ if (s = i.charCodeAt(r), s < 128)
73
+ a[e++] = s;
74
+ else if (s < 2048)
75
+ a[e++] = (s >>> 6) + 192, a[e++] = s & 63 | 128;
76
+ else if (s < 55296 || s > 56319)
77
+ a[e++] = (s >>> 12) + 224, a[e++] = s >>> 6 & 63 | 128, a[e++] = s & 63 | 128;
78
+ else {
79
+ if (s = (s - 55296) * 1024 + (i.charCodeAt(++r) - 56320) + 65536, s > 1114111)
80
+ throw new Error(
81
+ "Unicode standard supports code points up to U+10FFFF"
82
+ );
83
+ a[e++] = (s >>> 18) + 240, a[e++] = s >>> 12 & 63 | 128, a[e++] = s >>> 6 & 63 | 128, a[e++] = s & 63 | 128;
84
+ }
85
+ e >= 64 && (this._dataLength += 64, h._md5cycle(this._state, t), e -= 64, t[0] = t[16]);
18
86
  }
19
- static hashStr(str, raw = false) {
20
- return this.onePassHasher
21
- .start()
22
- .appendStr(str)
23
- .end(raw);
87
+ return this._bufferLength = e, this;
88
+ }
89
+ appendAsciiStr(i) {
90
+ const a = this._buffer8, t = this._buffer32;
91
+ let e = this._bufferLength, s, r = 0;
92
+ for (; ; ) {
93
+ for (s = Math.min(i.length - r, 64 - e); s--; )
94
+ a[e++] = i.charCodeAt(r++);
95
+ if (e < 64)
96
+ break;
97
+ this._dataLength += 64, h._md5cycle(this._state, t), e = 0;
24
98
  }
25
- static hashAsciiStr(str, raw = false) {
26
- return this.onePassHasher
27
- .start()
28
- .appendAsciiStr(str)
29
- .end(raw);
99
+ return this._bufferLength = e, this;
100
+ }
101
+ appendByteArray(i) {
102
+ const a = this._buffer8, t = this._buffer32;
103
+ let e = this._bufferLength, s, r = 0;
104
+ for (; ; ) {
105
+ for (s = Math.min(i.length - r, 64 - e); s--; )
106
+ a[e++] = i[r++];
107
+ if (e < 64)
108
+ break;
109
+ this._dataLength += 64, h._md5cycle(this._state, t), e = 0;
30
110
  }
31
- static _hex(x) {
32
- const hc = Md5.hexChars;
33
- const ho = Md5.hexOut;
34
- let n;
35
- let offset;
36
- let j;
37
- let i;
38
- for (i = 0; i < 4; i += 1) {
39
- offset = i * 8;
40
- n = x[i];
41
- for (j = 0; j < 8; j += 2) {
42
- ho[offset + 1 + j] = hc.charAt(n & 0x0F);
43
- n >>>= 4;
44
- ho[offset + 0 + j] = hc.charAt(n & 0x0F);
45
- n >>>= 4;
46
- }
47
- }
48
- return ho.join('');
111
+ return this._bufferLength = e, this;
112
+ }
113
+ getState() {
114
+ const i = this._state;
115
+ return {
116
+ buffer: String.fromCharCode.apply(null, Array.from(this._buffer8)),
117
+ buflen: this._bufferLength,
118
+ length: this._dataLength,
119
+ state: [i[0], i[1], i[2], i[3]]
120
+ };
121
+ }
122
+ setState(i) {
123
+ const a = i.buffer, t = i.state, e = this._state;
124
+ let s;
125
+ for (this._dataLength = i.length, this._bufferLength = i.buflen, e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], s = 0; s < a.length; s += 1)
126
+ this._buffer8[s] = a.charCodeAt(s);
127
+ }
128
+ end(i = !1) {
129
+ const a = this._bufferLength, t = this._buffer8, e = this._buffer32, s = (a >> 2) + 1;
130
+ this._dataLength += a;
131
+ const r = this._dataLength * 8;
132
+ if (t[a] = 128, t[a + 1] = t[a + 2] = t[a + 3] = 0, e.set(h.buffer32Identity.subarray(s), s), a > 55 && (h._md5cycle(this._state, e), e.set(h.buffer32Identity)), r <= 4294967295)
133
+ e[14] = r;
134
+ else {
135
+ const n = r.toString(16).match(/(.*?)(.{0,8})$/);
136
+ if (n === null) return i ? c : "";
137
+ const o = parseInt(n[2], 16), _ = parseInt(n[1], 16) || 0;
138
+ e[14] = o, e[15] = _;
49
139
  }
50
- static _md5cycle(x, k) {
51
- let a = x[0];
52
- let b = x[1];
53
- let c = x[2];
54
- let d = x[3];
55
- a += (b & c | ~b & d) + k[0] - 680876936 | 0;
56
- a = (a << 7 | a >>> 25) + b | 0;
57
- d += (a & b | ~a & c) + k[1] - 389564586 | 0;
58
- d = (d << 12 | d >>> 20) + a | 0;
59
- c += (d & a | ~d & b) + k[2] + 606105819 | 0;
60
- c = (c << 17 | c >>> 15) + d | 0;
61
- b += (c & d | ~c & a) + k[3] - 1044525330 | 0;
62
- b = (b << 22 | b >>> 10) + c | 0;
63
- a += (b & c | ~b & d) + k[4] - 176418897 | 0;
64
- a = (a << 7 | a >>> 25) + b | 0;
65
- d += (a & b | ~a & c) + k[5] + 1200080426 | 0;
66
- d = (d << 12 | d >>> 20) + a | 0;
67
- c += (d & a | ~d & b) + k[6] - 1473231341 | 0;
68
- c = (c << 17 | c >>> 15) + d | 0;
69
- b += (c & d | ~c & a) + k[7] - 45705983 | 0;
70
- b = (b << 22 | b >>> 10) + c | 0;
71
- a += (b & c | ~b & d) + k[8] + 1770035416 | 0;
72
- a = (a << 7 | a >>> 25) + b | 0;
73
- d += (a & b | ~a & c) + k[9] - 1958414417 | 0;
74
- d = (d << 12 | d >>> 20) + a | 0;
75
- c += (d & a | ~d & b) + k[10] - 42063 | 0;
76
- c = (c << 17 | c >>> 15) + d | 0;
77
- b += (c & d | ~c & a) + k[11] - 1990404162 | 0;
78
- b = (b << 22 | b >>> 10) + c | 0;
79
- a += (b & c | ~b & d) + k[12] + 1804603682 | 0;
80
- a = (a << 7 | a >>> 25) + b | 0;
81
- d += (a & b | ~a & c) + k[13] - 40341101 | 0;
82
- d = (d << 12 | d >>> 20) + a | 0;
83
- c += (d & a | ~d & b) + k[14] - 1502002290 | 0;
84
- c = (c << 17 | c >>> 15) + d | 0;
85
- b += (c & d | ~c & a) + k[15] + 1236535329 | 0;
86
- b = (b << 22 | b >>> 10) + c | 0;
87
- a += (b & d | c & ~d) + k[1] - 165796510 | 0;
88
- a = (a << 5 | a >>> 27) + b | 0;
89
- d += (a & c | b & ~c) + k[6] - 1069501632 | 0;
90
- d = (d << 9 | d >>> 23) + a | 0;
91
- c += (d & b | a & ~b) + k[11] + 643717713 | 0;
92
- c = (c << 14 | c >>> 18) + d | 0;
93
- b += (c & a | d & ~a) + k[0] - 373897302 | 0;
94
- b = (b << 20 | b >>> 12) + c | 0;
95
- a += (b & d | c & ~d) + k[5] - 701558691 | 0;
96
- a = (a << 5 | a >>> 27) + b | 0;
97
- d += (a & c | b & ~c) + k[10] + 38016083 | 0;
98
- d = (d << 9 | d >>> 23) + a | 0;
99
- c += (d & b | a & ~b) + k[15] - 660478335 | 0;
100
- c = (c << 14 | c >>> 18) + d | 0;
101
- b += (c & a | d & ~a) + k[4] - 405537848 | 0;
102
- b = (b << 20 | b >>> 12) + c | 0;
103
- a += (b & d | c & ~d) + k[9] + 568446438 | 0;
104
- a = (a << 5 | a >>> 27) + b | 0;
105
- d += (a & c | b & ~c) + k[14] - 1019803690 | 0;
106
- d = (d << 9 | d >>> 23) + a | 0;
107
- c += (d & b | a & ~b) + k[3] - 187363961 | 0;
108
- c = (c << 14 | c >>> 18) + d | 0;
109
- b += (c & a | d & ~a) + k[8] + 1163531501 | 0;
110
- b = (b << 20 | b >>> 12) + c | 0;
111
- a += (b & d | c & ~d) + k[13] - 1444681467 | 0;
112
- a = (a << 5 | a >>> 27) + b | 0;
113
- d += (a & c | b & ~c) + k[2] - 51403784 | 0;
114
- d = (d << 9 | d >>> 23) + a | 0;
115
- c += (d & b | a & ~b) + k[7] + 1735328473 | 0;
116
- c = (c << 14 | c >>> 18) + d | 0;
117
- b += (c & a | d & ~a) + k[12] - 1926607734 | 0;
118
- b = (b << 20 | b >>> 12) + c | 0;
119
- a += (b ^ c ^ d) + k[5] - 378558 | 0;
120
- a = (a << 4 | a >>> 28) + b | 0;
121
- d += (a ^ b ^ c) + k[8] - 2022574463 | 0;
122
- d = (d << 11 | d >>> 21) + a | 0;
123
- c += (d ^ a ^ b) + k[11] + 1839030562 | 0;
124
- c = (c << 16 | c >>> 16) + d | 0;
125
- b += (c ^ d ^ a) + k[14] - 35309556 | 0;
126
- b = (b << 23 | b >>> 9) + c | 0;
127
- a += (b ^ c ^ d) + k[1] - 1530992060 | 0;
128
- a = (a << 4 | a >>> 28) + b | 0;
129
- d += (a ^ b ^ c) + k[4] + 1272893353 | 0;
130
- d = (d << 11 | d >>> 21) + a | 0;
131
- c += (d ^ a ^ b) + k[7] - 155497632 | 0;
132
- c = (c << 16 | c >>> 16) + d | 0;
133
- b += (c ^ d ^ a) + k[10] - 1094730640 | 0;
134
- b = (b << 23 | b >>> 9) + c | 0;
135
- a += (b ^ c ^ d) + k[13] + 681279174 | 0;
136
- a = (a << 4 | a >>> 28) + b | 0;
137
- d += (a ^ b ^ c) + k[0] - 358537222 | 0;
138
- d = (d << 11 | d >>> 21) + a | 0;
139
- c += (d ^ a ^ b) + k[3] - 722521979 | 0;
140
- c = (c << 16 | c >>> 16) + d | 0;
141
- b += (c ^ d ^ a) + k[6] + 76029189 | 0;
142
- b = (b << 23 | b >>> 9) + c | 0;
143
- a += (b ^ c ^ d) + k[9] - 640364487 | 0;
144
- a = (a << 4 | a >>> 28) + b | 0;
145
- d += (a ^ b ^ c) + k[12] - 421815835 | 0;
146
- d = (d << 11 | d >>> 21) + a | 0;
147
- c += (d ^ a ^ b) + k[15] + 530742520 | 0;
148
- c = (c << 16 | c >>> 16) + d | 0;
149
- b += (c ^ d ^ a) + k[2] - 995338651 | 0;
150
- b = (b << 23 | b >>> 9) + c | 0;
151
- a += (c ^ (b | ~d)) + k[0] - 198630844 | 0;
152
- a = (a << 6 | a >>> 26) + b | 0;
153
- d += (b ^ (a | ~c)) + k[7] + 1126891415 | 0;
154
- d = (d << 10 | d >>> 22) + a | 0;
155
- c += (a ^ (d | ~b)) + k[14] - 1416354905 | 0;
156
- c = (c << 15 | c >>> 17) + d | 0;
157
- b += (d ^ (c | ~a)) + k[5] - 57434055 | 0;
158
- b = (b << 21 | b >>> 11) + c | 0;
159
- a += (c ^ (b | ~d)) + k[12] + 1700485571 | 0;
160
- a = (a << 6 | a >>> 26) + b | 0;
161
- d += (b ^ (a | ~c)) + k[3] - 1894986606 | 0;
162
- d = (d << 10 | d >>> 22) + a | 0;
163
- c += (a ^ (d | ~b)) + k[10] - 1051523 | 0;
164
- c = (c << 15 | c >>> 17) + d | 0;
165
- b += (d ^ (c | ~a)) + k[1] - 2054922799 | 0;
166
- b = (b << 21 | b >>> 11) + c | 0;
167
- a += (c ^ (b | ~d)) + k[8] + 1873313359 | 0;
168
- a = (a << 6 | a >>> 26) + b | 0;
169
- d += (b ^ (a | ~c)) + k[15] - 30611744 | 0;
170
- d = (d << 10 | d >>> 22) + a | 0;
171
- c += (a ^ (d | ~b)) + k[6] - 1560198380 | 0;
172
- c = (c << 15 | c >>> 17) + d | 0;
173
- b += (d ^ (c | ~a)) + k[13] + 1309151649 | 0;
174
- b = (b << 21 | b >>> 11) + c | 0;
175
- a += (c ^ (b | ~d)) + k[4] - 145523070 | 0;
176
- a = (a << 6 | a >>> 26) + b | 0;
177
- d += (b ^ (a | ~c)) + k[11] - 1120210379 | 0;
178
- d = (d << 10 | d >>> 22) + a | 0;
179
- c += (a ^ (d | ~b)) + k[2] + 718787259 | 0;
180
- c = (c << 15 | c >>> 17) + d | 0;
181
- b += (d ^ (c | ~a)) + k[9] - 343485551 | 0;
182
- b = (b << 21 | b >>> 11) + c | 0;
183
- x[0] = a + x[0] | 0;
184
- x[1] = b + x[1] | 0;
185
- x[2] = c + x[2] | 0;
186
- x[3] = d + x[3] | 0;
187
- }
188
- start() {
189
- this._dataLength = 0;
190
- this._bufferLength = 0;
191
- this._state.set(Md5.stateIdentity);
192
- return this;
193
- }
194
- appendStr(str) {
195
- const buf8 = this._buffer8;
196
- const buf32 = this._buffer32;
197
- let bufLen = this._bufferLength;
198
- let code;
199
- let i;
200
- for (i = 0; i < str.length; i += 1) {
201
- code = str.charCodeAt(i);
202
- if (code < 128) {
203
- buf8[bufLen++] = code;
204
- }
205
- else if (code < 0x800) {
206
- buf8[bufLen++] = (code >>> 6) + 0xC0;
207
- buf8[bufLen++] = code & 0x3F | 0x80;
208
- }
209
- else if (code < 0xD800 || code > 0xDBFF) {
210
- buf8[bufLen++] = (code >>> 12) + 0xE0;
211
- buf8[bufLen++] = (code >>> 6 & 0x3F) | 0x80;
212
- buf8[bufLen++] = (code & 0x3F) | 0x80;
213
- }
214
- else {
215
- code = ((code - 0xD800) * 0x400) + (str.charCodeAt(++i) - 0xDC00) + 0x10000;
216
- if (code > 0x10FFFF) {
217
- throw new Error('Unicode standard supports code points up to U+10FFFF');
218
- }
219
- buf8[bufLen++] = (code >>> 18) + 0xF0;
220
- buf8[bufLen++] = (code >>> 12 & 0x3F) | 0x80;
221
- buf8[bufLen++] = (code >>> 6 & 0x3F) | 0x80;
222
- buf8[bufLen++] = (code & 0x3F) | 0x80;
223
- }
224
- if (bufLen >= 64) {
225
- this._dataLength += 64;
226
- Md5._md5cycle(this._state, buf32);
227
- bufLen -= 64;
228
- buf32[0] = buf32[16];
229
- }
230
- }
231
- this._bufferLength = bufLen;
232
- return this;
233
- }
234
- appendAsciiStr(str) {
235
- const buf8 = this._buffer8;
236
- const buf32 = this._buffer32;
237
- let bufLen = this._bufferLength;
238
- let i;
239
- let j = 0;
240
- for (;;) {
241
- i = Math.min(str.length - j, 64 - bufLen);
242
- while (i--) {
243
- buf8[bufLen++] = str.charCodeAt(j++);
244
- }
245
- if (bufLen < 64) {
246
- break;
247
- }
248
- this._dataLength += 64;
249
- Md5._md5cycle(this._state, buf32);
250
- bufLen = 0;
251
- }
252
- this._bufferLength = bufLen;
253
- return this;
254
- }
255
- appendByteArray(input) {
256
- const buf8 = this._buffer8;
257
- const buf32 = this._buffer32;
258
- let bufLen = this._bufferLength;
259
- let i;
260
- let j = 0;
261
- for (;;) {
262
- i = Math.min(input.length - j, 64 - bufLen);
263
- while (i--) {
264
- buf8[bufLen++] = input[j++];
265
- }
266
- if (bufLen < 64) {
267
- break;
268
- }
269
- this._dataLength += 64;
270
- Md5._md5cycle(this._state, buf32);
271
- bufLen = 0;
272
- }
273
- this._bufferLength = bufLen;
274
- return this;
275
- }
276
- getState() {
277
- const s = this._state;
278
- return {
279
- buffer: String.fromCharCode.apply(null, Array.from(this._buffer8)),
280
- buflen: this._bufferLength,
281
- length: this._dataLength,
282
- state: [s[0], s[1], s[2], s[3]]
283
- };
284
- }
285
- setState(state) {
286
- const buf = state.buffer;
287
- const x = state.state;
288
- const s = this._state;
289
- let i;
290
- this._dataLength = state.length;
291
- this._bufferLength = state.buflen;
292
- s[0] = x[0];
293
- s[1] = x[1];
294
- s[2] = x[2];
295
- s[3] = x[3];
296
- for (i = 0; i < buf.length; i += 1) {
297
- this._buffer8[i] = buf.charCodeAt(i);
298
- }
299
- }
300
- end(raw = false) {
301
- const bufLen = this._bufferLength;
302
- const buf8 = this._buffer8;
303
- const buf32 = this._buffer32;
304
- const i = (bufLen >> 2) + 1;
305
- this._dataLength += bufLen;
306
- const dataBitsLen = this._dataLength * 8;
307
- buf8[bufLen] = 0x80;
308
- buf8[bufLen + 1] = buf8[bufLen + 2] = buf8[bufLen + 3] = 0;
309
- buf32.set(Md5.buffer32Identity.subarray(i), i);
310
- if (bufLen > 55) {
311
- Md5._md5cycle(this._state, buf32);
312
- buf32.set(Md5.buffer32Identity);
313
- }
314
- if (dataBitsLen <= 0xFFFFFFFF) {
315
- buf32[14] = dataBitsLen;
316
- }
317
- else {
318
- const matches = dataBitsLen.toString(16).match(/(.*?)(.{0,8})$/);
319
- if (matches === null) {
320
- return;
321
- }
322
- const lo = parseInt(matches[2], 16);
323
- const hi = parseInt(matches[1], 16) || 0;
324
- buf32[14] = lo;
325
- buf32[15] = hi;
326
- }
327
- Md5._md5cycle(this._state, buf32);
328
- return raw ? this._state : Md5._hex(this._state);
329
- }
330
- }
331
- Md5.stateIdentity = new Int32Array([1732584193, -271733879, -1732584194, 271733878]);
332
- Md5.buffer32Identity = new Int32Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
333
- Md5.hexChars = '0123456789abcdef';
334
- Md5.hexOut = [];
335
- Md5.onePassHasher = new Md5();
336
- if (Md5.hashStr('hello') !== '5d41402abc4b2a76b9719d911017c592') {
337
- throw new Error('Md5 self test failed.');
140
+ return h._md5cycle(this._state, e), i ? this._state : h._hex(this._state);
141
+ }
338
142
  }
143
+ if (h.hashStr("hello") !== "5d41402abc4b2a76b9719d911017c592")
144
+ throw new Error("Md5 self test failed.");
339
145
 
340
146
  const _AssetLogoMap = {
341
147
  "default": "/assets/default.png",
@@ -1352,6 +1158,8 @@
1352
1158
  "binance-erc20-vdot-0xbc33b4d48f76d17a1800afcb730e8a6aaada7fe5": "/assets/chain-assets/binance-erc20-vdot-0xbc33b4d48f76d17a1800afcb730e8a6aaada7fe5.png",
1353
1159
  "arbitrum_one-erc20-vdot-0xbc33b4d48f76d17a1800afcb730e8a6aaada7fe5": "/assets/chain-assets/arbitrum_one-erc20-vdot-0xbc33b4d48f76d17a1800afcb730e8a6aaada7fe5.png",
1354
1160
  "base_mainnet-erc20-vdot-0xbc33b4d48f76d17a1800afcb730e8a6aaada7fe5": "/assets/chain-assets/base_mainnet-erc20-vdot-0xbc33b4d48f76d17a1800afcb730e8a6aaada7fe5.png",
1161
+ "hydradx_main-local-ldo": "/assets/chain-assets/hydradx_main-local-ldo.png",
1162
+ "clover_mainnet-native-clv": "/assets/chain-assets/clover_mainnet-native-clv.png",
1355
1163
  "bittensor-local-ᚢ": "/assets/chain-assets/bittensor-local-ᚢ.png",
1356
1164
  "bittensor-local-ᚦ": "/assets/chain-assets/bittensor-local-ᚦ.png",
1357
1165
  "bittensor-local-᚛": "/assets/chain-assets/bittensor-local-᚛.png",
@@ -1387,14 +1195,14 @@
1387
1195
  "bittensor-local-𑀃": "/assets/chain-assets/bittensor-local-𑀃.png",
1388
1196
  "bittensor-local-𑀅": "/assets/chain-assets/bittensor-local-𑀅.png",
1389
1197
  "bittensor-local-න": "/assets/chain-assets/bittensor-local-න.png",
1390
- "hydradx_main-local-ldo": "/assets/chain-assets/hydradx_main-local-ldo.png",
1391
- "clover_mainnet-native-clv": "/assets/chain-assets/clover_mainnet-native-clv.png",
1392
1198
  "quantum_fusion-native-qf": "/assets/chain-assets/quantum_fusion-native-qf.png",
1393
1199
  "subtensor_evm-native-tao": "/assets/chain-assets/subtensor_evm-native-tao.png",
1394
1200
  "auto_evm-native-ai3": "/assets/chain-assets/auto_evm-native-ai3.png",
1395
1201
  "fraxtal-native-frax": "/assets/chain-assets/fraxtal-native-frax.png",
1396
- "reya-NATIVE-ETH": null,
1397
- "reya-ERC20-WETH-0x6B48C2e6A32077ec17e8Ba0d98fFc676dfab1A30": null,
1202
+ "base_mainnet-erc20-myth-0x9b9fd410d5f01a6a60acf4678a5a99d8027fa5a7": "/assets/chain-assets/base_mainnet-erc20-myth-0x9b9fd410d5f01a6a60acf4678a5a99d8027fa5a7.png",
1203
+ "regionx_kusama-native-ksm": "/assets/chain-assets/regionx_kusama-native-ksm.png",
1204
+ "stable_testnet-native-usdt": "/assets/chain-assets/stable_testnet-native-usdt.png",
1205
+ "abstract-native-eth": "/assets/chain-assets/abstract-native-eth.png",
1398
1206
  "paseo_assethub-native-pas": "/assets/chain-assets/paseo_assethub-native-pas.png",
1399
1207
  "eth-ethereum": "/assets/multi-chain-assets/eth-ethereum.png",
1400
1208
  "ibtc-interbtc": "/assets/multi-chain-assets/ibtc-interbtc.png",
@@ -2375,13 +2183,8 @@
2375
2183
  parents: 0,
2376
2184
  interior: "Here"
2377
2185
  },
2378
- paraSpellValue: {
2379
- parents: 1,
2380
- interior: {
2381
- Here: null
2382
- }
2383
- },
2384
- paraSpellAssetType: "location"
2186
+ paraSpellValue: "DOT",
2187
+ paraSpellAssetType: "symbol"
2385
2188
  },
2386
2189
  multiChainAsset: "DOT-Polkadot",
2387
2190
  hasValue: true,
@@ -2401,13 +2204,8 @@
2401
2204
  parents: 0,
2402
2205
  interior: "Here"
2403
2206
  },
2404
- paraSpellValue: {
2405
- parents: 1,
2406
- interior: {
2407
- Here: null
2408
- }
2409
- },
2410
- paraSpellAssetType: "location"
2207
+ paraSpellValue: "KSM",
2208
+ paraSpellAssetType: "symbol"
2411
2209
  },
2412
2210
  multiChainAsset: "KSM-Kusama",
2413
2211
  hasValue: true,
@@ -2455,20 +2253,8 @@
2455
2253
  parents: 0,
2456
2254
  interior: "Here"
2457
2255
  },
2458
- paraSpellValue: {
2459
- parents: 1,
2460
- interior: {
2461
- X2: [
2462
- {
2463
- Parachain: 2004
2464
- },
2465
- {
2466
- PalletInstance: 10
2467
- }
2468
- ]
2469
- }
2470
- },
2471
- paraSpellAssetType: "location"
2256
+ paraSpellValue: "GLMR",
2257
+ paraSpellAssetType: "symbol"
2472
2258
  },
2473
2259
  multiChainAsset: "GLMR-Moonbeam",
2474
2260
  hasValue: true,
@@ -2487,7 +2273,9 @@
2487
2273
  multilocation: {
2488
2274
  parents: 0,
2489
2275
  interior: "Here"
2490
- }
2276
+ },
2277
+ paraSpellValue: "NEER",
2278
+ paraSpellAssetType: "symbol"
2491
2279
  },
2492
2280
  multiChainAsset: "NEER-Pioneer",
2493
2281
  hasValue: true,
@@ -2521,17 +2309,8 @@
2521
2309
  parents: 0,
2522
2310
  interior: "Here"
2523
2311
  },
2524
- paraSpellValue: {
2525
- parents: 1,
2526
- interior: {
2527
- X1: [
2528
- {
2529
- Parachain: 2006
2530
- }
2531
- ]
2532
- }
2533
- },
2534
- paraSpellAssetType: "location"
2312
+ paraSpellValue: "ASTR",
2313
+ paraSpellAssetType: "symbol"
2535
2314
  },
2536
2315
  multiChainAsset: "ASTR-Astar",
2537
2316
  hasValue: true,
@@ -2552,13 +2331,8 @@
2552
2331
  parents: 1,
2553
2332
  interior: "Here"
2554
2333
  },
2555
- paraSpellValue: {
2556
- parents: 1,
2557
- interior: {
2558
- Here: null
2559
- }
2560
- },
2561
- paraSpellAssetType: "location",
2334
+ paraSpellValue: "DOT",
2335
+ paraSpellAssetType: "symbol",
2562
2336
  alternativeSwapAsset: "polkadot-NATIVE-DOT"
2563
2337
  },
2564
2338
  multiChainAsset: "DOT-Polkadot",
@@ -2584,23 +2358,8 @@
2584
2358
  parents: 0,
2585
2359
  interior: "Here"
2586
2360
  },
2587
- paraSpellValue: {
2588
- parents: 1,
2589
- interior: {
2590
- X2: [
2591
- {
2592
- Parachain: 2000
2593
- },
2594
- {
2595
- GeneralKey: {
2596
- data: "0x0000000000000000000000000000000000000000000000000000000000000000",
2597
- length: 2
2598
- }
2599
- }
2600
- ]
2601
- }
2602
- },
2603
- paraSpellAssetType: "location"
2361
+ paraSpellValue: "ACA",
2362
+ paraSpellAssetType: "symbol"
2604
2363
  },
2605
2364
  multiChainAsset: "ACA-Acala",
2606
2365
  hasValue: true,
@@ -2714,13 +2473,8 @@
2714
2473
  Token: "DOT"
2715
2474
  },
2716
2475
  isSufficient: true,
2717
- paraSpellValue: {
2718
- parents: 1,
2719
- interior: {
2720
- Here: null
2721
- }
2722
- },
2723
- paraSpellAssetType: "location"
2476
+ paraSpellValue: "DOT",
2477
+ paraSpellAssetType: "symbol"
2724
2478
  },
2725
2479
  multiChainAsset: "DOT-Polkadot",
2726
2480
  hasValue: true,
@@ -2739,20 +2493,8 @@
2739
2493
  onChainInfo: {
2740
2494
  ForeignAsset: 0
2741
2495
  },
2742
- paraSpellValue: {
2743
- parents: 1,
2744
- interior: {
2745
- X2: [
2746
- {
2747
- Parachain: 2004
2748
- },
2749
- {
2750
- PalletInstance: 10
2751
- }
2752
- ]
2753
- }
2754
- },
2755
- paraSpellAssetType: "location"
2496
+ paraSpellValue: "GLMR",
2497
+ paraSpellAssetType: "symbol"
2756
2498
  },
2757
2499
  multiChainAsset: "GLMR-Moonbeam",
2758
2500
  hasValue: true,
@@ -2772,23 +2514,8 @@
2772
2514
  ForeignAsset: 12
2773
2515
  },
2774
2516
  isSufficient: true,
2775
- paraSpellValue: {
2776
- parents: 1,
2777
- interior: {
2778
- X3: [
2779
- {
2780
- Parachain: 1000
2781
- },
2782
- {
2783
- PalletInstance: 50
2784
- },
2785
- {
2786
- GeneralIndex: 1984
2787
- }
2788
- ]
2789
- }
2790
- },
2791
- paraSpellAssetType: "location"
2517
+ paraSpellValue: "USDT",
2518
+ paraSpellAssetType: "symbol"
2792
2519
  },
2793
2520
  multiChainAsset: "USDT-Tether",
2794
2521
  hasValue: true,
@@ -2826,17 +2553,8 @@
2826
2553
  ForeignAsset: 2
2827
2554
  },
2828
2555
  isSufficient: true,
2829
- paraSpellValue: {
2830
- parents: 1,
2831
- interior: {
2832
- X1: [
2833
- {
2834
- Parachain: 2006
2835
- }
2836
- ]
2837
- }
2838
- },
2839
- paraSpellAssetType: "location"
2556
+ paraSpellValue: "ASTR",
2557
+ paraSpellAssetType: "symbol"
2840
2558
  },
2841
2559
  multiChainAsset: "ASTR-Astar",
2842
2560
  hasValue: true,
@@ -2922,14 +2640,9 @@
2922
2640
  metadata: {
2923
2641
  assetId: "42259045809535163221576417993425387648",
2924
2642
  assetType: "ForeignAsset",
2925
- paraSpellValue: {
2926
- parents: 1,
2927
- interior: {
2928
- Here: null
2929
- }
2930
- },
2643
+ paraSpellValue: "DOT",
2931
2644
  contractAddress: "0xFfFFfFff1FcaCBd218EDc0EbA20Fc2308C778080",
2932
- paraSpellAssetType: "location"
2645
+ paraSpellAssetType: "symbol"
2933
2646
  },
2934
2647
  multiChainAsset: "DOT-Polkadot",
2935
2648
  hasValue: true,
@@ -2947,24 +2660,9 @@
2947
2660
  metadata: {
2948
2661
  assetId: "101170542313601871197860408087030232491",
2949
2662
  assetType: "ForeignAsset",
2950
- paraSpellValue: {
2951
- parents: 1,
2952
- interior: {
2953
- X2: [
2954
- {
2955
- Parachain: 2032
2956
- },
2957
- {
2958
- GeneralKey: {
2959
- data: "0x0002000000000000000000000000000000000000000000000000000000000000",
2960
- length: 2
2961
- }
2962
- }
2963
- ]
2964
- }
2965
- },
2663
+ paraSpellValue: "INTR",
2966
2664
  contractAddress: "0xFffFFFFF4C1cbCd97597339702436d4F18a375Ab",
2967
- paraSpellAssetType: "location"
2665
+ paraSpellAssetType: "symbol"
2968
2666
  },
2969
2667
  multiChainAsset: "INTR-Interlay",
2970
2668
  hasValue: true,
@@ -2982,24 +2680,9 @@
2982
2680
  metadata: {
2983
2681
  assetId: "120637696315203257380661607956669368914",
2984
2682
  assetType: "ForeignAsset",
2985
- paraSpellValue: {
2986
- parents: 1,
2987
- interior: {
2988
- X2: [
2989
- {
2990
- Parachain: 2032
2991
- },
2992
- {
2993
- GeneralKey: {
2994
- data: "0x0001000000000000000000000000000000000000000000000000000000000000",
2995
- length: 2
2996
- }
2997
- }
2998
- ]
2999
- }
3000
- },
2683
+ paraSpellValue: "IBTC",
3001
2684
  contractAddress: "0xFFFFFfFf5AC1f9A51A93F5C527385edF7Fe98A52",
3002
- paraSpellAssetType: "location"
2685
+ paraSpellAssetType: "symbol"
3003
2686
  },
3004
2687
  multiChainAsset: "iBTC-interBTC",
3005
2688
  hasValue: true,
@@ -3017,24 +2700,9 @@
3017
2700
  metadata: {
3018
2701
  assetId: "224821240862170613278369189818311486111",
3019
2702
  assetType: "ForeignAsset",
3020
- paraSpellValue: {
3021
- parents: 1,
3022
- interior: {
3023
- X2: [
3024
- {
3025
- Parachain: 2000
3026
- },
3027
- {
3028
- GeneralKey: {
3029
- data: "0x0000000000000000000000000000000000000000000000000000000000000000",
3030
- length: 2
3031
- }
3032
- }
3033
- ]
3034
- }
3035
- },
2703
+ paraSpellValue: "ACA",
3036
2704
  contractAddress: "0xffffFFffa922Fef94566104a6e5A35a4fCDDAA9f",
3037
- paraSpellAssetType: "location"
2705
+ paraSpellAssetType: "symbol"
3038
2706
  },
3039
2707
  multiChainAsset: "ACA-Acala",
3040
2708
  hasValue: true,
@@ -3105,13 +2773,8 @@
3105
2773
  parents: 1,
3106
2774
  interior: "Here"
3107
2775
  },
3108
- paraSpellValue: {
3109
- parents: 1,
3110
- interior: {
3111
- Here: null
3112
- }
3113
- },
3114
- paraSpellAssetType: "location"
2776
+ paraSpellValue: "DOT",
2777
+ paraSpellAssetType: "symbol"
3115
2778
  },
3116
2779
  multiChainAsset: "DOT-Polkadot",
3117
2780
  hasValue: true,
@@ -3144,23 +2807,8 @@
3144
2807
  ]
3145
2808
  }
3146
2809
  },
3147
- paraSpellValue: {
3148
- parents: 1,
3149
- interior: {
3150
- X3: [
3151
- {
3152
- Parachain: 1000
3153
- },
3154
- {
3155
- PalletInstance: 50
3156
- },
3157
- {
3158
- GeneralIndex: 1984
3159
- }
3160
- ]
3161
- }
3162
- },
3163
- paraSpellAssetType: "location"
2810
+ paraSpellValue: "USDT",
2811
+ paraSpellAssetType: "symbol"
3164
2812
  },
3165
2813
  multiChainAsset: "USDT-Tether",
3166
2814
  hasValue: true,
@@ -3439,23 +3087,8 @@
3439
3087
  onChainInfo: {
3440
3088
  Token2: "2"
3441
3089
  },
3442
- paraSpellValue: {
3443
- parents: 1,
3444
- interior: {
3445
- X3: [
3446
- {
3447
- Parachain: 1000
3448
- },
3449
- {
3450
- PalletInstance: 50
3451
- },
3452
- {
3453
- GeneralIndex: 1984
3454
- }
3455
- ]
3456
- }
3457
- },
3458
- paraSpellAssetType: "location"
3090
+ paraSpellValue: "USDT",
3091
+ paraSpellAssetType: "symbol"
3459
3092
  },
3460
3093
  multiChainAsset: "USDT-Tether",
3461
3094
  hasValue: true,
@@ -4002,20 +3635,8 @@
4002
3635
  assetType: "NATIVE",
4003
3636
  metadata: {
4004
3637
  assetId: "0",
4005
- paraSpellValue: {
4006
- parents: 1,
4007
- interior: {
4008
- X2: [
4009
- {
4010
- Parachain: 2034
4011
- },
4012
- {
4013
- GeneralIndex: 0
4014
- }
4015
- ]
4016
- }
4017
- },
4018
- paraSpellAssetType: "location"
3638
+ paraSpellValue: "HDX",
3639
+ paraSpellAssetType: "symbol"
4019
3640
  },
4020
3641
  multiChainAsset: "HDX-HydraDX",
4021
3642
  hasValue: true,
@@ -4049,23 +3670,8 @@
4049
3670
  ]
4050
3671
  }
4051
3672
  },
4052
- paraSpellValue: {
4053
- parents: 1,
4054
- interior: {
4055
- X3: [
4056
- {
4057
- Parachain: 1000
4058
- },
4059
- {
4060
- PalletInstance: 50
4061
- },
4062
- {
4063
- GeneralIndex: 1984
4064
- }
4065
- ]
4066
- }
4067
- },
4068
- paraSpellAssetType: "location"
3673
+ paraSpellValue: "10",
3674
+ paraSpellAssetType: "id"
4069
3675
  },
4070
3676
  multiChainAsset: "USDT-Tether",
4071
3677
  hasValue: true,
@@ -4098,23 +3704,8 @@
4098
3704
  onChainInfo: {
4099
3705
  Native: null
4100
3706
  },
4101
- paraSpellValue: {
4102
- parents: 1,
4103
- interior: {
4104
- X2: [
4105
- {
4106
- Parachain: 2031
4107
- },
4108
- {
4109
- GeneralKey: {
4110
- data: "0x0001000000000000000000000000000000000000000000000000000000000000",
4111
- length: 2
4112
- }
4113
- }
4114
- ]
4115
- }
4116
- },
4117
- paraSpellAssetType: "location"
3707
+ paraSpellValue: "CFG",
3708
+ paraSpellAssetType: "symbol"
4118
3709
  },
4119
3710
  multiChainAsset: "CFG-Centrifuge",
4120
3711
  hasValue: true,
@@ -4133,23 +3724,8 @@
4133
3724
  onChainInfo: {
4134
3725
  Token: "INTR"
4135
3726
  },
4136
- paraSpellValue: {
4137
- parents: 1,
4138
- interior: {
4139
- X2: [
4140
- {
4141
- Parachain: 2032
4142
- },
4143
- {
4144
- GeneralKey: {
4145
- data: "0x0002000000000000000000000000000000000000000000000000000000000000",
4146
- length: 2
4147
- }
4148
- }
4149
- ]
4150
- }
4151
- },
4152
- paraSpellAssetType: "location"
3727
+ paraSpellValue: "INTR",
3728
+ paraSpellAssetType: "symbol"
4153
3729
  },
4154
3730
  multiChainAsset: "INTR-Interlay",
4155
3731
  hasValue: true,
@@ -4186,23 +3762,8 @@
4186
3762
  onChainInfo: {
4187
3763
  ForeignAsset: 2
4188
3764
  },
4189
- paraSpellValue: {
4190
- parents: 1,
4191
- interior: {
4192
- X3: [
4193
- {
4194
- Parachain: 1000
4195
- },
4196
- {
4197
- PalletInstance: 50
4198
- },
4199
- {
4200
- GeneralIndex: 1984
4201
- }
4202
- ]
4203
- }
4204
- },
4205
- paraSpellAssetType: "location"
3765
+ paraSpellValue: "USDT",
3766
+ paraSpellAssetType: "symbol"
4206
3767
  },
4207
3768
  multiChainAsset: "USDT-Tether",
4208
3769
  hasValue: true,
@@ -4345,8 +3906,8 @@
4345
3906
  onChainInfo: {
4346
3907
  XCM: "0"
4347
3908
  },
4348
- paraSpellValue: "0",
4349
- paraSpellAssetType: "id"
3909
+ paraSpellValue: "KSM",
3910
+ paraSpellAssetType: "symbol"
4350
3911
  },
4351
3912
  multiChainAsset: "KSM-Kusama",
4352
3913
  hasValue: true,
@@ -4492,13 +4053,8 @@
4492
4053
  parents: 1,
4493
4054
  interior: "Here"
4494
4055
  },
4495
- paraSpellValue: {
4496
- parents: 1,
4497
- interior: {
4498
- Here: null
4499
- }
4500
- },
4501
- paraSpellAssetType: "location"
4056
+ paraSpellValue: "KSM",
4057
+ paraSpellAssetType: "symbol"
4502
4058
  },
4503
4059
  multiChainAsset: "KSM-Kusama",
4504
4060
  hasValue: true,
@@ -4983,13 +4539,8 @@
4983
4539
  minAmount: "33333333",
4984
4540
  assetType: "NATIVE",
4985
4541
  metadata: {
4986
- paraSpellValue: {
4987
- parents: 1,
4988
- interior: {
4989
- Here: null
4990
- }
4991
- },
4992
- paraSpellAssetType: "location"
4542
+ paraSpellValue: "KSM",
4543
+ paraSpellAssetType: "symbol"
4993
4544
  },
4994
4545
  multiChainAsset: "KSM-Kusama",
4995
4546
  hasValue: true,
@@ -5278,13 +4829,8 @@
5278
4829
  parents: 1,
5279
4830
  interior: "Here"
5280
4831
  },
5281
- paraSpellValue: {
5282
- parents: 1,
5283
- interior: {
5284
- Here: null
5285
- }
5286
- },
5287
- paraSpellAssetType: "location"
4832
+ paraSpellValue: "DOT",
4833
+ paraSpellAssetType: "symbol"
5288
4834
  },
5289
4835
  multiChainAsset: "DOT-Polkadot",
5290
4836
  hasValue: true,
@@ -5319,23 +4865,8 @@
5319
4865
  ]
5320
4866
  }
5321
4867
  },
5322
- paraSpellValue: {
5323
- parents: 1,
5324
- interior: {
5325
- X3: [
5326
- {
5327
- Parachain: 1000
5328
- },
5329
- {
5330
- PalletInstance: 50
5331
- },
5332
- {
5333
- GeneralIndex: 1984
5334
- }
5335
- ]
5336
- }
5337
- },
5338
- paraSpellAssetType: "location"
4868
+ paraSpellValue: "USDT",
4869
+ paraSpellAssetType: "symbol"
5339
4870
  },
5340
4871
  multiChainAsset: "USDT-Tether",
5341
4872
  hasValue: true,
@@ -5983,23 +5514,8 @@
5983
5514
  ]
5984
5515
  }
5985
5516
  },
5986
- paraSpellValue: {
5987
- parents: 1,
5988
- interior: {
5989
- X3: [
5990
- {
5991
- Parachain: 1000
5992
- },
5993
- {
5994
- PalletInstance: 50
5995
- },
5996
- {
5997
- GeneralIndex: 1984
5998
- }
5999
- ]
6000
- }
6001
- },
6002
- paraSpellAssetType: "location"
5517
+ paraSpellValue: "1984",
5518
+ paraSpellAssetType: "id"
6003
5519
  },
6004
5520
  multiChainAsset: "USDT-Tether",
6005
5521
  hasValue: true,
@@ -6017,14 +5533,9 @@
6017
5533
  metadata: {
6018
5534
  assetId: "42259045809535163221576417993425387648",
6019
5535
  assetType: "ForeignAsset",
6020
- paraSpellValue: {
6021
- parents: 1,
6022
- interior: {
6023
- Here: null
6024
- }
6025
- },
5536
+ paraSpellValue: "KSM",
6026
5537
  contractAddress: "0xFfFFfFff1FcaCBd218EDc0EbA20Fc2308C778080",
6027
- paraSpellAssetType: "location"
5538
+ paraSpellAssetType: "symbol"
6028
5539
  },
6029
5540
  multiChainAsset: "KSM-Kusama",
6030
5541
  hasValue: true,
@@ -6046,13 +5557,8 @@
6046
5557
  parents: 1,
6047
5558
  interior: "Here"
6048
5559
  },
6049
- paraSpellValue: {
6050
- parents: 1,
6051
- interior: {
6052
- Here: null
6053
- }
6054
- },
6055
- paraSpellAssetType: "location"
5560
+ paraSpellValue: "KSM",
5561
+ paraSpellAssetType: "symbol"
6056
5562
  },
6057
5563
  multiChainAsset: "KSM-Kusama",
6058
5564
  hasValue: true,
@@ -6071,13 +5577,8 @@
6071
5577
  onChainInfo: {
6072
5578
  Token: "KSM"
6073
5579
  },
6074
- paraSpellValue: {
6075
- parents: 1,
6076
- interior: {
6077
- Here: null
6078
- }
6079
- },
6080
- paraSpellAssetType: "location"
5580
+ paraSpellValue: "KSM",
5581
+ paraSpellAssetType: "symbol"
6081
5582
  },
6082
5583
  multiChainAsset: "KSM-Kusama",
6083
5584
  hasValue: true,
@@ -6096,23 +5597,8 @@
6096
5597
  onChainInfo: {
6097
5598
  ForeignAsset: "9"
6098
5599
  },
6099
- paraSpellValue: {
6100
- parents: 1,
6101
- interior: {
6102
- X2: [
6103
- {
6104
- Parachain: 2096
6105
- },
6106
- {
6107
- GeneralKey: {
6108
- data: "0x0000000000000000000000000000000000000000000000000000000000000000",
6109
- length: 9
6110
- }
6111
- }
6112
- ]
6113
- }
6114
- },
6115
- paraSpellAssetType: "location"
5600
+ paraSpellValue: "NEER",
5601
+ paraSpellAssetType: "symbol"
6116
5602
  },
6117
5603
  multiChainAsset: "NEER-Pioneer",
6118
5604
  hasValue: true,
@@ -6167,13 +5653,8 @@
6167
5653
  onChainInfo: {
6168
5654
  Token: "KSM"
6169
5655
  },
6170
- paraSpellValue: {
6171
- parents: 1,
6172
- interior: {
6173
- Here: null
6174
- }
6175
- },
6176
- paraSpellAssetType: "location"
5656
+ paraSpellValue: "KSM",
5657
+ paraSpellAssetType: "symbol"
6177
5658
  },
6178
5659
  multiChainAsset: "KSM-Kusama",
6179
5660
  hasValue: true,
@@ -6245,24 +5726,9 @@
6245
5726
  metadata: {
6246
5727
  assetId: "311091173110107856861649819128533077277",
6247
5728
  assetType: "ForeignAsset",
6248
- paraSpellValue: {
6249
- parents: 1,
6250
- interior: {
6251
- X3: [
6252
- {
6253
- Parachain: 1000
6254
- },
6255
- {
6256
- PalletInstance: 50
6257
- },
6258
- {
6259
- GeneralIndex: 1984
6260
- }
6261
- ]
6262
- }
6263
- },
5729
+ paraSpellValue: "USDT",
6264
5730
  contractAddress: "0xFFFFFFfFea09FB06d082fd1275CD48b191cbCD1d",
6265
- paraSpellAssetType: "location"
5731
+ paraSpellAssetType: "symbol"
6266
5732
  },
6267
5733
  multiChainAsset: "USDT-Tether",
6268
5734
  hasValue: true,
@@ -6569,23 +6035,8 @@
6569
6035
  assetType: "LOCAL",
6570
6036
  metadata: {
6571
6037
  assetId: "1984",
6572
- paraSpellValue: {
6573
- parents: 1,
6574
- interior: {
6575
- X3: [
6576
- {
6577
- Parachain: 1000
6578
- },
6579
- {
6580
- PalletInstance: 50
6581
- },
6582
- {
6583
- GeneralIndex: 1984
6584
- }
6585
- ]
6586
- }
6587
- },
6588
- paraSpellAssetType: "location"
6038
+ paraSpellValue: "1984",
6039
+ paraSpellAssetType: "id"
6589
6040
  },
6590
6041
  multiChainAsset: "USDT-Tether",
6591
6042
  hasValue: true,
@@ -9182,13 +8633,8 @@
9182
8633
  minAmount: "1000000000",
9183
8634
  assetType: "NATIVE",
9184
8635
  metadata: {
9185
- paraSpellValue: {
9186
- parents: 1,
9187
- interior: {
9188
- Here: null
9189
- }
9190
- },
9191
- paraSpellAssetType: "location"
8636
+ paraSpellValue: "DOT",
8637
+ paraSpellAssetType: "symbol"
9192
8638
  },
9193
8639
  multiChainAsset: "DOT-Polkadot",
9194
8640
  hasValue: true,
@@ -9741,13 +9187,8 @@
9741
9187
  onChainInfo: {
9742
9188
  Token2: "0"
9743
9189
  },
9744
- paraSpellValue: {
9745
- parents: 1,
9746
- interior: {
9747
- Here: null
9748
- }
9749
- },
9750
- paraSpellAssetType: "location"
9190
+ paraSpellValue: "DOT",
9191
+ paraSpellAssetType: "symbol"
9751
9192
  },
9752
9193
  multiChainAsset: "DOT-Polkadot",
9753
9194
  hasValue: true,
@@ -9798,13 +9239,8 @@
9798
9239
  onChainInfo: {
9799
9240
  Token: "DOT"
9800
9241
  },
9801
- paraSpellValue: {
9802
- parents: 1,
9803
- interior: {
9804
- Here: null
9805
- }
9806
- },
9807
- paraSpellAssetType: "location"
9242
+ paraSpellValue: "DOT",
9243
+ paraSpellAssetType: "symbol"
9808
9244
  },
9809
9245
  multiChainAsset: "DOT-Polkadot",
9810
9246
  hasValue: true,
@@ -9823,13 +9259,8 @@
9823
9259
  assetId: "5",
9824
9260
  autoEnable: true,
9825
9261
  canPayTxFee: true,
9826
- paraSpellValue: {
9827
- parents: 1,
9828
- interior: {
9829
- Here: null
9830
- }
9831
- },
9832
- paraSpellAssetType: "location",
9262
+ paraSpellValue: "DOT",
9263
+ paraSpellAssetType: "symbol",
9833
9264
  alternativeSwapAsset: "polkadot-NATIVE-DOT"
9834
9265
  },
9835
9266
  multiChainAsset: "DOT-Polkadot",
@@ -9888,23 +9319,8 @@
9888
9319
  ]
9889
9320
  }
9890
9321
  },
9891
- paraSpellValue: {
9892
- parents: 1,
9893
- interior: {
9894
- X3: [
9895
- {
9896
- Parachain: 1000
9897
- },
9898
- {
9899
- PalletInstance: 50
9900
- },
9901
- {
9902
- GeneralIndex: 1337
9903
- }
9904
- ]
9905
- }
9906
- },
9907
- paraSpellAssetType: "location"
9322
+ paraSpellValue: "1337",
9323
+ paraSpellAssetType: "id"
9908
9324
  },
9909
9325
  multiChainAsset: "USDC-USDCoin",
9910
9326
  hasValue: true,
@@ -9968,23 +9384,8 @@
9968
9384
  ]
9969
9385
  }
9970
9386
  },
9971
- paraSpellValue: {
9972
- parents: 1,
9973
- interior: {
9974
- X3: [
9975
- {
9976
- Parachain: 1000
9977
- },
9978
- {
9979
- PalletInstance: 50
9980
- },
9981
- {
9982
- GeneralIndex: 1337
9983
- }
9984
- ]
9985
- }
9986
- },
9987
- paraSpellAssetType: "location"
9387
+ paraSpellValue: "22",
9388
+ paraSpellAssetType: "id"
9988
9389
  },
9989
9390
  multiChainAsset: "USDC-USDCoin",
9990
9391
  hasValue: true,
@@ -10279,23 +9680,8 @@
10279
9680
  onChainInfo: {
10280
9681
  ForeignAsset: 4
10281
9682
  },
10282
- paraSpellValue: {
10283
- parents: 1,
10284
- interior: {
10285
- X2: [
10286
- {
10287
- Parachain: 2032
10288
- },
10289
- {
10290
- GeneralKey: {
10291
- data: "0x0002000000000000000000000000000000000000000000000000000000000000",
10292
- length: 2
10293
- }
10294
- }
10295
- ]
10296
- }
10297
- },
10298
- paraSpellAssetType: "location"
9683
+ paraSpellValue: "INTR",
9684
+ paraSpellAssetType: "symbol"
10299
9685
  },
10300
9686
  multiChainAsset: "INTR-Interlay",
10301
9687
  hasValue: true,
@@ -10330,23 +9716,8 @@
10330
9716
  assetType: "LOCAL",
10331
9717
  metadata: {
10332
9718
  assetId: "13",
10333
- paraSpellValue: {
10334
- parents: 1,
10335
- interior: {
10336
- X2: [
10337
- {
10338
- Parachain: 2031
10339
- },
10340
- {
10341
- GeneralKey: {
10342
- data: "0x0001000000000000000000000000000000000000000000000000000000000000",
10343
- length: 2
10344
- }
10345
- }
10346
- ]
10347
- }
10348
- },
10349
- paraSpellAssetType: "location"
9719
+ paraSpellValue: "CFG",
9720
+ paraSpellAssetType: "symbol"
10350
9721
  },
10351
9722
  multiChainAsset: "CFG-Centrifuge",
10352
9723
  hasValue: true,
@@ -10457,17 +9828,8 @@
10457
9828
  onChainInfo: {
10458
9829
  MantaCurrency: "1"
10459
9830
  },
10460
- paraSpellValue: {
10461
- parents: 1,
10462
- interior: {
10463
- X1: [
10464
- {
10465
- Parachain: 2104
10466
- }
10467
- ]
10468
- }
10469
- },
10470
- paraSpellAssetType: "location"
9831
+ paraSpellValue: "MANTA",
9832
+ paraSpellAssetType: "symbol"
10471
9833
  },
10472
9834
  multiChainAsset: "MANTA-MantaAtlantic",
10473
9835
  hasValue: true,
@@ -10503,13 +9865,8 @@
10503
9865
  onChainInfo: {
10504
9866
  MantaCurrency: "8"
10505
9867
  },
10506
- paraSpellValue: {
10507
- parents: 1,
10508
- interior: {
10509
- Here: null
10510
- }
10511
- },
10512
- paraSpellAssetType: "location"
9868
+ paraSpellValue: "DOT",
9869
+ paraSpellAssetType: "symbol"
10513
9870
  },
10514
9871
  multiChainAsset: "DOT-Polkadot",
10515
9872
  hasValue: true,
@@ -10527,18 +9884,9 @@
10527
9884
  metadata: {
10528
9885
  assetId: "166446646689194205559791995948102903873",
10529
9886
  assetType: "ForeignAsset",
10530
- paraSpellValue: {
10531
- parents: 1,
10532
- interior: {
10533
- X1: [
10534
- {
10535
- Parachain: 2104
10536
- }
10537
- ]
10538
- }
10539
- },
9887
+ paraSpellValue: "MANTA",
10540
9888
  contractAddress: "0xfFFffFFf7D3875460d4509eb8d0362c611B4E841",
10541
- paraSpellAssetType: "location"
9889
+ paraSpellAssetType: "symbol"
10542
9890
  },
10543
9891
  multiChainAsset: "MANTA-MantaAtlantic",
10544
9892
  hasValue: true,
@@ -10636,17 +9984,8 @@
10636
9984
  onChainInfo: {
10637
9985
  Token2: "8"
10638
9986
  },
10639
- paraSpellValue: {
10640
- parents: 1,
10641
- interior: {
10642
- X1: [
10643
- {
10644
- Parachain: 2104
10645
- }
10646
- ]
10647
- }
10648
- },
10649
- paraSpellAssetType: "location"
9987
+ paraSpellValue: "MANTA",
9988
+ paraSpellAssetType: "symbol"
10650
9989
  },
10651
9990
  multiChainAsset: "MANTA-MantaAtlantic",
10652
9991
  hasValue: true,
@@ -10871,17 +10210,8 @@
10871
10210
  assetType: "LOCAL",
10872
10211
  metadata: {
10873
10212
  assetId: "9",
10874
- paraSpellValue: {
10875
- parents: 1,
10876
- interior: {
10877
- X1: [
10878
- {
10879
- Parachain: 2006
10880
- }
10881
- ]
10882
- }
10883
- },
10884
- paraSpellAssetType: "location",
10213
+ paraSpellValue: "ASTR",
10214
+ paraSpellAssetType: "symbol",
10885
10215
  alternativeSwapAsset: "astar-NATIVE-ASTR"
10886
10216
  },
10887
10217
  multiChainAsset: "ASTR-Astar",
@@ -11657,18 +10987,9 @@
11657
10987
  parents: 0,
11658
10988
  interior: "Here"
11659
10989
  },
11660
- paraSpellValue: {
11661
- parents: 1,
11662
- interior: {
11663
- X1: [
11664
- {
11665
- Parachain: 3369
11666
- }
11667
- ]
11668
- }
11669
- },
10990
+ paraSpellValue: "MYTH",
11670
10991
  disableEvmTransfer: true,
11671
- paraSpellAssetType: "location"
10992
+ paraSpellAssetType: "symbol"
11672
10993
  },
11673
10994
  multiChainAsset: "MYTH-Mythos",
11674
10995
  hasValue: true,
@@ -12296,23 +11617,8 @@
12296
11617
  ]
12297
11618
  }
12298
11619
  },
12299
- paraSpellValue: {
12300
- parents: 1,
12301
- interior: {
12302
- X3: [
12303
- {
12304
- Parachain: 1000
12305
- },
12306
- {
12307
- PalletInstance: 50
12308
- },
12309
- {
12310
- GeneralIndex: 1337
12311
- }
12312
- ]
12313
- }
12314
- },
12315
- paraSpellAssetType: "location"
11620
+ paraSpellValue: "USDC",
11621
+ paraSpellAssetType: "symbol"
12316
11622
  },
12317
11623
  multiChainAsset: "USDC-USDCoin",
12318
11624
  hasValue: true,
@@ -12593,9 +11899,9 @@
12593
11899
  onChainInfo: {
12594
11900
  XCM: "1"
12595
11901
  },
12596
- paraSpellValue: "1",
11902
+ paraSpellValue: "USDT",
12597
11903
  isDisableTransfer: true,
12598
- paraSpellAssetType: "id"
11904
+ paraSpellAssetType: "symbol"
12599
11905
  },
12600
11906
  multiChainAsset: "USDT-Tether",
12601
11907
  hasValue: true,
@@ -12744,13 +12050,8 @@
12744
12050
  minAmount: "33333333",
12745
12051
  assetType: "NATIVE",
12746
12052
  metadata: {
12747
- paraSpellValue: {
12748
- parents: 1,
12749
- interior: {
12750
- Here: null
12751
- }
12752
- },
12753
- paraSpellAssetType: "location"
12053
+ paraSpellValue: "KSM",
12054
+ paraSpellAssetType: "symbol"
12754
12055
  },
12755
12056
  multiChainAsset: "KSM-Kusama",
12756
12057
  hasValue: true,
@@ -13145,13 +12446,8 @@
13145
12446
  ]
13146
12447
  }
13147
12448
  },
13148
- paraSpellValue: {
13149
- parents: 1,
13150
- interior: {
13151
- Here: null
13152
- }
13153
- },
13154
- paraSpellAssetType: "location"
12449
+ paraSpellValue: "KSM",
12450
+ paraSpellAssetType: "symbol"
13155
12451
  },
13156
12452
  multiChainAsset: "KSM-Kusama",
13157
12453
  hasValue: true,
@@ -13178,23 +12474,8 @@
13178
12474
  ]
13179
12475
  }
13180
12476
  },
13181
- paraSpellValue: {
13182
- parents: 1,
13183
- interior: {
13184
- X3: [
13185
- {
13186
- Parachain: 1000
13187
- },
13188
- {
13189
- PalletInstance: 50
13190
- },
13191
- {
13192
- GeneralIndex: 14
13193
- }
13194
- ]
13195
- }
13196
- },
13197
- paraSpellAssetType: "location"
12477
+ paraSpellValue: "DOT",
12478
+ paraSpellAssetType: "symbol"
13198
12479
  },
13199
12480
  multiChainAsset: "DOT-Polkadot",
13200
12481
  hasValue: true,
@@ -13386,27 +12667,8 @@
13386
12667
  ]
13387
12668
  }
13388
12669
  },
13389
- paraSpellValue: {
13390
- parents: 2,
13391
- interior: {
13392
- X2: [
13393
- {
13394
- GlobalConsensus: {
13395
- Ethereum: {
13396
- chainId: 1
13397
- }
13398
- }
13399
- },
13400
- {
13401
- AccountKey20: {
13402
- key: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
13403
- network: null
13404
- }
13405
- }
13406
- ]
13407
- }
13408
- },
13409
- paraSpellAssetType: "location"
12670
+ paraSpellValue: "WETH",
12671
+ paraSpellAssetType: "symbol"
13410
12672
  },
13411
12673
  multiChainAsset: "ETH-Ethereum",
13412
12674
  hasValue: true,
@@ -13433,17 +12695,8 @@
13433
12695
  ]
13434
12696
  }
13435
12697
  },
13436
- paraSpellValue: {
13437
- parents: 1,
13438
- interior: {
13439
- X1: [
13440
- {
13441
- Parachain: 3369
13442
- }
13443
- ]
13444
- }
13445
- },
13446
- paraSpellAssetType: "location"
12698
+ paraSpellValue: "MYTH",
12699
+ paraSpellAssetType: "symbol"
13447
12700
  },
13448
12701
  multiChainAsset: "MYTH-Mythos",
13449
12702
  hasValue: true,
@@ -13496,23 +12749,8 @@
13496
12749
  ]
13497
12750
  }
13498
12751
  },
13499
- paraSpellValue: {
13500
- parents: 1,
13501
- interior: {
13502
- X3: [
13503
- {
13504
- Parachain: 1000
13505
- },
13506
- {
13507
- PalletInstance: 50
13508
- },
13509
- {
13510
- GeneralIndex: 21
13511
- }
13512
- ]
13513
- }
13514
- },
13515
- paraSpellAssetType: "location"
12752
+ paraSpellValue: "WBTC",
12753
+ paraSpellAssetType: "symbol"
13516
12754
  },
13517
12755
  multiChainAsset: "WBTC-WrappedBTC",
13518
12756
  hasValue: true,
@@ -13549,23 +12787,8 @@
13549
12787
  ]
13550
12788
  }
13551
12789
  },
13552
- paraSpellValue: {
13553
- parents: 1,
13554
- interior: {
13555
- X3: [
13556
- {
13557
- Parachain: 1000
13558
- },
13559
- {
13560
- PalletInstance: 50
13561
- },
13562
- {
13563
- GeneralIndex: 38
13564
- }
13565
- ]
13566
- }
13567
- },
13568
- paraSpellAssetType: "location"
12790
+ paraSpellValue: "SHIB",
12791
+ paraSpellAssetType: "symbol"
13569
12792
  },
13570
12793
  multiChainAsset: "SHIB-SHIBAINU",
13571
12794
  hasValue: true,
@@ -13602,27 +12825,8 @@
13602
12825
  ]
13603
12826
  }
13604
12827
  },
13605
- paraSpellValue: {
13606
- parents: 2,
13607
- interior: {
13608
- X2: [
13609
- {
13610
- GlobalConsensus: {
13611
- Ethereum: {
13612
- chainId: 1
13613
- }
13614
- }
13615
- },
13616
- {
13617
- AccountKey20: {
13618
- key: "0x6982508145454ce325ddbe47a25d4ec3d2311933",
13619
- network: null
13620
- }
13621
- }
13622
- ]
13623
- }
13624
- },
13625
- paraSpellAssetType: "location"
12828
+ paraSpellValue: "PEPE",
12829
+ paraSpellAssetType: "symbol"
13626
12830
  },
13627
12831
  multiChainAsset: "PEPE-Pepe",
13628
12832
  hasValue: true,
@@ -13675,27 +12879,8 @@
13675
12879
  ]
13676
12880
  }
13677
12881
  },
13678
- paraSpellValue: {
13679
- parents: 2,
13680
- interior: {
13681
- X2: [
13682
- {
13683
- GlobalConsensus: {
13684
- Ethereum: {
13685
- chainId: 1
13686
- }
13687
- }
13688
- },
13689
- {
13690
- AccountKey20: {
13691
- key: "0x582d872a1b094fc48f5de31d3b73f2d9be47def1",
13692
- network: null
13693
- }
13694
- }
13695
- ]
13696
- }
13697
- },
13698
- paraSpellAssetType: "location"
12882
+ paraSpellValue: "TON",
12883
+ paraSpellAssetType: "symbol"
13699
12884
  },
13700
12885
  multiChainAsset: "TON-TONCoin",
13701
12886
  hasValue: true,
@@ -13748,27 +12933,8 @@
13748
12933
  ]
13749
12934
  }
13750
12935
  },
13751
- paraSpellValue: {
13752
- parents: 2,
13753
- interior: {
13754
- X2: [
13755
- {
13756
- GlobalConsensus: {
13757
- Ethereum: {
13758
- chainId: 1
13759
- }
13760
- }
13761
- },
13762
- {
13763
- AccountKey20: {
13764
- key: "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
13765
- network: null
13766
- }
13767
- }
13768
- ]
13769
- }
13770
- },
13771
- paraSpellAssetType: "location"
12936
+ paraSpellValue: "wstETH",
12937
+ paraSpellAssetType: "symbol"
13772
12938
  },
13773
12939
  multiChainAsset: "wstETH-WrappedLiquidEther",
13774
12940
  hasValue: true,
@@ -13805,27 +12971,8 @@
13805
12971
  ]
13806
12972
  }
13807
12973
  },
13808
- paraSpellValue: {
13809
- parents: 2,
13810
- interior: {
13811
- X2: [
13812
- {
13813
- GlobalConsensus: {
13814
- Ethereum: {
13815
- chainId: 1
13816
- }
13817
- }
13818
- },
13819
- {
13820
- AccountKey20: {
13821
- key: "0x18084fba666a33d37592fa2633fd49a74dd93a88",
13822
- network: null
13823
- }
13824
- }
13825
- ]
13826
- }
13827
- },
13828
- paraSpellAssetType: "location"
12974
+ paraSpellValue: "tBTC",
12975
+ paraSpellAssetType: "symbol"
13829
12976
  },
13830
12977
  multiChainAsset: "tBTC-tBTCv2",
13831
12978
  hasValue: true,
@@ -14098,23 +13245,8 @@
14098
13245
  onChainInfo: {
14099
13246
  ForeignAsset: "7"
14100
13247
  },
14101
- paraSpellValue: {
14102
- parents: 1,
14103
- interior: {
14104
- X3: [
14105
- {
14106
- Parachain: 1000
14107
- },
14108
- {
14109
- PalletInstance: 50
14110
- },
14111
- {
14112
- GeneralIndex: 1984
14113
- }
14114
- ]
14115
- }
14116
- },
14117
- paraSpellAssetType: "location"
13248
+ paraSpellValue: "USDT",
13249
+ paraSpellAssetType: "symbol"
14118
13250
  },
14119
13251
  multiChainAsset: "USDT-Tether",
14120
13252
  hasValue: true,
@@ -14385,17 +13517,8 @@
14385
13517
  ]
14386
13518
  }
14387
13519
  },
14388
- paraSpellValue: {
14389
- parents: 1,
14390
- interior: {
14391
- X1: [
14392
- {
14393
- Parachain: 3369
14394
- }
14395
- ]
14396
- }
14397
- },
14398
- paraSpellAssetType: "location"
13520
+ paraSpellValue: "MYTH",
13521
+ paraSpellAssetType: "symbol"
14399
13522
  },
14400
13523
  multiChainAsset: "MYTH-Mythos",
14401
13524
  hasValue: true,
@@ -16129,13 +15252,8 @@
16129
15252
  minAmount: "1000000000",
16130
15253
  assetType: "NATIVE",
16131
15254
  metadata: {
16132
- paraSpellValue: {
16133
- parents: 1,
16134
- interior: {
16135
- Here: null
16136
- }
16137
- },
16138
- paraSpellAssetType: "location"
15255
+ paraSpellValue: "DOT",
15256
+ paraSpellAssetType: "symbol"
16139
15257
  },
16140
15258
  multiChainAsset: "DOT-Polkadot",
16141
15259
  hasValue: true,
@@ -20082,6 +19200,36 @@
20082
19200
  multiChainAsset: "vDOT-VoucherDot",
20083
19201
  hasValue: true,
20084
19202
  icon: "/assets/chain-assets/base_mainnet-erc20-vdot-0xbc33b4d48f76d17a1800afcb730e8a6aaada7fe5.png"
19203
+ },
19204
+ "hydradx_main-LOCAL-LDO": {
19205
+ originChain: "hydradx_main",
19206
+ slug: "hydradx_main-LOCAL-LDO",
19207
+ name: "Lido DAO",
19208
+ symbol: "LDO",
19209
+ decimals: 18,
19210
+ priceId: "lido-dao",
19211
+ minAmount: "5102040816326530",
19212
+ assetType: "LOCAL",
19213
+ metadata: {
19214
+ assetId: "1000796"
19215
+ },
19216
+ multiChainAsset: "LDO-LidoDAO",
19217
+ hasValue: true,
19218
+ icon: "/assets/chain-assets/hydradx_main-local-ldo.png"
19219
+ },
19220
+ "clover_mainnet-NATIVE-CLV": {
19221
+ originChain: "clover_mainnet",
19222
+ slug: "clover_mainnet-NATIVE-CLV",
19223
+ name: "Clover Finance",
19224
+ symbol: "CLV",
19225
+ decimals: 18,
19226
+ priceId: "clover-finance",
19227
+ minAmount: "500",
19228
+ assetType: "NATIVE",
19229
+ metadata: null,
19230
+ multiChainAsset: null,
19231
+ hasValue: true,
19232
+ icon: "/assets/chain-assets/clover_mainnet-native-clv.png"
20085
19233
  },
20086
19234
  "bittensor-LOCAL-ᚢ": {
20087
19235
  originChain: "bittensor",
@@ -20677,36 +19825,6 @@
20677
19825
  multiChainAsset: null,
20678
19826
  hasValue: true,
20679
19827
  icon: "/assets/chain-assets/bittensor-local-න.png"
20680
- },
20681
- "hydradx_main-LOCAL-LDO": {
20682
- originChain: "hydradx_main",
20683
- slug: "hydradx_main-LOCAL-LDO",
20684
- name: "Lido DAO",
20685
- symbol: "LDO",
20686
- decimals: 18,
20687
- priceId: "lido-dao",
20688
- minAmount: "5102040816326530",
20689
- assetType: "LOCAL",
20690
- metadata: {
20691
- assetId: "1000796"
20692
- },
20693
- multiChainAsset: "LDO-LidoDAO",
20694
- hasValue: true,
20695
- icon: "/assets/chain-assets/hydradx_main-local-ldo.png"
20696
- },
20697
- "clover_mainnet-NATIVE-CLV": {
20698
- originChain: "clover_mainnet",
20699
- slug: "clover_mainnet-NATIVE-CLV",
20700
- name: "Clover Finance",
20701
- symbol: "CLV",
20702
- decimals: 18,
20703
- priceId: "clover-finance",
20704
- minAmount: "500",
20705
- assetType: "NATIVE",
20706
- metadata: null,
20707
- multiChainAsset: null,
20708
- hasValue: true,
20709
- icon: "/assets/chain-assets/clover_mainnet-native-clv.png"
20710
19828
  },
20711
19829
  "quantum_fusion-NATIVE-QF": {
20712
19830
  originChain: "quantum_fusion",
@@ -20763,6 +19881,64 @@
20763
19881
  multiChainAsset: null,
20764
19882
  hasValue: true,
20765
19883
  icon: "/assets/chain-assets/fraxtal-native-frax.png"
19884
+ },
19885
+ "base_mainnet-ERC20-MYTH-0x9B9fd410d5F01a6A60acF4678a5A99D8027FA5A7": {
19886
+ originChain: "base_mainnet",
19887
+ slug: "base_mainnet-ERC20-MYTH-0x9B9fd410d5F01a6A60acF4678a5A99D8027FA5A7",
19888
+ name: "Mythos",
19889
+ symbol: "MYTH",
19890
+ decimals: 18,
19891
+ priceId: "mythos",
19892
+ minAmount: "0",
19893
+ assetType: "ERC20",
19894
+ metadata: {
19895
+ contractAddress: "0x9B9fd410d5F01a6A60acF4678a5A99D8027FA5A7"
19896
+ },
19897
+ multiChainAsset: "MYTH-Mythos",
19898
+ hasValue: true,
19899
+ icon: "/assets/chain-assets/base_mainnet-erc20-myth-0x9b9fd410d5f01a6a60acf4678a5a99d8027fa5a7.png"
19900
+ },
19901
+ "regionx_kusama-NATIVE-KSM": {
19902
+ originChain: "regionx_kusama",
19903
+ slug: "regionx_kusama-NATIVE-KSM",
19904
+ name: "Kusama",
19905
+ symbol: "KSM",
19906
+ decimals: 12,
19907
+ priceId: "kusama",
19908
+ minAmount: "10000000000",
19909
+ assetType: "NATIVE",
19910
+ metadata: null,
19911
+ multiChainAsset: "KSM-Kusama",
19912
+ hasValue: true,
19913
+ icon: "/assets/chain-assets/regionx_kusama-native-ksm.png"
19914
+ },
19915
+ "stable_testnet-NATIVE-USDT": {
19916
+ originChain: "stable_testnet",
19917
+ slug: "stable_testnet-NATIVE-USDT",
19918
+ name: "Tether USD",
19919
+ symbol: "USDT",
19920
+ decimals: 18,
19921
+ priceId: null,
19922
+ minAmount: "0",
19923
+ assetType: "NATIVE",
19924
+ metadata: null,
19925
+ multiChainAsset: null,
19926
+ hasValue: false,
19927
+ icon: "/assets/chain-assets/stable_testnet-native-usdt.png"
19928
+ },
19929
+ "abstract-NATIVE-ETH": {
19930
+ originChain: "abstract",
19931
+ slug: "abstract-NATIVE-ETH",
19932
+ name: "Ethereum",
19933
+ symbol: "ETH",
19934
+ decimals: 18,
19935
+ priceId: "ethereum",
19936
+ minAmount: "0",
19937
+ assetType: "NATIVE",
19938
+ metadata: null,
19939
+ multiChainAsset: "ETH-Ethereum",
19940
+ hasValue: true,
19941
+ icon: "/assets/chain-assets/abstract-native-eth.png"
20766
19942
  },
20767
19943
  "paseo_assethub-NATIVE-PAS": {
20768
19944
  originChain: "paseo_assethub",
@@ -33648,6 +32824,94 @@
33648
32824
  tonInfo: null,
33649
32825
  cardanoInfo: null
33650
32826
  };
32827
+ var regionx_kusama$1 = {
32828
+ slug: "regionx_kusama",
32829
+ name: "RegionX Kusama",
32830
+ isTestnet: false,
32831
+ chainStatus: "ACTIVE",
32832
+ icon: "/assets/chains/regionx_kusama.png",
32833
+ providers: {
32834
+ RegionX: "wss://regionx-kusama-rpc-lb.zeeve.net/ld940yl9c6/rpc"
32835
+ },
32836
+ evmInfo: null,
32837
+ substrateInfo: {
32838
+ relaySlug: "kusama",
32839
+ paraId: 3422,
32840
+ genesisHash: "0x086319b29662e34a4f7a3de034afe64c93e3ed477e3aed3ab3ef6e31d33bc179",
32841
+ addressPrefix: 74,
32842
+ chainType: "PARACHAIN",
32843
+ crowdloanUrl: null,
32844
+ blockExplorer: null,
32845
+ existentialDeposit: "10000000000",
32846
+ symbol: "KSM",
32847
+ decimals: 12,
32848
+ hasNativeNft: null,
32849
+ supportStaking: null,
32850
+ supportSmartContract: null,
32851
+ crowdloanParaId: null,
32852
+ crowdloanFunds: [
32853
+ ]
32854
+ },
32855
+ extraInfo: null,
32856
+ bitcoinInfo: null,
32857
+ tonInfo: null,
32858
+ cardanoInfo: null
32859
+ };
32860
+ var stable_testnet$1 = {
32861
+ slug: "stable_testnet",
32862
+ name: "Stable Testnet",
32863
+ isTestnet: true,
32864
+ chainStatus: "ACTIVE",
32865
+ icon: "/assets/chains/stable_testnet.png",
32866
+ providers: {
32867
+ JsonRPC: "https://stable-jsonrpc.testnet.chain0.dev/",
32868
+ Stable: "https://stable-jsonrpc-ar.testnet.chain0.dev/"
32869
+ },
32870
+ evmInfo: {
32871
+ evmChainId: 2201,
32872
+ blockExplorer: "https://stable-explorer.testnet.chain0.dev/",
32873
+ existentialDeposit: "0",
32874
+ symbol: "USDT",
32875
+ decimals: 18,
32876
+ supportSmartContract: [
32877
+ "ERC20",
32878
+ "ERC721"
32879
+ ],
32880
+ abiExplorer: null
32881
+ },
32882
+ substrateInfo: null,
32883
+ extraInfo: null,
32884
+ bitcoinInfo: null,
32885
+ tonInfo: null,
32886
+ cardanoInfo: null
32887
+ };
32888
+ var abstract$1 = {
32889
+ slug: "abstract",
32890
+ name: "Abstract Mainnet",
32891
+ isTestnet: false,
32892
+ chainStatus: "ACTIVE",
32893
+ icon: "/assets/chains/abstract.png",
32894
+ providers: {
32895
+ Abs: "https://api.mainnet.abs.xyz/"
32896
+ },
32897
+ evmInfo: {
32898
+ evmChainId: 2741,
32899
+ blockExplorer: "https://abscan.org/",
32900
+ existentialDeposit: "0",
32901
+ symbol: "ETH",
32902
+ decimals: 18,
32903
+ supportSmartContract: [
32904
+ "ERC20",
32905
+ "ERC721"
32906
+ ],
32907
+ abiExplorer: null
32908
+ },
32909
+ substrateInfo: null,
32910
+ extraInfo: null,
32911
+ bitcoinInfo: null,
32912
+ tonInfo: null,
32913
+ cardanoInfo: null
32914
+ };
33651
32915
  const _ChainInfoMap = {
33652
32916
  polkadot: polkadot$1,
33653
32917
  kusama: kusama$1,
@@ -34070,7 +33334,10 @@
34070
33334
  clover_mainnet: clover_mainnet$1,
34071
33335
  quantum_fusion: quantum_fusion$1,
34072
33336
  subtensor_evm: subtensor_evm$1,
34073
- auto_evm: auto_evm$1
33337
+ auto_evm: auto_evm$1,
33338
+ regionx_kusama: regionx_kusama$1,
33339
+ stable_testnet: stable_testnet$1,
33340
+ abstract: abstract$1
34074
33341
  };
34075
33342
 
34076
33343
  var polkadot = "/assets/chains/polkadot.png";
@@ -34435,6 +33702,9 @@
34435
33702
  var quantum_fusion = "/assets/chains/quantum_fusion.png";
34436
33703
  var subtensor_evm = "/assets/chains/subtensor_evm.png";
34437
33704
  var auto_evm = "/assets/chains/auto_evm.png";
33705
+ var regionx_kusama = "/assets/chains/regionx_kusama.png";
33706
+ var stable_testnet = "/assets/chains/stable_testnet.png";
33707
+ var abstract = "/assets/chains/abstract.png";
34438
33708
  const _ChainLogoMap = {
34439
33709
  "default": "/assets/default.png",
34440
33710
  polkadot: polkadot,
@@ -34801,6 +34071,9 @@
34801
34071
  quantum_fusion: quantum_fusion,
34802
34072
  subtensor_evm: subtensor_evm,
34803
34073
  auto_evm: auto_evm,
34074
+ regionx_kusama: regionx_kusama,
34075
+ stable_testnet: stable_testnet,
34076
+ abstract: abstract,
34804
34077
  "custom-Substrate-gosnetwork": "/assets/custom-chains/gos_37cd7c233c.png",
34805
34078
  "custom-Substrate-gosspectral": "/assets/custom-chains/gos_37cd7c233c.png"
34806
34079
  };
@@ -35896,14 +35169,14 @@
35896
35169
  providers,
35897
35170
  ...chainBaseInfo
35898
35171
  } = data;
35899
- return Md5.hashStr(JSON.stringify(chainBaseInfo));
35172
+ return h.hashStr(JSON.stringify(chainBaseInfo));
35900
35173
  }
35901
35174
  function md5HashChainAsset(data) {
35902
35175
  const {
35903
35176
  icon,
35904
35177
  ...assetBaseInfo
35905
35178
  } = data;
35906
- return Md5.hashStr(JSON.stringify(assetBaseInfo));
35179
+ return h.hashStr(JSON.stringify(assetBaseInfo));
35907
35180
  }
35908
35181
 
35909
35182
  exports.AssetLogoMap = AssetLogoMap;