tx · CKjtQyTtFrhLJoJ3yVia9f9kseVgtroDA5jLj4kbmviF

3N28KoiVw7BkkjZqzT85UZhCqsHbbdogM12:  -0.05000000 Waves

2019.08.17 23:44 [635620] smart account 3N28KoiVw7BkkjZqzT85UZhCqsHbbdogM12 > SELF 0.00000000 Waves

{ "type": 13, "id": "CKjtQyTtFrhLJoJ3yVia9f9kseVgtroDA5jLj4kbmviF", "fee": 5000000, "feeAssetId": null, "timestamp": 1566074618817, "version": 1, "sender": "3N28KoiVw7BkkjZqzT85UZhCqsHbbdogM12", "senderPublicKey": "2RLztFfjSUJ2re5chswE74UnmcPkMsiCSfBdKXKayFDv", "proofs": [ "49hWWgPD8qaRLSAxS2E7w2iS8pCRYaags6JRLWnTrfWmJkSqpfHB6JTxsML67naRYHvpzUA83wLAw711bPnmGrih" ], "script": "base64:AAIDAAAAAAAAAAAAAAAlAAAAAAdhY2NvdW50AQAAACAVGDz3S3YQB4aiI51xl2ugWA4gR6Y5O5q6RQqEQ3J4dQAAAAAMYWxsaWNlUHVia2V5AQAAACAreN/NfH/SqCPc/hPnBmh1BIC7xIlb9ZfNOuFi3xLNMAAAAAAJYm9iUHVia2V5AQAAACCUOeSPBy4PhPvyHGcVW4GV0RT93LFhHdQudmgTy+sSbAAAAAAMY29vcGVyUHVia2V5AQAAACCCIe+dk847nIV5gYyG+3h/+qC1bgAyQQ9H2YTdbJdufwAAAAAETk9ORQIAAAAEbm9uZQAAAAAGVk9URVJTAAAAAAAAAAADAAAAAAZRVU9SVU0AAAAAAAAAAAIAAAAABlZPVElORwIAAAAGdm90aW5nAAAAAAZSRVZFQUwCAAAABnJldmVhbAAAAAAIRkVBVFVSRUQCAAAACGZlYXR1cmVkAAAAAAhERUxJU1RFRAIAAAAIZGVsaXN0ZWQAAAAACHZlcmlmaWVyAgAAACMzTXM5c1ViN1czTDU1TExHeGVIV2lxZ1RmZEg5eW4ybWF5YgAAAAAIVkVSSUZJRUQCAAAACHZlcmlmaWVkAAAAAAtCTEFD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UAAAAEYm9iMgcGAwUAAAAHY29vcGVyMQUAAAAEYm9iMwcGAwUAAAAHY29wcGVyMgUAAAAEYm9iMQcGAwUAAAAHY29wcGVyMgUAAAAEYm9iMwcGAwUAAAAHY29wcGVyMwUAAAAEYm9iMQcGAwUAAAAHY29wcGVyMwUAAAAEYm9iMgcEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAB2FjY291bnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDAwUAAAAMYWxsaWNlQW5kQm9iBgUAAAAPYWxsaWNlQW5kQ29vcGVyBgUAAAANYm9iZUFuZENvb3Blctf+xd4=", "chainId": 84, "height": 635620, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = base58'2RLztFfjSUJ2re5chswE74UnmcPkMsiCSfBdKXKayFDv'
5+
6+let b = base58'3vhS6tWdhTMgiUjYWdqyzTW1ythueupqQ637qnpyDRyZ'
7+
8+let c = base58'AycYKRsxXEWqnc2mGYoxUWjj9mBDhAXMeQ2Ghqb7tXab'
9+
10+let d = base58'9kz1ogj2BmFYqjEKw7aVXJ7ckEEB27jfcN3Grzo8fxSz'
11+
12+let e = "none"
13+
14+let f = 3
15+
16+let g = 2
17+
18+let h = "voting"
19+
20+let i = "reveal"
21+
22+let j = "featured"
23+
24+let k = "delisted"
25+
26+let l = "3Ms9sUb7W3L55LLGxeHWiqgTfdH9yn2mayb"
27+
28+let m = "verified"
29+
30+let n = "blacklist"
31+
32+let o = (1440 * 30)
33+
34+func p (q) = {
35+ let r = {
36+ let s = getInteger(this, q)
37+ if ($isInstanceOf(s, "Int"))
38+ then {
39+ let t = s
40+ t
41+ }
42+ else 0
43+ }
44+ r
45+ }
46+
47+
48+func u (q) = {
49+ let v = {
50+ let s = getString(this, q)
51+ if ($isInstanceOf(s, "String"))
52+ then {
53+ let t = s
54+ t
55+ }
56+ else e
57+ }
58+ v
59+ }
60+
61+
62+func w (x) = (x + "_price")
63+
64+
65+func y (x) = p(w(x))
66+
67+
68+func z (A,x) = (((x + "_") + A) + "_cnt")
69+
70+
71+func B (A,x) = p(z(A, x))
72+
73+
74+func C (D,E) = ("item_" + toBase58String(sha256(toBytes((D + E)))))
75+
76+
77+func F (x) = (x + "_data")
78+
79+
80+func G (x) = (x + "_owner")
81+
82+
83+func H (x) = u(G(x))
84+
85+
86+func I (a) = (a + "_balance")
87+
88+
89+func J (a) = p(I(a))
90+
91+
92+func K (x,A) = (((x + "_") + A) + "_commit")
93+
94+
95+func L (x,A) = u(K(x, A))
96+
97+
98+func M (x) = (x + "_comcnt")
99+
100+
101+func N (x) = p(M(x))
102+
103+
104+func O (x,A) = (((x + "_") + A) + "_reveal")
105+
106+
107+func P (x,A) = u(O(x, A))
108+
109+
110+func Q (x) = (x + "_status")
111+
112+
113+func R (x) = u(Q(x))
114+
115+
116+func S (x,T) = ((x + "_res:") + T)
117+
118+
119+func U (x,T) = p(S(x, T))
120+
121+
122+@Callable(V)
123+func startAuction (W,X,Y,Z) = {
124+ let aa = (lastBlock.height + W)
125+ let ab = extract(V.payment)
126+ WriteSet([DataEntry(Y, aa), DataEntry((Y + "_organizer"), toBase58String(V.caller.bytes)), DataEntry((Y + "_lot_assetId"), if (isDefined(ab.assetId))
127+ then toBase58String(value(ab.assetId))
128+ else "WAVES"), DataEntry((Y + "_lot_amount"), ab.amount), DataEntry((Y + "_startPrice"), X), DataEntry((Y + "_priceAssetId"), Z)])
129+ }
130+
131+
132+
133+@Callable(V)
134+func bid (Y,ac,ad,aa) = {
135+ let ab = extract(V.payment)
136+ let ae = if (isDefined(ab.assetId))
137+ then toBase58String(value(ab.assetId))
138+ else "WAVES"
139+ let af = toBase58String(V.caller.bytes)
140+ let Z = getStringValue(this, (Y + "_priceAssetId"))
141+ let ag = getString(this, (Y + "_winner"))
142+ let ah = getInteger(this, (Y + "_winAmount"))
143+ let ai = if (isDefined(ag))
144+ then (value(ag) == af)
145+ else false
146+ WriteSet([DataEntry((Y + "_participant"), toBase58String(V.caller.bytes)), DataEntry((Y + "_lot_amount"), ad), DataEntry((Y + "_count"), ac), DataEntry((Y + "_endHeight"), aa)])
147+ }
148+
149+
150+
151+@Callable(V)
152+func endAuction (Y,ag,aa,aj,ac) = ScriptResult(WriteSet([DataEntry((Y + "_winner"), ag), DataEntry(Y, aa), DataEntry((Y + "_lot_amount"), aj), DataEntry((Y + "_count"), ac)]), TransferSet([ScriptTransfer(Address(fromBase58String(ag)), 1, fromBase58String(Y))]))
153+
154+
155+
156+@Callable(V)
157+func purchase (x) = {
158+ let ab = extract(V.payment)
159+ if (isDefined(ab.assetId))
160+ then throw("can use Waves only at the moment")
161+ else {
162+ let ak = toBase58String(V.caller.bytes)
163+ let ad = y(x)
164+ let al = H(x)
165+ if ((ad > ab.amount))
166+ then throw("purchase amount cannot be less than item price")
167+ else if ((ab.amount > ad))
168+ then throw("purchase amount cannot be higher than item price")
169+ else if ((al == e))
170+ then throw("supplier is not exist")
171+ else WriteSet([DataEntry(z(ak, x), (B(ak, x) + 1)), DataEntry(I(al), (J(al) + ab.amount))])
172+ }
173+ }
174+
175+
176+
177+@Callable(V)
178+func addItem (E,ad,am) = {
179+ let al = toBase58String(V.caller.bytes)
180+ let x = C(al, E)
181+ if ((0 >= ad))
182+ then throw("purchase amount cannot be less than item price")
183+ else if ((H(x) != e))
184+ then throw("An item is allready exist")
185+ else if ((al == n))
186+ then throw("supplier's account has been blacklist")
187+ else WriteSet([DataEntry(G(x), al), DataEntry(w(x), ad), DataEntry(F(x), am)])
188+ }
189+
190+
191+
192+@Callable(V)
193+func deposit () = {
194+ let ab = extract(V.payment)
195+ let al = toBase58String(V.caller.bytes)
196+ let an = J(al)
197+ let ao = (an + ab.amount)
198+ if (isDefined(ab.assetId))
199+ then throw("can hodl waves only at the moment")
200+ else if ((0 > ab.amount))
201+ then throw("Can not deposit negative amount")
202+ else WriteSet([DataEntry(I(al), ao)])
203+ }
204+
205+
206+
207+@Callable(V)
208+func withdraw (ap) = {
209+ let al = toBase58String(V.caller.bytes)
210+ let an = J(al)
211+ let ao = (an - ap)
212+ if ((0 > ap))
213+ then throw("Can not withdraw negative amount")
214+ else if ((0 > ao))
215+ then throw("not enough balance")
216+ else if ((0 >= an))
217+ then throw("insufficient balance")
218+ else ScriptResult(WriteSet([DataEntry(I(al), ao)]), TransferSet([ScriptTransfer(addressFromStringValue(al), ap, unit)]))
219+ }
220+
221+
222+
223+@Callable(V)
224+func voteCommit (x,aq) = {
225+ let A = toBase58String(V.caller.bytes)
226+ let ar = N(x)
227+ let as = R(x)
228+ if ((ar >= f))
229+ then throw("reached max num of vouters")
230+ else if ((L(x, A) != e))
231+ then throw("user has allready participated")
232+ else if ((G(x) == e))
233+ then throw("item dose not exist")
234+ else if (if ((as != e))
235+ then (as != h)
236+ else false)
237+ then throw("vouting is not posible")
238+ else WriteSet([DataEntry(K(x, A), aq), DataEntry(M(x), (ar + 1)), DataEntry(Q(x), if ((ar == f))
239+ then i
240+ else h)])
241+ }
242+
243+
244+
245+@Callable(V)
246+func voteReveal (x,at,au) = {
247+ let A = toBase58String(V.caller.bytes)
248+ let as = R(x)
249+ let av = U(x, at)
250+ if ((toBase58String(sha256(toBytes((at + au)))) != L(x, A)))
251+ then throw("reveal data is not valid")
252+ else if ((f > N(x)))
253+ then throw("max num of hasn't reached yet")
254+ else if ((P(x, A) != e))
255+ then throw("user has already participated")
256+ else if (if ((as != h))
257+ then (as != i)
258+ else false)
259+ then throw("wrong status")
260+ else if (if ((at != j))
261+ then (at != k)
262+ else false)
263+ then throw("wrong vote")
264+ else if (if ((as == j))
265+ then true
266+ else (as == k))
267+ then throw("vote has finished")
268+ else WriteSet([DataEntry(O(x, A), at), DataEntry(S(x, at), av), DataEntry(Q(x), if ((av >= g))
269+ then at
270+ else i)])
271+ }
272+
273+
274+@Verifier(aw)
275+func ax () = {
276+ let ay = sigVerify(aw.bodyBytes, aw.proofs[0], b)
277+ let az = sigVerify(aw.bodyBytes, aw.proofs[1], b)
278+ let aA = sigVerify(aw.bodyBytes, aw.proofs[2], b)
279+ let aB = sigVerify(aw.bodyBytes, aw.proofs[0], c)
280+ let aC = sigVerify(aw.bodyBytes, aw.proofs[1], c)
281+ let aD = sigVerify(aw.bodyBytes, aw.proofs[2], c)
282+ let aE = sigVerify(aw.bodyBytes, aw.proofs[0], d)
283+ let aF = sigVerify(aw.bodyBytes, aw.proofs[1], d)
284+ let aG = sigVerify(aw.bodyBytes, aw.proofs[2], d)
285+ let aH = if (if (if (if (if (if (ay)
286+ then aC
287+ else false)
288+ then true
289+ else if (ay)
290+ then aD
291+ else false)
292+ then true
293+ else if (az)
294+ then aB
295+ else false)
296+ then true
297+ else if (az)
298+ then aD
299+ else false)
300+ then true
301+ else if (aA)
302+ then aB
303+ else false)
304+ then true
305+ else if (aA)
306+ then aC
307+ else false
308+ let aI = if (if (if (if (if (if (ay)
309+ then aF
310+ else false)
311+ then true
312+ else if (ay)
313+ then aG
314+ else false)
315+ then true
316+ else if (az)
317+ then aE
318+ else false)
319+ then true
320+ else if (az)
321+ then aG
322+ else false)
323+ then true
324+ else if (aA)
325+ then aE
326+ else false)
327+ then true
328+ else if (aA)
329+ then aF
330+ else false
331+ let aJ = if (if (if (if (if (if (aE)
332+ then aC
333+ else false)
334+ then true
335+ else if (aE)
336+ then aD
337+ else false)
338+ then true
339+ else if (aF)
340+ then aB
341+ else false)
342+ then true
343+ else if (aF)
344+ then aD
345+ else false)
346+ then true
347+ else if (aG)
348+ then aB
349+ else false)
350+ then true
351+ else if (aG)
352+ then aC
353+ else false
354+ let s = aw
355+ if ($isInstanceOf(s, "SetScriptTransaction"))
356+ then {
357+ let aK = s
358+ sigVerify(aw.bodyBytes, aw.proofs[0], a)
359+ }
360+ else if ($isInstanceOf(s, "DataTransaction"))
361+ then {
362+ let aK = s
363+ true
364+ }
365+ else if (if (aH)
366+ then true
367+ else aI)
368+ then true
369+ else aJ
370+ }
371+

github/deemru/w8io/169f3d6 
27.74 ms