tx · FTbqJRc2cCWdFDmCruT2p7jPoBiExcmakaJKY7Tyd8d2 3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx: -0.01400000 Waves 2021.02.25 00:15 [1412707] smart account 3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx > SELF 0.00000000 Waves
{ "type": 13, "id": "FTbqJRc2cCWdFDmCruT2p7jPoBiExcmakaJKY7Tyd8d2", "fee": 1400000, "feeAssetId": null, "timestamp": 1614201336349, "version": 2, "chainId": 84, "sender": "3N4vtgpXkE68DqQchkdVCSoaSNxMJ8Xuctx", "senderPublicKey": "8Q6AAquTkqKK6raBKopy9WX83aDSeQEnLGrL5nbh7Z4V", "proofs": [ "54Q2hcJ5eHfKa7mWQEDA1Z5hAoimNV9ni85GBYL5kDCHRZA8zbetoErcWWQ6rXBz3QnwEz8LHt2RvFPAPfYmoqiu" ], "script": "base64:AAIDAAAAAAAAAA4IARIAEgASBgoECAgICAAAACEAAAAADWdhbWVQdWJsaWNLZXkJAAJZAAAAAQIAAAAsOFE2QUFxdVRrcUtLNnJhQktvcHk5V1g4M2FEU2VRRW5MR3JMNW5iaDdaNFYAAAAADmFkbWluUHVibGljS2V5CQACWQAAAAECAAAALDd3a0JXVmhvOW01QnZYblJRamlCV1JHdHFZaUdMck56dkVwQ0RQa25ZNFAzAAAAAAtnYW1lQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAANZ2FtZVB1YmxpY0tleQAAAAAMYWRtaW5BZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAA5hZG1pblB1YmxpY0tleQAAAAANcnNhUHVibGljS2V5MQkAAlsAAAABAgAAAYhNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQWw2b3VVWnlVcnlVRzJMbEYydVlRWGRiL0U2VWhsWkFicWxPSlVDWGtlNFgzb3NheWE2M2JOUWVVTlBLN20v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wAAAACAgAAAAEzCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABNgkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATcJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATMFAAAAA25pbAAAAAAFZHJ1bTMJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATYJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAE1CQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATEFAAAAA25pbAAAAAAIc3RhdGVBY2MCAAAABkFDVElWRQAAAAAHd2F2ZXNJZAUAAAAEdW5pdAAAAAALbkxpZmVNaW5BbXQAAAA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AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAGUExBWUVEAgAAAAFfBQAAAApwbGF5ZXJBZGRyAgAAAAFfBQAAAAliZXRBbW91bnQCAAAAAV8JAAGkAAAAAQUAAAAJYW1vdW50V29uAgAAAAdfTkxJRkVfCQABpAAAAAEFAAAABmhlaWdodAIAAAABXwUAAAAOd2luc0luMjAwVGltZXMCAAAAA18wXwkAAaQAAAABCQAAZAAAAAIFAAAAA3JvdwAAAAAAAAAAAQIAAAABXwUAAAALdGhyZWVJbkFSb3cCAAAAAV8FAAAADWluZGV4UG9zaXRpb24JAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEGdhbWVMYWJlbDVJbkFSb3cJAAEsAAAAAgkAASwAAAACCQABpAAAAAEJAABkAAAAAgUAAAADcm93AAAAAAAAAAABAgAAAAFfBQAAAApwbGF5ZXJBZGRyBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAAAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADWdhbWVQdWJsaWNLZXkEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGBwdAy6nc", "height": 1412707, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5T6GYtSNMciJafHiLKVUrcUCHsw6xqDXEmemGV3Y2eAF Next: 7FtwbsCcoKYHvPXkeeanT55CaCP5oVDYH24ickukvWm7 Diff:
Old | New | Differences | |
---|---|---|---|
23 | 23 | ||
24 | 24 | let stateAcc = "ACTIVE" | |
25 | 25 | ||
26 | - | let betPlaced = "PENDING" | |
27 | - | ||
28 | - | let betWin = "WON" | |
29 | - | ||
30 | - | let betLose = "LOST" | |
31 | - | ||
32 | 26 | let wavesId = unit | |
33 | - | ||
34 | - | let nlifeId = fromBase64String("") | |
35 | 27 | ||
36 | 28 | let nLifeMinAmt = 10000000 | |
37 | 29 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let gamePublicKey = fromBase58String("8Q6AAquTkqKK6raBKopy9WX83aDSeQEnLGrL5nbh7Z4V") | |
5 | 5 | ||
6 | 6 | let adminPublicKey = fromBase58String("7wkBWVho9m5BvXnRQjiBWRGtqYiGLrNzvEpCDPknY4P3") | |
7 | 7 | ||
8 | 8 | let gameAddress = addressFromPublicKey(gamePublicKey) | |
9 | 9 | ||
10 | 10 | let adminAddress = addressFromPublicKey(adminPublicKey) | |
11 | 11 | ||
12 | 12 | let rsaPublicKey1 = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl6ouUZyUryUG2LlF2uYQXdb/E6UhlZAbqlOJUCXke4X3osaya63bNQeUNPK7m/9QN9hDium4Kkio9F2r+R92vMgWaluvYviFGJw8V8XL8yhcpkKgYJUQ0v0MCbpI9c7hSKRNxvaI9jikYGyGNSsFdITwcX3a0xJmDfwCssP76mIAC6vXDNuScey+v3njQ+6o/7Aov8YFisZLKmxgZnvuXDIn9zpNhigtlIOTKeY1I4NZQ7zKDlJzSbzBRSWWaNZAWDvlwFr/ZQOMNQ24phKVmnePTEVFASsumUiIBLXbTw78b/SY3bgz79dhw8A1Pu5NW4X9hicrmNr1EyX39UsTDQIDAQAB") | |
13 | 13 | ||
14 | 14 | let rsaPublicKey2 = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl6ouUZyUryUG2LlF2uYQXdb/E6UhlZAbqlOJUCXke4X3osaya63bNQeUNPK7m/9QN9hDium4Kkio9F2r+R92vMgWaluvYviFGJw8V8XL8yhcpkKgYJUQ0v0MCbpI9c7hSKRNxvaI9jikYGyGNSsFdITwcX3a0xJmDfwCssP76mIAC6vXDNuScey+v3njQ+6o/7Aov8YFisZLKmxgZnvuXDIn9zpNhigtlIOTKeY1I4NZQ7zKDlJzSbzBRSWWaNZAWDvlwFr/ZQOMNQ24phKVmnePTEVFASsumUiIBLXbTw78b/SY3bgz79dhw8A1Pu5NW4X9hicrmNr1EyX39UsTDQIDAQAB") | |
15 | 15 | ||
16 | 16 | let rsaPublicKey3 = fromBase64String("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl6ouUZyUryUG2LlF2uYQXdb/E6UhlZAbqlOJUCXke4X3osaya63bNQeUNPK7m/9QN9hDium4Kkio9F2r+R92vMgWaluvYviFGJw8V8XL8yhcpkKgYJUQ0v0MCbpI9c7hSKRNxvaI9jikYGyGNSsFdITwcX3a0xJmDfwCssP76mIAC6vXDNuScey+v3njQ+6o/7Aov8YFisZLKmxgZnvuXDIn9zpNhigtlIOTKeY1I4NZQ7zKDlJzSbzBRSWWaNZAWDvlwFr/ZQOMNQ24phKVmnePTEVFASsumUiIBLXbTw78b/SY3bgz79dhw8A1Pu5NW4X9hicrmNr1EyX39UsTDQIDAQAB") | |
17 | 17 | ||
18 | 18 | let drum1 = ["6", "1", "5", "4", "3", "2", "1", "3", "5", "2", "4", "1", "7", "3", "2", "3", "1", "4", "1", "3", "5", "2", "1", "4", "2", "6", "5", "2", "1", "4"] | |
19 | 19 | ||
20 | 20 | let drum2 = ["1", "3", "4", "2", "3", "5", "1", "6", "4", "2", "1", "1", "4", "2", "1", "6", "3", "4", "1", "2", "5", "4", "1", "5", "3", "2", "7", "5", "1", "3"] | |
21 | 21 | ||
22 | 22 | let drum3 = ["3", "2", "5", "2", "7", "4", "1", "3", "6", "4", "2", "3", "1", "6", "4", "2", "1", "5", "2", "5", "1", "3", "7", "1", "2", "6", "4", "1", "3", "1"] | |
23 | 23 | ||
24 | 24 | let stateAcc = "ACTIVE" | |
25 | 25 | ||
26 | - | let betPlaced = "PENDING" | |
27 | - | ||
28 | - | let betWin = "WON" | |
29 | - | ||
30 | - | let betLose = "LOST" | |
31 | - | ||
32 | 26 | let wavesId = unit | |
33 | - | ||
34 | - | let nlifeId = fromBase64String("") | |
35 | 27 | ||
36 | 28 | let nLifeMinAmt = 10000000 | |
37 | 29 | ||
38 | 30 | let nLifeMaxAmt = 50000000 | |
39 | 31 | ||
40 | 32 | let gameLabelCounter = "GAMESCOUNTER" | |
41 | 33 | ||
42 | 34 | let gameLabel = (toString(gameAddress) + "_GAME_ADDRESS") | |
43 | 35 | ||
44 | 36 | let gameLabel5InARow = (toString(gameAddress) + "_ROW_WIN/LOSE") | |
45 | 37 | ||
46 | 38 | func gameGetCounter () = getInteger(this, gameLabelCounter) | |
47 | 39 | ||
48 | 40 | ||
49 | 41 | func gameGetLabel () = getString(this, gameLabel) | |
50 | 42 | ||
51 | 43 | ||
52 | 44 | func gameGetRow () = getString(this, gameLabel5InARow) | |
53 | 45 | ||
54 | 46 | ||
55 | 47 | func gameLabelBet (playerAddr) = (playerAddr + "_BETDATA") | |
56 | 48 | ||
57 | 49 | ||
58 | 50 | func gameGetBet (playerAddr) = getString(this, gameLabelBet(playerAddr)) | |
59 | 51 | ||
60 | 52 | ||
61 | 53 | func addressLabelIn200Wins (addr) = (addr + "_IN200WINS") | |
62 | 54 | ||
63 | 55 | ||
64 | 56 | func addressLabelNFT (addr) = (addr + "_NFT") | |
65 | 57 | ||
66 | 58 | ||
67 | 59 | func addressGet200Wins (addr) = getInteger(this, addressLabelIn200Wins(addr)) | |
68 | 60 | ||
69 | 61 | ||
70 | 62 | func addressGetNFT (addr) = getInteger(this, addressLabelNFT(addr)) | |
71 | 63 | ||
72 | 64 | ||
73 | 65 | func gameGetData () = { | |
74 | 66 | let gameData = gameGetLabel() | |
75 | 67 | let a = match gameData { | |
76 | 68 | case a: String => | |
77 | 69 | a | |
78 | 70 | case _ => | |
79 | 71 | throw("GAME_DATA_ERROR_1") | |
80 | 72 | } | |
81 | 73 | split(a, "_") | |
82 | 74 | } | |
83 | 75 | ||
84 | 76 | ||
85 | 77 | func gameGetRowData () = { | |
86 | 78 | let gameRowData = gameGetRow() | |
87 | 79 | let a = match gameRowData { | |
88 | 80 | case a: String => | |
89 | 81 | a | |
90 | 82 | case _ => | |
91 | 83 | throw("GAME_DATA_ERROR_2") | |
92 | 84 | } | |
93 | 85 | split(a, "_") | |
94 | 86 | } | |
95 | 87 | ||
96 | 88 | ||
97 | 89 | func gameGetBetData (playerAddr) = { | |
98 | 90 | let gameBetData = gameGetBet(playerAddr) | |
99 | 91 | let a = match gameBetData { | |
100 | 92 | case a: String => | |
101 | 93 | a | |
102 | 94 | case _ => | |
103 | 95 | throw("BET_DATA_ERROR") | |
104 | 96 | } | |
105 | 97 | split(a, "_") | |
106 | 98 | } | |
107 | 99 | ||
108 | 100 | ||
109 | 101 | func pmtAmtCheck (betAmount) = if (if ((betAmount >= nLifeMinAmt)) | |
110 | 102 | then (nLifeMaxAmt >= betAmount) | |
111 | 103 | else false) | |
112 | 104 | then true | |
113 | 105 | else throw("AMOUNT_NOT_IN_RANGE") | |
114 | 106 | ||
115 | 107 | ||
116 | 108 | func drumIntToString (drumInt) = if ((10 > drumInt)) | |
117 | 109 | then ("0" + toString(drumInt)) | |
118 | 110 | else toString(drumInt) | |
119 | 111 | ||
120 | 112 | ||
121 | 113 | func defineMultiplier (threeInARow) = if ((threeInARow == "777")) | |
122 | 114 | then 1199 | |
123 | 115 | else if ((threeInARow == "666")) | |
124 | 116 | then 200 | |
125 | 117 | else if ((threeInARow == "555")) | |
126 | 118 | then 150 | |
127 | 119 | else if ((threeInARow == "667")) | |
128 | 120 | then 80 | |
129 | 121 | else if ((threeInARow == "665")) | |
130 | 122 | then 80 | |
131 | 123 | else if ((threeInARow == "677")) | |
132 | 124 | then 80 | |
133 | 125 | else if ((threeInARow == "655")) | |
134 | 126 | then 80 | |
135 | 127 | else if ((threeInARow == "675")) | |
136 | 128 | then 80 | |
137 | 129 | else if ((threeInARow == "657")) | |
138 | 130 | then 80 | |
139 | 131 | else if ((threeInARow == "776")) | |
140 | 132 | then 80 | |
141 | 133 | else if ((threeInARow == "775")) | |
142 | 134 | then 80 | |
143 | 135 | else if ((threeInARow == "766")) | |
144 | 136 | then 80 | |
145 | 137 | else if ((threeInARow == "755")) | |
146 | 138 | then 80 | |
147 | 139 | else if ((threeInARow == "756")) | |
148 | 140 | then 80 | |
149 | 141 | else if ((threeInARow == "765")) | |
150 | 142 | then 80 | |
151 | 143 | else if ((threeInARow == "556")) | |
152 | 144 | then 80 | |
153 | 145 | else if ((threeInARow == "557")) | |
154 | 146 | then 80 | |
155 | 147 | else if ((threeInARow == "566")) | |
156 | 148 | then 80 | |
157 | 149 | else if ((threeInARow == "577")) | |
158 | 150 | then 80 | |
159 | 151 | else if ((threeInARow == "576")) | |
160 | 152 | then 80 | |
161 | 153 | else if ((threeInARow == "567")) | |
162 | 154 | then 80 | |
163 | 155 | else if ((threeInARow == "234")) | |
164 | 156 | then 50 | |
165 | 157 | else if ((threeInARow == "444")) | |
166 | 158 | then 40 | |
167 | 159 | else if ((threeInARow == "333")) | |
168 | 160 | then 25 | |
169 | 161 | else if ((threeInARow == "564")) | |
170 | 162 | then 20 | |
171 | 163 | else if ((threeInARow == "534")) | |
172 | 164 | then 20 | |
173 | 165 | else if ((threeInARow == "537")) | |
174 | 166 | then 20 | |
175 | 167 | else if ((threeInARow == "264")) | |
176 | 168 | then 20 | |
177 | 169 | else if ((threeInARow == "267")) | |
178 | 170 | then 20 | |
179 | 171 | else if ((threeInARow == "237")) | |
180 | 172 | then 20 | |
181 | 173 | else if ((threeInARow == "222")) | |
182 | 174 | then 10 | |
183 | 175 | else if ((threeInARow == "443")) | |
184 | 176 | then 5 | |
185 | 177 | else if ((threeInARow == "442")) | |
186 | 178 | then 5 | |
187 | 179 | else if ((threeInARow == "433")) | |
188 | 180 | then 5 | |
189 | 181 | else if ((threeInARow == "334")) | |
190 | 182 | then 5 | |
191 | 183 | else if ((threeInARow == "332")) | |
192 | 184 | then 5 | |
193 | 185 | else if ((threeInARow == "344")) | |
194 | 186 | then 5 | |
195 | 187 | else if ((threeInARow == "322")) | |
196 | 188 | then 5 | |
197 | 189 | else if ((threeInARow == "224")) | |
198 | 190 | then 5 | |
199 | 191 | else if ((threeInARow == "223")) | |
200 | 192 | then 5 | |
201 | 193 | else if ((threeInARow == "244")) | |
202 | 194 | then 5 | |
203 | 195 | else if ((threeInARow == "233")) | |
204 | 196 | then 5 | |
205 | 197 | else if ((threeInARow == "342")) | |
206 | 198 | then 5 | |
207 | 199 | else if ((threeInARow == "324")) | |
208 | 200 | then 5 | |
209 | 201 | else if ((threeInARow == "423")) | |
210 | 202 | then 5 | |
211 | 203 | else if ((threeInARow == "432")) | |
212 | 204 | then 5 | |
213 | 205 | else if ((threeInARow == "243")) | |
214 | 206 | then 5 | |
215 | 207 | else if ((threeInARow == "474")) | |
216 | 208 | then 2 | |
217 | 209 | else if ((threeInARow == "747")) | |
218 | 210 | then 2 | |
219 | 211 | else if ((threeInARow == "774")) | |
220 | 212 | then 2 | |
221 | 213 | else if ((threeInARow == "744")) | |
222 | 214 | then 2 | |
223 | 215 | else if ((threeInARow == "477")) | |
224 | 216 | then 2 | |
225 | 217 | else if ((threeInARow == "447")) | |
226 | 218 | then 2 | |
227 | 219 | else if ((threeInARow == "636")) | |
228 | 220 | then 2 | |
229 | 221 | else if ((threeInARow == "363")) | |
230 | 222 | then 2 | |
231 | 223 | else if ((threeInARow == "663")) | |
232 | 224 | then 2 | |
233 | 225 | else if ((threeInARow == "633")) | |
234 | 226 | then 2 | |
235 | 227 | else if ((threeInARow == "366")) | |
236 | 228 | then 2 | |
237 | 229 | else if ((threeInARow == "336")) | |
238 | 230 | then 2 | |
239 | 231 | else if ((threeInARow == "252")) | |
240 | 232 | then 2 | |
241 | 233 | else if ((threeInARow == "525")) | |
242 | 234 | then 2 | |
243 | 235 | else if ((threeInARow == "522")) | |
244 | 236 | then 2 | |
245 | 237 | else if ((threeInARow == "552")) | |
246 | 238 | then 2 | |
247 | 239 | else if ((threeInARow == "255")) | |
248 | 240 | then 2 | |
249 | 241 | else if ((threeInARow == "225")) | |
250 | 242 | then 2 | |
251 | 243 | else if ((threeInARow == "111")) | |
252 | 244 | then 1 | |
253 | 245 | else 0 | |
254 | 246 | ||
255 | 247 | ||
256 | 248 | func randomizer (message,rsaSign,rsaPublicKey) = { | |
257 | 249 | let rsaCheck = rsaVerify(SHA256, toBytes(message), fromBase64String(rsaSign), rsaPublicKey) | |
258 | 250 | if (rsaCheck) | |
259 | 251 | then (toInt(sha256(toBytes(rsaSign))) % 39) | |
260 | 252 | else throw("Rsa Signature is invalid") | |
261 | 253 | } | |
262 | 254 | ||
263 | 255 | ||
264 | 256 | @Callable(i) | |
265 | 257 | func initSlotGame () = if ((i.callerPublicKey != adminPublicKey)) | |
266 | 258 | then throw("initGame_FORBBIDEN") | |
267 | 259 | else match gameGetCounter() { | |
268 | 260 | case GAMESCOUNTER: Int => | |
269 | 261 | throw("INIT_ALREADY_DONE") | |
270 | 262 | case _ => | |
271 | 263 | WriteSet([DataEntry(gameLabelCounter, 0), DataEntry(gameLabel, ((((stateAcc + "_") + toString(gameAddress)) + "_") + toString(height))), DataEntry(gameLabel5InARow, ("0_" + toString(gameAddress)))]) | |
272 | 264 | } | |
273 | 265 | ||
274 | 266 | ||
275 | 267 | ||
276 | 268 | @Callable(i) | |
277 | 269 | func placeBet () = { | |
278 | 270 | let playerAddress = extract(i.caller) | |
279 | 271 | let pmt = extract(i.payment) | |
280 | 272 | let betAmount = pmt.amount | |
281 | 273 | let labelDataList = gameGetData() | |
282 | 274 | let gameStatus = labelDataList[0] | |
283 | 275 | let betDataList = gameGetBetData(toString(playerAddress)) | |
284 | 276 | let betStatus = betDataList[0] | |
285 | 277 | if ((gameStatus != "ACTIVE")) | |
286 | 278 | then throw("SLOT_GAME_NOT_INITIALIZED") | |
287 | 279 | else match gameGetCounter() { | |
288 | 280 | case GAMESCOUNTER: Int => | |
289 | 281 | let newGameCounter = (GAMESCOUNTER + 1) | |
290 | 282 | if (!(pmtAmtCheck(betAmount))) | |
291 | 283 | then throw("WRONG_BET_AMOUNT") | |
292 | 284 | else if ((betStatus != "PLAYED")) | |
293 | 285 | then throw("COMPLETE_ PREVIOUS_GAME") | |
294 | 286 | else match addressGet200Wins(toString(playerAddress)) { | |
295 | 287 | case WINS: Int => | |
296 | 288 | if ((WINS >= 0)) | |
297 | 289 | then WriteSet([DataEntry(gameLabelCounter, newGameCounter), DataEntry(gameLabelBet(toString(playerAddress)), (((((((("BET" + "_") + toString(playerAddress)) + "_") + toString(betAmount)) + "_0_") + "_NLIFE_") + toString(height)) + "_0_0_0_0_0"))]) | |
298 | 290 | else throw("WRONG_GETWINS") | |
299 | 291 | case _ => | |
300 | 292 | WriteSet([DataEntry(gameLabelCounter, newGameCounter), DataEntry(gameLabelBet(toString(playerAddress)), (((((((("BET" + "_") + toString(playerAddress)) + "_") + toString(betAmount)) + "_0_") + "_NLIFE_") + toString(height)) + "_0_0_0_0_0")), DataEntry(addressLabelIn200Wins(toString(playerAddress)), 0)]) | |
301 | 293 | } | |
302 | 294 | case _ => | |
303 | 295 | throw("INIT_NEEDED_FOR_COUNT") | |
304 | 296 | } | |
305 | 297 | } | |
306 | 298 | ||
307 | 299 | ||
308 | 300 | ||
309 | 301 | @Callable(i) | |
310 | 302 | func playGame (message,rsaSign1,rsaSign2,rsaSign3) = { | |
311 | 303 | let labelDataList = gameGetData() | |
312 | 304 | let gameStatus = labelDataList[0] | |
313 | 305 | let rowDatatList = gameGetRowData() | |
314 | 306 | let row = parseIntValue(rowDatatList[0]) | |
315 | 307 | let rowPlayer = rowDatatList[1] | |
316 | 308 | let betDataList = gameGetBetData(toString(i.caller)) | |
317 | 309 | let betStatus = betDataList[0] | |
318 | 310 | let playerAddr = betDataList[1] | |
319 | 311 | let betAmount = betDataList[2] | |
320 | 312 | let blockHeight = betDataList[5] | |
321 | 313 | let winsIn200Times = betDataList[6] | |
322 | 314 | let win5TimesInARow = betDataList[7] | |
323 | 315 | let lose5TimesInARow = betDataList[8] | |
324 | 316 | let drum1Int = randomizer(message, rsaSign1, rsaPublicKey1) | |
325 | 317 | let drum2Int = randomizer(message, rsaSign2, rsaPublicKey2) | |
326 | 318 | let drum3Int = randomizer(message, rsaSign3, rsaPublicKey3) | |
327 | 319 | let indexPosition = ((drumIntToString(drum1Int) + drumIntToString(drum2Int)) + drumIntToString(drum3Int)) | |
328 | 320 | let threeInARow = ((drum1[drum1Int] + drum2[drum2Int]) + drum3[drum3Int]) | |
329 | 321 | let amountWon = (defineMultiplier(threeInARow) * parseIntValue(betAmount)) | |
330 | 322 | if ((gameStatus != "ACTIVE")) | |
331 | 323 | then throw("SLOT_GAME_NOT_INITIALIZED") | |
332 | 324 | else if ((betStatus != "BET")) | |
333 | 325 | then throw("PLACE_BET_BEFORE_YOU_PLAY") | |
334 | 326 | else if ((i.caller != addressFromStringValue(playerAddr))) | |
335 | 327 | then throw("NOT_CURRENT_PLAYER") | |
336 | 328 | else if ((amountWon != 0)) | |
337 | 329 | then match addressGet200Wins(playerAddr) { | |
338 | 330 | case WINS: Int => | |
339 | 331 | let newWin = (WINS + 1) | |
340 | 332 | if ((threeInARow == "444")) | |
341 | 333 | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + win5TimesInARow) + "_0_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelNFT(toString(i.caller)), "GIVE_NFT"), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
342 | 334 | else if ((WINS == 200)) | |
343 | 335 | then ScriptResult(WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_0_") + win5TimesInARow) + "_0_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), 0), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
344 | 336 | else if (if ((playerAddr == rowPlayer)) | |
345 | 337 | then (row == 5) | |
346 | 338 | else false) | |
347 | 339 | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(0)) + "_0_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
348 | 340 | else if ((playerAddr != rowPlayer)) | |
349 | 341 | then ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(newWin)) + "_0_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
350 | 342 | else ScriptResult(WriteSet([DataEntry(gameLabelBet(playerAddr), (((((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + toString(newWin)) + "_") + toString(newWin)) + "_") + lose5TimesInARow) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(addressLabelIn200Wins(toString(i.caller)), newWin), DataEntry(gameLabel5InARow, ((toString((row + 1)) + "_") + playerAddr))]), TransferSet([ScriptTransfer(addressFromStringValue(playerAddr), amountWon, unit)])) | |
351 | 343 | case _ => | |
352 | 344 | throw("WORNG_INIT_FOR_200WINS") | |
353 | 345 | } | |
354 | 346 | else if (if ((playerAddr == rowPlayer)) | |
355 | 347 | then (row == 5) | |
356 | 348 | else false) | |
357 | 349 | then WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + winsIn200Times) + "_0_0_") + threeInARow) + "_") + indexPosition)), DataEntry(gameLabel5InARow, ((toString(0) + "_") + playerAddr))]) | |
358 | 350 | else WriteSet([DataEntry(gameLabelBet(toString(i.caller)), (((((((((((((((("PLAYED" + "_") + playerAddr) + "_") + betAmount) + "_") + toString(amountWon)) + "_NLIFE_") + toString(height)) + "_") + winsIn200Times) + "_0_") + toString((row + 1))) + "_") + threeInARow) + "_") + indexPosition)), DataEntry(gameLabel5InARow, ((toString((row + 1)) + "_") + playerAddr))]) | |
359 | 351 | } | |
360 | 352 | ||
361 | 353 | ||
362 | 354 | @Verifier(tx) | |
363 | 355 | func verify () = if (sigVerify(tx.bodyBytes, tx.proofs[0], gamePublicKey)) | |
364 | 356 | then match tx { | |
365 | 357 | case tx: SetScriptTransaction => | |
366 | 358 | true | |
367 | 359 | case _ => | |
368 | 360 | false | |
369 | 361 | } | |
370 | 362 | else false | |
371 | 363 |
github/deemru/w8io/169f3d6 76.55 ms ◑