tx · 6fcajKgAe5ezje9FD4Xp5F2n9aXVs16Q4DE8pMYGWqXP

3Mwuu6do9zBghKKVshUFferCwepiQYcAeVE:  -0.01500000 Waves

2019.07.11 16:35 [581100] smart account 3Mwuu6do9zBghKKVshUFferCwepiQYcAeVE > SELF 0.00000000 Waves

{ "type": 13, "id": "6fcajKgAe5ezje9FD4Xp5F2n9aXVs16Q4DE8pMYGWqXP", "fee": 1500000, "feeAssetId": null, "timestamp": 1562852142974, "version": 1, "sender": "3Mwuu6do9zBghKKVshUFferCwepiQYcAeVE", "senderPublicKey": "8fdATo5z3B5EweA3kKoRgbJZhGa4JicyHHMkhBZTvNSf", "proofs": [ "4jTJKsFzE6dfim7UJcGEAwYYMjBEWt8qqHkeVLiMrnJK6T4dfR6w8CJr6kWMrGR4Tuqc9qKmYkGQrKehhChfbJav" ], "script": "base64:AAIDAAAAAAAAAAAAAAANAAAAAAVXYXZlcwAAAAAABfXhAAAAAAAEYmV0MQkAAGgAAAACAAAAAAAAAAABBQAAAAVXYXZlcwAAAAAEYmV0NQkAAGgAAAACAAAAAAAAAAAFBQAAAAVXYXZlcwAAAAAFYmV0MTAJAABoAAAAAgAAAAAAAAAACgUAAAAFV2F2ZXMAAAAABWJldDI1CQAAaAAAAAIAAAAAAAAAABkFAAAABVdhdmVzAAAAAAZiZXQxMDAJAABoAAAAAgAAAAAAAAAAZAUAAAAFV2F2ZXMAAAAACWNvbWlzc2lvbgAAAAAAAExLQAAAAAAPb3JhY2xlUHVibGljS2V5CQACWQAAAAECAAAALEE3N3FwVmt0enQxb0FQeVBmbUtkUHNEWkdSUEp6QnJFM1dUdHVMMUt4TVlMAAAAAA1nYW1lVGltZUZyYW1lAAAAAAAAAAWgAAAAAAhzdGF0ZUFjYwIAAAAIQWNjZXB0ZWQAAAAACHN0YXRlV2luAgAAAANXaW4AAAAADHN0YXRlVGltZW91dAIAAAAMV2luQnlUaW1lb3V0AAAAAAlzdGF0ZUxvc2UCAAAABExvc2UAAAACAAAAAW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dGNoMQUAAAABYQAAAAAAAAAAAAQAAAAQYXZhaWxhYmxlQmFsYW5jZQkAAGUAAAACCQEAAAAMd2F2ZXNCYWxhbmNlAAAAAQUAAAAEdGhpcwUAAAAPcmVzZXJ2ZWRCYWxhbmNlBAAAAA9hdmFpbGlibGVBbW91bnQJAABnAAAAAgUAAAAQYXZhaWxhYmxlQmFsYW5jZQgFAAAAA3R0eAAAAAZhbW91bnQEAAAACXNpZ25hdHVyZQkAAfQAAAADCAUAAAADdHR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAADdHR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAA3R0eAAAAA9zZW5kZXJQdWJsaWNLZXkDBQAAAA9hdmFpbGlibGVBbW91bnQFAAAACXNpZ25hdHVyZQcDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAARzc3R4BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAARzc3R4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAAEc3N0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAARzc3R4AAAAD3NlbmRlclB1YmxpY0tleQcTrGHv", "chainId": 84, "height": 581100, "spentComplexity": 0 } View: original | compacted Prev: G4Cqr79JQpGqG9wGvfZK5k8PrDZTpLiDvKkPp7cVF2VM Next: CcXchEfWE3qYvCvYmF4xBxnCPssoKQfX9PSpQQaBQQR8 Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let b = "10.10"
4+let a = 100000000
55
6-@Callable(c)
7-func a (d) = {
8- let e = split(b, ".")
9- let f = parseIntValue(e[0])
10- let g = parseIntValue(e[1])
11- WriteSet([DataEntry((d + "_elem1"), f), DataEntry((d + "_elem2"), g)])
6+let b = (1 * a)
7+
8+let c = (5 * a)
9+
10+let d = (10 * a)
11+
12+let e = (25 * a)
13+
14+let f = (100 * a)
15+
16+let g = 5000000
17+
18+let h = fromBase58String("A77qpVktzt1oAPyPfmKdPsDZGRPJzBrE3WTtuL1KxMYL")
19+
20+let i = 1440
21+
22+let j = "Accepted"
23+
24+let k = "Win"
25+
26+let l = "WinByTimeout"
27+
28+let m = "Lose"
29+
30+@Callable(n)
31+func bet (o) = {
32+ let p = extract(n.payment)
33+ let q = toBase58String(n.transactionId)
34+ let r = height
35+ let s = {
36+ let t = {
37+ let u = getInteger(this, "GamesCounter")
38+ let v = u
39+ if ($isInstanceOf(v, "Int"))
40+ then {
41+ let w = v
42+ w
43+ }
44+ else 0
45+ }
46+ (t + 1)
47+ }
48+ let x = isDefined(p.assetId)
49+ let y = toBase58String(n.callerPublicKey)
50+ let z = if (if ((o == "1"))
51+ then true
52+ else (o == "2"))
53+ then o
54+ else throw("Player's choice is incorrect")
55+ let A = {
56+ let B = (p.amount - g)
57+ if (if (if (if (if ((B == b))
58+ then true
59+ else (B == c))
60+ then true
61+ else (B == d))
62+ then true
63+ else (B == e))
64+ then true
65+ else (B == f))
66+ then (B * 2)
67+ else throw("Payment amount is incorrect")
68+ }
69+ let C = {
70+ let D = {
71+ let E = getInteger(this, "Reserved")
72+ let v = E
73+ if ($isInstanceOf(v, "Int"))
74+ then {
75+ let F = v
76+ F
77+ }
78+ else 0
79+ }
80+ let G = (D + A)
81+ if ((wavesBalance(this) >= G))
82+ then {
83+ let H = G
84+ H
85+ }
86+ else throw("Bet was rejected. Insufficient funds on game account.")
87+ }
88+ if (x)
89+ then throw("You can make bet in Waves only")
90+ else {
91+ let I = ((((((((j + "_") + y) + "_") + z) + "_") + toString(A)) + "_") + toString(r))
92+ WriteSet([DataEntry("Reserved", C), DataEntry(q, I)])
93+ }
1294 }
1395
1496
15-@Verifier(h)
16-func i () = true
97+
98+@Callable(n)
99+func withdraw (q,J) = {
100+ let K = {
101+ let L = getString(this, q)
102+ let F = {
103+ let v = L
104+ if ($isInstanceOf(v, "String"))
105+ then {
106+ let F = v
107+ F
108+ }
109+ else throw("GameId was not found")
110+ }
111+ split(F, "_")
112+ }
113+ let M = K[0]
114+ let N = {
115+ let F = K[1]
116+ addressFromPublicKey(fromBase58String(F))
117+ }
118+ let z = K[2]
119+ let O = {
120+ let P = rsaVerify(SHA256, toBytes(q), J, h)
121+ if (P)
122+ then {
123+ let Q = ((toInt(sha256(J)) % 99) + 1)
124+ if (if ((Q > 0))
125+ then (100 >= Q)
126+ else false)
127+ then Q
128+ else throw("Rsa integer is not in range")
129+ }
130+ else throw("Rsa Signature is invalid")
131+ }
132+ let r = {
133+ let F = K[4]
134+ parseIntValue(F)
135+ }
136+ let A = {
137+ let F = K[3]
138+ parseIntValue(F)
139+ }
140+ let G = {
141+ let E = getInteger(this, "Reserved")
142+ let R = {
143+ let v = E
144+ if ($isInstanceOf(v, "Int"))
145+ then {
146+ let F = v
147+ F
148+ }
149+ else 0
150+ }
151+ let S = (R - A)
152+ if ((S > 0))
153+ then S
154+ else throw("Reserved balance couldn't be less than 0")
155+ }
156+ let T = ((((((K[1] + "_") + K[2]) + "_") + K[3]) + "_") + K[4])
157+ let U = (i > (height - r))
158+ let V = (M == j)
159+ if (V)
160+ then if (U)
161+ then {
162+ let W = {
163+ let X = if ((48 > O))
164+ then "1"
165+ else if ((O > 52))
166+ then "2"
167+ else "3"
168+ (X == z)
169+ }
170+ if (W)
171+ then ScriptResult(WriteSet([DataEntry(q, ((((k + "_") + T) + "_") + toString(O))), DataEntry("Reserved", G)]), TransferSet([ScriptTransfer(N, A, unit)]))
172+ else WriteSet([DataEntry(q, ((((m + "_") + T) + "_") + toString(O))), DataEntry("Reserved", G)])
173+ }
174+ else throw("Game state is invalid")
175+ else ScriptResult(WriteSet([DataEntry(q, ((((l + "_") + T) + "_") + "00")), DataEntry("Reserved", G)]), TransferSet([ScriptTransfer(N, A, unit)]))
176+ }
177+
178+
179+@Verifier(Y)
180+func Z () = {
181+ let v = Y
182+ if ($isInstanceOf(v, "TransferTransaction"))
183+ then {
184+ let aa = v
185+ let E = getInteger(this, "Reserved")
186+ let C = {
187+ let ab = E
188+ if ($isInstanceOf(ab, "Int"))
189+ then {
190+ let F = ab
191+ F
192+ }
193+ else 0
194+ }
195+ let ac = (wavesBalance(this) - C)
196+ let ad = (ac >= aa.amount)
197+ let ae = sigVerify(aa.bodyBytes, aa.proofs[0], aa.senderPublicKey)
198+ if (ad)
199+ then ae
200+ else false
201+ }
202+ else if ($isInstanceOf(v, "SetScriptTransaction"))
203+ then {
204+ let af = v
205+ sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey)
206+ }
207+ else false
208+ }
17209

github/deemru/w8io/169f3d6 
36.48 ms