tx · 6WsMuAU2baRSomnrZeyjeLxpf9CEKPWjbPxjxDAkcRJM

3MyHKQmmwgoZcidbkMfjZsdrq1jxHJGnZMF:  -0.01500000 Waves

2022.09.30 02:26 [2251054] smart account 3MyHKQmmwgoZcidbkMfjZsdrq1jxHJGnZMF > SELF 0.00000000 Waves

{ "type": 13, "id": "6WsMuAU2baRSomnrZeyjeLxpf9CEKPWjbPxjxDAkcRJM", "fee": 1500000, "feeAssetId": null, "timestamp": 1664494004267, "version": 2, "chainId": 84, "sender": "3MyHKQmmwgoZcidbkMfjZsdrq1jxHJGnZMF", "senderPublicKey": "F57WFEpwEinxZV4RdJCeaNiWPEC8gQmBeNLEHGeDpUs1", "proofs": [ "4KrGVXcvAAeDitgtnMczmkrFA3Rz6MHxDKg6eYMKWURhQtkxXw3RroJCycp9kxa8CixSE9oqbp6kBPQYTuK3xJhS" ], "script": "base64:BgJACAISAwoBCBIAEgMKAQgSAwoBCBIDCgEIEgcKBQgIAQEIEgQKAggIEgUKAwgIARIDCgEIEgASBQoDCAgIEgASACUABXdhdmVzAIDC1y8ADnRpY2tldFByaWNlSW50AMCEPQALdGlja2V0UHJpY2UFDnRpY2tldFByaWNlSW50AAZpbnZGZWUAoMIeABJ3aXRoZHJhd0ZlZVBlcmNlbnQABQAWZmVlQ29sbGVjdG9yQWRkcmVzc0tleQITZmVlQ29sbGVjdG9yQWRkcmVzcwAZdG91cm5hbWVudEJ1eUluRmVlUGVyY2VudAAKAA5kZXBvc2l0QXNzZXRJZAIsNXVlMWZpdVY2ajZVQnI2WGYyOFFtczZ5NUZxekt0cXZheHhod3U3aFRRNTgBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABEmdldFRpY2tldHNDb3VudEtleQENYWRkcmVzc1N0cmluZwkArAICBQ1hZGRyZXNzU3RyaW5nAg1fdGlja2V0c0NvdW50ASJidXlJbkFtb3VudEZvclRvdXJuYW1lbnRGb3JBY2NvdW50Agx0b3VybmFtZW50SWQHYWNjb3VudAkArAICCQCsAgIFDHRvdXJuYW1lbnRJZAIXX2J1eUluQW1vdW50Rm9yQWNjb3VudF8FB2FjY291bnQBI2J1eUluQXNzZXRJZEZvclRvdXJuYW1lbnRGb3JBY2NvdW50Agx0b3VybmFtZW50SWQHYWNjb3VudAkArAICCQCsAgIFDHRvdXJuYW1lbnRJZAIYX2J1eUluQXNzZXRJZEZvckFjY291bnRfBQdhY2NvdW50AR10aWNrZXRGb3JUb3VybmFtZW50Rm9yQWNjb3VudAIMdG91cm5hbWVudElkB2FjY291bnQJAKwCAgkArAICBQx0b3VybmFtZW50SWQCEl90aWNrZXRGb3JBY2NvdW50XwUHYWNjb3VudAEmdG91cm5hbWVudFRvdGFsQnV5SW5Db2xsZWN0ZWRBbW91bnRLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCJF90b3VybmFtZW50VG90YWxCdXlJbkNvbGxlY3RlZEFtb3VudAEUdG91cm5hbWVudENyZWF0b3JLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCEl90b3VybmFtZW50Q3JlYXRvcgERdG91cm5hbWVudE5hbWVLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCD190b3VybmFtZW50TmFtZQEYdG91cm5hbWVudFByaXplQW1vdW50S2V5AQx0b3VybmFtZW50SWQJAKwCAgUMdG91cm5hbWVudElkAhZfdG91cm5hbWVudFByaXplQW1vdW50ARx0b3VybmFtZW50TWF4UGxheWVyc0NvdW50S2V5AQx0b3VybmFtZW50SWQJAKwCAgUMdG91cm5hbWVudElkAhpfdG91cm5hbWVudE1heFBsYXllcnNDb3VudAEZdG91cm5hbWVudFBsYXllcnNDb3VudEtleQEMdG91cm5hbWVudElkCQCsAgIFDHRvdXJuYW1lbnRJZAIXX3RvdXJuYW1lbnRQbGF5ZXJzQ291bnQB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2tldHNDb3VudAABBQNuaWwAAQECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXmXuMpz", "height": 2251054, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = 100000000
5+
6+let b = 1000000
7+
8+let c = b
9+
10+let d = 500000
11+
12+let e = 5
13+
14+let f = "feeCollectorAddress"
15+
16+let g = 10
17+
18+let h = "5ue1fiuV6j6UBr6Xf28Qms6y5FqzKtqvaxxhwu7hTQ58"
19+
20+func i (j) = {
21+ let k = getInteger(this, j)
22+ if ($isInstanceOf(k, "Int"))
23+ then {
24+ let l = k
25+ l
26+ }
27+ else 0
28+ }
29+
30+
31+func m (n) = (n + "_ticketsCount")
32+
33+
34+func o (p,q) = ((p + "_buyInAmountForAccount_") + q)
35+
36+
37+func r (p,q) = ((p + "_buyInAssetIdForAccount_") + q)
38+
39+
40+func s (p,q) = ((p + "_ticketForAccount_") + q)
41+
42+
43+func t (p) = (p + "_tournamentTotalBuyInCollectedAmount")
44+
45+
46+func u (p) = (p + "_tournamentCreator")
47+
48+
49+func v (p) = (p + "_tournamentName")
50+
51+
52+func w (p) = (p + "_tournamentPrizeAmount")
53+
54+
55+func x (p) = (p + "_tournamentMaxPlayersCount")
56+
57+
58+func y (p) = (p + "_tournamentPlayersCount")
59+
60+
61+func z (p) = (p + "_tournamentPrizeAssetId")
62+
63+
64+func A (p) = (p + "_tournamentPrizeAssetName")
65+
66+
67+func B (p) = (p + "_tournamentBuyInAmount")
68+
69+
70+func C (p) = (p + "_tournamentBuyInAssetId")
71+
72+
73+func D (p) = (p + "_tournamentBuyInAssetName")
74+
75+
76+func E (p) = (p + "_tournamentBuyInAssetDecimals")
77+
78+
79+func F (p) = (p + "_tournamentPrizeAssetDecimals")
80+
81+
82+func G (p) = (p + "_tournamentStatus")
83+
84+
85+func H (p) = (p + "_tournamentBuyInFeeCollected")
86+
87+
88+func I (p) = (p + "_tournamentWinningTransactionId")
89+
90+
91+func J (K) = (K + "_winner")
92+
93+
94+func L (M) = (M + "_availableFunds")
95+
96+
97+func N (M) = (M + "_totalLockedFunds")
98+
99+
100+func O (M) = (M + "_lockedFundsTotalHistory")
101+
102+
103+func P (M,K) = ((M + "_lockedFunds_") + K)
104+
105+
106+func Q (M) = (M + "_availableRewards")
107+
108+
109+func R (n) = i(m(n))
110+
111+
112+func S (T) = {
113+ let U = R(T)
114+ let V = (U - 1)
115+ if ((0 > V))
116+ then 0
117+ else V
118+ }
119+
120+
121+@Callable(W)
122+func setFeeCollectorAddress (X) = if ((W.caller != this))
123+ then throw("Admin Only")
124+ else [StringEntry(f, X)]
125+
126+
127+
128+@Callable(W)
129+func depositFunds () = {
130+ let Y = if ((size(W.payments) == 1))
131+ then W.payments[0]
132+ else throw("Please attach exactly one payment")
133+ if ((Y.assetId != fromBase58String(h)))
134+ then throw("You can only deposit USDN")
135+ else {
136+ let Z = toBase58String(W.caller.bytes)
137+ let aa = i(L(Z))
138+ $Tuple2([IntegerEntry(L(Z), (aa + Y.amount))], 1)
139+ }
140+ }
141+
142+
143+
144+@Callable(W)
145+func cancelSignUpToTournament (p) = {
146+ let ab = getStringValue(G(p))
147+ if ((ab != "registration"))
148+ then throw("Tournament is not in registration phase!")
149+ else {
150+ let Z = toBase58String(W.caller.bytes)
151+ let ac = getIntegerValue(o(p, Z))
152+ let ad = getStringValue(r(p, Z))
153+ let ae = i(y(p))
154+ let af = i(t(p))
155+ $Tuple2([ScriptTransfer(addressFromStringValue(Z), ac, fromBase58String(ad)), DeleteEntry(s(p, Z)), DeleteEntry(o(p, Z)), DeleteEntry(r(p, Z)), IntegerEntry(y(p), (ae - 1)), IntegerEntry(t(p), (af - ac))], 1)
156+ }
157+ }
158+
159+
160+
161+@Callable(W)
162+func signUpToTournament (p) = {
163+ let ag = getIntegerValue(this, x(p))
164+ let ae = i(y(p))
165+ let ab = getStringValue(G(p))
166+ if ((ab != "registration"))
167+ then throw("Tournament is not in registration phase!")
168+ else if ((ae == ag))
169+ then throw("Tournament is currently full, please try again later!")
170+ else {
171+ let Y = if ((size(W.payments) == 1))
172+ then W.payments[0]
173+ else throw("Please attach exactly one payment")
174+ let ah = {
175+ let k = Y.assetId
176+ if ($isInstanceOf(k, "Unit"))
177+ then {
178+ let l = k
179+ ""
180+ }
181+ else if ($isInstanceOf(k, "ByteVector"))
182+ then {
183+ let l = k
184+ toBase58String(l)
185+ }
186+ else throw("Match error")
187+ }
188+ let ai = getIntegerValue(this, B(p))
189+ let aj = getStringValue(this, C(p))
190+ if ((ai != Y.amount))
191+ then throw(("Attached payment amount is invalid, must be " + toString(ai)))
192+ else if ((aj != ah))
193+ then throw(("Attached payment asset id is invalid, must be " + aj))
194+ else {
195+ let Z = toBase58String(W.caller.bytes)
196+ let af = i(t(p))
197+ $Tuple2([BooleanEntry(s(p, Z), true), IntegerEntry(o(p, Z), Y.amount), StringEntry(r(p, Z), ah), IntegerEntry(y(p), (ae + 1)), IntegerEntry(t(p), (af + Y.amount))], 1)
198+ }
199+ }
200+ }
201+
202+
203+
204+@Callable(W)
205+func cancelTournament (p) = {
206+ let Z = toBase58String(W.caller.bytes)
207+ let ak = getStringValue(u(p))
208+ if ((ak != Z))
209+ then throw("Only tournament creator can cancel it!")
210+ else {
211+ let ab = getStringValue(G(p))
212+ if ((ab != "registration"))
213+ then throw("Tournament is not in registration phase!")
214+ else {
215+ let ae = i(y(p))
216+ if ((ae > 0))
217+ then throw("Cannot cancel a tournament when players are already registered to it!")
218+ else {
219+ let al = getIntegerValue(w(p))
220+ let am = getStringValue(z(p))
221+ $Tuple2([DeleteEntry(w(p)), DeleteEntry(y(p)), DeleteEntry(x(p)), DeleteEntry(z(p)), DeleteEntry(A(p)), DeleteEntry(F(p)), DeleteEntry(G(p)), DeleteEntry(B(p)), DeleteEntry(D(p)), DeleteEntry(E(p)), DeleteEntry(C(p)), DeleteEntry(v(p)), DeleteEntry(u(p)), ScriptTransfer(addressFromStringValue(ak), al, fromBase58String(am))], 1)
222+ }
223+ }
224+ }
225+ }
226+
227+
228+
229+@Callable(W)
230+func createTournament (p,an,ao,ap,aq) = {
231+ let Y = if ((size(W.payments) == 1))
232+ then W.payments[0]
233+ else throw("Please attach exactly one payment")
234+ let ar = {
235+ let k = Y.assetId
236+ if ($isInstanceOf(k, "Unit"))
237+ then {
238+ let l = k
239+ ""
240+ }
241+ else if ($isInstanceOf(k, "ByteVector"))
242+ then {
243+ let l = k
244+ toBase58String(l)
245+ }
246+ else throw("Match error")
247+ }
248+ let as = {
249+ let k = Y.assetId
250+ if ($isInstanceOf(k, "Unit"))
251+ then {
252+ let l = k
253+["Waves", 8]
254+ }
255+ else if ($isInstanceOf(k, "ByteVector"))
256+ then {
257+ let l = k
258+ let at = assetInfo(l)
259+ if ($isInstanceOf(at, "Asset"))
260+ then {
261+ let au = at
262+[au.name, au.decimals]
263+ }
264+ else throw("Can't find asset")
265+ }
266+ else throw("Match error")
267+ }
268+ let av = {
269+ let k = assetInfo(fromBase58String(aq))
270+ if ($isInstanceOf(k, "Asset"))
271+ then {
272+ let au = k
273+[au.name, au.decimals]
274+ }
275+ else ["", 0]
276+ }
277+ let Z = toBase58String(W.caller.bytes)
278+ $Tuple2([IntegerEntry(w(p), Y.amount), IntegerEntry(y(p), 0), IntegerEntry(x(p), ao), StringEntry(z(p), ar), StringEntry(A(p), {
279+ let aw = as[0]
280+ if ($isInstanceOf(aw, "String"))
281+ then aw
282+ else throw(($getType(as[0]) + " couldn't be cast to String"))
283+ }), IntegerEntry(F(p), {
284+ let aw = as[1]
285+ if ($isInstanceOf(aw, "Int"))
286+ then aw
287+ else throw(($getType(as[1]) + " couldn't be cast to Int"))
288+ }), StringEntry(G(p), "registration"), IntegerEntry(B(p), ap), StringEntry(D(p), {
289+ let aw = av[0]
290+ if ($isInstanceOf(aw, "String"))
291+ then aw
292+ else throw(($getType(av[0]) + " couldn't be cast to String"))
293+ }), IntegerEntry(E(p), {
294+ let aw = av[1]
295+ if ($isInstanceOf(aw, "Int"))
296+ then aw
297+ else throw(($getType(av[1]) + " couldn't be cast to Int"))
298+ }), StringEntry(C(p), aq), StringEntry(v(p), an), StringEntry(u(p), Z)], 1)
299+ }
300+
301+
302+
303+@Callable(W)
304+func finishTournament (p,ax) = if ((W.caller != this))
305+ then throw("Admin Only")
306+ else {
307+ let ak = getStringValue(u(p))
308+ let ay = i(t(p))
309+ let az = getIntegerValue(B(p))
310+ let aA = if ((az == 0))
311+ then unit
312+ else fromBase58String(getStringValue(C(p)))
313+ let aB = fraction(ay, g, 100)
314+ $Tuple2([StringEntry(I(p), ax), StringEntry(G(p), "finished"), IntegerEntry(H(p), aB), ScriptTransfer(addressFromStringValue(ak), (ay - aB), aA)], 1)
315+ }
316+
317+
318+
319+@Callable(W)
320+func playerExitGame (K,T,aC) = if ((W.caller != this))
321+ then throw("Admin Only")
322+ else {
323+ let aD = i(N(T))
324+ let aE = i(P(T, K))
325+ $Tuple2([IntegerEntry(N(T), (aD - aE)), IntegerEntry(P(T, K), 0), ScriptTransfer(addressFromStringValue(T), aC, fromBase58String(h))], 1)
326+ }
327+
328+
329+
330+@Callable(W)
331+func lockFundsForGame (K) = {
332+ let Y = if ((size(W.payments) == 1))
333+ then W.payments[0]
334+ else throw("Please attach exactly one payment")
335+ if ((Y.assetId != fromBase58String(h)))
336+ then throw("You can only deposit USDN")
337+ else {
338+ let Z = toBase58String(W.caller.bytes)
339+ let aD = i(N(Z))
340+ let aF = i(O(Z))
341+ $Tuple2([IntegerEntry(N(Z), (aD + Y.amount)), IntegerEntry(O(Z), (aF + Y.amount)), IntegerEntry(P(Z, K), Y.amount)], 1)
342+ }
343+ }
344+
345+
346+
347+@Callable(W)
348+func withdrawFunds () = {
349+ let Z = toBase58String(W.caller.bytes)
350+ let aG = addressFromStringValue(getStringValue(f))
351+ let aa = i(L(Z))
352+ let aH = fraction(aa, e, 100)
353+ let aI = (aa - aH)
354+ if ((0 >= aI))
355+ then throw("No available funds to withdraw")
356+ else [IntegerEntry(L(Z), 0), ScriptTransfer(W.caller, aI, fromBase58String(h)), ScriptTransfer(aG, aH, fromBase58String(h))]
357+ }
358+
359+
360+
361+@Callable(W)
362+func setWinnerHeadsUp (K,aJ,aK) = if ((W.caller != this))
363+ then throw("Admin Only")
364+ else {
365+ let aL = Q(aJ)
366+ let aM = i(aL)
367+ let aN = S(aJ)
368+ let aO = S(aK)
369+[StringEntry(J(K), aJ), IntegerEntry(aL, (aM + (c * 2))), IntegerEntry(m(aJ), aN), IntegerEntry(m(aK), aO)]
370+ }
371+
372+
373+
374+@Callable(W)
375+func withdrawRewards () = {
376+ let Z = toBase58String(W.caller.bytes)
377+ let aG = addressFromStringValue(getStringValue(f))
378+ let aM = i(Q(Z))
379+ let aH = fraction(aM, e, 100)
380+ let aP = ((aM - d) - aH)
381+ if ((0 >= aM))
382+ then throw("No available rewards to withdraw")
383+ else [IntegerEntry(Q(Z), 0), ScriptTransfer(W.caller, aP, unit), ScriptTransfer(aG, aH, unit)]
384+ }
385+
386+
387+
388+@Callable(W)
389+func buyTickets () = {
390+ let Y = if ((size(W.payments) == 1))
391+ then W.payments[0]
392+ else throw("Please attach exactly one payment")
393+ if (isDefined(Y.assetId))
394+ then throw("Tickets can only ibe purchased in Waves")
395+ else if ((Y.amount != c))
396+ then throw((("The payment must be of exactly " + toString(b)) + " waves"))
397+ else {
398+ let Z = toBase58String(W.caller.bytes)
399+ let aQ = i(m(Z))
400+ $Tuple2([IntegerEntry(m(Z), (aQ + 1))], 1)
401+ }
402+ }
403+
404+
405+@Verifier(aR)
406+func aS () = sigVerify(aR.bodyBytes, aR.proofs[0], aR.senderPublicKey)
407+

github/deemru/w8io/026f985 
28.61 ms