tx · FScMndGb4cX8768792oLMJgQACyXFkZKQpRBoQBGLGaK 3MrG2RMxojGSpjBfghZg4GStwuJsrkNr4cq: -0.01600000 Waves 2022.10.08 02:26 [2262561] smart account 3MrG2RMxojGSpjBfghZg4GStwuJsrkNr4cq > SELF 0.00000000 Waves
{ "type": 13, "id": "FScMndGb4cX8768792oLMJgQACyXFkZKQpRBoQBGLGaK", "fee": 1600000, "feeAssetId": null, "timestamp": 1665185212557, "version": 2, "chainId": 84, "sender": "3MrG2RMxojGSpjBfghZg4GStwuJsrkNr4cq", "senderPublicKey": "Eia2m1fVBbD5otWTEgHGr6fmziPJnXmfQxyurBt5ya8Y", "proofs": [ "48RWk368kuBMT3AWZtX91XpCcYszfyNzuvsBwhomTv4C5fk3ZguMeXY32YJeMLqLH1G6XzpoMedoZBNRUh4dv1tK" ], "script": "base64:BgJACAISAwoBCBIAEgMKAQgSAwoBCBIDCgEIEgcKBQgIAQEIEgQKAggIEgUKAwgIARIDCgEIEgASBQoDCAgIEgASACUABXdhdmVzAIDC1y8ADnRpY2tldFByaWNlSW50AMCEPQALdGlja2V0UHJpY2UFDnRpY2tldFByaWNlSW50AAZpbnZGZWUAoMIeABJ3aXRoZHJhd0ZlZVBlcmNlbnQABQAWZmVlQ29sbGVjdG9yQWRkcmVzc0tleQITZmVlQ29sbGVjdG9yQWRkcmVzcwAZdG91cm5hbWVudEJ1eUluRmVlUGVyY2VudAAKAA5kZXBvc2l0QXNzZXRJZAIsNXVlMWZpdVY2ajZVQnI2WGYyOFFtczZ5NUZxekt0cXZheHhod3U3aFRRNTgBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABEmdldFRpY2tldHNDb3VudEtleQENYWRkcmVzc1N0cmluZwkArAICBQ1hZGRyZXNzU3RyaW5nAg1fdGlja2V0c0NvdW50ASJidXlJbkFtb3VudEZvclRvdXJuYW1lbnRGb3JBY2NvdW50Agx0b3VybmFtZW50SWQHYWNjb3VudAkArAICCQCsAgIFDHRvdXJuYW1lbnRJZAIXX2J1eUluQW1vdW50Rm9yQWNjb3VudF8FB2FjY291bnQBI2J1eUluQXNzZXRJZEZvclRvdXJuYW1lbnRGb3JBY2NvdW50Agx0b3VybmFtZW50SWQHYWNjb3VudAkArAICCQCsAgIFDHRvdXJuYW1lbnRJZAIYX2J1eUluQXNzZXRJZEZvckFjY291bnRfBQdhY2NvdW50AR10aWNrZXRGb3JUb3VybmFtZW50Rm9yQWNjb3VudAIMdG91cm5hbWVudElkB2FjY291bnQJAKwCAgkArAICBQx0b3VybmFtZW50SWQCEl90aWNrZXRGb3JBY2NvdW50XwUHYWNjb3VudAEmdG91cm5hbWVudFRvdGFsQnV5SW5Db2xsZWN0ZWRBbW91bnRLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCJF90b3VybmFtZW50VG90YWxCdXlJbkNvbGxlY3RlZEFtb3VudAEUdG91cm5hbWVudENyZWF0b3JLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCEl90b3VybmFtZW50Q3JlYXRvcgERdG91cm5hbWVudE5hbWVLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCD190b3VybmFtZW50TmFtZQEYdG91cm5hbWVudFByaXplQW1vdW50S2V5AQx0b3VybmFtZW50SWQJAKwCAgUMdG91cm5hbWVudElkAhZfdG91cm5hbWVudFByaXplQW1vdW50ARx0b3VybmFtZW50TWF4UGxheWVyc0NvdW50S2V5AQx0b3VybmFtZW50SWQJAKwCAgUMdG91cm5hbWVudElkAhpfdG91cm5hbWVudE1heFBsYXllcnNDb3VudAEZdG91cm5hbWVudFBsYXllcnNDb3VudEtleQEMdG91cm5hbWVudElkCQCsAgIFDHRvdXJuYW1lbnRJZAIXX3RvdXJuYW1lbnRQbGF5ZXJzQ291bnQBGXRvdXJuYW1lbnRQcml6Z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AAgECJ1RpY2tldHMgY2FuIG9ubHkgaWJlIHB1cmNoYXNlZCBpbiBXYXZlcwMJAQIhPQIIBQNwbXQGYW1vdW50BQt0aWNrZXRQcmljZQkAAgEJAKwCAgkArAICAh9UaGUgcGF5bWVudCBtdXN0IGJlIG9mIGV4YWN0bHkgCQCkAwEFDnRpY2tldFByaWNlSW50AgYgd2F2ZXMEDWNhbGxlckFkZHJTdHIJANgEAQgIBQFpBmNhbGxlcgVieXRlcwQTY3VycmVudFRpY2tldHNDb3VudAkBDXRyeUdldEludGVnZXIBCQESZ2V0VGlja2V0c0NvdW50S2V5AQUNY2FsbGVyQWRkclN0cgkAlAoCCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQESZ2V0VGlja2V0c0NvdW50S2V5AQUNY2FsbGVyQWRkclN0cgkAZAIFE2N1cnJlbnRUaWNrZXRzQ291bnQAAQUDbmlsAAEBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5l0hiBA==", "height": 2262561, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
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 | + | let al = if ((ak == Z)) | |
209 | + | then true | |
210 | + | else if ((W.caller == this)) | |
211 | + | then true | |
212 | + | else throw("Only tournament creator can cancel it!") | |
213 | + | if ((al == al)) | |
214 | + | then { | |
215 | + | let ab = getStringValue(G(p)) | |
216 | + | if ((ab != "registration")) | |
217 | + | then throw("Tournament is not in registration phase!") | |
218 | + | else { | |
219 | + | let ae = i(y(p)) | |
220 | + | if ((ae > 0)) | |
221 | + | then throw("Cannot cancel a tournament when players are already registered to it!") | |
222 | + | else { | |
223 | + | let am = getIntegerValue(w(p)) | |
224 | + | let an = getStringValue(z(p)) | |
225 | + | $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), am, fromBase58String(an))], 1) | |
226 | + | } | |
227 | + | } | |
228 | + | } | |
229 | + | else throw("Strict value is not equal to itself.") | |
230 | + | } | |
231 | + | ||
232 | + | ||
233 | + | ||
234 | + | @Callable(W) | |
235 | + | func createTournament (p,ao,ap,aq,ar) = { | |
236 | + | let Y = if ((size(W.payments) == 1)) | |
237 | + | then W.payments[0] | |
238 | + | else throw("Please attach exactly one payment") | |
239 | + | let ak = { | |
240 | + | let k = getString(u(p)) | |
241 | + | if ($isInstanceOf(k, "String")) | |
242 | + | then { | |
243 | + | let as = k | |
244 | + | throw(("Tournament already exists with this id " + p)) | |
245 | + | } | |
246 | + | else unit | |
247 | + | } | |
248 | + | if ((ak == ak)) | |
249 | + | then { | |
250 | + | let at = { | |
251 | + | let k = Y.assetId | |
252 | + | if ($isInstanceOf(k, "Unit")) | |
253 | + | then { | |
254 | + | let l = k | |
255 | + | "" | |
256 | + | } | |
257 | + | else if ($isInstanceOf(k, "ByteVector")) | |
258 | + | then { | |
259 | + | let l = k | |
260 | + | toBase58String(l) | |
261 | + | } | |
262 | + | else throw("Match error") | |
263 | + | } | |
264 | + | let au = { | |
265 | + | let k = Y.assetId | |
266 | + | if ($isInstanceOf(k, "Unit")) | |
267 | + | then { | |
268 | + | let l = k | |
269 | + | ["Waves", 8] | |
270 | + | } | |
271 | + | else if ($isInstanceOf(k, "ByteVector")) | |
272 | + | then { | |
273 | + | let l = k | |
274 | + | let av = assetInfo(l) | |
275 | + | if ($isInstanceOf(av, "Asset")) | |
276 | + | then { | |
277 | + | let aw = av | |
278 | + | [aw.name, aw.decimals] | |
279 | + | } | |
280 | + | else throw("Can't find asset") | |
281 | + | } | |
282 | + | else throw("Match error") | |
283 | + | } | |
284 | + | let ax = { | |
285 | + | let k = assetInfo(fromBase58String(ar)) | |
286 | + | if ($isInstanceOf(k, "Asset")) | |
287 | + | then { | |
288 | + | let aw = k | |
289 | + | [aw.name, aw.decimals] | |
290 | + | } | |
291 | + | else ["", 0] | |
292 | + | } | |
293 | + | let Z = toBase58String(W.caller.bytes) | |
294 | + | $Tuple2([IntegerEntry(w(p), Y.amount), IntegerEntry(y(p), 0), IntegerEntry(x(p), ap), StringEntry(z(p), at), StringEntry(A(p), { | |
295 | + | let ay = au[0] | |
296 | + | if ($isInstanceOf(ay, "String")) | |
297 | + | then ay | |
298 | + | else throw(($getType(ay) + " couldn't be cast to String")) | |
299 | + | }), IntegerEntry(F(p), { | |
300 | + | let ay = au[1] | |
301 | + | if ($isInstanceOf(ay, "Int")) | |
302 | + | then ay | |
303 | + | else throw(($getType(ay) + " couldn't be cast to Int")) | |
304 | + | }), StringEntry(G(p), "registration"), IntegerEntry(B(p), aq), StringEntry(D(p), { | |
305 | + | let ay = ax[0] | |
306 | + | if ($isInstanceOf(ay, "String")) | |
307 | + | then ay | |
308 | + | else throw(($getType(ay) + " couldn't be cast to String")) | |
309 | + | }), IntegerEntry(E(p), { | |
310 | + | let ay = ax[1] | |
311 | + | if ($isInstanceOf(ay, "Int")) | |
312 | + | then ay | |
313 | + | else throw(($getType(ay) + " couldn't be cast to Int")) | |
314 | + | }), StringEntry(C(p), ar), StringEntry(v(p), ao), StringEntry(u(p), Z)], 1) | |
315 | + | } | |
316 | + | else throw("Strict value is not equal to itself.") | |
317 | + | } | |
318 | + | ||
319 | + | ||
320 | + | ||
321 | + | @Callable(W) | |
322 | + | func finishTournament (p,az) = if ((W.caller != this)) | |
323 | + | then throw("Admin Only") | |
324 | + | else { | |
325 | + | let ak = getStringValue(u(p)) | |
326 | + | let aA = i(t(p)) | |
327 | + | let aB = getIntegerValue(B(p)) | |
328 | + | let aC = { | |
329 | + | let k = getString(C(p)) | |
330 | + | if ($isInstanceOf(k, "String")) | |
331 | + | then { | |
332 | + | let aD = k | |
333 | + | if ((aD == "")) | |
334 | + | then unit | |
335 | + | else fromBase58String(aD) | |
336 | + | } | |
337 | + | else unit | |
338 | + | } | |
339 | + | let aE = fraction(aA, g, 100) | |
340 | + | $Tuple2([StringEntry(I(p), az), StringEntry(G(p), "finished"), IntegerEntry(H(p), aE), ScriptTransfer(addressFromStringValue(ak), (aA - aE), aC)], 1) | |
341 | + | } | |
342 | + | ||
343 | + | ||
344 | + | ||
345 | + | @Callable(W) | |
346 | + | func playerExitGame (K,T,aF) = if ((W.caller != this)) | |
347 | + | then throw("Admin Only") | |
348 | + | else { | |
349 | + | let aG = i(N(T)) | |
350 | + | let aH = i(P(T, K)) | |
351 | + | $Tuple2([IntegerEntry(N(T), (aG - aH)), IntegerEntry(P(T, K), 0), ScriptTransfer(addressFromStringValue(T), aF, fromBase58String(h))], 1) | |
352 | + | } | |
353 | + | ||
354 | + | ||
355 | + | ||
356 | + | @Callable(W) | |
357 | + | func lockFundsForGame (K) = { | |
358 | + | let Y = if ((size(W.payments) == 1)) | |
359 | + | then W.payments[0] | |
360 | + | else throw("Please attach exactly one payment") | |
361 | + | if ((Y.assetId != fromBase58String(h))) | |
362 | + | then throw("You can only deposit USDN") | |
363 | + | else { | |
364 | + | let Z = toBase58String(W.caller.bytes) | |
365 | + | let aG = i(N(Z)) | |
366 | + | let aI = i(O(Z)) | |
367 | + | $Tuple2([IntegerEntry(N(Z), (aG + Y.amount)), IntegerEntry(O(Z), (aI + Y.amount)), IntegerEntry(P(Z, K), Y.amount)], 1) | |
368 | + | } | |
369 | + | } | |
370 | + | ||
371 | + | ||
372 | + | ||
373 | + | @Callable(W) | |
374 | + | func withdrawFunds () = { | |
375 | + | let Z = toBase58String(W.caller.bytes) | |
376 | + | let aJ = addressFromStringValue(getStringValue(f)) | |
377 | + | let aa = i(L(Z)) | |
378 | + | let aK = fraction(aa, e, 100) | |
379 | + | let aL = (aa - aK) | |
380 | + | if ((0 >= aL)) | |
381 | + | then throw("No available funds to withdraw") | |
382 | + | else [IntegerEntry(L(Z), 0), ScriptTransfer(W.caller, aL, fromBase58String(h)), ScriptTransfer(aJ, aK, fromBase58String(h))] | |
383 | + | } | |
384 | + | ||
385 | + | ||
386 | + | ||
387 | + | @Callable(W) | |
388 | + | func setWinnerHeadsUp (K,aM,aN) = if ((W.caller != this)) | |
389 | + | then throw("Admin Only") | |
390 | + | else { | |
391 | + | let aO = Q(aM) | |
392 | + | let aP = i(aO) | |
393 | + | let aQ = S(aM) | |
394 | + | let aR = S(aN) | |
395 | + | [StringEntry(J(K), aM), IntegerEntry(aO, (aP + (c * 2))), IntegerEntry(m(aM), aQ), IntegerEntry(m(aN), aR)] | |
396 | + | } | |
397 | + | ||
398 | + | ||
399 | + | ||
400 | + | @Callable(W) | |
401 | + | func withdrawRewards () = { | |
402 | + | let Z = toBase58String(W.caller.bytes) | |
403 | + | let aJ = addressFromStringValue(getStringValue(f)) | |
404 | + | let aP = i(Q(Z)) | |
405 | + | let aK = fraction(aP, e, 100) | |
406 | + | let aS = ((aP - d) - aK) | |
407 | + | if ((0 >= aP)) | |
408 | + | then throw("No available rewards to withdraw") | |
409 | + | else [IntegerEntry(Q(Z), 0), ScriptTransfer(W.caller, aS, unit), ScriptTransfer(aJ, aK, unit)] | |
410 | + | } | |
411 | + | ||
412 | + | ||
413 | + | ||
414 | + | @Callable(W) | |
415 | + | func buyTickets () = { | |
416 | + | let Y = if ((size(W.payments) == 1)) | |
417 | + | then W.payments[0] | |
418 | + | else throw("Please attach exactly one payment") | |
419 | + | if (isDefined(Y.assetId)) | |
420 | + | then throw("Tickets can only ibe purchased in Waves") | |
421 | + | else if ((Y.amount != c)) | |
422 | + | then throw((("The payment must be of exactly " + toString(b)) + " waves")) | |
423 | + | else { | |
424 | + | let Z = toBase58String(W.caller.bytes) | |
425 | + | let aT = i(m(Z)) | |
426 | + | $Tuple2([IntegerEntry(m(Z), (aT + 1))], 1) | |
427 | + | } | |
428 | + | } | |
429 | + | ||
430 | + | ||
431 | + | @Verifier(aU) | |
432 | + | func aV () = sigVerify(aU.bodyBytes, aU.proofs[0], aU.senderPublicKey) | |
433 | + |
github/deemru/w8io/026f985 52.56 ms ◑