tx · HKddHDnoRE9Zimb73MYxvLtkcfh2VQXyiXpV1GpotPWh

3MuUX82xyULepVCWFG2TfkTDN55b1BVP6k2:  -0.01900000 Waves

2022.10.29 09:16 [2293330] smart account 3MuUX82xyULepVCWFG2TfkTDN55b1BVP6k2 > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
32.68 ms