tx · G4shHT5ubxcDzrv6ebKZY7wVGThTjdDrEKBiFHVLHV5E

3MqzME1djQCpdFpgxV6FvTSCJqrrqubrWW5:  -0.01500000 Waves

2020.06.16 17:38 [1046199] smart account 3MqzME1djQCpdFpgxV6FvTSCJqrrqubrWW5 > SELF 0.00000000 Waves

{ "type": 13, "id": "G4shHT5ubxcDzrv6ebKZY7wVGThTjdDrEKBiFHVLHV5E", "fee": 1500000, "feeAssetId": null, "timestamp": 1592318349365, "version": 1, "sender": "3MqzME1djQCpdFpgxV6FvTSCJqrrqubrWW5", "senderPublicKey": "282r3jhKW4zX7uRgWAQwTxKxHQabz9tmaJEpk2wGwvki", "proofs": [ "3YFocq1pn6k1dTbQ3u4YkJvR3Kett13dF9NsE5VNjh3rPU9Ti8cAhgGzCfP3V9gaA3SCbYPN5EyHTYJJyzmpbVqq" ], "script": "base64:AAIDAAAAAAAAAA0IARIDCgEIEgQKAggCAAAARgAAAAAJUlNBUFVCTElDCQACWwAAAAECAAABj2Jhc2U2NDpNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQW1wdVhjSS9vNHBJQjV5d3Y5RE9PR2FwVEJVd1JWbE0vNitINmhGZWxPWHRrcndZL1lJdG1QeEVEcHo3ckFlclFQUWU5dERQRWFBdi9HbmxFenR5Yk9GWGd1OUR6RGU4WW9NUkQxdmFrZ29BY29nbWJZNThRRDZLTWo1SGtvVmoveVROSWM5c3pqNXFoSWxyQWRtYjNLTEw2aFFVN3k4K0pqNjlCV1ZQc2FRZ2tzcFNkZVl0YjF0SFFjN3Q5NW43T1o1NnIyQTdHMytiUWY2blNNa1BrQWhJckVwYkNtNThvaUdCY3pkVGQvTHFGU1ZvdFpzYkw3WWg2U0hMZm5IZUQrUWdjZkpybmFtOE9ITUdKRUpUUlhqSUxlSEdqbFJDUDhvVnBpb0hyeTFTMnhQeDVzVnpJbTJNTStDelllbkFHbG8wajI2YXRCaGlVTG9UdWx3RDNwUU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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 = 4320
9+
10+let d = 100000000
11+
12+let e = 1000000
13+
14+let f = [d, e]
15+
16+let g = [unit, fromBase58String("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT")]
17+
18+func h (i) = ((1 * f[i]) / 2)
19+
20+
21+func j (i) = (6 * f[i])
22+
23+
24+func k (i) = ((1 * f[i]) / 10)
25+
26+
27+func l (m,n) = if (isDefined(getInteger(this, m)))
28+ then getIntegerValue(this, m)
29+ else n
30+
31+
32+func o (m,p) = DataEntry(m, p)
33+
34+
35+func q (m) = o(m, (l(m, -1) + 1))
36+
37+
38+func r (m,s) = o(m, (l(m, 0) + s))
39+
40+
41+let t = 10000
42+
43+let u = 96
44+
45+let v = 94
46+
47+let w = 9860
48+
49+let x = 93
50+
51+let y = 87
52+
53+let z = 9800
54+
55+let A = 86
56+
57+let B = 86
58+
59+let C = 9750
60+
61+let D = 85
62+
63+let E = 84
64+
65+let F = 9670
66+
67+let G = 83
68+
69+let H = 83
70+
71+let I = 9630
72+
73+let J = 82
74+
75+let K = 67
76+
77+let L = 9610
78+
79+let M = 66
80+
81+let N = 56
82+
83+let O = 9560
84+
85+let P = 55
86+
87+let Q = 38
88+
89+let R = 9500
90+
91+let S = 37
92+
93+let T = 3
94+
95+let U = 9290
96+
97+let V = 2
98+
99+let W = 1
100+
101+let X = 9860
102+
103+let Y = 0
104+
105+let Z = 1
106+
107+let aa = 2
108+
109+let ab = 3
110+
111+let ac = 4
112+
113+let ad = 5
114+
115+let ae = ["$RESERVED_AMOUNT_WAVES", "$RESERVED_AMOUNT_USDN"]
116+
117+let af = "$GAME_NUM"
118+
119+let ag = "$MAX_BALANCE"
120+
121+let ah = "SUBMITTED"
122+
123+let ai = "WON"
124+
125+let aj = "LOST"
126+
127+func ak () = {
128+ let al = {
129+ let am = getInteger(this, af)
130+ if ($isInstanceOf(am, "Int"))
131+ then {
132+ let an = am
133+ an
134+ }
135+ else 0
136+ }
137+ (al + 1)
138+ }
139+
140+
141+func ao (i) = {
142+ let am = getInteger(this, ae[i])
143+ if ($isInstanceOf(am, "Int"))
144+ then {
145+ let ap = am
146+ ap
147+ }
148+ else 0
149+ }
150+
151+
152+func aq (ar,i) = {
153+ let as = (l(ae[i], 0) + ar)
154+ if ((as > assetBalance(this, g[i])))
155+ then throw("Insufficient funds on Dice Roller account. Transaction was rejected for your safety.")
156+ else as
157+ }
158+
159+
160+func at (au,i,ar) = if ((0 > (l(ae[i], 0) - ar)))
161+ then throw("Invalid Dice Roller account state - reserved amount is less than 0")
162+ else r(ae[i], -(ar))
163+
164+
165+func av (i) = if ((i == g[0]))
166+ then 0
167+ else if ((i == g[1]))
168+ then 1
169+ else throw("Invalid payment asset")
170+
171+
172+func aw (ax,i,ay) = {
173+ let az = h(i)
174+ let aA = j(i)
175+ let aB = k(i)
176+ let aC = if (if ((ax >= az))
177+ then (aA >= ax)
178+ else false)
179+ then ((ax % aB) == 0)
180+ else false
181+ if (aC)
182+ then {
183+ let aD = parseIntValue(ay)
184+ if (if ((aD >= 1))
185+ then (96 >= aD)
186+ else false)
187+ then {
188+ let aE = if (if ((u >= aD))
189+ then (aD >= v)
190+ else false)
191+ then w
192+ else if (if ((x >= aD))
193+ then (aD >= y)
194+ else false)
195+ then z
196+ else if (if ((A >= aD))
197+ then (aD >= B)
198+ else false)
199+ then C
200+ else if (if ((D >= aD))
201+ then (aD >= E)
202+ else false)
203+ then F
204+ else if (if ((G >= aD))
205+ then (aD >= H)
206+ else false)
207+ then I
208+ else if (if ((J >= aD))
209+ then (aD >= K)
210+ else false)
211+ then L
212+ else if (if ((M >= aD))
213+ then (aD >= N)
214+ else false)
215+ then O
216+ else if (if ((P >= aD))
217+ then (aD >= Q)
218+ else false)
219+ then R
220+ else if (if ((S >= aD))
221+ then (aD >= T)
222+ else false)
223+ then U
224+ else if (if ((V >= aD))
225+ then (aD >= W)
226+ else false)
227+ then X
228+ else throw(("Couldn't define range: playerChoice=" + ay))
229+ ((((100 * aE) / aD) * ax) / t)
230+ }
231+ else throw("Player choice is out of the condition below: 1 <= choice <= 96")
232+ }
233+ else throw(((((("Bet amount is not in range: minBet=" + toString(az)) + " maxBet=") + toString(aA)) + " betStep=") + toString(aB)))
234+ }
235+
236+
237+func aF (aG) = if (if ((aG >= 1))
238+ then (100 >= aG)
239+ else false)
240+ then toString(aG)
241+ else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(aG)))
242+
243+
244+func aH (au,aI) = {
245+ let aJ = rsaVerify(SHA256, toBytes(au), aI, a)
246+ if (aJ)
247+ then {
248+ let aK = (toInt(sha256(aI)) % 100)
249+ if ((0 > aK))
250+ then ((-1 * aK) + 1)
251+ else (aK + 1)
252+ }
253+ else throw("Invalid RSA signature")
254+ }
255+
256+
257+func aL (ay,aK) = {
258+ let aD = parseIntValue(ay)
259+ (aD >= aK)
260+ }
261+
262+
263+func aM (aN) = {
264+ let aO = size(aN)
265+ if ((aO == 0))
266+ then throw("Parameter size must be greater then 0")
267+ else if ((aO > 99))
268+ then throw("Parameter size must be less then 100")
269+ else if ((10 > aO))
270+ then (("0" + toString(aO)) + aN)
271+ else (toString(aO) + aN)
272+ }
273+
274+
275+func aP (aQ,ay,aR,aS,ar,i,aT) = (((((((((((aQ + "_") + ay) + "_") + aR) + "_") + toString(aS)) + "_") + toString(ar)) + "_") + toString(i)) + (if ((aT == ""))
276+ then ""
277+ else ("_" + aT)))
278+
279+
280+func aU (au) = split({
281+ let am = getString(this, au)
282+ if ($isInstanceOf(am, "String"))
283+ then {
284+ let aV = am
285+ aV
286+ }
287+ else throw((("Game: " + au) + " not found."))
288+ }, "_")
289+
290+
291+func aW (au,aX,ar,i,aY,aZ,ba) = {
292+ let bb = [ba]
293+ let bc = [ScriptTransfer(aX, ar, g[i])]
294+ if (aZ)
295+ then {
296+ let bd = (aY + "_TIMEOUT")
297+ let be = DataEntry(au, bd)
298+ ScriptResult(WriteSet(be :: bb), TransferSet(bc))
299+ }
300+ else {
301+ let be = DataEntry(au, aY)
302+ ScriptResult(WriteSet(be :: bb), TransferSet(bc))
303+ }
304+ }
305+
306+
307+@Callable(bf)
308+func bet (ay) = {
309+ let au = toBase58String(bf.transactionId)
310+ if ((bf.payment == unit))
311+ then throw("No payment")
312+ else if (isDefined(getString(this, au)))
313+ then throw((("Bet for: " + au) + " was already made."))
314+ else if (if ((bf.feeAssetId != g[0]))
315+ then (bf.feeAssetId != g[1])
316+ else false)
317+ then throw("Invalid fee")
318+ else {
319+ let aN = extract(bf.payment)
320+ if ((bf.feeAssetId != aN.assetId))
321+ then throw("Fee assetId and payment assetId should match")
322+ else {
323+ let i = av(aN.assetId)
324+ let bg = bf.fee
325+ let ar = aw((aN.amount - bf.fee), i, ay)
326+ let aR = toBase58String(bf.callerPublicKey)
327+ let be = aP(ah, ay, aR, height, ar, i, "")
328+ ScriptResult(WriteSet([DataEntry(ae[i], aq(ar, i)), q(af), DataEntry(au, be)]), TransferSet([ScriptTransfer(b, bg, aN.assetId)]))
329+ }
330+ }
331+ }
332+
333+
334+
335+@Callable(bf)
336+func withdraw (au,aI) = {
337+ let be = aU(au)
338+ let aQ = be[Y]
339+ let ay = be[Z]
340+ let aS = parseIntValue(be[ab])
341+ let ar = parseIntValue(be[ac])
342+ let i = parseIntValue(be[ad])
343+ let aR = be[aa]
344+ let aX = addressFromPublicKey(fromBase58String(aR))
345+ let aZ = ((height - aS) > c)
346+ let ba = at(au, i, ar)
347+ if ((aQ != ah))
348+ then throw("Invalid game state for passed gameId")
349+ else if (aZ)
350+ then {
351+ let bh = ay
352+ let aY = aP(ai, ay, aR, aS, ar, i, bh)
353+ aW(au, aX, ar, i, aY, aZ, ba)
354+ }
355+ else {
356+ let aK = aH(au, aI)
357+ let bh = aF(aK)
358+ if (aL(ay, aK))
359+ then {
360+ let aY = aP(ai, ay, aR, aS, ar, i, bh)
361+ aW(au, aX, ar, i, aY, aZ, ba)
362+ }
363+ else {
364+ let aY = aP(aj, ay, aR, aS, ar, i, bh)
365+ WriteSet([DataEntry(au, aY), ba])
366+ }
367+ }
368+ }
369+
370+
371+@Verifier(bi)
372+func bj () = if (sigVerify(bi.bodyBytes, bi.proofs[0], bi.senderPublicKey))
373+ then {
374+ let am = bi
375+ if ($isInstanceOf(am, "TransferTransaction"))
376+ then {
377+ let bk = am
378+ let i = av(bk.assetId)
379+ ((assetBalance(this, bk.assetId) - bk.amount) >= l(ae[i], 0))
380+ }
381+ else if ($isInstanceOf(am, "SetScriptTransaction"))
382+ then {
383+ let bl = am
384+ if ((l(ae[0], 0) == 0))
385+ then (l(ae[1], 0) == 0)
386+ else false
387+ }
388+ else false
389+ }
390+ else false
391+

github/deemru/w8io/169f3d6 
29.25 ms