tx · Dcpchxai79sWBeXTKAYo2J31Cw32PpgJBhu1oB3Uz8jk

3N8VMRDjjw6kAuCviYwFq4yDWyctRuHPN7X:  -0.00800000 Waves

2022.11.08 16:17 [2308219] smart account 3N8VMRDjjw6kAuCviYwFq4yDWyctRuHPN7X > SELF 0.00000000 Waves

{ "type": 13, "id": "Dcpchxai79sWBeXTKAYo2J31Cw32PpgJBhu1oB3Uz8jk", "fee": 800000, "feeAssetId": null, "timestamp": 1667913479957, "version": 2, "chainId": 84, "sender": "3N8VMRDjjw6kAuCviYwFq4yDWyctRuHPN7X", "senderPublicKey": "SrcQexq2T9cnMXmLqfJtc8AnQ91ZjeaJtXoi1HwDsx9", "proofs": [ "3XRNgZVaJL2Lbxpn8wdwhL5iS5bWMzXEcYY6JtuyRMKvLYGU4tnwYoYvrHERCbyPNqRMDMZRJgPEjZWcXxeMyAQh" ], "script": "base64:BgIhCAISBAoCCAESAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEAEIcHJpY2VLZXkBBWFzc2V0CQCsAgIFBWFzc2V0AgZfcHJpY2UBCG93bmVyS2V5AQVhc3NldAkArAICBQVhc3NldAIGX293bmVyAQlpc3N1ZXJLZXkBBWFzc2V0CQCsAgIFBWFzc2V0AgdfaXNzdWVyAQduYW1lS2V5AQVhc3NldAkArAICBQVhc3NldAIFX25hbWUBDmRlc2NyaXB0aW9uS2V5AQVhc3NldAkArAICBQVhc3NldAIMX2Rlc2NyaXB0aW9uAQthc3NldEFjY2VzcwEFYXNzZXQJAKwCAgUFYXNzZXQCCV9hc3NldEJ1eQEKYXNzZXRPZmZlcgEFYXNzZXQJAKwCAgUFYXNzZXQCBl9vZmZlcgENdHJ5R2V0SW50ZWdlcgEDa2V5BAN2YWwEByRtYXRjaDAJAJoIAgUEdGhpcwUDa2V5AwkAAQIFByRtYXRjaDACA0ludAQBYgUHJG1hdGNoMAUBYgAABQN2YWwBDHRyeUdldFN0cmluZwEDa2V5BAN2YWwEByRtYXRjaDAJAJ0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RAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleWsELJE=", "height": 2308219, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CBmDZzadMxhmh3bBddre4vpNH7zy8Hgi1BHCtv7WPo3d Next: 27Sa57jwtqw3QsaPtgtTdw2AzAsjA89SReEx1FGaJLtQ Diff:
OldNewDifferences
113113 else if ($isInstanceOf(l, "Unit"))
114114 then {
115115 let v = l
116- "Waves"
116+ "WAVES"
117117 }
118118 else throw("Match error")
119119 }
134134 else if ($isInstanceOf(l, "Unit"))
135135 then {
136136 let m = l
137- "Waves"
137+ "WAVES"
138138 }
139139 else throw("Match error")
140140 }
173173 else if ($isInstanceOf(l, "Unit"))
174174 then {
175175 let m = l
176- "Waves"
176+ "WAVES"
177177 }
178178 else throw("Match error")
179179 }
196196 }
197197 else throw("Match error")
198198 }
199- if ((F._3 != "Waves"))
199+ if ((F._3 != "WAVES"))
200200 then (x :+ ScriptTransfer(G, F._2, fromBase58String(F._3)))
201201 else (x :+ ScriptTransfer(G, F._2, unit))
202202 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = (b + "_price")
55
66
77 func c (b) = (b + "_owner")
88
99
1010 func d (b) = (b + "_issuer")
1111
1212
1313 func e (b) = (b + "_name")
1414
1515
1616 func f (b) = (b + "_description")
1717
1818
1919 func g (b) = (b + "_assetBuy")
2020
2121
2222 func h (b) = (b + "_offer")
2323
2424
2525 func i (j) = {
2626 let k = {
2727 let l = getInteger(this, j)
2828 if ($isInstanceOf(l, "Int"))
2929 then {
3030 let m = l
3131 m
3232 }
3333 else 0
3434 }
3535 k
3636 }
3737
3838
3939 func n (j) = {
4040 let k = {
4141 let l = getString(this, j)
4242 if ($isInstanceOf(l, "String"))
4343 then {
4444 let m = l
4545 m
4646 }
4747 else ""
4848 }
4949 k
5050 }
5151
5252
5353 func o (j) = {
5454 let k = {
5555 let l = getBoolean(this, j)
5656 if ($isInstanceOf(l, "Boolean"))
5757 then {
5858 let m = l
5959 m
6060 }
6161 else false
6262 }
6363 k
6464 }
6565
6666
6767 func p (q,r,s) = if ((size(q.payments) == 0))
6868 then throw("Payment not attached")
6969 else {
7070 let t = value(q.payments[0])
7171 let k = {
7272 let l = t.assetId
7373 if ($isInstanceOf(l, "ByteVector"))
7474 then {
7575 let u = l
7676 if ((toBase58String(u) == r))
7777 then (t.amount >= s)
7878 else false
7979 }
8080 else if ($isInstanceOf(l, "Unit"))
8181 then {
8282 let v = l
8383 (t.amount >= s)
8484 }
8585 else throw("Match error")
8686 }
8787 k
8888 }
8989
9090
9191 func w (x,y) = {
9292 let z = {
9393 let l = y.assetId
9494 if ($isInstanceOf(l, "ByteVector"))
9595 then {
9696 let m = l
9797 m
9898 }
9999 else if ($isInstanceOf(l, "Unit"))
100100 then {
101101 let m = l
102102 base58'2CsAf'
103103 }
104104 else throw("Match error")
105105 }
106106 let b = {
107107 let l = assetInfo(z)
108108 if ($isInstanceOf(l, "Asset"))
109109 then {
110110 let m = l
111111 toBase58String(m.issuer.bytes)
112112 }
113113 else if ($isInstanceOf(l, "Unit"))
114114 then {
115115 let v = l
116- "Waves"
116+ "WAVES"
117117 }
118118 else throw("Match error")
119119 }
120120 if (o(b))
121121 then x
122122 else false
123123 }
124124
125125
126126 func A (x,y) = {
127127 let z = {
128128 let l = y.assetId
129129 if ($isInstanceOf(l, "ByteVector"))
130130 then {
131131 let m = l
132132 toBase58String(m)
133133 }
134134 else if ($isInstanceOf(l, "Unit"))
135135 then {
136136 let m = l
137- "Waves"
137+ "WAVES"
138138 }
139139 else throw("Match error")
140140 }
141141 ((x + "_") + z)
142142 }
143143
144144
145145 func B (x,y) = {
146146 let s = toString(y.amount)
147147 ((x + "_") + s)
148148 }
149149
150150
151151 func C (x,y) = {
152152 let z = {
153153 let l = y.assetId
154154 if ($isInstanceOf(l, "ByteVector"))
155155 then {
156156 let m = l
157157 m
158158 }
159159 else if ($isInstanceOf(l, "Unit"))
160160 then {
161161 let m = l
162162 base58'2CsAf'
163163 }
164164 else throw("Match error")
165165 }
166166 let D = {
167167 let l = assetInfo(z)
168168 if ($isInstanceOf(l, "Asset"))
169169 then {
170170 let m = l
171171 toBase58String(m.issuer.bytes)
172172 }
173173 else if ($isInstanceOf(l, "Unit"))
174174 then {
175175 let m = l
176- "Waves"
176+ "WAVES"
177177 }
178178 else throw("Match error")
179179 }
180180 ((x + "_") + D)
181181 }
182182
183183
184184 func E (x,F) = {
185185 let G = {
186186 let l = addressFromString(F._1)
187187 if ($isInstanceOf(l, "Address"))
188188 then {
189189 let m = l
190190 m
191191 }
192192 else if ($isInstanceOf(l, "Unit"))
193193 then {
194194 let m = l
195195 this
196196 }
197197 else throw("Match error")
198198 }
199- if ((F._3 != "Waves"))
199+ if ((F._3 != "WAVES"))
200200 then (x :+ ScriptTransfer(G, F._2, fromBase58String(F._3)))
201201 else (x :+ ScriptTransfer(G, F._2, unit))
202202 }
203203
204204
205205 @Callable(q)
206206 func offerForSale (H,s) = if (!(if (o(g(H)))
207207 then (s > 0)
208208 else false))
209209 then throw("Sale Asset incorrect")
210210 else {
211211 let I = value(q.payments[0])
212212 let u = {
213213 let l = I.assetId
214214 if ($isInstanceOf(l, "ByteVector"))
215215 then {
216216 let J = l
217217 J
218218 }
219219 else if ($isInstanceOf(l, "Unit"))
220220 then {
221221 let K = l
222222 throw("Asset is not NFT")
223223 }
224224 else throw("Match error")
225225 }
226226 let L = toBase58String(u)
227227 let b = {
228228 let l = assetInfo(u)
229229 if ($isInstanceOf(l, "Asset"))
230230 then {
231231 let M = l
232232 M
233233 }
234234 else throw("Error getting information about asset")
235235 }
236236 if (if (if ((b.quantity != 1))
237237 then (b.decimals != 0)
238238 else false)
239239 then b.reissuable
240240 else false)
241241 then throw("Asset is not NFT")
242242 else [IntegerEntry(a(L), s), StringEntry(c(L), toBase58String(q.caller.bytes)), StringEntry(d(L), toBase58String(b.issuer.bytes)), StringEntry(e(L), b.name), StringEntry(f(L), b.description), StringEntry(h(L), H)]
243243 }
244244
245245
246246
247247 @Callable(q)
248248 func offerForSwap (H) = {
249249 let N = size(q.payments)
250250 let x = {
251251 let O = q.payments
252252 let P = size(O)
253253 let Q = true
254254 func R (S,T) = if ((T >= P))
255255 then S
256256 else w(S, O[T])
257257
258258 func U (S,T) = if ((T >= P))
259259 then S
260260 else throw("List size exceeds 2")
261261
262262 U(R(R(Q, 0), 1), 2)
263263 }
264264 if (!(x))
265265 then throw("Payments incorrect")
266266 else if ((i("commission") > q.payments[1].amount))
267267 then throw("No minimum commission")
268268 else {
269269 let V = {
270270 let O = q.payments
271271 let P = size(O)
272272 let Q = ""
273273 func W (S,T) = if ((T >= P))
274274 then S
275275 else A(S, O[T])
276276
277277 func X (S,T) = if ((T >= P))
278278 then S
279279 else throw("List size exceeds 2")
280280
281281 X(W(W(Q, 0), 1), 2)
282282 }
283283 let D = {
284284 let O = q.payments
285285 let P = size(O)
286286 let Q = ""
287287 func Y (S,T) = if ((T >= P))
288288 then S
289289 else C(S, O[T])
290290
291291 func Z (S,T) = if ((T >= P))
292292 then S
293293 else throw("List size exceeds 2")
294294
295295 Z(Y(Y(Q, 0), 1), 2)
296296 }
297297 let s = {
298298 let O = q.payments
299299 let P = size(O)
300300 let Q = ""
301301 func aa (S,T) = if ((T >= P))
302302 then S
303303 else B(S, O[T])
304304
305305 func ab (S,T) = if ((T >= P))
306306 then S
307307 else throw("List size exceeds 2")
308308
309309 ab(aa(aa(Q, 0), 1), 2)
310310 }
311311 [StringEntry(a(V), s), StringEntry(c(V), toBase58String(q.caller.bytes)), StringEntry(d(V), D), StringEntry(h(V), H)]
312312 }
313313 }
314314
315315
316316
317317 @Callable(q)
318318 func buy (ac) = {
319319 let s = i(a(ac))
320320 let r = n(h(ac))
321321 let ad = n(c(ac))
322322 let ae = {
323323 let l = addressFromString(ad)
324324 if ($isInstanceOf(l, "Address"))
325325 then {
326326 let M = l
327327 M
328328 }
329329 else throw("Address parsing error")
330330 }
331331 if (!(p(q, r, s)))
332332 then throw("Wrong payment amount or asset")
333333 else if ((ad == toBase58String(q.caller.bytes)))
334334 then throw("Owner cannot buy his NTF")
335335 else if ((s == 0))
336336 then throw("This NFT is not for sale")
337337 else {
338338 let af = ((s / 100) * 5)
339339 [ScriptTransfer(q.caller, 1, fromBase58String(ac)), ScriptTransfer(ae, (s - af), unit), DeleteEntry(a(ac)), DeleteEntry(c(ac)), DeleteEntry(d(ac)), DeleteEntry(e(ac)), DeleteEntry(f(ac)), DeleteEntry(h(ac))]
340340 }
341341 }
342342
343343
344344
345345 @Callable(q)
346346 func swapDone (ag) = {
347347 let s = n(a(ag))
348348 let ah = n(h(ag))
349349 let ai = n(c(ag))
350350 let aj = n(c(ag))
351351 if ((aj != toBase58String(q.caller.bytes)))
352352 then throw("The calling address is not the owner of the NFT token")
353353 else if ((s == ""))
354354 then throw("This NFT is not for sale")
355355 else {
356356 let af = i("commission")
357357 let ak = split(ag, "_")
358358 let al = split(s, "_")
359359 [ScriptTransfer(addressFromStringValue(aj), parseIntValue(al[0]), fromBase58String(ak[0])), ScriptTransfer(addressFromStringValue(aj), (parseIntValue(al[1]) - af), unit), ScriptTransfer(addressFromStringValue(ai), 1, fromBase58String(n(ag))), DeleteEntry(a(ak[0])), DeleteEntry(c(ak[0])), DeleteEntry(d(ak[0])), DeleteEntry(e(ak[0])), DeleteEntry(f(ak[0])), DeleteEntry(a(ag)), DeleteEntry(c(ag)), DeleteEntry(d(ag))]
360360 }
361361 }
362362
363363
364364
365365 @Callable(q)
366366 func cancelSelling (ac) = {
367367 let ad = n(c(ac))
368368 let ae = {
369369 let l = addressFromString(ad)
370370 if ($isInstanceOf(l, "Address"))
371371 then {
372372 let M = l
373373 M
374374 }
375375 else throw("Address parsing error")
376376 }
377377 if ((ad != toBase58String(q.caller.bytes)))
378378 then throw("The calling address is not the owner of the NFT token")
379379 else [ScriptTransfer(q.caller, 1, fromBase58String(ac)), DeleteEntry(a(ac)), DeleteEntry(c(ac)), DeleteEntry(d(ac)), DeleteEntry(e(ac)), DeleteEntry(f(ac))]
380380 }
381381
382382
383383
384384 @Callable(q)
385385 func swapCancel (ag) = {
386386 let ai = n(c(ag))
387387 let s = n(a(ag))
388388 if ((ai != toBase58String(q.caller.bytes)))
389389 then throw("The calling address is not the owner of the NFT token")
390390 else {
391391 let ak = split(ag, "_")
392392 let al = split(s, "_")
393393 [ScriptTransfer(addressFromStringValue(ai), parseIntValue(al[0]), fromBase58String(ak[0])), ScriptTransfer(addressFromStringValue(ai), parseIntValue(al[1]), unit), DeleteEntry(a(ag)), DeleteEntry(c(ag)), DeleteEntry(d(ag))]
394394 }
395395 }
396396
397397
398398 @Verifier(am)
399399 func an () = sigVerify(am.bodyBytes, am.proofs[0], am.senderPublicKey)
400400

github/deemru/w8io/169f3d6 
41.69 ms