tx · FWfSK1QuXN9nyNVTxCg2xRe2MB2uzYhD6ChDA7KnegdW

3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX:  -0.01000000 Waves

2023.06.13 14:07 [2620817] smart account 3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX > SELF 0.00000000 Waves

{ "type": 13, "id": "FWfSK1QuXN9nyNVTxCg2xRe2MB2uzYhD6ChDA7KnegdW", "fee": 1000000, "feeAssetId": null, "timestamp": 1686654490289, "version": 2, "chainId": 84, "sender": "3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX", "senderPublicKey": "5iiNX4Sz3qZzcerumQLc1y7u9TH2X46jDV4f9Xivtmtv", "proofs": [ "5e5t9H5p5YxPnnJgiRh1k15XMEnHKNaUMgJvLon9o6KgaP4BGhsPSKQPUmcQsovBxghUzV1k6todVaYZg5aTsivo" ], "script": "base64:BgILCAISBQoDAREIEgAbAQpudW1Ub1dhdmVzAQNudW0JAGgCBQNudW0AgMLXLwELaXNQYXltZW50T2sCAWkDc3VtBBFhY2NlcHRhYmxlQXNzZXRJZAEEE6vZMwQBcAkAkQMCCAUBaQhwYXltZW50cwAAAwkAZwIIBQFwBmFtb3VudAkBCm51bVRvV2F2ZXMBBQNzdW0JAAACCAUBcAdhc3NldElkBQR1bml0BwELbWFwSW50VG9TdHICBWFjY3VtBG5leHQJAMwIAgkApAMBBQRuZXh0BQVhY2N1bQELbWFwU3RyVG9JbnQCBWFjY3VtBG5leHQJAMwIAgkBDXBhcnNlSW50VmFsdWUBBQRuZXh0BQVhY2N1bQELbWFwSW50VG9TdW0CBWFjY3VtBG5leHQJAGQCBQVhY2N1bQUEbmV4dAEMbGlzdEludFRvU3VtAQNhcnIKAAIkbAUDYXJyCgACJHMJAJADAQUCJGwKAAUkYWNjMAAACgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQttYXBJbnRUb1N1bQIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIk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bW91bnRLZXkBBQFpCQDMCAIJAQtEZWxldGVFbnRyeQEJARdSX2dldFNlbGVjdGVkTnVtYmVyc0tleQEFAWkJAMwIAgkBC0RlbGV0ZUVudHJ5AQkBEVJfZ2V0RGlyZWN0aW9uS2V5AQUBaQkAzAgCCQEMSW50ZWdlckVudHJ5AgkBC1JfZ2V0TG9nS2V5AQUBaQUNd2lubmluZ0Ftb3VudAkAzAgCCQELU3RyaW5nRW50cnkCCQELUl9nZXRMb2dLZXkBBQFpBQZsb2dTdHIJAMwIAgkBC1N0cmluZ0VudHJ5AgkBDlJfZ2V0U3RhdHVzS2V5AQUBaQUJc3RhdHVzU3RyBQNuaWwAYhvSFA==", "height": 2620817, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4GxP3YVcn6owHfcTPiNoNcWdCiuei7ATCoFWjzJTaUxw Next: BPEtffxgdJxzb9yCa8ABB5ugFhb2AhR6DLJjxF7ooiCu Diff:
OldNewDifferences
9494 func getRandomRullet (commitHeight) = {
9595 let randomHash = sha256((value(value(blockInfoByHeight(commitHeight)).vrf) + toBytes(commitHeight)))
9696 let hashInt = toInt(randomHash, 24)
97- (hashInt % 37)
97+ let randomHash2 = sha256((value(value(blockInfoByHeight(commitHeight)).vrf) + toBytes((commitHeight - 2))))
98+ let hashInt2 = toInt(randomHash2, 24)
99+ let randomHash3 = sha256((value(value(blockInfoByHeight(commitHeight)).vrf) + toBytes((commitHeight - 4))))
100+ let hashInt3 = toInt(randomHash3, 24)
101+ let randomNumber = (hashInt % 37)
102+ let randomNumber2 = (hashInt2 % 37)
103+ let randomNumber3 = (hashInt3 % 37)
104+ if ((randomNumber == 0))
105+ then randomNumber
106+ else if (if ((randomNumber > 12))
107+ then ((commitHeight % 2) != 0)
108+ else false)
109+ then randomNumber
110+ else if (if ((25 > randomNumber))
111+ then ((commitHeight % 2) != 0)
112+ else false)
113+ then randomNumber2
114+ else randomNumber3
98115 }
99116
100117
110127 then (betAmount * 2)
111128 else 0
112129 else if ((betDirection == "odd"))
113- then if (((randomNumber % 2) != 0))
130+ then if (if (((randomNumber % 2) == 0))
131+ then (randomNumber != 0)
132+ else false)
114133 then (betAmount * 2)
115134 else 0
116135 else if ((betDirection == "even"))
117- then if (((randomNumber % 2) == 0))
136+ then if (if (((randomNumber % 2) != 0))
137+ then (randomNumber != 0)
138+ else false)
118139 then (betAmount * 2)
119140 else 0
120141 else if (if ((size(selectedNumberBets) == 1))
136157 then (betAmount * 9)
137158 else 0
138159 else if ((size(selectedNumberBets) == 12))
139- then if (containsElement(selectedNumberBets, randomNumber))
160+ then if (if (containsElement(selectedNumberBets, randomNumber))
161+ then (randomNumber != 0)
162+ else false)
140163 then (betAmount * 3)
141164 else 0
142165 else if ((size(selectedNumberBets) == 18))
143- then if (containsElement(selectedNumberBets, randomNumber))
166+ then if (if (containsElement(selectedNumberBets, randomNumber))
167+ then (randomNumber != 0)
168+ else false)
144169 then (betAmount * 2)
145170 else 0
146171 else 0
225250 }
226251
227252
228-
229-@Callable(i)
230-func LuckyWheel_commit () = if (!(isPaymentOk(i, 1)))
231- then throw("Wrong payment amount or asset")
232- else [IntegerEntry(LW_getBetKey(i), (height + 1)), DeleteEntry(LW_getRandomNumberKey(i)), DeleteEntry(LW_getWonKey(i)), StringEntry(LW_getStatusKey(i), "| status: commit")]
233-
234-
235-
236-@Callable(i)
237-func LuckyWheel_reveal () = {
238- let commitHeight = valueOrErrorMessage(getIntegerValue(LW_getBetKey(i)), "Bet not found")
239- if ((commitHeight > height))
240- then throw((("Wait " + toString((commitHeight - height))) + " blocks to reveal this id"))
241- else {
242- let revealBlock = valueOrErrorMessage(blockInfoByHeight(commitHeight), "unexcpected error")
243- let vrf = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
244- let randomHash = sha256(value(vrf))
245- let revealBlock2 = valueOrErrorMessage(blockInfoByHeight((commitHeight - 1)), "unexcpected error")
246- let vrf2 = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
247- let randomHash2 = sha256(value(vrf))
248- let random = (toInt(randomHash, 16) + (toInt(randomHash, 10) / toInt(randomHash, 5)))
249- let randomNumber = (random % 12)
250- let winningAmount = LW_whatUserWon(randomNumber)
251- let statusStr = (((("| status: reveal | winningAmount: " + toString(winningAmount)) + " | selectedNumbers: ") + " | randomNumber: ") + toString(randomNumber))
252- if ((winningAmount > 0))
253- then [DeleteEntry(LW_getBetKey(i)), ScriptTransfer(i.caller, winningAmount, unit), IntegerEntry(LW_getWonKey(i), winningAmount), IntegerEntry(LW_getRandomNumberKey(i), randomNumber), StringEntry(LW_getStatusKey(i), statusStr)]
254- else [DeleteEntry(LW_getBetKey(i)), IntegerEntry(LW_getWonKey(i), winningAmount), IntegerEntry(LW_getRandomNumberKey(i), randomNumber), StringEntry(LW_getStatusKey(i), statusStr)]
255- }
256- }
257-
258-
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func numToWaves (num) = (num * 100000000)
55
66
77 func isPaymentOk (i,sum) = {
88 let acceptableAssetId = base58'WAVES'
99 let p = i.payments[0]
1010 if ((p.amount >= numToWaves(sum)))
1111 then (p.assetId == unit)
1212 else false
1313 }
1414
1515
1616 func mapIntToStr (accum,next) = toString(next) :: accum
1717
1818
1919 func mapStrToInt (accum,next) = parseIntValue(next) :: accum
2020
2121
2222 func mapIntToSum (accum,next) = (accum + next)
2323
2424
2525 func listIntToSum (arr) = {
2626 let $l = arr
2727 let $s = size($l)
2828 let $acc0 = 0
2929 func $f0_1 ($a,$i) = if (($i >= $s))
3030 then $a
3131 else mapIntToSum($a, $l[$i])
3232
3333 func $f0_2 ($a,$i) = if (($i >= $s))
3434 then $a
3535 else throw("List size exceeds 50")
3636
3737 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
3838 }
3939
4040
4141 func listIntToListString (arr) = {
4242 let $l = arr
4343 let $s = size($l)
4444 let $acc0 = nil
4545 func $f0_1 ($a,$i) = if (($i >= $s))
4646 then $a
4747 else mapIntToStr($a, $l[$i])
4848
4949 func $f0_2 ($a,$i) = if (($i >= $s))
5050 then $a
5151 else throw("List size exceeds 50")
5252
5353 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
5454 }
5555
5656
5757 func listStringToListIng (arr) = {
5858 let $l = arr
5959 let $s = size($l)
6060 let $acc0 = nil
6161 func $f0_1 ($a,$i) = if (($i >= $s))
6262 then $a
6363 else mapStrToInt($a, $l[$i])
6464
6565 func $f0_2 ($a,$i) = if (($i >= $s))
6666 then $a
6767 else throw("List size exceeds 50")
6868
6969 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50)
7070 }
7171
7272
7373 func listStringCompressToString (arr) = makeString(arr, "|")
7474
7575
7676 func stringDecompressToListString (str) = split(str, "|")
7777
7878
7979 func listIntCompressToString (arr) = makeString(listIntToListString(arr), "|")
8080
8181
8282 func stringDecompressToListInt (arrStr) = listStringToListIng(split(arrStr, "|"))
8383
8484
8585 func getRandom (commitHeight) = {
8686 let revealBlock = valueOrErrorMessage(blockInfoByHeight(commitHeight), "unexcpected error")
8787 let vrf = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
8888 let randomHash = sha256(value(vrf))
8989 let hash = toInt(randomHash, 16)
9090 (hash % 37)
9191 }
9292
9393
9494 func getRandomRullet (commitHeight) = {
9595 let randomHash = sha256((value(value(blockInfoByHeight(commitHeight)).vrf) + toBytes(commitHeight)))
9696 let hashInt = toInt(randomHash, 24)
97- (hashInt % 37)
97+ let randomHash2 = sha256((value(value(blockInfoByHeight(commitHeight)).vrf) + toBytes((commitHeight - 2))))
98+ let hashInt2 = toInt(randomHash2, 24)
99+ let randomHash3 = sha256((value(value(blockInfoByHeight(commitHeight)).vrf) + toBytes((commitHeight - 4))))
100+ let hashInt3 = toInt(randomHash3, 24)
101+ let randomNumber = (hashInt % 37)
102+ let randomNumber2 = (hashInt2 % 37)
103+ let randomNumber3 = (hashInt3 % 37)
104+ if ((randomNumber == 0))
105+ then randomNumber
106+ else if (if ((randomNumber > 12))
107+ then ((commitHeight % 2) != 0)
108+ else false)
109+ then randomNumber
110+ else if (if ((25 > randomNumber))
111+ then ((commitHeight % 2) != 0)
112+ else false)
113+ then randomNumber2
114+ else randomNumber3
98115 }
99116
100117
101118 func R_WinCalculator (randomNumber,betAmount,selectedNumberBets,betDirection) = {
102119 let RED_SECTORS = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3]
103120 let BLACK_SECTORS = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35]
104121 if ((betDirection == "red"))
105122 then if (containsElement(RED_SECTORS, randomNumber))
106123 then (betAmount * 2)
107124 else 0
108125 else if ((betDirection == "black"))
109126 then if (containsElement(BLACK_SECTORS, randomNumber))
110127 then (betAmount * 2)
111128 else 0
112129 else if ((betDirection == "odd"))
113- then if (((randomNumber % 2) != 0))
130+ then if (if (((randomNumber % 2) == 0))
131+ then (randomNumber != 0)
132+ else false)
114133 then (betAmount * 2)
115134 else 0
116135 else if ((betDirection == "even"))
117- then if (((randomNumber % 2) == 0))
136+ then if (if (((randomNumber % 2) != 0))
137+ then (randomNumber != 0)
138+ else false)
118139 then (betAmount * 2)
119140 else 0
120141 else if (if ((size(selectedNumberBets) == 1))
121142 then (betDirection == "num")
122143 else false)
123144 then if ((selectedNumberBets[0] == randomNumber))
124145 then (betAmount * 36)
125146 else 0
126147 else if ((size(selectedNumberBets) == 2))
127148 then if (containsElement(selectedNumberBets, randomNumber))
128149 then (betAmount * 18)
129150 else 0
130151 else if ((size(selectedNumberBets) == 3))
131152 then if (containsElement(selectedNumberBets, randomNumber))
132153 then (betAmount * 12)
133154 else 0
134155 else if ((size(selectedNumberBets) == 4))
135156 then if (containsElement(selectedNumberBets, randomNumber))
136157 then (betAmount * 9)
137158 else 0
138159 else if ((size(selectedNumberBets) == 12))
139- then if (containsElement(selectedNumberBets, randomNumber))
160+ then if (if (containsElement(selectedNumberBets, randomNumber))
161+ then (randomNumber != 0)
162+ else false)
140163 then (betAmount * 3)
141164 else 0
142165 else if ((size(selectedNumberBets) == 18))
143- then if (containsElement(selectedNumberBets, randomNumber))
166+ then if (if (containsElement(selectedNumberBets, randomNumber))
167+ then (randomNumber != 0)
168+ else false)
144169 then (betAmount * 2)
145170 else 0
146171 else 0
147172 }
148173
149174
150175 func R_getBetKey (i) = ("bet_Roulette_" + toString(i.caller))
151176
152177
153178 func R_getBetAmountKey (i) = ("betAmount_Roulette_" + toString(i.caller))
154179
155180
156181 func R_getSelectedNumbersKey (i) = ("selectedNumbers_Roulette_" + toString(i.caller))
157182
158183
159184 func R_getDirectionKey (i) = ("direction_Roulette_" + toString(i.caller))
160185
161186
162187 func R_getLogKey (i) = ((("log_Roulette_" + toString(i.caller)) + "_") + toBase58String(i.transactionId))
163188
164189
165190 func R_getStatusKey (i) = ("status_Roulette_" + toString(i.caller))
166191
167192
168193 func LW_getBetKey (i) = ("bet_LuckyWheel_" + toString(i.caller))
169194
170195
171196 func LW_getWonKey (i) = ("won_LuckyWheel_" + toString(i.caller))
172197
173198
174199 func LW_getRandomNumberKey (i) = ("randomNumber_LuckyWheel_" + toString(i.caller))
175200
176201
177202 func LW_getLogKey (i) = ((("log_LuckyWheel_" + toString(i.caller)) + "_") + toBase58String(i.transactionId))
178203
179204
180205 func LW_whatUserWon (value) = match value {
181206 case _ =>
182207 if ((1 == $match0))
183208 then numToWaves(2)
184209 else if ((3 == $match0))
185210 then numToWaves(1)
186211 else if ((7 == $match0))
187212 then numToWaves(6)
188213 else if ((9 == $match0))
189214 then numToWaves(1)
190215 else 0
191216 }
192217
193218
194219 func LW_getStatusKey (i) = ("status_Roulette_" + toString(i.caller))
195220
196221
197222 @Callable(i)
198223 func Roulette_commit (betAmount,selectedNumberBets,betDirection) = {
199224 let p = i.payments[0]
200225 if (!(isPaymentOk(i, betAmount)))
201226 then throw("Wrong payment amount or asset!")
202227 else [IntegerEntry(R_getBetKey(i), (height + 1)), IntegerEntry(R_getBetAmountKey(i), betAmount), StringEntry(R_getSelectedNumbersKey(i), listIntCompressToString(selectedNumberBets)), StringEntry(R_getDirectionKey(i), betDirection), StringEntry(R_getStatusKey(i), ((((("| status: commit | revealBlock: " + toString((height + 1))) + " | betAmount: ") + toString(betAmount)) + " | selectedNumbers: ") + listIntCompressToString(selectedNumberBets)))]
203228 }
204229
205230
206231
207232 @Callable(i)
208233 func Roulette_reveal () = {
209234 let commitHeight = valueOrErrorMessage(getIntegerValue(R_getBetKey(i)), "Bet not found")
210235 let betAmount = valueOrErrorMessage(getIntegerValue(R_getBetAmountKey(i)), "Bet amount not found")
211236 let selectedNumbersStr = valueOrErrorMessage(getStringValue(R_getSelectedNumbersKey(i)), "Selected numbers not found")
212237 let direction = valueOrErrorMessage(getStringValue(R_getDirectionKey(i)), "Direction not found")
213238 let selectedNumbers = stringDecompressToListInt(selectedNumbersStr)
214239 if ((commitHeight > height))
215240 then throw((("Wait " + toString((commitHeight - height))) + " blocks to reveal this id"))
216241 else {
217242 let randomNumber = getRandomRullet(commitHeight)
218243 let winningAmount = numToWaves(R_WinCalculator(randomNumber, betAmount, selectedNumbers, direction))
219244 let logStr = ((((((((("| commitHeight: " + toString(commitHeight)) + " | betAmount: ") + toString(betAmount)) + " | winningAmount: ") + toString(winningAmount)) + " | selectedNumbers: ") + listIntCompressToString(selectedNumbers)) + " | randomNumber: ") + toString(randomNumber))
220245 let statusStr = ((((((((("| status: reveal | winningAmount: " + toString(winningAmount)) + " | selectedNumbers: ") + listIntCompressToString(selectedNumbers)) + " | randomNumber: ") + toString(randomNumber)) + " | betAmount: ") + toString(betAmount)) + " | selectedNumbers: ") + listIntCompressToString(selectedNumbers))
221246 if ((winningAmount > 0))
222247 then [DeleteEntry(R_getBetKey(i)), DeleteEntry(R_getBetAmountKey(i)), DeleteEntry(R_getSelectedNumbersKey(i)), DeleteEntry(R_getDirectionKey(i)), ScriptTransfer(i.caller, winningAmount, unit), StringEntry(R_getLogKey(i), logStr), StringEntry(R_getStatusKey(i), statusStr)]
223248 else [DeleteEntry(R_getBetKey(i)), DeleteEntry(R_getBetAmountKey(i)), DeleteEntry(R_getSelectedNumbersKey(i)), DeleteEntry(R_getDirectionKey(i)), IntegerEntry(R_getLogKey(i), winningAmount), StringEntry(R_getLogKey(i), logStr), StringEntry(R_getStatusKey(i), statusStr)]
224249 }
225250 }
226251
227252
228-
229-@Callable(i)
230-func LuckyWheel_commit () = if (!(isPaymentOk(i, 1)))
231- then throw("Wrong payment amount or asset")
232- else [IntegerEntry(LW_getBetKey(i), (height + 1)), DeleteEntry(LW_getRandomNumberKey(i)), DeleteEntry(LW_getWonKey(i)), StringEntry(LW_getStatusKey(i), "| status: commit")]
233-
234-
235-
236-@Callable(i)
237-func LuckyWheel_reveal () = {
238- let commitHeight = valueOrErrorMessage(getIntegerValue(LW_getBetKey(i)), "Bet not found")
239- if ((commitHeight > height))
240- then throw((("Wait " + toString((commitHeight - height))) + " blocks to reveal this id"))
241- else {
242- let revealBlock = valueOrErrorMessage(blockInfoByHeight(commitHeight), "unexcpected error")
243- let vrf = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
244- let randomHash = sha256(value(vrf))
245- let revealBlock2 = valueOrErrorMessage(blockInfoByHeight((commitHeight - 1)), "unexcpected error")
246- let vrf2 = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
247- let randomHash2 = sha256(value(vrf))
248- let random = (toInt(randomHash, 16) + (toInt(randomHash, 10) / toInt(randomHash, 5)))
249- let randomNumber = (random % 12)
250- let winningAmount = LW_whatUserWon(randomNumber)
251- let statusStr = (((("| status: reveal | winningAmount: " + toString(winningAmount)) + " | selectedNumbers: ") + " | randomNumber: ") + toString(randomNumber))
252- if ((winningAmount > 0))
253- then [DeleteEntry(LW_getBetKey(i)), ScriptTransfer(i.caller, winningAmount, unit), IntegerEntry(LW_getWonKey(i), winningAmount), IntegerEntry(LW_getRandomNumberKey(i), randomNumber), StringEntry(LW_getStatusKey(i), statusStr)]
254- else [DeleteEntry(LW_getBetKey(i)), IntegerEntry(LW_getWonKey(i), winningAmount), IntegerEntry(LW_getRandomNumberKey(i), randomNumber), StringEntry(LW_getStatusKey(i), statusStr)]
255- }
256- }
257-
258-

github/deemru/w8io/026f985 
56.72 ms