tx · EkQ3xTy35fxw4sFQQehHByyNBiM3NyUZWMJn8qTMLy7Y

3N9qNNh15o84HrRZa511KX2jQtgLcmqnEgR:  -0.01000000 Waves

2024.06.11 15:53 [3146119] smart account 3N9qNNh15o84HrRZa511KX2jQtgLcmqnEgR > SELF 0.00000000 Waves

{ "type": 13, "id": "EkQ3xTy35fxw4sFQQehHByyNBiM3NyUZWMJn8qTMLy7Y", "fee": 1000000, "feeAssetId": null, "timestamp": 1718110408650, "version": 2, "chainId": 84, "sender": "3N9qNNh15o84HrRZa511KX2jQtgLcmqnEgR", "senderPublicKey": "45oG8LXhBqNC5fxcA6iwy3DhLFnsEUzUBwEm7VrWtFSK", "proofs": [ "4e2GuQ2aGX59zCWoP1py7wZh8kX4YWgNHZeZo6ZWBToqUJMjUudvsDALQ6hQuvv9YDoWbfVArKU62FYkiFdAcAb6" ], "script": "base64:CAISCAISBgoECBgICBIECgIICBIAEAAUcHJlZGljdGlvbk1heENvdW50ZXIAAwAKbWF4Q291bnRlcgAGAA1kZWZhdWx0UmF0aW5nAGQADnJhdGVBZGp1c3RtZW50ABQAB3Rva2VuSWQBIG33eiemmz/8i1OVqeOeBVscIi9bTehRMFsBoQapAMYYAAxwYXlvdXRBbW91bnQAgOHrFwAMcmF0aW5nQ3V0b2ZmADIABXJfbWF4APQDAAVzY2FsZQBkARFzZWFyY2hGb3JDb3VudGVycwIGaXRlbUlkB2NvdW50ZXIEEXNlYXJjaEZvckNvdW50ZXJzBAckbWF0Y2gwCQCiCAEJAKwCAgkArAICBQZpdGVtSWQCAV8JAKQDAQUHY291bnRlcgMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXMFByRtYXRjaDAFAXMCB05vIFVzZXIFEXNlYXJjaEZvckNvdW50ZXJzAQ9zZWFyY2hGb3JSYXRpbmcBB2FkZHJlc3MEBnJhdGluZwQHJG1hdGNoMAkAnwgBCQCsAgIFB2FkZHJlc3MCB19yYXRpbmcDCQABAgUHJG1hdGNoMAIDSW50BAFyBQ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bAFpAQxyZWdpc3RlclVzZXIABAxjbGllbnRBZHJlc3MJAKUIAQgFAWkGY2FsbGVyBA1zZWFyY2hGb3JVc2VyBAckbWF0Y2gwCQCfCAEJAKwCAgUMY2xpZW50QWRyZXNzAgdfcmF0aW5nAwkAAQIFByRtYXRjaDACA0ludAQBcwUHJG1hdGNoMAUBcwD///////////8BAwkBAiE9AgUNc2VhcmNoRm9yVXNlcgD///////////8BCQACAQITVXNlciBhbHJlYWR5IGV4aXN0cwkAzAgCCQEMSW50ZWdlckVudHJ5AgkArAICBQxjbGllbnRBZHJlc3MCB19yYXRpbmcFDWRlZmF1bHRSYXRpbmcFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXlROVzv", "height": 3146119, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 77XM4E5pXgfanzLaPDvsfQwPA1pLgy6L9ZWyyQp1Q1JD Next: 4g7Tf82HcZ7n3JmGZSKkETgBA3jMm3DwDQQibHvvEGk6 Diff:
OldNewDifferences
257257 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)]
258258 }
259259 else if ((an >= b))
260- then [StringEntry(((k + "_") + toString(an)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry((k + "_counter"), an), BooleanEntry((k + "_cancelled"), true), BooleanEntry((k + "_final"), false), DeleteEntry(("updated_" + k)), StringEntry(("final_" + k), k)]
260+ 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)]
261261 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)]
262- 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)]
262+ else if ((an >= b))
263+ 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)]
264+ 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)]
263265 }
264266 }
265267 else {
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)
120120 H
121121 }
122122
123123
124124 func I (F,J,K,L) = {
125125 let M = ((F * i) / h)
126126 if ((L == 1))
127127 then {
128128 let N = ((K * (100 - M)) / i)
129129 (F + N)
130130 }
131131 else {
132132 let N = ((-(K) * (20 + M)) / i)
133133 (F + N)
134134 }
135135 }
136136
137137
138138 @Callable(O)
139139 func adjustRatingsAndPayoutParticipants (k,P,Q,R) = {
140140 let S = toString(O.caller)
141141 if ((S != toString(this)))
142142 then throw("You are not allowed to call this function")
143143 else {
144144 func T (U,p) = {
145145 let q = o(p)
146146 let w = s(k, p)
147147 let L = if ((w == R))
148148 then 1
149149 else 0
150150 let V = I(q, h, d, L)
151151 let H = if ((w == R))
152152 then true
153153 else false
154154 let W = (U :+ IntegerEntry((p + "_rating"), V))
155155 let X = E(V, h)
156156 if (H)
157157 then (W :+ ScriptTransfer(Address(fromBase58String(p)), X, e))
158158 else W
159159 }
160160
161161 let Y = {
162162 let Z = P
163163 let aa = size(Z)
164164 let ab = nil
165165 func ac (ad,ae) = if ((ae >= aa))
166166 then ad
167167 else T(ad, Z[ae])
168168
169169 func af (ad,ae) = if ((ae >= aa))
170170 then ad
171171 else throw("List size exceeds 5")
172172
173173 af(ac(ac(ac(ac(ac(ab, 0), 1), 2), 3), 4), 5)
174174 }
175175 (Y :+ BooleanEntry((k + "_adjusted"), true))
176176 }
177177 }
178178
179179
180180
181181 @Callable(O)
182182 func savePrediction (k,w) = {
183183 let ag = toString(O.caller)
184184 let ah = {
185185 let m = getInteger((ag + "_rating"))
186186 if ($isInstanceOf(m, "Int"))
187187 then {
188188 let n = m
189189 n
190190 }
191191 else "User does not exist"
192192 }
193193 if ((ah == "User does not exist"))
194194 then throw("User does not exist")
195195 else {
196196 let ai = {
197197 let m = getBoolean((k + "_final"))
198198 if ($isInstanceOf(m, "Boolean"))
199199 then {
200200 let n = m
201201 n
202202 }
203203 else false
204204 }
205205 if (ai)
206206 then throw("Final prediction already made")
207207 else {
208208 let aj = {
209209 let m = getBoolean((k + "_cancelled"))
210210 if ($isInstanceOf(m, "Boolean"))
211211 then {
212212 let n = m
213213 n
214214 }
215215 else false
216216 }
217217 if (aj)
218218 then throw("Final prediction already made")
219219 else {
220220 let ak = o(ag)
221221 if ((g >= ak))
222222 then throw("You are not allowed to participate anymore")
223223 else {
224224 let al = {
225225 let m = getInteger((k + "_counter"))
226226 if ($isInstanceOf(m, "Int"))
227227 then {
228228 let n = m
229229 n
230230 }
231231 else -1
232232 }
233233 if ((al >= 1))
234234 then {
235235 let y = x(k, al)
236236 if (containsElement(y, ag))
237237 then throw("This User already gave a Prediction")
238238 else {
239239 let am = {
240240 let m = getInteger(((k + "_prediction_") + w))
241241 if ($isInstanceOf(m, "Int"))
242242 then {
243243 let n = m
244244 n
245245 }
246246 else 404
247247 }
248248 let an = (al + 1)
249249 if ((am != 404))
250250 then if (((am + 1) == a))
251251 then {
252252 let V = I(ak, h, d, 1)
253253 let X = E(V, h)
254254 let ao = invoke(this, "adjustRatingsAndPayoutParticipants", [k, y, ag, w], nil)
255255 if ((ao != ao))
256256 then throw("Strict value is not equal to itself.")
257257 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)]
258258 }
259259 else if ((an >= b))
260- then [StringEntry(((k + "_") + toString(an)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry((k + "_counter"), an), BooleanEntry((k + "_cancelled"), true), BooleanEntry((k + "_final"), false), DeleteEntry(("updated_" + k)), StringEntry(("final_" + k), k)]
260+ 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)]
261261 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)]
262- 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)]
262+ else if ((an >= b))
263+ 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)]
264+ 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)]
263265 }
264266 }
265267 else {
266268 let ap = {
267269 let m = getString(("new_" + k))
268270 if ($isInstanceOf(m, "String"))
269271 then {
270272 let n = m
271273 n
272274 }
273275 else "Item not Found"
274276 }
275277 if ((ap == "Item not Found"))
276278 then throw("Item not found")
277279 else [StringEntry(((k + "_") + toString(1)), ag), StringEntry(((k + "_") + ag), w), IntegerEntry((k + "_counter"), 1), IntegerEntry((k + "_predictionCounter"), 1), DeleteEntry(("new_" + k)), StringEntry(("updated_" + k), k)]
278280 }
279281 }
280282 }
281283 }
282284 }
283285 }
284286
285287
286288
287289 @Callable(O)
288290 func registerUser () = {
289291 let ag = toString(O.caller)
290292 let ah = {
291293 let m = getInteger((ag + "_rating"))
292294 if ($isInstanceOf(m, "Int"))
293295 then {
294296 let n = m
295297 n
296298 }
297299 else -1
298300 }
299301 if ((ah != -1))
300302 then throw("User already exists")
301303 else [IntegerEntry((ag + "_rating"), c)]
302304 }
303305
304306
305307 @Verifier(aq)
306308 func ar () = sigVerify(aq.bodyBytes, aq.proofs[0], aq.senderPublicKey)
307309

github/deemru/w8io/169f3d6 
38.13 ms