tx · HTqDQAda7LeSL1fqZjyHouKAzBu7eg6r5kaVyFDoUnUv

3MsWCoaYDNCfHR8VzPB3cwLMrt7xfQWcWZJ:  -0.01000000 Waves

2024.06.11 17:29 [3146210] smart account 3MsWCoaYDNCfHR8VzPB3cwLMrt7xfQWcWZJ > SELF 0.00000000 Waves

{ "type": 13, "id": "HTqDQAda7LeSL1fqZjyHouKAzBu7eg6r5kaVyFDoUnUv", "fee": 1000000, "feeAssetId": null, "timestamp": 1718116226643, "version": 2, "chainId": 84, "sender": "3MsWCoaYDNCfHR8VzPB3cwLMrt7xfQWcWZJ", "senderPublicKey": "97GV9vh8gVwcCVk5uVkuYSiKY9tAhptVmzhp87xY9wKy", "proofs": [ "4ypesWmmWDVzQbyvijuV9QnWVx3Xmhb7uSwicu5w187ZqmpSkUbkn26CCZVMkXtsTTzeqAcQuXpT9d1T7w7bGgDV" ], "script": "base64:CAISCAISBgoECBgICBIECgIICBIAEAAUcHJlZGljdGlvbk1heENvdW50ZXIAAwAKbWF4Q291bnRlcgAGAA1kZWZhdWx0UmF0aW5nAGQADnJhdGVBZGp1c3RtZW50ABQAB3Rva2VuSWQBIG33eiemmz/8i1OVqeOeBVscIi9bTehRMFsBoQapAMYYAAxwYXlvdXRBbW91bnQAgOHrFwAMcmF0aW5nQ3V0b2ZmADIABXJfbWF4APQDAAVzY2FsZQBkARFzZWFyY2hGb3JDb3VudGVycwIGaXRlbUlkB2NvdW50ZXIEEXNlYXJjaEZvckNvdW50ZXJzBAckbWF0Y2gwCQCiCAEJAKwCAgkArAICBQZpdGVtSWQCAV8JAKQDAQUHY291bnRlcgMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXMFByRtYXRjaDAFAXMCB05vIFVzZXIFEXNlYXJjaEZvckNvdW50ZXJzAQ9zZWFyY2hGb3JSYXRpbmcBB2FkZHJlc3MEBnJhdGluZwQHJG1hdGNoMAkAnwgBCQCsAgIFB2FkZHJlc3MCB19yYXRpbmcDCQABAgUHJG1hdGNoMA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DHJlZ2lzdGVyVXNlcgAEDGNsaWVudEFkcmVzcwkApQgBCAUBaQZjYWxsZXIEDXNlYXJjaEZvclVzZXIEByRtYXRjaDAJAJ8IAQkArAICBQxjbGllbnRBZHJlc3MCB19yYXRpbmcDCQABAgUHJG1hdGNoMAIDSW50BAFzBQckbWF0Y2gwBQFzAP///////////wEDCQECIT0CBQ1zZWFyY2hGb3JVc2VyAP///////////wEJAAIBAhNVc2VyIGFscmVhZHkgZXhpc3RzCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIFDGNsaWVudEFkcmVzcwIHX3JhdGluZwUNZGVmYXVsdFJhdGluZwUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleV4pXlY=", "height": 3146210, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CXtZxmiLbCS1WyiDGNyzE5hJBam3ruiHYHnx2c97dYzD Next: 4qa52T7FpFtiCvsX4B6azX2FzUDvUtz3HJizxep4Zgds Diff:
OldNewDifferences
117117 func E (F,h) = {
118118 let G = ((F * 100) / h)
119119 let H = ((f * G) / 100)
120- H
120+ if ((0 >= H))
121+ then 1
122+ else H
121123 }
122124
123125
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 8 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 3
55
66 let b = 6
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 = 50
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)
120- H
120+ if ((0 >= H))
121+ then 1
122+ else H
121123 }
122124
123125
124126 func I (F,J,K,L) = {
125127 let M = ((F * i) / h)
126128 if ((L == 1))
127129 then {
128130 let N = ((K * (100 - M)) / i)
129131 (F + N)
130132 }
131133 else {
132134 let N = -70
133135 (F + N)
134136 }
135137 }
136138
137139
138140 @Callable(O)
139141 func adjustRatingsAndPayoutParticipants (k,P,Q,R) = {
140142 let S = toString(O.caller)
141143 if ((S != toString(this)))
142144 then throw("You are not allowed to call this function")
143145 else {
144146 func T (U,p) = {
145147 let q = o(p)
146148 let w = s(k, p)
147149 let L = if ((w == R))
148150 then 1
149151 else 0
150152 let V = I(q, h, d, L)
151153 let H = if ((w == R))
152154 then true
153155 else false
154156 let W = (U :+ IntegerEntry((p + "_rating"), V))
155157 let X = E(V, h)
156158 if (H)
157159 then (W :+ ScriptTransfer(Address(fromBase58String(p)), X, e))
158160 else W
159161 }
160162
161163 let Y = {
162164 let Z = P
163165 let aa = size(Z)
164166 let ab = nil
165167 func ac (ad,ae) = if ((ae >= aa))
166168 then ad
167169 else T(ad, Z[ae])
168170
169171 func af (ad,ae) = if ((ae >= aa))
170172 then ad
171173 else throw("List size exceeds 5")
172174
173175 af(ac(ac(ac(ac(ac(ab, 0), 1), 2), 3), 4), 5)
174176 }
175177 (Y :+ BooleanEntry((k + "_adjusted"), true))
176178 }
177179 }
178180
179181
180182
181183 @Callable(O)
182184 func savePrediction (k,w) = {
183185 let ag = toString(O.caller)
184186 let ah = {
185187 let m = getInteger((ag + "_rating"))
186188 if ($isInstanceOf(m, "Int"))
187189 then {
188190 let n = m
189191 n
190192 }
191193 else "User does not exist"
192194 }
193195 if ((ah == "User does not exist"))
194196 then throw("User does not exist")
195197 else {
196198 let ai = {
197199 let m = getBoolean((k + "_final"))
198200 if ($isInstanceOf(m, "Boolean"))
199201 then {
200202 let n = m
201203 n
202204 }
203205 else false
204206 }
205207 if (ai)
206208 then throw("Final prediction already made")
207209 else {
208210 let aj = {
209211 let m = getBoolean((k + "_cancelled"))
210212 if ($isInstanceOf(m, "Boolean"))
211213 then {
212214 let n = m
213215 n
214216 }
215217 else false
216218 }
217219 if (aj)
218220 then throw("Final prediction already made")
219221 else {
220222 let ak = o(ag)
221223 if ((g >= ak))
222224 then throw("You are not allowed to participate anymore")
223225 else {
224226 let al = {
225227 let m = getInteger((k + "_counter"))
226228 if ($isInstanceOf(m, "Int"))
227229 then {
228230 let n = m
229231 n
230232 }
231233 else -1
232234 }
233235 if ((al >= 1))
234236 then {
235237 let y = x(k, al)
236238 if (containsElement(y, ag))
237239 then throw("This User already gave a Prediction")
238240 else {
239241 let am = {
240242 let m = getInteger(((k + "_prediction_") + w))
241243 if ($isInstanceOf(m, "Int"))
242244 then {
243245 let n = m
244246 n
245247 }
246248 else 404
247249 }
248250 let an = (al + 1)
249251 if ((am != 404))
250252 then if (((am + 1) == a))
251253 then {
252254 let V = I(ak, h, d, 1)
253255 let X = E(V, h)
254256 let ao = invoke(this, "adjustRatingsAndPayoutParticipants", [k, y, ag, w], nil)
255257 if ((ao != ao))
256258 then throw("Strict value is not equal to itself.")
257259 else [StringEntry(((k + "_") + toString(an)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry(((k + "_prediction_") + w), (am + 1)), IntegerEntry((k + "_counter"), an), BooleanEntry((k + "_final"), true), BooleanEntry((k + "_cancelled"), false), DeleteEntry(("updated_" + k)), StringEntry(("final_" + k), k), ScriptTransfer(Address(fromBase58String(ag)), X, e), IntegerEntry((ag + "_rating"), V), StringEntry((k + "_final_prediction"), w)]
258260 }
259261 else if ((an >= b))
260262 then [StringEntry(((k + "_") + toString(an)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry(((k + "_prediction_") + w), (am + 1)), IntegerEntry((k + "_counter"), an), BooleanEntry((k + "_cancelled"), true), BooleanEntry((k + "_final"), false), DeleteEntry(("updated_" + k)), StringEntry(("final_" + k), k)]
261263 else [StringEntry(((k + "_") + toString(an)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry(((k + "_prediction_") + w), (am + 1)), IntegerEntry((k + "_counter"), an), BooleanEntry((k + "_final"), false), BooleanEntry((k + "_cancelled"), false)]
262264 else if ((an >= b))
263265 then [StringEntry(((k + "_") + toString(an)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry(((k + "_prediction_") + w), 1), IntegerEntry((k + "_counter"), an), BooleanEntry((k + "_cancelled"), true), BooleanEntry((k + "_final"), false), DeleteEntry(("updated_" + k)), StringEntry(("final_" + k), k)]
264266 else [StringEntry(((k + "_") + toString(an)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry(((k + "_prediction_") + w), 1), IntegerEntry((k + "_counter"), an), BooleanEntry((k + "_cancelled"), false), BooleanEntry((k + "_final"), false)]
265267 }
266268 }
267269 else {
268270 let ap = {
269271 let m = getString(("new_" + k))
270272 if ($isInstanceOf(m, "String"))
271273 then {
272274 let n = m
273275 n
274276 }
275277 else "Item not Found"
276278 }
277279 if ((ap == "Item not Found"))
278280 then throw("Item not found")
279281 else [StringEntry(((k + "_") + toString(1)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry((k + "_counter"), 1), IntegerEntry(((k + "_prediction_") + w), 1), DeleteEntry(("new_" + k)), StringEntry(("updated_" + k), k)]
280282 }
281283 }
282284 }
283285 }
284286 }
285287 }
286288
287289
288290
289291 @Callable(O)
290292 func registerUser () = {
291293 let ag = toString(O.caller)
292294 let ah = {
293295 let m = getInteger((ag + "_rating"))
294296 if ($isInstanceOf(m, "Int"))
295297 then {
296298 let n = m
297299 n
298300 }
299301 else -1
300302 }
301303 if ((ah != -1))
302304 then throw("User already exists")
303305 else [IntegerEntry((ag + "_rating"), c)]
304306 }
305307
306308
307309 @Verifier(aq)
308310 func ar () = sigVerify(aq.bodyBytes, aq.proofs[0], aq.senderPublicKey)
309311

github/deemru/w8io/026f985 
34.48 ms