tx · 6oG5vYcVV3wCsopCphmbZsjDT9qjoQSkwXhgSwPk4EvM

3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p:  -0.01500000 Waves

2022.11.29 06:56 [2337883] smart account 3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p > SELF 0.00000000 Waves

{ "type": 13, "id": "6oG5vYcVV3wCsopCphmbZsjDT9qjoQSkwXhgSwPk4EvM", "fee": 1500000, "feeAssetId": null, "timestamp": 1669694200776, "version": 2, "chainId": 84, "sender": "3N2eA4yzXa4wTj7pP8r6G144RRxZW7cmq4p", "senderPublicKey": "Hh3eFP2XFetZSfTxQiM1Ps96f68zi8Zh5ghhCZdjgdFs", "proofs": [ "2VDWsBeWwpYRFtTvTdHsi3d9npNYA8F9PaVMNPmCA4kKCKkJnqpr6NTpCC2S6oX7UUSp1pjaNBqovcdiGE79M4Xr" ], "script": "base64:BgI5CAISBAoCCAgSBAoCBAgSBAoCAQgSBQoDCAEIEgMKAQgSAwoBCBIDCgEIEgUKAwgICBIGCgQICAgINAEJZ2V0U3RyQnlLAQNrZXkJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUEdGhpcwUDa2V5AgAACHVuaXRUZXN0BwAJb3JhY2xlRmVlCQEFdmFsdWUBCQCmCAEJAQlnZXRTdHJCeUsBAg9jb25mX29yYWNsZV9mZWUAC2ZlZVJlY2VpdmVyCQEJZ2V0U3RyQnlLAQIRY29uZl9mZWVfcmVjZWl2ZXIADGFydHdvcmtzRGFwcAkBBXZhbHVlAQkApggBCQEJZ2V0U3RyQnlLAQISY29uZl9hcnR3b3Jrc19kYXBwAAh1c2VyRGFwcAMFCHVuaXRUZXN0CQEFdmFsdWUBCQCmCAECIzNNdDRSR01FeWpTV1lBb2NUUHFkNTV3ZEhRUUIzUFUyVUNtCQEFdmFsdWUBCQCmCAEJAQlnZXRTdHJCeUsBAg9jb25mX3VzZXJzX2RhcHAAC3NpZ25Bc3NldElkCQDZBAEJAQlnZXRTdHJCeUsBAh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applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DEwcfARDv4Hf1VUrRLBPgiSnCY9PT51ZMsHkWzKGGWbT Next: Cmqh7EbyBVHkpzW1WwR2Cjp2M65riRYzky3RHVSv8DbK Diff:
OldNewDifferences
4949 func w (b) = valueOrElse(getString(g, b), "Error")
5050
5151
52-func x (b) = valueOrElse(getInteger(g, b), 100)
52+func x (b) = valueOrElse(getInteger(g, b), 10)
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, 1000)
202+ let az = fraction(Z, av, 100)
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), 100)
52+func x (b) = valueOrElse(getInteger(g, b), 10)
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, 1000)
202+ let az = fraction(Z, av, 100)
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 
62.10 ms