tx · BhwyR6Lt6r2hK1KaUiyLhvcuykF7kfxmUrhPQWuttXZM

3N54JoRXk5QW3xx9xDpxUpUkoDzriibARu1:  -0.01400000 Waves

2021.02.09 16:59 [1390746] smart account 3N54JoRXk5QW3xx9xDpxUpUkoDzriibARu1 > SELF 0.00000000 Waves

{ "type": 13, "id": "BhwyR6Lt6r2hK1KaUiyLhvcuykF7kfxmUrhPQWuttXZM", "fee": 1400000, "feeAssetId": null, "timestamp": 1612879272589, "version": 2, "chainId": 84, "sender": "3N54JoRXk5QW3xx9xDpxUpUkoDzriibARu1", "senderPublicKey": "4ZSmQKKSEVi7FUZVartg8PJgDtovcTaKW3HWpdXKkjx2", "proofs": [ "2NssP74q3WRCZvbqtMi1wwCRKvYdhT7vANuAJ26fgeAct4QFLsH423n8pAZfMWnsAeKs4JeCWCsAWtvh45ryyEfs" ], "script": "base64:AAIDAAAAAAAAAA0IARIHCgUBAQEBCBIAAAAAEAAAAAANbG90dGVyeWFtb3VudAIAAAAHX2Ftb3VudAAAAAASbG90dGVyeXByb2JhYmlsaXR5AgAAAAxfcHJvYmFiaWxpdHkAAAAAGWxvdHRlcnlwcm9iYWJpbGl0eWRlY2ltYWwCAAAAFF9wcm9iYWJpbGl0eV9kZWNpbWFsAAAAAAxsb3R0ZXJ5UHJpY2UCAAAABl9wcmljZQAAAAANbG90dGVyeVByaWNlcwIAAAAPX2xvdHRlcnlfcHJpY2VzAAAAAA5sb3R0ZXJ5QXNzZXRJZAIAAAARX2xvdHRlcnlfYXNzZXRfaWQAAAAADWNvdW50T2ZQcmljZXMCAAAADV9jb3VudF9wcmljZXMAAAAAFGxhc3RIYXNoUmFuZG9tTnVtYmVyAgAAABVsYXN0X3NwaW5fcmFuZG9tX2hhc2gAAAAAE2xhc3RUb2tlblJhbmRvbUhhc2gCAAAAFmxhc3RfdG9rZW5fcmFuZG9tX2hhc2gAAAAACmRBcHBBZGRyZXMCAAAALDNCS0ZRTGVvNUV4WjVZMXB0OUZ0enNubzdhU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AAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmO995B", "height": 1390746, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 31bjaN1YfGZPDNYwMk5LS453WySmxRiNfZFT9TirEvzp Next: none Diff:
OldNewDifferences
7373 }
7474
7575
76-func B (C,y) = if (isDefined(y))
76+func B (C,y) = if (if (isDefined(y))
77+ then true
78+ else (y != ""))
7779 then {
7880 let D = getIntegerValue(this, (y + b))
7981 let E = getIntegerValue(this, (y + c))
272274 }
273275 }
274276 let as = size(ai)
275- if ((as == 0))
277+ if ((as == 1))
276278 then {
277279 let at = WriteSet(nil)
278280 ScriptResult(at, TransferSet(nil))
279281 }
280282 else {
281- let y = ai[1]
282- throw(y)
283+ let y = ai[0]
284+ let au = getIntegerValue(this, (y + a))
285+ throw(toString(au))
283286 }
284287 }
285288
286289
287-@Verifier(au)
288-func av () = {
289- let o = au
290+@Verifier(av)
291+func aw () = {
292+ let o = av
290293 if ($isInstanceOf(o, "DataTransaction"))
291294 then true
292295 else if ($isInstanceOf(o, "SetScriptTransaction"))
293296 then true
294- else sigVerify(au.bodyBytes, au.proofs[0], au.senderPublicKey)
297+ else sigVerify(av.bodyBytes, av.proofs[0], av.senderPublicKey)
295298 }
296299
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "_amount"
55
66 let b = "_probability"
77
88 let c = "_probability_decimal"
99
1010 let d = "_price"
1111
1212 let e = "_lottery_prices"
1313
1414 let f = "_lottery_asset_id"
1515
1616 let g = "_count_prices"
1717
1818 let h = "last_spin_random_hash"
1919
2020 let i = "last_token_random_hash"
2121
2222 let j = "3BKFQLeo5ExZ5Y1pt9Ftzsno7aRwzD96zoYVHP3tcLgV"
2323
2424 let k = 5
2525
2626 func l (m) = {
2727 let n = {
2828 let o = getBinary(this, h)
2929 if ($isInstanceOf(o, "ByteVector"))
3030 then {
3131 let p = o
3232 p
3333 }
3434 else if ($isInstanceOf(o, "Unit"))
3535 then base58'2ee4oFDYriWJ9EMeR'
3636 else throw("Match error")
3737 }
3838 let q = (((((n + m.transactionId) + m.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
3939 sha256(q)
4040 }
4141
4242
4343 func r (m) = {
4444 let s = {
4545 let o = getBinary(this, i)
4646 if ($isInstanceOf(o, "ByteVector"))
4747 then {
4848 let p = o
4949 p
5050 }
5151 else if ($isInstanceOf(o, "Unit"))
5252 then base58'4dD7osCQzvuXJdTiGfKvTwnKT'
5353 else throw("Match error")
5454 }
5555 let q = (((((s + m.transactionId) + m.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height))
5656 sha256(q)
5757 }
5858
5959
6060 func t () = {
6161 let u = getStringValue(this, e)
6262 let v = take(u, (size(u) - 1))
6363 let w = split(v, ",")
6464 w
6565 }
6666
6767
6868 func x (y,z) = {
6969 let A = indexOf(y, ",")
7070 if ((A == unit))
7171 then (z + ",")
7272 else ((y + z) + ",")
7373 }
7474
7575
76-func B (C,y) = if (isDefined(y))
76+func B (C,y) = if (if (isDefined(y))
77+ then true
78+ else (y != ""))
7779 then {
7880 let D = getIntegerValue(this, (y + b))
7981 let E = getIntegerValue(this, (y + c))
8082 let F = (E * 1000)
8183 let G = (E % F)
8284 let H = size(C)
8385 if ((H == 1))
8486 then {
8587 let I = C[0]
8688 let J = toInt(fromBase64String(I))
8789 if ((G > J))
8890 then y :: C
8991 else C
9092 }
9193 else C
9294 }
9395 else C
9496
9597
9698 @Callable(K)
9799 func updateprobability (L,M,N,O,P) = {
98100 let y = toBase64String(r(K))
99101 let Q = if (!(isDefined(K.payment)))
100102 then false
101103 else true
102104 let R = if ((P == ""))
103105 then true
104106 else false
105107 let S = (M * N)
106108 if ((Q == true))
107109 then {
108110 let T = extract(K.payment)
109111 let U = {
110112 let o = T.assetId
111113 if ($isInstanceOf(o, "ByteVector"))
112114 then {
113115 let V = o
114116 toBase64String(V)
115117 }
116118 else if ($isInstanceOf(o, "Unit"))
117119 then ""
118120 else throw("Match error")
119121 }
120122 let W = T.amount
121123 if ((U != P))
122124 then throw("Asset Id not matching with Payment Asset Id")
123125 else if ((S > W))
124126 then throw("Not enough Asset Amount")
125127 else {
126128 let X = {
127129 let o = getString(this, e)
128130 if ($isInstanceOf(o, "String"))
129131 then {
130132 let V = o
131133 V
132134 }
133135 else if ($isInstanceOf(o, "Unit"))
134136 then ""
135137 else throw("Match error")
136138 }
137139 let Y = indexOf(X, y)
138140 let Z = {
139141 let o = Y
140142 if ($isInstanceOf(o, "Unit"))
141143 then ((X + y) + ",")
142144 else if ($isInstanceOf(o, "Int"))
143145 then {
144146 let aa = o
145147 throw("Token is duplicated")
146148 }
147149 else throw("Match error")
148150 }
149151 let ab = {
150152 let o = getInteger(this, g)
151153 if ($isInstanceOf(o, "Int"))
152154 then {
153155 let V = o
154156 V
155157 }
156158 else if ($isInstanceOf(o, "Unit"))
157159 then 0
158160 else throw("Match error")
159161 }
160162 if ((k > ab))
161163 then {
162164 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)])
163165 ScriptResult(ac, TransferSet(nil))
164166 }
165167 else throw(("Lottery prices has reached maximum " + toString(k)))
166168 }
167169 }
168170 else {
169171 let ad = if (R)
170172 then wavesBalance(this)
171173 else assetBalance(this, fromBase64String(P))
172174 if ((S > ad))
173175 then throw("Not enough Asset Amount")
174176 else {
175177 let X = {
176178 let o = getString(this, e)
177179 if ($isInstanceOf(o, "String"))
178180 then {
179181 let V = o
180182 V
181183 }
182184 else if ($isInstanceOf(o, "Unit"))
183185 then ""
184186 else throw("Match error")
185187 }
186188 let Y = indexOf(X, y)
187189 let Z = {
188190 let o = Y
189191 if ($isInstanceOf(o, "Unit"))
190192 then ((X + y) + ",")
191193 else if ($isInstanceOf(o, "Int"))
192194 then {
193195 let aa = o
194196 throw("Token is duplicated")
195197 }
196198 else throw("Match error")
197199 }
198200 let ab = {
199201 let o = getInteger(this, g)
200202 if ($isInstanceOf(o, "Int"))
201203 then {
202204 let V = o
203205 V
204206 }
205207 else if ($isInstanceOf(o, "Unit"))
206208 then 0
207209 else throw("Match error")
208210 }
209211 if ((k > ab))
210212 then {
211213 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)])
212214 ScriptResult(ac, TransferSet(nil))
213215 }
214216 else throw(("Lottery prices has reached maximum " + toString(k)))
215217 }
216218 }
217219 }
218220
219221
220222
221223 @Callable(K)
222224 func startlotto () = {
223225 let ae = toBase58String(K.caller.bytes)
224226 let af = l(K)
225227 let ab = {
226228 let o = getInteger(this, g)
227229 if ($isInstanceOf(o, "Int"))
228230 then {
229231 let V = o
230232 V
231233 }
232234 else if ($isInstanceOf(o, "Unit"))
233235 then 0
234236 else throw("Match error")
235237 }
236238 let ag = t()
237239 let ah = toBase64String(af)
238240 let ai = {
239241 let aj = ag
240242 let ak = size(aj)
241243 let al = [ah]
242244 if ((ak == 0))
243245 then al
244246 else {
245247 let am = B(al, aj[0])
246248 if ((ak == 1))
247249 then am
248250 else {
249251 let an = B(am, aj[1])
250252 if ((ak == 2))
251253 then an
252254 else {
253255 let ao = B(an, aj[2])
254256 if ((ak == 3))
255257 then ao
256258 else {
257259 let ap = B(ao, aj[3])
258260 if ((ak == 4))
259261 then ap
260262 else {
261263 let aq = B(ap, aj[4])
262264 if ((ak == 5))
263265 then aq
264266 else {
265267 let ar = B(aq, aj[5])
266268 throw("List size exceed 5")
267269 }
268270 }
269271 }
270272 }
271273 }
272274 }
273275 }
274276 let as = size(ai)
275- if ((as == 0))
277+ if ((as == 1))
276278 then {
277279 let at = WriteSet(nil)
278280 ScriptResult(at, TransferSet(nil))
279281 }
280282 else {
281- let y = ai[1]
282- throw(y)
283+ let y = ai[0]
284+ let au = getIntegerValue(this, (y + a))
285+ throw(toString(au))
283286 }
284287 }
285288
286289
287-@Verifier(au)
288-func av () = {
289- let o = au
290+@Verifier(av)
291+func aw () = {
292+ let o = av
290293 if ($isInstanceOf(o, "DataTransaction"))
291294 then true
292295 else if ($isInstanceOf(o, "SetScriptTransaction"))
293296 then true
294- else sigVerify(au.bodyBytes, au.proofs[0], au.senderPublicKey)
297+ else sigVerify(av.bodyBytes, av.proofs[0], av.senderPublicKey)
295298 }
296299

github/deemru/w8io/026f985 
37.75 ms