tx · 8LKDibfKHGj9E1RBfYGGvLjH9WA7KgrHojioeZb46qjS

3N9Vv9CXkB2ET4xzKTdnhSeAsyWauKTyKA8:  -0.01000000 Waves

2024.06.20 18:44 [3159266] smart account 3N9Vv9CXkB2ET4xzKTdnhSeAsyWauKTyKA8 > SELF 0.00000000 Waves

{ "type": 13, "id": "8LKDibfKHGj9E1RBfYGGvLjH9WA7KgrHojioeZb46qjS", "fee": 1000000, "feeAssetId": null, "timestamp": 1718898323434, "version": 2, "chainId": 84, "sender": "3N9Vv9CXkB2ET4xzKTdnhSeAsyWauKTyKA8", "senderPublicKey": "4ewSXjRgKAtbD3mBB2dBrEQp5AFuzNtTEeRz4KFzpsSc", "proofs": [ "Qajrmnvy6eVqUwboWimHgsgqjy9HvjgKtnjkyZ1BCW2QT4Go3B6crD8cPdRjmu8VuytT5JACLRWvZShLkHJHsUJ" ], "script": "base64:CAISCAISBgoECBgICBIECgIICBIAEAAUcHJlZGljdGlvbk1heENvdW50ZXIArAIACm1heENvdW50ZXIAFAANZGVmYXVsdFJhdGluZwBkAA5yYXRlQWRqdXN0bWVudAAUAAd0b2tlbklkASBt93onpps//ItTlanjngVbHCIvW03oUTBbAaEGqQDGGAAMcGF5b3V0QW1vdW50AIDh6xcADHJhdGluZ0N1dG9mZgA8AAVyX21heAD0AwAFc2NhbGUAZAERc2VhcmNoRm9yQ291bnRlcnMCBml0ZW1JZAdjb3VudGVyBBFzZWFyY2hGb3JDb3VudGVycwQHJG1hdGNoMAkAoggBCQCsAgIJAKwCAgUGaXRlbUlkAgFfCQCkAwEFB2NvdW50ZXIDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFzBQckbWF0Y2gwBQFzAgdObyBVc2VyBRFzZWFyY2hGb3JDb3VudGVycwEPc2VhcmNoRm9yUmF0aW5nAQdhZGRyZXNzBAZyYXRpbmcEByRtYXRjaDAJAJ8IAQkArAICBQdhZGRyZXNzAgdfcmF0aW5nAwkAAQIFByRtYXRjaDACA0ludAQBcgUH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AgkArAICAgh1cGRhdGVkXwUGaXRlbUlkBQZpdGVtSWQFA25pbAFpAQxyZWdpc3RlclVzZXIABAxjbGllbnRBZHJlc3MJAKUIAQgFAWkGY2FsbGVyBA1zZWFyY2hGb3JVc2VyBAckbWF0Y2gwCQCfCAEJAKwCAgUMY2xpZW50QWRyZXNzAgdfcmF0aW5nAwkAAQIFByRtYXRjaDACA0ludAQBcwUHJG1hdGNoMAUBcwD///////////8BAwkBAiE9AgUNc2VhcmNoRm9yVXNlcgD///////////8BCQACAQITVXNlciBhbHJlYWR5IGV4aXN0cwkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICBQxjbGllbnRBZHJlc3MCB19yYXRpbmcFDWRlZmF1bHRSYXRpbmcFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkh553U", "height": 3159266, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BydT2JjBVd9Fb5nAhqDePv8A67qbEFU6v7pAnswgwiYv Next: none Diff:
OldNewDifferences
290290 }
291291 if ((ao == "Item not Found"))
292292 then throw("Item not found")
293- else [StringEntry(((k + "_") + toString(1)), af), StringEntry(((k + "_") + af), w), IntegerEntry((k + "_counter"), 1), IntegerEntry(((k + "_prediction_") + w), 1), DeleteEntry(("new_" + k)), StringEntry(("updated_" + k), k)]
293+ else [StringEntry(((k + "_") + toString(1)), af), StringEntry(((k + "_") + af), w), IntegerEntry((k + "_counter"), 1), IntegerEntry(((k + "_prediction_") + w), aj), DeleteEntry(("new_" + k)), StringEntry(("updated_" + k), k)]
294294 }
295295 }
296296 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 8 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 300
55
66 let b = 20
77
88 let c = 100
99
1010 let d = 20
1111
1212 let e = base58'8QGJvsXqJ43q5ksFymoPKF1NWWhwUfr2F7h52oeWgVhH'
1313
1414 let f = 50000000
1515
1616 let g = 60
1717
1818 let h = 500
1919
2020 let i = 100
2121
2222 func j (k,l) = {
2323 let j = {
2424 let m = getString(((k + "_") + toString(l)))
2525 if ($isInstanceOf(m, "String"))
2626 then {
2727 let n = m
2828 n
2929 }
3030 else "No User"
3131 }
3232 j
3333 }
3434
3535
3636 func o (p) = {
3737 let q = {
3838 let m = getInteger((p + "_rating"))
3939 if ($isInstanceOf(m, "Int"))
4040 then {
4141 let r = m
4242 r
4343 }
4444 else c
4545 }
4646 q
4747 }
4848
4949
5050 func s (k,t) = {
5151 let u = {
5252 let m = getString(((k + "_") + t))
5353 if ($isInstanceOf(m, "String"))
5454 then {
5555 let n = m
5656 n
5757 }
5858 else "Not Found"
5959 }
6060 u
6161 }
6262
6363
6464 func v (k,w) = {
6565 let u = {
6666 let m = getInteger(((k + "_prediction_") + w))
6767 if ($isInstanceOf(m, "Int"))
6868 then {
6969 let n = m
7070 n
7171 }
7272 else "Not Found"
7373 }
7474 u
7575 }
7676
7777
7878 func x (k,l) = {
7979 let y = if ((l >= 5))
8080 then {
8181 let z = j(k, 1)
8282 let A = j(k, 2)
8383 let B = j(k, 3)
8484 let C = j(k, 4)
8585 let D = j(k, 5)
8686 (((((nil :+ z) :+ A) :+ B) :+ C) :+ D)
8787 }
8888 else if ((l >= 4))
8989 then {
9090 let z = j(k, 1)
9191 let A = j(k, 2)
9292 let B = j(k, 3)
9393 let C = j(k, 4)
9494 ((((nil :+ z) :+ A) :+ B) :+ C)
9595 }
9696 else if ((l >= 3))
9797 then {
9898 let z = j(k, 1)
9999 let A = j(k, 2)
100100 let B = j(k, 3)
101101 (((nil :+ z) :+ A) :+ B)
102102 }
103103 else if ((l >= 2))
104104 then {
105105 let z = j(k, 1)
106106 let A = j(k, 2)
107107 ((nil :+ z) :+ A)
108108 }
109109 else {
110110 let z = j(k, 1)
111111 (nil :+ z)
112112 }
113113 y
114114 }
115115
116116
117117 func E (F,h) = {
118118 let G = ((F * 100) / h)
119119 let H = ((f * G) / 100)
120120 if ((0 >= H))
121121 then 1
122122 else H
123123 }
124124
125125
126126 func I (F,h,J,K) = {
127127 let L = ((F * i) / h)
128128 if ((K == 1))
129129 then {
130130 let M = ((J * (100 - L)) / i)
131131 (F + M)
132132 }
133133 else {
134134 let M = ((-(J) * (20 + L)) / i)
135135 (F + M)
136136 }
137137 }
138138
139139
140140 @Callable(N)
141141 func adjustRatingsAndPayoutParticipants (k,O,P,Q) = {
142142 let R = toString(N.caller)
143143 if ((R != toString(this)))
144144 then throw("You are not allowed to call this function")
145145 else {
146146 func S (T,p) = {
147147 let q = o(p)
148148 let w = s(k, p)
149149 let K = if ((w == Q))
150150 then 1
151151 else 0
152152 let U = I(q, h, d, K)
153153 let H = if ((w == Q))
154154 then true
155155 else false
156156 let V = (T :+ IntegerEntry((p + "_rating"), U))
157157 let W = E(U, h)
158158 if (H)
159159 then (V :+ ScriptTransfer(Address(fromBase58String(p)), W, e))
160160 else V
161161 }
162162
163163 let X = {
164164 let Y = O
165165 let Z = size(Y)
166166 let aa = nil
167167 func ab (ac,ad) = if ((ad >= Z))
168168 then ac
169169 else S(ac, Y[ad])
170170
171171 func ae (ac,ad) = if ((ad >= Z))
172172 then ac
173173 else throw("List size exceeds 5")
174174
175175 ae(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5)
176176 }
177177 (X :+ BooleanEntry((k + "_adjusted"), true))
178178 }
179179 }
180180
181181
182182
183183 @Callable(N)
184184 func savePrediction (k,w) = {
185185 let af = toString(N.caller)
186186 let ag = {
187187 let m = getInteger((af + "_rating"))
188188 if ($isInstanceOf(m, "Int"))
189189 then {
190190 let n = m
191191 n
192192 }
193193 else "User does not exist"
194194 }
195195 if ((ag == "User does not exist"))
196196 then throw("User does not exist")
197197 else {
198198 let ah = {
199199 let m = getBoolean((k + "_final"))
200200 if ($isInstanceOf(m, "Boolean"))
201201 then {
202202 let n = m
203203 n
204204 }
205205 else false
206206 }
207207 if (ah)
208208 then throw("Final prediction already made")
209209 else {
210210 let ai = {
211211 let m = getBoolean((k + "_cancelled"))
212212 if ($isInstanceOf(m, "Boolean"))
213213 then {
214214 let n = m
215215 n
216216 }
217217 else false
218218 }
219219 if (ai)
220220 then throw("Final prediction already made")
221221 else {
222222 let aj = o(af)
223223 if ((g >= aj))
224224 then throw("You are not allowed to participate anymore")
225225 else {
226226 let ak = {
227227 let m = getInteger((k + "_counter"))
228228 if ($isInstanceOf(m, "Int"))
229229 then {
230230 let n = m
231231 n
232232 }
233233 else -1
234234 }
235235 if ((ak >= 1))
236236 then {
237237 let y = x(k, ak)
238238 if (containsElement(y, af))
239239 then throw("This User already gave a Prediction")
240240 else {
241241 let al = {
242242 let m = getInteger(((k + "_prediction_") + w))
243243 if ($isInstanceOf(m, "Int"))
244244 then {
245245 let n = m
246246 n
247247 }
248248 else 404
249249 }
250250 let am = (ak + 1)
251251 if ((al != 404))
252252 then if (((al + aj) >= a))
253253 then {
254254 let U = I(aj, h, d, 1)
255255 let W = E(U, h)
256256 let an = invoke(this, "adjustRatingsAndPayoutParticipants", [k, y, af, w], nil)
257257 if ((an != an))
258258 then throw("Strict value is not equal to itself.")
259259 else [StringEntry(((k + "_") + toString(am)), af), StringEntry(((k + "_") + af), w), IntegerEntry(((k + "_prediction_") + w), (al + aj)), IntegerEntry((k + "_counter"), am), BooleanEntry((k + "_final"), true), BooleanEntry((k + "_cancelled"), false), DeleteEntry(("updated_" + k)), StringEntry(("final_" + k), k), ScriptTransfer(Address(fromBase58String(af)), W, e), IntegerEntry((af + "_rating"), U), StringEntry((k + "_final_prediction"), w)]
260260 }
261261 else if ((am >= b))
262262 then {
263263 let U = I(aj, h, d, 1)
264264 let an = invoke(this, "adjustRatingsAndPayoutParticipants", [k, y, af, "None"], nil)
265265 if ((an != an))
266266 then throw("Strict value is not equal to itself.")
267267 else [StringEntry(((k + "_") + toString(am)), af), StringEntry(((k + "_") + af), w), IntegerEntry(((k + "_prediction_") + w), (al + aj)), IntegerEntry((k + "_counter"), am), BooleanEntry((k + "_cancelled"), true), BooleanEntry((k + "_final"), false), DeleteEntry(("updated_" + k)), StringEntry(("final_" + k), k), IntegerEntry((af + "_rating"), U)]
268268 }
269269 else [StringEntry(((k + "_") + toString(am)), af), StringEntry(((k + "_") + af), w), IntegerEntry(((k + "_prediction_") + w), (al + aj)), IntegerEntry((k + "_counter"), am), BooleanEntry((k + "_final"), false), BooleanEntry((k + "_cancelled"), false)]
270270 else if ((am >= b))
271271 then {
272272 let U = I(aj, h, d, 1)
273273 let an = invoke(this, "adjustRatingsAndPayoutParticipants", [k, y, af, "None"], nil)
274274 if ((an != an))
275275 then throw("Strict value is not equal to itself.")
276276 else [StringEntry(((k + "_") + toString(am)), af), StringEntry(((k + "_") + af), w), IntegerEntry(((k + "_prediction_") + w), aj), IntegerEntry((k + "_counter"), am), BooleanEntry((k + "_cancelled"), true), BooleanEntry((k + "_final"), false), DeleteEntry(("updated_" + k)), StringEntry(("final_" + k), k), IntegerEntry((af + "_rating"), U)]
277277 }
278278 else [StringEntry(((k + "_") + toString(am)), af), StringEntry(((k + "_") + af), w), IntegerEntry(((k + "_prediction_") + w), aj), IntegerEntry((k + "_counter"), am), BooleanEntry((k + "_cancelled"), false), BooleanEntry((k + "_final"), false)]
279279 }
280280 }
281281 else {
282282 let ao = {
283283 let m = getString(("new_" + k))
284284 if ($isInstanceOf(m, "String"))
285285 then {
286286 let n = m
287287 n
288288 }
289289 else "Item not Found"
290290 }
291291 if ((ao == "Item not Found"))
292292 then throw("Item not found")
293- else [StringEntry(((k + "_") + toString(1)), af), StringEntry(((k + "_") + af), w), IntegerEntry((k + "_counter"), 1), IntegerEntry(((k + "_prediction_") + w), 1), DeleteEntry(("new_" + k)), StringEntry(("updated_" + k), k)]
293+ else [StringEntry(((k + "_") + toString(1)), af), StringEntry(((k + "_") + af), w), IntegerEntry((k + "_counter"), 1), IntegerEntry(((k + "_prediction_") + w), aj), DeleteEntry(("new_" + k)), StringEntry(("updated_" + k), k)]
294294 }
295295 }
296296 }
297297 }
298298 }
299299 }
300300
301301
302302
303303 @Callable(N)
304304 func registerUser () = {
305305 let af = toString(N.caller)
306306 let ag = {
307307 let m = getInteger((af + "_rating"))
308308 if ($isInstanceOf(m, "Int"))
309309 then {
310310 let n = m
311311 n
312312 }
313313 else -1
314314 }
315315 if ((ag != -1))
316316 then throw("User already exists")
317317 else [IntegerEntry((af + "_rating"), c)]
318318 }
319319
320320
321321 @Verifier(ap)
322322 func aq () = sigVerify(ap.bodyBytes, ap.proofs[0], ap.senderPublicKey)
323323

github/deemru/w8io/026f985 
41.08 ms