tx · VCyz55DrHA7ssaQC2qnfheGS55MNjxaJLP7Kqi6bXK1

3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7:  -0.01400000 Waves

2021.07.31 04:34 [1637154] smart account 3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7 > SELF 0.00000000 Waves

{ "type": 13, "id": "VCyz55DrHA7ssaQC2qnfheGS55MNjxaJLP7Kqi6bXK1", "fee": 1400000, "feeAssetId": null, "timestamp": 1627695220019, "version": 2, "chainId": 84, "sender": "3MovmZoJtqutkf49oGXHzABSMUQ7HU5Dcg7", "senderPublicKey": "3tp5fNYyPi4jMnkf6s1k4kBqvJ7nm57SxzvLyi8RkxT2", "proofs": [ "41vT4hi7Jxx2AS33bWUed3tmi7PKVeAExZuCo9TpAGK1xhcdMpUqqrQFGpHAbMfUK3NqZbtE4suouuAnFuPc9YcJ" ], "script": "base64:AAIEAAAAAAAAAC0IAhIDCgEIEgUKAwgBCBIGCgQICAEIEgMKAQgSAwoBCBIECgIICBIFCgMICAgAAAAgAAAAAAROT05FAgAAAAROT05FAAAAAAZWT1RFUlMAAAAAAAAAAAMAAAAABlFVT1JVTQAAAAAAAAAAAgAAAAAIRkVBVFVSRUQCAAAACGZlYXR1cmVkAAAAAAhERUxJU1RFRAIAAAAIZGVsaXN0ZWQAAAAABlZPVElORwIAAAAGdm90aW5nAAAAAAZSRVZFQUwCAAAABnJldmVhbAEAAAAOZ2V0U3RyaW5nQnlLZXkAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQUAAAAETk9ORQEAAAAPZ2V0SW50ZWdlckJ5S2V5AAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWE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AkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAAQZ2V0S2V5SXRlbVN0YXR1cwAAAAEFAAAABGl0ZW0FAAAACW5ld1N0YXR1cwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQdjkUcP", "height": 1637154, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: gNQTakaPDe32YC6Dd7Y3uhJtHC47eLb2zPfHSUSL2oa Next: GYujRyAXesV6ihRh3Q5zWD9ZQAigXjpxVarDn1f5gaEv Diff:
OldNewDifferences
162162 let q = toBase58String(T.caller.bytes)
163163 let n = o(q)
164164 let W = N(u)
165- if ((n == a))
166- then throw("You should register as supplier to remove an item")
167- else if (if ((u == a))
168- then true
169- else (q != W))
170- then throw(("You don't owned item " + u))
171- else [StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
165+ if ((1 == 1))
166+ then throw(((((("-> " + q) + " === ") + W) + " -- / ") + u))
167+ else if ((n == a))
168+ then throw("You should register as supplier to remove an item")
169+ else if (if ((u == a))
170+ then true
171+ else (q != W))
172+ then throw(("You don't owned item " + u))
173+ else [StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
172174 }
173175
174176
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
6464 func y (u,z) = (((u + "_") + z) + "_commit")
6565
6666
6767 func A (u) = (u + "_cmtcnt")
6868
6969
7070 func B (u,z) = (((u + "_") + z) + "_reveal")
7171
7272
7373 func C (u) = (u + "_status")
7474
7575
7676 func D (u,E) = ((u + "_res:") + E)
7777
7878
7979 func F (z,u) = (((u + "_") + z) + "_cnt")
8080
8181
8282 func G (n) = (n + "_balance")
8383
8484
8585 func H (n) = {
8686 let I = G(n)
8787 let j = getInteger(this, I)
8888 if ($isInstanceOf(j, "Int"))
8989 then {
9090 let k = j
9191 k
9292 }
9393 else 0
9494 }
9595
9696
9797 func J (z,u) = {
9898 let K = F(z, u)
9999 let j = getInteger(this, K)
100100 if ($isInstanceOf(j, "Int"))
101101 then {
102102 let k = j
103103 k
104104 }
105105 else 0
106106 }
107107
108108
109109 func L (u) = {
110110 let M = w(u)
111111 getIntegerValue(this, M)
112112 }
113113
114114
115115 func N (n) = h(t(n))
116116
117117
118118 func O (u,z) = h(y(u, z))
119119
120120
121121 func P (u) = l(A(u))
122122
123123
124124 func Q (u,z) = h(B(u, z))
125125
126126
127127 func R (u) = h(C(u))
128128
129129
130130 func S (u,E) = l(D(u, E))
131131
132132
133133 @Callable(T)
134134 func registerSupplier (U) = {
135135 let q = toBase58String(T.caller.bytes)
136136 let n = o(q)
137137 if ((n != a))
138138 then throw("This address has already registred as supplier")
139139 else [StringEntry(m(q), U)]
140140 }
141141
142142
143143
144144 @Callable(T)
145145 func addItem (r,V,U) = {
146146 let q = toBase58String(T.caller.bytes)
147147 let n = o(q)
148148 let u = p(q, r)
149149 if ((n == a))
150150 then throw("You should register as supplier to add an item")
151151 else if ((0 >= V))
152152 then throw("Purchase amount cannot be less than item price")
153153 else if ((N(u) != a))
154154 then throw("An item already exists")
155155 else [StringEntry(t(u), q), StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
156156 }
157157
158158
159159
160160 @Callable(T)
161161 func updateItem (u,r,V,U) = {
162162 let q = toBase58String(T.caller.bytes)
163163 let n = o(q)
164164 let W = N(u)
165- if ((n == a))
166- then throw("You should register as supplier to remove an item")
167- else if (if ((u == a))
168- then true
169- else (q != W))
170- then throw(("You don't owned item " + u))
171- else [StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
165+ if ((1 == 1))
166+ then throw(((((("-> " + q) + " === ") + W) + " -- / ") + u))
167+ else if ((n == a))
168+ then throw("You should register as supplier to remove an item")
169+ else if (if ((u == a))
170+ then true
171+ else (q != W))
172+ then throw(("You don't owned item " + u))
173+ else [StringEntry(v(u), r), IntegerEntry(w(u), V), StringEntry(x(u), U)]
172174 }
173175
174176
175177
176178 @Callable(T)
177179 func removeItem (u) = {
178180 let q = toBase58String(T.caller.bytes)
179181 let n = o(q)
180182 let W = N(u)
181183 if ((n == a))
182184 then throw("You should register as supplier to remove an item")
183185 else if (if ((u == a))
184186 then true
185187 else (q != W))
186188 then throw(("You don't owned item " + u))
187189 else [DeleteEntry(t(u)), DeleteEntry(v(u)), DeleteEntry(w(u)), DeleteEntry(x(u))]
188190 }
189191
190192
191193
192194 @Callable(T)
193195 func purchase (u) = {
194196 let X = T.payments[0]
195197 if (isDefined(X.assetId))
196198 then throw("You can buy tokens only with Waves tokens")
197199 else {
198200 let Y = toBase58String(T.caller.bytes)
199201 let V = L(u)
200202 let q = N(u)
201203 if ((V > X.amount))
202204 then throw("Purchase amount cannot be less than item price")
203205 else if ((X.amount > V))
204206 then throw("Purchase amount cannot be higher than item price")
205207 else if ((q == a))
206208 then throw("Supplier does not exists")
207209 else {
208210 let Z = F(Y, u)
209211 let aa = (J(Y, u) + 1)
210212 let I = G(q)
211213 let ab = (H(q) + X.amount)
212214 [IntegerEntry(Z, aa), IntegerEntry(I, ab)]
213215 }
214216 }
215217 }
216218
217219
218220
219221 @Callable(T)
220222 func voteCommit (u,ac) = {
221223 let z = toBase58String(T.caller.bytes)
222224 let ad = P(u)
223225 let ae = R(u)
224226 if ((ad >= b))
225227 then throw("Reached max number of voters")
226228 else if ((O(u, z) != a))
227229 then throw("You voted already")
228230 else if ((t(u) == a))
229231 then throw("Item does not exists")
230232 else if (if ((ae != a))
231233 then (ae != f)
232234 else false)
233235 then throw("Voting is not active for this item now")
234236 else {
235237 let af = if ((ad == b))
236238 then g
237239 else f
238240 [StringEntry(y(u, z), ac), IntegerEntry(A(u), (ad + 1)), StringEntry(C(u), af)]
239241 }
240242 }
241243
242244
243245
244246 @Callable(T)
245247 func voteReveal (u,E,ag) = {
246248 let z = toBase58String(T.caller.bytes)
247249 let ae = R(u)
248250 let ah = (S(u, E) + 1)
249251 let ai = toBase58String(sha256(toBytes(((u + E) + ag))))
250252 if ((ai != O(u, z)))
251253 then throw("Reveal data is not valid")
252254 else if ((b > P(u)))
253255 then throw("Max number of voters not reached")
254256 else if ((Q(u, z) != a))
255257 then throw("You voted already")
256258 else if (if ((ae != f))
257259 then (ae != g)
258260 else false)
259261 then throw("Voting is not active for this item now")
260262 else if (if ((E != d))
261263 then (E != e)
262264 else false)
263265 then throw("Provided voting option is incorrect")
264266 else {
265267 let af = if ((ah >= c))
266268 then E
267269 else g
268270 [StringEntry(B(u, z), E), IntegerEntry(D(u, z), ah), StringEntry(C(u), af)]
269271 }
270272 }
271273
272274
273275 @Verifier(aj)
274276 func ak () = {
275277 let j = aj
276278 if ($isInstanceOf(j, "SetScriptTransaction"))
277279 then {
278280 let al = j
279281 sigVerify(aj.bodyBytes, aj.proofs[0], aj.senderPublicKey)
280282 }
281283 else false
282284 }
283285

github/deemru/w8io/026f985 
40.43 ms