tx · FPAPNS2d8JSmG2EiAkfiDR55HDHugSZCSNpjdw6pbR18

3NBLCDfrwWn6JhQhjYBCBv37aaYajvxM97c:  -0.01500000 Waves

2021.02.09 16:50 [1390737] smart account 3NBLCDfrwWn6JhQhjYBCBv37aaYajvxM97c > SELF 0.00000000 Waves

{ "type": 13, "id": "FPAPNS2d8JSmG2EiAkfiDR55HDHugSZCSNpjdw6pbR18", "fee": 1500000, "feeAssetId": null, "timestamp": 1612878615080, "version": 2, "chainId": 84, "sender": "3NBLCDfrwWn6JhQhjYBCBv37aaYajvxM97c", "senderPublicKey": "7BSg9XUirUhwkWQMXdtvveMi7RYmKcNR2banQyTvRsGq", "proofs": [ "2MuSBTVnRx2b8WjmSXYUwaUcR2bXZx8CU8485fi39wHHS2TnsXXQtcJG2iThGh4BVELScHvxPwRzSKcJw5eRfpXN" ], "script": "base64:AAIDAAAAAAAAAA0IARIHCgUBAQEBCBIAAAAAEAAAAAANbG90dGVyeWFtb3VudAIAAAAHX2Ftb3VudAAAAAASbG90dGVyeXByb2JhYmlsaXR5AgAAAAxfcHJvYmFiaWxpdHkAAAAAGWxvdHRlcnlwcm9iYWJpbGl0eWRlY2ltYWwCAAAAFF9wcm9iYWJpbGl0eV9kZWNpbWFsAAAAAAxsb3R0ZXJ5UHJpY2UCAAAABl9wcmljZQAAAAANbG90dGVyeVByaWNlcwIAAAAPX2xvdHRlcnlfcHJpY2VzAAAAAA5sb3R0ZXJ5QXNzZXRJZAIAAAARX2xvdHRlcnlfYXNzZXRfaWQAAAAADWNvdW50T2ZQcmljZXMCAAAADV9jb3VudF9wcmljZXMAAAAAFGxhc3RIYXNoUmFuZG9tTnVtYmVyAgAAABVsYXN0X3NwaW5fcmFuZG9tX2hhc2gAAAAAE2xhc3RUb2tlblJhbmRvbUhhc2gCAAAAFmxhc3RfdG9rZW5fcmFuZG9tX2hhc2gAAAAACmRBcHBBZGRyZXMCAAAALDNCS0ZRTGVvNUV4WjVZMXB0OUZ0enNubzdhUnd6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0AAAAAAAAAAAEAwkAAAAAAAACBQAAAA0kc2l6ZTc1MDc3NTU0AAAAAAAAAAAFBQAAAA0kYWNjNTc1MDc3NTU0BAAAAA0kYWNjNjc1MDc3NTU0CQEAAAANcHJvY2VkTG90dGVyeQAAAAIFAAAADSRhY2M1NzUwNzc1NTQJAAGRAAAAAgUAAAANJGxpc3Q3NTA3NzU1NAAAAAAAAAAABQkAAAIAAAABAgAAABJMaXN0IHNpemUgZXhjZWVkIDUEAAAAD3NpemVPZldpblByaWNlcwkAAZAAAAABBQAAAAx3aW5uaW5nVG9rZW4DCQAAAAAAAAIFAAAAD3NpemVPZldpblByaWNlcwAAAAAAAAAAAAQAAAAJd3JpdGVTZXRzCQEAAAAIV3JpdGVTZXQAAAABBQAAAANuaWwJAQAAAAxTY3JpcHRSZXN1bHQAAAACBQAAAAl3cml0ZVNldHMJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAQAAAAFdG9rZW4JAAGRAAAAAgUAAAAMd2lubmluZ1Rva2VuAAAAAAAAAAABCQAAAgAAAAEFAAAABXRva2VuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXk1I9dG", "height": 1390737, "applicationStatus": "succeeded", "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 = "_amount"
5+
6+let b = "_probability"
7+
8+let c = "_probability_decimal"
9+
10+let d = "_price"
11+
12+let e = "_lottery_prices"
13+
14+let f = "_lottery_asset_id"
15+
16+let g = "_count_prices"
17+
18+let h = "last_spin_random_hash"
19+
20+let i = "last_token_random_hash"
21+
22+let j = "3BKFQLeo5ExZ5Y1pt9Ftzsno7aRwzD96zoYVHP3tcLgV"
23+
24+let k = 5
25+
26+func l (m) = {
27+ let n = {
28+ let o = getBinary(this, h)
29+ if ($isInstanceOf(o, "ByteVector"))
30+ then {
31+ let p = o
32+ p
33+ }
34+ else if ($isInstanceOf(o, "Unit"))
35+ then base58'2ee4oFDYriWJ9EMeR'
36+ else throw("Match error")
37+ }
38+ let q = (((((n + m.transactionId) + m.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
39+ sha256(q)
40+ }
41+
42+
43+func r (m) = {
44+ let s = {
45+ let o = getBinary(this, i)
46+ if ($isInstanceOf(o, "ByteVector"))
47+ then {
48+ let p = o
49+ p
50+ }
51+ else if ($isInstanceOf(o, "Unit"))
52+ then base58'4dD7osCQzvuXJdTiGfKvTwnKT'
53+ else throw("Match error")
54+ }
55+ let q = (((((s + m.transactionId) + m.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
56+ sha256(q)
57+ }
58+
59+
60+func t () = {
61+ let u = getStringValue(this, e)
62+ let v = take(u, (size(u) - 1))
63+ let w = split(v, ",")
64+ w
65+ }
66+
67+
68+func x (y,z) = {
69+ let A = indexOf(y, ",")
70+ if ((A == unit))
71+ then (z + ",")
72+ else ((y + z) + ",")
73+ }
74+
75+
76+func B (C,y) = if (isDefined(y))
77+ then {
78+ let D = getIntegerValue(this, (y + b))
79+ let E = getIntegerValue(this, (y + c))
80+ let F = (E * 1000)
81+ let G = (E % F)
82+ let H = size(C)
83+ if ((H == 1))
84+ then {
85+ let I = C[0]
86+ let J = toInt(fromBase64String(I))
87+ if ((G > J))
88+ then y :: C
89+ else C
90+ }
91+ else C
92+ }
93+ else C
94+
95+
96+@Callable(K)
97+func updateprobability (L,M,N,O,P) = {
98+ let y = toBase64String(r(K))
99+ let Q = if (!(isDefined(K.payment)))
100+ then false
101+ else true
102+ let R = if ((P == ""))
103+ then true
104+ else false
105+ let S = (M * N)
106+ if ((Q == true))
107+ then {
108+ let T = extract(K.payment)
109+ let U = {
110+ let o = T.assetId
111+ if ($isInstanceOf(o, "ByteVector"))
112+ then {
113+ let V = o
114+ toBase64String(V)
115+ }
116+ else if ($isInstanceOf(o, "Unit"))
117+ then ""
118+ else throw("Match error")
119+ }
120+ let W = T.amount
121+ if ((U != P))
122+ then throw("Asset Id not matching with Payment Asset Id")
123+ else if ((S > W))
124+ then throw("Not enough Asset Amount")
125+ else {
126+ let X = {
127+ let o = getString(this, e)
128+ if ($isInstanceOf(o, "String"))
129+ then {
130+ let V = o
131+ V
132+ }
133+ else if ($isInstanceOf(o, "Unit"))
134+ then ""
135+ else throw("Match error")
136+ }
137+ let Y = indexOf(X, y)
138+ let Z = {
139+ let o = Y
140+ if ($isInstanceOf(o, "Unit"))
141+ then ((X + y) + ",")
142+ else if ($isInstanceOf(o, "Int"))
143+ then {
144+ let aa = o
145+ throw("Token is duplicated")
146+ }
147+ else throw("Match error")
148+ }
149+ let ab = {
150+ let o = getInteger(this, g)
151+ if ($isInstanceOf(o, "Int"))
152+ then {
153+ let V = o
154+ V
155+ }
156+ else if ($isInstanceOf(o, "Unit"))
157+ then 0
158+ else throw("Match error")
159+ }
160+ if ((k > ab))
161+ then {
162+ let ac = WriteSet([DataEntry((y + a), M), DataEntry((y + b), L), DataEntry((y + d), N), DataEntry(e, Z), DataEntry(g, (ab + 1)), DataEntry((y + c), O), DataEntry((y + f), P), DataEntry(i, y)])
163+ ScriptResult(ac, TransferSet(nil))
164+ }
165+ else throw(("Lottery prices has reached maximum " + toString(k)))
166+ }
167+ }
168+ else {
169+ let ad = if (R)
170+ then wavesBalance(this)
171+ else assetBalance(this, fromBase64String(P))
172+ if ((S > ad))
173+ then throw("Not enough Asset Amount")
174+ else {
175+ let X = {
176+ let o = getString(this, e)
177+ if ($isInstanceOf(o, "String"))
178+ then {
179+ let V = o
180+ V
181+ }
182+ else if ($isInstanceOf(o, "Unit"))
183+ then ""
184+ else throw("Match error")
185+ }
186+ let Y = indexOf(X, y)
187+ let Z = {
188+ let o = Y
189+ if ($isInstanceOf(o, "Unit"))
190+ then ((X + y) + ",")
191+ else if ($isInstanceOf(o, "Int"))
192+ then {
193+ let aa = o
194+ throw("Token is duplicated")
195+ }
196+ else throw("Match error")
197+ }
198+ let ab = {
199+ let o = getInteger(this, g)
200+ if ($isInstanceOf(o, "Int"))
201+ then {
202+ let V = o
203+ V
204+ }
205+ else if ($isInstanceOf(o, "Unit"))
206+ then 0
207+ else throw("Match error")
208+ }
209+ if ((k > ab))
210+ then {
211+ let ac = WriteSet([DataEntry((y + a), M), DataEntry((y + b), L), DataEntry((y + d), N), DataEntry(e, Z), DataEntry(g, (ab + 1)), DataEntry((y + c), O), DataEntry((y + f), P), DataEntry(i, y)])
212+ ScriptResult(ac, TransferSet(nil))
213+ }
214+ else throw(("Lottery prices has reached maximum " + toString(k)))
215+ }
216+ }
217+ }
218+
219+
220+
221+@Callable(K)
222+func startlotto () = {
223+ let ae = toBase58String(K.caller.bytes)
224+ let af = l(K)
225+ let ab = {
226+ let o = getInteger(this, g)
227+ if ($isInstanceOf(o, "Int"))
228+ then {
229+ let V = o
230+ V
231+ }
232+ else if ($isInstanceOf(o, "Unit"))
233+ then 0
234+ else throw("Match error")
235+ }
236+ let ag = t()
237+ let ah = toBase64String(af)
238+ let ai = {
239+ let aj = ag
240+ let ak = size(aj)
241+ let al = [ah]
242+ if ((ak == 0))
243+ then al
244+ else {
245+ let am = B(al, aj[0])
246+ if ((ak == 1))
247+ then am
248+ else {
249+ let an = B(am, aj[1])
250+ if ((ak == 2))
251+ then an
252+ else {
253+ let ao = B(an, aj[2])
254+ if ((ak == 3))
255+ then ao
256+ else {
257+ let ap = B(ao, aj[3])
258+ if ((ak == 4))
259+ then ap
260+ else {
261+ let aq = B(ap, aj[4])
262+ if ((ak == 5))
263+ then aq
264+ else {
265+ let ar = B(aq, aj[5])
266+ throw("List size exceed 5")
267+ }
268+ }
269+ }
270+ }
271+ }
272+ }
273+ }
274+ let as = size(ai)
275+ if ((as == 0))
276+ then {
277+ let at = WriteSet(nil)
278+ ScriptResult(at, TransferSet(nil))
279+ }
280+ else {
281+ let y = ai[1]
282+ throw(y)
283+ }
284+ }
285+
286+
287+@Verifier(au)
288+func av () = {
289+ let o = au
290+ if ($isInstanceOf(o, "DataTransaction"))
291+ then true
292+ else if ($isInstanceOf(o, "SetScriptTransaction"))
293+ then true
294+ else sigVerify(au.bodyBytes, au.proofs[0], au.senderPublicKey)
295+ }
296+

github/deemru/w8io/026f985 
20.36 ms