tx · 6t3NCK5DALSh2saSnVwVQGRx8p8k4gqNxDx1E1tGBEoR

3N54a2KYKDBv33ZSbsKspCJSMmu6hSfYUab:  -0.01500000 Waves

2021.02.09 16:39 [1390729] smart account 3N54a2KYKDBv33ZSbsKspCJSMmu6hSfYUab > SELF 0.00000000 Waves

{ "type": 13, "id": "6t3NCK5DALSh2saSnVwVQGRx8p8k4gqNxDx1E1tGBEoR", "fee": 1500000, "feeAssetId": null, "timestamp": 1612878005744, "version": 2, "chainId": 84, "sender": "3N54a2KYKDBv33ZSbsKspCJSMmu6hSfYUab", "senderPublicKey": "EUYTgGvTF6vQpruVMPYLBijYZWdTPcLLsT5iwsNhNeVc", "proofs": [ "3icYbjiSsCEfeN48i1CJFBv9oWjLu89uccT7AGcsB3Cabj9vHM49X8Y9y8wDRDpxzWe79Bf89WQzVKBrizLztiWA" ], "script": "base64:AAIDAAAAAAAAAA0IARIHCgUBAQEBCBIAAAAAEAAAAAANbG90dGVyeWFtb3VudAIAAAAHX2Ftb3VudAAAAAASbG90dGVyeXByb2JhYmlsaXR5AgAAAAxfcHJvYmFiaWxpdHkAAAAAGWxvdHRlcnlwcm9iYWJpbGl0eWRlY2ltYWwCAAAAFF9wcm9iYWJpbGl0eV9kZWNpbWFsAAAAAAxsb3R0ZXJ5UHJpY2UCAAAABl9wcmljZQAAAAANbG90dGVyeVByaWNlcwIAAAAPX2xvdHRlcnlfcHJpY2VzAAAAAA5sb3R0ZXJ5QXNzZXRJZAIAAAARX2xvdHRlcnlfYXNzZXRfaWQAAAAADWNvdW50T2ZQcmljZXMCAAAADV9jb3VudF9wcmljZXMAAAAAFGxhc3RIYXNoUmFuZG9tTnVtYmVyAgAAABVsYXN0X3NwaW5fcmFuZG9tX2hhc2gAAAAAE2xhc3RUb2tlblJhbmRvbUhhc2gCAAAAFmxhc3RfdG9rZW5fcmFuZG9tX2hhc2gAAAAACmRBcHBBZGRyZXMCAAAALDNCS0ZRTGVvNUV4WjVZMXB0OUZ0enNubzdh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AAAAAAAAAQDCQAAAAAAAAIFAAAADSRzaXplNzU5NTc2NDIAAAAAAAAAAAUFAAAADSRhY2M1NzU5NTc2NDIEAAAADSRhY2M2NzU5NTc2NDIJAQAAAA1wcm9jZWRMb3R0ZXJ5AAAAAgUAAAANJGFjYzU3NTk1NzY0MgkAAZEAAAACBQAAAA0kbGlzdDc1OTU3NjQyAAAAAAAAAAAFCQAAAgAAAAECAAAAEkxpc3Qgc2l6ZSBleGNlZWQgNQQAAAAPc2l6ZU9mV2luUHJpY2VzCQABkAAAAAEFAAAADHdpbm5pbmdUb2tlbgkAAAIAAAABCQABpAAAAAEFAAAAD3NpemVPZldpblByaWNlcwAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V56QoIKA==", "height": 1390729, "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+ throw(I)
88+ }
89+ else C
90+ }
91+ else C
92+
93+
94+@Callable(K)
95+func updateprobability (L,M,N,O,P) = {
96+ let y = toBase64String(r(K))
97+ let Q = if (!(isDefined(K.payment)))
98+ then false
99+ else true
100+ let R = if ((P == ""))
101+ then true
102+ else false
103+ let S = (M * N)
104+ if ((Q == true))
105+ then {
106+ let T = extract(K.payment)
107+ let U = {
108+ let o = T.assetId
109+ if ($isInstanceOf(o, "ByteVector"))
110+ then {
111+ let V = o
112+ toBase64String(V)
113+ }
114+ else if ($isInstanceOf(o, "Unit"))
115+ then ""
116+ else throw("Match error")
117+ }
118+ let W = T.amount
119+ if ((U != P))
120+ then throw("Asset Id not matching with Payment Asset Id")
121+ else if ((S > W))
122+ then throw("Not enough Asset Amount")
123+ else {
124+ let X = {
125+ let o = getString(this, e)
126+ if ($isInstanceOf(o, "String"))
127+ then {
128+ let V = o
129+ V
130+ }
131+ else if ($isInstanceOf(o, "Unit"))
132+ then ""
133+ else throw("Match error")
134+ }
135+ let Y = indexOf(X, y)
136+ let Z = {
137+ let o = Y
138+ if ($isInstanceOf(o, "Unit"))
139+ then ((X + y) + ",")
140+ else if ($isInstanceOf(o, "Int"))
141+ then {
142+ let aa = o
143+ throw("Token is duplicated")
144+ }
145+ else throw("Match error")
146+ }
147+ let ab = {
148+ let o = getInteger(this, g)
149+ if ($isInstanceOf(o, "Int"))
150+ then {
151+ let V = o
152+ V
153+ }
154+ else if ($isInstanceOf(o, "Unit"))
155+ then 0
156+ else throw("Match error")
157+ }
158+ if ((k > ab))
159+ then {
160+ 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)])
161+ ScriptResult(ac, TransferSet(nil))
162+ }
163+ else throw(("Lottery prices has reached maximum " + toString(k)))
164+ }
165+ }
166+ else {
167+ let ad = if (R)
168+ then wavesBalance(this)
169+ else assetBalance(this, fromBase64String(P))
170+ if ((S > ad))
171+ then throw("Not enough Asset Amount")
172+ else {
173+ let X = {
174+ let o = getString(this, e)
175+ if ($isInstanceOf(o, "String"))
176+ then {
177+ let V = o
178+ V
179+ }
180+ else if ($isInstanceOf(o, "Unit"))
181+ then ""
182+ else throw("Match error")
183+ }
184+ let Y = indexOf(X, y)
185+ let Z = {
186+ let o = Y
187+ if ($isInstanceOf(o, "Unit"))
188+ then ((X + y) + ",")
189+ else if ($isInstanceOf(o, "Int"))
190+ then {
191+ let aa = o
192+ throw("Token is duplicated")
193+ }
194+ else throw("Match error")
195+ }
196+ let ab = {
197+ let o = getInteger(this, g)
198+ if ($isInstanceOf(o, "Int"))
199+ then {
200+ let V = o
201+ V
202+ }
203+ else if ($isInstanceOf(o, "Unit"))
204+ then 0
205+ else throw("Match error")
206+ }
207+ if ((k > ab))
208+ then {
209+ 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)])
210+ ScriptResult(ac, TransferSet(nil))
211+ }
212+ else throw(("Lottery prices has reached maximum " + toString(k)))
213+ }
214+ }
215+ }
216+
217+
218+
219+@Callable(K)
220+func startlotto () = {
221+ let ae = toBase58String(K.caller.bytes)
222+ let af = l(K)
223+ let ab = {
224+ let o = getInteger(this, g)
225+ if ($isInstanceOf(o, "Int"))
226+ then {
227+ let V = o
228+ V
229+ }
230+ else if ($isInstanceOf(o, "Unit"))
231+ then 0
232+ else throw("Match error")
233+ }
234+ let ag = t()
235+ let ah = toBase64String(af)
236+ let ai = {
237+ let aj = ag
238+ let ak = size(aj)
239+ let al = [ah]
240+ if ((ak == 0))
241+ then al
242+ else {
243+ let am = B(al, aj[0])
244+ if ((ak == 1))
245+ then am
246+ else {
247+ let an = B(am, aj[1])
248+ if ((ak == 2))
249+ then an
250+ else {
251+ let ao = B(an, aj[2])
252+ if ((ak == 3))
253+ then ao
254+ else {
255+ let ap = B(ao, aj[3])
256+ if ((ak == 4))
257+ then ap
258+ else {
259+ let aq = B(ap, aj[4])
260+ if ((ak == 5))
261+ then aq
262+ else {
263+ let ar = B(aq, aj[5])
264+ throw("List size exceed 5")
265+ }
266+ }
267+ }
268+ }
269+ }
270+ }
271+ }
272+ let as = size(ai)
273+ throw(toString(as))
274+ }
275+
276+
277+@Verifier(at)
278+func au () = {
279+ let o = at
280+ if ($isInstanceOf(o, "DataTransaction"))
281+ then true
282+ else if ($isInstanceOf(o, "SetScriptTransaction"))
283+ then true
284+ else sigVerify(at.bodyBytes, at.proofs[0], at.senderPublicKey)
285+ }
286+

github/deemru/w8io/026f985 
25.69 ms