tx · Cmqh7EbyBVHkpzW1WwR2Cjp2M65riRYzky3RHVSv8DbK

3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p:  -0.01500000 Waves

2022.11.29 07:04 [2337892] smart account 3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p > SELF 0.00000000 Waves

{ "type": 13, "id": "Cmqh7EbyBVHkpzW1WwR2Cjp2M65riRYzky3RHVSv8DbK", "fee": 1500000, "feeAssetId": null, "timestamp": 1669694753382, "version": 2, "chainId": 84, "sender": "3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p", "senderPublicKey": "Hh3eFP2XFetZSfTxQiM1Ps96f68zi8Zh5ghhCZdjgdFs", "proofs": [ "32ZaZJ5Jvu3imwkC9F5mfkSdFcqUGQXYgt9b1NxN3BKfE1rayHUP8mzUbUJMqPxUBpE9QJ1rMUCT7FpznQemVVPb" ], "script": "base64:BgI5CAISBAoCCAgSBAoCBAgSBAoCAQgSBQoDCAEIEgMKAQgSAwoBCBIDCgEIEgUKAwgICBIGCgQICAgINAEJZ2V0U3RyQnlLAQNrZXkJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwUDa2V5AgAACHVuaXRUZXN0BwAJb3JhY2xlRmVlCQEFdmFsdWUBCQCmCAEJAQlnZXRTdHJCeUsBAg9jb25mX29yYWNsZV9mZWUAC2ZlZVJlY2VpdmVyCQEJZ2V0U3RyQnlLAQIRY29uZl9mZWVfcmVjZWl2ZXIADGFydHdvcmtzRGFwcAkBBXZhbHVlAQkApggBCQEJZ2V0U3RyQnlLAQISY29uZl9hcnR3b3Jrc19kYXBwAAh1c2VyRGFwcAMFCHVuaXRUZXN0CQEFdmFsdWUBCQCmCAECIzNNdDRSR01FeWpTV1lBb2NUUHFkNTV3ZEhRUUIzUFUyVUNtCQEFdmFsdWUBCQCmCAEJAQlnZXRTdHJCeUsBAg9jb25mX3VzZXJzX2RhcHAAC3NpZ25Bc3NldElkCQDZBAEJAQlnZXRTdHJCeUsB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NuaWwALwC/JQ==", "height": 2337892, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6oG5vYcVV3wCsopCphmbZsjDT9qjoQSkwXhgSwPk4EvM Next: BXtoTCEAeG9b8xRb6WZjS4Qz2T6zUmPx2jUxybEoxVii Diff:
OldNewDifferences
4949 func w (b) = valueOrElse(getString(g, b), "Error")
5050
5151
52-func x (b) = valueOrElse(getInteger(g, b), 10)
52+func x (b) = valueOrElse(getInteger(g, b), 1000)
5353
5454
5555 func y (b) = valueOrElse(getString(f, b), "")
199199 let aw = valueOrElse(getString(g, T(M)), e)
200200 let ax = valueOrElse(getInteger(g, U(M)), 0)
201201 let ay = fraction(Z, m, 100)
202- let az = fraction(Z, av, 100)
202+ let az = fraction(Z, av, 10000)
203203 let aA = (Z - (ay + az))
204204 let aB = if (if ((aw != e))
205205 then (ax > 0)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = valueOrElse(getString(this, b), "")
55
66
77 let c = false
88
99 let d = value(addressFromString(a("conf_oracle_fee")))
1010
1111 let e = a("conf_fee_receiver")
1212
1313 let f = value(addressFromString(a("conf_artworks_dapp")))
1414
1515 let g = if (c)
1616 then value(addressFromString("3Mt4RGMEyjSWYAocTPqd55wdHQQB3PU2UCm"))
1717 else value(addressFromString(a("conf_users_dapp")))
1818
1919 let h = fromBase58String(a("conf_accepted_asset_SIGN"))
2020
2121 let i = fromBase58String(a("conf_accepted_asset_USDN"))
2222
2323 let j = fromBase58String(a("conf_accepted_asset_USDT"))
2424
2525 let k = base58''
2626
2727 let l = a("conf_admin_1")
2828
2929 let m = 3
3030
3131 let n = "SUSPENDED"
3232
3333 let o = "REMOVED"
3434
3535 let p = "ILLEGAL"
3636
3737 let q = "SUSPENDED"
3838
3939 let r = "conf_dapp_is_running"
4040
4141 let s = "conf_maintenance_msg"
4242
4343 let t = valueOrElse(getBoolean(this, r), true)
4444
4545 let u = valueOrElse(getString(this, s), "")
4646
4747 let v = "num_sales"
4848
4949 func w (b) = valueOrElse(getString(g, b), "Error")
5050
5151
52-func x (b) = valueOrElse(getInteger(g, b), 10)
52+func x (b) = valueOrElse(getInteger(g, b), 1000)
5353
5454
5555 func y (b) = valueOrElse(getString(f, b), "")
5656
5757
5858 func z (b) = valueOrElse(getInteger(this, b), 0)
5959
6060
6161 func A (B) = ("user_status_" + B)
6262
6363
6464 func C (B) = ("user_royalties_" + B)
6565
6666
6767 func D (E,F) = ((("art_signid_" + F) + "_") + E)
6868
6969
7070 func G (E,F) = ((("art_flag_" + F) + "_") + E)
7171
7272
7373 func H (I) = ("nft_" + I)
7474
7575
7676 func J (K,L,F,M) = ((((((("sale2nd_info_" + K) + "_") + L) + "_") + F) + "_") + M)
7777
7878
7979 func N (O,L,P,Q) = ((((((("offer2nd_" + O) + "_") + L) + "_") + P) + "_") + Q)
8080
8181
8282 func R (b) = valueOrErrorMessage(getInteger(d, b), "Integer undefine or 0 in oracle")
8383
8484
8585 let S = R(("certification_fee_" + toBase58String(h)))
8686
8787 func T (E) = ("artist_agent_" + E)
8888
8989
9090 func U (E) = ("artist_agent_secondary_" + E)
9191
9292
9393 func V (W) = if (!(t))
9494 then throw(u)
9595 else $Tuple3(toBase58String(W.transactionId), toBase58String(W.caller.bytes), lastBlock.timestamp)
9696
9797
9898 func X (W) = if ((size(W.payments) == 0))
9999 then throw("No payment attached")
100100 else {
101101 let Y = value(W.payments[0])
102102 let Z = value(Y.amount)
103103 $Tuple2(Y, Z)
104104 }
105105
106106
107107 func aa (ab) = if (if (if ((ab.quantity == 1))
108108 then (ab.decimals == 0)
109109 else false)
110110 then (ab.reissuable == false)
111111 else false)
112112 then (ab.issuer == f)
113113 else false
114114
115115
116116 func ac (I) = {
117117 let ab = value(assetInfo(I))
118118 aa(ab)
119119 }
120120
121121
122122 func ad (ae) = if (if (if (if (if ((ae != toBase58String(h)))
123123 then (ae != toBase58String(k))
124124 else false)
125125 then (ae != "WAVES")
126126 else false)
127127 then (ae != toBase58String(i))
128128 else false)
129129 then (ae != toBase58String(j))
130130 else false)
131131 then false
132132 else true
133133
134134
135135 func af (ae) = if ((ae == "WAVES"))
136136 then unit
137137 else fromBase58String(ae)
138138
139139
140140 func ag (ah) = {
141141 let P = a(("current_owner_on_dapp_" + ah))
142142 if ((size(P) == 0))
143143 then throw("NFT not found")
144144 else {
145145 let ai = a(((("sale2nd_status_" + P) + "_") + ah))
146146 if ((ai != "OPEN"))
147147 then throw("NFT not for sale")
148148 else P
149149 }
150150 }
151151
152152
153153 func aj (b) = {
154154 let ak = a((b + "_OPEN"))
155155 if ((ak == ""))
156156 then throw("Offer not found")
157157 else {
158158 let al = split(ak, "_")
159159 let ae = af(al[2])
160160 $Tuple3(al, ae, ak)
161161 }
162162 }
163163
164164
165165 func am (an) = if ((an != p))
166166 then (an != q)
167167 else false
168168
169169
170170 func ao (B,I) = {
171171 let an = y(G(B, I))
172172 if (am(an))
173173 then true
174174 else throw(("Original Artwork flagged as " + an))
175175 }
176176
177177
178178 func ap (B) = {
179179 let aq = w(A(B))
180180 if (containsElement([n, o], aq))
181181 then throw(("Original Artist " + aq))
182182 else true
183183 }
184184
185185
186186 func ar (ae) = {
187187 let as = split(y(H(ae)), "_")
188188 let at = y(D(as[6], as[5]))
189189 if (if (!(ao(as[6], as[5])))
190190 then !(ap(as[6]))
191191 else false)
192192 then $Tuple4(false, as[5], as[6], at)
193193 else $Tuple4(true, as[5], as[6], at)
194194 }
195195
196196
197197 func au (Z,ae,ah,M,P,K) = {
198198 let av = x(C(M))
199199 let aw = valueOrElse(getString(g, T(M)), e)
200200 let ax = valueOrElse(getInteger(g, U(M)), 0)
201201 let ay = fraction(Z, m, 100)
202- let az = fraction(Z, av, 100)
202+ let az = fraction(Z, av, 10000)
203203 let aA = (Z - (ay + az))
204204 let aB = if (if ((aw != e))
205205 then (ax > 0)
206206 else false)
207207 then fraction(Z, ax, 100)
208208 else 0
209209 let aC = if ((aB != 0))
210210 then [ScriptTransfer(Address(fromBase58String(e)), (ay - aB), ae), ScriptTransfer(Address(fromBase58String(aw)), aB, ae)]
211211 else [ScriptTransfer(Address(fromBase58String(e)), ay, ae)]
212212 let aD = ScriptTransfer(Address(fromBase58String(M)), az, ae)
213213 let aE = ScriptTransfer(Address(fromBase58String(P)), aA, ae)
214214 let aF = ScriptTransfer(Address(fromBase58String(K)), 1, fromBase58String(ah))
215215 $Tuple4(aC, aD, aE, aF)
216216 }
217217
218218
219219 func aG (ae,aH) = {
220220 let aI = if (c)
221221 then 10
222222 else R("waves_min_sell")
223223 let aJ = 1000000
224224 let aK = if (c)
225225 then 1
226226 else (S * 2)
227227 if (if (if (if (if (if ((ae == toBase58String(i)))
228228 then (aJ > aH)
229229 else false)
230230 then (aH != 0)
231231 else false)
232232 then true
233233 else if (if ((ae == toBase58String(j)))
234234 then (aJ > aH)
235235 else false)
236236 then (aH != 0)
237237 else false)
238238 then true
239239 else if (if ((ae == toBase58String(h)))
240240 then (aK > aH)
241241 else false)
242242 then (aH != 0)
243243 else false)
244244 then true
245245 else if (if (if ((ae == toBase58String(k)))
246246 then true
247247 else (ae == "WAVES"))
248248 then (aI > aH)
249249 else false)
250250 then (aH != 0)
251251 else false)
252252 then false
253253 else true
254254 }
255255
256256
257257 func aL (W,L) = {
258258 let aM = V(W)
259259 let I = aM._1
260260 let K = aM._2
261261 let aN = aM._3
262262 let aO = ar(L)
263263 let aP = aO._1
264264 let F = aO._2
265265 let M = aO._3
266266 let at = aO._4
267267 $Tuple7(I, K, aN, aP, F, M, at)
268268 }
269269
270270
271271 func aQ () = {
272272 let aR = z(v)
273273 IntegerEntry(v, (aR + 1))
274274 }
275275
276276
277277 @Callable(aS)
278278 func setConf (b,aT) = {
279279 let K = toString(aS.caller)
280280 if (containsElement([l, toString(this)], K))
281281 then if (contains(b, "conf_"))
282282 then [StringEntry(b, aT)]
283283 else throw("Entries starting with conf_ only")
284284 else throw("You are not allowed to change this")
285285 }
286286
287287
288288
289289 @Callable(aS)
290290 func appRunning (aU,aV) = {
291291 let K = toString(aS.caller)
292292 let I = toBase58String(aS.transactionId)
293293 if (containsElement([l, toString(this)], K))
294294 then [BooleanEntry(r, aU), StringEntry(s, aV)]
295295 else throw("You are not allowed to change this")
296296 }
297297
298298
299299
300300 @Callable(W)
301301 func sellNFT (aH,aW) = {
302302 let aX = X(W)
303303 let Y = aX._1
304304 let Z = aX._2
305305 if ((Z != 1))
306306 then throw("No NFT attached")
307307 else {
308308 let L = if (if (isDefined(Y.assetId))
309309 then ac(value(Y.assetId))
310310 else false)
311311 then toBase58String(value(Y.assetId))
312312 else throw("Only SIGN Art NFT accepted.")
313313 let aY = aL(W, L)
314314 let I = aY._1
315315 let K = aY._2
316316 let aN = aY._3
317317 let aP = aY._4
318318 let F = aY._5
319319 let M = aY._6
320320 let at = aY._7
321321 if ((size(at) == 0))
322322 then throw("Artwork not found on SIGN Art")
323323 else if (!(aP))
324324 then throw("Not a valid nft")
325325 else if (!(ad(aW)))
326326 then throw("Only SIGN, USDN, USDT or WAVES accepted")
327327 else if (!(aG(aW, aH)))
328328 then throw("Wrong minimum sell price")
329329 else [StringEntry((J(K, L, F, M) + "_OPEN"), ((((((((((((toString(aN) + "_") + toString(aH)) + "_") + aW) + "_") + L) + "_") + F) + "_") + M) + "_") + I)), StringEntry(((("sale2nd_status_" + K) + "_") + L), "OPEN"), StringEntry(("current_owner_on_dapp_" + L), K)]
330330 }
331331 }
332332
333333
334334
335335 @Callable(W)
336336 func updateSalePrice (L,aH,aW) = {
337337 let aZ = aL(W, L)
338338 let I = aZ._1
339339 let K = aZ._2
340340 let aN = aZ._3
341341 let aP = aZ._4
342342 let F = aZ._5
343343 let M = aZ._6
344344 let at = aZ._7
345345 if ((size(at) == 0))
346346 then throw("Artwork not found on SIGN Art, cancel your sale.")
347347 else if (!(aP))
348348 then throw("Not a valid nft")
349349 else {
350350 let P = a(("current_owner_on_dapp_" + L))
351351 if ((P != K))
352352 then throw("You don't own this NFT")
353353 else {
354354 let ai = a(((("sale2nd_status_" + K) + "_") + L))
355355 if ((ai != "OPEN"))
356356 then throw("Sale not active")
357357 else if (!(ad(aW)))
358358 then throw("Only SIGN, USDN, USDT or WAVES accepted")
359359 else if (!(aG(aW, aH)))
360360 then throw("Wrong minimum sell price")
361361 else {
362362 let ba = J(K, L, F, M)
363363 let bb = split(a((ba + "_OPEN")), "_")
364364 [StringEntry((ba + "_OPEN"), ((((((((((((bb[0] + "_") + toString(aH)) + "_") + aW) + "_") + bb[3]) + "_") + bb[4]) + "_") + bb[5]) + "_") + bb[6]))]
365365 }
366366 }
367367 }
368368 }
369369
370370
371371
372372 @Callable(W)
373373 func cancelSale (L) = {
374374 let bc = aL(W, L)
375375 let I = bc._1
376376 let K = bc._2
377377 let aN = bc._3
378378 let aP = bc._4
379379 let F = bc._5
380380 let M = bc._6
381381 let at = bc._7
382382 let P = a(("current_owner_on_dapp_" + L))
383383 if ((P != K))
384384 then throw("You don't own this NFT")
385385 else {
386386 let ai = a(((("sale2nd_status_" + K) + "_") + L))
387387 if ((ai != "OPEN"))
388388 then throw("Sale not active")
389389 else {
390390 let ba = J(K, L, F, M)
391391 let bb = a((ba + "_OPEN"))
392392 [DeleteEntry((ba + "_OPEN")), DeleteEntry(((("sale2nd_status_" + K) + "_") + L)), DeleteEntry(("current_owner_on_dapp_" + L)), StringEntry((((ba + "_") + I) + "_CANCELLED"), ((((bb + "_CANCELLED_") + toString(aN)) + "_") + I)), ScriptTransfer(Address(fromBase58String(K)), 1, fromBase58String(L))]
393393 }
394394 }
395395 }
396396
397397
398398
399399 @Callable(W)
400400 func buyNFT (L) = {
401401 let bd = aL(W, L)
402402 let I = bd._1
403403 let K = bd._2
404404 let aN = bd._3
405405 let aP = bd._4
406406 let F = bd._5
407407 let M = bd._6
408408 let at = bd._7
409409 if ((size(at) == 0))
410410 then throw("Artwork not found on SIGN Art, cancel your sale.")
411411 else if (!(aP))
412412 then throw("Not a valid nft")
413413 else {
414414 let P = ag(L)
415415 let ba = J(P, L, F, M)
416416 let bb = a((ba + "_OPEN"))
417417 if ((size(bb) == 0))
418418 then throw("Sale Not found!")
419419 else {
420420 let be = split(bb, "_")
421421 if ((parseInt(be[1]) == 0))
422422 then throw("Offer only")
423423 else {
424424 let bf = X(W)
425425 let Y = bf._1
426426 let Z = bf._2
427427 let bg = if (isDefined(Y.assetId))
428428 then toBase58String(value(Y.assetId))
429429 else ""
430430 if (if ((be[1] != toString(Z)))
431431 then true
432432 else (be[2] != bg))
433433 then throw("Payment infos don't match.")
434434 else {
435435 let bh = au(Z, Y.assetId, L, M, P, K)
436436 let aC = bh._1
437437 let aD = bh._2
438438 let aE = bh._3
439439 let aF = bh._4
440440 ([DeleteEntry((ba + "_OPEN")), DeleteEntry(((("sale2nd_status_" + P) + "_") + L)), DeleteEntry(("current_owner_on_dapp_" + L)), StringEntry((((ba + "_") + I) + "_CLOSED"), ((((((bb + "_CLOSED_") + toString(aN)) + "_") + I) + "_") + K)), aQ(), aD, aE, aF] ++ aC)
441441 }
442442 }
443443 }
444444 }
445445 }
446446
447447
448448
449449 @Callable(W)
450450 func setOffer (L) = {
451451 let bi = aL(W, L)
452452 let I = bi._1
453453 let O = bi._2
454454 let aN = bi._3
455455 let aP = bi._4
456456 let F = bi._5
457457 let M = bi._6
458458 let at = bi._7
459459 if (!(aP))
460460 then throw("Not a valid nft")
461461 else {
462462 let bj = X(W)
463463 let Y = bj._1
464464 let Z = bj._2
465465 let ae = if (!(isDefined(Y.assetId)))
466466 then "WAVES"
467467 else toBase58String(value(Y.assetId))
468468 if (!(ad(ae)))
469469 then throw("asset not accepted")
470470 else if ((Z == 0))
471471 then throw("Offer of 0 not allowed")
472472 else if (!(aG(ae, Z)))
473473 then throw("Wrong minimum sell price")
474474 else {
475475 let P = ag(L)
476476 [StringEntry((N(O, L, P, I) + "_OPEN"), ((((((((((((((toString(aN) + "_") + toString(Z)) + "_") + ae) + "_") + L) + "_") + F) + "_") + M) + "_") + O) + "_") + I))]
477477 }
478478 }
479479 }
480480
481481
482482
483483 @Callable(W)
484484 func acceptOffer (L,Q,O) = {
485485 let bk = aL(W, L)
486486 let I = bk._1
487487 let K = bk._2
488488 let aN = bk._3
489489 let aP = bk._4
490490 let F = bk._5
491491 let M = bk._6
492492 let at = bk._7
493493 if (!(aP))
494494 then throw("Not a valid nft")
495495 else {
496496 let P = ag(L)
497497 if ((K != P))
498498 then throw("Only sale owner can accept offer")
499499 else {
500500 let bl = N(O, L, P, Q)
501501 let bm = aj(bl)
502502 let al = bm._1
503503 let ae = bm._2
504504 let ak = bm._3
505505 let ba = J(P, L, F, M)
506506 let bb = a((ba + "_OPEN"))
507507 if ((size(bb) == 0))
508508 then throw("Sale Not found!")
509509 else {
510510 let Z = value(parseInt(al[1]))
511511 let bn = au(Z, ae, L, M, P, al[6])
512512 let aC = bn._1
513513 let aD = bn._2
514514 let aE = bn._3
515515 let aF = bn._4
516516 let bo = if (isDefined(ae))
517517 then toBase58String(value(ae))
518518 else "WAVES"
519519 ([DeleteEntry((ba + "_OPEN")), DeleteEntry((bl + "_OPEN")), DeleteEntry(((("sale2nd_status_" + P) + "_") + L)), DeleteEntry(("current_owner_on_dapp_" + L)), StringEntry((bl + "_CLOSED"), ((((ak + "_CLOSED_") + toString(aN)) + "_") + I)), StringEntry((((ba + "_") + I) + "_CLOSED"), ((((((((((bb + "_CLOSED-OFFER_") + toString(aN)) + "_") + I) + "_") + O) + "_") + toString(Z)) + "_") + bo)), aQ(), aD, aE, aF] ++ aC)
520520 }
521521 }
522522 }
523523 }
524524
525525
526526
527527 @Callable(W)
528528 func cancelOffer (L,Q,O,P) = {
529529 let bp = V(W)
530530 let I = bp._1
531531 let K = bp._2
532532 let aN = bp._3
533533 if (if ((K != O))
534534 then (K != P)
535535 else false)
536536 then throw("You cannot cancel this offer.")
537537 else {
538538 let bl = N(O, L, P, Q)
539539 let bq = aj(bl)
540540 let al = bq._1
541541 let ae = bq._2
542542 let ak = bq._3
543543 [DeleteEntry((bl + "_OPEN")), StringEntry((bl + "_CANCELLED"), ((((ak + "_CANCELLED_") + toString(aN)) + "_") + I)), ScriptTransfer(Address(fromBase58String(K)), parseIntValue(al[1]), ae)]
544544 }
545545 }
546546
547547

github/deemru/w8io/026f985 
55.33 ms