tx · 2FXyyNShVLvmPuoMdH5SrMT5HeJLoabgpoDdiF8PSLcw 3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos: -0.01400000 Waves 2024.05.21 16:44 [3115842] smart account 3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos > SELF 0.00000000 Waves
{ "type": 13, "id": "2FXyyNShVLvmPuoMdH5SrMT5HeJLoabgpoDdiF8PSLcw", "fee": 1400000, "feeAssetId": null, "timestamp": 1716299098826, "version": 2, "chainId": 84, "sender": "3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos", "senderPublicKey": "F7SLwr7RYVQpyocmVScFC6ooaAwewaGq6wNRDYvyiPj1", "proofs": [ "4LdV4UjMbfNLeq3f25xS1CkiJwPXsUKz1rjEv33wqxL6dg7Ypw5KLP5YbWL6P99pDrwguBU6VZv6sqSZNAEmFtem" ], "script": "base64:AAIFAAAAAAAAABIIAhIGCgQIGAgIEgQKAggIEgAAAAAGAAAAABRwcmVkaWN0aW9uTWF4Q291bnRlcgAAAAAAAAAAAwAAAAAKbWF4Q291bnRlcgAAAAAAAAAABgAAAAANZGVmYXVsdFJhdGluZwAAAAAAAAAAZAEAAAARc2VhcmNoRm9yQ291bnRlcnMAAAACAAAABml0ZW1JZAAAAAdjb3VudGVyBAAAABFzZWFyY2hGb3JDb3VudGVycwQAAAAHJG1hdGNoMAkABCIAAAABCQABLAAAAAIJAAEsAAAAAgUAAAAGaXRlbUlkAgAAAAFfCQABpAAAAAEFAAAAB2NvdW50ZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABcwUAAAAHJG1hdGNoMAUAAAABcwIAAAAHTm8gVXNlcgUAAAARc2VhcmNoRm9yQ291bnRlcnMBAAAAGXNlYXJjaEZvckFkcmVzc1ByZWRpY3Rpb24AAAACAAAABml0ZW1JZAAAAAZhZHJlc3MEAAAAE3NlYXJjaEZvclByZWRpY3Rpb24EAAAAByRtYXRjaDAJAAQiAAAAAQkAASwAA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AAAAxjbGllbnRBZHJlc3MFAAAACnByZWRpY3Rpb24JAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgUAAAAGaXRlbUlkAgAAAAhfY291bnRlcgAAAAAAAAAAAQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAAZpdGVtSWQCAAAAEl9wcmVkaWN0aW9uQ291bnRlcgAAAAAAAAAAAQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQABLAAAAAICAAAABG5ld18FAAAABml0ZW1JZAUAAAADbmlsAAAAAWkBAAAADHJlZ2lzdGVyVXNlcgAAAAAEAAAADGNsaWVudEFkcmVzcwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIEAAAADXNlYXJjaEZvclVzZXIEAAAAByRtYXRjaDAJAAQfAAAAAQUAAAAMY2xpZW50QWRyZXNzAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAXMFAAAAByRtYXRjaDAFAAAAAXMCAAAADU5vIHVzZXIgZm91bmQDCQAAAAAAAAIFAAAADXNlYXJjaEZvclVzZXICAAAADU5vIHVzZXIgRm91bmQJAAACAAAAAQIAAAATVXNlciBhbHJlYWR5IGV4aXN0cwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAMY2xpZW50QWRyZXNzBQAAAA1kZWZhdWx0UmF0aW5nBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWDDuV0=", "height": 3115842, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3aAfMSztm3AD95jQt92qQi43vj6uTAjsD42aCPCsZpPN Next: FAyjkufmNgfkJFiCKR2gRt4HEe714gVsxQ9zyGJFSJHB Diff:
Old | New | Differences | |
---|---|---|---|
140 | 140 | 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)] | |
141 | 141 | else if ((C >= b)) | |
142 | 142 | 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), IntegerEntry("test2", size(m))] | |
143 | + | else if (((z - 1) == -1)) | |
144 | + | then [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), 0), BooleanEntry((e + "_cancelled"), false), BooleanEntry((e + "_final"), false), StringEntry("test", B), IntegerEntry("test2", size(m))] | |
145 | + | 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))] | |
144 | 146 | } | |
145 | 147 | } | |
146 | 148 | else { |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 3 | |
5 | 5 | ||
6 | 6 | let b = 6 | |
7 | 7 | ||
8 | 8 | let c = 100 | |
9 | 9 | ||
10 | 10 | func d (e,f) = { | |
11 | 11 | let d = { | |
12 | 12 | let g = getString(((e + "_") + toString(f))) | |
13 | 13 | if ($isInstanceOf(g, "String")) | |
14 | 14 | then { | |
15 | 15 | let h = g | |
16 | 16 | h | |
17 | 17 | } | |
18 | 18 | else "No User" | |
19 | 19 | } | |
20 | 20 | d | |
21 | 21 | } | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func i (e,j) = { | |
25 | 25 | let k = { | |
26 | 26 | let g = getString(((e + "_") + j)) | |
27 | 27 | if ($isInstanceOf(g, "String")) | |
28 | 28 | then { | |
29 | 29 | let h = g | |
30 | 30 | h | |
31 | 31 | } | |
32 | 32 | else "Not Found" | |
33 | 33 | } | |
34 | 34 | k | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func l (e,f) = { | |
39 | 39 | let m = nil | |
40 | 40 | if ((f >= 5)) | |
41 | 41 | then { | |
42 | 42 | let n = d(e, 1) | |
43 | 43 | let o = d(e, 2) | |
44 | 44 | let p = d(e, 3) | |
45 | 45 | let q = d(e, 4) | |
46 | 46 | let r = d(e, 5) | |
47 | 47 | (((((m :+ n) :+ o) :+ p) :+ q) :+ r) | |
48 | 48 | } | |
49 | 49 | else if ((f >= 4)) | |
50 | 50 | then { | |
51 | 51 | let n = d(e, 1) | |
52 | 52 | let o = d(e, 2) | |
53 | 53 | let p = d(e, 3) | |
54 | 54 | let q = d(e, 4) | |
55 | 55 | ((((m :+ n) :+ o) :+ p) :+ q) | |
56 | 56 | } | |
57 | 57 | else if ((f >= 3)) | |
58 | 58 | then { | |
59 | 59 | let n = d(e, 1) | |
60 | 60 | let o = d(e, 2) | |
61 | 61 | let p = d(e, 3) | |
62 | 62 | (((m :+ n) :+ o) :+ p) | |
63 | 63 | } | |
64 | 64 | else if ((f >= 2)) | |
65 | 65 | then { | |
66 | 66 | let n = d(e, 1) | |
67 | 67 | let o = d(e, 2) | |
68 | 68 | ((m :+ n) :+ o) | |
69 | 69 | } | |
70 | 70 | else { | |
71 | 71 | let n = d(e, 1) | |
72 | 72 | (m :+ n) | |
73 | 73 | } | |
74 | 74 | } | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | @Callable(s) | |
78 | 78 | func adjustRatingsAndPayoutParticipants (e,m,t,u) = nil | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | ||
82 | 82 | @Callable(s) | |
83 | 83 | func savePrediction (e,v) = { | |
84 | 84 | let w = toString(s.caller) | |
85 | 85 | let x = { | |
86 | 86 | let g = getInteger(w) | |
87 | 87 | if ($isInstanceOf(g, "Int")) | |
88 | 88 | then { | |
89 | 89 | let h = g | |
90 | 90 | h | |
91 | 91 | } | |
92 | 92 | else "no User exists" | |
93 | 93 | } | |
94 | 94 | if ((x == "no User exists")) | |
95 | 95 | then throw("User does not exist") | |
96 | 96 | else { | |
97 | 97 | let y = { | |
98 | 98 | let g = getInteger((e + "_counter")) | |
99 | 99 | if ($isInstanceOf(g, "Int")) | |
100 | 100 | then { | |
101 | 101 | let h = g | |
102 | 102 | h | |
103 | 103 | } | |
104 | 104 | else -1 | |
105 | 105 | } | |
106 | 106 | if ((y >= 1)) | |
107 | 107 | then { | |
108 | 108 | let m = l(e, y) | |
109 | 109 | if (containsElement(m, w)) | |
110 | 110 | then throw("This User already gave a Prediction") | |
111 | 111 | else { | |
112 | 112 | let z = { | |
113 | 113 | let g = getInteger((e + "_predictionCounter")) | |
114 | 114 | if ($isInstanceOf(g, "Int")) | |
115 | 115 | then { | |
116 | 116 | let h = g | |
117 | 117 | h | |
118 | 118 | } | |
119 | 119 | else -1 | |
120 | 120 | } | |
121 | 121 | let A = m[(size(m) - 1)] | |
122 | 122 | let B = { | |
123 | 123 | let g = getString(((e + "_") + A)) | |
124 | 124 | if ($isInstanceOf(g, "String")) | |
125 | 125 | then { | |
126 | 126 | let h = g | |
127 | 127 | h | |
128 | 128 | } | |
129 | 129 | else "no Prediction Found" | |
130 | 130 | } | |
131 | 131 | let C = (y + 1) | |
132 | 132 | if ((B == v)) | |
133 | 133 | then if (((z + 1) == a)) | |
134 | 134 | then { | |
135 | 135 | let D = invoke(this, "adjustRatingsAndPayoutParticipants", [e, m, w, v], nil) | |
136 | 136 | if ((D != D)) | |
137 | 137 | then throw("Strict value is not equal to itself.") | |
138 | 138 | 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)] | |
139 | 139 | } | |
140 | 140 | 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)] | |
141 | 141 | else if ((C >= b)) | |
142 | 142 | 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), IntegerEntry("test2", size(m))] | |
143 | + | else if (((z - 1) == -1)) | |
144 | + | then [StringEntry(((e + "_") + toString(C)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), C), IntegerEntry((e + "_predictionCounter"), 0), BooleanEntry((e + "_cancelled"), false), BooleanEntry((e + "_final"), false), StringEntry("test", B), IntegerEntry("test2", size(m))] | |
145 | + | 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))] | |
144 | 146 | } | |
145 | 147 | } | |
146 | 148 | else { | |
147 | 149 | let E = { | |
148 | 150 | let g = getString(("new_" + e)) | |
149 | 151 | if ($isInstanceOf(g, "String")) | |
150 | 152 | then { | |
151 | 153 | let h = g | |
152 | 154 | h | |
153 | 155 | } | |
154 | 156 | else "not Found" | |
155 | 157 | } | |
156 | 158 | if ((E != e)) | |
157 | 159 | then throw("Item not Found") | |
158 | 160 | else [StringEntry(((e + "_") + toString(1)), w), StringEntry(((e + "_") + w), v), IntegerEntry((e + "_counter"), 1), IntegerEntry((e + "_predictionCounter"), 1), DeleteEntry(("new_" + e))] | |
159 | 161 | } | |
160 | 162 | } | |
161 | 163 | } | |
162 | 164 | ||
163 | 165 | ||
164 | 166 | ||
165 | 167 | @Callable(s) | |
166 | 168 | func registerUser () = { | |
167 | 169 | let w = toString(s.caller) | |
168 | 170 | let x = { | |
169 | 171 | let g = getInteger(w) | |
170 | 172 | if ($isInstanceOf(g, "Int")) | |
171 | 173 | then { | |
172 | 174 | let h = g | |
173 | 175 | h | |
174 | 176 | } | |
175 | 177 | else "No user found" | |
176 | 178 | } | |
177 | 179 | if ((x == "No user Found")) | |
178 | 180 | then throw("User already exists") | |
179 | 181 | else [IntegerEntry(w, c)] | |
180 | 182 | } | |
181 | 183 | ||
182 | 184 | ||
183 | 185 | @Verifier(F) | |
184 | 186 | func G () = sigVerify(F.bodyBytes, F.proofs[0], F.senderPublicKey) | |
185 | 187 |
github/deemru/w8io/026f985 60.94 ms ◑