tx · FALumfLkJyJPbAKTSkxsihqa8dT2VThSf3QhnU8xYYNt

3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu:  -0.01000000 Waves

2022.05.15 18:31 [2052974] smart account 3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu > SELF 0.00000000 Waves

{ "type": 13, "id": "FALumfLkJyJPbAKTSkxsihqa8dT2VThSf3QhnU8xYYNt", "fee": 1000000, "feeAssetId": null, "timestamp": 1652628735165, "version": 2, "chainId": 84, "sender": "3N8jKcYWjJn5GjrJV94rxzVk42TPk1rPLeu", "senderPublicKey": "914UmzBhcoS4onGGVcBRgb4VPV88m9VCFjsj5WWck5vm", "proofs": [ "3PL3L6mRdnwyznuB5pQHyVLRKKf2CvW2gcYKs8Wj6WRRjLCPXxqRjJ8R2xX6Sg6sUShUMMLwL5EeUtM2jpj4vaz6" ], "script": "base64:AAIFAAAAAAAAAFgIAhIDCgEIEgMKAQgSBQoDAQgIEgwKCggICAgICAgICAgSDgoMCAEBCAgBCAgIAQEBEgQKAggIEgUKAwgICBIDCgEIEgQKAggIEgYKBAgICAgSBQoDCAgIAAAAUwAAAAAIdW5pdFRlc3QHAAAAAAlvcmFjbGVLZXkCAAAACW9yYWNsZUtleQEAAAAGZ2V0U3RyAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWICAAAAAAAAAAAGb3JhY2xlCQEAAAAGZ2V0U3RyAAAAAQUAAAAJb3JhY2xlS2V5AAAAAAlvcmFjbGVGZWUJAQAAAAV2YWx1ZQAAAAEJAAQmAAAAAQUAAAAGb3JhY2xlAAAAAAZvd25lcnMJAARMAAAAAgkABB0AAAACBQAAAAlvcmFjbGVGZWUCAAAABm93bmVyMQkABEwAAAACCQAEHQAAAAIFAAAACW9yYWNsZUZlZQIAAAAGb3duZX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Y3Rpb25UeXBlMgkBAAAAFGFjY2VwdEJpZFRyYWRpdGlvbmFsAAAABQUAAAABaQUAAAAFYXJ0SWQFAAAABmlzc3VlcgUAAAAFYmlkSWQFAAAACGJpZE93bmVyCQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAABZVbmtub3duIGF1Y3Rpb24gdHlwZSA6BQAAAAthdWN0aW9uVHlwZQIAAAAbLCBwbGVhc2UgY29udGFjdCB0aGUgYWRtaW5zAAAAAWkBAAAACWNhbmNlbEJpZAAAAAMAAAAFYXJ0SWQAAAAGaXNzdWVyAAAABWJpZElkBAAAAAthdWN0aW9uVHlwZQkBAAAADmdldFN0cmluZ0J5S2V5AAAAAQkBAAAADmtleUF1Y3Rpb25UeXBlAAAAAgUAAAAGaXNzdWVyBQAAAAVhcnRJZAMJAAAAAAAAAgUAAAALYXVjdGlvblR5cGUFAAAADGF1Y3Rpb25UeXBlMQkBAAAADWNhbmNlbEJpZEltcGwAAAAEBQAAAAFpBQAAAAVhcnRJZAUAAAAGaXNzdWVyBQAAAAViaWRJZAkBAAAAGGNhbmNlbEJpZEltcGxUcmFkaXRpb25hbAAAAAQFAAAAAWkFAAAABWFydElkBQAAAAZpc3N1ZXIFAAAABWJpZElkAAAAACrsy34=", "height": 2052974, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8N7iQ2n5oVYdySCAgb1kSWgbucjXaDXesw7S9gY937xQ Next: 6kN3k5vWgeEYS2HuJRcprVFXfctPQuwtYggEyA2W5TSD Diff:
OldNewDifferences
204204 }
205205
206206
207-func aE (aF) = if ((size(aF.payments) == 0))
207+func aE (aF,aG) = if ((size(aF.payments) == 0))
208208 then throw("No payment attached")
209209 else {
210- let aG = value(aF.payments[0])
211- let aH = value(aG.amount)
212- $Tuple2(aG, aH)
210+ let aH = value(aF.payments[aG])
211+ let aI = value(aH.amount)
212+ $Tuple2(aH, aI)
213213 }
214214
215215
216-func aI (aF) = {
217- let aJ = aE(aF)
218- let aG = aJ._1
219- let aH = aJ._2
220- let aK = if (if (isDefined(aG.assetId))
221- then (aG.assetId == q)
222- else false)
223- then aG.assetId
224- else throw((("Only " + toBase58String(q)) + " token accepted as transaction fee"))
225- if ((aH != aq))
226- then throw(((("Payment amount should be " + toString(aq)) + " but is: ") + toString(aH)))
227- else $Tuple2(aH, aK)
228- }
229-
230-
231-func aL (aM,N) = {
232- let e = getInteger(this, Z(aM, N))
216+func aJ (aK,N) = {
217+ let e = getInteger(this, Z(aK, N))
233218 if ($isInstanceOf(e, "Int"))
234219 then {
235220 let f = e
241226 }
242227
243228
244-func aN (aF,aO,aP) = {
245- let aQ = aE(aF)
246- let aG = aQ._1
247- let aH = aQ._2
248- let aK = if (!(isDefined(aG.assetId)))
229+func aL (aF,aM,aN) = {
230+ let aO = aE(aF, 1)
231+ let aH = aO._1
232+ let aI = aO._2
233+ let aP = if (!(isDefined(aH.assetId)))
249234 then throw("Asset Id is not defined")
250- else if (if ((size(aO) > 0))
251- then (toBase58String(value(aG.assetId)) == aO)
235+ else if (if ((size(aM) > 0))
236+ then (toBase58String(value(aH.assetId)) == aM)
252237 else false)
253- then aG.assetId
238+ then aH.assetId
254239 else throw("Wrong asset id")
255- if ((aP != aH))
256- then throw(((("Payment don't match " + toString(aP)) + " ") + toString(aH)))
257- else $Tuple2(aH, aK)
240+ if ((aN != aI))
241+ then throw(((("Payment don't match " + toString(aN)) + " ") + toString(aI)))
242+ else $Tuple2(aI, aP)
258243 }
259244
260245
261-func aR (aK) = if ((aK != toBase58String(p)))
246+func aQ (aP) = if ((aP != toBase58String(p)))
262247 then throw("Only USDN accepted")
263248 else true
264249
265250
266-func aS (aK,aT) = {
267- let aU = ap
268- if (if ((aU > aT))
251+func aR (aP,aS) = {
252+ let aT = ap
253+ if (if ((aT > aS))
269254 then true
270- else (aK != toBase58String(p)))
271- then throw(("Wrong minimum sell price " + toString(aU)))
255+ else (aP != toBase58String(p)))
256+ then throw(("Wrong minimum sell price " + toString(aT)))
272257 else true
273258 }
274259
275260
276-func aV (aK) = if ((aK == "WAVES"))
261+func aU (aP) = if ((aP == "WAVES"))
277262 then throw("Only USDN is accepted!")
278- else fromBase58String(aK)
263+ else fromBase58String(aP)
279264
280265
281-func aW (aX) = {
282- let aY = C((aX + "_OPEN"))
283- if ((aY == ""))
266+func aV (aW) = {
267+ let aX = C((aW + "_OPEN"))
268+ if ((aX == ""))
284269 then throw("Bid not found")
285270 else {
286- let aZ = split(aY, "_")
287- let ba = parseIntValue(aZ[1])
288- let bb = aV(aZ[0])
289- if ((0 >= ba))
271+ let aY = split(aX, "_")
272+ let aZ = parseIntValue(aY[1])
273+ let ba = aU(aY[0])
274+ if ((0 >= aZ))
290275 then throw("Wrong amount")
291- else $Tuple2(ba, bb)
276+ else $Tuple2(aZ, ba)
292277 }
293278 }
294279
295280
296-func bc (aF) = if (!(t))
281+func bb (aF) = if (!(t))
297282 then throw(u)
298283 else $Tuple3(toBase58String(aF.transactionId), toBase58String(aF.caller.bytes), lastBlock.timestamp)
299284
300285
301-func bd (aF,be,N,bf) = {
302- let bg = (toBase58String(aF.caller.bytes) == be)
303- let bh = G("total_nft_issued")
304- let bi = C(O(be, N))
305- if ((bi == ""))
286+func bc (aF,bd,N,be) = {
287+ let bf = (toBase58String(aF.caller.bytes) == bd)
288+ let bg = G("total_nft_issued")
289+ let bh = C(O(bd, N))
290+ if ((bh == ""))
306291 then throw("Art doesn't exist")
307292 else {
308- let bj = H(ad(be, N))
309- let bk = G(Z(be, N))
310- let aP = valueOrElse(G(ah(be, N)), ap)
311- let aO = if (bg)
293+ let bi = H(ad(bd, N))
294+ let bj = G(Z(bd, N))
295+ let aN = valueOrElse(G(ah(bd, N)), ap)
296+ let aM = if (bf)
312297 then toBase58String(p)
313- else C(ai(be, N))
314- let bl = G(S(be, N))
315- if (if (if (!(bf))
316- then !(bg)
298+ else C(ai(bd, N))
299+ let bk = G(S(bd, N))
300+ if (if (if (!(be))
301+ then !(bf)
317302 else false)
318- then if (if ((0 >= aP))
303+ then if (if ((0 >= aN))
319304 then true
320- else !(bj))
305+ else !(bi))
321306 then true
322- else (0 >= bl)
307+ else (0 >= bk)
323308 else false)
324309 then throw("Art not for sale")
325- else if (if (if (!(bf))
326- then bg
310+ else if (if (if (!(be))
311+ then bf
327312 else false)
328- then (0 >= bl)
313+ then (0 >= bk)
329314 else false)
330315 then throw("Max issuable not set")
331- else $Tuple7(bh, bi, bk, aP, aO, bl, bj)
316+ else $Tuple7(bg, bh, bj, aN, aM, bk, bi)
332317 }
333318 }
334319
335320
336-func bm (aF,L,be,N,bn,V,aO,aP,bf) = {
337- let aD = aw(be)
338- if (if (bf)
321+func bl (aF,L,bd,N,bm,V,aM,aN,be) = {
322+ let aD = aw(bd)
323+ if (if (be)
339324 then (aD != "")
340325 else false)
341326 then throw(aD)
342327 else {
343- let aX = ((((((("bid_" + N) + "_") + be) + "_") + bn) + "_") + V)
344- let bo = if (bf)
345- then aW(aX)
346- else aN(aF, aO, aP)
347- let aH = bo._1
348- let aK = bo._2
349- $Tuple3(aX, aH, aK)
328+ let aW = ((((((("bid_" + N) + "_") + bd) + "_") + bm) + "_") + V)
329+ let bn = if (be)
330+ then aV(aW)
331+ else aL(aF, aM, aN)
332+ let aI = bn._1
333+ let aP = bn._2
334+ $Tuple3(aW, aI, aP)
350335 }
351336 }
352337
353338
354-func bp (be,N,bi,bq,bl,bh,L,bn,V,aF,bj) = {
355- let br = ((((((((("Creator: " + be) + ",ArtID: ") + N) + ",Artwork name: ") + bi) + ",Issue: ") + toString(bq)) + "/") + toString(bl))
356- let bs = if (if ((bq == bl))
339+func bo (bd,N,bh,bp,bk,bg,L,bm,V,aF,bi) = {
340+ let bq = ((((((((("Creator: " + bd) + ",ArtID: ") + N) + ",Artwork name: ") + bh) + ",Issue: ") + toString(bp)) + "/") + toString(bk))
341+ let br = if (if ((bp == bk))
357342 then true
358- else !(bj))
343+ else !(bi))
359344 then false
360345 else true
361- let bt = if ((bn != ""))
362- then addressFromStringValue(bn)
346+ let bs = if ((bm != ""))
347+ then addressFromStringValue(bm)
363348 else aF.caller
364- $Tuple3(bs, bt, br)
349+ $Tuple3(br, bs, bq)
365350 }
366351
367352
368-func bu (aK,aX,bv) = {
369- let bw = if (!(isDefined(aK)))
353+func bt (aP,aW,bu) = {
354+ let bv = if (!(isDefined(aP)))
370355 then throw("Only USDN is accepted")
371- else toBase58String(value(aK))
372- let aY = C((aX + "_OPEN"))
373- let bx = DeleteEntry((aX + "_OPEN"))
374- let by = StringEntry((aX + "_CLOSED"), ((aY + "_") + toString(bv)))
375- $Tuple3(bw, bx, by)
356+ else toBase58String(value(aP))
357+ let aX = C((aW + "_OPEN"))
358+ let bw = DeleteEntry((aW + "_OPEN"))
359+ let bx = StringEntry((aW + "_CLOSED"), ((aX + "_") + toString(bu)))
360+ $Tuple3(bv, bw, bx)
376361 }
377362
378363
379-func bz (aF,N,be,V,bn,bf) = {
380- let bA = bc(aF)
381- let bB = bA._1
382- let L = bA._2
383- let bv = bA._3
384- let bC = bd(aF, be, N, bf)
385- let bh = bC._1
386- let bi = bC._2
387- let bk = bC._3
388- let aP = bC._4
389- let aO = bC._5
390- let bl = bC._6
391- let bj = bC._7
392- let aY = bm(aF, L, be, N, bn, V, aO, aP, bf)
393- let aX = aY._1
394- let aH = aY._2
395- let aK = aY._3
396- let bq = if ((bk == bl))
364+func by (aF,N,bd,V,bm,be) = {
365+ let bz = bb(aF)
366+ let bA = bz._1
367+ let L = bz._2
368+ let bu = bz._3
369+ let bB = bc(aF, bd, N, be)
370+ let bg = bB._1
371+ let bh = bB._2
372+ let bj = bB._3
373+ let aN = bB._4
374+ let aM = bB._5
375+ let bk = bB._6
376+ let bi = bB._7
377+ let aX = bl(aF, L, bd, N, bm, V, aM, aN, be)
378+ let aW = aX._1
379+ let aI = aX._2
380+ let aP = aX._3
381+ let bp = if ((bj == bk))
397382 then throw("Max items sold")
398- else (bk + 1)
399- let bD = bp(be, N, bi, bq, bl, bh, L, bn, V, aF, bj)
400- let bs = bD._1
401- let bt = bD._2
402- let br = bD._3
403- let bE = invoke(this, "mintNft", [bh, br, toString(bt)], nil)
404- if ((bE == bE))
383+ else (bj + 1)
384+ let bC = bo(bd, N, bh, bp, bk, bg, L, bm, V, aF, bi)
385+ let br = bC._1
386+ let bs = bC._2
387+ let bq = bC._3
388+ let bD = invoke(this, "mintNft", [bg, bq, toString(bs)], nil)
389+ if ((bD == bD))
405390 then {
406- let bF = {
407- let e = bE
391+ let bE = {
392+ let e = bD
408393 if ($isInstanceOf(e, "String"))
409394 then {
410- let bG = e
411- bG
395+ let bF = e
396+ bF
412397 }
413398 else throw("Incorrect invoke result")
414399 }
415- let bH = bu(aK, aX, bv)
416- let bw = bH._1
417- let bx = bH._2
418- let by = bH._3
419- let bI = ((((((("art_sold_" + toString(bq)) + "_of_") + toString(bl)) + "_") + N) + "_") + be)
420- let bJ = if (!(bf))
421- then ((((((((((L + "_") + toString(bv)) + "_") + bB) + "_") + toString(aP)) + "_") + aO) + "_") + bF)
422- else ((((((((((toString(bt) + "_") + toString(bv)) + "_") + bB) + "_") + toString(aH)) + "_") + bw) + "_") + bF)
423- let bK = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "payFee", [N, be], [AttachedPayment(aK, aH)])
424- if ((bK == bK))
400+ let bG = bt(aP, aW, bu)
401+ let bv = bG._1
402+ let bw = bG._2
403+ let bx = bG._3
404+ let bH = ((((((("art_sold_" + toString(bp)) + "_of_") + toString(bk)) + "_") + N) + "_") + bd)
405+ let bI = if (!(be))
406+ then ((((((((((L + "_") + toString(bu)) + "_") + bA) + "_") + toString(aN)) + "_") + aM) + "_") + bE)
407+ else ((((((((((toString(bs) + "_") + toString(bu)) + "_") + bA) + "_") + toString(aI)) + "_") + bv) + "_") + bE)
408+ let bJ = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "payFee", [N, bd], [AttachedPayment(aP, aI)])
409+ if ((bJ == bJ))
425410 then {
426- let bL = StringEntry(bI, bJ)
427- let bM = [IntegerEntry(Z(be, N), bq), StringEntry(("nft_" + bF), bI), IntegerEntry("total_nft_issued", (bh + 1)), BooleanEntry(ad(be, N), bs), StringEntry(aa(bF), be), StringEntry(ac(bF), N)]
428- let bN = invoke(addressFromStringValue(l), "createCert", [toString(bt), bF, be], nil)
429- if ((bN == bN))
430- then if (bf)
431- then (((bM :+ bL) :+ by) :+ bx)
432- else bL :: bM
411+ let bK = StringEntry(bH, bI)
412+ let bL = [IntegerEntry(Z(bd, N), bp), StringEntry(("nft_" + bE), bH), IntegerEntry("total_nft_issued", (bg + 1)), BooleanEntry(ad(bd, N), br), StringEntry(aa(bE), bd), StringEntry(ac(bE), N)]
413+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[0]])
414+ if ((bM == bM))
415+ then {
416+ let bN = invoke(addressFromStringValue(l), "createCert", [toString(bs), bE, bd], nil)
417+ if ((bN == bN))
418+ then if (be)
419+ then (((bL :+ bK) :+ bx) :+ bw)
420+ else bK :: bL
421+ else throw("Strict value is not equal to itself.")
422+ }
433423 else throw("Strict value is not equal to itself.")
434424 }
435425 else throw("Strict value is not equal to itself.")
438428 }
439429
440430
441-func bO (aF,N,be) = {
442- let bP = bc(aF)
443- let bB = bP._1
431+func bO (aF,N,bd) = {
432+ let bP = bb(aF)
433+ let bA = bP._1
444434 let L = bP._2
445- let bv = bP._3
446- let bQ = aE(aF)
447- let aG = bQ._1
448- let aH = bQ._2
449- let aK = if (!(isDefined(aG.assetId)))
435+ let bu = bP._3
436+ let bQ = aE(aF, 0)
437+ let aH = bQ._1
438+ let aI = bQ._2
439+ let aP = if (!(isDefined(aH.assetId)))
450440 then throw("Only USDN is accepted!")
451- else toBase58String(value(aG.assetId))
441+ else toBase58String(value(aH.assetId))
452442 let bR = G(("current_bidamount_" + N))
453- if (!(aR(aK)))
443+ if (!(aQ(aP)))
454444 then throw("asset not accepted")
455445 else {
456- let bk = G(Z(be, N))
457- let bl = G(S(be, N))
458- if ((0 >= bl))
446+ let bj = G(Z(bd, N))
447+ let bk = G(S(bd, N))
448+ if ((0 >= bk))
459449 then throw("No max edition set for this artwork")
460- else if ((bk >= bl))
450+ else if ((bj >= bk))
461451 then throw("Sold out, you cannot bid")
462- else [StringEntry((((((((("bid_" + N) + "_") + be) + "_") + L) + "_") + bB) + "_OPEN"), ((((aK + "_") + toString(aH)) + "_") + toString(bv))), IntegerEntry(("current_bidamount_" + N), (bR + 1))]
452+ else {
453+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[1]])
454+ if ((bM == bM))
455+ then [StringEntry((((((((("bid_" + N) + "_") + bd) + "_") + L) + "_") + bA) + "_OPEN"), ((((aP + "_") + toString(aI)) + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + N), (bR + 1))]
456+ else throw("Strict value is not equal to itself.")
457+ }
463458 }
464459 }
465460
466461
467-func bS (aF,N,be) = {
468- let bT = G(X(be, N))
462+func bS (aF,N,bd) = {
463+ let bT = G(X(bd, N))
469464 let bU = as(N)
470465 if ((height > bT))
471466 then throw("This auction is finished already!")
472467 else {
473- let bV = bc(aF)
474- let bB = bV._1
468+ let bV = bb(aF)
469+ let bA = bV._1
475470 let L = bV._2
476- let bv = bV._3
477- let bW = aE(aF)
478- let aG = bW._1
479- let aH = bW._2
480- if ((bU >= aH))
471+ let bu = bV._3
472+ let bW = aE(aF, 0)
473+ let aH = bW._1
474+ let aI = bW._2
475+ if ((bU >= aI))
481476 then throw(("Please place a bid higher than: " + toString(bU)))
482477 else {
483- let aK = if (!(isDefined(aG.assetId)))
478+ let aP = if (!(isDefined(aH.assetId)))
484479 then throw("Only USDN is accepted!")
485- else toBase58String(value(aG.assetId))
480+ else toBase58String(value(aH.assetId))
486481 let bR = G(("current_bidamount_" + N))
487- let bX = valueOrElse(G(ah(be, N)), ap)
488- if (!(aR(aK)))
482+ let bX = valueOrElse(G(ah(bd, N)), ap)
483+ if (!(aQ(aP)))
489484 then throw("asset not accepted")
490- else if ((bX > aH))
485+ else if ((bX > aI))
491486 then throw("Bid is below min price!")
492487 else {
493- let bk = G(Z(be, N))
494- let bl = G(S(be, N))
495- if ((0 >= bl))
488+ let bj = G(Z(bd, N))
489+ let bk = G(S(bd, N))
490+ if ((0 >= bk))
496491 then throw("No max edition set for this artwork")
497- else if ((bk >= bl))
492+ else if ((bj >= bk))
498493 then throw("Sold out, you cannot bid")
499- else [StringEntry((((((((("bid_" + N) + "_") + be) + "_") + L) + "_") + bB) + "_OPEN"), ((((aK + "_") + toString(aH)) + "_") + toString(bv))), IntegerEntry(("current_bidamount_" + N), (bR + 1)), StringEntry(T(N), toBase58String(aF.transactionId)), IntegerEntry(U(toBase58String(aF.transactionId)), aH)]
494+ else {
495+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[1]])
496+ if ((bM == bM))
497+ then [StringEntry((((((((("bid_" + N) + "_") + bd) + "_") + L) + "_") + bA) + "_OPEN"), ((((aP + "_") + toString(aI)) + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + N), (bR + 1)), StringEntry(T(N), toBase58String(aF.transactionId)), IntegerEntry(U(toBase58String(aF.transactionId)), aI)]
498+ else throw("Strict value is not equal to itself.")
499+ }
500500 }
501501 }
502502 }
503503 }
504504
505505
506-func bY (aF,N,be,V,bn) = {
506+func bY (aF,N,bd,V,bm) = {
507507 let L = toBase58String(aF.caller.bytes)
508- if ((L != be))
508+ if ((L != bd))
509509 then throw("You cannot do this action")
510- else bz(aF, N, be, V, bn, true)
510+ else by(aF, N, bd, V, bm, true)
511511 }
512512
513513
514-func bZ (N,be) = {
515- let bk = G(Z(be, N))
516- let bl = G(S(be, N))
517- let ca = G(X(be, N))
518- let cb = G(W(be, N))
514+func bZ (N,bd) = {
515+ let bj = G(Z(bd, N))
516+ let bk = G(S(bd, N))
517+ let ca = G(X(bd, N))
518+ let cb = G(W(bd, N))
519519 let bT = (cb + height)
520520 if ((ca >= height))
521521 then throw("Previous auction isn't completed yet")
522- else if ((bk == bl))
522+ else if ((bj == bk))
523523 then throw("Can't restart auction, max amount sold")
524- else [IntegerEntry(X(be, N), bT), DeleteEntry(T(N))]
524+ else [IntegerEntry(X(bd, N), bT), DeleteEntry(T(N))]
525525 }
526526
527527
528-func cc (aF,N,be,V,bn) = {
529- let bT = G(X(be, N))
528+func cc (aF,N,bd,V,bm) = {
529+ let bT = G(X(bd, N))
530530 let cd = C(T(N))
531531 if ((bT >= height))
532532 then throw("This auction is not yet finished!")
533533 else if ((V != cd))
534534 then throw("This is not the winning bid!")
535535 else {
536- let ce = bz(aF, N, be, V, bn, true)
537- let cf = bZ(N, be)
536+ let ce = by(aF, N, bd, V, bm, true)
537+ let cf = bZ(N, bd)
538538 (cf ++ ce)
539539 }
540540 }
541541
542542
543-func cg (aF,N,be,V) = {
544- let ch = bc(aF)
545- let bB = ch._1
543+func cg (aF,N,bd,V) = {
544+ let ch = bb(aF)
545+ let bA = ch._1
546546 let L = ch._2
547- let bv = ch._3
547+ let bu = ch._3
548548 let bR = G(("current_bidamount_" + N))
549- let aX = ((((((("bid_" + N) + "_") + be) + "_") + L) + "_") + V)
550- let aY = D((aX + "_OPEN"), "Bid not found")
551- let aZ = split(aY, "_")
552- let aK = aV(aZ[0])
549+ let aW = ((((((("bid_" + N) + "_") + bd) + "_") + L) + "_") + V)
550+ let aX = D((aW + "_OPEN"), "Bid not found")
551+ let aY = split(aX, "_")
552+ let aP = aU(aY[0])
553553 let ci = "CANCELED"
554-[DeleteEntry((aX + "_OPEN")), StringEntry(((aX + "_") + ci), ((aY + "_") + toString(bv))), IntegerEntry(("current_bidamount_" + N), (bR - 1)), ScriptTransfer(Address(fromBase58String(L)), parseIntValue(aZ[1]), aK)]
554+[DeleteEntry((aW + "_OPEN")), StringEntry(((aW + "_") + ci), ((aX + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + N), (bR - 1)), ScriptTransfer(Address(fromBase58String(L)), parseIntValue(aY[1]), aP)]
555555 }
556556
557557
558-func cj (aF,N,be,V) = {
559- let ch = bc(aF)
560- let bB = ch._1
558+func cj (aF,N,bd,V) = {
559+ let ch = bb(aF)
560+ let bA = ch._1
561561 let L = ch._2
562- let bv = ch._3
562+ let bu = ch._3
563563 let bR = G(("current_bidamount_" + N))
564- let aX = ((((((("bid_" + N) + "_") + be) + "_") + L) + "_") + V)
565- let aY = D((aX + "_OPEN"), "Bid not found")
566- let aZ = split(aY, "_")
567- let aK = aV(aZ[0])
564+ let aW = ((((((("bid_" + N) + "_") + bd) + "_") + L) + "_") + V)
565+ let aX = D((aW + "_OPEN"), "Bid not found")
566+ let aY = split(aX, "_")
567+ let aP = aU(aY[0])
568568 let ci = "CANCELED"
569- let ba = parseIntValue(aZ[1])
569+ let aZ = parseIntValue(aY[1])
570570 let cd = C(T(N))
571571 if ((V == cd))
572572 then throw("You can't cancel the highest bid!")
573- else [DeleteEntry((aX + "_OPEN")), StringEntry(((aX + "_") + ci), ((aY + "_") + toString(bv))), IntegerEntry(("current_bidamount_" + N), (bR - 1)), ScriptTransfer(Address(fromBase58String(L)), ba, aK)]
573+ else [DeleteEntry((aW + "_OPEN")), StringEntry(((aW + "_") + ci), ((aX + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + N), (bR - 1)), ScriptTransfer(Address(fromBase58String(L)), aZ, aP)]
574574 }
575575
576576
591591
592592
593593 @Callable(aF)
594-func mintNft (bh,br,bt) = if ((aF.caller != this))
594+func mintNft (bg,bq,bs) = if ((aF.caller != this))
595595 then throw("Only the dApp can mint NFT's")
596596 else {
597- let cl = Address(fromBase58String(bt))
598- let cm = Issue(("SCONEX_" + toString((bh + 1))), br, 1, 0, false)
599- let bF = calculateAssetId(cm)
600- $Tuple2([cm, ScriptTransfer(cl, 1, bF)], toBase58String(bF))
597+ let cl = Address(fromBase58String(bs))
598+ let cm = Issue(("SCONEX_" + toString((bg + 1))), bq, 1, 0, false)
599+ let bE = calculateAssetId(cm)
600+ $Tuple2([cm, ScriptTransfer(cl, 1, bE)], toBase58String(bE))
601601 }
602602
603603
604604
605605 @Callable(aF)
606606 func addArtwork (am,aA,aB,aC,cn,az,co,cp,cq,cr) = {
607- let cs = bc(aF)
607+ let cs = bb(aF)
608608 let N = cs._1
609609 let L = cs._2
610- let bv = cs._3
610+ let bu = cs._3
611611 if (!(containsElement(r, cn)))
612612 then throw("Unknown type")
613613 else {
615615 if ((ct != ""))
616616 then throw("Something went wrong!")
617617 else {
618- let cu = aI(aF)
619- let aH = cu._1
620- let aK = cu._2
621- if (!(isDefined(aH)))
622- then throw("Something went wrong")
623- else {
624- let cv = if (containsElement(s, cn))
618+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[0]])
619+ if ((bM == bM))
620+ then {
621+ let cu = if (containsElement(s, cn))
625622 then [StringEntry(R(L, N), cp)]
626623 else nil
627- let bK = invoke(valueOrErrorMessage(o, "stakeDapp not found"), "topUpReward", nil, [AttachedPayment(aK, aH)])
628- if ((bK == bK))
624+ let cv = invoke(valueOrErrorMessage(addressFromString(j), (j + " not found")), "collectionProcess", [cq, cr, L], nil)
625+ if ((cv == cv))
629626 then {
630- let cw = invoke(valueOrErrorMessage(addressFromString(j), (j + " not found")), "collectionProcess", [cq, cr, L], nil)
631- if ((cw == cw))
632- then {
633- let cx = C(an(am, L))
627+ let cw = C(an(am, L))
628+ if ((cw != ""))
629+ then throw("You already added it")
630+ else {
631+ let cx = C(al(am))
634632 if ((cx != ""))
635- then throw("You already added it")
636- else {
637- let cy = C(al(am))
638- if ((cy != ""))
639- then throw("This hash is already registered")
640- else (cv ++ [StringEntry(al(am), L), StringEntry(an(am, L), N), IntegerEntry(M(L, N), bv), StringEntry(O(L, N), aA), StringEntry(P(L, N), aB), StringEntry(Q(L, N), az), StringEntry(ag(L, N), cn), StringEntry(af(L, N), aC), IntegerEntry(S(L, N), 0), IntegerEntry(Z(L, N), 0), BooleanEntry(ad(L, N), false), StringEntry(aj(L, N), am), StringEntry(ae(L, N), co)])
641- }
633+ then throw("This hash is already registered")
634+ else (cu ++ [StringEntry(al(am), L), StringEntry(an(am, L), N), IntegerEntry(M(L, N), bu), StringEntry(O(L, N), aA), StringEntry(P(L, N), aB), StringEntry(Q(L, N), az), StringEntry(ag(L, N), cn), StringEntry(af(L, N), aC), IntegerEntry(S(L, N), 0), IntegerEntry(Z(L, N), 0), BooleanEntry(ad(L, N), false), StringEntry(aj(L, N), am), StringEntry(ae(L, N), co)])
642635 }
643- else throw("Strict value is not equal to itself.")
644636 }
645637 else throw("Strict value is not equal to itself.")
646638 }
639+ else throw("Strict value is not equal to itself.")
647640 }
648641 }
649642 }
651644
652645
653646 @Callable(aF)
654-func sellArtwork (N,aT,cz,aK,cA,cb,cB,cC,cD,cE,cF,cG) = {
655- let cH = bc(aF)
656- let bB = cH._1
657- let L = cH._2
658- let bk = G(Z(L, N))
647+func sellArtwork (N,aS,cy,aP,cz,cb,cA,cB,cC,cD,cE,cF) = {
648+ let cG = bb(aF)
649+ let bA = cG._1
650+ let L = cG._2
651+ let bj = G(Z(L, N))
659652 let bR = G(("current_bidamount_" + N))
660- let cu = aI(aF)
661- let cI = cu._1
662- let cJ = cu._2
663- if (!(isDefined(cI)))
664- then throw("Something went wrong")
665- else {
666- let bK = invoke(valueOrErrorMessage(o, "stakeDapp not found"), "topUpReward", nil, [AttachedPayment(cJ, cI)])
667- if ((bK == bK))
668- then if (if ((bR > 0))
669- then true
670- else (bk > 0))
671- then throw("There are bids or items sold, you can not edit anything!")
672- else {
673- let bi = C(O(L, N))
674- if (!(containsElement([y, z, A], cA)))
675- then throw("We don't know this auction type")
676- else if ((bi == ""))
677- then throw("This art doesn't match your account")
678- else if (!(aR(aK)))
679- then throw("Something went wrong!")
680- else if (!(aS(aK, aT)))
681- then throw("Something went wrong!")
682- else {
683- let aD = aw(L)
684- if ((aD != ""))
685- then throw(aD)
686- else if ((cz > 10000))
687- then throw("10000 editions max per artwork")
688- else {
689- let bs = if ((aT > 0))
690- then (cz > 0)
691- else false
692- let cK = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "teamSplitFee", [N, k, "", "", 15, 0, 0], nil)
693- if ((cK == cK))
653+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[0]])
654+ if ((bM == bM))
655+ then if (if ((bR > 0))
656+ then true
657+ else (bj > 0))
658+ then throw("There are bids or items sold, you can not edit anything!")
659+ else {
660+ let bh = C(O(L, N))
661+ if (!(containsElement([y, z, A], cz)))
662+ then throw("We don't know this auction type")
663+ else if ((bh == ""))
664+ then throw("This art doesn't match your account")
665+ else if (!(aQ(aP)))
666+ then throw("Something went wrong!")
667+ else if (!(aR(aP, aS)))
668+ then throw("Something went wrong!")
669+ else {
670+ let aD = aw(L)
671+ if ((aD != ""))
672+ then throw(aD)
673+ else if ((cy > 10000))
674+ then throw("10000 editions max per artwork")
675+ else {
676+ let br = if ((aS > 0))
677+ then (cy > 0)
678+ else false
679+ let cH = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "teamSplitFee", [N, k, "", "", 15, 0, 0], nil)
680+ if ((cH == cH))
681+ then {
682+ let cI = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "creatorSplitFee", [N, cA, cB, cC, cD, cE, cF], nil)
683+ if ((cI == cI))
694684 then {
695- let cL = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "creatorSplitFee", [N, cB, cC, cD, cE, cF, cG], nil)
696- if ((cL == cL))
697- then {
698- let bT = (cb + height)
699-[BooleanEntry(ad(L, N), bs), IntegerEntry(ah(L, N), aT), IntegerEntry(S(L, N), cz), IntegerEntry(W(L, N), cb), IntegerEntry(X(L, N), bT), StringEntry(ai(L, N), aK), StringEntry(Y(L, N), cA)]
700- }
701- else throw("Strict value is not equal to itself.")
685+ let bT = (cb + height)
686+[BooleanEntry(ad(L, N), br), IntegerEntry(ah(L, N), aS), IntegerEntry(S(L, N), cy), IntegerEntry(W(L, N), cb), IntegerEntry(X(L, N), bT), StringEntry(ai(L, N), aP), StringEntry(Y(L, N), cz)]
702687 }
703688 else throw("Strict value is not equal to itself.")
704689 }
705- }
706- }
707- else throw("Strict value is not equal to itself.")
708- }
690+ else throw("Strict value is not equal to itself.")
691+ }
692+ }
693+ }
694+ else throw("Strict value is not equal to itself.")
709695 }
710696
711697
712698
713699 @Callable(aF)
714-func buyArtwork (N,be) = {
715- let cA = C(Y(be, N))
716- if ((cA == A))
717- then bz(aF, N, be, "", "", false)
700+func buyArtwork (N,bd) = {
701+ let cz = C(Y(bd, N))
702+ if ((cz == A))
703+ then by(aF, N, bd, "", "", false)
718704 else throw("Direct buy only allowed when no auction type is set!")
719705 }
720706
721707
722708
723709 @Callable(aF)
724-func updateTags (cM,N,aC) = {
710+func updateTags (cJ,N,aC) = {
725711 let L = toString(addressFromPublicKey(aF.callerPublicKey))
726712 if (!(containsElement(i, L)))
727713 then throw("no")
728714 else if ((size(split(aC, ",")) > 5))
729715 then throw("5 tags max.")
730716 else {
731- let cN = D(af(cM, N), "No tags created with this key, so can't update!")
732- if ((aC == cN))
717+ let cK = D(af(cJ, N), "No tags created with this key, so can't update!")
718+ if ((aC == cK))
733719 then throw("Tags are the same as old tags!")
734- else [StringEntry(af(cM, N), aC)]
720+ else [StringEntry(af(cJ, N), aC)]
735721 }
736722 }
737723
738724
739725
740726 @Callable(aF)
741-func deleteEntry (cO) = {
727+func deleteEntry (cL) = {
742728 let L = toString(addressFromPublicKey(aF.callerPublicKey))
743729 if (!(containsElement(i, L)))
744730 then throw("no")
745- else [DeleteEntry(cO)]
731+ else [DeleteEntry(cL)]
746732 }
747733
748734
749735
750736 @Callable(aF)
751-func setBid (N,be) = {
752- let cA = C(Y(be, N))
753- if ((cA == y))
754- then bO(aF, N, be)
755- else if ((cA == z))
756- then bS(aF, N, be)
757- else throw((("Unknown auction type :" + cA) + ", please contact the admins"))
737+func setBid (N,bd) = {
738+ let cz = C(Y(bd, N))
739+ if ((cz == y))
740+ then bO(aF, N, bd)
741+ else if ((cz == z))
742+ then bS(aF, N, bd)
743+ else throw((("Unknown auction type :" + cz) + ", please contact the admins"))
758744 }
759745
760746
761747
762748 @Callable(aF)
763-func acceptBid (N,be,V,bn) = {
764- let cA = C(Y(be, N))
765- if ((cA == y))
766- then bY(aF, N, be, V, bn)
767- else if ((cA == z))
768- then cc(aF, N, be, V, bn)
769- else throw((("Unknown auction type :" + cA) + ", please contact the admins"))
749+func acceptBid (N,bd,V,bm) = {
750+ let cz = C(Y(bd, N))
751+ if ((cz == y))
752+ then bY(aF, N, bd, V, bm)
753+ else if ((cz == z))
754+ then cc(aF, N, bd, V, bm)
755+ else throw((("Unknown auction type :" + cz) + ", please contact the admins"))
770756 }
771757
772758
773759
774760 @Callable(aF)
775-func cancelBid (N,be,V) = {
776- let cA = C(Y(be, N))
777- if ((cA == y))
778- then cg(aF, N, be, V)
779- else cj(aF, N, be, V)
761+func cancelBid (N,bd,V) = {
762+ let cz = C(Y(bd, N))
763+ if ((cz == y))
764+ then cg(aF, N, bd, V)
765+ else cj(aF, N, bd, V)
780766 }
781767
782768
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = false
55
66 let b = "oracleKey"
77
88 func c (d) = {
99 let e = getString(this, d)
1010 if ($isInstanceOf(e, "String"))
1111 then {
1212 let f = e
1313 f
1414 }
1515 else ""
1616 }
1717
1818
1919 let g = c(b)
2020
2121 let h = value(addressFromString(g))
2222
2323 let i = [getString(h, "owner1"), getString(h, "owner2")]
2424
2525 let j = valueOrErrorMessage(getString(h, "collectionsDapp"), "collectionDapp not found")
2626
2727 let k = valueOrErrorMessage(getString(h, "feeReceiver"), "feeReceiver not found")
2828
2929 let l = valueOrErrorMessage(getString(h, "certDapp"), "certDapp not found")
3030
3131 let m = valueOrErrorMessage(getString(h, "feeDapp"), "feeDapp not found")
3232
3333 let n = value(addressFromString(valueOrErrorMessage(getString(h, "userDapp"), "userdapp not found")))
3434
3535 let o = addressFromString(valueOrErrorMessage(getString(h, "stakeDapp"), "sconexDapp not found"))
3636
3737 let p = fromBase58String(getStringValue(h, "USDNAssetId"))
3838
3939 let q = fromBase58String(getStringValue(h, "SconexAssetId"))
4040
4141 let r = ["IMAGE", "PDF", "VIDEO"]
4242
4343 let s = ["PDF"]
4444
4545 let t = valueOrElse(getBoolean(n, "conf_dapp_is_running"), true)
4646
4747 let u = valueOrElse(getString(n, "conf_maintenance_msg"), "")
4848
4949 let v = "SUSPENDED"
5050
5151 let w = "REMOVED"
5252
5353 let x = "UNREGISTERED"
5454
5555 let y = "BIDTYPE"
5656
5757 let z = "TRADITIONAL"
5858
5959 let A = "DIRECT"
6060
6161 func B (d) = valueOrElse(getString(n, d), "")
6262
6363
6464 func C (d) = valueOrElse(getString(this, d), "")
6565
6666
6767 func D (d,E) = valueOrErrorMessage(getString(this, d), E)
6868
6969
7070 func F (d) = valueOrErrorMessage(getInteger(h, d), "Integer undefine or 0 in oracle")
7171
7272
7373 func G (d) = valueOrElse(getInteger(this, d), 0)
7474
7575
7676 func H (d) = valueOrElse(getBoolean(this, d), false)
7777
7878
7979 func I (J) = (size(J) == 64)
8080
8181
8282 func K (L) = ("user_status_" + L)
8383
8484
8585 func M (L,N) = ((("art_date_" + N) + "_") + L)
8686
8787
8888 func O (L,N) = ((("art_name_" + N) + "_") + L)
8989
9090
9191 func P (L,N) = ((("art_desc_" + N) + "_") + L)
9292
9393
9494 func Q (L,N) = ((("art_display_cid_" + N) + "_") + L)
9595
9696
9797 func R (L,N) = ((("art_preview_cid_" + N) + "_") + L)
9898
9999
100100 func S (L,N) = ((("art_maxmint_" + N) + "_") + L)
101101
102102
103103 func T (N) = ("art_highestBidBidId_" + N)
104104
105105
106106 func U (V) = ("bid_" + V)
107107
108108
109109 func W (L,N) = ((("art_duration_" + N) + "_") + L)
110110
111111
112112 func X (L,N) = ((("art_endheight_" + N) + "_") + L)
113113
114114
115115 func Y (L,N) = ((("art_auctiontype_" + N) + "_") + L)
116116
117117
118118 func Z (L,N) = ((("art_issued_" + N) + "_") + L)
119119
120120
121121 func aa (ab) = ("nft_issued_" + ab)
122122
123123
124124 func ac (ab) = ("nft_artId_" + ab)
125125
126126
127127 func ad (L,N) = ((("art_onsale_" + N) + "_") + L)
128128
129129
130130 func ae (L,N) = ((("art_entitlement_" + N) + "_") + L)
131131
132132
133133 func af (L,N) = ((("art_tags_" + N) + "_") + L)
134134
135135
136136 func ag (L,N) = ((("art_type_" + N) + "_") + L)
137137
138138
139139 func ah (L,N) = ((("art_price_" + N) + "_") + L)
140140
141141
142142 func ai (L,N) = ((("art_assetAccepted_" + N) + "_") + L)
143143
144144
145145 func aj (L,ak) = ((("get_hashbytxidaddr_" + ak) + "_") + L)
146146
147147
148148 func al (am) = ("get_owner_by_hash_" + am)
149149
150150
151151 func an (am,L) = ("get_txid_by_hash_owner_" + toBase58String(sha256_16Kb(toBytes((am + L)))))
152152
153153
154154 func ao (L,N) = ((("collection_" + N) + "_") + L)
155155
156156
157157 let ap = F(("min_" + toBase58String(p)))
158158
159159 let aq = F(("fee_" + toBase58String(q)))
160160
161161 func ar (V) = valueOrElse(G(U(V)), 0)
162162
163163
164164 func as (N) = {
165165 let V = C(T(N))
166166 ar(V)
167167 }
168168
169169
170170 func at (au,av) = if ((size(au) == 0))
171171 then throw("Field cannot be is empty")
172172 else if ((size(au) > av))
173173 then throw((au + " is too long"))
174174 else true
175175
176176
177177 func aw (L) = {
178178 let ax = valueOrElse(getString(n, K(L)), x)
179179 if ((ax == x))
180180 then "Register this account first with 'Account' tab"
181181 else if ((ax == v))
182182 then "Account suspended"
183183 else if ((ax == w))
184184 then "Account removed"
185185 else ""
186186 }
187187
188188
189189 func ay (L,az,aA,aB,aC) = {
190190 let aD = aw(L)
191191 if ((aD != ""))
192192 then throw(aD)
193193 else if ((size(az) == 0))
194194 then throw("Display CID cannot be empty")
195195 else if ((size(az) != 46))
196196 then throw("This doesn't seem a valid CID!")
197197 else if (!(at(aA, 100)))
198198 then throw("100 Char. max name")
199199 else if (!(at(aB, 1000)))
200200 then throw("1000 Char. max description")
201201 else if ((size(split(aC, ",")) > 5))
202202 then throw("5 tags max.")
203203 else ""
204204 }
205205
206206
207-func aE (aF) = if ((size(aF.payments) == 0))
207+func aE (aF,aG) = if ((size(aF.payments) == 0))
208208 then throw("No payment attached")
209209 else {
210- let aG = value(aF.payments[0])
211- let aH = value(aG.amount)
212- $Tuple2(aG, aH)
210+ let aH = value(aF.payments[aG])
211+ let aI = value(aH.amount)
212+ $Tuple2(aH, aI)
213213 }
214214
215215
216-func aI (aF) = {
217- let aJ = aE(aF)
218- let aG = aJ._1
219- let aH = aJ._2
220- let aK = if (if (isDefined(aG.assetId))
221- then (aG.assetId == q)
222- else false)
223- then aG.assetId
224- else throw((("Only " + toBase58String(q)) + " token accepted as transaction fee"))
225- if ((aH != aq))
226- then throw(((("Payment amount should be " + toString(aq)) + " but is: ") + toString(aH)))
227- else $Tuple2(aH, aK)
228- }
229-
230-
231-func aL (aM,N) = {
232- let e = getInteger(this, Z(aM, N))
216+func aJ (aK,N) = {
217+ let e = getInteger(this, Z(aK, N))
233218 if ($isInstanceOf(e, "Int"))
234219 then {
235220 let f = e
236221 if ((f != 0))
237222 then true
238223 else false
239224 }
240225 else false
241226 }
242227
243228
244-func aN (aF,aO,aP) = {
245- let aQ = aE(aF)
246- let aG = aQ._1
247- let aH = aQ._2
248- let aK = if (!(isDefined(aG.assetId)))
229+func aL (aF,aM,aN) = {
230+ let aO = aE(aF, 1)
231+ let aH = aO._1
232+ let aI = aO._2
233+ let aP = if (!(isDefined(aH.assetId)))
249234 then throw("Asset Id is not defined")
250- else if (if ((size(aO) > 0))
251- then (toBase58String(value(aG.assetId)) == aO)
235+ else if (if ((size(aM) > 0))
236+ then (toBase58String(value(aH.assetId)) == aM)
252237 else false)
253- then aG.assetId
238+ then aH.assetId
254239 else throw("Wrong asset id")
255- if ((aP != aH))
256- then throw(((("Payment don't match " + toString(aP)) + " ") + toString(aH)))
257- else $Tuple2(aH, aK)
240+ if ((aN != aI))
241+ then throw(((("Payment don't match " + toString(aN)) + " ") + toString(aI)))
242+ else $Tuple2(aI, aP)
258243 }
259244
260245
261-func aR (aK) = if ((aK != toBase58String(p)))
246+func aQ (aP) = if ((aP != toBase58String(p)))
262247 then throw("Only USDN accepted")
263248 else true
264249
265250
266-func aS (aK,aT) = {
267- let aU = ap
268- if (if ((aU > aT))
251+func aR (aP,aS) = {
252+ let aT = ap
253+ if (if ((aT > aS))
269254 then true
270- else (aK != toBase58String(p)))
271- then throw(("Wrong minimum sell price " + toString(aU)))
255+ else (aP != toBase58String(p)))
256+ then throw(("Wrong minimum sell price " + toString(aT)))
272257 else true
273258 }
274259
275260
276-func aV (aK) = if ((aK == "WAVES"))
261+func aU (aP) = if ((aP == "WAVES"))
277262 then throw("Only USDN is accepted!")
278- else fromBase58String(aK)
263+ else fromBase58String(aP)
279264
280265
281-func aW (aX) = {
282- let aY = C((aX + "_OPEN"))
283- if ((aY == ""))
266+func aV (aW) = {
267+ let aX = C((aW + "_OPEN"))
268+ if ((aX == ""))
284269 then throw("Bid not found")
285270 else {
286- let aZ = split(aY, "_")
287- let ba = parseIntValue(aZ[1])
288- let bb = aV(aZ[0])
289- if ((0 >= ba))
271+ let aY = split(aX, "_")
272+ let aZ = parseIntValue(aY[1])
273+ let ba = aU(aY[0])
274+ if ((0 >= aZ))
290275 then throw("Wrong amount")
291- else $Tuple2(ba, bb)
276+ else $Tuple2(aZ, ba)
292277 }
293278 }
294279
295280
296-func bc (aF) = if (!(t))
281+func bb (aF) = if (!(t))
297282 then throw(u)
298283 else $Tuple3(toBase58String(aF.transactionId), toBase58String(aF.caller.bytes), lastBlock.timestamp)
299284
300285
301-func bd (aF,be,N,bf) = {
302- let bg = (toBase58String(aF.caller.bytes) == be)
303- let bh = G("total_nft_issued")
304- let bi = C(O(be, N))
305- if ((bi == ""))
286+func bc (aF,bd,N,be) = {
287+ let bf = (toBase58String(aF.caller.bytes) == bd)
288+ let bg = G("total_nft_issued")
289+ let bh = C(O(bd, N))
290+ if ((bh == ""))
306291 then throw("Art doesn't exist")
307292 else {
308- let bj = H(ad(be, N))
309- let bk = G(Z(be, N))
310- let aP = valueOrElse(G(ah(be, N)), ap)
311- let aO = if (bg)
293+ let bi = H(ad(bd, N))
294+ let bj = G(Z(bd, N))
295+ let aN = valueOrElse(G(ah(bd, N)), ap)
296+ let aM = if (bf)
312297 then toBase58String(p)
313- else C(ai(be, N))
314- let bl = G(S(be, N))
315- if (if (if (!(bf))
316- then !(bg)
298+ else C(ai(bd, N))
299+ let bk = G(S(bd, N))
300+ if (if (if (!(be))
301+ then !(bf)
317302 else false)
318- then if (if ((0 >= aP))
303+ then if (if ((0 >= aN))
319304 then true
320- else !(bj))
305+ else !(bi))
321306 then true
322- else (0 >= bl)
307+ else (0 >= bk)
323308 else false)
324309 then throw("Art not for sale")
325- else if (if (if (!(bf))
326- then bg
310+ else if (if (if (!(be))
311+ then bf
327312 else false)
328- then (0 >= bl)
313+ then (0 >= bk)
329314 else false)
330315 then throw("Max issuable not set")
331- else $Tuple7(bh, bi, bk, aP, aO, bl, bj)
316+ else $Tuple7(bg, bh, bj, aN, aM, bk, bi)
332317 }
333318 }
334319
335320
336-func bm (aF,L,be,N,bn,V,aO,aP,bf) = {
337- let aD = aw(be)
338- if (if (bf)
321+func bl (aF,L,bd,N,bm,V,aM,aN,be) = {
322+ let aD = aw(bd)
323+ if (if (be)
339324 then (aD != "")
340325 else false)
341326 then throw(aD)
342327 else {
343- let aX = ((((((("bid_" + N) + "_") + be) + "_") + bn) + "_") + V)
344- let bo = if (bf)
345- then aW(aX)
346- else aN(aF, aO, aP)
347- let aH = bo._1
348- let aK = bo._2
349- $Tuple3(aX, aH, aK)
328+ let aW = ((((((("bid_" + N) + "_") + bd) + "_") + bm) + "_") + V)
329+ let bn = if (be)
330+ then aV(aW)
331+ else aL(aF, aM, aN)
332+ let aI = bn._1
333+ let aP = bn._2
334+ $Tuple3(aW, aI, aP)
350335 }
351336 }
352337
353338
354-func bp (be,N,bi,bq,bl,bh,L,bn,V,aF,bj) = {
355- let br = ((((((((("Creator: " + be) + ",ArtID: ") + N) + ",Artwork name: ") + bi) + ",Issue: ") + toString(bq)) + "/") + toString(bl))
356- let bs = if (if ((bq == bl))
339+func bo (bd,N,bh,bp,bk,bg,L,bm,V,aF,bi) = {
340+ let bq = ((((((((("Creator: " + bd) + ",ArtID: ") + N) + ",Artwork name: ") + bh) + ",Issue: ") + toString(bp)) + "/") + toString(bk))
341+ let br = if (if ((bp == bk))
357342 then true
358- else !(bj))
343+ else !(bi))
359344 then false
360345 else true
361- let bt = if ((bn != ""))
362- then addressFromStringValue(bn)
346+ let bs = if ((bm != ""))
347+ then addressFromStringValue(bm)
363348 else aF.caller
364- $Tuple3(bs, bt, br)
349+ $Tuple3(br, bs, bq)
365350 }
366351
367352
368-func bu (aK,aX,bv) = {
369- let bw = if (!(isDefined(aK)))
353+func bt (aP,aW,bu) = {
354+ let bv = if (!(isDefined(aP)))
370355 then throw("Only USDN is accepted")
371- else toBase58String(value(aK))
372- let aY = C((aX + "_OPEN"))
373- let bx = DeleteEntry((aX + "_OPEN"))
374- let by = StringEntry((aX + "_CLOSED"), ((aY + "_") + toString(bv)))
375- $Tuple3(bw, bx, by)
356+ else toBase58String(value(aP))
357+ let aX = C((aW + "_OPEN"))
358+ let bw = DeleteEntry((aW + "_OPEN"))
359+ let bx = StringEntry((aW + "_CLOSED"), ((aX + "_") + toString(bu)))
360+ $Tuple3(bv, bw, bx)
376361 }
377362
378363
379-func bz (aF,N,be,V,bn,bf) = {
380- let bA = bc(aF)
381- let bB = bA._1
382- let L = bA._2
383- let bv = bA._3
384- let bC = bd(aF, be, N, bf)
385- let bh = bC._1
386- let bi = bC._2
387- let bk = bC._3
388- let aP = bC._4
389- let aO = bC._5
390- let bl = bC._6
391- let bj = bC._7
392- let aY = bm(aF, L, be, N, bn, V, aO, aP, bf)
393- let aX = aY._1
394- let aH = aY._2
395- let aK = aY._3
396- let bq = if ((bk == bl))
364+func by (aF,N,bd,V,bm,be) = {
365+ let bz = bb(aF)
366+ let bA = bz._1
367+ let L = bz._2
368+ let bu = bz._3
369+ let bB = bc(aF, bd, N, be)
370+ let bg = bB._1
371+ let bh = bB._2
372+ let bj = bB._3
373+ let aN = bB._4
374+ let aM = bB._5
375+ let bk = bB._6
376+ let bi = bB._7
377+ let aX = bl(aF, L, bd, N, bm, V, aM, aN, be)
378+ let aW = aX._1
379+ let aI = aX._2
380+ let aP = aX._3
381+ let bp = if ((bj == bk))
397382 then throw("Max items sold")
398- else (bk + 1)
399- let bD = bp(be, N, bi, bq, bl, bh, L, bn, V, aF, bj)
400- let bs = bD._1
401- let bt = bD._2
402- let br = bD._3
403- let bE = invoke(this, "mintNft", [bh, br, toString(bt)], nil)
404- if ((bE == bE))
383+ else (bj + 1)
384+ let bC = bo(bd, N, bh, bp, bk, bg, L, bm, V, aF, bi)
385+ let br = bC._1
386+ let bs = bC._2
387+ let bq = bC._3
388+ let bD = invoke(this, "mintNft", [bg, bq, toString(bs)], nil)
389+ if ((bD == bD))
405390 then {
406- let bF = {
407- let e = bE
391+ let bE = {
392+ let e = bD
408393 if ($isInstanceOf(e, "String"))
409394 then {
410- let bG = e
411- bG
395+ let bF = e
396+ bF
412397 }
413398 else throw("Incorrect invoke result")
414399 }
415- let bH = bu(aK, aX, bv)
416- let bw = bH._1
417- let bx = bH._2
418- let by = bH._3
419- let bI = ((((((("art_sold_" + toString(bq)) + "_of_") + toString(bl)) + "_") + N) + "_") + be)
420- let bJ = if (!(bf))
421- then ((((((((((L + "_") + toString(bv)) + "_") + bB) + "_") + toString(aP)) + "_") + aO) + "_") + bF)
422- else ((((((((((toString(bt) + "_") + toString(bv)) + "_") + bB) + "_") + toString(aH)) + "_") + bw) + "_") + bF)
423- let bK = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "payFee", [N, be], [AttachedPayment(aK, aH)])
424- if ((bK == bK))
400+ let bG = bt(aP, aW, bu)
401+ let bv = bG._1
402+ let bw = bG._2
403+ let bx = bG._3
404+ let bH = ((((((("art_sold_" + toString(bp)) + "_of_") + toString(bk)) + "_") + N) + "_") + bd)
405+ let bI = if (!(be))
406+ then ((((((((((L + "_") + toString(bu)) + "_") + bA) + "_") + toString(aN)) + "_") + aM) + "_") + bE)
407+ else ((((((((((toString(bs) + "_") + toString(bu)) + "_") + bA) + "_") + toString(aI)) + "_") + bv) + "_") + bE)
408+ let bJ = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "payFee", [N, bd], [AttachedPayment(aP, aI)])
409+ if ((bJ == bJ))
425410 then {
426- let bL = StringEntry(bI, bJ)
427- let bM = [IntegerEntry(Z(be, N), bq), StringEntry(("nft_" + bF), bI), IntegerEntry("total_nft_issued", (bh + 1)), BooleanEntry(ad(be, N), bs), StringEntry(aa(bF), be), StringEntry(ac(bF), N)]
428- let bN = invoke(addressFromStringValue(l), "createCert", [toString(bt), bF, be], nil)
429- if ((bN == bN))
430- then if (bf)
431- then (((bM :+ bL) :+ by) :+ bx)
432- else bL :: bM
411+ let bK = StringEntry(bH, bI)
412+ let bL = [IntegerEntry(Z(bd, N), bp), StringEntry(("nft_" + bE), bH), IntegerEntry("total_nft_issued", (bg + 1)), BooleanEntry(ad(bd, N), br), StringEntry(aa(bE), bd), StringEntry(ac(bE), N)]
413+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[0]])
414+ if ((bM == bM))
415+ then {
416+ let bN = invoke(addressFromStringValue(l), "createCert", [toString(bs), bE, bd], nil)
417+ if ((bN == bN))
418+ then if (be)
419+ then (((bL :+ bK) :+ bx) :+ bw)
420+ else bK :: bL
421+ else throw("Strict value is not equal to itself.")
422+ }
433423 else throw("Strict value is not equal to itself.")
434424 }
435425 else throw("Strict value is not equal to itself.")
436426 }
437427 else throw("Strict value is not equal to itself.")
438428 }
439429
440430
441-func bO (aF,N,be) = {
442- let bP = bc(aF)
443- let bB = bP._1
431+func bO (aF,N,bd) = {
432+ let bP = bb(aF)
433+ let bA = bP._1
444434 let L = bP._2
445- let bv = bP._3
446- let bQ = aE(aF)
447- let aG = bQ._1
448- let aH = bQ._2
449- let aK = if (!(isDefined(aG.assetId)))
435+ let bu = bP._3
436+ let bQ = aE(aF, 0)
437+ let aH = bQ._1
438+ let aI = bQ._2
439+ let aP = if (!(isDefined(aH.assetId)))
450440 then throw("Only USDN is accepted!")
451- else toBase58String(value(aG.assetId))
441+ else toBase58String(value(aH.assetId))
452442 let bR = G(("current_bidamount_" + N))
453- if (!(aR(aK)))
443+ if (!(aQ(aP)))
454444 then throw("asset not accepted")
455445 else {
456- let bk = G(Z(be, N))
457- let bl = G(S(be, N))
458- if ((0 >= bl))
446+ let bj = G(Z(bd, N))
447+ let bk = G(S(bd, N))
448+ if ((0 >= bk))
459449 then throw("No max edition set for this artwork")
460- else if ((bk >= bl))
450+ else if ((bj >= bk))
461451 then throw("Sold out, you cannot bid")
462- else [StringEntry((((((((("bid_" + N) + "_") + be) + "_") + L) + "_") + bB) + "_OPEN"), ((((aK + "_") + toString(aH)) + "_") + toString(bv))), IntegerEntry(("current_bidamount_" + N), (bR + 1))]
452+ else {
453+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[1]])
454+ if ((bM == bM))
455+ then [StringEntry((((((((("bid_" + N) + "_") + bd) + "_") + L) + "_") + bA) + "_OPEN"), ((((aP + "_") + toString(aI)) + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + N), (bR + 1))]
456+ else throw("Strict value is not equal to itself.")
457+ }
463458 }
464459 }
465460
466461
467-func bS (aF,N,be) = {
468- let bT = G(X(be, N))
462+func bS (aF,N,bd) = {
463+ let bT = G(X(bd, N))
469464 let bU = as(N)
470465 if ((height > bT))
471466 then throw("This auction is finished already!")
472467 else {
473- let bV = bc(aF)
474- let bB = bV._1
468+ let bV = bb(aF)
469+ let bA = bV._1
475470 let L = bV._2
476- let bv = bV._3
477- let bW = aE(aF)
478- let aG = bW._1
479- let aH = bW._2
480- if ((bU >= aH))
471+ let bu = bV._3
472+ let bW = aE(aF, 0)
473+ let aH = bW._1
474+ let aI = bW._2
475+ if ((bU >= aI))
481476 then throw(("Please place a bid higher than: " + toString(bU)))
482477 else {
483- let aK = if (!(isDefined(aG.assetId)))
478+ let aP = if (!(isDefined(aH.assetId)))
484479 then throw("Only USDN is accepted!")
485- else toBase58String(value(aG.assetId))
480+ else toBase58String(value(aH.assetId))
486481 let bR = G(("current_bidamount_" + N))
487- let bX = valueOrElse(G(ah(be, N)), ap)
488- if (!(aR(aK)))
482+ let bX = valueOrElse(G(ah(bd, N)), ap)
483+ if (!(aQ(aP)))
489484 then throw("asset not accepted")
490- else if ((bX > aH))
485+ else if ((bX > aI))
491486 then throw("Bid is below min price!")
492487 else {
493- let bk = G(Z(be, N))
494- let bl = G(S(be, N))
495- if ((0 >= bl))
488+ let bj = G(Z(bd, N))
489+ let bk = G(S(bd, N))
490+ if ((0 >= bk))
496491 then throw("No max edition set for this artwork")
497- else if ((bk >= bl))
492+ else if ((bj >= bk))
498493 then throw("Sold out, you cannot bid")
499- else [StringEntry((((((((("bid_" + N) + "_") + be) + "_") + L) + "_") + bB) + "_OPEN"), ((((aK + "_") + toString(aH)) + "_") + toString(bv))), IntegerEntry(("current_bidamount_" + N), (bR + 1)), StringEntry(T(N), toBase58String(aF.transactionId)), IntegerEntry(U(toBase58String(aF.transactionId)), aH)]
494+ else {
495+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[1]])
496+ if ((bM == bM))
497+ then [StringEntry((((((((("bid_" + N) + "_") + bd) + "_") + L) + "_") + bA) + "_OPEN"), ((((aP + "_") + toString(aI)) + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + N), (bR + 1)), StringEntry(T(N), toBase58String(aF.transactionId)), IntegerEntry(U(toBase58String(aF.transactionId)), aI)]
498+ else throw("Strict value is not equal to itself.")
499+ }
500500 }
501501 }
502502 }
503503 }
504504
505505
506-func bY (aF,N,be,V,bn) = {
506+func bY (aF,N,bd,V,bm) = {
507507 let L = toBase58String(aF.caller.bytes)
508- if ((L != be))
508+ if ((L != bd))
509509 then throw("You cannot do this action")
510- else bz(aF, N, be, V, bn, true)
510+ else by(aF, N, bd, V, bm, true)
511511 }
512512
513513
514-func bZ (N,be) = {
515- let bk = G(Z(be, N))
516- let bl = G(S(be, N))
517- let ca = G(X(be, N))
518- let cb = G(W(be, N))
514+func bZ (N,bd) = {
515+ let bj = G(Z(bd, N))
516+ let bk = G(S(bd, N))
517+ let ca = G(X(bd, N))
518+ let cb = G(W(bd, N))
519519 let bT = (cb + height)
520520 if ((ca >= height))
521521 then throw("Previous auction isn't completed yet")
522- else if ((bk == bl))
522+ else if ((bj == bk))
523523 then throw("Can't restart auction, max amount sold")
524- else [IntegerEntry(X(be, N), bT), DeleteEntry(T(N))]
524+ else [IntegerEntry(X(bd, N), bT), DeleteEntry(T(N))]
525525 }
526526
527527
528-func cc (aF,N,be,V,bn) = {
529- let bT = G(X(be, N))
528+func cc (aF,N,bd,V,bm) = {
529+ let bT = G(X(bd, N))
530530 let cd = C(T(N))
531531 if ((bT >= height))
532532 then throw("This auction is not yet finished!")
533533 else if ((V != cd))
534534 then throw("This is not the winning bid!")
535535 else {
536- let ce = bz(aF, N, be, V, bn, true)
537- let cf = bZ(N, be)
536+ let ce = by(aF, N, bd, V, bm, true)
537+ let cf = bZ(N, bd)
538538 (cf ++ ce)
539539 }
540540 }
541541
542542
543-func cg (aF,N,be,V) = {
544- let ch = bc(aF)
545- let bB = ch._1
543+func cg (aF,N,bd,V) = {
544+ let ch = bb(aF)
545+ let bA = ch._1
546546 let L = ch._2
547- let bv = ch._3
547+ let bu = ch._3
548548 let bR = G(("current_bidamount_" + N))
549- let aX = ((((((("bid_" + N) + "_") + be) + "_") + L) + "_") + V)
550- let aY = D((aX + "_OPEN"), "Bid not found")
551- let aZ = split(aY, "_")
552- let aK = aV(aZ[0])
549+ let aW = ((((((("bid_" + N) + "_") + bd) + "_") + L) + "_") + V)
550+ let aX = D((aW + "_OPEN"), "Bid not found")
551+ let aY = split(aX, "_")
552+ let aP = aU(aY[0])
553553 let ci = "CANCELED"
554-[DeleteEntry((aX + "_OPEN")), StringEntry(((aX + "_") + ci), ((aY + "_") + toString(bv))), IntegerEntry(("current_bidamount_" + N), (bR - 1)), ScriptTransfer(Address(fromBase58String(L)), parseIntValue(aZ[1]), aK)]
554+[DeleteEntry((aW + "_OPEN")), StringEntry(((aW + "_") + ci), ((aX + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + N), (bR - 1)), ScriptTransfer(Address(fromBase58String(L)), parseIntValue(aY[1]), aP)]
555555 }
556556
557557
558-func cj (aF,N,be,V) = {
559- let ch = bc(aF)
560- let bB = ch._1
558+func cj (aF,N,bd,V) = {
559+ let ch = bb(aF)
560+ let bA = ch._1
561561 let L = ch._2
562- let bv = ch._3
562+ let bu = ch._3
563563 let bR = G(("current_bidamount_" + N))
564- let aX = ((((((("bid_" + N) + "_") + be) + "_") + L) + "_") + V)
565- let aY = D((aX + "_OPEN"), "Bid not found")
566- let aZ = split(aY, "_")
567- let aK = aV(aZ[0])
564+ let aW = ((((((("bid_" + N) + "_") + bd) + "_") + L) + "_") + V)
565+ let aX = D((aW + "_OPEN"), "Bid not found")
566+ let aY = split(aX, "_")
567+ let aP = aU(aY[0])
568568 let ci = "CANCELED"
569- let ba = parseIntValue(aZ[1])
569+ let aZ = parseIntValue(aY[1])
570570 let cd = C(T(N))
571571 if ((V == cd))
572572 then throw("You can't cancel the highest bid!")
573- else [DeleteEntry((aX + "_OPEN")), StringEntry(((aX + "_") + ci), ((aY + "_") + toString(bv))), IntegerEntry(("current_bidamount_" + N), (bR - 1)), ScriptTransfer(Address(fromBase58String(L)), ba, aK)]
573+ else [DeleteEntry((aW + "_OPEN")), StringEntry(((aW + "_") + ci), ((aX + "_") + toString(bu))), IntegerEntry(("current_bidamount_" + N), (bR - 1)), ScriptTransfer(Address(fromBase58String(L)), aZ, aP)]
574574 }
575575
576576
577577 @Callable(aF)
578578 func initDapp (ck) = if ((aF.caller != this))
579579 then throw("You cannot do this action")
580580 else if ((g != ""))
581581 then throw("oracle already set, you can't override!")
582582 else [StringEntry(b, ck)]
583583
584584
585585
586586 @Callable(aF)
587587 func restartAuctionManual (N) = if ((as(N) != 0))
588588 then throw("Please accept the highest bid!")
589589 else bZ(N, toBase58String(aF.caller.bytes))
590590
591591
592592
593593 @Callable(aF)
594-func mintNft (bh,br,bt) = if ((aF.caller != this))
594+func mintNft (bg,bq,bs) = if ((aF.caller != this))
595595 then throw("Only the dApp can mint NFT's")
596596 else {
597- let cl = Address(fromBase58String(bt))
598- let cm = Issue(("SCONEX_" + toString((bh + 1))), br, 1, 0, false)
599- let bF = calculateAssetId(cm)
600- $Tuple2([cm, ScriptTransfer(cl, 1, bF)], toBase58String(bF))
597+ let cl = Address(fromBase58String(bs))
598+ let cm = Issue(("SCONEX_" + toString((bg + 1))), bq, 1, 0, false)
599+ let bE = calculateAssetId(cm)
600+ $Tuple2([cm, ScriptTransfer(cl, 1, bE)], toBase58String(bE))
601601 }
602602
603603
604604
605605 @Callable(aF)
606606 func addArtwork (am,aA,aB,aC,cn,az,co,cp,cq,cr) = {
607- let cs = bc(aF)
607+ let cs = bb(aF)
608608 let N = cs._1
609609 let L = cs._2
610- let bv = cs._3
610+ let bu = cs._3
611611 if (!(containsElement(r, cn)))
612612 then throw("Unknown type")
613613 else {
614614 let ct = ay(L, az, aA, aB, aC)
615615 if ((ct != ""))
616616 then throw("Something went wrong!")
617617 else {
618- let cu = aI(aF)
619- let aH = cu._1
620- let aK = cu._2
621- if (!(isDefined(aH)))
622- then throw("Something went wrong")
623- else {
624- let cv = if (containsElement(s, cn))
618+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[0]])
619+ if ((bM == bM))
620+ then {
621+ let cu = if (containsElement(s, cn))
625622 then [StringEntry(R(L, N), cp)]
626623 else nil
627- let bK = invoke(valueOrErrorMessage(o, "stakeDapp not found"), "topUpReward", nil, [AttachedPayment(aK, aH)])
628- if ((bK == bK))
624+ let cv = invoke(valueOrErrorMessage(addressFromString(j), (j + " not found")), "collectionProcess", [cq, cr, L], nil)
625+ if ((cv == cv))
629626 then {
630- let cw = invoke(valueOrErrorMessage(addressFromString(j), (j + " not found")), "collectionProcess", [cq, cr, L], nil)
631- if ((cw == cw))
632- then {
633- let cx = C(an(am, L))
627+ let cw = C(an(am, L))
628+ if ((cw != ""))
629+ then throw("You already added it")
630+ else {
631+ let cx = C(al(am))
634632 if ((cx != ""))
635- then throw("You already added it")
636- else {
637- let cy = C(al(am))
638- if ((cy != ""))
639- then throw("This hash is already registered")
640- else (cv ++ [StringEntry(al(am), L), StringEntry(an(am, L), N), IntegerEntry(M(L, N), bv), StringEntry(O(L, N), aA), StringEntry(P(L, N), aB), StringEntry(Q(L, N), az), StringEntry(ag(L, N), cn), StringEntry(af(L, N), aC), IntegerEntry(S(L, N), 0), IntegerEntry(Z(L, N), 0), BooleanEntry(ad(L, N), false), StringEntry(aj(L, N), am), StringEntry(ae(L, N), co)])
641- }
633+ then throw("This hash is already registered")
634+ else (cu ++ [StringEntry(al(am), L), StringEntry(an(am, L), N), IntegerEntry(M(L, N), bu), StringEntry(O(L, N), aA), StringEntry(P(L, N), aB), StringEntry(Q(L, N), az), StringEntry(ag(L, N), cn), StringEntry(af(L, N), aC), IntegerEntry(S(L, N), 0), IntegerEntry(Z(L, N), 0), BooleanEntry(ad(L, N), false), StringEntry(aj(L, N), am), StringEntry(ae(L, N), co)])
642635 }
643- else throw("Strict value is not equal to itself.")
644636 }
645637 else throw("Strict value is not equal to itself.")
646638 }
639+ else throw("Strict value is not equal to itself.")
647640 }
648641 }
649642 }
650643
651644
652645
653646 @Callable(aF)
654-func sellArtwork (N,aT,cz,aK,cA,cb,cB,cC,cD,cE,cF,cG) = {
655- let cH = bc(aF)
656- let bB = cH._1
657- let L = cH._2
658- let bk = G(Z(L, N))
647+func sellArtwork (N,aS,cy,aP,cz,cb,cA,cB,cC,cD,cE,cF) = {
648+ let cG = bb(aF)
649+ let bA = cG._1
650+ let L = cG._2
651+ let bj = G(Z(L, N))
659652 let bR = G(("current_bidamount_" + N))
660- let cu = aI(aF)
661- let cI = cu._1
662- let cJ = cu._2
663- if (!(isDefined(cI)))
664- then throw("Something went wrong")
665- else {
666- let bK = invoke(valueOrErrorMessage(o, "stakeDapp not found"), "topUpReward", nil, [AttachedPayment(cJ, cI)])
667- if ((bK == bK))
668- then if (if ((bR > 0))
669- then true
670- else (bk > 0))
671- then throw("There are bids or items sold, you can not edit anything!")
672- else {
673- let bi = C(O(L, N))
674- if (!(containsElement([y, z, A], cA)))
675- then throw("We don't know this auction type")
676- else if ((bi == ""))
677- then throw("This art doesn't match your account")
678- else if (!(aR(aK)))
679- then throw("Something went wrong!")
680- else if (!(aS(aK, aT)))
681- then throw("Something went wrong!")
682- else {
683- let aD = aw(L)
684- if ((aD != ""))
685- then throw(aD)
686- else if ((cz > 10000))
687- then throw("10000 editions max per artwork")
688- else {
689- let bs = if ((aT > 0))
690- then (cz > 0)
691- else false
692- let cK = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "teamSplitFee", [N, k, "", "", 15, 0, 0], nil)
693- if ((cK == cK))
653+ let bM = invoke(valueOrErrorMessage(o, "this not found"), "validateAndProcessPayment", nil, [aF.payments[0]])
654+ if ((bM == bM))
655+ then if (if ((bR > 0))
656+ then true
657+ else (bj > 0))
658+ then throw("There are bids or items sold, you can not edit anything!")
659+ else {
660+ let bh = C(O(L, N))
661+ if (!(containsElement([y, z, A], cz)))
662+ then throw("We don't know this auction type")
663+ else if ((bh == ""))
664+ then throw("This art doesn't match your account")
665+ else if (!(aQ(aP)))
666+ then throw("Something went wrong!")
667+ else if (!(aR(aP, aS)))
668+ then throw("Something went wrong!")
669+ else {
670+ let aD = aw(L)
671+ if ((aD != ""))
672+ then throw(aD)
673+ else if ((cy > 10000))
674+ then throw("10000 editions max per artwork")
675+ else {
676+ let br = if ((aS > 0))
677+ then (cy > 0)
678+ else false
679+ let cH = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "teamSplitFee", [N, k, "", "", 15, 0, 0], nil)
680+ if ((cH == cH))
681+ then {
682+ let cI = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "creatorSplitFee", [N, cA, cB, cC, cD, cE, cF], nil)
683+ if ((cI == cI))
694684 then {
695- let cL = invoke(valueOrErrorMessage(addressFromString(m), (m + " not found")), "creatorSplitFee", [N, cB, cC, cD, cE, cF, cG], nil)
696- if ((cL == cL))
697- then {
698- let bT = (cb + height)
699-[BooleanEntry(ad(L, N), bs), IntegerEntry(ah(L, N), aT), IntegerEntry(S(L, N), cz), IntegerEntry(W(L, N), cb), IntegerEntry(X(L, N), bT), StringEntry(ai(L, N), aK), StringEntry(Y(L, N), cA)]
700- }
701- else throw("Strict value is not equal to itself.")
685+ let bT = (cb + height)
686+[BooleanEntry(ad(L, N), br), IntegerEntry(ah(L, N), aS), IntegerEntry(S(L, N), cy), IntegerEntry(W(L, N), cb), IntegerEntry(X(L, N), bT), StringEntry(ai(L, N), aP), StringEntry(Y(L, N), cz)]
702687 }
703688 else throw("Strict value is not equal to itself.")
704689 }
705- }
706- }
707- else throw("Strict value is not equal to itself.")
708- }
690+ else throw("Strict value is not equal to itself.")
691+ }
692+ }
693+ }
694+ else throw("Strict value is not equal to itself.")
709695 }
710696
711697
712698
713699 @Callable(aF)
714-func buyArtwork (N,be) = {
715- let cA = C(Y(be, N))
716- if ((cA == A))
717- then bz(aF, N, be, "", "", false)
700+func buyArtwork (N,bd) = {
701+ let cz = C(Y(bd, N))
702+ if ((cz == A))
703+ then by(aF, N, bd, "", "", false)
718704 else throw("Direct buy only allowed when no auction type is set!")
719705 }
720706
721707
722708
723709 @Callable(aF)
724-func updateTags (cM,N,aC) = {
710+func updateTags (cJ,N,aC) = {
725711 let L = toString(addressFromPublicKey(aF.callerPublicKey))
726712 if (!(containsElement(i, L)))
727713 then throw("no")
728714 else if ((size(split(aC, ",")) > 5))
729715 then throw("5 tags max.")
730716 else {
731- let cN = D(af(cM, N), "No tags created with this key, so can't update!")
732- if ((aC == cN))
717+ let cK = D(af(cJ, N), "No tags created with this key, so can't update!")
718+ if ((aC == cK))
733719 then throw("Tags are the same as old tags!")
734- else [StringEntry(af(cM, N), aC)]
720+ else [StringEntry(af(cJ, N), aC)]
735721 }
736722 }
737723
738724
739725
740726 @Callable(aF)
741-func deleteEntry (cO) = {
727+func deleteEntry (cL) = {
742728 let L = toString(addressFromPublicKey(aF.callerPublicKey))
743729 if (!(containsElement(i, L)))
744730 then throw("no")
745- else [DeleteEntry(cO)]
731+ else [DeleteEntry(cL)]
746732 }
747733
748734
749735
750736 @Callable(aF)
751-func setBid (N,be) = {
752- let cA = C(Y(be, N))
753- if ((cA == y))
754- then bO(aF, N, be)
755- else if ((cA == z))
756- then bS(aF, N, be)
757- else throw((("Unknown auction type :" + cA) + ", please contact the admins"))
737+func setBid (N,bd) = {
738+ let cz = C(Y(bd, N))
739+ if ((cz == y))
740+ then bO(aF, N, bd)
741+ else if ((cz == z))
742+ then bS(aF, N, bd)
743+ else throw((("Unknown auction type :" + cz) + ", please contact the admins"))
758744 }
759745
760746
761747
762748 @Callable(aF)
763-func acceptBid (N,be,V,bn) = {
764- let cA = C(Y(be, N))
765- if ((cA == y))
766- then bY(aF, N, be, V, bn)
767- else if ((cA == z))
768- then cc(aF, N, be, V, bn)
769- else throw((("Unknown auction type :" + cA) + ", please contact the admins"))
749+func acceptBid (N,bd,V,bm) = {
750+ let cz = C(Y(bd, N))
751+ if ((cz == y))
752+ then bY(aF, N, bd, V, bm)
753+ else if ((cz == z))
754+ then cc(aF, N, bd, V, bm)
755+ else throw((("Unknown auction type :" + cz) + ", please contact the admins"))
770756 }
771757
772758
773759
774760 @Callable(aF)
775-func cancelBid (N,be,V) = {
776- let cA = C(Y(be, N))
777- if ((cA == y))
778- then cg(aF, N, be, V)
779- else cj(aF, N, be, V)
761+func cancelBid (N,bd,V) = {
762+ let cz = C(Y(bd, N))
763+ if ((cz == y))
764+ then cg(aF, N, bd, V)
765+ else cj(aF, N, bd, V)
780766 }
781767
782768

github/deemru/w8io/026f985 
170.26 ms