tx · AUTbSunkTd2aQqgLmYuFq3BLYykydsRzitwPP8HuWPkV

3N2pknHQmGPrp2mGouxP6jQShgSfD96PcbE:  -0.01500000 Waves

2019.07.25 18:18 [601736] smart account 3N2pknHQmGPrp2mGouxP6jQShgSfD96PcbE > SELF 0.00000000 Waves

{ "type": 13, "id": "AUTbSunkTd2aQqgLmYuFq3BLYykydsRzitwPP8HuWPkV", "fee": 1500000, "feeAssetId": null, "timestamp": 1564067889896, "version": 1, "sender": "3N2pknHQmGPrp2mGouxP6jQShgSfD96PcbE", "senderPublicKey": "9iUSMzVcoUXujLkmKJkoVNZm62kXqxTc3voikrvcURX6", "proofs": [ "3xYeiEuaU2Ght7RY2kMLx5YyCxKkTJcXxv81ZtH2VutBJyPZPYwhXvtwxHQ8A9QajA5SgQbeZGMEEDiWbmbDbyDW" ], "script": "base64:AAIDAAAAAAAAAAAAAAAYAAAAAAlSU0FQVUJMSUMJAAJbAAAAAQIAAAGPYmFzZTY0Ok1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBbXB1WGNJL280cElCNXl3djlET09HYXBUQlV3UlZsTS82K0g2aEZlbE9YdGtyd1kvWUl0bVB4RURwejdyQWVyUVBRZTl0RFBFYUF2L0dubEV6dHliT0ZYZ3U5RHpEZThZb01SRDF2YWtnb0Fjb2dtYlk1OFFENktNajVIa29Wai95VE5JYzlzemo1cWhJbHJBZG1iM0tMTDZoUVU3eTgrSmo2OUJXVlBzYVFna3NwU2RlWXRiMXRIUWM3dDk1bjdPWjU2cjJBN0czK2JRZjZuU01rUGtBaElyRXBiQ201OG9pR0JjemRUZC9McUZTVm90WnNiTDdZaDZTSExmbkhlRCtRZ2NmSnJuYW04T0hNR0pFSlRSWGpJTGVIR2psUkNQOG9WcGlvSHJ5MVMyeFB4NXNWekltMk1NK0N6WWVuQUdsbzBqMjZhdEJoaVVMb1R1bHdEM3BRSURBUUFCAAAAAAZTRVJWRVIJAQAAABxAZXh0clVz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lRHR4S2V5AAAAAgUAAAAJc2Vzc2lvbklkCQABkQAAAAIIBQAAAANkdHgAAAAEZGF0YQAAAAAAAAAAAQcDCQAAZwAAAAIAAAAAAAAAAAIFAAAAEGRhdGFFbnRyaWVzQ291bnQGCQEAAAAOdmFsaWRhdGVEdHhLZXkAAAACBQAAAAlzZXNzaW9uSWQJAAGRAAAAAggFAAAAA2R0eAAAAARkYXRhAAAAAAAAAAACBwMJAABnAAAAAgAAAAAAAAAAAwUAAAAQZGF0YUVudHJpZXNDb3VudAYJAQAAAA52YWxpZGF0ZUR0eEtleQAAAAIFAAAACXNlc3Npb25JZAkAAZEAAAACCAUAAAADZHR4AAAABGRhdGEAAAAAAAAAAAMHAwkAAGcAAAACAAAAAAAAAAAEBQAAABBkYXRhRW50cmllc0NvdW50BgkBAAAADnZhbGlkYXRlRHR4S2V5AAAAAgUAAAAJc2Vzc2lvbklkCQABkQAAAAIIBQAAAANkdHgAAAAEZGF0YQAAAAAAAAAABAcDCQAAZwAAAAIAAAAAAAAAAAUFAAAAEGRhdGFFbnRyaWVzQ291bnQGCQEAAAAOdmFsaWRhdGVEdHhLZXkAAAACBQAAAAlzZXNzaW9uSWQJAAGRAAAAAggFAAAAA2R0eAAAAARkYXRhAAAAAAAAAAAFBwMDAwkAAAAAAAACBQAAAAlkcmF3U3RhdGUFAAAACVNUQVRFSU5JVAUAAAAIc2lnVmFsaWQHBQAAAA1kYXRhU2l6ZVZhbGlkBwUAAAAJa2V5c1ZhbGlkBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAABHNzdHgFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAN0dHgFAAAAByRtYXRjaDAGB/8QYdE=", "chainId": 84, "height": 601736, "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 = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmpuXcI/o4pIB5ywv9DOOGapTBUwRVlM/6+H6hFelOXtkrwY/YItmPxEDpz7rAerQPQe9tDPEaAv/GnlEztybOFXgu9DzDe8YoMRD1vakgoAcogmbY58QD6KMj5HkoVj/yTNIc9szj5qhIlrAdmb3KLL6hQU7y8+Jj69BWVPsaQgkspSdeYtb1tHQc7t95n7OZ56r2A7G3+bQf6nSMkPkAhIrEpbCm58oiGBczdTd/LqFSVotZsbL7Yh6SHLfnHeD+QgcfJrnam8OHMGJEJTRXjILeHGjlRCP8oVpioHry1S2xPx5sVzIm2MM+CzYenAGlo0j26atBhiULoTulwD3pQIDAQAB")
5+
6+let b = addressFromStringValue("3NCiG28LmWyTigWG13E5QnvdHBsZFYXSS2j")
7+
8+let c = ((100 * 1000) * 1000)
9+
10+let d = 44
11+
12+let e = ((5 * c) / 1000)
13+
14+let f = 14
15+
16+let g = "INIT"
17+
18+let h = "READY"
19+
20+let i = "FINISHED"
21+
22+let j = 0
23+
24+let k = 1
25+
26+let l = 2
27+
28+let m = 3
29+
30+let n = 4
31+
32+let o = 5
33+
34+let p = 6
35+
36+let q = 7
37+
38+let r = 8
39+
40+func s (t) = if ((0 > t))
41+ then -(t)
42+ else t
43+
44+
45+func u (v,w,x,y,z,A,B,C,D) = {
46+ let E = ((((((((((((((v + "_") + w) + "_") + x) + "_") + y) + "_") + z) + "_") + A) + "_") + B) + "_") + C)
47+ if ((D == ""))
48+ then ((E + "_") + "-")
49+ else ((E + "_") + D)
50+ }
51+
52+
53+func F (G) = {
54+ let H = getStringValue(this, G)
55+ split(H, "_")
56+ }
57+
58+
59+func I (J,K,L,A,M) = {
60+ let N = ((s(toInt(M)) % J) + K)
61+ let O = toString(N)
62+ let P = isDefined(indexOf(L, O))
63+ if (if (!(P))
64+ then (A > 0)
65+ else false)
66+ then [((L + "-") + O), "yes"]
67+ else [L, ""]
68+ }
69+
70+
71+func Q (G,R,S,T,L,A,U) = {
72+ let V = T
73+ let J = ((S - R) + 1)
74+ let W = I(J, R, L, A, drop(V, (U + 1)))
75+ let X = if ((W[1] != ""))
76+ then (A - 1)
77+ else A
78+ let Y = I(J, R, W[0], X, drop(V, (U + 2)))
79+ let Z = if ((Y[1] != ""))
80+ then (X - 1)
81+ else X
82+ let aa = I(J, R, Y[0], Z, drop(V, (U + 3)))
83+ let ab = if ((aa[1] != ""))
84+ then (Z - 1)
85+ else Z
86+ let ac = I(J, R, aa[0], ab, drop(V, (U + 4)))
87+ let ad = if ((ac[1] != ""))
88+ then (ab - 1)
89+ else ab
90+ let ae = I(J, R, ac[0], ad, drop(V, (U + 5)))
91+ let af = if ((ae[1] != ""))
92+ then (ad - 1)
93+ else ad
94+ let ag = I(J, R, ae[0], af, drop(V, (U + 6)))
95+ let ah = if ((ag[1] != ""))
96+ then (af - 1)
97+ else af
98+ let ai = I(J, R, ag[0], ah, drop(V, (U + 7)))
99+ let aj = if ((ai[1] != ""))
100+ then (ah - 1)
101+ else ah
102+ let ak = I(J, R, ai[0], aj, drop(V, (U + 8)))
103+ let al = if ((ak[1] != ""))
104+ then (aj - 1)
105+ else aj
106+ let am = I(J, R, ak[0], al, drop(V, (U + 9)))
107+ let an = if ((am[1] != ""))
108+ then (al - 1)
109+ else al
110+ let ao = I(J, R, am[0], an, drop(V, (U + 10)))
111+ let ap = if ((ao[1] != ""))
112+ then (an - 1)
113+ else an
114+ let aq = I(J, R, ao[0], ap, drop(V, (U + 11)))
115+ let ar = if ((aq[1] != ""))
116+ then (ap - 1)
117+ else ap
118+ let as = I(J, R, aq[0], ar, drop(V, (U + 12)))
119+ let at = if ((as[1] != ""))
120+ then (ar - 1)
121+ else ar
122+ let au = I(J, R, as[0], at, drop(V, (U + 13)))
123+ let av = if ((au[1] != ""))
124+ then (at - 1)
125+ else at
126+ let aw = I(J, R, au[0], av, drop(V, (U + 14)))
127+ let ax = if ((aw[1] != ""))
128+ then (av - 1)
129+ else av
130+[aw[0], if ((ax == 0))
131+ then "0"
132+ else toString(ax), toString((U + 14))]
133+ }
134+
135+
136+func ay (G,az) = if (if (if ((G == take(az.key, d)))
137+ then (size(az.key) > d)
138+ else false)
139+ then !(isDefined(getString(this, az.key)))
140+ else false)
141+ then {
142+ let aA = az.value
143+ if ($isInstanceOf(aA, "String"))
144+ then {
145+ let aB = aA
146+ true
147+ }
148+ else throw((G + " draw: only String type is accepted for data transactions"))
149+ }
150+ else false
151+
152+
153+@Callable(aC)
154+func initDraw (x,y,z) = {
155+ let G = toBase58String(aC.transactionId)
156+ if (if ((0 >= x))
157+ then true
158+ else (0 >= y))
159+ then throw("randFrom and randTo must be greater than 0")
160+ else if ((x >= y))
161+ then throw("randFrom must be strict less then randTo")
162+ else if ((z > ((y - x) + 1)))
163+ then throw(((((("Impossible to generate " + toString(z)) + " for provided random range - from ") + toString(x)) + " to ") + toString(y)))
164+ else {
165+ let w = toBase58String(aC.callerPublicKey)
166+ let aD = toString(z)
167+ let aE = u(g, w, toString(x), toString(y), aD, aD, "null", "0", "")
168+ ScriptResult(WriteSet([DataEntry(G, aE)]), TransferSet([ScriptTransfer(b, 1000, unit)]))
169+ }
170+ }
171+
172+
173+
174+@Callable(aC)
175+func ready (G) = {
176+ let aF = F(G)
177+ let v = aF[j]
178+ let w = aF[k]
179+ let aD = aF[n]
180+ let aG = aF[o]
181+ let aH = aF[l]
182+ let aI = aF[m]
183+ let aJ = fromBase58String(w)
184+ if ((v != g))
185+ then throw((G + " draw: moving into READY state is allowed only from INIT state"))
186+ else if ((aJ != aC.callerPublicKey))
187+ then throw((G + "draw: moving into READY state is allowed for organizer only"))
188+ else {
189+ let aK = u(h, w, aH, aI, aD, aG, toBase58String(aC.transactionId), "0", "")
190+ WriteSet([DataEntry(G, aK)])
191+ }
192+ }
193+
194+
195+
196+@Callable(aC)
197+func random (G,T) = {
198+ let aF = F(G)
199+ let v = aF[j]
200+ let w = aF[k]
201+ let aD = aF[n]
202+ let aL = parseIntValue(aF[o])
203+ let U = parseIntValue(aF[q])
204+ let L = aF[r]
205+ let aH = aF[l]
206+ let aI = aF[m]
207+ let B = aF[p]
208+ let R = parseIntValue(aH)
209+ let S = parseIntValue(aI)
210+ let aJ = fromBase58String(w)
211+ if ((v != h))
212+ then throw((G + " draw: it must be in READY state to generate random numbers"))
213+ else if (!(rsaVerify(SHA256, (toBytes(G) + toBytes(B)), T, a)))
214+ then throw("Invalid RSA signature")
215+ else {
216+ let aM = Q(G, R, S, T, L, aL, U)
217+ let aN = aM[0]
218+ let aO = aM[1]
219+ let aP = aM[2]
220+ let aQ = if ((aO == "0"))
221+ then i
222+ else h
223+ WriteSet([DataEntry(G, u(aQ, w, aH, aI, aD, aO, B, aP, aN))])
224+ }
225+ }
226+
227+
228+@Verifier(aR)
229+func aS () = {
230+ let aA = aR
231+ if ($isInstanceOf(aA, "DataTransaction"))
232+ then {
233+ let aT = aA
234+ let aU = aT.data[0]
235+ let G = take(aU.key, d)
236+ let aF = F(G)
237+ let v = aF[0]
238+ let w = aF[1]
239+ let aJ = fromBase58String(w)
240+ let aV = size(aT.data)
241+ let aW = sigVerify(aR.bodyBytes, aR.proofs[0], aJ)
242+ let aX = if ((aV > 0))
243+ then (5 >= aV)
244+ else false
245+ let aY = if (if (if (if (if (ay(G, aU))
246+ then if ((1 >= aV))
247+ then true
248+ else ay(G, aT.data[1])
249+ else false)
250+ then if ((2 >= aV))
251+ then true
252+ else ay(G, aT.data[2])
253+ else false)
254+ then if ((3 >= aV))
255+ then true
256+ else ay(G, aT.data[3])
257+ else false)
258+ then if ((4 >= aV))
259+ then true
260+ else ay(G, aT.data[4])
261+ else false)
262+ then if ((5 >= aV))
263+ then true
264+ else ay(G, aT.data[5])
265+ else false
266+ if (if (if ((v == g))
267+ then aW
268+ else false)
269+ then aX
270+ else false)
271+ then aY
272+ else false
273+ }
274+ else if ($isInstanceOf(aA, "SetScriptTransaction"))
275+ then {
276+ let aZ = aA
277+ true
278+ }
279+ else if ($isInstanceOf(aA, "TransferTransaction"))
280+ then {
281+ let ba = aA
282+ true
283+ }
284+ else false
285+ }
286+

github/deemru/w8io/026f985 
22.98 ms