tx · C7Wxtv1w3sYZsK1NRX9r6z99girsT23g7aaYkr3DH31a

3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX:  -0.01000000 Waves

2023.06.11 15:56 [2618042] smart account 3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX > SELF 0.00000000 Waves

{ "type": 13, "id": "C7Wxtv1w3sYZsK1NRX9r6z99girsT23g7aaYkr3DH31a", "fee": 1000000, "feeAssetId": null, "timestamp": 1686488311538, "version": 2, "chainId": 84, "sender": "3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX", "senderPublicKey": "5iiNX4Sz3qZzcerumQLc1y7u9TH2X46jDV4f9Xivtmtv", "proofs": [ "qZSXLnTGgvK2QU2mGLiK3rccnSDkLinmERBciruHjDXQtTNvcEbTSrDG7yzZscPPatTGzXCqGpoWj7oTzK3ASTT" ], "script": "base64:BgIUCAISAwoBARIFCgMBEQgSABIAEgAaAQpudW1Ub1dhdmVzAQNudW0JAGgCBQNudW0AgMLXLwELaXNQYXltZW50T2sCAWkDc3VtBBFhY2NlcHRhYmxlQXNzZXRJZAEEE6vZMwQBcAkAkQMCCAUBaQhwYXltZW50cwAAAwkAZwIIBQFwBmFtb3VudAkBCm51bVRvV2F2ZXMBBQNzdW0JAAACCAUBcAdhc3NldElkBQR1bml0BwELbWFwSW50VG9TdHICBWFjY3VtBG5leHQJAMwIAgkApAMBBQRuZXh0BQVhY2N1bQELbWFwU3RyVG9JbnQCBWFjY3VtBG5leHQJAMwIAgkBDXBhcnNlSW50VmFsdWUBBQRuZXh0BQVhY2N1bQELbWFwSW50VG9TdW0CBWFjY3VtBG5leHQJAGQCBQVhY2N1bQUEbmV4dAEMbGlzdEludFRvU3VtAQNhcnIKAAIkbAUDYXJyCgACJHMJAJADAQUCJGwKAAUkYWNjMAAACgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQttYXBJbnRUb1N1bQIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8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5AgkBFUxXX2dldFJhbmRvbU51bWJlcktleQEFAWkFDHJhbmRvbU51bWJlcgkAzAgCCQELU3RyaW5nRW50cnkCCQEPTFdfZ2V0U3RhdHVzS2V5AQUBaQUJc3RhdHVzU3RyBQNuaWwA+IfO6g==", "height": 2618042, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DJ7WQQn1aVPJV17aWkjmGgT9j33V2Cz4mVvHbUr86SkZ Next: 3ht3ky6EiWoUVFj3ELX3HZtz5fH4cPMPphKnfLbgVn9M Diff:
OldNewDifferences
193193 let revealBlock = valueOrErrorMessage(blockInfoByHeight(commitHeight), "unexcpected error")
194194 let vrf = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
195195 let randomHash = sha256(value(vrf))
196- let num = (((toInt(randomHash, 8) / toInt(randomHash, 8)) * toInt(randomHash, 8)) % 37)
196+ let revealBlock2 = valueOrErrorMessage(blockInfoByHeight((commitHeight - 10)), "unexcpected error")
197+ let vrf2 = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
198+ let randomHash2 = sha256(value(vrf))
199+ let num = ((toInt(randomHash, 16) / toInt(randomHash2, 16)) % 37)
197200 throw(toString(num))
198201 }
199202
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 R_WinCalculator (randomNumber,betAmount,selectedNumberBets,betDirection) = {
9595 let RED_SECTORS = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3]
9696 if (if ((size(selectedNumberBets) == 1))
9797 then (betDirection == "num")
9898 else false)
9999 then if ((selectedNumberBets[0] == randomNumber))
100100 then (betAmount * 36)
101101 else 0
102102 else if ((size(selectedNumberBets) == 2))
103103 then if (containsElement(selectedNumberBets, randomNumber))
104104 then (betAmount * 18)
105105 else 0
106106 else if ((size(selectedNumberBets) == 3))
107107 then if (containsElement(selectedNumberBets, randomNumber))
108108 then (betAmount * 12)
109109 else 0
110110 else if ((size(selectedNumberBets) == 4))
111111 then if (containsElement(selectedNumberBets, randomNumber))
112112 then (betAmount * 9)
113113 else 0
114114 else if ((size(selectedNumberBets) == 12))
115115 then if (containsElement(selectedNumberBets, randomNumber))
116116 then (betAmount * 3)
117117 else 0
118118 else if ((betDirection == "red"))
119119 then if (containsElement(RED_SECTORS, randomNumber))
120120 then (betAmount * 2)
121121 else 0
122122 else if ((betDirection == "black"))
123123 then if (if (!(containsElement(RED_SECTORS, randomNumber)))
124124 then (randomNumber != 0)
125125 else false)
126126 then (betAmount * 2)
127127 else 0
128128 else if ((betDirection == "odd"))
129129 then if (((randomNumber % 2) != 0))
130130 then (betAmount * 2)
131131 else 0
132132 else if ((betDirection == "even"))
133133 then if (((randomNumber % 2) == 0))
134134 then (betAmount * 2)
135135 else 0
136136 else if ((size(selectedNumberBets) == 18))
137137 then if (containsElement(selectedNumberBets, randomNumber))
138138 then (betAmount * 2)
139139 else 0
140140 else 0
141141 }
142142
143143
144144 func R_getBetKey (i) = ("bet_Roulette_" + toString(i.caller))
145145
146146
147147 func R_getBetAmountKey (i) = ("betAmount_Roulette_" + toString(i.caller))
148148
149149
150150 func R_getSelectedNumbersKey (i) = ("selectedNumbers_Roulette_" + toString(i.caller))
151151
152152
153153 func R_getDirectionKey (i) = ("direction_Roulette_" + toString(i.caller))
154154
155155
156156 func R_getLogKey (i) = ((("log_Roulette_" + toString(i.caller)) + "_") + toBase58String(i.transactionId))
157157
158158
159159 func R_getStatusKey (i) = ("status_Roulette_" + toString(i.caller))
160160
161161
162162 func LW_getBetKey (i) = ("bet_LuckyWheel_" + toString(i.caller))
163163
164164
165165 func LW_getWonKey (i) = ("won_LuckyWheel_" + toString(i.caller))
166166
167167
168168 func LW_getRandomNumberKey (i) = ("randomNumber_LuckyWheel_" + toString(i.caller))
169169
170170
171171 func LW_getLogKey (i) = ((("log_LuckyWheel_" + toString(i.caller)) + "_") + toBase58String(i.transactionId))
172172
173173
174174 func LW_whatUserWon (value) = match value {
175175 case _ =>
176176 if ((1 == $match0))
177177 then numToWaves(2)
178178 else if ((3 == $match0))
179179 then numToWaves(1)
180180 else if ((7 == $match0))
181181 then numToWaves(6)
182182 else if ((9 == $match0))
183183 then numToWaves(1)
184184 else 0
185185 }
186186
187187
188188 func LW_getStatusKey (i) = ("status_Roulette_" + toString(i.caller))
189189
190190
191191 @Callable(i)
192192 func testRandomNumber (commitHeight) = {
193193 let revealBlock = valueOrErrorMessage(blockInfoByHeight(commitHeight), "unexcpected error")
194194 let vrf = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
195195 let randomHash = sha256(value(vrf))
196- let num = (((toInt(randomHash, 8) / toInt(randomHash, 8)) * toInt(randomHash, 8)) % 37)
196+ let revealBlock2 = valueOrErrorMessage(blockInfoByHeight((commitHeight - 10)), "unexcpected error")
197+ let vrf2 = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
198+ let randomHash2 = sha256(value(vrf))
199+ let num = ((toInt(randomHash, 16) / toInt(randomHash2, 16)) % 37)
197200 throw(toString(num))
198201 }
199202
200203
201204
202205 @Callable(i)
203206 func Roulette_commit (betAmount,selectedNumberBets,betDirection) = {
204207 let p = i.payments[0]
205208 if (!(isPaymentOk(i, betAmount)))
206209 then throw("Wrong payment amount or asset!")
207210 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)))]
208211 }
209212
210213
211214
212215 @Callable(i)
213216 func Roulette_reveal () = {
214217 let commitHeight = valueOrErrorMessage(getIntegerValue(R_getBetKey(i)), "Bet not found")
215218 let betAmount = valueOrErrorMessage(getIntegerValue(R_getBetAmountKey(i)), "Bet amount not found")
216219 let selectedNumbersStr = valueOrErrorMessage(getStringValue(R_getSelectedNumbersKey(i)), "Selected numbers not found")
217220 let direction = valueOrErrorMessage(getStringValue(R_getDirectionKey(i)), "Direction not found")
218221 let selectedNumbers = stringDecompressToListInt(selectedNumbersStr)
219222 if ((commitHeight > height))
220223 then throw((("Wait " + toString((commitHeight - height))) + " blocks to reveal this id"))
221224 else {
222225 let revealBlock = valueOrErrorMessage(blockInfoByHeight(commitHeight), "unexcpected error")
223226 let vrf = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
224227 let randomHash = sha256(value(vrf))
225228 let randomNumber = (toInt(randomHash, 16) % 37)
226229 let winningAmount = numToWaves(R_WinCalculator(randomNumber, betAmount, selectedNumbers, direction))
227230 let logStr = ((((((((("| commitHeight: " + toString(commitHeight)) + " | betAmount: ") + toString(betAmount)) + " | winningAmount: ") + toString(winningAmount)) + " | selectedNumbers: ") + listIntCompressToString(selectedNumbers)) + " | randomNumber: ") + toString(randomNumber))
228231 let statusStr = ((((((((("| status: reveal | winningAmount: " + toString(winningAmount)) + " | selectedNumbers: ") + listIntCompressToString(selectedNumbers)) + " | randomNumber: ") + toString(randomNumber)) + " | betAmount: ") + toString(betAmount)) + " | selectedNumbers: ") + listIntCompressToString(selectedNumbers))
229232 if ((winningAmount > 0))
230233 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)]
231234 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)]
232235 }
233236 }
234237
235238
236239
237240 @Callable(i)
238241 func LuckyWheel_commit () = if (!(isPaymentOk(i, 1)))
239242 then throw("Wrong payment amount or asset")
240243 else [IntegerEntry(LW_getBetKey(i), (height + 1)), DeleteEntry(LW_getRandomNumberKey(i)), DeleteEntry(LW_getWonKey(i)), StringEntry(LW_getStatusKey(i), "| status: commit")]
241244
242245
243246
244247 @Callable(i)
245248 func LuckyWheel_reveal () = {
246249 let commitHeight = valueOrErrorMessage(getIntegerValue(LW_getBetKey(i)), "Bet not found")
247250 if ((commitHeight > height))
248251 then throw((("Wait " + toString((commitHeight - height))) + " blocks to reveal this id"))
249252 else {
250253 let revealBlock = valueOrErrorMessage(blockInfoByHeight(commitHeight), "unexcpected error")
251254 let vrf = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
252255 let randomHash = sha256(value(vrf))
253256 let revealBlock2 = valueOrErrorMessage(blockInfoByHeight((commitHeight - 1)), "unexcpected error")
254257 let vrf2 = valueOrErrorMessage(revealBlock.vrf, "unexcpected error")
255258 let randomHash2 = sha256(value(vrf))
256259 let random = (toInt(randomHash, 16) + (toInt(randomHash, 10) / toInt(randomHash, 5)))
257260 let randomNumber = (random % 12)
258261 let winningAmount = LW_whatUserWon(randomNumber)
259262 let statusStr = (((("| status: reveal | winningAmount: " + toString(winningAmount)) + " | selectedNumbers: ") + " | randomNumber: ") + toString(randomNumber))
260263 if ((winningAmount > 0))
261264 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)]
262265 else [DeleteEntry(LW_getBetKey(i)), IntegerEntry(LW_getWonKey(i), winningAmount), IntegerEntry(LW_getRandomNumberKey(i), randomNumber), StringEntry(LW_getStatusKey(i), statusStr)]
263266 }
264267 }
265268
266269

github/deemru/w8io/026f985 
49.58 ms