tx · 8GKfovNdPx94daFZHUpSV8YKdY2AmNHq2XXKvpzkh1eo

3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos:  -0.01400000 Waves

2024.05.28 11:21 [3125582] smart account 3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos > SELF 0.00000000 Waves

{ "type": 13, "id": "8GKfovNdPx94daFZHUpSV8YKdY2AmNHq2XXKvpzkh1eo", "fee": 1400000, "feeAssetId": null, "timestamp": 1716884580640, "version": 2, "chainId": 84, "sender": "3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos", "senderPublicKey": "F7SLwr7RYVQpyocmVScFC6ooaAwewaGq6wNRDYvyiPj1", "proofs": [ "5Kkj5FCKm7Ng5cDgQ9JuXQUSCdwTDnKASLnxyTDzp4e9mdCma1FPzEKJaLyHcLUZjXCfmCVe3bzVEQEgmFQJYk8X" ], "script": "base64:AAIFAAAAAAAAABIIAhIGCgQIGAgIEgQKAggIEgAAAAALAAAAABRwcmVkaWN0aW9uTWF4Q291bnRlcgAAAAAAAAAAAwAAAAAKbWF4Q291bnRlcgAAAAAAAAAABgAAAAANZGVmYXVsdFJhdGluZwAAAAAAAAAAZAAAAAAOcmF0ZUFkanVzdG1lbnQAAAAAAAAAABQAAAAAB3Rva2VuSWQBAAAAIG33eiemmz/8i1OVqeOeBVscIi9bTehRMFsBoQapAMYYAAAAAAxwYXlvdXRBbW91bnQAAAAAAAX14QAAAAAADHJhdGluZ0N1dG9mZgAAAAAAAAAAMgEAAAARc2VhcmNoRm9yQ291bnRlcnMAAAACAAAABml0ZW1JZAAAAAdjb3VudGVyBAAAABFzZWFyY2hGb3JDb3VudGVycwQAAAAHJG1hdGNoMAkABCIAAAABCQABLAAAAAIJAAEsAAAAAgUAAAAGaXRlbUlkAgAAAAFfCQABpAAAAAEFAAAAB2NvdW50ZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABcwUAAAAHJG1hdGNoMAUAAAABcwIAAAAHTm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AACCQABLAAAAAIFAAAABml0ZW1JZAIAAAASX3ByZWRpY3Rpb25Db3VudGVyAAAAAAAAAAABCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAAEsAAAAAgIAAAAEbmV3XwUAAAAGaXRlbUlkCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAIdXBkYXRlZF8FAAAABml0ZW1JZAUAAAAGaXRlbUlkBQAAAANuaWwAAAABaQEAAAAMcmVnaXN0ZXJVc2VyAAAAAAQAAAAMY2xpZW50QWRyZXNzCQAEJQAAAAEIBQAAAAFpAAAABmNhbGxlcgQAAAANc2VhcmNoRm9yVXNlcgQAAAAHJG1hdGNoMAkABB8AAAABBQAAAAxjbGllbnRBZHJlc3MDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABcwUAAAAHJG1hdGNoMAUAAAABcwD//////////wMJAQAAAAIhPQAAAAIFAAAADXNlYXJjaEZvclVzZXIA//////////8JAAACAAAAAQIAAAATVXNlciBhbHJlYWR5IGV4aXN0cwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAMY2xpZW50QWRyZXNzBQAAAA1kZWZhdWx0UmF0aW5nBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWTmS4I=", "height": 3125582, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DnyYzkkRAsvcMKwEZy6nZVgz3Xn53iy4wgbnr6HdpaXz Next: CG4LMwoRBTcQHvB95Nkr8qdzqZvHtDhShHnwfg2HLLwK Diff:
OldNewDifferences
9999 @Callable(A)
100100 func adjustRatingsAndPayoutParticipants (i,B,C,D) = {
101101 let E = toString(A.caller)
102- func F (G,n) = {
103- let o = m(n)
104- let H = q(i, n)
105- let I = if ((H == D))
106- then (o + d)
107- else (o - d)
108- let J = if ((H == D))
109- then f
110- else 0
111- let K = (G :+ IntegerEntry(n, I))
112- if ((J > 0))
113- then (K :+ ScriptTransfer(Address(fromBase58String(n)), J, e))
114- else K
115- }
102+ if ((E != toString(this)))
103+ then throw("You are not allowed to call this function")
104+ else {
105+ func F (G,n) = {
106+ let o = m(n)
107+ let H = q(i, n)
108+ let I = if ((H == D))
109+ then (o + d)
110+ else (o - d)
111+ let J = if ((H == D))
112+ then f
113+ else 0
114+ let K = (G :+ IntegerEntry(n, I))
115+ if ((J > 0))
116+ then (K :+ ScriptTransfer(Address(fromBase58String(n)), J, e))
117+ else K
118+ }
116119
117- let L = {
118- let M = B
119- let N = size(M)
120- let O = nil
121- func P (Q,R) = if ((R >= N))
122- then Q
123- else F(Q, M[R])
120+ let L = {
121+ let M = B
122+ let N = size(M)
123+ let O = nil
124+ func P (Q,R) = if ((R >= N))
125+ then Q
126+ else F(Q, M[R])
124127
125- func S (Q,R) = if ((R >= N))
126- then Q
127- else throw("List size exceeds 5")
128+ func S (Q,R) = if ((R >= N))
129+ then Q
130+ else throw("List size exceeds 5")
128131
129- S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
130- }
131- ((L :+ BooleanEntry((i + "_adjusted"), true)) :+ StringEntry("Test1", E))
132+ S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
133+ }
134+ (L :+ BooleanEntry((i + "_adjusted"), true))
135+ }
132136 }
133137
134138
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
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 = 100000000
1515
1616 let g = 50
1717
1818 func h (i,j) = {
1919 let h = {
2020 let k = getString(((i + "_") + toString(j)))
2121 if ($isInstanceOf(k, "String"))
2222 then {
2323 let l = k
2424 l
2525 }
2626 else "No User"
2727 }
2828 h
2929 }
3030
3131
3232 func m (n) = {
3333 let o = {
3434 let k = getInteger(n)
3535 if ($isInstanceOf(k, "Int"))
3636 then {
3737 let p = k
3838 p
3939 }
4040 else c
4141 }
4242 o
4343 }
4444
4545
4646 func q (i,r) = {
4747 let s = {
4848 let k = getString(((i + "_") + r))
4949 if ($isInstanceOf(k, "String"))
5050 then {
5151 let l = k
5252 l
5353 }
5454 else "Not Found"
5555 }
5656 s
5757 }
5858
5959
6060 func t (i,j) = {
6161 let u = if ((j >= 5))
6262 then {
6363 let v = h(i, 1)
6464 let w = h(i, 2)
6565 let x = h(i, 3)
6666 let y = h(i, 4)
6767 let z = h(i, 5)
6868 (((((nil :+ v) :+ w) :+ x) :+ y) :+ z)
6969 }
7070 else if ((j >= 4))
7171 then {
7272 let v = h(i, 1)
7373 let w = h(i, 2)
7474 let x = h(i, 3)
7575 let y = h(i, 4)
7676 ((((nil :+ v) :+ w) :+ x) :+ y)
7777 }
7878 else if ((j >= 3))
7979 then {
8080 let v = h(i, 1)
8181 let w = h(i, 2)
8282 let x = h(i, 3)
8383 (((nil :+ v) :+ w) :+ x)
8484 }
8585 else if ((j >= 2))
8686 then {
8787 let v = h(i, 1)
8888 let w = h(i, 2)
8989 ((nil :+ v) :+ w)
9090 }
9191 else {
9292 let v = h(i, 1)
9393 (nil :+ v)
9494 }
9595 u
9696 }
9797
9898
9999 @Callable(A)
100100 func adjustRatingsAndPayoutParticipants (i,B,C,D) = {
101101 let E = toString(A.caller)
102- func F (G,n) = {
103- let o = m(n)
104- let H = q(i, n)
105- let I = if ((H == D))
106- then (o + d)
107- else (o - d)
108- let J = if ((H == D))
109- then f
110- else 0
111- let K = (G :+ IntegerEntry(n, I))
112- if ((J > 0))
113- then (K :+ ScriptTransfer(Address(fromBase58String(n)), J, e))
114- else K
115- }
102+ if ((E != toString(this)))
103+ then throw("You are not allowed to call this function")
104+ else {
105+ func F (G,n) = {
106+ let o = m(n)
107+ let H = q(i, n)
108+ let I = if ((H == D))
109+ then (o + d)
110+ else (o - d)
111+ let J = if ((H == D))
112+ then f
113+ else 0
114+ let K = (G :+ IntegerEntry(n, I))
115+ if ((J > 0))
116+ then (K :+ ScriptTransfer(Address(fromBase58String(n)), J, e))
117+ else K
118+ }
116119
117- let L = {
118- let M = B
119- let N = size(M)
120- let O = nil
121- func P (Q,R) = if ((R >= N))
122- then Q
123- else F(Q, M[R])
120+ let L = {
121+ let M = B
122+ let N = size(M)
123+ let O = nil
124+ func P (Q,R) = if ((R >= N))
125+ then Q
126+ else F(Q, M[R])
124127
125- func S (Q,R) = if ((R >= N))
126- then Q
127- else throw("List size exceeds 5")
128+ func S (Q,R) = if ((R >= N))
129+ then Q
130+ else throw("List size exceeds 5")
128131
129- S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
130- }
131- ((L :+ BooleanEntry((i + "_adjusted"), true)) :+ StringEntry("Test1", E))
132+ S(P(P(P(P(P(O, 0), 1), 2), 3), 4), 5)
133+ }
134+ (L :+ BooleanEntry((i + "_adjusted"), true))
135+ }
132136 }
133137
134138
135139
136140 @Callable(A)
137141 func savePrediction (i,H) = {
138142 let T = toString(A.caller)
139143 let U = {
140144 let k = getInteger(T)
141145 if ($isInstanceOf(k, "Int"))
142146 then {
143147 let l = k
144148 l
145149 }
146150 else "User does not exist"
147151 }
148152 if ((U == "User does not exist"))
149153 then throw("User does not exist")
150154 else {
151155 let V = {
152156 let k = getBoolean((i + "_final"))
153157 if ($isInstanceOf(k, "Boolean"))
154158 then {
155159 let l = k
156160 l
157161 }
158162 else false
159163 }
160164 if (V)
161165 then throw("Final prediction already made")
162166 else {
163167 let W = {
164168 let k = getBoolean((i + "_cancelled"))
165169 if ($isInstanceOf(k, "Boolean"))
166170 then {
167171 let l = k
168172 l
169173 }
170174 else false
171175 }
172176 if (W)
173177 then throw("Final prediction already made")
174178 else {
175179 let X = m(T)
176180 if ((g >= X))
177181 then throw("You are not allowed to participate anymore")
178182 else {
179183 let Y = {
180184 let k = getInteger((i + "_counter"))
181185 if ($isInstanceOf(k, "Int"))
182186 then {
183187 let l = k
184188 l
185189 }
186190 else -1
187191 }
188192 if ((Y >= 1))
189193 then {
190194 let u = t(i, Y)
191195 if (containsElement(u, T))
192196 then throw("This User already gave a Prediction")
193197 else {
194198 let Z = {
195199 let k = getInteger((i + "_predictionCounter"))
196200 if ($isInstanceOf(k, "Int"))
197201 then {
198202 let l = k
199203 l
200204 }
201205 else -1
202206 }
203207 let aa = u[(size(u) - 1)]
204208 let ab = {
205209 let k = getString(((i + "_") + aa))
206210 if ($isInstanceOf(k, "String"))
207211 then {
208212 let l = k
209213 l
210214 }
211215 else "no Prediction Found"
212216 }
213217 let ac = (Y + 1)
214218 if ((ab == H))
215219 then if (((Z + 1) == a))
216220 then {
217221 let ad = invoke(this, "adjustRatingsAndPayoutParticipants", [i, u, T, H], nil)
218222 if ((ad != ad))
219223 then throw("Strict value is not equal to itself.")
220224 else [StringEntry(((i + "_") + toString(ac)), T), StringEntry(((i + "_") + T), H), IntegerEntry((i + "_counter"), ac), IntegerEntry((i + "_predictionCounter"), (Z + 1)), BooleanEntry((i + "_final"), true), BooleanEntry((i + "_cancelled"), false), ScriptTransfer(Address(fromBase58String(T)), f, e), IntegerEntry(T, (X + 20))]
221225 }
222226 else [StringEntry(((i + "_") + toString(ac)), T), StringEntry(((i + "_") + T), H), IntegerEntry((i + "_counter"), ac), IntegerEntry((i + "_predictionCounter"), (Z + 1)), BooleanEntry((i + "_final"), false), BooleanEntry((i + "_cancelled"), false)]
223227 else if ((ac >= b))
224228 then [StringEntry(((i + "_") + toString(ac)), T), StringEntry(((i + "_") + T), H), IntegerEntry((i + "_counter"), ac), IntegerEntry((i + "_predictionCounter"), (Z - 1)), BooleanEntry((i + "_cancelled"), true), BooleanEntry((i + "_final"), false)]
225229 else if (((Z - 1) == 0))
226230 then [StringEntry(((i + "_") + toString(ac)), T), StringEntry(((i + "_") + T), H), IntegerEntry((i + "_counter"), ac), IntegerEntry((i + "_predictionCounter"), 1), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", ab), IntegerEntry("test2", size(u))]
227231 else [StringEntry(((i + "_") + toString(ac)), T), StringEntry(((i + "_") + T), H), IntegerEntry((i + "_counter"), ac), IntegerEntry((i + "_predictionCounter"), (Z - 1)), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", ab), IntegerEntry("test2", size(u))]
228232 }
229233 }
230234 else {
231235 let ae = {
232236 let k = getString(("new_" + i))
233237 if ($isInstanceOf(k, "String"))
234238 then {
235239 let l = k
236240 l
237241 }
238242 else "Item not Found"
239243 }
240244 if ((ae == "Item not Found"))
241245 then throw("Item not found")
242246 else [StringEntry(((i + "_") + toString(1)), T), StringEntry(((i + "_") + T), H), IntegerEntry((i + "_counter"), 1), IntegerEntry((i + "_predictionCounter"), 1), DeleteEntry(("new_" + i)), StringEntry(("updated_" + i), i)]
243247 }
244248 }
245249 }
246250 }
247251 }
248252 }
249253
250254
251255
252256 @Callable(A)
253257 func registerUser () = {
254258 let T = toString(A.caller)
255259 let U = {
256260 let k = getInteger(T)
257261 if ($isInstanceOf(k, "Int"))
258262 then {
259263 let l = k
260264 l
261265 }
262266 else -1
263267 }
264268 if ((U != -1))
265269 then throw("User already exists")
266270 else [IntegerEntry(T, c)]
267271 }
268272
269273
270274 @Verifier(af)
271275 func ag () = sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey)
272276

github/deemru/w8io/026f985 
35.04 ms