tx · E2sfCVfy74p7NhMhqHh7nJZEf6ygUchYbnJA4DfYdCjm

3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb:  -0.01100000 Waves

2023.03.17 23:19 [2494468] smart account 3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb > SELF 0.00000000 Waves

{ "type": 13, "id": "E2sfCVfy74p7NhMhqHh7nJZEf6ygUchYbnJA4DfYdCjm", "fee": 1100000, "feeAssetId": null, "timestamp": 1679084344062, "version": 2, "chainId": 84, "sender": "3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb", "senderPublicKey": "2VQGRNRWyFAZvjDtkgZwdZcTwZvBJJ61n8zJfYYxm5eK", "proofs": [ "58w3vyA3xnbmTsbjLjdseeiBpKygYzdQ7a5iERc5dB7Eb4T9oEZHR837k2c1XnGdNvDL5fKvmthbWjvZnhheu2No" ], "script": "base64:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIFgAIa0pzb25SZXMCB2pzb25SZXMABXF1b3RlCQCwCQEBASIBCW1ha2VGaWVsZAEJbmV4dFZhbHVlAwcJAKwCAgkArAICCQCsAgIJAKwCAgkArAICBQVxdW90ZQgFCW5leHRWYWx1ZQJfMQUFcXVvdGUCAToIBQluZXh0VmFsdWUCXzICASwJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgUFcXVvdGUIBQluZXh0VmFsdWUCXzEFBXF1b3RlAgE6BQVxdW90ZQgFCW5leHRWYWx1ZQJfMgUFcXVvdGUCASwBD3JlZHVjZXJNYWtlSlNPTgIFYWNjdW0JbmV4dFZhbHVlCQCsAgIFBWFjY3VtCQEJbWFrZUZpZWxkAQUJbmV4dFZhbHVlAQ9pdGVyYXRlTWFrZUpTT04DBnBhcmFtcwNyZXMGbGVuZ3RoAwkAAAIFBmxlbmd0aAAACQACAQINRW1wdHkgIHBhcmFtcwMJAAACBQZsZW5ndGgAAQoAAiRsBQZwYX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bGV0ZUJ5SlNPTktleQIEanNvbgNrZXkEDSR0MDEzNTMzMTM4ODQJARNkZWxldGVCeUtleUludGVybmFsAgUEanNvbgUDa2V5BBFkZWxldGVkVmFsdWVCeUtleQgFDSR0MDEzNTMzMTM4ODQCXzEEB25ld0pzb24IBQ0kdDAxMzUzMzEzODg0Al8yCQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgIMZGVsZXRlZFZhbHVlBRFkZWxldGVkVmFsdWVCeUtleQkAzAgCCQELU3RyaW5nRW50cnkCBQhrSnNvblJlcwUHbmV3SnNvbgUDbmlsCQCUCgIFEWRlbGV0ZWRWYWx1ZUJ5S2V5BQduZXdKc29uALbBvDc=", "height": 2494468, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9DeAUiSdpYgWPY1cqgrCcMVWaVrW99ShUE1Uc9GaLhLR Next: CTp9jQcjm1vPrpEWqJcR3pfM3WCRmssqjPAFWFd9Fa14 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = getStringValue("collectionName")
4+let a = "jsonRes"
55
6-let b = getStringValue("symbol")
6+let b = toUtf8String(base58'b')
77
8-let c = getStringValue("description")
8+func c (d) = if (false)
9+ then (((((b + d._1) + b) + ":") + d._2) + ",")
10+ else (((((((b + d._1) + b) + ":") + b) + d._2) + b) + ",")
911
10-let d = getIntegerValue("totalAmount")
1112
12-let e = Address(fromBase58String("3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7"))
13+func e (f,d) = (f + c(d))
1314
14-let f = Address(getBinaryValue("tokenPayment"))
1515
16-func g (h) = if ((h == this))
16+func g (h,i,j) = if ((j == 0))
17+ then throw("Empty params")
18+ else if ((j == 1))
19+ then {
20+ let k = h
21+ let l = size(k)
22+ let m = i
23+ func n (o,p) = if ((p >= l))
24+ then o
25+ else e(o, k[p])
26+
27+ func q (o,p) = if ((p >= l))
28+ then o
29+ else throw("List size exceeds 1")
30+
31+ q(n(m, 0), 1)
32+ }
33+ else if ((j == 2))
34+ then {
35+ let k = h
36+ let l = size(k)
37+ let m = i
38+ func n (o,p) = if ((p >= l))
39+ then o
40+ else e(o, k[p])
41+
42+ func q (o,p) = if ((p >= l))
43+ then o
44+ else throw("List size exceeds 2")
45+
46+ q(n(n(m, 0), 1), 2)
47+ }
48+ else if ((j == 3))
49+ then {
50+ let k = h
51+ let l = size(k)
52+ let m = i
53+ func n (o,p) = if ((p >= l))
54+ then o
55+ else e(o, k[p])
56+
57+ func q (o,p) = if ((p >= l))
58+ then o
59+ else throw("List size exceeds 3")
60+
61+ q(n(n(n(m, 0), 1), 2), 3)
62+ }
63+ else if ((j == 4))
64+ then {
65+ let k = h
66+ let l = size(k)
67+ let m = i
68+ func n (o,p) = if ((p >= l))
69+ then o
70+ else e(o, k[p])
71+
72+ func q (o,p) = if ((p >= l))
73+ then o
74+ else throw("List size exceeds 4")
75+
76+ q(n(n(n(n(m, 0), 1), 2), 3), 4)
77+ }
78+ else if ((j == 5))
79+ then {
80+ let k = h
81+ let l = size(k)
82+ let m = i
83+ func n (o,p) = if ((p >= l))
84+ then o
85+ else e(o, k[p])
86+
87+ func q (o,p) = if ((p >= l))
88+ then o
89+ else throw("List size exceeds 5")
90+
91+ q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5)
92+ }
93+ else if ((j == 6))
94+ then {
95+ let k = h
96+ let l = size(k)
97+ let m = i
98+ func n (o,p) = if ((p >= l))
99+ then o
100+ else e(o, k[p])
101+
102+ func q (o,p) = if ((p >= l))
103+ then o
104+ else throw("List size exceeds 6")
105+
106+ q(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6)
107+ }
108+ else if ((j == 7))
109+ then {
110+ let k = h
111+ let l = size(k)
112+ let m = i
113+ func n (o,p) = if ((p >= l))
114+ then o
115+ else e(o, k[p])
116+
117+ func q (o,p) = if ((p >= l))
118+ then o
119+ else throw("List size exceeds 7")
120+
121+ q(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7)
122+ }
123+ else if ((j == 8))
124+ then {
125+ let k = h
126+ let l = size(k)
127+ let m = i
128+ func n (o,p) = if ((p >= l))
129+ then o
130+ else e(o, k[p])
131+
132+ func q (o,p) = if ((p >= l))
133+ then o
134+ else throw("List size exceeds 8")
135+
136+ q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8)
137+ }
138+ else if ((j == 9))
139+ then {
140+ let k = h
141+ let l = size(k)
142+ let m = i
143+ func n (o,p) = if ((p >= l))
144+ then o
145+ else e(o, k[p])
146+
147+ func q (o,p) = if ((p >= l))
148+ then o
149+ else throw("List size exceeds 9")
150+
151+ q(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9)
152+ }
153+ else if ((j == 10))
154+ then {
155+ let k = h
156+ let l = size(k)
157+ let m = i
158+ func n (o,p) = if ((p >= l))
159+ then o
160+ else e(o, k[p])
161+
162+ func q (o,p) = if ((p >= l))
163+ then o
164+ else throw("List size exceeds 10")
165+
166+ q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
167+ }
168+ else throw("The max number of parameters exceeded")
169+
170+
171+func r (s) = {
172+ let t = s[0]
173+ let u = s[1]
174+ let v = s[2]
175+ let w = s[3]
176+ let x = s[4]
177+ let y = s[5]
178+ let z = s[6]
179+ let A = s[7]
180+ let B = s[8]
181+ let C = s[9]
182+ let D = removeByIndex(s, 0)
183+ let E = removeByIndex(D, 0)
184+ let F = removeByIndex(E, 0)
185+ let G = removeByIndex(F, 0)
186+ let H = removeByIndex(G, 0)
187+ let I = removeByIndex(H, 0)
188+ let J = removeByIndex(I, 0)
189+ let K = removeByIndex(J, 0)
190+ let L = removeByIndex(K, 0)
191+ let M = removeByIndex(L, 0)
192+ $Tuple2([t, u, v, w, x, y, z, A, B, C], M)
193+ }
194+
195+
196+func N (O) = if ((O == this))
17197 then unit
18198 else throw("Only internal call")
19199
20200
21-func i (j,k) = if ((j == this))
22- then StringEntry("костыль", "костыль")
23- else ScriptTransfer(j, 1, k)
201+func P (s,F) = [$Tuple2(s[0], F[0])]
24202
25203
26-func l (k) = valueOrErrorMessage(assetInfo(fromBase58String(k)), "Can't find asset by asset id")
204+func Q (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1])]
27205
28206
29-func m (h,k) = if ((assetBalance(h, fromBase58String(k)) == 1))
30- then unit
31- else throw("Only asset owner")
207+func R (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2])]
32208
33209
34-@Callable(n)
35-func makeJSONInternal (o,p) = valueOrElse(g(n.caller), {
36- let q = invoke(e, "makeJSON", [o, p], nil)
37- if ((q == q))
38- then $Tuple2(nil, q)
39- else throw("Strict value is not equal to itself.")
40- })
210+func S (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3])]
211+
212+
213+func T (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4])]
214+
215+
216+func U (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5])]
217+
218+
219+func V (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6])]
220+
221+
222+func W (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7])]
223+
224+
225+func X (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7]), $Tuple2(s[8], F[8])]
226+
227+
228+func Y (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3]), $Tuple2(s[4], F[4]), $Tuple2(s[5], F[5]), $Tuple2(s[6], F[6]), $Tuple2(s[7], F[7]), $Tuple2(s[8], F[8]), $Tuple2(s[9], F[9])]
229+
230+
231+func Z (aa,ab,j) = if ((j == 0))
232+ then throw("Empty params")
233+ else if ((j == 1))
234+ then P(aa, ab)
235+ else if ((j == 2))
236+ then Q(aa, ab)
237+ else if ((j == 3))
238+ then R(aa, ab)
239+ else if ((j == 4))
240+ then S(aa, ab)
241+ else if ((j == 5))
242+ then T(aa, ab)
243+ else if ((j == 6))
244+ then U(aa, ab)
245+ else if ((j == 7))
246+ then V(aa, ab)
247+ else if ((j == 8))
248+ then W(aa, ab)
249+ else if ((j == 9))
250+ then X(aa, ab)
251+ else if ((j == 10))
252+ then Y(aa, ab)
253+ else throw("Max number of parameters exceeded")
254+
255+
256+func ac (ad,ae) = {
257+ let af = size(ae)
258+ let ag = value(indexOf(ad, ae))
259+ let ah = valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag)))
260+ $Tuple3(af, ag, ah)
261+ }
262+
263+
264+func ai (f,aj) = {
265+ let ak = f
266+ let al = ak._1
267+ let am = ak._2
268+ let an = ak._3
269+ let ao = ak._4
270+ if (!(ao))
271+ then $Tuple4(((al + aj) + "check"), am, an, true)
272+ else f
273+ }
274+
275+
276+func ap (ad,ae) = {
277+ let aq = ac(ad, ae)
278+ let af = aq._1
279+ let ag = aq._2
280+ let ah = aq._3
281+ drop(take(ad, (ah - 1)), ((ag + af) + 3))
282+ }
283+
284+
285+func ar (ad,ae) = {
286+ let as = ac(ad, ae)
287+ let af = as._1
288+ let ag = as._2
289+ let ah = as._3
290+ let at = drop(take(ad, (ah - 1)), ((ag + af) + 3))
291+ let au = split(ad, ",")
292+ let av = if (contains(at, "{"))
293+ then ( let k = au
294+ let l = size(k)
295+ let m = $Tuple4("", 0, 0, false)
296+ func n (o,p) = if ((p >= l))
297+ then o
298+ else ai(o, k[p])
299+
300+ func q (o,p) = if ((p >= l))
301+ then o
302+ else throw("List size exceeds 10")
303+
304+ q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10))._1
305+ else at
306+ let aw = if (((size(ad) - ah) == 1))
307+ then (take(ad, (ag - 2)) + drop(ad, ah))
308+ else (take(ad, (ag - 1)) + drop(ad, (ah + 1)))
309+ $Tuple2(av, aw)
310+ }
311+
312+
313+@Callable(ax)
314+func makeJSONInternal (ay,az,aA,aB,i) = valueOrElse(N(ax.caller), if ((aA > 0))
315+ then {
316+ let aC = r(ay)
317+ let aa = aC._1
318+ let aD = aC._2
319+ let aE = r(az)
320+ let ab = aE._1
321+ let aF = aE._2
322+ let h = Z(aa, ab, 10)
323+ let aG = g(h, i, 10)
324+ let al = invoke(this, "makeJSONInternal", [aD, aF, (aA - 1), aB, aG], nil)
325+ if ((al == al))
326+ then $Tuple2(nil, al)
327+ else throw("Strict value is not equal to itself.")
328+ }
329+ else if ((aB != 0))
330+ then {
331+ let h = Z(ay, az, aB)
332+ let aG = g(h, i, aB)
333+ $Tuple2(nil, (("{" + dropRight(aG, 1)) + "}"))
334+ }
335+ else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}")))
41336
42337
43338
44-@Callable(n)
45-func addToJSONInternal (r,o,p) = valueOrElse(g(n.caller), {
46- let q = invoke(e, "addToJSON", [r, o, p], nil)
47- if ((q == q))
48- then $Tuple2(nil, q)
49- else throw("Strict value is not equal to itself.")
50- })
339+@Callable(ax)
340+func makeJSON (ay,az) = if ((size(ay) != size(az)))
341+ then throw("ArrayKeys and ArrayValues length must be equal")
342+ else {
343+ let aH = size(ay)
344+ let aA = fraction(1, aH, 10)
345+ let aB = (aH % 10)
346+ let i = invoke(this, "makeJSONInternal", [ay, az, aA, aB, ""], nil)
347+ if ((i == i))
348+ then $Tuple2(nil, i)
349+ else throw("Strict value is not equal to itself.")
350+ }
51351
52352
53353
54-@Callable(n)
55-func readByJSONKeyInternal (r,s) = valueOrElse(g(n.caller), {
56- let q = invoke(e, "readByJSONKey", [r, s], nil)
57- if ((q == q))
58- then $Tuple2(nil, q)
59- else throw("Strict value is not equal to itself.")
60- })
354+@Callable(ax)
355+func addToJSON (ad,ay,az) = if ((size(ay) != size(az)))
356+ then throw("ArrayKeys and ArrayValues length must be equal")
357+ else {
358+ let aH = size(ay)
359+ let aA = fraction(1, aH, 10)
360+ let aB = (aH % 10)
361+ let i = invoke(this, "makeJSONInternal", [ay, az, aA, aB, (drop(dropRight(ad, 1), 1) + ",")], nil)
362+ if ((i == i))
363+ then $Tuple2(nil, i)
364+ else throw("Strict value is not equal to itself.")
365+ }
61366
62367
63368
64-@Callable(n)
65-func deleteByJSONKeyInternal (r,s) = valueOrElse(g(n.caller), {
66- let q = invoke(e, "deleteByJSONKey", [r, s], nil)
67- if ((q == q))
68- then $Tuple2(nil, q)
69- else throw("Strict value is not equal to itself.")
70- })
71-
72-
73-
74-@Callable(n)
75-func storageJsonInternal (t,u) = valueOrElse(g(n.caller), [StringEntry(t, u)])
76-
77-
78-
79-@Callable(n)
80-func setUser (k,v,w) = {
81- let q = invoke(e, "makeJSON", [["user", "expires"], [v, w]], nil)
82- if ((q == q))
83- then $Tuple2([StringEntry(("userOf-" + k), {
84- let x = q
85- if ($isInstanceOf(x, "String"))
86- then x
87- else throw(($getType(x) + " couldn't be cast to String"))
88- })], q)
89- else throw("Strict value is not equal to itself.")
369+@Callable(ax)
370+func readByJSONKey (ad,ae) = {
371+ let aI = ap(ad, ae)
372+ $Tuple2([StringEntry("valueByKey", aI)], aI)
90373 }
91374
92375
93376
94-@Callable(n)
95-func setTokenPayment (k) = valueOrElse(g(n.caller), [BinaryEntry("tokenPayment", k)])
96-
97-
98-
99-@Callable(n)
100-func deleteValueByKey (s) = valueOrElse(g(n.caller), [DeleteEntry(s)])
101-
102-
103-
104-@Callable(n)
105-func setString (s,y) = valueOrElse(g(n.caller), [StringEntry(s, y)])
106-
107-
108-
109-@Callable(n)
110-func init (a,b,c) = valueOrElse(g(n.caller), [StringEntry("collectionName", a), StringEntry("symbol", b), StringEntry("description", c), IntegerEntry("totalAmount", 0)])
111-
112-
113-
114-@Callable(n)
115-func mint (j,z) = {
116- let A = (d + 1)
117- let B = ((b + "#") + toString(A))
118- let C = if ((16 >= size(B)))
119- then B
120- else toString(A)
121- let r = {
122- let x = invoke(e, "makeJSON", [["tokenURI"], [z]], nil)
123- if ($isInstanceOf(x, "String"))
124- then x
125- else throw(($getType(x) + " couldn't be cast to String"))
126- }
127- let D = Issue(C, r, 1, 0, false, unit, height)
128- let k = calculateAssetId(D)
129- let E = Address(fromBase58String(j))
130- let F = i(E, k)
131- if ((F == F))
132- then [D, F, IntegerEntry("totalAmount", A), StringEntry(C, z)]
133- else throw("Strict value is not equal to itself.")
134- }
135-
136-
137-
138-@Callable(n)
139-func initLend (k,G,H,I) = valueOrElse(m(n.caller, k), {
140- let D = l(k)
141- let z = {
142- let x = invoke(e, "readByJSONKey", [D.description, "tokenURI"], nil)
143- if ($isInstanceOf(x, "String"))
144- then x
145- else throw(($getType(x) + " couldn't be cast to String"))
146- }
147- if ((z == z))
148- then {
149- let J = getStringValue("Lends")
150- let K = {
151- let x = invoke(e, "deleteByJSONKey", [J, "lendCount"], nil)
152- if ($isInstanceOf(x, "(String, String)"))
153- then x
154- else throw(($getType(x) + " couldn't be cast to (String, String)"))
155- }
156- if ((K == K))
157- then {
158- let L = K._1
159- let M = toString((parseIntValue(L) + 1))
160- let N = {
161- let x = invoke(e, "makeJSON", [["supportedInterface", "assetdId", "tokenURI", "owner", "timeUnitSeconds", "timeUnitPrice", "timeUnitCount", "startTimestamp", "endTimestamp", "deposit", "claimed", "rents"], ["0", k, z, toString(n.caller), toString(G), toString(H), toString(I), toString(lastBlock.timestamp), toString((lastBlock.timestamp + (G * I))), "0", "0", "{\"name\":\"Rents\",\"rentCount\":\"0\"}"]], nil)
162- if ($isInstanceOf(x, "String"))
163- then x
164- else throw(($getType(x) + " couldn't be cast to String"))
165- }
166- if ((N == N))
167- then {
168- let O = {
169- let x = invoke(e, "addToJSON", [K._2, [L, "lendCount"], [N, M]], nil)
170- if ($isInstanceOf(x, "String"))
171- then x
172- else throw(($getType(x) + " couldn't be cast to String"))
173- }
174- if ((O == O))
175- then [StringEntry("Lends", O)]
176- else throw("Strict value is not equal to itself.")
177- }
178- else throw("Strict value is not equal to itself.")
179- }
180- else throw("Strict value is not equal to itself.")
181- }
182- else throw("Strict value is not equal to itself.")
183- })
184-
185-
186-
187-@Callable(n)
188-func initRent (L,I) = {
189- let P = toString(L)
190- let J = getStringValue("Lends")
191- let Q = {
192- let x = invoke(e, "deleteByJSONKey", [J, "lendCount"], nil)
193- if ($isInstanceOf(x, "(String, String)"))
194- then x
195- else throw(($getType(x) + " couldn't be cast to (String, String)"))
196- }
197- if ((Q == Q))
198- then {
199- let R = {
200- let x = invoke(e, "deleteByJSONKey", [Q._2, P], nil)
201- if ($isInstanceOf(x, "(String, String)"))
202- then x
203- else throw(($getType(x) + " couldn't be cast to (String, String)"))
204- }
205- if ((R == R))
206- then [StringEntry("Debug", R._1)]
207- else throw("Strict value is not equal to itself.")
208- }
209- else throw("Strict value is not equal to itself.")
377+@Callable(ax)
378+func deleteByJSONKey (ad,ae) = {
379+ let aJ = ar(ad, ae)
380+ let aK = aJ._1
381+ let aw = aJ._2
382+ $Tuple2([StringEntry("deletedValue", aK), StringEntry(a, aw)], $Tuple2(aK, aw))
210383 }
211384
212385

github/deemru/w8io/169f3d6 
114.82 ms