tx · DWWsmmagwQrYiKSwGXesgoabCgs64tiJpzPDMtbwqxew

3MrFUxcMycRcQDahrA16JhvuEKnbmMF3QZP:  -0.01400000 Waves

2021.11.18 19:13 [1796697] smart account 3MrFUxcMycRcQDahrA16JhvuEKnbmMF3QZP > SELF 0.00000000 Waves

{ "type": 13, "id": "DWWsmmagwQrYiKSwGXesgoabCgs64tiJpzPDMtbwqxew", "fee": 1400000, "feeAssetId": null, "timestamp": 1637252032041, "version": 2, "chainId": 84, "sender": "3MrFUxcMycRcQDahrA16JhvuEKnbmMF3QZP", "senderPublicKey": "HtiJZF4j7Jo8jR12wxtKDkNhS3qCe3qsk8QxnnjVvXyq", "proofs": [ "2TjeDfTSVStZdjU7CxBt9vSh4VHWTXz4ha28ihMkkKrtFYiHtXz5YWMqESsEmZCEWG63WqvdELGi9iHu3nxyAVzg" ], "script": "base64:AAIDAAAAAAAAAB0IARIFCgMIAQgSAwoBCBIAEgQKAggIEgUKAwgICAAAACEAAAAADm93bmVyUHVibGljS2V5AQAAACD6+lAsvaY9/ICsFhS1sYMY13YGhvh1jT1AiPapnK+uIAAAAAALcHViS2V5QWxpY2UBAAAAIPr6UCy9pj38gKwWFLWxgxjXdgaG+HWNPUCI9qmcr64gAAAAAAlwdWJLZXlCb2IBAAAAIJSwJHqny7GXkLqb/9sX0sw4nnCkaYeDrScKSJwbx9dLAAAAAAxwdWJLZXlDb29wZXIBAAAAIMviW1daO0ECCbLD7je58oUri4AFkKl3dlICXnEszUFIAAAAAAROT05FAgAAAARub25lAAAAAAZWT1RFUlMAAAAAAAAAAAMAAAAABlFVT1JVTQAAAAAAAAAAAgAAAAAGVk9USU5HAgAAAAZ2b3RpbmcAAAAABlJFVkVBTAIAAAAGcmV2ZWFsAAAAAAhGRUFUVVJFRAIAAAAIZmVhdHVyZWQAAAAACERFTElTVEVEAgAAAAhkZWxpc3RlZAEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQQAAAADbnVtBAAAAAckbWF0Y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AAAAAAAAAEFAAAACXB1YktleUJvYgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAlwdWJLZXlCb2IAAAAAAAAAAAEAAAAAAAAAAAAEAAAADHNpZ25lZENvb3BlcgMDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADHB1YktleUNvb3BlcgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAxwdWJLZXlDb29wZXIGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAMcHViS2V5Q29vcGVyAAAAAAAAAAABAAAAAAAAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5vd25lclB1YmxpY0tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALc2lnbmVkQWxpY2UFAAAACXNpZ25lZEJvYgUAAAAMc2lnbmVkQ29vcGVyAAAAAAAAAAACouBFUA==", "height": 1796697, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HtgHcu5TxXhKYVL4sm75Dqj1nu8WUmgE38NpGVdovore Next: FskmJc8UxCa366Sfu9WSRr8ooabB75wUb7PXeNde16y2 Diff:
OldNewDifferences
195195 then (Q != k)
196196 else false)
197197 then throw("wrong vote")
198- else if (if ((ac == j))
199- then true
200- else (ac == k))
201- then throw("vote has finished")
202- else WriteSet([DataEntry(L(t, w), Q), DataEntry(P(t, Q), ae), DataEntry(N(t), if ((ae >= g))
203- then Q
204- else i)])
198+ else WriteSet([DataEntry(L(t, w), Q), DataEntry(P(t, Q), ae), DataEntry(N(t), if ((ae >= g))
199+ then Q
200+ else i)])
205201 }
206202
207203
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'HtiJZF4j7Jo8jR12wxtKDkNhS3qCe3qsk8QxnnjVvXyq'
55
66 let b = base58'HtiJZF4j7Jo8jR12wxtKDkNhS3qCe3qsk8QxnnjVvXyq'
77
88 let c = base58'B1R7zeh6VgTv4Xxe3aHhdoZ9aQgWcqN8LFC9smacE96r'
99
1010 let d = base58'EisxKQktzqqd4UsxE7UgVjSHqoWindUpjoB7dsDwfG4o'
1111
1212 let e = "none"
1313
1414 let f = 3
1515
1616 let g = 2
1717
1818 let h = "voting"
1919
2020 let i = "reveal"
2121
2222 let j = "featured"
2323
2424 let k = "delisted"
2525
2626 func l (m) = {
2727 let n = {
2828 let o = getInteger(this, m)
2929 if ($isInstanceOf(o, "Int"))
3030 then {
3131 let p = o
3232 p
3333 }
3434 else 0
3535 }
3636 n
3737 }
3838
3939
4040 func q (m) = {
4141 let r = {
4242 let o = getString(this, m)
4343 if ($isInstanceOf(o, "String"))
4444 then {
4545 let p = o
4646 p
4747 }
4848 else e
4949 }
5050 r
5151 }
5252
5353
5454 func s (t) = (t + "_price")
5555
5656
5757 func u (t) = l(s(t))
5858
5959
6060 func v (w,t) = (((t + "_") + w) + "_cnt")
6161
6262
6363 func x (w,t) = l(v(w, t))
6464
6565
6666 func y (z,A) = ("item_" + toBase58String(sha256(toBytes((z + A)))))
6767
6868
6969 func B (t) = (t + "_data")
7070
7171
7272 func C (t) = (t + "_owner")
7373
7474
7575 func D (t) = q(C(t))
7676
7777
7878 func E (F) = (F + "_balance")
7979
8080
8181 func G (F) = l(E(F))
8282
8383
8484 func H (t,w) = (((t + "_") + w) + "_commit")
8585
8686
8787 func I (t,w) = q(H(t, w))
8888
8989
9090 func J (t) = (t + "_comcnt")
9191
9292
9393 func K (t) = l(J(t))
9494
9595
9696 func L (t,w) = (((t + "_") + w) + "_reveal")
9797
9898
9999 func M (t,w) = q(L(t, w))
100100
101101
102102 func N (t) = (t + "_status")
103103
104104
105105 func O (t) = q(N(t))
106106
107107
108108 func P (t,Q) = ((t + "_res:") + Q)
109109
110110
111111 func R (t,Q) = l(P(t, Q))
112112
113113
114114 @Callable(S)
115115 func addItem (A,T,U) = {
116116 let V = toBase58String(S.caller.bytes)
117117 let t = y(V, A)
118118 if ((0 >= T))
119119 then throw("purchase amount cannot be less than item price")
120120 else if ((D(t) != e))
121121 then throw("an item is already exist")
122122 else WriteSet([DataEntry(C(t), V), DataEntry(s(t), T), DataEntry(B(t), U)])
123123 }
124124
125125
126126
127127 @Callable(S)
128128 func purchase (W) = {
129129 let X = extract(S.payment)
130130 if (isDefined(X.assetId))
131131 then throw("can use WAVES only at the moment")
132132 else if (!(isDefined(W)))
133133 then throw("You must select Item")
134134 else {
135135 let Y = toBase58String(S.caller.bytes)
136136 let T = u(W)
137137 let V = D(W)
138138 if ((T > X.amount))
139139 then throw("purchase amoun cannot be less than item price")
140140 else if ((X.amount > T))
141141 then throw("purchase amoun cannot be higher than item price")
142142 else if ((V == e))
143143 then throw("supplier does not exist")
144144 else WriteSet([DataEntry(v(Y, W), (x(Y, W) + 1)), DataEntry(E(V), (G(V) + X.amount))])
145145 }
146146 }
147147
148148
149149
150150 @Callable(S)
151151 func withdraw () = {
152152 let V = toBase58String(S.caller.bytes)
153153 let Z = G(V)
154154 if ((0 >= Z))
155155 then throw("no money - no honey")
156156 else ScriptResult(WriteSet([DataEntry(E(V), 0)]), TransferSet([ScriptTransfer(addressFromStringValue(V), Z, unit)]))
157157 }
158158
159159
160160
161161 @Callable(S)
162162 func voteCommit (t,aa) = if ((C(t) == e))
163163 then throw("item does not exist")
164164 else {
165165 let w = toBase58String(S.caller.bytes)
166166 let ab = K(t)
167167 let ac = O(t)
168168 if ((ab >= f))
169169 then throw("reached max num of voters")
170170 else if ((I(t, w) != e))
171171 then throw("user has already participated")
172172 else if (if ((ac != e))
173173 then (ac != h)
174174 else false)
175175 then throw("voting is not possible")
176176 else WriteSet([DataEntry(H(t, w), aa), DataEntry(J(t), (ab + 1)), DataEntry(N(t), if (((ab + 1) == f))
177177 then i
178178 else h)])
179179 }
180180
181181
182182
183183 @Callable(S)
184184 func voteReveal (t,Q,ad) = if ((C(t) == e))
185185 then throw("item does not exist")
186186 else {
187187 let w = toBase58String(S.caller.bytes)
188188 let ac = O(t)
189189 let ae = (R(t, Q) + 1)
190190 if ((toBase58String(sha256(toBytes((Q + ad)))) != I(t, w)))
191191 then throw("reveal data not valid")
192192 else if ((f > K(t)))
193193 then throw("max num of voters hasn't reached yet")
194194 else if (if ((Q != j))
195195 then (Q != k)
196196 else false)
197197 then throw("wrong vote")
198- else if (if ((ac == j))
199- then true
200- else (ac == k))
201- then throw("vote has finished")
202- else WriteSet([DataEntry(L(t, w), Q), DataEntry(P(t, Q), ae), DataEntry(N(t), if ((ae >= g))
203- then Q
204- else i)])
198+ else WriteSet([DataEntry(L(t, w), Q), DataEntry(P(t, Q), ae), DataEntry(N(t), if ((ae >= g))
199+ then Q
200+ else i)])
205201 }
206202
207203
208204 @Verifier(af)
209205 func ag () = {
210206 let ah = if (if (if (sigVerify(af.bodyBytes, af.proofs[0], b))
211207 then true
212208 else sigVerify(af.bodyBytes, af.proofs[1], b))
213209 then true
214210 else sigVerify(af.bodyBytes, af.proofs[2], b))
215211 then 1
216212 else 0
217213 let ai = if (if (if (sigVerify(af.bodyBytes, af.proofs[0], c))
218214 then true
219215 else sigVerify(af.bodyBytes, af.proofs[1], c))
220216 then true
221217 else sigVerify(af.bodyBytes, af.proofs[2], c))
222218 then 1
223219 else 0
224220 let aj = if (if (if (sigVerify(af.bodyBytes, af.proofs[0], d))
225221 then true
226222 else sigVerify(af.bodyBytes, af.proofs[1], d))
227223 then true
228224 else sigVerify(af.bodyBytes, af.proofs[2], d))
229225 then 1
230226 else 0
231227 let o = af
232228 if ($isInstanceOf(o, "SetScriptTransaction"))
233229 then {
234230 let ak = o
235231 sigVerify(af.bodyBytes, af.proofs[0], a)
236232 }
237233 else if ($isInstanceOf(o, "DataTransaction"))
238234 then {
239235 let ak = o
240236 true
241237 }
242238 else (((ah + ai) + aj) >= 2)
243239 }
244240

github/deemru/w8io/026f985 
32.53 ms