tx · 6WwbWV8gFH6KfKwn6CuPBh2kA5PeyGoAL1gNBi1ahfQQ 3ND7yDVQ9mhN6sjYrMgFLGuD69FLbT2CczD: -0.10000010 Waves 2022.01.29 05:18 [1899619] smart account 3ND7yDVQ9mhN6sjYrMgFLGuD69FLbT2CczD > SELF 0.00000000 Waves
{ "type": 13, "id": "6WwbWV8gFH6KfKwn6CuPBh2kA5PeyGoAL1gNBi1ahfQQ", "fee": 10000010, "feeAssetId": null, "timestamp": 1643422724999, "version": 2, "chainId": 84, "sender": "3ND7yDVQ9mhN6sjYrMgFLGuD69FLbT2CczD", "senderPublicKey": "HFLErkwGstH8qMPmKAdBGswMbfh5QrBKB1HTFckcXi9z", "proofs": [ "3zju4dRz1G18ku7oWK7BQg3EkyDDoGNhGsjyZ4uTqL6E7xgGNjGp7jiDLBTZw26KjRd3xb8dKAnSapr3KcsvApte" ], "script": "base64:AAIEAAAAAAAAACUIAhIFCgMBCAgSABIAEgUKAwEICBIECgIBARIHCgUBCAgICBIAAAAAJgAAAAATZ2FtZU1hc3RlclB1YmxpY0tleQEAAAAggroKuBlUJmLS1KsU2JkwkzBNQtAByx9SNkXA/4MrklkAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAZNiYXNlNjQ6TUlJQkl6QU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FSQUFNSUlCQ3dLQ0FRSUErQ3Biek1CS3BxKzdWYXJTREhMVzB3UVNvaDJMVGJnbDFyQWhmcnVaR0NqdDZNTzRvMXYxaUxxS3lOSDNGSnN2d2xMVXFtcUU3RTJXbDdMYklQQTI2UHhPMlhDRGZ2ajBPV3A3Y0VKa1VCRWl5UFlDbitpdVBYVVB3dWRvRmdNNFdIZjBJUGJESjJPNk9nelFsQkJtTnU2T3dyN25hSVRpSnJQQXZha1BnQWRtVVB2NHJPemN1NkJSMFQ4R3dzendwcnZ3V1psS0Y2QWQwMG9tTEZEbXg2Nkh2QkU1MXNSQmlYSVJiSm5qRGhsb3BpemU0TG9S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AAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAASaW5pdEdhbWVfRk9SQkJJREVOBAAAAAckbWF0Y2gwCQEAAAAUZ2FtZXNTZXR1cEdldENvdW50ZXIAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAADEdBTUVTQ09VTlRFUgUAAAAHJG1hdGNoMAkAAAIAAAABAgAAABFJTklUX0FMUkVBRFlfRE9ORQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAWc2V0dXBHYW1lc0NvdW50ZXJMYWJlbAAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAVdXNlZEdhbWVzQ291bnRlckxhYmVsAAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA9nYW1lTWF4QmV0TGFiZWwAAAAAAB3NZQAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAQZGVhbGVyUXVldWVMYWJlbAIAAAAABQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleX4x4KI=", "height": 1899619, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6QJgzdfQSj8qxte6tgJS89aWDyjrFKihtuyTw8ewUubo Next: Be4WpCkDdv62THYYMsTXoMqjdvcgFQmC85D4HJCKJe13 Diff:
Old | New | Differences | |
---|---|---|---|
5 | 5 | ||
6 | 6 | let RSAPUBLIC = fromBase64String("base64:MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQIA+CpbzMBKpq+7VarSDHLW0wQSoh2LTbgl1rAhfruZGCjt6MO4o1v1iLqKyNH3FJsvwlLUqmqE7E2Wl7LbIPA26PxO2XCDfvj0OWp7cEJkUBEiyPYCn+iuPXUPwudoFgM4WHf0IPbDJ2O6OgzQlBBmNu6Owr7naITiJrPAvakPgAdmUPv4rOzcu6BR0T8GwszwprvwWZlKF6Ad00omLFDmx66HvBE51sRBiXIRbJnjDhlopize4LoR1FIrQaAu1sfs5bEHLA33jvKybne+IDawCsiINZYdPZV1WWcURC+XAFfBiYCw4PYyguxaBRHotzLc2dOsBV1HDNIjLKVoRknyt50CAwEAAQ==") | |
7 | 7 | ||
8 | - | let gameToken = base58'' | |
8 | + | let gameToken = base58'CjgwQi4TUfkHaLgTigyd3xuEpT3GU1ihtHxK2uy5VG4S' | |
9 | 9 | ||
10 | 10 | let cardPosition = 3 | |
11 | 11 | ||
105 | 105 | func getCardValue (stringCard) = parseIntValue(split(stringCard, "/")[0]) | |
106 | 106 | ||
107 | 107 | ||
108 | - | func getPayments (i) = if ((i.feeAssetId != gameToken)) | |
109 | - | then throw(("Fee must be in " + toBase58String(gameToken))) | |
110 | - | else if ((size(i.payments) == 0)) | |
111 | - | then throw("Payment must be attached") | |
112 | - | else if ((size(i.payments) == 1)) | |
113 | - | then { | |
114 | - | let pmt = i.payments[0] | |
115 | - | pmt.amount | |
116 | - | } | |
117 | - | else throw("There should be only one payment") | |
108 | + | func getPayments (i) = if ((size(i.payments) == 0)) | |
109 | + | then throw("Payment must be attached") | |
110 | + | else if ((size(i.payments) == 1)) | |
111 | + | then { | |
112 | + | let pmt = i.payments[0] | |
113 | + | pmt.amount | |
114 | + | } | |
115 | + | else throw("There should be only one payment") | |
118 | 116 | ||
119 | 117 | ||
120 | 118 | func verifyCard (card,gameNumber,cardNumber) = rsaVerify_16Kb(SHA256, toBytes(card), fromBase64String(split(value(getGameCardsSignature(gameNumber, cardNumber)), " ")[0]), RSAPUBLIC) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let gameMasterPublicKey = base58'9oJY9kQY93dJqttXUYjgQksfgHPLxsFoFX2TxCqYVhEx' | |
5 | 5 | ||
6 | 6 | let RSAPUBLIC = fromBase64String("base64:MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQIA+CpbzMBKpq+7VarSDHLW0wQSoh2LTbgl1rAhfruZGCjt6MO4o1v1iLqKyNH3FJsvwlLUqmqE7E2Wl7LbIPA26PxO2XCDfvj0OWp7cEJkUBEiyPYCn+iuPXUPwudoFgM4WHf0IPbDJ2O6OgzQlBBmNu6Owr7naITiJrPAvakPgAdmUPv4rOzcu6BR0T8GwszwprvwWZlKF6Ad00omLFDmx66HvBE51sRBiXIRbJnjDhlopize4LoR1FIrQaAu1sfs5bEHLA33jvKybne+IDawCsiINZYdPZV1WWcURC+XAFfBiYCw4PYyguxaBRHotzLc2dOsBV1HDNIjLKVoRknyt50CAwEAAQ==") | |
7 | 7 | ||
8 | - | let gameToken = base58'' | |
8 | + | let gameToken = base58'CjgwQi4TUfkHaLgTigyd3xuEpT3GU1ihtHxK2uy5VG4S' | |
9 | 9 | ||
10 | 10 | let cardPosition = 3 | |
11 | 11 | ||
12 | 12 | let setupGamesCounterLabel = "G_SETUPGAMESCOUNTER" | |
13 | 13 | ||
14 | 14 | let usedGamesCounterLabel = "G_USEDGAMESCOUNTER" | |
15 | 15 | ||
16 | 16 | let dealerQueueLabel = "G_DEALERQUEUE" | |
17 | 17 | ||
18 | 18 | let gameMaxBetLabel = "G_MAXBET" | |
19 | 19 | ||
20 | 20 | func gamesMaxBet () = getInteger(this, gameMaxBetLabel) | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func gamesSetupGetCounter () = getInteger(this, setupGamesCounterLabel) | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func gamesUsedGetCounter () = getInteger(this, usedGamesCounterLabel) | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func getDealerQueue () = getString(this, dealerQueueLabel) | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func checkPermission (callerPublicKey) = (callerPublicKey != gameMasterPublicKey) | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func getGameBetAmountLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_BETAMOUNT") | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func getGameTieAmountLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_TIEAMOUNT") | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func getGameFeeAmountLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_FEEAMOUNT") | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func getGamePlayerLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_PLAYER") | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func getGameBetPayoutLabel1 (gameNumber) = (("G_" + toString(gameNumber)) + "_BET1PAYOUT") | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func getGameBetPayoutLabel2 (gameNumber) = (("G_" + toString(gameNumber)) + "_BET2PAYOUT") | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func getGameTieBetPayoutLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_TIEPAYOUT") | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func getGameSurrenderPayoutLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_SURRENDERPAYOUT") | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func getGameStateLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_STATE") | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func getGameShuffelOffesetLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_OFFSET") | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func getGameCardsSignatureLabel (gameNumber,card) = ((("G_" + toString(gameNumber)) + "_CARDSIGNATURE_") + toString(card)) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func getPlayerCurrentGameLabel (address) = (("P_" + address) + "_CURRENTGAME") | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func getPlayerCurrentGame (address) = getInteger(this, getPlayerCurrentGameLabel(address)) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func getGameBetAmount (gameNumber) = getInteger(this, getGameBetAmountLabel(gameNumber)) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func getGameTieAmount (gameNumber) = getInteger(this, getGameTieAmountLabel(gameNumber)) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func getGameFeeAmount (gameNumber) = getInteger(this, getGameFeeAmountLabel(gameNumber)) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func getGameState (gameNumber) = getInteger(this, getGameStateLabel(gameNumber)) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func getGamePlayer (gameNumber) = getString(this, getGamePlayerLabel(gameNumber)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func getGameCardsSignature (gameNumber,card) = getString(this, getGameCardsSignatureLabel(gameNumber, card)) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func getGameCardsLabel (gameNumber,card) = ((("G_" + toString(gameNumber)) + "_CARD_") + toString(card)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func getGameSetup (gameNumber,randomizer,cards0,cards1,cards2,cards3) = [IntegerEntry(setupGamesCounterLabel, gameNumber), IntegerEntry(getGameStateLabel(gameNumber), 0), IntegerEntry(getGameShuffelOffesetLabel(gameNumber), randomizer), StringEntry(getGameCardsSignatureLabel(gameNumber, 0), cards0), StringEntry(getGameCardsSignatureLabel(gameNumber, 1), cards1), StringEntry(getGameCardsSignatureLabel(gameNumber, 2), cards2), StringEntry(getGameCardsSignatureLabel(gameNumber, 3), cards3)] | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func createGameMetadata (address,betAmount,tieAmount,feeAmount) = { | |
99 | 99 | let gameToReserve = (value(gamesUsedGetCounter()) + 1) | |
100 | 100 | let dealerQueue = value(getDealerQueue()) | |
101 | 101 | [IntegerEntry(usedGamesCounterLabel, gameToReserve), IntegerEntry(getPlayerCurrentGameLabel(address), gameToReserve), IntegerEntry(getGameStateLabel(gameToReserve), 1), IntegerEntry(getGameBetAmountLabel(gameToReserve), betAmount), IntegerEntry(getGameTieAmountLabel(gameToReserve), tieAmount), IntegerEntry(getGameFeeAmountLabel(gameToReserve), feeAmount), StringEntry(dealerQueueLabel, ((value(getDealerQueue()) + ",") + toString(gameToReserve))), StringEntry(getGamePlayerLabel(gameToReserve), address)] | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func getCardValue (stringCard) = parseIntValue(split(stringCard, "/")[0]) | |
106 | 106 | ||
107 | 107 | ||
108 | - | func getPayments (i) = if ((i.feeAssetId != gameToken)) | |
109 | - | then throw(("Fee must be in " + toBase58String(gameToken))) | |
110 | - | else if ((size(i.payments) == 0)) | |
111 | - | then throw("Payment must be attached") | |
112 | - | else if ((size(i.payments) == 1)) | |
113 | - | then { | |
114 | - | let pmt = i.payments[0] | |
115 | - | pmt.amount | |
116 | - | } | |
117 | - | else throw("There should be only one payment") | |
108 | + | func getPayments (i) = if ((size(i.payments) == 0)) | |
109 | + | then throw("Payment must be attached") | |
110 | + | else if ((size(i.payments) == 1)) | |
111 | + | then { | |
112 | + | let pmt = i.payments[0] | |
113 | + | pmt.amount | |
114 | + | } | |
115 | + | else throw("There should be only one payment") | |
118 | 116 | ||
119 | 117 | ||
120 | 118 | func verifyCard (card,gameNumber,cardNumber) = rsaVerify_16Kb(SHA256, toBytes(card), fromBase64String(split(value(getGameCardsSignature(gameNumber, cardNumber)), " ")[0]), RSAPUBLIC) | |
121 | 119 | ||
122 | 120 | ||
123 | 121 | @Callable(i) | |
124 | 122 | func revealRound2 (currentGame,card2,card3) = if (checkPermission(i.callerPublicKey)) | |
125 | 123 | then throw("revealRound2_FORBBIDEN") | |
126 | 124 | else { | |
127 | 125 | let dealerQueue = value(getDealerQueue()) | |
128 | 126 | let nextGameToProcess = split(dealerQueue, ",")[1] | |
129 | 127 | if ((nextGameToProcess == toString(currentGame))) | |
130 | 128 | then if (if (if ((value(getGameState(currentGame)) == 3)) | |
131 | 129 | then verifyCard(card2, currentGame, 2) | |
132 | 130 | else false) | |
133 | 131 | then verifyCard(card3, currentGame, 3) | |
134 | 132 | else false) | |
135 | 133 | then { | |
136 | 134 | let cardPlayer = getCardValue(split(card2, "+")[cardPosition]) | |
137 | 135 | let cardCasino = getCardValue(split(card3, "+")[cardPosition]) | |
138 | 136 | if ((cardPlayer >= cardCasino)) | |
139 | 137 | then { | |
140 | 138 | let normalBet = value(getGameBetAmount(currentGame)) | |
141 | 139 | let fees = value(getGameFeeAmount(currentGame)) | |
142 | 140 | let address = value(addressFromString(value(getGamePlayer(currentGame)))) | |
143 | 141 | let payout = ((normalBet + fees) * 3) | |
144 | 142 | [StringEntry(getGameCardsLabel(currentGame, 2), card2), StringEntry(getGameCardsLabel(currentGame, 3), card3), IntegerEntry(getGameStateLabel(currentGame), 6), StringEntry(dealerQueueLabel, takeRight(dealerQueue, (size(dealerQueue) - (1 + size(toString(currentGame)))))), IntegerEntry(getGameBetPayoutLabel2(currentGame), payout), ScriptTransfer(address, payout, unit)] | |
145 | 143 | } | |
146 | 144 | else [StringEntry(getGameCardsLabel(currentGame, 2), card2), StringEntry(getGameCardsLabel(currentGame, 3), card3), IntegerEntry(getGameStateLabel(currentGame), 6), StringEntry(dealerQueueLabel, takeRight(dealerQueue, (size(dealerQueue) - (1 + size(toString(currentGame))))))] | |
147 | 145 | } | |
148 | 146 | else throw("One of the cards failed to be verified or game is not in state 3.") | |
149 | 147 | else throw(("The next game to process is " + nextGameToProcess)) | |
150 | 148 | } | |
151 | 149 | ||
152 | 150 | ||
153 | 151 | ||
154 | 152 | @Callable(i) | |
155 | 153 | func war () = { | |
156 | 154 | let address = toBase58String(i.caller.bytes) | |
157 | 155 | let currentGame = value(getPlayerCurrentGame(address)) | |
158 | 156 | if ((value(getGameState(currentGame)) != 2)) | |
159 | 157 | then throw("Game is not in correct state.") | |
160 | 158 | else { | |
161 | 159 | let normalBet = value(getGameBetAmount(currentGame)) | |
162 | 160 | let p = getPayments(i) | |
163 | 161 | if ((p != normalBet)) | |
164 | 162 | then throw((("Payment must me same as the original bet (" + toString(normalBet)) + ")")) | |
165 | 163 | else [IntegerEntry(getGameStateLabel(currentGame), 3), StringEntry(dealerQueueLabel, ((value(getDealerQueue()) + ",") + toString(currentGame)))] | |
166 | 164 | } | |
167 | 165 | } | |
168 | 166 | ||
169 | 167 | ||
170 | 168 | ||
171 | 169 | @Callable(i) | |
172 | 170 | func surrender () = { | |
173 | 171 | let address = toBase58String(i.caller.bytes) | |
174 | 172 | let currentGame = value(getPlayerCurrentGame(address)) | |
175 | 173 | if ((value(getGameState(currentGame)) != 2)) | |
176 | 174 | then throw("Game is not in correct state.") | |
177 | 175 | else { | |
178 | 176 | let normalBet = value(getGameBetAmount(currentGame)) | |
179 | 177 | let fees = value(getGameFeeAmount(currentGame)) | |
180 | 178 | let dealerQueue = value(getDealerQueue()) | |
181 | 179 | let payout = (((normalBet + fees) / 2) + fees) | |
182 | 180 | [IntegerEntry(getGameStateLabel(currentGame), 5), IntegerEntry(getGameSurrenderPayoutLabel(currentGame), payout), ScriptTransfer(i.caller, payout, unit)] | |
183 | 181 | } | |
184 | 182 | } | |
185 | 183 | ||
186 | 184 | ||
187 | 185 | ||
188 | 186 | @Callable(i) | |
189 | 187 | func revealRound1 (currentGame,card0,card1) = if (checkPermission(i.callerPublicKey)) | |
190 | 188 | then throw("revealRound1_FORBBIDEN") | |
191 | 189 | else { | |
192 | 190 | let dealerQueue = value(getDealerQueue()) | |
193 | 191 | let nextGameToProcess = split(dealerQueue, ",")[1] | |
194 | 192 | if ((nextGameToProcess == toString(currentGame))) | |
195 | 193 | then if (if (if ((value(getGameState(currentGame)) == 1)) | |
196 | 194 | then verifyCard(card0, currentGame, 0) | |
197 | 195 | else false) | |
198 | 196 | then verifyCard(card1, currentGame, 1) | |
199 | 197 | else false) | |
200 | 198 | then { | |
201 | 199 | let cardPlayer = getCardValue(split(card0, "+")[cardPosition]) | |
202 | 200 | let cardCasino = getCardValue(split(card1, "+")[cardPosition]) | |
203 | 201 | if ((cardPlayer == cardCasino)) | |
204 | 202 | then { | |
205 | 203 | let tieBet = value(getGameTieAmount(currentGame)) | |
206 | 204 | let address = value(addressFromString(value(getGamePlayer(currentGame)))) | |
207 | 205 | let payout = ((tieBet * 10) + tieBet) | |
208 | 206 | if ((tieBet != 0)) | |
209 | 207 | then [StringEntry(getGameCardsLabel(currentGame, 0), card0), StringEntry(getGameCardsLabel(currentGame, 1), card1), IntegerEntry(getGameStateLabel(currentGame), 2), StringEntry(dealerQueueLabel, takeRight(dealerQueue, (size(dealerQueue) - (1 + size(toString(currentGame)))))), IntegerEntry(getGameTieBetPayoutLabel(currentGame), payout), ScriptTransfer(address, payout, unit)] | |
210 | 208 | else [StringEntry(getGameCardsLabel(currentGame, 0), card0), StringEntry(getGameCardsLabel(currentGame, 1), card1), IntegerEntry(getGameStateLabel(currentGame), 2), StringEntry(dealerQueueLabel, takeRight(dealerQueue, (size(dealerQueue) - (1 + size(toString(currentGame))))))] | |
211 | 209 | } | |
212 | 210 | else if ((cardPlayer > cardCasino)) | |
213 | 211 | then { | |
214 | 212 | let normalBet = value(getGameBetAmount(currentGame)) | |
215 | 213 | let fees = value(getGameFeeAmount(currentGame)) | |
216 | 214 | let address = value(addressFromString(value(getGamePlayer(currentGame)))) | |
217 | 215 | let payout = ((normalBet + fees) * 2) | |
218 | 216 | [StringEntry(getGameCardsLabel(currentGame, 0), card0), StringEntry(getGameCardsLabel(currentGame, 1), card1), IntegerEntry(getGameStateLabel(currentGame), 4), StringEntry(dealerQueueLabel, takeRight(dealerQueue, (size(dealerQueue) - (1 + size(toString(currentGame)))))), IntegerEntry(getGameBetPayoutLabel1(currentGame), payout), ScriptTransfer(address, payout, unit)] | |
219 | 217 | } | |
220 | 218 | else [StringEntry(getGameCardsLabel(currentGame, 0), card0), StringEntry(getGameCardsLabel(currentGame, 1), card1), IntegerEntry(getGameStateLabel(currentGame), 4), StringEntry(dealerQueueLabel, takeRight(dealerQueue, (size(dealerQueue) - (1 + size(toString(currentGame))))))] | |
221 | 219 | } | |
222 | 220 | else throw("One of the cards failed to be verified or game is not in state 1.") | |
223 | 221 | else throw(("The next game to process is " + nextGameToProcess)) | |
224 | 222 | } | |
225 | 223 | ||
226 | 224 | ||
227 | 225 | ||
228 | 226 | @Callable(i) | |
229 | 227 | func bet (normalBet,tieBet) = { | |
230 | 228 | let callerAddress = toBase58String(i.caller.bytes) | |
231 | 229 | let p = getPayments(i) | |
232 | 230 | let address = toBase58String(i.caller.bytes) | |
233 | 231 | if ((p != (normalBet + tieBet))) | |
234 | 232 | then throw("Normal bet + tie bet should be equal to the payment") | |
235 | 233 | else if ((p > value(gamesMaxBet()))) | |
236 | 234 | then throw((("Payment cannot be higher than " + toString(value(gamesMaxBet()))) + "")) | |
237 | 235 | else if ((0 >= normalBet)) | |
238 | 236 | then throw("Normal bet has to be greater than 0") | |
239 | 237 | else if ((0 > tieBet)) | |
240 | 238 | then throw("Tie bet cannot be lower than 0") | |
241 | 239 | else if ((value(gamesUsedGetCounter()) >= value(gamesSetupGetCounter()))) | |
242 | 240 | then throw("No available set up games to use.") | |
243 | 241 | else match getPlayerCurrentGame(address) { | |
244 | 242 | case CURRENTGAME: Int => | |
245 | 243 | if ((4 > value(getGameState(CURRENTGAME)))) | |
246 | 244 | then throw((("Game " + toString(CURRENTGAME)) + " is still in progress.")) | |
247 | 245 | else createGameMetadata(address, normalBet, tieBet, i.fee) | |
248 | 246 | case _: Unit => | |
249 | 247 | createGameMetadata(address, normalBet, tieBet, i.fee) | |
250 | 248 | case _ => | |
251 | 249 | throw("Match error") | |
252 | 250 | } | |
253 | 251 | } | |
254 | 252 | ||
255 | 253 | ||
256 | 254 | ||
257 | 255 | @Callable(i) | |
258 | 256 | func setupGame (gameNumber,card0,card1,card2,card3) = if (checkPermission(i.callerPublicKey)) | |
259 | 257 | then throw("setupGame_FORBBIDEN") | |
260 | 258 | else match gamesSetupGetCounter() { | |
261 | 259 | case SETUPGAMESCOUNTER: Int => | |
262 | 260 | let randomizer = (toInt(sha256((take(lastBlock.generationSignature, 16) + take(i.transactionId, 16)))) % 2) | |
263 | 261 | let currentGame = (SETUPGAMESCOUNTER + 1) | |
264 | 262 | if ((gameNumber != currentGame)) | |
265 | 263 | then throw("Wrong game number.") | |
266 | 264 | else if (((randomizer % 2) == 1)) | |
267 | 265 | then getGameSetup(currentGame, randomizer, card3, card2, card1, card0) | |
268 | 266 | else getGameSetup(currentGame, randomizer, card0, card1, card2, card3) | |
269 | 267 | case _ => | |
270 | 268 | throw("InitGame Required") | |
271 | 269 | } | |
272 | 270 | ||
273 | 271 | ||
274 | 272 | ||
275 | 273 | @Callable(i) | |
276 | 274 | func initGame () = if (checkPermission(i.callerPublicKey)) | |
277 | 275 | then throw("initGame_FORBBIDEN") | |
278 | 276 | else match gamesSetupGetCounter() { | |
279 | 277 | case GAMESCOUNTER: Int => | |
280 | 278 | throw("INIT_ALREADY_DONE") | |
281 | 279 | case _ => | |
282 | 280 | [IntegerEntry(setupGamesCounterLabel, 0), IntegerEntry(usedGamesCounterLabel, 0), IntegerEntry(gameMaxBetLabel, 500000000), StringEntry(dealerQueueLabel, "")] | |
283 | 281 | } | |
284 | 282 | ||
285 | 283 | ||
286 | 284 | @Verifier(tx) | |
287 | 285 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
288 | 286 |
github/deemru/w8io/026f985 50.91 ms ◑