tx · 51kDzNyF4P6xFHidCDgoaDWKXxMV9KDwwgTUuEN7vkUK

3ND68eBy9NyJPeq4eRqi42c45hoDAzzRjSm:  -0.01500000 Waves

2019.06.28 15:01 [561941] smart account 3ND68eBy9NyJPeq4eRqi42c45hoDAzzRjSm > SELF 0.00000000 Waves

{ "type": 13, "id": "51kDzNyF4P6xFHidCDgoaDWKXxMV9KDwwgTUuEN7vkUK", "fee": 1500000, "feeAssetId": null, "timestamp": 1561723259395, "version": 1, "sender": "3ND68eBy9NyJPeq4eRqi42c45hoDAzzRjSm", "senderPublicKey": "G96KjJm4zuY2fBkuSsXDF78nNX921QaQtck3gaF3AksA", "proofs": [ "3ZrmpV4vyUm89VB3qhkX1tcUk4ZJjuC1ZQkyZkURwGWXZz3bdctWqUNToNuxDHU6JfC1YmbWAcUD8B1DB1EELpJq" ], "script": "base64:AAIDAAAAAAAAAAAAAAAmAAAAAAlSU0FQVUJMSUMJAAJbAAAAAQIAAAGPYmFzZTY0Ok1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBcWxBaUFOU21CcERIWUtQOXNLZ2VOL2wxYkFiMjhnL3RHbGdEa3dUNUZpTU40WDNwd2R2ZHhFN212U1I4LzQxZFU5cng0akcrNnRacGIxVUxWRFBzNDMxdFIySVJhVFh3NUNqK0FjMnZoTCs1SmFtQ2VyR0QxVVcrYmgvRUdRdHhvOFczWUxEcm9mWEI1UUhKeDRQa3oyS2dmK29TL0M4aEh1Qi9VNGtyTzc2VTA1MDdHVGpaUFA5a1JRMHVMU01lcVFYdDh3WFMrbk1wNXdhanF4UHBETE1hU1JFZ3NLd3YvQUVrUDRkenBUWWJpa0xCWWw0cXRkSnNEODRITEZTa2l3ZDNCaGNPclBqb0lZbUx4UXVCRDVUSU1LVEtEM3NkWmdhWTlyc3lxeDNBMDBpbm55eEQ2enAzYjRnRnBVT1g4SnhLWmRFQzJteUVxbGVOZ2c3R3p3SURBUUFCAAAAAAZTRV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CQEAAAASRXh0cmFjdFJlc2VydmVkQW10AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAA3N0eAUAAAAHJG1hdGNoMAYHByvZf68=", "chainId": 84, "height": 561941, "spentComplexity": 0 } View: original | compacted Prev: 9xigoFb6rVaKmCj9SKj4qj2PdzBKGdV4zEPaLARrwLWz Next: 6D5jukQNyDTQ3VzjosRZ1TCYpEj63M1fJqgdwCJP8JZS Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let a = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlAiANSmBpDHYKP9sKgeN/l1bAb28g/tGlgDkwT5FiMN4X3pwdvdxE7mvSR8/41dU9rx4jG+6tZpb1ULVDPs431tR2IRaTXw5Cj+Ac2vhL+5JamCerGD1UW+bh/EGQtxo8W3YLDrofXB5QHJx4Pkz2Kgf+oS/C8hHuB/U4krO76U0507GTjZPP9kRQ0uLSMeqQXt8wXS+nMp5wajqxPpDLMaSREgsKwv/AEkP4dzpTYbikLBYl4qtdJsD84HLFSkiwd3BhcOrPjoIYmLxQuBD5TIMKTKD3sdZgaY9rsyqx3A00innyxD6zp3b4gFpUOX8JxKZdEC2myEqleNgg7GzwIDAQAB")
55
6-let b = addressFromStringValue("3N4Aib5iubWiGMzdTh6wWiVDVbo32oeVUmH")
6+let b = addressFromStringValue("3NCiG28LmWyTigWG13E5QnvdHBsZFYXSS2j")
77
88 let c = 2880
99
219219
220220
221221 @Callable(aB)
222-func bet (L) = {
223- let aC = x()
224- let I = toBase58String(aB.transactionId)
225- let aD = extract(aB.payment)
226- let aE = isDefined(aD.assetId)
227- let aF = isDefined(aD.assetId)
228- let E = J(aD.amount, L)
229- let aG = isDefined(getString(this, I))
230- if (aE)
231- then throw("Bet amount must be in Waves")
232- else if (aF)
233- then throw("Transaction's fee must be in Waves")
234- else if (aG)
235- then throw("Passed txId had been used before. Game aborted.")
236- else {
237- let ac = toBase58String(aB.callerPublicKey)
238- let aH = aa(u, L, ac, height, E, "")
239- ScriptResult(WriteSet([DataEntry(s, D(E)), DataEntry(t, aC), DataEntry(I, aH)]), TransferSet([ScriptTransfer(b, e, unit)]))
240- }
241- }
242-
243-
244-
245-@Callable(aB)
246222 func withdraw (I,S) = {
247- let aI = ap(I)
248- let ab = aI[m]
249- let L = aI[n]
250- let ad = parseIntValue(aI[p])
251- let E = parseIntValue(aI[q])
252- let ac = aI[o]
223+ let aC = ap(I)
224+ let ab = aC[m]
225+ let L = aC[n]
226+ let ad = parseIntValue(aC[p])
227+ let E = parseIntValue(aC[q])
228+ let ac = aC[o]
253229 let at = addressFromPublicKey(fromBase58String(ac))
254230 let av = ((height - ad) > c)
255231 let aw = H(I, E)
276252 }
277253
278254
279-@Verifier(aJ)
280-func aK () = if (sigVerify(aJ.bodyBytes, aJ.proofs[0], aJ.senderPublicKey))
255+@Verifier(aD)
256+func aE () = if (sigVerify(aD.bodyBytes, aD.proofs[0], aD.senderPublicKey))
281257 then {
282- let z = aJ
258+ let z = aD
283259 if ($isInstanceOf(z, "TransferTransaction"))
284260 then {
285- let aL = z
286- ((wavesBalance(this) - aL.amount) >= B())
261+ let aF = z
262+ ((wavesBalance(this) - aF.amount) >= B())
287263 }
288264 else if ($isInstanceOf(z, "SetScriptTransaction"))
289265 then {
290- let aM = z
266+ let aG = z
291267 true
292268 }
293269 else false
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlAiANSmBpDHYKP9sKgeN/l1bAb28g/tGlgDkwT5FiMN4X3pwdvdxE7mvSR8/41dU9rx4jG+6tZpb1ULVDPs431tR2IRaTXw5Cj+Ac2vhL+5JamCerGD1UW+bh/EGQtxo8W3YLDrofXB5QHJx4Pkz2Kgf+oS/C8hHuB/U4krO76U0507GTjZPP9kRQ0uLSMeqQXt8wXS+nMp5wajqxPpDLMaSREgsKwv/AEkP4dzpTYbikLBYl4qtdJsD84HLFSkiwd3BhcOrPjoIYmLxQuBD5TIMKTKD3sdZgaY9rsyqx3A00innyxD6zp3b4gFpUOX8JxKZdEC2myEqleNgg7GzwIDAQAB")
55
6-let b = addressFromStringValue("3N4Aib5iubWiGMzdTh6wWiVDVbo32oeVUmH")
6+let b = addressFromStringValue("3NCiG28LmWyTigWG13E5QnvdHBsZFYXSS2j")
77
88 let c = 2880
99
1010 let d = ((100 * 1000) * 1000)
1111
1212 let e = ((5 * d) / 1000)
1313
1414 let f = (1 * d)
1515
1616 let g = (2 * d)
1717
1818 let h = (4 * d)
1919
2020 let i = (8 * d)
2121
2222 let j = (14 * d)
2323
2424 let k = 10000
2525
2626 let l = 19000
2727
2828 let m = 0
2929
3030 let n = 1
3131
3232 let o = 2
3333
3434 let p = 3
3535
3636 let q = 4
3737
3838 let r = 5
3939
4040 let s = "$RESERVED_AMOUNT"
4141
4242 let t = "$GAME_NUM"
4343
4444 let u = "SUBMITTED"
4545
4646 let v = "WON"
4747
4848 let w = "LOST"
4949
5050 func x () = {
5151 let y = {
5252 let z = getInteger(this, t)
5353 if ($isInstanceOf(z, "Int"))
5454 then {
5555 let A = z
5656 A
5757 }
5858 else 0
5959 }
6060 (y + 1)
6161 }
6262
6363
6464 func B () = {
6565 let z = getInteger(this, s)
6666 if ($isInstanceOf(z, "Int"))
6767 then {
6868 let C = z
6969 C
7070 }
7171 else 0
7272 }
7373
7474
7575 func D (E) = {
7676 let F = (B() + E)
7777 let G = wavesBalance(this)
7878 if ((F > G))
7979 then throw("Insufficient funds on Dice Roller account. Transaction was rejected for your safety.")
8080 else F
8181 }
8282
8383
8484 func H (I,E) = {
8585 let F = (B() - E)
8686 if ((0 > F))
8787 then throw("Invalid Dice Roller account state - reserved amount is less than 0")
8888 else DataEntry(s, F)
8989 }
9090
9191
9292 func J (K,L) = {
9393 let M = if (if (if (if ((K == (f + e)))
9494 then true
9595 else (K == (g + e)))
9696 then true
9797 else (K == (h + e)))
9898 then true
9999 else (K == (i + e)))
100100 then true
101101 else (K == (j + e))
102102 if (M)
103103 then {
104104 let N = size(L)
105105 let O = (K - e)
106106 if ((N == 1))
107107 then ((O * l) / k)
108108 else throw("Invalid player's choice format")
109109 }
110110 else throw("Bet amount is not in range")
111111 }
112112
113113
114114 func P (Q) = if ((Q == 0))
115115 then "0"
116116 else if ((Q == 1))
117117 then "1"
118118 else throw(("Unsupported r parameter passed: expected=[0,...,1] actual=" + toString(Q)))
119119
120120
121121 func R (I,S) = {
122122 let T = rsaVerify(SHA256, toBytes(I), S, a)
123123 if (T)
124124 then {
125125 let U = (toInt(sha256(S)) % 2)
126126 if ((0 > U))
127127 then (-1 * U)
128128 else U
129129 }
130130 else throw("Invalid RSA signature")
131131 }
132132
133133
134134 func V (L,W) = {
135135 let X = size(L)
136136 if ((X == 1))
137137 then (L == W)
138138 else false
139139 }
140140
141141
142142 func Y (Z) = {
143143 let X = size(Z)
144144 if ((X == 0))
145145 then throw("Parameter size must be greater then 0")
146146 else if ((X > 99))
147147 then throw("Parameter size must be less then 100")
148148 else if ((10 > X))
149149 then (("0" + toString(X)) + Z)
150150 else (toString(X) + Z)
151151 }
152152
153153
154154 func aa (ab,L,ac,ad,E,ae) = {
155155 let af = ((((((((Y(ab) + "_") + Y(L)) + "_") + Y(ac)) + "_") + Y(toString(ad))) + "_") + Y(toString(E)))
156156 if ((ae == ""))
157157 then af
158158 else ((af + "_") + Y(ae))
159159 }
160160
161161
162162 func ag (ah) = if ((size(ah) > 0))
163163 then drop(ah, 1)
164164 else ah
165165
166166
167167 func ai (ah) = {
168168 let X = size(ah)
169169 if ((X > 0))
170170 then {
171171 let aj = parseIntValue(take(ah, 2))
172172 let ak = take(drop(ah, 2), aj)
173173 let al = drop(ah, (aj + 2))
174174 let am = ag(al)
175175 [ak, am]
176176 }
177177 else throw("Empty string was passed into parseNextAttribute func")
178178 }
179179
180180
181181 func an (ao) = {
182182 let ab = ai(ao)
183183 let L = ai(ab[1])
184184 let ac = ai(L[1])
185185 let ad = ai(ac[1])
186186 let E = ai(ad[1])
187187 [ab[0], L[0], ac[0], ad[0], E[0]]
188188 }
189189
190190
191191 func ap (I) = {
192192 let aq = {
193193 let z = getString(this, I)
194194 if ($isInstanceOf(z, "String"))
195195 then {
196196 let ar = z
197197 ar
198198 }
199199 else throw(("Couldn't find game by " + I))
200200 }
201201 an(aq)
202202 }
203203
204204
205205 func as (I,at,E,au,av,aw) = {
206206 let ax = [aw]
207207 let ay = [ScriptTransfer(at, E, unit)]
208208 if (av)
209209 then {
210210 let az = ((au + "_") + Y("TIMEOUT"))
211211 let aA = DataEntry(I, az)
212212 ScriptResult(WriteSet(aA :: ax), TransferSet(ay))
213213 }
214214 else {
215215 let aA = DataEntry(I, au)
216216 ScriptResult(WriteSet(aA :: ax), TransferSet(ay))
217217 }
218218 }
219219
220220
221221 @Callable(aB)
222-func bet (L) = {
223- let aC = x()
224- let I = toBase58String(aB.transactionId)
225- let aD = extract(aB.payment)
226- let aE = isDefined(aD.assetId)
227- let aF = isDefined(aD.assetId)
228- let E = J(aD.amount, L)
229- let aG = isDefined(getString(this, I))
230- if (aE)
231- then throw("Bet amount must be in Waves")
232- else if (aF)
233- then throw("Transaction's fee must be in Waves")
234- else if (aG)
235- then throw("Passed txId had been used before. Game aborted.")
236- else {
237- let ac = toBase58String(aB.callerPublicKey)
238- let aH = aa(u, L, ac, height, E, "")
239- ScriptResult(WriteSet([DataEntry(s, D(E)), DataEntry(t, aC), DataEntry(I, aH)]), TransferSet([ScriptTransfer(b, e, unit)]))
240- }
241- }
242-
243-
244-
245-@Callable(aB)
246222 func withdraw (I,S) = {
247- let aI = ap(I)
248- let ab = aI[m]
249- let L = aI[n]
250- let ad = parseIntValue(aI[p])
251- let E = parseIntValue(aI[q])
252- let ac = aI[o]
223+ let aC = ap(I)
224+ let ab = aC[m]
225+ let L = aC[n]
226+ let ad = parseIntValue(aC[p])
227+ let E = parseIntValue(aC[q])
228+ let ac = aC[o]
253229 let at = addressFromPublicKey(fromBase58String(ac))
254230 let av = ((height - ad) > c)
255231 let aw = H(I, E)
256232 if ((ab != u))
257233 then throw("Invalid game state for passed gameId")
258234 else if (av)
259235 then {
260236 let W = take(L, 1)
261237 let au = aa(v, L, ac, ad, E, W)
262238 as(I, at, E, au, av, aw)
263239 }
264240 else {
265241 let W = P(R(I, S))
266242 if (V(L, W))
267243 then {
268244 let au = aa(v, L, ac, ad, E, W)
269245 as(I, at, E, au, av, aw)
270246 }
271247 else {
272248 let au = aa(w, L, ac, ad, E, W)
273249 WriteSet([DataEntry(I, au), aw])
274250 }
275251 }
276252 }
277253
278254
279-@Verifier(aJ)
280-func aK () = if (sigVerify(aJ.bodyBytes, aJ.proofs[0], aJ.senderPublicKey))
255+@Verifier(aD)
256+func aE () = if (sigVerify(aD.bodyBytes, aD.proofs[0], aD.senderPublicKey))
281257 then {
282- let z = aJ
258+ let z = aD
283259 if ($isInstanceOf(z, "TransferTransaction"))
284260 then {
285- let aL = z
286- ((wavesBalance(this) - aL.amount) >= B())
261+ let aF = z
262+ ((wavesBalance(this) - aF.amount) >= B())
287263 }
288264 else if ($isInstanceOf(z, "SetScriptTransaction"))
289265 then {
290- let aM = z
266+ let aG = z
291267 true
292268 }
293269 else false
294270 }
295271 else false
296272

github/deemru/w8io/026f985 
35.25 ms