tx · 96BqBFtCuvvoBsrSkUJtVztBZRrk36dX1xtRdWYKJ9af

3MpLAJF7RnmS7KMtgynbCH1gUBs4tdk2hjC:  -0.01500000 Waves

2019.07.17 19:08 [590060] smart account 3MpLAJF7RnmS7KMtgynbCH1gUBs4tdk2hjC > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
21.05 ms