tx · BUGgRT9xfAthJ1syRHWy9tRPS3BVykAJjH7AZFGy2TgE

3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7:  -0.01400000 Waves

2021.07.31 19:56 [1638077] smart account 3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7 > SELF 0.00000000 Waves

{ "type": 13, "id": "BUGgRT9xfAthJ1syRHWy9tRPS3BVykAJjH7AZFGy2TgE", "fee": 1400000, "feeAssetId": null, "timestamp": 1627750585039, "version": 2, "chainId": 84, "sender": "3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7", "senderPublicKey": "3tp5fNYyPi4jMnkf6s1k4kBqvJ7nm57SxzvLyi8RkxT2", "proofs": [ "2LZGaaHg9p7KpmM8TU8QtqHFaaseEhviQ2AwW7nZLdU6cAe9Pgy8zJzJ43yP2S4xcU1VpPuyXuZUqWTyiRGvmkGD" ], "script": "base64:AAIEAAAAAAAAAC8IAhIDCgEIEgYKBAgBCAESBwoFCAgBCAESAwoBCBIDCgEIEgQKAggIEgUKAwgICAAAACIAAAAABE5PTkUCAAAABE5PTkUAAAAABlZPVEVSUwAAAAAAAAAAAwAAAAAGUVVPUlVNAAAAAAAAAAACAAAAAAhGRUFUVVJFRAIAAAAIZmVhdHVyZWQAAAAACERFTElTVEVEAgAAAAhkZWxpc3RlZAAAAAAGVk9USU5HAgAAAAZ2b3RpbmcAAAAABlJFVkVBTAIAAAAGcmV2ZWFsAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhBQAAAAROT05FAQAAAA9nZXRJbnRlZ2VyQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAA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ZWN0BAAAAAluZXdTdGF0dXMDCQAAZwAAAAIFAAAADW5ld1ZvdGVzQ291bnQFAAAABlFVT1JVTQUAAAAEdm90ZQUAAAAGUkVWRUFMCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAxnZXRLZXlSZXZlYWwAAAACBQAAAARpdGVtBQAAAAR1c2VyBQAAAAR2b3RlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQEAAAAQZ2V0S2V5Vm90ZXNDb3VudAAAAAIFAAAABGl0ZW0FAAAABHVzZXIFAAAADW5ld1ZvdGVzQ291bnQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkBAAAAEGdldEtleUl0ZW1TdGF0dXMAAAABBQAAAARpdGVtBQAAAAluZXdTdGF0dXMFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkHmH3dlA==", "height": 1638077, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9y6jWuaC3kozzLLk4BsqxqwDJ2kU1bZdC5nrQGP51Hcq Next: 6fVaqvvStosUw9oDXN6ACyBGwjNRBhQN4bhuqCDRX36m Diff:
OldNewDifferences
6161 func x (u) = (u + "_data")
6262
6363
64-func y (u,z) = (((u + "_") + z) + "_commit")
64+func y (u) = (u + "_expiredate")
6565
6666
67-func A (u) = (u + "_cmtcnt")
67+func z (u,A) = (((u + "_") + A) + "_commit")
6868
6969
70-func B (u,z) = (((u + "_") + z) + "_reveal")
70+func B (u) = (u + "_cmtcnt")
7171
7272
73-func C (u) = (u + "_status")
73+func C (u,A) = (((u + "_") + A) + "_reveal")
7474
7575
76-func D (u,E) = ((u + "_res:") + E)
76+func D (u) = (u + "_status")
7777
7878
79-func F (z,u) = (((u + "_") + z) + "_cnt")
79+func E (u,F) = ((u + "_res:") + F)
8080
8181
82-func G (n) = (n + "_balance")
82+func G (A,u) = (((u + "_") + A) + "_cnt")
8383
8484
85-func H (n) = {
86- let I = G(n)
87- let j = getInteger(this, I)
85+func H (n) = (n + "_balance")
86+
87+
88+func I (n) = {
89+ let J = H(n)
90+ let j = getInteger(this, J)
8891 if ($isInstanceOf(j, "Int"))
8992 then {
9093 let k = j
9497 }
9598
9699
97-func J (z,u) = {
98- let K = F(z, u)
99- let j = getInteger(this, K)
100+func K (A,u) = {
101+ let L = G(A, u)
102+ let j = getInteger(this, L)
100103 if ($isInstanceOf(j, "Int"))
101104 then {
102105 let k = j
106109 }
107110
108111
109-func L (u) = {
110- let M = w(u)
111- getIntegerValue(this, M)
112+func M (u) = {
113+ let N = w(u)
114+ getIntegerValue(this, N)
112115 }
113116
114117
115-func N (n) = h(t(n))
118+func O (u) = h(t(u))
116119
117120
118-func O (u,z) = h(y(u, z))
121+func P (u) = l(y(u))
119122
120123
121-func P (u) = l(A(u))
124+func Q (u,A) = h(z(u, A))
122125
123126
124-func Q (u,z) = h(B(u, z))
127+func R (u) = l(B(u))
125128
126129
127-func R (u) = h(C(u))
130+func S (u,A) = h(C(u, A))
128131
129132
130-func S (u,E) = l(D(u, E))
133+func T (u) = h(D(u))
131134
132135
133-@Callable(T)
134-func registerSupplier (U) = {
135- let q = toBase58String(T.caller.bytes)
136+func U (u,F) = l(E(u, F))
137+
138+
139+@Callable(V)
140+func registerSupplier (W) = {
141+ let q = toBase58String(V.caller.bytes)
136142 let n = o(q)
137143 if ((n != a))
138144 then throw("This address has already registred as supplier")
139- else [StringEntry(m(q), U)]
145+ else [StringEntry(m(q), W)]
140146 }
141147
142148
143149
144-@Callable(T)
145-func addItem (r,V,U) = {
146- let q = toBase58String(T.caller.bytes)
150+@Callable(V)
151+func addItem (r,X,W,Y) = {
152+ let q = toBase58String(V.caller.bytes)
147153 let n = o(q)
148154 let u = p(q, r)
149155 if ((n == a))
150156 then throw("You should register as supplier to add an item")
151- else if ((0 >= V))
157+ else if ((0 >= X))
152158 then throw("Purchase amount cannot be less than item price")
153- else if ((N(u) != a))
159+ else if ((O(u) != a))
154160 then throw("An item already exists")
155- else [StringEntry(t(u), q), StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
161+ else [StringEntry(t(u), q), StringEntry(v(u), r), IntegerEntry(w(u), X), StringEntry(x(u), W), IntegerEntry(y(u), Y)]
156162 }
157163
158164
159165
160-@Callable(T)
161-func updateItem (u,r,V,U) = {
162- let q = toBase58String(T.caller.bytes)
166+@Callable(V)
167+func updateItem (u,r,X,W,Y) = {
168+ let q = toBase58String(V.caller.bytes)
163169 let n = o(q)
164- let W = N(u)
170+ let Z = O(u)
165171 if ((n == a))
166172 then throw("You should register as supplier to remove an item")
167173 else if (if ((u == a))
168174 then true
169- else (q != W))
175+ else (q != Z))
170176 then throw(("You don't owned item " + u))
171- else [StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
177+ else [StringEntry(v(u), r), IntegerEntry(w(u), X), StringEntry(x(u), W), IntegerEntry(y(u), Y)]
172178 }
173179
174180
175181
176-@Callable(T)
182+@Callable(V)
177183 func removeItem (u) = {
178- let q = toBase58String(T.caller.bytes)
184+ let q = toBase58String(V.caller.bytes)
179185 let n = o(q)
180- let W = N(u)
186+ let Z = O(u)
181187 if ((n == a))
182188 then throw("You should register as supplier to remove an item")
183189 else if (if ((u == a))
184190 then true
185- else (q != W))
191+ else (q != Z))
186192 then throw(("You don't owned item " + u))
187- else [DeleteEntry(t(u)), DeleteEntry(v(u)), DeleteEntry(w(u)), DeleteEntry(x(u))]
193+ else [DeleteEntry(t(u)), DeleteEntry(v(u)), DeleteEntry(w(u)), DeleteEntry(x(u)), DeleteEntry(y(u))]
188194 }
189195
190196
191197
192-@Callable(T)
198+@Callable(V)
193199 func purchase (u) = {
194- let X = T.payments[0]
195- if (isDefined(X.assetId))
200+ let aa = V.payments[0]
201+ if (isDefined(aa.assetId))
196202 then throw("You can buy tokens only with Waves tokens")
197203 else {
198- let Y = toBase58String(T.caller.bytes)
199- let V = L(u)
200- let q = N(u)
201- if ((V > X.amount))
204+ let ab = toBase58String(V.caller.bytes)
205+ let X = M(u)
206+ let q = O(u)
207+ if ((X > aa.amount))
202208 then throw("Purchase amount cannot be less than item price")
203- else if ((X.amount > V))
209+ else if ((aa.amount > X))
204210 then throw("Purchase amount cannot be higher than item price")
205211 else if ((q == a))
206212 then throw("Supplier does not exists")
207213 else {
208- let Z = F(Y, u)
209- let aa = (J(Y, u) + 1)
210- let I = G(q)
211- let ab = (H(q) + X.amount)
212-[IntegerEntry(Z, aa), IntegerEntry(I, ab)]
214+ let ac = G(ab, u)
215+ let ad = (K(ab, u) + 1)
216+ let J = H(q)
217+ let ae = (I(q) + aa.amount)
218+[IntegerEntry(ac, ad), IntegerEntry(J, ae)]
213219 }
214220 }
215221 }
216222
217223
218224
219-@Callable(T)
220-func voteCommit (u,ac) = {
221- let z = toBase58String(T.caller.bytes)
222- let ad = P(u)
223- let ae = R(u)
224- if ((ad >= b))
225+@Callable(V)
226+func voteCommit (u,af) = {
227+ let A = toBase58String(V.caller.bytes)
228+ let ag = R(u)
229+ let ah = T(u)
230+ if ((ag >= b))
225231 then throw("Reached max number of voters")
226- else if ((O(u, z) != a))
232+ else if ((Q(u, A) != a))
227233 then throw("You voted already")
228234 else if ((t(u) == a))
229235 then throw("Item does not exists")
230- else if (if ((ae != a))
231- then (ae != f)
236+ else if (if ((ah != a))
237+ then (ah != f)
232238 else false)
233239 then throw("Voting is not active for this item now")
234240 else {
235- let af = if ((ad == b))
241+ let ai = if ((ag == b))
236242 then g
237243 else f
238-[StringEntry(y(u, z), ac), IntegerEntry(A(u), (ad + 1)), StringEntry(C(u), af)]
244+[StringEntry(z(u, A), af), IntegerEntry(B(u), (ag + 1)), StringEntry(D(u), ai)]
239245 }
240246 }
241247
242248
243249
244-@Callable(T)
245-func voteReveal (u,E,ag) = {
246- let z = toBase58String(T.caller.bytes)
247- let ae = R(u)
248- let ah = (S(u, E) + 1)
249- let ai = toBase58String(sha256(toBytes(((u + E) + ag))))
250- if ((ai != O(u, z)))
250+@Callable(V)
251+func voteReveal (u,F,aj) = {
252+ let A = toBase58String(V.caller.bytes)
253+ let ah = T(u)
254+ let ak = (U(u, F) + 1)
255+ let al = toBase58String(sha256(toBytes(((u + F) + aj))))
256+ if ((al != Q(u, A)))
251257 then throw("Reveal data is not valid")
252- else if ((b > P(u)))
258+ else if ((b > R(u)))
253259 then throw("Max number of voters not reached")
254- else if ((Q(u, z) != a))
260+ else if ((S(u, A) != a))
255261 then throw("You voted already")
256- else if (if ((ae != f))
257- then (ae != g)
262+ else if (if ((ah != f))
263+ then (ah != g)
258264 else false)
259265 then throw("Voting is not active for this item now")
260- else if (if ((E != d))
261- then (E != e)
266+ else if (if ((F != d))
267+ then (F != e)
262268 else false)
263269 then throw("Provided voting option is incorrect")
264270 else {
265- let af = if ((ah >= c))
266- then E
271+ let ai = if ((ak >= c))
272+ then F
267273 else g
268-[StringEntry(B(u, z), E), IntegerEntry(D(u, z), ah), StringEntry(C(u), af)]
274+[StringEntry(C(u, A), F), IntegerEntry(E(u, A), ak), StringEntry(D(u), ai)]
269275 }
270276 }
271277
272278
273-@Verifier(aj)
274-func ak () = {
275- let j = aj
279+@Verifier(am)
280+func an () = {
281+ let j = am
276282 if ($isInstanceOf(j, "SetScriptTransaction"))
277283 then {
278- let al = j
279- sigVerify(aj.bodyBytes, aj.proofs[0], aj.senderPublicKey)
284+ let ao = j
285+ sigVerify(am.bodyBytes, am.proofs[0], am.senderPublicKey)
280286 }
281287 else false
282288 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "NONE"
55
66 let b = 3
77
88 let c = 2
99
1010 let d = "featured"
1111
1212 let e = "delisted"
1313
1414 let f = "voting"
1515
1616 let g = "reveal"
1717
1818 func h (i) = {
1919 let j = getString(this, i)
2020 if ($isInstanceOf(j, "String"))
2121 then {
2222 let k = j
2323 k
2424 }
2525 else a
2626 }
2727
2828
2929 func l (i) = {
3030 let j = getInteger(this, i)
3131 if ($isInstanceOf(j, "Int"))
3232 then {
3333 let k = j
3434 k
3535 }
3636 else 0
3737 }
3838
3939
4040 func m (n) = (n + "_account")
4141
4242
4343 func o (n) = h(m(n))
4444
4545
4646 func p (q,r) = {
4747 let s = (q + r)
4848 ("item_" + toBase58String(sha256(toBytes(s))))
4949 }
5050
5151
5252 func t (u) = (u + "_owner")
5353
5454
5555 func v (u) = (u + "_title")
5656
5757
5858 func w (u) = (u + "_price")
5959
6060
6161 func x (u) = (u + "_data")
6262
6363
64-func y (u,z) = (((u + "_") + z) + "_commit")
64+func y (u) = (u + "_expiredate")
6565
6666
67-func A (u) = (u + "_cmtcnt")
67+func z (u,A) = (((u + "_") + A) + "_commit")
6868
6969
70-func B (u,z) = (((u + "_") + z) + "_reveal")
70+func B (u) = (u + "_cmtcnt")
7171
7272
73-func C (u) = (u + "_status")
73+func C (u,A) = (((u + "_") + A) + "_reveal")
7474
7575
76-func D (u,E) = ((u + "_res:") + E)
76+func D (u) = (u + "_status")
7777
7878
79-func F (z,u) = (((u + "_") + z) + "_cnt")
79+func E (u,F) = ((u + "_res:") + F)
8080
8181
82-func G (n) = (n + "_balance")
82+func G (A,u) = (((u + "_") + A) + "_cnt")
8383
8484
85-func H (n) = {
86- let I = G(n)
87- let j = getInteger(this, I)
85+func H (n) = (n + "_balance")
86+
87+
88+func I (n) = {
89+ let J = H(n)
90+ let j = getInteger(this, J)
8891 if ($isInstanceOf(j, "Int"))
8992 then {
9093 let k = j
9194 k
9295 }
9396 else 0
9497 }
9598
9699
97-func J (z,u) = {
98- let K = F(z, u)
99- let j = getInteger(this, K)
100+func K (A,u) = {
101+ let L = G(A, u)
102+ let j = getInteger(this, L)
100103 if ($isInstanceOf(j, "Int"))
101104 then {
102105 let k = j
103106 k
104107 }
105108 else 0
106109 }
107110
108111
109-func L (u) = {
110- let M = w(u)
111- getIntegerValue(this, M)
112+func M (u) = {
113+ let N = w(u)
114+ getIntegerValue(this, N)
112115 }
113116
114117
115-func N (n) = h(t(n))
118+func O (u) = h(t(u))
116119
117120
118-func O (u,z) = h(y(u, z))
121+func P (u) = l(y(u))
119122
120123
121-func P (u) = l(A(u))
124+func Q (u,A) = h(z(u, A))
122125
123126
124-func Q (u,z) = h(B(u, z))
127+func R (u) = l(B(u))
125128
126129
127-func R (u) = h(C(u))
130+func S (u,A) = h(C(u, A))
128131
129132
130-func S (u,E) = l(D(u, E))
133+func T (u) = h(D(u))
131134
132135
133-@Callable(T)
134-func registerSupplier (U) = {
135- let q = toBase58String(T.caller.bytes)
136+func U (u,F) = l(E(u, F))
137+
138+
139+@Callable(V)
140+func registerSupplier (W) = {
141+ let q = toBase58String(V.caller.bytes)
136142 let n = o(q)
137143 if ((n != a))
138144 then throw("This address has already registred as supplier")
139- else [StringEntry(m(q), U)]
145+ else [StringEntry(m(q), W)]
140146 }
141147
142148
143149
144-@Callable(T)
145-func addItem (r,V,U) = {
146- let q = toBase58String(T.caller.bytes)
150+@Callable(V)
151+func addItem (r,X,W,Y) = {
152+ let q = toBase58String(V.caller.bytes)
147153 let n = o(q)
148154 let u = p(q, r)
149155 if ((n == a))
150156 then throw("You should register as supplier to add an item")
151- else if ((0 >= V))
157+ else if ((0 >= X))
152158 then throw("Purchase amount cannot be less than item price")
153- else if ((N(u) != a))
159+ else if ((O(u) != a))
154160 then throw("An item already exists")
155- else [StringEntry(t(u), q), StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
161+ else [StringEntry(t(u), q), StringEntry(v(u), r), IntegerEntry(w(u), X), StringEntry(x(u), W), IntegerEntry(y(u), Y)]
156162 }
157163
158164
159165
160-@Callable(T)
161-func updateItem (u,r,V,U) = {
162- let q = toBase58String(T.caller.bytes)
166+@Callable(V)
167+func updateItem (u,r,X,W,Y) = {
168+ let q = toBase58String(V.caller.bytes)
163169 let n = o(q)
164- let W = N(u)
170+ let Z = O(u)
165171 if ((n == a))
166172 then throw("You should register as supplier to remove an item")
167173 else if (if ((u == a))
168174 then true
169- else (q != W))
175+ else (q != Z))
170176 then throw(("You don't owned item " + u))
171- else [StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
177+ else [StringEntry(v(u), r), IntegerEntry(w(u), X), StringEntry(x(u), W), IntegerEntry(y(u), Y)]
172178 }
173179
174180
175181
176-@Callable(T)
182+@Callable(V)
177183 func removeItem (u) = {
178- let q = toBase58String(T.caller.bytes)
184+ let q = toBase58String(V.caller.bytes)
179185 let n = o(q)
180- let W = N(u)
186+ let Z = O(u)
181187 if ((n == a))
182188 then throw("You should register as supplier to remove an item")
183189 else if (if ((u == a))
184190 then true
185- else (q != W))
191+ else (q != Z))
186192 then throw(("You don't owned item " + u))
187- else [DeleteEntry(t(u)), DeleteEntry(v(u)), DeleteEntry(w(u)), DeleteEntry(x(u))]
193+ else [DeleteEntry(t(u)), DeleteEntry(v(u)), DeleteEntry(w(u)), DeleteEntry(x(u)), DeleteEntry(y(u))]
188194 }
189195
190196
191197
192-@Callable(T)
198+@Callable(V)
193199 func purchase (u) = {
194- let X = T.payments[0]
195- if (isDefined(X.assetId))
200+ let aa = V.payments[0]
201+ if (isDefined(aa.assetId))
196202 then throw("You can buy tokens only with Waves tokens")
197203 else {
198- let Y = toBase58String(T.caller.bytes)
199- let V = L(u)
200- let q = N(u)
201- if ((V > X.amount))
204+ let ab = toBase58String(V.caller.bytes)
205+ let X = M(u)
206+ let q = O(u)
207+ if ((X > aa.amount))
202208 then throw("Purchase amount cannot be less than item price")
203- else if ((X.amount > V))
209+ else if ((aa.amount > X))
204210 then throw("Purchase amount cannot be higher than item price")
205211 else if ((q == a))
206212 then throw("Supplier does not exists")
207213 else {
208- let Z = F(Y, u)
209- let aa = (J(Y, u) + 1)
210- let I = G(q)
211- let ab = (H(q) + X.amount)
212-[IntegerEntry(Z, aa), IntegerEntry(I, ab)]
214+ let ac = G(ab, u)
215+ let ad = (K(ab, u) + 1)
216+ let J = H(q)
217+ let ae = (I(q) + aa.amount)
218+[IntegerEntry(ac, ad), IntegerEntry(J, ae)]
213219 }
214220 }
215221 }
216222
217223
218224
219-@Callable(T)
220-func voteCommit (u,ac) = {
221- let z = toBase58String(T.caller.bytes)
222- let ad = P(u)
223- let ae = R(u)
224- if ((ad >= b))
225+@Callable(V)
226+func voteCommit (u,af) = {
227+ let A = toBase58String(V.caller.bytes)
228+ let ag = R(u)
229+ let ah = T(u)
230+ if ((ag >= b))
225231 then throw("Reached max number of voters")
226- else if ((O(u, z) != a))
232+ else if ((Q(u, A) != a))
227233 then throw("You voted already")
228234 else if ((t(u) == a))
229235 then throw("Item does not exists")
230- else if (if ((ae != a))
231- then (ae != f)
236+ else if (if ((ah != a))
237+ then (ah != f)
232238 else false)
233239 then throw("Voting is not active for this item now")
234240 else {
235- let af = if ((ad == b))
241+ let ai = if ((ag == b))
236242 then g
237243 else f
238-[StringEntry(y(u, z), ac), IntegerEntry(A(u), (ad + 1)), StringEntry(C(u), af)]
244+[StringEntry(z(u, A), af), IntegerEntry(B(u), (ag + 1)), StringEntry(D(u), ai)]
239245 }
240246 }
241247
242248
243249
244-@Callable(T)
245-func voteReveal (u,E,ag) = {
246- let z = toBase58String(T.caller.bytes)
247- let ae = R(u)
248- let ah = (S(u, E) + 1)
249- let ai = toBase58String(sha256(toBytes(((u + E) + ag))))
250- if ((ai != O(u, z)))
250+@Callable(V)
251+func voteReveal (u,F,aj) = {
252+ let A = toBase58String(V.caller.bytes)
253+ let ah = T(u)
254+ let ak = (U(u, F) + 1)
255+ let al = toBase58String(sha256(toBytes(((u + F) + aj))))
256+ if ((al != Q(u, A)))
251257 then throw("Reveal data is not valid")
252- else if ((b > P(u)))
258+ else if ((b > R(u)))
253259 then throw("Max number of voters not reached")
254- else if ((Q(u, z) != a))
260+ else if ((S(u, A) != a))
255261 then throw("You voted already")
256- else if (if ((ae != f))
257- then (ae != g)
262+ else if (if ((ah != f))
263+ then (ah != g)
258264 else false)
259265 then throw("Voting is not active for this item now")
260- else if (if ((E != d))
261- then (E != e)
266+ else if (if ((F != d))
267+ then (F != e)
262268 else false)
263269 then throw("Provided voting option is incorrect")
264270 else {
265- let af = if ((ah >= c))
266- then E
271+ let ai = if ((ak >= c))
272+ then F
267273 else g
268-[StringEntry(B(u, z), E), IntegerEntry(D(u, z), ah), StringEntry(C(u), af)]
274+[StringEntry(C(u, A), F), IntegerEntry(E(u, A), ak), StringEntry(D(u), ai)]
269275 }
270276 }
271277
272278
273-@Verifier(aj)
274-func ak () = {
275- let j = aj
279+@Verifier(am)
280+func an () = {
281+ let j = am
276282 if ($isInstanceOf(j, "SetScriptTransaction"))
277283 then {
278- let al = j
279- sigVerify(aj.bodyBytes, aj.proofs[0], aj.senderPublicKey)
284+ let ao = j
285+ sigVerify(am.bodyBytes, am.proofs[0], am.senderPublicKey)
280286 }
281287 else false
282288 }
283289

github/deemru/w8io/026f985 
73.43 ms