tx · 3aAfMSztm3AD95jQt92qQi43vj6uTAjsD42aCPCsZpPN

3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos:  -0.01400000 Waves

2024.05.21 16:41 [3115839] smart account 3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos > SELF 0.00000000 Waves

{ "type": 13, "id": "3aAfMSztm3AD95jQt92qQi43vj6uTAjsD42aCPCsZpPN", "fee": 1400000, "feeAssetId": null, "timestamp": 1716298899386, "version": 2, "chainId": 84, "sender": "3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos", "senderPublicKey": "F7SLwr7RYVQpyocmVScFC6ooaAwewaGq6wNRDYvyiPj1", "proofs": [ "4jigwFiq92oLDkdHCoCk1SMSHutHo4NWWmUAexReAQ2ATUfovruZ5cvZFRBHfE5XCjjDAEpSiPM3rLT7A941o4Ly" ], "script": "base64:AAIFAAAAAAAAABIIAhIGCgQIGAgIEgQKAggIEgAAAAAGAAAAABRwcmVkaWN0aW9uTWF4Q291bnRlcgAAAAAAAAAAAwAAAAAKbWF4Q291bnRlcgAAAAAAAAAABgAAAAANZGVmYXVsdFJhdGluZwAAAAAAAAAAZAEAAAARc2VhcmNoRm9yQ291bnRlcnMAAAACAAAABml0ZW1JZAAAAAdjb3VudGVyBAAAABFzZWFyY2hGb3JDb3VudGVycwQAAAAHJG1hdGNoMAkABCIAAAABCQABLAAAAAIJAAEsAAAAAgUAAAAGaXRlbUlkAgAAAAFfCQABpAAAAAEFAAAAB2NvdW50ZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABcwUAAAAHJG1hdGNoMAUAAAABcwIAAAAHTm8gVXNlcgUAAAARc2VhcmNoRm9yQ291bnRlcnMBAAAAGXNlYXJjaEZvckFkcmVzc1ByZWRpY3Rpb24AAAACAAAABml0ZW1JZAAAAAZhZHJlc3MEAAAAE3NlYXJjaEZvclByZWRpY3Rpb24EAAAAByRtYXRjaDAJAAQiAAAAAQkAASwAAAACCQABLA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0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkS8z6t", "height": 3115839, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E1PDUVGtGBEZHcXpw7EAcmTpNmuuUdZN5R9zfnchKhqY Next: 2FXyyNShVLvmPuoMdH5SrMT5HeJLoabgpoDdiF8PSLcw Diff:
OldNewDifferences
3737
3838 func l (e,f) = {
3939 let m = nil
40- if ((f >= 1))
40+ if ((f >= 5))
4141 then {
4242 let n = d(e, 1)
43- (m :+ n)
43+ let o = d(e, 2)
44+ let p = d(e, 3)
45+ let q = d(e, 4)
46+ let r = d(e, 5)
47+ (((((m :+ n) :+ o) :+ p) :+ q) :+ r)
4448 }
45- else if ((f >= 2))
49+ else if ((f >= 4))
4650 then {
4751 let n = d(e, 1)
4852 let o = d(e, 2)
49- ((m :+ n) :+ o)
53+ let p = d(e, 3)
54+ let q = d(e, 4)
55+ ((((m :+ n) :+ o) :+ p) :+ q)
5056 }
5157 else if ((f >= 3))
5258 then {
5561 let p = d(e, 3)
5662 (((m :+ n) :+ o) :+ p)
5763 }
58- else if ((f >= 4))
64+ else if ((f >= 2))
5965 then {
6066 let n = d(e, 1)
6167 let o = d(e, 2)
62- let p = d(e, 3)
63- let q = d(e, 4)
64- ((((m :+ n) :+ o) :+ p) :+ q)
68+ ((m :+ n) :+ o)
6569 }
6670 else {
6771 let n = d(e, 1)
68- let o = d(e, 2)
69- let p = d(e, 3)
70- let q = d(e, 4)
71- let r = d(e, 5)
72- (((((m :+ n) :+ o) :+ p) :+ q) :+ r)
72+ (m :+ n)
7373 }
7474 }
7575
140140 else [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z + 1)), BooleanEntry((e + "_final"), false), BooleanEntry((e + "_cancelled"), false)]
141141 else if ((C >= b))
142142 then [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z - 1)), BooleanEntry((e + "_cancelled"), true), BooleanEntry((e + "_final"), false)]
143- else [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z - 1)), BooleanEntry((e + "_cancelled"), false), BooleanEntry((e + "_final"), false), StringEntry("test", B), StringEntry("test2", m[1])]
143+ else [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z - 1)), BooleanEntry((e + "_cancelled"), false), BooleanEntry((e + "_final"), false), StringEntry("test", B), IntegerEntry("test2", size(m))]
144144 }
145145 }
146146 else {
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 func d (e,f) = {
1111 let d = {
1212 let g = getString(((e + "_") + toString(f)))
1313 if ($isInstanceOf(g, "String"))
1414 then {
1515 let h = g
1616 h
1717 }
1818 else "No User"
1919 }
2020 d
2121 }
2222
2323
2424 func i (e,j) = {
2525 let k = {
2626 let g = getString(((e + "_") + j))
2727 if ($isInstanceOf(g, "String"))
2828 then {
2929 let h = g
3030 h
3131 }
3232 else "Not Found"
3333 }
3434 k
3535 }
3636
3737
3838 func l (e,f) = {
3939 let m = nil
40- if ((f >= 1))
40+ if ((f >= 5))
4141 then {
4242 let n = d(e, 1)
43- (m :+ n)
43+ let o = d(e, 2)
44+ let p = d(e, 3)
45+ let q = d(e, 4)
46+ let r = d(e, 5)
47+ (((((m :+ n) :+ o) :+ p) :+ q) :+ r)
4448 }
45- else if ((f >= 2))
49+ else if ((f >= 4))
4650 then {
4751 let n = d(e, 1)
4852 let o = d(e, 2)
49- ((m :+ n) :+ o)
53+ let p = d(e, 3)
54+ let q = d(e, 4)
55+ ((((m :+ n) :+ o) :+ p) :+ q)
5056 }
5157 else if ((f >= 3))
5258 then {
5359 let n = d(e, 1)
5460 let o = d(e, 2)
5561 let p = d(e, 3)
5662 (((m :+ n) :+ o) :+ p)
5763 }
58- else if ((f >= 4))
64+ else if ((f >= 2))
5965 then {
6066 let n = d(e, 1)
6167 let o = d(e, 2)
62- let p = d(e, 3)
63- let q = d(e, 4)
64- ((((m :+ n) :+ o) :+ p) :+ q)
68+ ((m :+ n) :+ o)
6569 }
6670 else {
6771 let n = d(e, 1)
68- let o = d(e, 2)
69- let p = d(e, 3)
70- let q = d(e, 4)
71- let r = d(e, 5)
72- (((((m :+ n) :+ o) :+ p) :+ q) :+ r)
72+ (m :+ n)
7373 }
7474 }
7575
7676
7777 @Callable(s)
7878 func adjustRatingsAndPayoutParticipants (e,m,t,u) = nil
7979
8080
8181
8282 @Callable(s)
8383 func savePrediction (e,v) = {
8484 let w = toString(s.caller)
8585 let x = {
8686 let g = getInteger(w)
8787 if ($isInstanceOf(g, "Int"))
8888 then {
8989 let h = g
9090 h
9191 }
9292 else "no User exists"
9393 }
9494 if ((x == "no User exists"))
9595 then throw("User does not exist")
9696 else {
9797 let y = {
9898 let g = getInteger((e + "_counter"))
9999 if ($isInstanceOf(g, "Int"))
100100 then {
101101 let h = g
102102 h
103103 }
104104 else -1
105105 }
106106 if ((y >= 1))
107107 then {
108108 let m = l(e, y)
109109 if (containsElement(m, w))
110110 then throw("This User already gave a Prediction")
111111 else {
112112 let z = {
113113 let g = getInteger((e + "_predictionCounter"))
114114 if ($isInstanceOf(g, "Int"))
115115 then {
116116 let h = g
117117 h
118118 }
119119 else -1
120120 }
121121 let A = m[(size(m) - 1)]
122122 let B = {
123123 let g = getString(((e + "_") + A))
124124 if ($isInstanceOf(g, "String"))
125125 then {
126126 let h = g
127127 h
128128 }
129129 else "no Prediction Found"
130130 }
131131 let C = (y + 1)
132132 if ((B == v))
133133 then if (((z + 1) == a))
134134 then {
135135 let D = invoke(this, "adjustRatingsAndPayoutParticipants", [e, m, w, v], nil)
136136 if ((D != D))
137137 then throw("Strict value is not equal to itself.")
138138 else [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z + 1)), BooleanEntry((e + "_final"), true), BooleanEntry((e + "_cancelled"), false)]
139139 }
140140 else [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z + 1)), BooleanEntry((e + "_final"), false), BooleanEntry((e + "_cancelled"), false)]
141141 else if ((C >= b))
142142 then [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z - 1)), BooleanEntry((e + "_cancelled"), true), BooleanEntry((e + "_final"), false)]
143- else [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z - 1)), BooleanEntry((e + "_cancelled"), false), BooleanEntry((e + "_final"), false), StringEntry("test", B), StringEntry("test2", m[1])]
143+ else [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), (z - 1)), BooleanEntry((e + "_cancelled"), false), BooleanEntry((e + "_final"), false), StringEntry("test", B), IntegerEntry("test2", size(m))]
144144 }
145145 }
146146 else {
147147 let E = {
148148 let g = getString(("new_" + e))
149149 if ($isInstanceOf(g, "String"))
150150 then {
151151 let h = g
152152 h
153153 }
154154 else "not Found"
155155 }
156156 if ((E != e))
157157 then throw("Item not Found")
158158 else [StringEntry(((e + "_") + toString(1)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), 1), IntegerEntry((e + "_predictionCounter"), 1), DeleteEntry(("new_" + e))]
159159 }
160160 }
161161 }
162162
163163
164164
165165 @Callable(s)
166166 func registerUser () = {
167167 let w = toString(s.caller)
168168 let x = {
169169 let g = getInteger(w)
170170 if ($isInstanceOf(g, "Int"))
171171 then {
172172 let h = g
173173 h
174174 }
175175 else "No user found"
176176 }
177177 if ((x == "No user Found"))
178178 then throw("User already exists")
179179 else [IntegerEntry(w, c)]
180180 }
181181
182182
183183 @Verifier(F)
184184 func G () = sigVerify(F.bodyBytes, F.proofs[0], F.senderPublicKey)
185185

github/deemru/w8io/026f985 
31.05 ms