tx · 6GVtNLeyQmwGpGpnDe7UXydebtigszZP2JUBfhBpmYPz

3MsyGaUAKDfEV8oeS4axL1FqyC2LQAPRjVe:  -0.01500000 Waves

2021.02.10 12:17 [1391885] smart account 3MsyGaUAKDfEV8oeS4axL1FqyC2LQAPRjVe > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
31.10 ms