tx · 9fi483GsF9ZhNr6H7uRVV5ED8zGK3uBMxi2DJPyGVg5C

3MxVYj6ScMArhAamy7nB6b342kh1Pso1LTn:  -0.01300000 Waves

2023.03.23 16:47 [2502728] smart account 3MxVYj6ScMArhAamy7nB6b342kh1Pso1LTn > SELF 0.00000000 Waves

{ "type": 13, "id": "9fi483GsF9ZhNr6H7uRVV5ED8zGK3uBMxi2DJPyGVg5C", "fee": 1300000, "feeAssetId": null, "timestamp": 1679579367777, "version": 2, "chainId": 84, "sender": "3MxVYj6ScMArhAamy7nB6b342kh1Pso1LTn", "senderPublicKey": "CZeucjRLCKrkiP9zuj9KbLe23Wv9DywFzHBqNDnte51B", "proofs": [ "4LshKb4AFNNbNVU6ZuX5ZL6wsj8djgcmKFwMsYNvsVQxsjcQyd42QeR55EVv6eMorGC4hxr3hQ2ukFpSvVJDQcU3" ], "script": "base64:BgJHCAISBAoCCAgSBAoCCAESAwoBCBIGCgQICAgIEgUKAwgICBIDCgECEgQKAggBEgMKAQgSBgoECAEBARIECgIBARIDCgEBEgAcAA5jb2xsZWN0aW9uTmFtZQkBEUBleHRyTmF0aXZlKDEwNTgpAQIOY29sbGVjdGlvbk5hbWUABnN5bWJvbAkBEUBleHRyTmF0aXZlKDEwNTgpAQIGc3ltYm9sAAtkZXNjcmlwdGlvbgkBEUBleHRyTmF0aXZlKDEwNTgpAQILZGVzY3JpcHRpb24AC3RvdGFsQW1vdW50CQERQGV4dHJOYXRpdmUoMTA1NSkBAgt0b3RhbEFtb3VudAAHYmFzZVVSSQkBEUBleHRyTmF0aXZlKDEwNTgpAQIHYmFzZVVSSQAIZEFwcEpzb24JAQdBZGRyZXNzAQkA2QQBAiMzTXJHYVpWUmhrbkVHZkhKMTl0dFVQTm5EUm9GcWNIaFZONwAMdG9rZW5QYXltZW50CQERQGV4dHJOYXRpdmUoMTA1NykBAgx0b2tlblBheW1lbnQAEXRva2VuUGF5bWVudEFzc2V0CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAO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UkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIJAQUkZjFfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABsAHAAdAB4AHwAgACEAIgAjACQAJQAmACcAKAApACoAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAOgA7ADwAPQA+AD8AQABBAEIAQwBEAEUARgBHAEgASQBKAEsATABNAE4ATwBQAFEAUgBTAFQAVQBWAFcAWABZAFoAWwBcAF0AXgBfAGAAYQBiAGMAZAUDbmlsAM75sRo=", "height": 2502728, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: A59LuMSAHaHBUkiRjLWwkGtF13LsXNmb6PWvv5Jk6Y9k Next: 8XqoXKQCLq4ybEWrWmfy54vtJDScREcGUKemJTh7sfnx Diff:
OldNewDifferences
286286 else throw("List size exceeds 100")
287287
288288 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 = t(q(r), "assetId")
289290 let aF = nil
290291 aF
291292 })
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = getStringValue("collectionName")
55
66 let b = getStringValue("symbol")
77
88 let c = getStringValue("description")
99
1010 let d = getIntegerValue("totalAmount")
1111
1212 let e = getStringValue("baseURI")
1313
1414 let f = Address(fromBase58String("3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7"))
1515
1616 let g = getBinaryValue("tokenPayment")
1717
1818 let h = valueOrErrorMessage(assetInfo(getBinaryValue("tokenPayment")), "token payment asset doesn't connect")
1919
2020 let i = getIntegerValue("lendCount")
2121
2222 let j = getIntegerValue("lendCurrentCount")
2323
2424 let k = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]
2525
2626 func l (m) = valueOrErrorMessage(assetInfo(fromBase58String(m)), "Can't find asset by asset id")
2727
2828
2929 func n (o,p,m) = if ((o == this))
3030 then StringEntry("smth", "smth")
3131 else ScriptTransfer(o, p, m)
3232
3333
3434 func q (r) = {
3535 let s = toString(r)
3636 getStringValue(("lend-" + s))
3737 }
3838
3939
4040 func t (u,v) = {
4141 let w = {
4242 let x = invoke(f, "readByJSONKey", [u, v], nil)
4343 if ($isInstanceOf(x, "String"))
4444 then x
4545 else throw(($getType(x) + " couldn't be cast to String"))
4646 }
4747 if ((w == w))
4848 then w
4949 else throw("Strict value is not equal to itself.")
5050 }
5151
5252
5353 func y (r) = {
5454 let s = toString(r)
5555 getIntegerValue(("lend-rentCount-" + s))
5656 }
5757
5858
5959 func z (r,w) = {
6060 let u = q(r)
6161 let A = t(u, "timeUnitPrice")
6262 if ((A == A))
6363 then {
6464 let B = parseIntValue(A)
6565 (w * B)
6666 }
6767 else throw("Strict value is not equal to itself.")
6868 }
6969
7070
7171 func C (r) = valueOrElse(getInteger(("lend-cost-" + toString(r))), 0)
7272
7373
7474 func D (E) = if ((E == this))
7575 then unit
7676 else throw("Only internal call")
7777
7878
7979 func F (G,H) = {
8080 let I = G
8181 let J = I._1
8282 let K = I._2
8383 let L = I._3
8484 let r = I._4
8585 if ((L > K))
8686 then $Tuple4((J :+ DeleteEntry(((("lend-rent-" + r) + "-") + toString(K)))), (K + 1), L, r)
8787 else G
8888 }
8989
9090
9191 func M (G,H) = (G :+ H)
9292
9393
9494 func N (G,H) = (G :+ H)
9595
9696
9797 func O (G,H) = ((G + "-") + H)
9898
9999
100100 func P (G,H) = {
101101 let Q = G
102102 let J = Q._1
103103 let K = Q._2
104104 let L = Q._3
105105 let r = Q._4
106106 if ((L > K))
107107 then $Tuple4((J :+ ((("lend-rent-" + r) + "-") + toString(K))), (K + 1), L, r)
108108 else $Tuple4(J, K, L, r)
109109 }
110110
111111
112112 func R (E,m) = if ((assetBalance(E, fromBase58String(m)) == 1))
113113 then unit
114114 else throw("Only asset owner")
115115
116116
117117 func S (T,p) = if ((T[0].amount >= p))
118118 then unit
119119 else throw("amount less then need")
120120
121121
122122 func U (m) = if (valueOrElse(getBoolean(m), false))
123123 then throw("this token already use")
124124 else unit
125125
126126
127127 func V (E,r) = if ((t(q(r), "owner") != toString(E)))
128128 then throw("you haven't perms")
129129 else unit
130130
131131
132132 @Callable(W)
133133 func setString (X,Y) = valueOrElse(D(W.caller), [StringEntry(X, Y)])
134134
135135
136136
137137 @Callable(W)
138138 func setInt (X,Y) = valueOrElse(D(W.caller), [IntegerEntry(X, Y)])
139139
140140
141141
142142 @Callable(W)
143143 func deleteEntry (X) = valueOrElse(D(W.caller), [DeleteEntry(X)])
144144
145145
146146
147147 @Callable(W)
148148 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)])
149149
150150
151151
152152 @Callable(W)
153153 func setUser (m,ad,ae) = {
154154 let af = invoke(f, "makeJSON", [["user", "expires"], [ad, ae]], nil)
155155 if ((af == af))
156156 then $Tuple2([StringEntry(("userOf-" + m), {
157157 let x = af
158158 if ($isInstanceOf(x, "String"))
159159 then x
160160 else throw(($getType(x) + " couldn't be cast to String"))
161161 })], af)
162162 else throw("Strict value is not equal to itself.")
163163 }
164164
165165
166166
167167 @Callable(W)
168168 func setTokenPayment (ag) = valueOrElse(D(W.caller), [BinaryEntry("tokenPayment", ag)])
169169
170170
171171
172172 @Callable(W)
173173 func mintTokens (o,p) = {
174174 let ah = Reissue(g, p, true)
175175 let ai = Address(fromBase58String(o))
176176 let aj = n(ai, p, g)
177177 if ((aj == aj))
178178 then [aj, ah]
179179 else throw("Strict value is not equal to itself.")
180180 }
181181
182182
183183
184184 @Callable(W)
185185 func mintNFT (o) = {
186186 let ak = (d + 1)
187187 let al = toString(ak)
188188 let am = ((b + "#") + al)
189189 let an = if ((16 >= size(am)))
190190 then am
191191 else al
192192 let ao = (e + al)
193193 let ap = {
194194 let x = invoke(f, "makeJSON", [["tokenURI"], [ao]], nil)
195195 if ($isInstanceOf(x, "String"))
196196 then x
197197 else throw(($getType(x) + " couldn't be cast to String"))
198198 }
199199 let aq = Issue(an, ap, 1, 0, false, unit, height)
200200 let m = calculateAssetId(aq)
201201 let ai = Address(fromBase58String(o))
202202 let aj = n(ai, 1, m)
203203 if ((aj == aj))
204204 then [aq, aj, IntegerEntry("totalAmount", ak), StringEntry(an, ao)]
205205 else throw("Strict value is not equal to itself.")
206206 }
207207
208208
209209
210210 @Callable(W)
211211 func initLend (m,w,B,ar) = valueOrElse(R(W.caller, m), valueOrElse(U(m), {
212212 let aq = l(m)
213213 let ao = {
214214 let x = invoke(f, "readByJSONKey", [aq.description, "tokenURI"], nil)
215215 if ($isInstanceOf(x, "String"))
216216 then x
217217 else throw(($getType(x) + " couldn't be cast to String"))
218218 }
219219 if ((ao == ao))
220220 then {
221221 let u = {
222222 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)
223223 if ($isInstanceOf(x, "String"))
224224 then x
225225 else throw(($getType(x) + " couldn't be cast to String"))
226226 }
227227 if ((u == u))
228228 then {
229229 let s = toString(i)
230230 [IntegerEntry("lendCount", (i + 1)), IntegerEntry("lendCurrentCount", (j + 1)), IntegerEntry(("lend-rentCount-" + s), 0), StringEntry(("lend-" + s), u), BooleanEntry(m, true)]
231231 }
232232 else throw("Strict value is not equal to itself.")
233233 }
234234 else throw("Strict value is not equal to itself.")
235235 }))
236236
237237
238238
239239 @Callable(W)
240240 func initRent (r,ar) = valueOrElse(S(W.payments, z(r, ar)), {
241241 let s = toString(r)
242242 let u = getStringValue(("lend-" + s))
243243 let as = y(r)
244244 let at = toString(as)
245245 let w = {
246246 let x = invoke(f, "readByJSONKey", [u, "timeUnitSeconds"], nil)
247247 if ($isInstanceOf(x, "String"))
248248 then x
249249 else throw(($getType(x) + " couldn't be cast to String"))
250250 }
251251 if ((w == w))
252252 then {
253253 let au = parseIntValue(w)
254254 if ((au == au))
255255 then {
256256 let av = {
257257 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)
258258 if ($isInstanceOf(x, "String"))
259259 then x
260260 else throw(($getType(x) + " couldn't be cast to String"))
261261 }
262262 if ((av == av))
263263 then [IntegerEntry(("lend-rentCount-" + s), (as + 1)), StringEntry(((("lend-rent-" + s) + "-") + at), av), IntegerEntry(("lend-cost-" + s), (z(r, ar) + C(r)))]
264264 else throw("Strict value is not equal to itself.")
265265 }
266266 else throw("Strict value is not equal to itself.")
267267 }
268268 else throw("Strict value is not equal to itself.")
269269 })
270270
271271
272272
273273 @Callable(W)
274274 func closeLend (r) = valueOrElse(V(W.caller, r), {
275275 let s = toString(r)
276276 let aw = getIntegerValue(("lend-rentCount-" + s))
277277 let ax = ( let ay = k
278278 let az = size(ay)
279279 let aA = $Tuple4(nil, 0, aw, s)
280280 func aB (aC,aD) = if ((aD >= az))
281281 then aC
282282 else F(aC, ay[aD])
283283
284284 func aE (aC,aD) = if ((aD >= az))
285285 then aC
286286 else throw("List size exceeds 100")
287287
288288 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 = t(q(r), "assetId")
289290 let aF = nil
290291 aF
291292 })
292293
293294
294295
295296 @Callable(W)
296297 func test () = {
297298 let aG = ["1", "2", "3"]
298299 let aH = ( let ay = k
299300 let az = size(ay)
300301 let aA = $Tuple4(aG, 0, 5, "5")
301302 func aB (aC,aD) = if ((aD >= az))
302303 then aC
303304 else P(aC, ay[aD])
304305
305306 func aE (aC,aD) = if ((aD >= az))
306307 then aC
307308 else throw("List size exceeds 100")
308309
309310 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
310311 [StringEntry("Debug", {
311312 let ay = aH
312313 let az = size(ay)
313314 let aA = ""
314315 func aI (aC,aD) = if ((aD >= az))
315316 then aC
316317 else O(aC, ay[aD])
317318
318319 func aJ (aC,aD) = if ((aD >= az))
319320 then aC
320321 else throw("List size exceeds 100")
321322
322323 aJ(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(aI(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)
323324 })]
324325 }
325326
326327

github/deemru/w8io/169f3d6 
61.52 ms