tx · 672DxLNLXoBAxFUD3MJ2NTZPVJZ5dSFopz2pBmSvccXa

3Mu8FKNn2fEuxsE5mVhCwDQ275Ygi3ejweU:  -0.01400000 Waves

2019.10.25 18:13 [735800] smart account 3Mu8FKNn2fEuxsE5mVhCwDQ275Ygi3ejweU > SELF 0.00000000 Waves

{ "type": 13, "id": "672DxLNLXoBAxFUD3MJ2NTZPVJZ5dSFopz2pBmSvccXa", "fee": 1400000, "feeAssetId": null, "timestamp": 1572016393996, "version": 1, "sender": "3Mu8FKNn2fEuxsE5mVhCwDQ275Ygi3ejweU", "senderPublicKey": "6EzysHLfsAMmtxy8XtuFoQrCNTEkUdPSEzHYEwqpqSs3", "proofs": [ "66VNpCeLcBSHCtZDZH6VGBXW2hshC1V4N23N1bgGDR5ffdVbb4nPA8wJ3H8MzBtaem1M36Y7Uy8x1KJKnQRiew2Q" ], "script": "base64:AAIDAAAAAAAAAA4IARIECgIICBIECgIIAgAAAB0AAAAACVJTQVBVQkxJQwEAAAFBBEGINPUBLICKEYnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmOlRBTYEO3H7Y9rBmoFQnFn4392Px0Qw13DsdEhnzMH2cj6Y5ymPuCOLMNe5qrUzQl8oRLzIBzFVMZlwUYl2bnosrOIxQbYF7WVQWvoVxET1YIgDm3NzzOLA5uH7CKO0snshmMFCDOZEew41GjKh3Pngx+nbAguP9ZQPfqSafEmC3CN/4yDsJrKriRniZJo9jS/4LLsRKwB7HAZHzoF9LL7ntSZH3htaNGtbdTkxZ1TzST3Mb2VPSzsZvQDocXUVOmJOu0o29aOY+GkG/G4RCK0FnBWQHEUvC51TRDS5k8jad0O1MobjQc6b18d+fuoVFdNfZwGH+uFudtPG3UJTf2mkznZQIDAQABnENDPUBLICKEYAAAAAAAAdyYXNUZXN0CQABmwAAAAECAAABWEdqaklJWHZRMjY2Zm9QRlo2Nm1hQWNXbStOeCs5MHVqN2s5Y3hlbTJLMVJhWjVrekZ2SWNzU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zcwUAAAAGd2luQW10BQAAAA5uZXdHYW1lRGF0YVN0cgQAAAAObmV3R2FtZURhdGFTdHIJAQAAABFGb3JtYXRHYW1lRGF0YVN0cgAAAAcFAAAACVNUQVRFTE9TVAUAAAAMcGxheWVyQ2hvaWNlBQAAAAR0eXBlBQAAAA5wbGF5ZXJQdWJLZXk1OAUAAAANc3RhcnRlZEhlaWdodAUAAAAGd2luQW10BQAAAAdyYW5kU3RyCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAZnYW1lSWQFAAAADm5ld0dhbWVEYXRhU3RyBQAAAANuaWwAAAAAZF1/pg==", "chainId": 84, "height": 735800, "spentComplexity": 0 } View: original | compacted Prev: Fb49JbsZTm8byoKoMF1f2eTqvLQWc6Zs2DeQEGtGFfmr Next: AsxYzwNVdME7oXKuRBmwqZypyJXQHbeQiFmeZXDc4j1h Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let RSAPUBLIC = base64'BEGINPUBLICKEYnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmOlRBTYEO3H7Y9rBmoFQnFn4392Px0Qw13DsdEhnzMH2cj6Y5ymPuCOLMNe5qrUzQl8oRLzIBzFVMZlwUYl2bnosrOIxQbYF7WVQWvoVxET1YIgDm3NzzOLA5uH7CKO0snshmMFCDOZEew41GjKh3Pngx+nbAguP9ZQPfqSafEmC3CN/4yDsJrKriRniZJo9jS/4LLsRKwB7HAZHzoF9LL7ntSZH3htaNGtbdTkxZ1TzST3Mb2VPSzsZvQDocXUVOmJOu0o29aOY+GkG/G4RCK0FnBWQHEUvC51TRDS5k8jad0O1MobjQc6b18d+fuoVFdNfZwGH+uFudtPG3UJTf2mkznZQIDAQABnENDPUBLICKEYAA'
55
6-let rasTest = fromBase64String("GjjIIXvQ266foPFZ66maAcWm+Nx+90uj7k9cxem2K1RaZ5kzFvIcsQs9RRP/ITCgj+G1GyZLfUwwl1gbYqEpdBLVP6JtH1B4VyC4pcppFxLLfO+V5bdr1QkskQ1G8LjBHqxD2tOsRry1Uq7lYfOtoN92dZX1t8U7hWqFqykiL+CkULkeQrftPtLDNqoadPsmm74DtQbBTFsyAtk/pbQYLM43A17aBxdGG8DA6pa1E7UBjyGokf+hbCLj6wFvbXqt7/p+kvlBYG9X0yuKRI0WLDukmz+TGKhiYEXv0nirCIXzQxE3+1rjtAo+rEYr1QOfPQp9LEcL6ecndpF+aTMeBg==
7-")
6+let rasTest = toBytes("GjjIIXvQ266foPFZ66maAcWm+Nx+90uj7k9cxem2K1RaZ5kzFvIcsQs9RRP/ITCgj+G1GyZLfUwwl1gbYqEpdBLVP6JtH1B4VyC4pcppFxLLfO+V5bdr1QkskQ1G8LjBHqxD2tOsRry1Uq7lYfOtoN92dZX1t8U7hWqFqykiL+CkULkeQrftPtLDNqoadPsmm74DtQbBTFsyAtk/pbQYLM43A17aBxdGG8DA6pa1E7UBjyGokf+hbCLj6wFvbXqt7/p+kvlBYG9X0yuKRI0WLDukmz+TGKhiYEXv0nirCIXzQxE3+1rjtAo+rEYr1QOfPQp9LEcL6ecndpF+aTMeBg==")
87
98 let GAMESCOUNTERKEY = "$GAME_NUM"
109
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let RSAPUBLIC = base64'BEGINPUBLICKEYnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmOlRBTYEO3H7Y9rBmoFQnFn4392Px0Qw13DsdEhnzMH2cj6Y5ymPuCOLMNe5qrUzQl8oRLzIBzFVMZlwUYl2bnosrOIxQbYF7WVQWvoVxET1YIgDm3NzzOLA5uH7CKO0snshmMFCDOZEew41GjKh3Pngx+nbAguP9ZQPfqSafEmC3CN/4yDsJrKriRniZJo9jS/4LLsRKwB7HAZHzoF9LL7ntSZH3htaNGtbdTkxZ1TzST3Mb2VPSzsZvQDocXUVOmJOu0o29aOY+GkG/G4RCK0FnBWQHEUvC51TRDS5k8jad0O1MobjQc6b18d+fuoVFdNfZwGH+uFudtPG3UJTf2mkznZQIDAQABnENDPUBLICKEYAA'
55
6-let rasTest = fromBase64String("GjjIIXvQ266foPFZ66maAcWm+Nx+90uj7k9cxem2K1RaZ5kzFvIcsQs9RRP/ITCgj+G1GyZLfUwwl1gbYqEpdBLVP6JtH1B4VyC4pcppFxLLfO+V5bdr1QkskQ1G8LjBHqxD2tOsRry1Uq7lYfOtoN92dZX1t8U7hWqFqykiL+CkULkeQrftPtLDNqoadPsmm74DtQbBTFsyAtk/pbQYLM43A17aBxdGG8DA6pa1E7UBjyGokf+hbCLj6wFvbXqt7/p+kvlBYG9X0yuKRI0WLDukmz+TGKhiYEXv0nirCIXzQxE3+1rjtAo+rEYr1QOfPQp9LEcL6ecndpF+aTMeBg==
7-")
6+let rasTest = toBytes("GjjIIXvQ266foPFZ66maAcWm+Nx+90uj7k9cxem2K1RaZ5kzFvIcsQs9RRP/ITCgj+G1GyZLfUwwl1gbYqEpdBLVP6JtH1B4VyC4pcppFxLLfO+V5bdr1QkskQ1G8LjBHqxD2tOsRry1Uq7lYfOtoN92dZX1t8U7hWqFqykiL+CkULkeQrftPtLDNqoadPsmm74DtQbBTFsyAtk/pbQYLM43A17aBxdGG8DA6pa1E7UBjyGokf+hbCLj6wFvbXqt7/p+kvlBYG9X0yuKRI0WLDukmz+TGKhiYEXv0nirCIXzQxE3+1rjtAo+rEYr1QOfPQp9LEcL6ecndpF+aTMeBg==")
87
98 let GAMESCOUNTERKEY = "$GAME_NUM"
109
1110 let RESERVATIONKEY = "$RESERVED_AMOUNT"
1211
1312 let STATESUBMITTED = "SUBMITTED"
1413
1514 let STATEWON = "WON"
1615
1716 let STATELOST = "LOST"
1817
1918 let IdxGameState = 0
2019
2120 let IdxPlayerChoice = 1
2221
2322 let IdxType = 2
2423
2524 let IdxPlayerPubKey58 = 3
2625
2726 let IdxStartedHeight = 4
2827
2928 let IdxWinAmt = 5
3029
3130 let IdxRandOrEmpty = 6
3231
3332 func IncrementGameNum () = {
3433 let gameNum = match getInteger(this, GAMESCOUNTERKEY) {
3534 case num: Int =>
3635 num
3736 case _ =>
3837 0
3938 }
4039 (gameNum + 1)
4140 }
4241
4342
4443 func ExtractReservedAmt () = match getInteger(this, RESERVATIONKEY) {
4544 case a: Int =>
4645 a
4746 case _ =>
4847 0
4948 }
5049
5150
5251 func ValidateAndIncreaseReservedAmt (winAmt) = {
5352 let newReservedAmount = (ExtractReservedAmt() + winAmt)
5453 let balance = wavesBalance(this)
5554 if ((newReservedAmount > balance))
5655 then throw("Insufficient funds on Waves Rider account. Transaction was rejected for your safety.")
5756 else newReservedAmount
5857 }
5958
6059
6160 func FormatGameDataParam (p) = {
6261 let s = size(p)
6362 if ((s == 0))
6463 then throw("Parameter size must be greater then 0")
6564 else if ((s > 99))
6665 then throw("Parameter size must be less then 100")
6766 else if ((10 > s))
6867 then (("0" + toString(s)) + p)
6968 else (toString(s) + p)
7069 }
7170
7271
7372 func FormatGameDataStr (gameState,playerChoice,playerType,playerPubKey58,startedHeight,winAmt,randOrEmpty) = {
7473 let fullStateStr = ((((((((((FormatGameDataParam(gameState) + "_") + FormatGameDataParam(playerChoice)) + "_") + FormatGameDataParam(playerType)) + "_") + FormatGameDataParam(playerPubKey58)) + "_") + FormatGameDataParam(toString(startedHeight))) + "_") + FormatGameDataParam(toString(winAmt)))
7574 if ((randOrEmpty == ""))
7675 then fullStateStr
7776 else ((fullStateStr + "_") + FormatGameDataParam(randOrEmpty))
7877 }
7978
8079
8180 func RemoveUnderscoreIfPresent (remaining) = if ((size(remaining) > 0))
8281 then drop(remaining, 1)
8382 else remaining
8483
8584
8685 func ParseNextAttribute (remaining) = {
8786 let s = size(remaining)
8887 if ((s > 0))
8988 then {
9089 let nn = parseIntValue(take(remaining, 2))
9190 let v = take(drop(remaining, 2), nn)
9291 let tmpRemaining = drop(remaining, (nn + 2))
9392 let remainingState = RemoveUnderscoreIfPresent(tmpRemaining)
9493 [v, remainingState]
9594 }
9695 else throw("Empty string was passed into parseNextAttribute func")
9796 }
9897
9998
10099 func ParseGameRawDataStr (rawStateStr) = {
101100 let gameState = ParseNextAttribute(rawStateStr)
102101 let playerChoice = ParseNextAttribute(gameState[1])
103102 let type = ParseNextAttribute(playerChoice[1])
104103 let playerPubKey58 = ParseNextAttribute(type[1])
105104 let startedHeight = ParseNextAttribute(playerPubKey58[1])
106105 let winAmt = ParseNextAttribute(startedHeight[1])
107106 [gameState[0], playerChoice[0], type[0], playerPubKey58[0], startedHeight[0], winAmt[0]]
108107 }
109108
110109
111110 func ExtractGameDataList (gameId) = {
112111 let rawDataStr = match getString(this, gameId) {
113112 case str: String =>
114113 str
115114 case _ =>
116115 throw(("Couldn't find game by " + gameId))
117116 }
118117 ParseGameRawDataStr(rawDataStr)
119118 }
120119
121120
122121 func DecreaseReservedAmt (gameId,winAmt) = {
123122 let newReservedAmount = (ExtractReservedAmt() - winAmt)
124123 if ((0 > newReservedAmount))
125124 then throw("Invalid Dice Roller account state - reserved amount is less than 0")
126125 else DataEntry(RESERVATIONKEY, newReservedAmount)
127126 }
128127
129128
130129 func GenerateRandInt (gameId) = {
131130 let rsaSigValid = rsaVerify(SHA256, toBytes(gameId), rasTest, RSAPUBLIC)
132131 if (rsaSigValid)
133132 then {
134133 let rand = (toInt(sha256(rasTest)) % 100)
135134 if ((0 > rand))
136135 then ((-1 * rand) + 1)
137136 else (rand + 1)
138137 }
139138 else throw("Invalid RSA signature")
140139 }
141140
142141
143142 func RandToStr (r) = if (if ((r >= 1))
144143 then (100 >= r)
145144 else false)
146145 then toString(r)
147146 else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(r)))
148147
149148
150149 func WinScriptSet (gameId,playerAddress,winAmt,newGameDataStr) = {
151150 let tSetCommonData = [ScriptTransfer(playerAddress, winAmt, base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4')]
152151 let writeDicePlay = WriteSet([DataEntry("Game Id", gameId), DataEntry("Player Address", toString(playerAddress))])
153152 ScriptResult(writeDicePlay, TransferSet(tSetCommonData))
154153 }
155154
156155
157156 func getMultiplier (type,playerPrediction) = {
158157 let prediction = 50
159158 if ((type == "Under"))
160159 then if ((prediction == 1))
161160 then 9850000
162161 else if ((prediction == 2))
163162 then 4925000
164163 else if ((prediction == 3))
165164 then 3283330
166165 else if ((prediction == 4))
167166 then 2462500
168167 else if ((prediction == 5))
169168 then 1970000
170169 else if ((prediction == 6))
171170 then 1641660
172171 else if ((prediction == 7))
173172 then 1407140
174173 else if ((prediction == 8))
175174 then 1231250
176175 else if ((prediction == 9))
177176 then 1094440
178177 else if ((prediction == 10))
179178 then 985000
180179 else if ((prediction == 11))
181180 then 895450
182181 else if ((prediction == 12))
183182 then 820830
184183 else if ((prediction == 13))
185184 then 757690
186185 else if ((prediction == 14))
187186 then 703570
188187 else if ((prediction == 15))
189188 then 656660
190189 else if ((prediction == 16))
191190 then 615620
192191 else if ((prediction == 17))
193192 then 579410
194193 else if ((prediction == 18))
195194 then 547220
196195 else if ((prediction == 19))
197196 then 518420
198197 else if ((prediction == 20))
199198 then 492500
200199 else if ((prediction == 21))
201200 then 469040
202201 else if ((prediction == 22))
203202 then 447720
204203 else if ((prediction == 23))
205204 then 428260
206205 else if ((prediction == 24))
207206 then 410410
208207 else if ((prediction == 25))
209208 then 394000
210209 else if ((prediction == 26))
211210 then 378840
212211 else if ((prediction == 27))
213212 then 364810
214213 else if ((prediction == 28))
215214 then 351780
216215 else if ((prediction == 29))
217216 then 339650
218217 else if ((prediction == 30))
219218 then 328330
220219 else if ((prediction == 31))
221220 then 317740
222221 else if ((prediction == 32))
223222 then 307810
224223 else if ((prediction == 33))
225224 then 298480
226225 else if ((prediction == 34))
227226 then 289700
228227 else if ((prediction == 35))
229228 then 281420
230229 else if ((prediction == 36))
231230 then 273610
232231 else if ((prediction == 37))
233232 then 259210
234233 else if ((prediction == 38))
235234 then 259210
236235 else if ((prediction == 39))
237236 then 252560
238237 else if ((prediction == 40))
239238 then 246250
240239 else if ((prediction == 41))
241240 then 240240
242241 else if ((prediction == 42))
243242 then 234520
244243 else if ((prediction == 43))
245244 then 229060
246245 else if ((prediction == 44))
247246 then 223860
248247 else if ((prediction == 45))
249248 then 218880
250249 else if ((prediction == 46))
251250 then 214130
252251 else if ((prediction == 47))
253252 then 209570
254253 else if ((prediction == 48))
255254 then 205200
256255 else if ((prediction == 49))
257256 then 201020
258257 else if ((prediction == 50))
259258 then 197000
260259 else if ((prediction == 51))
261260 then 193130
262261 else if ((prediction == 52))
263262 then 189420
264263 else if ((prediction == 53))
265264 then 185840
266265 else if ((prediction == 54))
267266 then 182400
268267 else if ((prediction == 55))
269268 then 179090
270269 else if ((prediction == 56))
271270 then 175890
272271 else if ((prediction == 57))
273272 then 172800
274273 else if ((prediction == 58))
275274 then 169820
276275 else if ((prediction == 59))
277276 then 166940
278277 else if ((prediction == 60))
279278 then 164160
280279 else if ((prediction == 61))
281280 then 161470
282281 else if ((prediction == 62))
283282 then 158870
284283 else if ((prediction == 63))
285284 then 156340
286285 else if ((prediction == 64))
287286 then 153900
288287 else if ((prediction == 65))
289288 then 151530
290289 else if ((prediction == 66))
291290 then 149240
292291 else if ((prediction == 67))
293292 then 147010
294293 else if ((prediction == 68))
295294 then 144850
296295 else if ((prediction == 69))
297296 then 142750
298297 else if ((prediction == 70))
299298 then 140710
300299 else if ((prediction == 71))
301300 then 138730
302301 else if ((prediction == 72))
303302 then 136800
304303 else if ((prediction == 73))
305304 then 134930
306305 else if ((prediction == 74))
307306 then 133100
308307 else if ((prediction == 75))
309308 then 131330
310309 else if ((prediction == 76))
311310 then 129600
312311 else if ((prediction == 77))
313312 then 127920
314313 else if ((prediction == 78))
315314 then 126280
316315 else if ((prediction == 79))
317316 then 124680
318317 else if ((prediction == 80))
319318 then 123120
320319 else if ((prediction == 81))
321320 then 121600
322321 else if ((prediction == 82))
323322 then 120120
324323 else if ((prediction == 83))
325324 then 118670
326325 else if ((prediction == 84))
327326 then 117260
328327 else if ((prediction == 85))
329328 then 115880
330329 else if ((prediction == 86))
331330 then 114530
332331 else if ((prediction == 87))
333332 then 113210
334333 else if ((prediction == 88))
335334 then 111930
336335 else if ((prediction == 89))
337336 then 110670
338337 else if ((prediction == 90))
339338 then 109440
340339 else if ((prediction == 91))
341340 then 108240
342341 else if ((prediction == 92))
343342 then 107060
344343 else if ((prediction == 93))
345344 then 105910
346345 else if ((prediction == 94))
347346 then 104780
348347 else if ((prediction == 95))
349348 then 103680
350349 else if ((prediction == 96))
351350 then 103680
352351 else 100000
353352 else if ((type == "Over"))
354353 then if ((prediction == 4))
355354 then 103680
356355 else if ((prediction == 5))
357356 then 103680
358357 else if ((prediction == 6))
359358 then 104780
360359 else if ((prediction == 7))
361360 then 105910
362361 else if ((prediction == 8))
363362 then 107060
364363 else if ((prediction == 9))
365364 then 108240
366365 else if ((prediction == 10))
367366 then 109440
368367 else if ((prediction == 11))
369368 then 110670
370369 else if ((prediction == 12))
371370 then 111930
372371 else if ((prediction == 13))
373372 then 113210
374373 else if ((prediction == 14))
375374 then 114530
376375 else if ((prediction == 15))
377376 then 115880
378377 else if ((prediction == 16))
379378 then 117260
380379 else if ((prediction == 17))
381380 then 118670
382381 else if ((prediction == 18))
383382 then 120120
384383 else if ((prediction == 19))
385384 then 121600
386385 else if ((prediction == 20))
387386 then 123120
388387 else if ((prediction == 21))
389388 then 124680
390389 else if ((prediction == 22))
391390 then 126280
392391 else if ((prediction == 23))
393392 then 127920
394393 else if ((prediction == 24))
395394 then 129600
396395 else if ((prediction == 25))
397396 then 131330
398397 else if ((prediction == 26))
399398 then 133100
400399 else if ((prediction == 27))
401400 then 134930
402401 else if ((prediction == 28))
403402 then 136800
404403 else if ((prediction == 29))
405404 then 138730
406405 else if ((prediction == 30))
407406 then 140710
408407 else if ((prediction == 31))
409408 then 142750
410409 else if ((prediction == 32))
411410 then 144850
412411 else if ((prediction == 33))
413412 then 147010
414413 else if ((prediction == 34))
415414 then 149240
416415 else if ((prediction == 35))
417416 then 151530
418417 else if ((prediction == 36))
419418 then 153900
420419 else if ((prediction == 37))
421420 then 156340
422421 else if ((prediction == 38))
423422 then 158870
424423 else if ((prediction == 39))
425424 then 161470
426425 else if ((prediction == 40))
427426 then 164160
428427 else if ((prediction == 41))
429428 then 166940
430429 else if ((prediction == 42))
431430 then 169820
432431 else if ((prediction == 43))
433432 then 172800
434433 else if ((prediction == 44))
435434 then 175890
436435 else if ((prediction == 45))
437436 then 179090
438437 else if ((prediction == 46))
439438 then 185840
440439 else if ((prediction == 47))
441440 then 185840
442441 else if ((prediction == 48))
443442 then 189420
444443 else if ((prediction == 49))
445444 then 193130
446445 else if ((prediction == 50))
447446 then 197000
448447 else if ((prediction == 51))
449448 then 201020
450449 else if ((prediction == 52))
451450 then 205200
452451 else if ((prediction == 53))
453452 then 209570
454453 else if ((prediction == 54))
455454 then 214130
456455 else if ((prediction == 55))
457456 then 218880
458457 else if ((prediction == 56))
459458 then 223860
460459 else if ((prediction == 57))
461460 then 229060
462461 else if ((prediction == 58))
463462 then 234520
464463 else if ((prediction == 59))
465464 then 240240
466465 else if ((prediction == 60))
467466 then 246250
468467 else if ((prediction == 61))
469468 then 252560
470469 else if ((prediction == 62))
471470 then 259210
472471 else if ((prediction == 63))
473472 then 259210
474473 else if ((prediction == 64))
475474 then 273610
476475 else if ((prediction == 65))
477476 then 281420
478477 else if ((prediction == 66))
479478 then 289700
480479 else if ((prediction == 67))
481480 then 298480
482481 else if ((prediction == 68))
483482 then 307810
484483 else if ((prediction == 69))
485484 then 317740
486485 else if ((prediction == 70))
487486 then 328330
488487 else if ((prediction == 71))
489488 then 339650
490489 else if ((prediction == 72))
491490 then 351780
492491 else if ((prediction == 73))
493492 then 364810
494493 else if ((prediction == 74))
495494 then 378840
496495 else if ((prediction == 75))
497496 then 394000
498497 else if ((prediction == 76))
499498 then 410410
500499 else if ((prediction == 77))
501500 then 428260
502501 else if ((prediction == 78))
503502 then 447720
504503 else if ((prediction == 79))
505504 then 469040
506505 else if ((prediction == 80))
507506 then 492500
508507 else if ((prediction == 81))
509508 then 518420
510509 else if ((prediction == 82))
511510 then 547220
512511 else if ((prediction == 83))
513512 then 579410
514513 else if ((prediction == 84))
515514 then 615620
516515 else if ((prediction == 85))
517516 then 656660
518517 else if ((prediction == 86))
519518 then 703570
520519 else if ((prediction == 87))
521520 then 757690
522521 else if ((prediction == 88))
523522 then 820830
524523 else if ((prediction == 89))
525524 then 895450
526525 else if ((prediction == 90))
527526 then 985000
528527 else if ((prediction == 91))
529528 then 1094440
530529 else if ((prediction == 92))
531530 then 1231250
532531 else if ((prediction == 93))
533532 then 1407140
534533 else if ((prediction == 94))
535534 then 1641660
536535 else if ((prediction == 95))
537536 then 1970000
538537 else if ((prediction == 96))
539538 then 2462500
540539 else if ((prediction == 97))
541540 then 3283330
542541 else if ((prediction == 98))
543542 then 4925000
544543 else if ((prediction == 99))
545544 then 9850000
546545 else 100000
547546 else 100000
548547 }
549548
550549
551550 func diceWin (type,prediction,number) = if ((type == "Under"))
552551 then if ((prediction >= number))
553552 then true
554553 else false
555554 else if ((type == "Over"))
556555 then if ((number >= prediction))
557556 then true
558557 else false
559558 else false
560559
561560
562561 @Callable(i)
563562 func playDice (type,prediction) = {
564563 let newGameNum = IncrementGameNum()
565564 let gameId = toBase58String(i.transactionId)
566565 let payment = extract(i.payment)
567566 let multi = getMultiplier(type, prediction)
568567 let winAmt = (((payment.amount * multi) / 100000) * (95 / 100))
569568 let txIdUsed = isDefined(getString(this, gameId))
570569 if (false)
571570 then throw("Payment should be in Wavesbet")
572571 else if (txIdUsed)
573572 then throw("Passed txId had been used before. Game aborted.")
574573 else {
575574 let playerPubKey58 = toBase58String(i.callerPublicKey)
576575 let gameDataStr = FormatGameDataStr(STATESUBMITTED, prediction, type, playerPubKey58, height, winAmt, "")
577576 ScriptResult(WriteSet([DataEntry(GAMESCOUNTERKEY, newGameNum), DataEntry(gameId, gameDataStr)]), TransferSet(nil))
578577 }
579578 }
580579
581580
582581
583582 @Callable(i)
584583 func withdraw (gameId,rsaSig) = {
585584 let gameDataList = ExtractGameDataList(gameId)
586585 let gameState = gameDataList[IdxGameState]
587586 let playerChoice = gameDataList[IdxPlayerChoice]
588587 let type = gameDataList[IdxType]
589588 let startedHeight = parseIntValue(gameDataList[IdxStartedHeight])
590589 let winAmt = parseIntValue(gameDataList[IdxWinAmt])
591590 let playerPubKey58 = gameDataList[IdxPlayerPubKey58]
592591 let playerAddress = addressFromPublicKey(fromBase58String(playerPubKey58))
593592 if ((gameState != STATESUBMITTED))
594593 then throw("Invalid game state for passed gameId")
595594 else {
596595 let rand = GenerateRandInt(gameId)
597596 let randStr = RandToStr(rand)
598597 if (diceWin(type, parseIntValue(playerChoice), rand))
599598 then {
600599 let newGameDataStr = FormatGameDataStr(STATEWON, playerChoice, type, playerPubKey58, startedHeight, winAmt, randStr)
601600 WinScriptSet(gameId, playerAddress, winAmt, newGameDataStr)
602601 }
603602 else {
604603 let newGameDataStr = FormatGameDataStr(STATELOST, playerChoice, type, playerPubKey58, startedHeight, winAmt, randStr)
605604 WriteSet([DataEntry(gameId, newGameDataStr)])
606605 }
607606 }
608607 }
609608
610609

github/deemru/w8io/169f3d6 
131.03 ms