tx · EZgPb8KCpRZtm4dGCcEtvqRJknDuJZxoDL8MhrRGtWvD

3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7:  -0.01200000 Waves

2023.03.23 16:57 [2502738] smart account 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7 > SELF 0.00000000 Waves

{ "type": 13, "id": "EZgPb8KCpRZtm4dGCcEtvqRJknDuJZxoDL8MhrRGtWvD", "fee": 1200000, "feeAssetId": null, "timestamp": 1679579842001, "version": 2, "chainId": 84, "sender": "3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7", "senderPublicKey": "CrHxACS7bWTh8cgmgqstvybmgMqR9KtDryGFt5svZhBW", "proofs": [ "53Qt7ZD9Eq5BovsrP7nv23U5LCfRFDBBSQAFceHmSMPubhgFYpeGTm27izZcp3zTHCvSThJzuu1AwnyDqdUCKzMR" ], "script": "base64:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIGAAIa0pzb25SZXMCB2pzb25SZXMABXF1b3RlCQCwCQEBASIBCW1ha2VGaWVsZAEJbmV4dFZhbHVlCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIFBXF1b3RlCAUJbmV4dFZhbHVlAl8xBQVxdW90ZQIBOgUFcXVvdGUIBQluZXh0VmFsdWUCXzIFBXF1b3RlAgEsAQ9yZWR1Y2VyTWFrZUpTT04CBWFjY3VtCW5leHRWYWx1ZQkArAICBQVhY2N1bQkBCW1ha2VGaWVsZAEFCW5leHRWYWx1ZQEPaXRlcmF0ZU1ha2VKU09OAwZwYXJhbXMDcmVzBmxlbmd0aAMJAAACBQZsZW5ndGgAAAkAAgECDUVtcHR5ICBwYXJhbXMDCQAAAgUGbGVuZ3RoAAEKAAIkbAUGcGFyYW1zCgACJHMJAJADAQUCJGwKAAUkYWNjMAUDcmVzCgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQ9yZWR1Y2VyTWFrZU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BQRqc29uBQNrZXkEEWRlbGV0ZWRWYWx1ZUJ5S2V5CAUNJHQwMTY1OTAxNjk0OQJfMQQHbmV3SnNvbggFDSR0MDE2NTkwMTY5NDkCXzIJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCAgxkZWxldGVkVmFsdWUFEWRlbGV0ZWRWYWx1ZUJ5S2V5CQDMCAIJAQtTdHJpbmdFbnRyeQIFCGtKc29uUmVzBQduZXdKc29uBQNuaWwJAJQKAgURZGVsZXRlZFZhbHVlQnlLZXkFB25ld0pzb24AvS1yXA==", "height": 2502738, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GVzumzxbxdikRJYB68uyHyN3siPN3dfYnKNS3iugUsdx Next: none 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")
9-
10-let d = getIntegerValue("totalAmount")
11-
12-let e = getStringValue("baseURI")
13-
14-let f = Address(fromBase58String("3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7"))
15-
16-let g = getBinaryValue("tokenPayment")
17-
18-let h = valueOrErrorMessage(assetInfo(getBinaryValue("tokenPayment")), "token payment asset doesn't connect")
19-
20-let i = getIntegerValue("lendCount")
21-
22-let j = getIntegerValue("lendCurrentCount")
23-
24-let k = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]
25-
26-func l (m) = valueOrErrorMessage(assetInfo(fromBase58String(m)), "Can't find asset by asset id")
8+func c (d) = (((((((b + d._1) + b) + ":") + b) + d._2) + b) + ",")
279
2810
29-func n (o,p,m) = if ((o == this))
30- then StringEntry("smth", "smth")
31- else ScriptTransfer(o, p, m)
11+func e (f,d) = (f + c(d))
3212
3313
34-func q (r) = {
35- let s = toString(r)
36- getStringValue(("lend-" + s))
14+func g (h,i,j) = if ((j == 0))
15+ then throw("Empty params")
16+ else if ((j == 1))
17+ then {
18+ let k = h
19+ let l = size(k)
20+ let m = i
21+ func n (o,p) = if ((p >= l))
22+ then o
23+ else e(o, k[p])
24+
25+ func q (o,p) = if ((p >= l))
26+ then o
27+ else throw("List size exceeds 1")
28+
29+ q(n(m, 0), 1)
30+ }
31+ else if ((j == 2))
32+ then {
33+ let k = h
34+ let l = size(k)
35+ let m = i
36+ func n (o,p) = if ((p >= l))
37+ then o
38+ else e(o, k[p])
39+
40+ func q (o,p) = if ((p >= l))
41+ then o
42+ else throw("List size exceeds 2")
43+
44+ q(n(n(m, 0), 1), 2)
45+ }
46+ else if ((j == 3))
47+ then {
48+ let k = h
49+ let l = size(k)
50+ let m = i
51+ func n (o,p) = if ((p >= l))
52+ then o
53+ else e(o, k[p])
54+
55+ func q (o,p) = if ((p >= l))
56+ then o
57+ else throw("List size exceeds 3")
58+
59+ q(n(n(n(m, 0), 1), 2), 3)
60+ }
61+ else if ((j == 4))
62+ then {
63+ let k = h
64+ let l = size(k)
65+ let m = i
66+ func n (o,p) = if ((p >= l))
67+ then o
68+ else e(o, k[p])
69+
70+ func q (o,p) = if ((p >= l))
71+ then o
72+ else throw("List size exceeds 4")
73+
74+ q(n(n(n(n(m, 0), 1), 2), 3), 4)
75+ }
76+ else if ((j == 5))
77+ then {
78+ let k = h
79+ let l = size(k)
80+ let m = i
81+ func n (o,p) = if ((p >= l))
82+ then o
83+ else e(o, k[p])
84+
85+ func q (o,p) = if ((p >= l))
86+ then o
87+ else throw("List size exceeds 5")
88+
89+ q(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5)
90+ }
91+ else if ((j == 6))
92+ then {
93+ let k = h
94+ let l = size(k)
95+ let m = i
96+ func n (o,p) = if ((p >= l))
97+ then o
98+ else e(o, k[p])
99+
100+ func q (o,p) = if ((p >= l))
101+ then o
102+ else throw("List size exceeds 6")
103+
104+ q(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6)
105+ }
106+ else if ((j == 7))
107+ then {
108+ let k = h
109+ let l = size(k)
110+ let m = i
111+ func n (o,p) = if ((p >= l))
112+ then o
113+ else e(o, k[p])
114+
115+ func q (o,p) = if ((p >= l))
116+ then o
117+ else throw("List size exceeds 7")
118+
119+ q(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7)
120+ }
121+ else if ((j == 8))
122+ then {
123+ let k = h
124+ let l = size(k)
125+ let m = i
126+ func n (o,p) = if ((p >= l))
127+ then o
128+ else e(o, k[p])
129+
130+ func q (o,p) = if ((p >= l))
131+ then o
132+ else throw("List size exceeds 8")
133+
134+ q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8)
135+ }
136+ else if ((j == 9))
137+ then {
138+ let k = h
139+ let l = size(k)
140+ let m = i
141+ func n (o,p) = if ((p >= l))
142+ then o
143+ else e(o, k[p])
144+
145+ func q (o,p) = if ((p >= l))
146+ then o
147+ else throw("List size exceeds 9")
148+
149+ q(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9)
150+ }
151+ else if ((j == 10))
152+ then {
153+ let k = h
154+ let l = size(k)
155+ let m = i
156+ func n (o,p) = if ((p >= l))
157+ then o
158+ else e(o, k[p])
159+
160+ func q (o,p) = if ((p >= l))
161+ then o
162+ else throw("List size exceeds 10")
163+
164+ q(n(n(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
165+ }
166+ else throw("The max number of parameters exceeded")
167+
168+
169+func r (s) = {
170+ let t = s[0]
171+ let u = s[1]
172+ let v = s[2]
173+ let w = s[3]
174+ let x = s[4]
175+ let y = s[5]
176+ let z = s[6]
177+ let A = s[7]
178+ let B = s[8]
179+ let C = s[9]
180+ let D = removeByIndex(s, 0)
181+ let E = removeByIndex(D, 0)
182+ let F = removeByIndex(E, 0)
183+ let G = removeByIndex(F, 0)
184+ let H = removeByIndex(G, 0)
185+ let I = removeByIndex(H, 0)
186+ let J = removeByIndex(I, 0)
187+ let K = removeByIndex(J, 0)
188+ let L = removeByIndex(K, 0)
189+ let M = removeByIndex(L, 0)
190+ $Tuple2([t, u, v, w, x, y, z, A, B, C], M)
37191 }
38192
39193
40-func t (u,v) = {
41- let w = {
42- let x = invoke(f, "readByJSONKey", [u, v], nil)
43- if ($isInstanceOf(x, "String"))
44- then x
45- else throw(($getType(x) + " couldn't be cast to String"))
46- }
47- if ((w == w))
48- then w
49- else throw("Strict value is not equal to itself.")
50- }
51-
52-
53-func y (r) = {
54- let s = toString(r)
55- getIntegerValue(("lend-rentCount-" + s))
56- }
57-
58-
59-func z (r,w) = {
60- let u = q(r)
61- let A = t(u, "timeUnitPrice")
62- if ((A == A))
63- then {
64- let B = parseIntValue(A)
65- (w * B)
66- }
67- else throw("Strict value is not equal to itself.")
68- }
69-
70-
71-func C (r) = valueOrElse(getInteger(("lend-cost-" + toString(r))), 0)
72-
73-
74-func D (E) = if ((E == this))
194+func N (O) = if ((O == this))
75195 then unit
76196 else throw("Only internal call")
77197
78198
79-func F (G,H) = {
80- let I = G
81- let J = I._1
82- let K = I._2
83- let L = I._3
84- let r = I._4
85- if ((L > K))
86- then $Tuple4((J :+ DeleteEntry(((("lend-rent-" + r) + "-") + toString(K)))), (K + 1), L, r)
87- else G
199+func P (s,F) = [$Tuple2(s[0], F[0])]
200+
201+
202+func Q (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1])]
203+
204+
205+func R (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2])]
206+
207+
208+func S (s,F) = [$Tuple2(s[0], F[0]), $Tuple2(s[1], F[1]), $Tuple2(s[2], F[2]), $Tuple2(s[3], F[3])]
209+
210+
211+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])]
212+
213+
214+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])]
215+
216+
217+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])]
218+
219+
220+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])]
221+
222+
223+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])]
224+
225+
226+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])]
227+
228+
229+func Z (aa,ab,j) = if ((j == 0))
230+ then throw("Empty params")
231+ else if ((j == 1))
232+ then P(aa, ab)
233+ else if ((j == 2))
234+ then Q(aa, ab)
235+ else if ((j == 3))
236+ then R(aa, ab)
237+ else if ((j == 4))
238+ then S(aa, ab)
239+ else if ((j == 5))
240+ then T(aa, ab)
241+ else if ((j == 6))
242+ then U(aa, ab)
243+ else if ((j == 7))
244+ then V(aa, ab)
245+ else if ((j == 8))
246+ then W(aa, ab)
247+ else if ((j == 9))
248+ then X(aa, ab)
249+ else if ((j == 10))
250+ then Y(aa, ab)
251+ else throw("Max number of parameters exceeded")
252+
253+
254+func ac (ad,ae) = {
255+ let af = size(ae)
256+ let ag = value(indexOf(ad, ae))
257+ let ah = valueOrElse(indexOf(ad, ",", ag), value(indexOf(ad, "}", ag)))
258+ $Tuple3(af, ag, ah)
88259 }
89260
90261
91-func M (G,H) = (G :+ H)
92-
93-
94-func N (G,H) = (G :+ H)
95-
96-
97-func O (G,H) = ((G + "-") + H)
98-
99-
100-func P (G,H) = {
101- let Q = G
102- let J = Q._1
103- let K = Q._2
104- let L = Q._3
105- let r = Q._4
106- if ((L > K))
107- then $Tuple4((J :+ ((("lend-rent-" + r) + "-") + toString(K))), (K + 1), L, r)
108- else $Tuple4(J, K, L, r)
262+func ai (f,aj) = {
263+ let ak = f
264+ let ae = ak._1
265+ let al = ak._2
266+ let am = ak._3
267+ let ag = ak._4
268+ let ah = ak._5
269+ let an = ak._6
270+ let ao = ak._7
271+ if (!(ao))
272+ then {
273+ let ap = split(aj, ":")
274+ let aq = (size(split(aj, "{")) - 1)
275+ let ar = (size(split(aj, "}")) - 1)
276+ let as = (aq - ar)
277+ let at = if (if ((al == am))
278+ then (ap[0] == ae)
279+ else false)
280+ then $Tuple2(an, true)
281+ else $Tuple2(0, false)
282+ let au = at._1
283+ let av = at._2
284+ let aw = if (if ((al == am))
285+ then (ap[0] == ae)
286+ else false)
287+ then $Tuple2(an, true)
288+ else $Tuple2(0, false)
289+ let ax = aw._1
290+ let ay = aw._2
291+ $Tuple7(ae, al, (am + as), if (av)
292+ then au
293+ else ag, if (ay)
294+ then ax
295+ else ah, (an + 1), if (ay)
296+ then ay
297+ else ao)
298+ }
299+ else f
109300 }
110301
111302
112-func R (E,m) = if ((assetBalance(E, fromBase58String(m)) == 1))
113- then unit
114- else throw("Only asset owner")
303+func az (f,aj) = {
304+ let aA = f
305+ let aB = aA._1
306+ let an = aA._2
307+ let ag = aA._3
308+ let ah = aA._4
309+ let ao = aA._5
310+ if (!(ao))
311+ then {
312+ let aC = if (if ((an >= ag))
313+ then (ah >= an)
314+ else false)
315+ then ((aB + ",") + aj)
316+ else aB
317+ let aD = (an > ah)
318+ $Tuple5(aC, (an + 1), ag, ah, aD)
319+ }
320+ else f
321+ }
115322
116323
117-func S (T,p) = if ((T[0].amount >= p))
118- then unit
119- else throw("amount less then need")
324+func aE (f,aj) = {
325+ let aF = f
326+ let aB = aF._1
327+ let aG = aF._2
328+ let aH = aF._3
329+ let aI = aF._4
330+ let aJ = aF._5
331+ let ao = aF._6
332+ if (if (!(ao))
333+ then true
334+ else (aJ > aI))
335+ then {
336+ let aK = if (contains(aj, "{"))
337+ then {
338+ let aL = (size(split(aj, "{")) - 1)
339+ $Tuple2(aL, 0)
340+ }
341+ else if (contains(aj, "}"))
342+ then {
343+ let aM = (size(split(aj, "}")) - 1)
344+ $Tuple2(0, aM)
345+ }
346+ else $Tuple2(0, 0)
347+ let aN = aK._1
348+ let aO = aK._2
349+ let aP = (aG + aN)
350+ let aQ = (aH + aO)
351+ if ((aP == aQ))
352+ then $Tuple6(aB, aP, aQ, (aI + 1), aJ, true)
353+ else $Tuple6(((aB + ",") + aj), aP, aQ, (aI + 1), aJ, false)
354+ }
355+ else f
356+ }
120357
121358
122-func U (m) = if (valueOrElse(getBoolean(m), false))
123- then throw("this token already use")
124- else unit
359+func aR (ad,ae) = {
360+ let aS = ac(ad, ae)
361+ let af = aS._1
362+ let ag = aS._2
363+ let ah = aS._3
364+ drop(take(ad, (ah - 1)), ((ag + af) + 3))
365+ }
125366
126367
127-func V (E,r) = if ((t(q(r), "owner") != toString(E)))
128- then throw("you haven't perms")
129- else unit
368+func aT (ad,ae) = {
369+ let aU = ac(ad, ae)
370+ let af = aU._1
371+ let ag = aU._2
372+ let ah = aU._3
373+ let aV = drop(take(ad, (ah - 1)), ((ag + af) + 3))
374+ let aW = if (((size(ad) - ah) == 1))
375+ then (take(ad, (ag - 2)) + drop(ad, ah))
376+ else (take(ad, (ag - 1)) + drop(ad, (ah + 1)))
377+ $Tuple2(aV, aW)
378+ }
130379
131380
132-@Callable(W)
133-func setString (X,Y) = valueOrElse(D(W.caller), [StringEntry(X, Y)])
381+@Callable(aI)
382+func makeJSONInternal (aX,aY,aZ,ba,i) = valueOrElse(N(aI.caller), if ((aZ > 0))
383+ then {
384+ let bb = r(aX)
385+ let aa = bb._1
386+ let bc = bb._2
387+ let bd = r(aY)
388+ let ab = bd._1
389+ let be = bd._2
390+ let h = Z(aa, ab, 10)
391+ let bf = g(h, i, 10)
392+ let aB = invoke(this, "makeJSONInternal", [bc, be, (aZ - 1), ba, bf], nil)
393+ if ((aB == aB))
394+ then $Tuple2(nil, aB)
395+ else throw("Strict value is not equal to itself.")
396+ }
397+ else if ((ba != 0))
398+ then {
399+ let h = Z(aX, aY, ba)
400+ let bf = g(h, i, ba)
401+ $Tuple2(nil, (("{" + dropRight(bf, 1)) + "}"))
402+ }
403+ else $Tuple2(nil, (("{" + dropRight(i, 1)) + "}")))
134404
135405
136406
137-@Callable(W)
138-func setInt (X,Y) = valueOrElse(D(W.caller), [IntegerEntry(X, Y)])
407+@Callable(aI)
408+func makeJSON (aX,aY) = if ((size(aX) != size(aY)))
409+ then throw("ArrayKeys and ArrayValues length must be equal")
410+ else {
411+ let bg = size(aX)
412+ let aZ = fraction(1, bg, 10)
413+ let ba = (bg % 10)
414+ let i = invoke(this, "makeJSONInternal", [aX, aY, aZ, ba, ""], nil)
415+ if ((i == i))
416+ then $Tuple2(nil, i)
417+ else throw("Strict value is not equal to itself.")
418+ }
139419
140420
141421
142-@Callable(W)
143-func deleteEntry (X) = valueOrElse(D(W.caller), [DeleteEntry(X)])
422+@Callable(aI)
423+func addToJSON (ad,aX,aY) = if ((size(aX) != size(aY)))
424+ then throw("ArrayKeys and ArrayValues length must be equal")
425+ else {
426+ let bg = size(aX)
427+ let aZ = fraction(1, bg, 10)
428+ let ba = (bg % 10)
429+ let i = invoke(this, "makeJSONInternal", [aX, aY, aZ, ba, (drop(dropRight(ad, 1), 1) + ",")], nil)
430+ if ((i == i))
431+ then $Tuple2(nil, i)
432+ else throw("Strict value is not equal to itself.")
433+ }
144434
145435
146436
147-@Callable(W)
148-func init (Z,aa,ab,ac) = valueOrElse(D(W.caller), [StringEntry("collectionName", Z), StringEntry("symbol", aa), StringEntry("description", ab), IntegerEntry("totalAmount", 0), StringEntry("baseURI", ac)])
149-
150-
151-
152-@Callable(W)
153-func setUser (m,ad,ae) = {
154- let af = invoke(f, "makeJSON", [["user", "expires"], [ad, ae]], nil)
155- if ((af == af))
156- then $Tuple2([StringEntry(("userOf-" + m), {
157- let x = af
158- if ($isInstanceOf(x, "String"))
159- then x
160- else throw(($getType(x) + " couldn't be cast to String"))
161- })], af)
162- else throw("Strict value is not equal to itself.")
437+@Callable(aI)
438+func readByJSONKey (ad,ae) = {
439+ let bh = aR(ad, ae)
440+ $Tuple2([StringEntry("valueByKey", bh)], bh)
163441 }
164442
165443
166444
167-@Callable(W)
168-func setTokenPayment (ag) = valueOrElse(D(W.caller), [BinaryEntry("tokenPayment", ag)])
169-
170-
171-
172-@Callable(W)
173-func mintTokens (o,p) = {
174- let ah = Reissue(g, p, true)
175- let ai = Address(fromBase58String(o))
176- let aj = n(ai, p, g)
177- if ((aj == aj))
178- then [aj, ah]
179- else throw("Strict value is not equal to itself.")
180- }
181-
182-
183-
184-@Callable(W)
185-func mintNFT (o) = {
186- let ak = (d + 1)
187- let al = toString(ak)
188- let am = ((b + "#") + al)
189- let an = if ((16 >= size(am)))
190- then am
191- else al
192- let ao = (e + al)
193- let ap = {
194- let x = invoke(f, "makeJSON", [["tokenURI"], [ao]], nil)
195- if ($isInstanceOf(x, "String"))
196- then x
197- else throw(($getType(x) + " couldn't be cast to String"))
198- }
199- let aq = Issue(an, ap, 1, 0, false, unit, height)
200- let m = calculateAssetId(aq)
201- let ai = Address(fromBase58String(o))
202- let aj = n(ai, 1, m)
203- if ((aj == aj))
204- then [aq, aj, IntegerEntry("totalAmount", ak), StringEntry(an, ao)]
205- else throw("Strict value is not equal to itself.")
206- }
207-
208-
209-
210-@Callable(W)
211-func initLend (m,w,B,ar) = valueOrElse(R(W.caller, m), valueOrElse(U(m), {
212- let aq = l(m)
213- let ao = {
214- let x = invoke(f, "readByJSONKey", [aq.description, "tokenURI"], nil)
215- if ($isInstanceOf(x, "String"))
216- then x
217- else throw(($getType(x) + " couldn't be cast to String"))
218- }
219- if ((ao == ao))
220- then {
221- let u = {
222- let x = invoke(f, "makeJSON", [["supportedInterface", "assetdId", "tokenURI", "owner", "timeUnitSeconds", "timeUnitPrice", "timeUnitCount", "startTimestamp", "endTimestamp", "deposit", "claimed"], ["0", m, ao, toString(W.caller), toString(w), toString(B), toString(ar), toString(lastBlock.timestamp), toString((lastBlock.timestamp + (w * ar))), "0", "0"]], nil)
223- if ($isInstanceOf(x, "String"))
224- then x
225- else throw(($getType(x) + " couldn't be cast to String"))
226- }
227- if ((u == u))
228- then {
229- let s = toString(i)
230-[IntegerEntry("lendCount", (i + 1)), IntegerEntry("lendCurrentCount", (j + 1)), IntegerEntry(("lend-rentCount-" + s), 0), StringEntry(("lend-" + s), u), BooleanEntry(m, true)]
231- }
232- else throw("Strict value is not equal to itself.")
233- }
234- else throw("Strict value is not equal to itself.")
235- }))
236-
237-
238-
239-@Callable(W)
240-func initRent (r,ar) = valueOrElse(S(W.payments, z(r, ar)), {
241- let s = toString(r)
242- let u = getStringValue(("lend-" + s))
243- let as = y(r)
244- let at = toString(as)
245- let w = {
246- let x = invoke(f, "readByJSONKey", [u, "timeUnitSeconds"], nil)
247- if ($isInstanceOf(x, "String"))
248- then x
249- else throw(($getType(x) + " couldn't be cast to String"))
250- }
251- if ((w == w))
252- then {
253- let au = parseIntValue(w)
254- if ((au == au))
255- then {
256- let av = {
257- let x = invoke(f, "makeJSON", [["customer", "timeUnitCount", "startTimestamp", "endTimestamp", "closed"], [toString(W.caller), toString(ar), toString(lastBlock.timestamp), toString((lastBlock.timestamp + (au * ar))), "0"]], nil)
258- if ($isInstanceOf(x, "String"))
259- then x
260- else throw(($getType(x) + " couldn't be cast to String"))
261- }
262- if ((av == av))
263- then [IntegerEntry(("lend-rentCount-" + s), (as + 1)), StringEntry(((("lend-rent-" + s) + "-") + at), av), IntegerEntry(("lend-cost-" + s), (z(r, ar) + C(r)))]
264- else throw("Strict value is not equal to itself.")
265- }
266- else throw("Strict value is not equal to itself.")
267- }
268- else throw("Strict value is not equal to itself.")
269- })
270-
271-
272-
273-@Callable(W)
274-func closeLend (r) = valueOrElse(V(W.caller, r), {
275- let s = toString(r)
276- let aw = getIntegerValue(("lend-rentCount-" + s))
277- let ax = ( let ay = k
278- let az = size(ay)
279- let aA = $Tuple4(nil, 0, aw, s)
280- func aB (aC,aD) = if ((aD >= az))
281- then aC
282- else F(aC, ay[aD])
283-
284- func aE (aC,aD) = if ((aD >= az))
285- then aC
286- else throw("List size exceeds 100")
287-
288- aE(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1
289- let m = valueOrElse(t(q(r), "assetdId"), "")
290- let aF = [BooleanEntry(m, false), DeleteEntry(("lend-" + s)), DeleteEntry(("lend-rentCount-" + s)), DeleteEntry(("lend-cost-" + s)), IntegerEntry("lendCurrentCount", (j - 1)), ScriptTransfer(W.caller, C(r), g)]
291- let aG = {
292- let ay = aF
293- let az = size(ay)
294- let aA = ax
295- func aH (aC,aD) = if ((aD >= az))
296- then aC
297- else M(aC, ay[aD])
298-
299- func aI (aC,aD) = if ((aD >= az))
300- then aC
301- else throw("List size exceeds 100")
302-
303- aI(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
304- }
305- aG
306- })
307-
308-
309-
310-@Callable(W)
311-func test () = {
312- let aJ = ["1", "2", "3"]
313- let aK = ( let ay = k
314- let az = size(ay)
315- let aA = $Tuple4(aJ, 0, 5, "5")
316- func aB (aC,aD) = if ((aD >= az))
317- then aC
318- else P(aC, ay[aD])
319-
320- func aE (aC,aD) = if ((aD >= az))
321- then aC
322- else throw("List size exceeds 100")
323-
324- aE(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aB(aA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1
325-[StringEntry("Debug", {
326- let ay = aK
327- let az = size(ay)
328- let aA = ""
329- func aH (aC,aD) = if ((aD >= az))
330- then aC
331- else O(aC, ay[aD])
332-
333- func aI (aC,aD) = if ((aD >= az))
334- then aC
335- else throw("List size exceeds 100")
336-
337- aI(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aH(aA, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
338- })]
445+@Callable(aI)
446+func deleteByJSONKey (ad,ae) = {
447+ let bi = aT(ad, ae)
448+ let bj = bi._1
449+ let aW = bi._2
450+ $Tuple2([StringEntry("deletedValue", bj), StringEntry(a, aW)], $Tuple2(bj, aW))
339451 }
340452
341453

github/deemru/w8io/169f3d6 
86.69 ms