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+uFudtPG3UJTf2mkznZQIDAQABnENDPUBLICKEYAAAAAAAAdyYXNUZXN0CQABmwAAAAECAAABWEdqaklJWHZRMjY2Zm9QRlo2Nm1hQWNXbStOeCs5MHVqN2s5Y3hlbTJLMVJhWjVrekZ2SWNzUX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cwUAAAAGd2luQW10BQAAAA5uZXdHYW1lRGF0YVN0cgQAAAAObmV3R2FtZURhdGFTdHIJAQAAABFGb3JtYXRHYW1lRGF0YVN0cgAAAAcFAAAACVNUQVRFTE9TVAUAAAAMcGxheWVyQ2hvaWNlBQAAAAR0eXBlBQAAAA5wbGF5ZXJQdWJLZXk1OAUAAAANc3RhcnRlZEhlaWdodAUAAAAGd2luQW10BQAAAAdyYW5kU3RyCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAZnYW1lSWQFAAAADm5ld0dhbWVEYXRhU3RyBQAAAANuaWwAAAAAZF1/pg==", "chainId": 84, "height": 735800, "spentComplexity": 0 } View: original | compacted Prev: Fb49JbsZTm8byoKoMF1f2eTqvLQWc6Zs2DeQEGtGFfmr Next: AsxYzwNVdME7oXKuRBmwqZypyJXQHbeQiFmeZXDc4j1h Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let RSAPUBLIC = base64'BEGINPUBLICKEYnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmOlRBTYEO3H7Y9rBmoFQnFn4392Px0Qw13DsdEhnzMH2cj6Y5ymPuCOLMNe5qrUzQl8oRLzIBzFVMZlwUYl2bnosrOIxQbYF7WVQWvoVxET1YIgDm3NzzOLA5uH7CKO0snshmMFCDOZEew41GjKh3Pngx+nbAguP9ZQPfqSafEmC3CN/4yDsJrKriRniZJo9jS/4LLsRKwB7HAZHzoF9LL7ntSZH3htaNGtbdTkxZ1TzST3Mb2VPSzsZvQDocXUVOmJOu0o29aOY+GkG/G4RCK0FnBWQHEUvC51TRDS5k8jad0O1MobjQc6b18d+fuoVFdNfZwGH+uFudtPG3UJTf2mkznZQIDAQABnENDPUBLICKEYAA' | |
5 | 5 | ||
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==") | |
8 | 7 | ||
9 | 8 | let GAMESCOUNTERKEY = "$GAME_NUM" | |
10 | 9 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let RSAPUBLIC = base64'BEGINPUBLICKEYnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmOlRBTYEO3H7Y9rBmoFQnFn4392Px0Qw13DsdEhnzMH2cj6Y5ymPuCOLMNe5qrUzQl8oRLzIBzFVMZlwUYl2bnosrOIxQbYF7WVQWvoVxET1YIgDm3NzzOLA5uH7CKO0snshmMFCDOZEew41GjKh3Pngx+nbAguP9ZQPfqSafEmC3CN/4yDsJrKriRniZJo9jS/4LLsRKwB7HAZHzoF9LL7ntSZH3htaNGtbdTkxZ1TzST3Mb2VPSzsZvQDocXUVOmJOu0o29aOY+GkG/G4RCK0FnBWQHEUvC51TRDS5k8jad0O1MobjQc6b18d+fuoVFdNfZwGH+uFudtPG3UJTf2mkznZQIDAQABnENDPUBLICKEYAA' | |
5 | 5 | ||
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==") | |
8 | 7 | ||
9 | 8 | let GAMESCOUNTERKEY = "$GAME_NUM" | |
10 | 9 | ||
11 | 10 | let RESERVATIONKEY = "$RESERVED_AMOUNT" | |
12 | 11 | ||
13 | 12 | let STATESUBMITTED = "SUBMITTED" | |
14 | 13 | ||
15 | 14 | let STATEWON = "WON" | |
16 | 15 | ||
17 | 16 | let STATELOST = "LOST" | |
18 | 17 | ||
19 | 18 | let IdxGameState = 0 | |
20 | 19 | ||
21 | 20 | let IdxPlayerChoice = 1 | |
22 | 21 | ||
23 | 22 | let IdxType = 2 | |
24 | 23 | ||
25 | 24 | let IdxPlayerPubKey58 = 3 | |
26 | 25 | ||
27 | 26 | let IdxStartedHeight = 4 | |
28 | 27 | ||
29 | 28 | let IdxWinAmt = 5 | |
30 | 29 | ||
31 | 30 | let IdxRandOrEmpty = 6 | |
32 | 31 | ||
33 | 32 | func IncrementGameNum () = { | |
34 | 33 | let gameNum = match getInteger(this, GAMESCOUNTERKEY) { | |
35 | 34 | case num: Int => | |
36 | 35 | num | |
37 | 36 | case _ => | |
38 | 37 | 0 | |
39 | 38 | } | |
40 | 39 | (gameNum + 1) | |
41 | 40 | } | |
42 | 41 | ||
43 | 42 | ||
44 | 43 | func ExtractReservedAmt () = match getInteger(this, RESERVATIONKEY) { | |
45 | 44 | case a: Int => | |
46 | 45 | a | |
47 | 46 | case _ => | |
48 | 47 | 0 | |
49 | 48 | } | |
50 | 49 | ||
51 | 50 | ||
52 | 51 | func ValidateAndIncreaseReservedAmt (winAmt) = { | |
53 | 52 | let newReservedAmount = (ExtractReservedAmt() + winAmt) | |
54 | 53 | let balance = wavesBalance(this) | |
55 | 54 | if ((newReservedAmount > balance)) | |
56 | 55 | then throw("Insufficient funds on Waves Rider account. Transaction was rejected for your safety.") | |
57 | 56 | else newReservedAmount | |
58 | 57 | } | |
59 | 58 | ||
60 | 59 | ||
61 | 60 | func FormatGameDataParam (p) = { | |
62 | 61 | let s = size(p) | |
63 | 62 | if ((s == 0)) | |
64 | 63 | then throw("Parameter size must be greater then 0") | |
65 | 64 | else if ((s > 99)) | |
66 | 65 | then throw("Parameter size must be less then 100") | |
67 | 66 | else if ((10 > s)) | |
68 | 67 | then (("0" + toString(s)) + p) | |
69 | 68 | else (toString(s) + p) | |
70 | 69 | } | |
71 | 70 | ||
72 | 71 | ||
73 | 72 | func FormatGameDataStr (gameState,playerChoice,playerType,playerPubKey58,startedHeight,winAmt,randOrEmpty) = { | |
74 | 73 | let fullStateStr = ((((((((((FormatGameDataParam(gameState) + "_") + FormatGameDataParam(playerChoice)) + "_") + FormatGameDataParam(playerType)) + "_") + FormatGameDataParam(playerPubKey58)) + "_") + FormatGameDataParam(toString(startedHeight))) + "_") + FormatGameDataParam(toString(winAmt))) | |
75 | 74 | if ((randOrEmpty == "")) | |
76 | 75 | then fullStateStr | |
77 | 76 | else ((fullStateStr + "_") + FormatGameDataParam(randOrEmpty)) | |
78 | 77 | } | |
79 | 78 | ||
80 | 79 | ||
81 | 80 | func RemoveUnderscoreIfPresent (remaining) = if ((size(remaining) > 0)) | |
82 | 81 | then drop(remaining, 1) | |
83 | 82 | else remaining | |
84 | 83 | ||
85 | 84 | ||
86 | 85 | func ParseNextAttribute (remaining) = { | |
87 | 86 | let s = size(remaining) | |
88 | 87 | if ((s > 0)) | |
89 | 88 | then { | |
90 | 89 | let nn = parseIntValue(take(remaining, 2)) | |
91 | 90 | let v = take(drop(remaining, 2), nn) | |
92 | 91 | let tmpRemaining = drop(remaining, (nn + 2)) | |
93 | 92 | let remainingState = RemoveUnderscoreIfPresent(tmpRemaining) | |
94 | 93 | [v, remainingState] | |
95 | 94 | } | |
96 | 95 | else throw("Empty string was passed into parseNextAttribute func") | |
97 | 96 | } | |
98 | 97 | ||
99 | 98 | ||
100 | 99 | func ParseGameRawDataStr (rawStateStr) = { | |
101 | 100 | let gameState = ParseNextAttribute(rawStateStr) | |
102 | 101 | let playerChoice = ParseNextAttribute(gameState[1]) | |
103 | 102 | let type = ParseNextAttribute(playerChoice[1]) | |
104 | 103 | let playerPubKey58 = ParseNextAttribute(type[1]) | |
105 | 104 | let startedHeight = ParseNextAttribute(playerPubKey58[1]) | |
106 | 105 | let winAmt = ParseNextAttribute(startedHeight[1]) | |
107 | 106 | [gameState[0], playerChoice[0], type[0], playerPubKey58[0], startedHeight[0], winAmt[0]] | |
108 | 107 | } | |
109 | 108 | ||
110 | 109 | ||
111 | 110 | func ExtractGameDataList (gameId) = { | |
112 | 111 | let rawDataStr = match getString(this, gameId) { | |
113 | 112 | case str: String => | |
114 | 113 | str | |
115 | 114 | case _ => | |
116 | 115 | throw(("Couldn't find game by " + gameId)) | |
117 | 116 | } | |
118 | 117 | ParseGameRawDataStr(rawDataStr) | |
119 | 118 | } | |
120 | 119 | ||
121 | 120 | ||
122 | 121 | func DecreaseReservedAmt (gameId,winAmt) = { | |
123 | 122 | let newReservedAmount = (ExtractReservedAmt() - winAmt) | |
124 | 123 | if ((0 > newReservedAmount)) | |
125 | 124 | then throw("Invalid Dice Roller account state - reserved amount is less than 0") | |
126 | 125 | else DataEntry(RESERVATIONKEY, newReservedAmount) | |
127 | 126 | } | |
128 | 127 | ||
129 | 128 | ||
130 | 129 | func GenerateRandInt (gameId) = { | |
131 | 130 | let rsaSigValid = rsaVerify(SHA256, toBytes(gameId), rasTest, RSAPUBLIC) | |
132 | 131 | if (rsaSigValid) | |
133 | 132 | then { | |
134 | 133 | let rand = (toInt(sha256(rasTest)) % 100) | |
135 | 134 | if ((0 > rand)) | |
136 | 135 | then ((-1 * rand) + 1) | |
137 | 136 | else (rand + 1) | |
138 | 137 | } | |
139 | 138 | else throw("Invalid RSA signature") | |
140 | 139 | } | |
141 | 140 | ||
142 | 141 | ||
143 | 142 | func RandToStr (r) = if (if ((r >= 1)) | |
144 | 143 | then (100 >= r) | |
145 | 144 | else false) | |
146 | 145 | then toString(r) | |
147 | 146 | else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(r))) | |
148 | 147 | ||
149 | 148 | ||
150 | 149 | func WinScriptSet (gameId,playerAddress,winAmt,newGameDataStr) = { | |
151 | 150 | let tSetCommonData = [ScriptTransfer(playerAddress, winAmt, base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4')] | |
152 | 151 | let writeDicePlay = WriteSet([DataEntry("Game Id", gameId), DataEntry("Player Address", toString(playerAddress))]) | |
153 | 152 | ScriptResult(writeDicePlay, TransferSet(tSetCommonData)) | |
154 | 153 | } | |
155 | 154 | ||
156 | 155 | ||
157 | 156 | func getMultiplier (type,playerPrediction) = { | |
158 | 157 | let prediction = 50 | |
159 | 158 | if ((type == "Under")) | |
160 | 159 | then if ((prediction == 1)) | |
161 | 160 | then 9850000 | |
162 | 161 | else if ((prediction == 2)) | |
163 | 162 | then 4925000 | |
164 | 163 | else if ((prediction == 3)) | |
165 | 164 | then 3283330 | |
166 | 165 | else if ((prediction == 4)) | |
167 | 166 | then 2462500 | |
168 | 167 | else if ((prediction == 5)) | |
169 | 168 | then 1970000 | |
170 | 169 | else if ((prediction == 6)) | |
171 | 170 | then 1641660 | |
172 | 171 | else if ((prediction == 7)) | |
173 | 172 | then 1407140 | |
174 | 173 | else if ((prediction == 8)) | |
175 | 174 | then 1231250 | |
176 | 175 | else if ((prediction == 9)) | |
177 | 176 | then 1094440 | |
178 | 177 | else if ((prediction == 10)) | |
179 | 178 | then 985000 | |
180 | 179 | else if ((prediction == 11)) | |
181 | 180 | then 895450 | |
182 | 181 | else if ((prediction == 12)) | |
183 | 182 | then 820830 | |
184 | 183 | else if ((prediction == 13)) | |
185 | 184 | then 757690 | |
186 | 185 | else if ((prediction == 14)) | |
187 | 186 | then 703570 | |
188 | 187 | else if ((prediction == 15)) | |
189 | 188 | then 656660 | |
190 | 189 | else if ((prediction == 16)) | |
191 | 190 | then 615620 | |
192 | 191 | else if ((prediction == 17)) | |
193 | 192 | then 579410 | |
194 | 193 | else if ((prediction == 18)) | |
195 | 194 | then 547220 | |
196 | 195 | else if ((prediction == 19)) | |
197 | 196 | then 518420 | |
198 | 197 | else if ((prediction == 20)) | |
199 | 198 | then 492500 | |
200 | 199 | else if ((prediction == 21)) | |
201 | 200 | then 469040 | |
202 | 201 | else if ((prediction == 22)) | |
203 | 202 | then 447720 | |
204 | 203 | else if ((prediction == 23)) | |
205 | 204 | then 428260 | |
206 | 205 | else if ((prediction == 24)) | |
207 | 206 | then 410410 | |
208 | 207 | else if ((prediction == 25)) | |
209 | 208 | then 394000 | |
210 | 209 | else if ((prediction == 26)) | |
211 | 210 | then 378840 | |
212 | 211 | else if ((prediction == 27)) | |
213 | 212 | then 364810 | |
214 | 213 | else if ((prediction == 28)) | |
215 | 214 | then 351780 | |
216 | 215 | else if ((prediction == 29)) | |
217 | 216 | then 339650 | |
218 | 217 | else if ((prediction == 30)) | |
219 | 218 | then 328330 | |
220 | 219 | else if ((prediction == 31)) | |
221 | 220 | then 317740 | |
222 | 221 | else if ((prediction == 32)) | |
223 | 222 | then 307810 | |
224 | 223 | else if ((prediction == 33)) | |
225 | 224 | then 298480 | |
226 | 225 | else if ((prediction == 34)) | |
227 | 226 | then 289700 | |
228 | 227 | else if ((prediction == 35)) | |
229 | 228 | then 281420 | |
230 | 229 | else if ((prediction == 36)) | |
231 | 230 | then 273610 | |
232 | 231 | else if ((prediction == 37)) | |
233 | 232 | then 259210 | |
234 | 233 | else if ((prediction == 38)) | |
235 | 234 | then 259210 | |
236 | 235 | else if ((prediction == 39)) | |
237 | 236 | then 252560 | |
238 | 237 | else if ((prediction == 40)) | |
239 | 238 | then 246250 | |
240 | 239 | else if ((prediction == 41)) | |
241 | 240 | then 240240 | |
242 | 241 | else if ((prediction == 42)) | |
243 | 242 | then 234520 | |
244 | 243 | else if ((prediction == 43)) | |
245 | 244 | then 229060 | |
246 | 245 | else if ((prediction == 44)) | |
247 | 246 | then 223860 | |
248 | 247 | else if ((prediction == 45)) | |
249 | 248 | then 218880 | |
250 | 249 | else if ((prediction == 46)) | |
251 | 250 | then 214130 | |
252 | 251 | else if ((prediction == 47)) | |
253 | 252 | then 209570 | |
254 | 253 | else if ((prediction == 48)) | |
255 | 254 | then 205200 | |
256 | 255 | else if ((prediction == 49)) | |
257 | 256 | then 201020 | |
258 | 257 | else if ((prediction == 50)) | |
259 | 258 | then 197000 | |
260 | 259 | else if ((prediction == 51)) | |
261 | 260 | then 193130 | |
262 | 261 | else if ((prediction == 52)) | |
263 | 262 | then 189420 | |
264 | 263 | else if ((prediction == 53)) | |
265 | 264 | then 185840 | |
266 | 265 | else if ((prediction == 54)) | |
267 | 266 | then 182400 | |
268 | 267 | else if ((prediction == 55)) | |
269 | 268 | then 179090 | |
270 | 269 | else if ((prediction == 56)) | |
271 | 270 | then 175890 | |
272 | 271 | else if ((prediction == 57)) | |
273 | 272 | then 172800 | |
274 | 273 | else if ((prediction == 58)) | |
275 | 274 | then 169820 | |
276 | 275 | else if ((prediction == 59)) | |
277 | 276 | then 166940 | |
278 | 277 | else if ((prediction == 60)) | |
279 | 278 | then 164160 | |
280 | 279 | else if ((prediction == 61)) | |
281 | 280 | then 161470 | |
282 | 281 | else if ((prediction == 62)) | |
283 | 282 | then 158870 | |
284 | 283 | else if ((prediction == 63)) | |
285 | 284 | then 156340 | |
286 | 285 | else if ((prediction == 64)) | |
287 | 286 | then 153900 | |
288 | 287 | else if ((prediction == 65)) | |
289 | 288 | then 151530 | |
290 | 289 | else if ((prediction == 66)) | |
291 | 290 | then 149240 | |
292 | 291 | else if ((prediction == 67)) | |
293 | 292 | then 147010 | |
294 | 293 | else if ((prediction == 68)) | |
295 | 294 | then 144850 | |
296 | 295 | else if ((prediction == 69)) | |
297 | 296 | then 142750 | |
298 | 297 | else if ((prediction == 70)) | |
299 | 298 | then 140710 | |
300 | 299 | else if ((prediction == 71)) | |
301 | 300 | then 138730 | |
302 | 301 | else if ((prediction == 72)) | |
303 | 302 | then 136800 | |
304 | 303 | else if ((prediction == 73)) | |
305 | 304 | then 134930 | |
306 | 305 | else if ((prediction == 74)) | |
307 | 306 | then 133100 | |
308 | 307 | else if ((prediction == 75)) | |
309 | 308 | then 131330 | |
310 | 309 | else if ((prediction == 76)) | |
311 | 310 | then 129600 | |
312 | 311 | else if ((prediction == 77)) | |
313 | 312 | then 127920 | |
314 | 313 | else if ((prediction == 78)) | |
315 | 314 | then 126280 | |
316 | 315 | else if ((prediction == 79)) | |
317 | 316 | then 124680 | |
318 | 317 | else if ((prediction == 80)) | |
319 | 318 | then 123120 | |
320 | 319 | else if ((prediction == 81)) | |
321 | 320 | then 121600 | |
322 | 321 | else if ((prediction == 82)) | |
323 | 322 | then 120120 | |
324 | 323 | else if ((prediction == 83)) | |
325 | 324 | then 118670 | |
326 | 325 | else if ((prediction == 84)) | |
327 | 326 | then 117260 | |
328 | 327 | else if ((prediction == 85)) | |
329 | 328 | then 115880 | |
330 | 329 | else if ((prediction == 86)) | |
331 | 330 | then 114530 | |
332 | 331 | else if ((prediction == 87)) | |
333 | 332 | then 113210 | |
334 | 333 | else if ((prediction == 88)) | |
335 | 334 | then 111930 | |
336 | 335 | else if ((prediction == 89)) | |
337 | 336 | then 110670 | |
338 | 337 | else if ((prediction == 90)) | |
339 | 338 | then 109440 | |
340 | 339 | else if ((prediction == 91)) | |
341 | 340 | then 108240 | |
342 | 341 | else if ((prediction == 92)) | |
343 | 342 | then 107060 | |
344 | 343 | else if ((prediction == 93)) | |
345 | 344 | then 105910 | |
346 | 345 | else if ((prediction == 94)) | |
347 | 346 | then 104780 | |
348 | 347 | else if ((prediction == 95)) | |
349 | 348 | then 103680 | |
350 | 349 | else if ((prediction == 96)) | |
351 | 350 | then 103680 | |
352 | 351 | else 100000 | |
353 | 352 | else if ((type == "Over")) | |
354 | 353 | then if ((prediction == 4)) | |
355 | 354 | then 103680 | |
356 | 355 | else if ((prediction == 5)) | |
357 | 356 | then 103680 | |
358 | 357 | else if ((prediction == 6)) | |
359 | 358 | then 104780 | |
360 | 359 | else if ((prediction == 7)) | |
361 | 360 | then 105910 | |
362 | 361 | else if ((prediction == 8)) | |
363 | 362 | then 107060 | |
364 | 363 | else if ((prediction == 9)) | |
365 | 364 | then 108240 | |
366 | 365 | else if ((prediction == 10)) | |
367 | 366 | then 109440 | |
368 | 367 | else if ((prediction == 11)) | |
369 | 368 | then 110670 | |
370 | 369 | else if ((prediction == 12)) | |
371 | 370 | then 111930 | |
372 | 371 | else if ((prediction == 13)) | |
373 | 372 | then 113210 | |
374 | 373 | else if ((prediction == 14)) | |
375 | 374 | then 114530 | |
376 | 375 | else if ((prediction == 15)) | |
377 | 376 | then 115880 | |
378 | 377 | else if ((prediction == 16)) | |
379 | 378 | then 117260 | |
380 | 379 | else if ((prediction == 17)) | |
381 | 380 | then 118670 | |
382 | 381 | else if ((prediction == 18)) | |
383 | 382 | then 120120 | |
384 | 383 | else if ((prediction == 19)) | |
385 | 384 | then 121600 | |
386 | 385 | else if ((prediction == 20)) | |
387 | 386 | then 123120 | |
388 | 387 | else if ((prediction == 21)) | |
389 | 388 | then 124680 | |
390 | 389 | else if ((prediction == 22)) | |
391 | 390 | then 126280 | |
392 | 391 | else if ((prediction == 23)) | |
393 | 392 | then 127920 | |
394 | 393 | else if ((prediction == 24)) | |
395 | 394 | then 129600 | |
396 | 395 | else if ((prediction == 25)) | |
397 | 396 | then 131330 | |
398 | 397 | else if ((prediction == 26)) | |
399 | 398 | then 133100 | |
400 | 399 | else if ((prediction == 27)) | |
401 | 400 | then 134930 | |
402 | 401 | else if ((prediction == 28)) | |
403 | 402 | then 136800 | |
404 | 403 | else if ((prediction == 29)) | |
405 | 404 | then 138730 | |
406 | 405 | else if ((prediction == 30)) | |
407 | 406 | then 140710 | |
408 | 407 | else if ((prediction == 31)) | |
409 | 408 | then 142750 | |
410 | 409 | else if ((prediction == 32)) | |
411 | 410 | then 144850 | |
412 | 411 | else if ((prediction == 33)) | |
413 | 412 | then 147010 | |
414 | 413 | else if ((prediction == 34)) | |
415 | 414 | then 149240 | |
416 | 415 | else if ((prediction == 35)) | |
417 | 416 | then 151530 | |
418 | 417 | else if ((prediction == 36)) | |
419 | 418 | then 153900 | |
420 | 419 | else if ((prediction == 37)) | |
421 | 420 | then 156340 | |
422 | 421 | else if ((prediction == 38)) | |
423 | 422 | then 158870 | |
424 | 423 | else if ((prediction == 39)) | |
425 | 424 | then 161470 | |
426 | 425 | else if ((prediction == 40)) | |
427 | 426 | then 164160 | |
428 | 427 | else if ((prediction == 41)) | |
429 | 428 | then 166940 | |
430 | 429 | else if ((prediction == 42)) | |
431 | 430 | then 169820 | |
432 | 431 | else if ((prediction == 43)) | |
433 | 432 | then 172800 | |
434 | 433 | else if ((prediction == 44)) | |
435 | 434 | then 175890 | |
436 | 435 | else if ((prediction == 45)) | |
437 | 436 | then 179090 | |
438 | 437 | else if ((prediction == 46)) | |
439 | 438 | then 185840 | |
440 | 439 | else if ((prediction == 47)) | |
441 | 440 | then 185840 | |
442 | 441 | else if ((prediction == 48)) | |
443 | 442 | then 189420 | |
444 | 443 | else if ((prediction == 49)) | |
445 | 444 | then 193130 | |
446 | 445 | else if ((prediction == 50)) | |
447 | 446 | then 197000 | |
448 | 447 | else if ((prediction == 51)) | |
449 | 448 | then 201020 | |
450 | 449 | else if ((prediction == 52)) | |
451 | 450 | then 205200 | |
452 | 451 | else if ((prediction == 53)) | |
453 | 452 | then 209570 | |
454 | 453 | else if ((prediction == 54)) | |
455 | 454 | then 214130 | |
456 | 455 | else if ((prediction == 55)) | |
457 | 456 | then 218880 | |
458 | 457 | else if ((prediction == 56)) | |
459 | 458 | then 223860 | |
460 | 459 | else if ((prediction == 57)) | |
461 | 460 | then 229060 | |
462 | 461 | else if ((prediction == 58)) | |
463 | 462 | then 234520 | |
464 | 463 | else if ((prediction == 59)) | |
465 | 464 | then 240240 | |
466 | 465 | else if ((prediction == 60)) | |
467 | 466 | then 246250 | |
468 | 467 | else if ((prediction == 61)) | |
469 | 468 | then 252560 | |
470 | 469 | else if ((prediction == 62)) | |
471 | 470 | then 259210 | |
472 | 471 | else if ((prediction == 63)) | |
473 | 472 | then 259210 | |
474 | 473 | else if ((prediction == 64)) | |
475 | 474 | then 273610 | |
476 | 475 | else if ((prediction == 65)) | |
477 | 476 | then 281420 | |
478 | 477 | else if ((prediction == 66)) | |
479 | 478 | then 289700 | |
480 | 479 | else if ((prediction == 67)) | |
481 | 480 | then 298480 | |
482 | 481 | else if ((prediction == 68)) | |
483 | 482 | then 307810 | |
484 | 483 | else if ((prediction == 69)) | |
485 | 484 | then 317740 | |
486 | 485 | else if ((prediction == 70)) | |
487 | 486 | then 328330 | |
488 | 487 | else if ((prediction == 71)) | |
489 | 488 | then 339650 | |
490 | 489 | else if ((prediction == 72)) | |
491 | 490 | then 351780 | |
492 | 491 | else if ((prediction == 73)) | |
493 | 492 | then 364810 | |
494 | 493 | else if ((prediction == 74)) | |
495 | 494 | then 378840 | |
496 | 495 | else if ((prediction == 75)) | |
497 | 496 | then 394000 | |
498 | 497 | else if ((prediction == 76)) | |
499 | 498 | then 410410 | |
500 | 499 | else if ((prediction == 77)) | |
501 | 500 | then 428260 | |
502 | 501 | else if ((prediction == 78)) | |
503 | 502 | then 447720 | |
504 | 503 | else if ((prediction == 79)) | |
505 | 504 | then 469040 | |
506 | 505 | else if ((prediction == 80)) | |
507 | 506 | then 492500 | |
508 | 507 | else if ((prediction == 81)) | |
509 | 508 | then 518420 | |
510 | 509 | else if ((prediction == 82)) | |
511 | 510 | then 547220 | |
512 | 511 | else if ((prediction == 83)) | |
513 | 512 | then 579410 | |
514 | 513 | else if ((prediction == 84)) | |
515 | 514 | then 615620 | |
516 | 515 | else if ((prediction == 85)) | |
517 | 516 | then 656660 | |
518 | 517 | else if ((prediction == 86)) | |
519 | 518 | then 703570 | |
520 | 519 | else if ((prediction == 87)) | |
521 | 520 | then 757690 | |
522 | 521 | else if ((prediction == 88)) | |
523 | 522 | then 820830 | |
524 | 523 | else if ((prediction == 89)) | |
525 | 524 | then 895450 | |
526 | 525 | else if ((prediction == 90)) | |
527 | 526 | then 985000 | |
528 | 527 | else if ((prediction == 91)) | |
529 | 528 | then 1094440 | |
530 | 529 | else if ((prediction == 92)) | |
531 | 530 | then 1231250 | |
532 | 531 | else if ((prediction == 93)) | |
533 | 532 | then 1407140 | |
534 | 533 | else if ((prediction == 94)) | |
535 | 534 | then 1641660 | |
536 | 535 | else if ((prediction == 95)) | |
537 | 536 | then 1970000 | |
538 | 537 | else if ((prediction == 96)) | |
539 | 538 | then 2462500 | |
540 | 539 | else if ((prediction == 97)) | |
541 | 540 | then 3283330 | |
542 | 541 | else if ((prediction == 98)) | |
543 | 542 | then 4925000 | |
544 | 543 | else if ((prediction == 99)) | |
545 | 544 | then 9850000 | |
546 | 545 | else 100000 | |
547 | 546 | else 100000 | |
548 | 547 | } | |
549 | 548 | ||
550 | 549 | ||
551 | 550 | func diceWin (type,prediction,number) = if ((type == "Under")) | |
552 | 551 | then if ((prediction >= number)) | |
553 | 552 | then true | |
554 | 553 | else false | |
555 | 554 | else if ((type == "Over")) | |
556 | 555 | then if ((number >= prediction)) | |
557 | 556 | then true | |
558 | 557 | else false | |
559 | 558 | else false | |
560 | 559 | ||
561 | 560 | ||
562 | 561 | @Callable(i) | |
563 | 562 | func playDice (type,prediction) = { | |
564 | 563 | let newGameNum = IncrementGameNum() | |
565 | 564 | let gameId = toBase58String(i.transactionId) | |
566 | 565 | let payment = extract(i.payment) | |
567 | 566 | let multi = getMultiplier(type, prediction) | |
568 | 567 | let winAmt = (((payment.amount * multi) / 100000) * (95 / 100)) | |
569 | 568 | let txIdUsed = isDefined(getString(this, gameId)) | |
570 | 569 | if (false) | |
571 | 570 | then throw("Payment should be in Wavesbet") | |
572 | 571 | else if (txIdUsed) | |
573 | 572 | then throw("Passed txId had been used before. Game aborted.") | |
574 | 573 | else { | |
575 | 574 | let playerPubKey58 = toBase58String(i.callerPublicKey) | |
576 | 575 | let gameDataStr = FormatGameDataStr(STATESUBMITTED, prediction, type, playerPubKey58, height, winAmt, "") | |
577 | 576 | ScriptResult(WriteSet([DataEntry(GAMESCOUNTERKEY, newGameNum), DataEntry(gameId, gameDataStr)]), TransferSet(nil)) | |
578 | 577 | } | |
579 | 578 | } | |
580 | 579 | ||
581 | 580 | ||
582 | 581 | ||
583 | 582 | @Callable(i) | |
584 | 583 | func withdraw (gameId,rsaSig) = { | |
585 | 584 | let gameDataList = ExtractGameDataList(gameId) | |
586 | 585 | let gameState = gameDataList[IdxGameState] | |
587 | 586 | let playerChoice = gameDataList[IdxPlayerChoice] | |
588 | 587 | let type = gameDataList[IdxType] | |
589 | 588 | let startedHeight = parseIntValue(gameDataList[IdxStartedHeight]) | |
590 | 589 | let winAmt = parseIntValue(gameDataList[IdxWinAmt]) | |
591 | 590 | let playerPubKey58 = gameDataList[IdxPlayerPubKey58] | |
592 | 591 | let playerAddress = addressFromPublicKey(fromBase58String(playerPubKey58)) | |
593 | 592 | if ((gameState != STATESUBMITTED)) | |
594 | 593 | then throw("Invalid game state for passed gameId") | |
595 | 594 | else { | |
596 | 595 | let rand = GenerateRandInt(gameId) | |
597 | 596 | let randStr = RandToStr(rand) | |
598 | 597 | if (diceWin(type, parseIntValue(playerChoice), rand)) | |
599 | 598 | then { | |
600 | 599 | let newGameDataStr = FormatGameDataStr(STATEWON, playerChoice, type, playerPubKey58, startedHeight, winAmt, randStr) | |
601 | 600 | WinScriptSet(gameId, playerAddress, winAmt, newGameDataStr) | |
602 | 601 | } | |
603 | 602 | else { | |
604 | 603 | let newGameDataStr = FormatGameDataStr(STATELOST, playerChoice, type, playerPubKey58, startedHeight, winAmt, randStr) | |
605 | 604 | WriteSet([DataEntry(gameId, newGameDataStr)]) | |
606 | 605 | } | |
607 | 606 | } | |
608 | 607 | } | |
609 | 608 | ||
610 | 609 |
github/deemru/w8io/169f3d6 131.03 ms ◑