tx · 2CZ7UFXYCrbK4y5hjcr5eUcotxt42ci8foTcBbXDQf7H

3N8M61KCm8G72mK8PjacFbnnxdbFsyqQDeT:  -0.01400000 Waves

2019.07.01 17:44 [566454] smart account 3N8M61KCm8G72mK8PjacFbnnxdbFsyqQDeT > SELF 0.00000000 Waves

{ "type": 13, "id": "2CZ7UFXYCrbK4y5hjcr5eUcotxt42ci8foTcBbXDQf7H", "fee": 1400000, "feeAssetId": null, "timestamp": 1561992277723, "version": 1, "sender": "3N8M61KCm8G72mK8PjacFbnnxdbFsyqQDeT", "senderPublicKey": "Bhyvkx4xdbEi4KPJNZSzx9gZgzgyLEsavuj2kYSt7SST", "proofs": [ "4wu5JRvq6Eome7FWo1wzWfCMngY5wbVJ85F5Vk8SrK5iQovcDi7LfmYwZQFTky7vqB6fWg5f1XcRgyv5ba8hjwQC" ], "script": "base64:AAIDAAAAAAAAAAAAAAAlAAAAAA9TZXJ2ZXJQdWJsaWNLZXkBAAAAIL79hxhmqWX34iA/RS9p36FY3qCJjLclClmAz4vj6GlBAAAAAA1TZXJ2ZXJBZGRyZXNzCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAECAAAAIzNNdThvS1NjV0N3UjMzWW9tVDV1a1U3M1A3akxyeVpUazRzAAAAABBSb3VsZXR0ZVNlY3Rpb25zAAAAAAAAAAAVAAAAABFEYXRhR2FtZU51bWJlcktleQIAAAALQVBQX0dBTUVfSUQAAAAADURhdGFBbW91bnRLZXkCAAAABkFNT1VOVAAAAAAORGF0YVNlY3Rpb25LZXkCAAAAB1NFQ1RJT04AAAAADURhdGFTdGF0dXNLZXkCAAAABlNUQVRVUwAAAAANRGF0YVJlc3VsdEtleQIAAAAGUkVTVUxUAAAAAA1EYXRhU3RhdHVzTmV3AgAAAANORVcAAAAADURhdGFTdGF0dXNXaW4CAAAAA1dJTgAAAAAPRGF0YVN0YXR1c0xvb3NlAgAAAAVMT09TRQAAAAAHV0FWRUxFVAkAAGg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dhbWVUcmFuc2FjdGlvbklkBQAAAA1EYXRhUmVzdWx0S2V5BQAAAARyYW5kBQAAAANuaWwDBQAAAAVpc1dpbgkBAAAADFNjcmlwdFJlc3VsdAAAAAIFAAAACHdyaXRlU2V0CQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAADVNlcnZlckFkZHJlc3MFAAAACkNPTU1JU1NJT04FAAAABHVuaXQFAAAAA25pbAUAAAAId3JpdGVTZXQJAAACAAAAAQkAASwAAAACBQAAAA1FcnJvckdhbWVPdmVyBQAAAAZzdGF0dXMAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAADc3R4BQAAAAckbWF0Y2gwBgcHf6ryfA==", "chainId": 84, "height": 566454, "spentComplexity": 0 } View: original | compacted Prev: EoKn4XHR9LZ9DCp2iv64ieaLJk7nWbHmS65ciURcvaHo Next: BaMHGgyYutk5LidMNg6G4uZh3bPp4Cyzjpe7yHU34G3Q Diff:
OldNewDifferences
131131 else (Y == (q + m)))
132132 then true
133133 else (Y == (r + m))
134- Z
134+ if (Z)
135+ then throw("ok ok")
136+ else throw("not okoko")
135137 }
136138
137139
149151 let aj = isDefined(ag.assetId)
150152 let ak = ag.amount
151153 let al = X(ag.amount)
152- if (al)
153- then throw(("ok winAmt " + toString(al)))
154- else throw(("not ok winAmt " + toString(al)))
154+ if (ac)
155+ then throw(B)
156+ else if (ai)
157+ then throw(w)
158+ else if (aj)
159+ then throw(x)
160+ else if (ah)
161+ then throw(y)
162+ else ScriptResult(WriteSet([DataEntry(ae, af), DataEntry(d, ad), H(ae, e, ak), H(ae, f, ab), D(ae, g, i)]), TransferSet([ScriptTransfer(b, m, unit)]))
155163 }
156164
157165
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'DrYgfD7j6AKD1iXtn9uhMka95ATZB42B1kGKCUATP2UG'
55
66 let b = addressFromStringValue("3Mu8oKScWCwR33YomT5ukU73P7jLryZTk4s")
77
88 let c = 21
99
1010 let d = "APP_GAME_ID"
1111
1212 let e = "AMOUNT"
1313
1414 let f = "SECTION"
1515
1616 let g = "STATUS"
1717
1818 let h = "RESULT"
1919
2020 let i = "NEW"
2121
2222 let j = "WIN"
2323
2424 let k = "LOOSE"
2525
2626 let l = ((100 * 1000) * 1000)
2727
2828 let m = ((5 * l) / 1000)
2929
3030 let n = (1 * l)
3131
3232 let o = (2 * l)
3333
3434 let p = (4 * l)
3535
3636 let q = (8 * l)
3737
3838 let r = (14 * l)
3939
4040 let s = [0, 2, 20, 2, 5, 2, 10, 2, 6, 2, 5, 2, 6, 2, 5, 2, 10, 2, 5, 2, 6]
4141
4242 let t = "Only waves accepted"
4343
4444 let u = "Parameter size must be greater than 0"
4545
4646 let v = "Parameter size must be less than 100"
4747
4848 let w = "Bet amount must be in Waves"
4949
5050 let x = "Transaction's fee must be in Waves"
5151
5252 let y = "Passed txId had been used before. Game aborted."
5353
5454 let z = "Key not found: "
5555
5656 let A = "Game already is over"
5757
5858 let B = "Incorrect section result"
5959
6060 let C = "Bet amount is not in range"
6161
6262 func D (E,F,G) = DataEntry(((E + "_") + F), G)
6363
6464
6565 func H (E,F,G) = DataEntry(((E + "_") + F), G)
6666
6767
6868 func I (E,F) = {
6969 let J = ((E + "_") + F)
7070 let K = getString(this, J)
7171 if ($isInstanceOf(K, "String"))
7272 then {
7373 let L = K
7474 L
7575 }
7676 else throw((z + J))
7777 }
7878
7979
8080 func M (E,F) = {
8181 let J = ((E + "_") + F)
8282 let K = getInteger(this, J)
8383 if ($isInstanceOf(K, "Int"))
8484 then {
8585 let L = K
8686 L
8787 }
8888 else throw((z + J))
8989 }
9090
9191
9292 func N () = {
9393 let O = {
9494 let K = getInteger(this, d)
9595 if ($isInstanceOf(K, "Int"))
9696 then {
9797 let P = K
9898 P
9999 }
100100 else 0
101101 }
102102 (O + 1)
103103 }
104104
105105
106106 func Q (R,S) = {
107107 let T = sigVerify(fromBase58String(R), fromBase58String(S), a)
108108 if (T)
109109 then {
110110 let U = (toInt(sha256(toBytes(S))) % c)
111111 if ((0 > U))
112112 then (-1 * U)
113113 else U
114114 }
115115 else throw("Invalid RSA signature")
116116 }
117117
118118
119119 func V (W) = if (W)
120120 then j
121121 else k
122122
123123
124124 func X (Y) = {
125125 let Z = if (if (if (if ((Y == (n + m)))
126126 then true
127127 else (Y == (o + m)))
128128 then true
129129 else (Y == (p + m)))
130130 then true
131131 else (Y == (q + m)))
132132 then true
133133 else (Y == (r + m))
134- Z
134+ if (Z)
135+ then throw("ok ok")
136+ else throw("not okoko")
135137 }
136138
137139
138140 @Callable(aa)
139141 func bet (ab) = {
140142 let ac = if ((0 >= ab))
141143 then true
142144 else (ab > 20)
143145 let ad = N()
144146 let ae = toBase58String(aa.transactionId)
145147 let af = toBase58String(aa.caller.bytes)
146148 let ag = extract(aa.payment)
147149 let ah = isDefined(getString(this, ae))
148150 let ai = isDefined(ag.assetId)
149151 let aj = isDefined(ag.assetId)
150152 let ak = ag.amount
151153 let al = X(ag.amount)
152- if (al)
153- then throw(("ok winAmt " + toString(al)))
154- else throw(("not ok winAmt " + toString(al)))
154+ if (ac)
155+ then throw(B)
156+ else if (ai)
157+ then throw(w)
158+ else if (aj)
159+ then throw(x)
160+ else if (ah)
161+ then throw(y)
162+ else ScriptResult(WriteSet([DataEntry(ae, af), DataEntry(d, ad), H(ae, e, ak), H(ae, f, ab), D(ae, g, i)]), TransferSet([ScriptTransfer(b, m, unit)]))
155163 }
156164
157165
158166
159167 @Callable(aa)
160168 func result (ae,am) = {
161169 let U = Q(ae, am)
162170 let an = M(ae, f)
163171 let ao = I(ae, g)
164172 if ((ao == i))
165173 then {
166174 let ap = (U == an)
167175 let aq = WriteSet([D(ae, g, V(ap)), H(ae, h, U)])
168176 if (ap)
169177 then ScriptResult(aq, TransferSet([ScriptTransfer(b, m, unit)]))
170178 else aq
171179 }
172180 else throw((A + ao))
173181 }
174182
175183
176184 @Verifier(ar)
177185 func as () = if (sigVerify(ar.bodyBytes, ar.proofs[0], ar.senderPublicKey))
178186 then {
179187 let K = ar
180188 if ($isInstanceOf(K, "SetScriptTransaction"))
181189 then {
182190 let at = K
183191 true
184192 }
185193 else false
186194 }
187195 else false
188196

github/deemru/w8io/169f3d6 
46.17 ms