tx · 56oFrd4ykCTG9ZJ55yactupJzJvxB2PYFtdpZQyoRh81

3Mxb9hg3VkxWWfcEPfniqSmk3iSQXkgeCVU:  -0.01800000 Waves

2022.10.27 06:53 [2290322] smart account 3Mxb9hg3VkxWWfcEPfniqSmk3iSQXkgeCVU > SELF 0.00000000 Waves

{ "type": 13, "id": "56oFrd4ykCTG9ZJ55yactupJzJvxB2PYFtdpZQyoRh81", "fee": 1800000, "feeAssetId": null, "timestamp": 1666842796806, "version": 2, "chainId": 84, "sender": "3Mxb9hg3VkxWWfcEPfniqSmk3iSQXkgeCVU", "senderPublicKey": "GZzJgGQU6QzA6LPQF8TWUqoDV2FS9ecA4BWmBusebnut", "proofs": [ "5n59rFvH7XsPWi5H8k2MeDLdT6EZ4vpmYAoSbKnZLpBYiD6QKgTYDeS55PspfowhbtRTERh9unHzNupuS8K5nE2x" ], "script": "base64:BgJkCAISBAoCCAgSCAoGCAgICAgIEgkKBwgICAgICAgSAwoBCBIECgIICBIGCgQICAgIEggKBggICAEBARIJCgcICAgIAQEBEgUKAwgIBBIECgIICBIFCgMICAgSBAoCCAgSAwoBCDMAB1ZFUlNJT04CBTEuMC4wAQ5nZXRTdHJpbmdCeUtleQEDa2V5CQELdmFsdWVPckVsc2UCCQCdCAIFBHRoaXMFA2tleQIAAAh1c2VyRGFwcAkBBXZhbHVlAQkApggBCQEOZ2V0U3RyaW5nQnlLZXkBAg9jb25mX3VzZXJzX2RhcHAAC2ZlZVJlY2VpdmVyCQEOZ2V0U3RyaW5nQnlLZXkBAhFjb25mX2ZlZV9yZWNlaXZlcgALc2lnbkFzc2V0SWQJANkEAQkBDmdldFN0cmluZ0J5S2V5AQIYY29uZl9hY2NlcHRlZF9hc3NldF9TSUdOAAVjaHJpcwkBDmdldFN0cmluZ0J5S2V5AQIMY29uZl9hZG1pbl8xAQ9nZXRJbnRlZ2VyQnlLZXkBA2tleQkBC3ZhbHVlT3JFbHNlAgkAmggCBQR0aGlzBQNrZXkAAAEPZ2V0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lja2V0IG5vdCBmb3VuZAQKYW1vdW50VXNlZAkBD2dldEludGVnZXJCeUtleQEJARNrZXlUaWNrZXRBbW91bnRVc2VkAwUGaXNzdWVyBQdldmVudElkBQh0aWNrZXRJZAQMbWF4VXNpbmdUaW1lCQEPZ2V0SW50ZWdlckJ5S2V5AQkBD2tleVRpY2tldE1heFVzZQMFBmlzc3VlcgUHZXZlbnRJZAUIdGlja2V0SWQDCQAAAgUMbWF4VXNpbmdUaW1lBQphbW91bnRVc2VkCQACAQkArAICCQCsAgICDFRpY2tldCB1c2VkIAkApAMBBQphbW91bnRVc2VkAg4gdGltZXMgYWxyZWFkeQkAzAgCCQEMSW50ZWdlckVudHJ5AgkBE2tleVRpY2tldEFtb3VudFVzZWQDBQZpc3N1ZXIFB2V2ZW50SWQFCHRpY2tldElkCQBkAgUKYW1vdW50VXNlZAABCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMJAQdBZGRyZXNzAQkA2QQBBQZjYWxsZXIAAQgFB3BheW1lbnQHYXNzZXRJZAUDbmlsAWkBC2RlbGV0ZUVudHJ5AQVlbnRyeQQGY2FsbGVyCQClCAEIBQFpBmNhbGxlcgMJAAACBQZjYWxsZXIFBWNocmlzCQDMCAIJAQtEZWxldGVFbnRyeQEFBWVudHJ5BQNuaWwJAAIBAgJubwCV8iw9", "height": 2290322, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: CFsLPcPJSd1rxtx6zvLz5TYCsvW4d2Z4rxKDkmrZm5kT Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "1.0.0"
5+
6+func b (c) = valueOrElse(getString(this, c), "")
7+
8+
9+let d = value(addressFromString(b("conf_users_dapp")))
10+
11+let e = b("conf_fee_receiver")
12+
13+let f = fromBase58String(b("conf_accepted_asset_SIGN"))
14+
15+let g = b("conf_admin_1")
16+
17+func h (c) = valueOrElse(getInteger(this, c), 0)
18+
19+
20+func i (c) = valueOrElse(getBoolean(this, c), false)
21+
22+
23+let j = valueOrElse(getBoolean(d, "conf_dapp_is_running"), true)
24+
25+let k = valueOrElse(getString(d, "conf_maintenance_msg"), "")
26+
27+let l = "SUSPENDED"
28+
29+let m = "UNREGISTERED"
30+
31+func n (o) = if (contains(o, "/"))
32+ then if (if ((76 > size(o)))
33+ then (size(split(o, "/")[0]) == 59)
34+ else false)
35+ then (16 > size(split(o, "/")[1]))
36+ else false
37+ else false
38+
39+
40+let p = 2
41+
42+func q (r) = ("user_status_" + r)
43+
44+
45+func s (t) = ("get_event_owner_" + t)
46+
47+
48+func u (r,t) = ((("event_addedDate_" + t) + "_") + r)
49+
50+
51+func v (r,t) = ((("event_date_" + t) + "_") + r)
52+
53+
54+func w (r,t) = ((("event_name_" + t) + "_") + r)
55+
56+
57+func x (r,t) = ((("event_desc_" + t) + "_") + r)
58+
59+
60+func y (r,t) = ((("event_displayCid_" + t) + "_") + r)
61+
62+
63+func z (r,t) = ((("event_tags_" + t) + "_") + r)
64+
65+
66+func A (r,t) = ((("event_flag_" + t) + "_") + r)
67+
68+
69+func B (r,t) = ((("event_note_" + t) + "_") + r)
70+
71+
72+func C (r,t) = ((("event_crawlerCid_" + t) + "_") + r)
73+
74+
75+func D (r,t) = ((("event_totalTicketTypes_" + t) + "_") + r)
76+
77+
78+func E (r,t) = ((("event_totalIssued_" + t) + "_") + r)
79+
80+
81+func F (r,t) = ((("event_canceled_" + t) + "_") + r)
82+
83+
84+func G (r,t) = ((("event_canceledReason_" + t) + "_") + r)
85+
86+
87+func H (r,t,I) = ((((("ticket_name_" + t) + "_") + r) + "_") + I)
88+
89+
90+func J (r,t,I) = ((((("ticket_desc_" + t) + "_") + r) + "_") + I)
91+
92+
93+func K (r,t,I) = ((((("ticket_price_" + t) + "_") + r) + "_") + I)
94+
95+
96+func L (r,t,I) = ((((("ticket_date_" + t) + "_") + r) + "_") + I)
97+
98+
99+func M (r,t,I) = ((((("ticket_maxAvailable_" + t) + "_") + r) + "_") + I)
100+
101+
102+func N (r,t,I) = ((((("ticket_sold_" + t) + "_") + r) + "_") + I)
103+
104+
105+func O (r,t,I) = ((((("ticket_onSale_" + t) + "_") + r) + "_") + I)
106+
107+
108+func P (r,t,I) = ((((("ticket_amountUsed_" + t) + "_") + r) + "_") + I)
109+
110+
111+func Q (r,t,I) = ((((("ticket_maxUse_" + t) + "_") + r) + "_") + I)
112+
113+
114+func R (r,t,I) = ((((("ticket_totalIssued_" + t) + "_") + r) + "_") + I)
115+
116+
117+func S (T,U) = if ((size(T) == 0))
118+ then throw("Field cannot be is empty")
119+ else if ((size(T) > U))
120+ then throw((T + " is too long"))
121+ else true
122+
123+
124+func V (W) = (0 > W)
125+
126+
127+func X (t) = valueOrElse(getString(this, s(t)), "")
128+
129+
130+func Y (r) = {
131+ let Z = valueOrElse(getString(d, q(r)), m)
132+ if ((Z == m))
133+ then "Register this account first with \"Account\" tab"
134+ else if ((Z == l))
135+ then "Account suspended"
136+ else ""
137+ }
138+
139+
140+func aa (r,ab,ac,ad,ae,af) = {
141+ let ag = Y(r)
142+ if ((ag != ""))
143+ then throw(ag)
144+ else if ((size(ab) == 0))
145+ then throw("Display CID cannot be empty")
146+ else if (!(n(ab)))
147+ then throw("Problem with CID")
148+ else if (!(S(ac, 200)))
149+ then throw("100 Char. max name")
150+ else if (!(S(ad, 1000)))
151+ then throw("1000 Char. max description")
152+ else if (!(S(af, 1000)))
153+ then throw("1000 Char. max date")
154+ else if ((size(split(ae, ",")) > 5))
155+ then throw("5 tags max.")
156+ else ""
157+ }
158+
159+
160+func ah (t,r,ac,ad,ai,aj,ak) = {
161+ let ag = Y(r)
162+ if ((ag != ""))
163+ then throw(ag)
164+ else if (!(S(ac, 200)))
165+ then throw("100 Char. max name")
166+ else if (!(S(ad, 1000)))
167+ then throw("1000 Char. max description")
168+ else if (if (if (V(ai))
169+ then true
170+ else V(ak))
171+ then true
172+ else V(aj))
173+ then throw("Positive amount only")
174+ else if (!(S(ad, 1000)))
175+ then throw("1000 Char. max description")
176+ else ""
177+ }
178+
179+
180+func al (am) = if (!(j))
181+ then throw(k)
182+ else $Tuple3(toBase58String(am.transactionId), toBase58String(am.caller.bytes), lastBlock.timestamp)
183+
184+
185+func an (am) = if ((size(am.payments) == 0))
186+ then throw("No payment attached")
187+ else {
188+ let ao = value(am.payments[0])
189+ let ap = value(ao.amount)
190+ $Tuple2(ao, ap)
191+ }
192+
193+
194+func aq (am,ar,as) = {
195+ let at = an(am)
196+ let ao = at._1
197+ let ap = at._2
198+ if (!(isDefined(ao.assetId)))
199+ then throw("Wrong asset attached")
200+ else {
201+ let au = if (if ((size(ar) > 0))
202+ then (toBase58String(value(ao.assetId)) == ar)
203+ else false)
204+ then ao.assetId
205+ else throw("Wrong asset attached")
206+ if ((as != ap))
207+ then throw("Payment amount don't match")
208+ else $Tuple2(ap, au)
209+ }
210+ }
211+
212+
213+func av (t,r) = {
214+ let aw = X(t)
215+ if ((aw == ""))
216+ then throw("Event not found")
217+ else (aw == r)
218+ }
219+
220+
221+func ax (r,t,I) = {
222+ let ay = b(H(r, t, I))
223+ (size(ay) != 0)
224+ }
225+
226+
227+func az (aA,t) = i(F(aA, t))
228+
229+
230+@Callable(aB)
231+func setConf (c,aC) = {
232+ let r = toString(aB.caller)
233+ if (containsElement([g, toString(this)], r))
234+ then if (contains(c, "conf_"))
235+ then [StringEntry(c, aC)]
236+ else throw("Entries starting with conf_ only")
237+ else throw("You are not allowed to change this")
238+ }
239+
240+
241+
242+@Callable(am)
243+func addEvent (ac,ad,ae,ab,aD,af) = {
244+ let aE = al(am)
245+ let t = aE._1
246+ let r = aE._2
247+ let aF = aE._3
248+ let ag = Y(r)
249+ if ((ag != ""))
250+ then throw(ag)
251+ else {
252+ let aG = aa(r, ab, ac, ad, ae, af)
253+ if ((aG != ""))
254+ then throw("Something went wrong!")
255+ else [IntegerEntry(u(r, t), aF), StringEntry(v(r, t), af), StringEntry(w(r, t), ac), StringEntry(x(r, t), ad), StringEntry(y(r, t), ab), StringEntry(z(r, t), ae), StringEntry(C(r, t), aD), IntegerEntry(E(r, t), 0), BooleanEntry(F(r, t), false), StringEntry(s(t), r)]
256+ }
257+ }
258+
259+
260+
261+@Callable(am)
262+func editEvent (t,ac,ad,ae,ab,aD,af) = if (!(j))
263+ then throw(k)
264+ else {
265+ let r = toBase58String(am.caller.bytes)
266+ let ag = Y(r)
267+ if ((ag != ""))
268+ then throw(ag)
269+ else {
270+ let aG = aa(r, ab, ac, ad, ae, af)
271+ if ((aG != ""))
272+ then throw("Something went wrong!")
273+ else {
274+ let aH = b(w(r, t))
275+ if ((aH == ""))
276+ then throw("Entry not found")
277+ else {
278+ let aI = b(A(r, t))
279+ if ((aI == "ILLEGAL"))
280+ then throw("Cannot update ILLEGAL Event")
281+ else [StringEntry(w(r, t), ac), StringEntry(v(r, t), af), StringEntry(x(r, t), ad), StringEntry(z(r, t), ae), StringEntry(C(r, t), aD)]
282+ }
283+ }
284+ }
285+ }
286+
287+
288+
289+@Callable(am)
290+func deleteEvent (t) = {
291+ let aJ = al(am)
292+ let aK = aJ._1
293+ let r = aJ._2
294+ let aF = aJ._3
295+ let ag = Y(r)
296+ if ((ag != ""))
297+ then throw(ag)
298+ else if (!(av(t, r)))
299+ then throw("You are not the owner of this event")
300+ else {
301+ let aL = h(E(r, t))
302+ if ((aL != 0))
303+ then throw("Cannot delete event with already sold tickets")
304+ else {
305+ let aM = h(D(r, t))
306+ if ((aM > 0))
307+ then throw("Delete all tickets first")
308+ else [DeleteEntry(u(r, t)), DeleteEntry(v(r, t)), DeleteEntry(w(r, t)), DeleteEntry(x(r, t)), DeleteEntry(y(r, t)), DeleteEntry(z(r, t)), DeleteEntry(C(r, t)), DeleteEntry(E(r, t)), DeleteEntry(F(r, t)), DeleteEntry(s(t)), DeleteEntry(D(r, t))]
309+ }
310+ }
311+ }
312+
313+
314+
315+@Callable(am)
316+func cancelEvent (t,aN) = {
317+ let aO = al(am)
318+ let aK = aO._1
319+ let r = aO._2
320+ let aF = aO._3
321+ let ag = Y(r)
322+ if ((ag != ""))
323+ then throw(ag)
324+ else if (!(av(t, r)))
325+ then throw("You are not the owner of this event")
326+ else [BooleanEntry(F(r, t), true), StringEntry(G(r, t), aN)]
327+ }
328+
329+
330+
331+@Callable(am)
332+func flagEvent (t,aP,aI,aQ) = {
333+ let aR = al(am)
334+ let aK = aR._1
335+ let r = aR._2
336+ if (containsElement([g, toString(this)], r))
337+ then if (containsElement(["", "CHANGE_REQUIRED", "FLAGGED", "ILLEGAL"], aI))
338+ then [StringEntry(A(aP, t), aI), StringEntry(B(aP, t), aQ)]
339+ else throw(("Unknow status " + aI))
340+ else throw("You are not allowed")
341+ }
342+
343+
344+
345+@Callable(am)
346+func addTicket (t,ac,ad,ai,aj,aS) = {
347+ let aT = al(am)
348+ let aK = aT._1
349+ let r = aT._2
350+ let af = aT._3
351+ let ag = Y(r)
352+ if ((ag != ""))
353+ then throw(ag)
354+ else if (az(r, t))
355+ then throw("Event have been canceled")
356+ else if (!(av(t, r)))
357+ then throw("You are not the owner of this event")
358+ else {
359+ let aU = ah(t, r, ac, ad, ai, aj, aS)
360+ if ((aU != ""))
361+ then throw("Something went wrong!")
362+ else {
363+ let aM = h(D(r, t))
364+[StringEntry(H(r, t, aK), ac), IntegerEntry(L(r, t, aK), af), StringEntry(J(r, t, aK), ad), IntegerEntry(K(r, t, aK), ai), IntegerEntry(M(r, t, aK), aj), BooleanEntry(O(r, t, aK), true), IntegerEntry(Q(r, t, aK), aS), IntegerEntry(R(r, t, aK), 0), IntegerEntry(D(r, t), (aM + 1))]
365+ }
366+ }
367+ }
368+
369+
370+
371+@Callable(am)
372+func editTicket (I,t,ac,ad,ai,aj,ak) = {
373+ let aV = al(am)
374+ let aK = aV._1
375+ let r = aV._2
376+ let af = aV._3
377+ let ag = Y(r)
378+ if ((ag != ""))
379+ then throw(ag)
380+ else if (!(av(t, r)))
381+ then throw("You are not the owner of this event")
382+ else if (!(ax(r, t, I)))
383+ then throw("Ticket not found")
384+ else {
385+ let aU = ah(t, r, ac, ad, ai, aj, ak)
386+ if ((aU != ""))
387+ then throw("Something went wrong!")
388+ else {
389+ let aW = valueOrElse(getInteger(N(r, t, I)), 0)
390+ if ((aW > aj))
391+ then throw("Max tickets available cannot be lower than amount already sold")
392+ else [StringEntry(H(r, t, I), ac), StringEntry(J(r, t, I), ad), IntegerEntry(K(r, t, I), ai), IntegerEntry(M(r, t, I), aj), IntegerEntry(Q(r, t, aK), ak)]
393+ }
394+ }
395+ }
396+
397+
398+
399+@Callable(am)
400+func pauseTicketSale (t,I,aX) = {
401+ let aY = al(am)
402+ let aK = aY._1
403+ let r = aY._2
404+ let af = aY._3
405+ let ag = Y(r)
406+ if ((ag != ""))
407+ then throw(ag)
408+ else if (!(av(t, r)))
409+ then throw("You are not the owner of this event")
410+ else if (!(ax(r, t, I)))
411+ then throw("Ticket not found")
412+ else [BooleanEntry(O(r, t, I), aX)]
413+ }
414+
415+
416+
417+@Callable(am)
418+func deleteTicket (I,t) = {
419+ let aZ = al(am)
420+ let aK = aZ._1
421+ let r = aZ._2
422+ let af = aZ._3
423+ let ag = Y(r)
424+ if ((ag != ""))
425+ then throw(ag)
426+ else if (!(av(t, r)))
427+ then throw("You are not the owner of this event")
428+ else if (!(ax(r, t, I)))
429+ then throw("Ticket not found")
430+ else {
431+ let ba = h(N(r, t, I))
432+ if ((ba != 0))
433+ then throw("Cannot delete ticket that sold already")
434+ else {
435+ let aM = h(D(r, t))
436+[DeleteEntry(H(r, t, I)), DeleteEntry(L(r, t, I)), DeleteEntry(J(r, t, I)), DeleteEntry(K(r, t, I)), DeleteEntry(M(r, t, I)), DeleteEntry(O(r, t, I)), DeleteEntry(Q(r, t, I)), DeleteEntry(R(r, t, I)), IntegerEntry(D(r, t), (aM - 1))]
437+ }
438+ }
439+ }
440+
441+
442+
443+@Callable(am)
444+func buyTicket (I,t,aA) = {
445+ let bb = al(am)
446+ let aK = bb._1
447+ let r = bb._2
448+ let af = bb._3
449+ let bc = valueOrElse(h("total_tickets_issued"), 0)
450+ if (!(av(t, aA)))
451+ then throw("Event ID and Issuer don't match")
452+ else if (!(ax(aA, t, I)))
453+ then throw("Ticket not found")
454+ else {
455+ let bd = b(w(aA, t))
456+ if ((bd == ""))
457+ then throw("Art doesn't exist")
458+ else if (az(aA, t))
459+ then throw("Event have been canceled")
460+ else {
461+ let be = i(O(aA, t, I))
462+ if (!(be))
463+ then throw("Tickets not for sale")
464+ else {
465+ let ba = h(N(aA, t, I))
466+ let bf = h(K(aA, t, I))
467+ let ar = toBase58String(f)
468+ let bg = aq(am, ar, bf)
469+ let ap = bg._1
470+ let au = bg._2
471+ let bh = h(M(aA, t, I))
472+ let bi = fraction(ap, p, 100)
473+ let bj = (ap - bi)
474+ if ((ba == bh))
475+ then throw("Art sold out")
476+ else {
477+ let bk = (ba + 1)
478+ let bl = ((((((((((("Organizer: " + aA) + ",
479+ EventID: ") + t) + ",
480+ TicketID: ") + I) + ",
481+ EventName: ") + bd) + ",
482+ Issue: ") + toString(bk)) + "/") + toString(bh))
483+ let bm = Issue(("ST_" + toString((bc + 1))), bl, 1, 0, false)
484+ let bn = calculateAssetId(bm)
485+ let bo = if ((bk == bh))
486+ then false
487+ else true
488+ let bp = am.caller
489+ let bq = ((((((((("ticket_sold_" + toString(bk)) + "_of_") + toString(bh)) + "_") + t) + "_") + aA) + "_") + I)
490+ let br = ((((((((toString(bp) + "_") + toString(af)) + "_") + aK) + "_") + toString(ap)) + "_") + toBase58String(bn))
491+ let bs = StringEntry(bq, br)
492+ let aL = h(E(aA, t))
493+ let bt = h(R(aA, t, I))
494+ let bu = [IntegerEntry(N(aA, t, I), bk), StringEntry(("nft_" + toBase58String(bn)), bq), IntegerEntry("total_tickets_issued", (bc + 1)), IntegerEntry(E(aA, t), (aL + 1)), IntegerEntry(R(aA, t, I), (bt + 1)), StringEntry((("ST_" + toString((bc + 1))) + "_assetId"), toBase58String(bn)), BooleanEntry(O(aA, t, I), bo), IntegerEntry(P(aA, t, I), 0), bm, ScriptTransfer(Address(fromBase58String(aA)), bj, au), ScriptTransfer(bp, 1, bn), ScriptTransfer(Address(fromBase58String(e)), bi, au)]
495+bs :: bu
496+ }
497+ }
498+ }
499+ }
500+ }
501+
502+
503+
504+@Callable(am)
505+func useTicket (t,aA) = {
506+ let bv = al(am)
507+ let aK = bv._1
508+ let r = bv._2
509+ let af = bv._3
510+ let bw = an(am)
511+ let ao = bw._1
512+ let ap = bw._2
513+ if (!(isDefined(ao.assetId)))
514+ then throw("Wrong asset attached")
515+ else {
516+ let I = toBase58String(value(ao.assetId))
517+ if (!(ax(aA, t, I)))
518+ then throw("Ticket not found")
519+ else {
520+ let bx = h(P(aA, t, I))
521+ let by = h(Q(aA, t, I))
522+ if ((by == bx))
523+ then throw((("Ticket used " + toString(bx)) + " times already"))
524+ else [IntegerEntry(P(aA, t, I), (bx + 1)), ScriptTransfer(Address(fromBase58String(r)), 1, ao.assetId)]
525+ }
526+ }
527+ }
528+
529+
530+
531+@Callable(am)
532+func deleteEntry (bz) = {
533+ let r = toString(am.caller)
534+ if ((r == g))
535+ then [DeleteEntry(bz)]
536+ else throw("no")
537+ }
538+
539+

github/deemru/w8io/169f3d6 
34.08 ms