tx · 4WrWF7Urvo7fRxSsef6BNAb4keAXH6u8C4CyKfcWY9au

3N6v7X1pA1NFzRfiquJdYxKz7tnk3XdvcT2:  -0.01000000 Waves

2019.09.20 22:30 [685066] smart account 3N6v7X1pA1NFzRfiquJdYxKz7tnk3XdvcT2 > SELF 0.00000000 Waves

{ "type": 13, "id": "4WrWF7Urvo7fRxSsef6BNAb4keAXH6u8C4CyKfcWY9au", "fee": 1000000, "feeAssetId": null, "timestamp": 1569007820431, "version": 1, "sender": "3N6v7X1pA1NFzRfiquJdYxKz7tnk3XdvcT2", "senderPublicKey": "6kd9pV4zhE3tdNngMWJ7hDccEjmKVbLTbuRi6NwN5Yjn", "proofs": [ "3CpuHt66SCZZSGo7UeXtVeP42XXN5oExBWgrKfYRYHWuz6D851ZdN9sdNHLRW5Pby7yWeHhV2rirVyGxEkjZQTnF" ], "script": "base64:AAIDAAAAAAAAAAAAAAA1AQAAABNnZXRFeHRBZGRyZXNzT3JhY2xlAAAAAAkBAAAAB2V4dHJhY3QAAAABCQEAAAARYWRkcmVzc0Zyb21TdHJpbmcAAAABAgAAACMzTjdqZVVoOTU1WEVWdWpyeXN0MjR0WEt6Vm0yZlhXc1pEUwAAAAALQkxBQ0tMSVNURUQCAAAACWJsYWNrbGlzdAAAAAALb3duZXJQdWJLZXkBAAAAIFV3SWNHXPoOxuJtDUa/fgQ02zS65zuJFPn6ik95qFx9AAAAAAROT05FAgAAAARub25lAAAAAAZDTE9TRUQCAAAABWNsb3NlAAAAAAZPUEVORUQCAAAABG9wZW4BAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAADbnVtAQAAAAtnZXRTdHJCeUtleQAAAAEAAAADa2V5BAAAAANzdHIEAAAAByRtYXR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AByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALb3duZXJQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtvd25lclB1YktleQdpYYL4", "chainId": 84, "height": 685066, "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+func a () = extract(addressFromString("3N7jeUh955XEVujryst24tXKzVm2fXWsZDS"))
5+
6+
7+let b = "blacklist"
8+
9+let c = base58'6kd9pV4zhE3tdNngMWJ7hDccEjmKVbLTbuRi6NwN5Yjn'
10+
11+let d = "none"
12+
13+let e = "close"
14+
15+let f = "open"
16+
17+func g (h) = {
18+ let i = {
19+ let j = getInteger(this, h)
20+ if ($isInstanceOf(j, "Int"))
21+ then {
22+ let k = j
23+ k
24+ }
25+ else 0
26+ }
27+ i
28+ }
29+
30+
31+func l (h) = {
32+ let m = {
33+ let j = getString(this, h)
34+ if ($isInstanceOf(j, "String"))
35+ then {
36+ let k = j
37+ k
38+ }
39+ else d
40+ }
41+ m
42+ }
43+
44+
45+func n (o,p,q) = ("room_" + toBase58String(sha256(toBytes(((o + p) + q)))))
46+
47+
48+func r (s) = (s + "_prize")
49+
50+
51+func t (s) = g(r(s))
52+
53+
54+func u (s) = (s + "_roomer")
55+
56+
57+func v (s) = l(u(s))
58+
59+
60+func w (s) = (s + "_limit")
61+
62+
63+func x (s) = g(w(s))
64+
65+
66+func y (s) = (s + "_status")
67+
68+
69+func z (s) = l(y(s))
70+
71+
72+func A (s) = (s + "_data")
73+
74+
75+func B (s) = l(A(s))
76+
77+
78+func C (D,E,q) = ("propose_" + toBase58String(sha256(toBytes(((D + E) + q)))))
79+
80+
81+func F (G) = (G + "_contributor")
82+
83+
84+func H (G) = l(F(G))
85+
86+
87+func I (G) = (G + "_data")
88+
89+
90+func J (G) = l(I(G))
91+
92+
93+func K (s,G) = ("adoption_" + toBase58String(sha256(toBytes((s + G)))))
94+
95+
96+func L (M) = (M + "_winner")
97+
98+
99+func N (M) = l(L(M))
100+
101+
102+func O (M) = (M + "_prize")
103+
104+
105+func P (M) = l(O(M))
106+
107+
108+func Q (R) = (toBase58String(sha256(toBytes(R))) + "_mealpolicy")
109+
110+
111+func S (R) = l(Q(R))
112+
113+
114+func T (R) = (toBase58String(sha256(toBytes(R))) + "_sex")
115+
116+
117+func U (R) = l(T(R))
118+
119+
120+func V (R) = (toBase58String(sha256(toBytes(R))) + "_age")
121+
122+
123+func W (R) = g(V(R))
124+
125+
126+func X (R) = (toBase58String(sha256(toBytes(R))) + "_hobby")
127+
128+
129+func Y (R) = l(X(R))
130+
131+
132+func Z (R) = (toBase58String(sha256(toBytes(R))) + "_area")
133+
134+
135+func aa (R) = l(Z(R))
136+
137+
138+func ab (R) = (toBase58String(sha256(toBytes(R))) + "_roomCount")
139+
140+
141+func ac (R) = g(ab(R))
142+
143+
144+func ad (R) = (toBase58String(sha256(toBytes(R))) + "_adoptCount")
145+
146+
147+func ae (R) = g(ad(R))
148+
149+
150+func af (s,G) = ("evaluate_" + toBase58String(sha256(toBytes((G + s)))))
151+
152+
153+func ag (s,G) = l(af(G, s))
154+
155+
156+func ah (R) = (toBase58String(sha256(toBytes(R))) + "_evaluateCount")
157+
158+
159+func ai (R) = g(ah(R))
160+
161+
162+func aj (R) = (toBase58String(sha256(toBytes(R))) + "_evaluateCount")
163+
164+
165+func ak (R) = g(aj(R))
166+
167+
168+func al (R) = (toBase58String(sha256(toBytes(R))) + "_balance")
169+
170+
171+func am (R) = g(al(R))
172+
173+
174+func an (R) = (R + "_blacklisted")
175+
176+
177+func ao (ap,R) = {
178+ let m = {
179+ let j = getString(ap, an(R))
180+ if ($isInstanceOf(j, "String"))
181+ then {
182+ let k = j
183+ k
184+ }
185+ else d
186+ }
187+ m
188+ }
189+
190+
191+@Callable(aq)
192+func setUser (R,ar,as,at,au,av) = WriteSet([DataEntry(Q(R), ar), DataEntry(T(R), as), DataEntry(V(R), at), DataEntry(X(R), au), DataEntry(Z(R), av)])
193+
194+
195+
196+@Callable(aq)
197+func createRoom (p,q,aw,ax) = {
198+ let ay = extract(aq.payment)
199+ if (isDefined(ay.assetId))
200+ then throw("can use WAVES only at the moment")
201+ else {
202+ let o = toBase58String(aq.caller.bytes)
203+ let s = n(o, p, q)
204+ let az = ay.amount
205+ let ap = a()
206+ let aA = ao(ap, o)
207+ let aB = (aw + ax)
208+ if ((0 >= az))
209+ then throw("prize cannot be negative amount")
210+ else if ((360 >= ax))
211+ then throw("duration cannot be less than 6hours")
212+ else if ((v(s) != d))
213+ then throw("the room is already exist")
214+ else if ((aA == b))
215+ then throw("your request was denied")
216+ else WriteSet([DataEntry(r(s), az), DataEntry(u(s), o), DataEntry(w(s), aB), DataEntry(y(s), f), DataEntry(n(o, p, q), q), DataEntry(ab(o), (ac(o) + 1))])
217+ }
218+ }
219+
220+
221+
222+@Callable(aq)
223+func closeRoom (s) = {
224+ let o = v(s)
225+ let az = t(s)
226+ if ((o != toBase58String(aq.caller.bytes)))
227+ then throw("you cannot close this Room")
228+ else if ((z(s) == e))
229+ then throw("this Room has already closed")
230+ else ScriptResult(WriteSet([DataEntry(y(s), e)]), TransferSet([ScriptTransfer(addressFromStringValue(o), az, unit)]))
231+ }
232+
233+
234+
235+@Callable(aq)
236+func createProposal (s,q,E,aw) = {
237+ let D = toBase58String(aq.caller.bytes)
238+ let ap = a()
239+ let aC = ao(ap, D)
240+ let G = C(D, E, q)
241+ let o = v(s)
242+ let aB = x(s)
243+ if ((q == d))
244+ then throw("your proposal is empty")
245+ else if ((o == d))
246+ then throw("room does not exist")
247+ else if ((aw >= aB))
248+ then throw("propose to this room is already closed")
249+ else if ((aC == b))
250+ then throw("your request was denied")
251+ else if ((z(s) == e))
252+ then throw("this Room has already closed")
253+ else WriteSet([DataEntry(F(G), D), DataEntry(I(G), q)])
254+ }
255+
256+
257+
258+@Callable(aq)
259+func createAdoption (s,G) = {
260+ let M = K(s, G)
261+ let az = t(s)
262+ let aD = H(G)
263+ let o = v(s)
264+ if ((o != toBase58String(aq.caller.bytes)))
265+ then throw("only the Room's owner can do this transaction")
266+ else if ((aD == d))
267+ then throw("the winner doesn't exist")
268+ else if ((N(M) != d))
269+ then throw("you have already do the adoption")
270+ else if ((z(s) == e))
271+ then throw("this Room has already closed")
272+ else WriteSet([DataEntry(al(aD), (am(aD) + az)), DataEntry(L(M), aD), DataEntry(O(M), az), DataEntry(y(s), e), DataEntry(ad(o), (ae(o) + 1))])
273+ }
274+
275+
276+
277+@Callable(aq)
278+func evaluateProposer (G,s,aE,q) = {
279+ let M = K(s, G)
280+ let aD = H(G)
281+ let o = v(s)
282+ if ((o != toBase58String(aq.caller.bytes)))
283+ then throw("only the Room's owner can do this transaction")
284+ else if ((aD == d))
285+ then throw("proposer doesn't exist")
286+ else if ((M == d))
287+ then throw("you cannot evaluate this proposer")
288+ else if ((ag(s, G) != d))
289+ then throw("you have already evaluate")
290+ else WriteSet([DataEntry(af(s, G), q), DataEntry(ah(aD), (ai(aD) + 1)), DataEntry(aj(aD), (ak(aD) + aE))])
291+ }
292+
293+
294+
295+@Callable(aq)
296+func withdraw () = {
297+ let aF = toBase58String(aq.caller.bytes)
298+ let aG = am(aF)
299+ if ((0 >= aG))
300+ then throw("you have nothing to withdraw")
301+ else ScriptResult(WriteSet([DataEntry(al(aF), 0)]), TransferSet([ScriptTransfer(addressFromStringValue(aF), aG, unit)]))
302+ }
303+
304+
305+@Verifier(aH)
306+func aI () = {
307+ let j = aH
308+ if ($isInstanceOf(j, "SetScriptTransaction"))
309+ then {
310+ let aJ = j
311+ sigVerify(aH.bodyBytes, aH.proofs[0], c)
312+ }
313+ else if ($isInstanceOf(j, "DataTransaction"))
314+ then {
315+ let aK = j
316+ true
317+ }
318+ else if ($isInstanceOf(j, "TransferTransaction"))
319+ then {
320+ let aL = j
321+ sigVerify(aH.bodyBytes, aH.proofs[0], c)
322+ }
323+ else false
324+ }
325+

github/deemru/w8io/026f985 
22.34 ms