tx · 6QJgzdfQSj8qxte6tgJS89aWDyjrFKihtuyTw8ewUubo

3ND7yDVQ9mhN6sjYrMgFLGuD69FLbT2CczD:  -0.10080000 Waves

2022.01.29 05:17 [1899618] smart account 3ND7yDVQ9mhN6sjYrMgFLGuD69FLbT2CczD > SELF 0.00000000 Waves

{ "type": 13, "id": "6QJgzdfQSj8qxte6tgJS89aWDyjrFKihtuyTw8ewUubo", "fee": 10080000, "feeAssetId": null, "timestamp": 1643422669144, "version": 2, "chainId": 84, "sender": "3ND7yDVQ9mhN6sjYrMgFLGuD69FLbT2CczD", "senderPublicKey": "HFLErkwGstH8qMPmKAdBGswMbfh5QrBKB1HTFckcXi9z", "proofs": [ "2KwGm5jKyaGsnxSczvdueWJrezmy7t9YqWksNGkFpL4fyqgXFxVnMRpz9n32jDvVGGoHHrVkvT269XmmbKjVjwZX" ], "script": "base64:AAIEAAAAAAAAACUIAhIFCgMBCAgSABIAEgUKAwEICBIECgIBARIHCgUBCAgICBIAAAAAJgAAAAATZ2FtZU1hc3RlclB1YmxpY0tleQEAAAAggroKuBlUJmLS1KsU2JkwkzBNQtAByx9SNkXA/4MrklkAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAZNiYXNlNjQ6TUlJQkl6QU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FSQUFNSUlCQ3dLQ0FRSUErQ3Biek1CS3BxKzdWYXJTREhMVzB3UVNvaDJMVGJnbDFyQWhmcnVaR0NqdDZNTzRvMXYxaUxxS3lOSDNGSnN2d2xMVXFtcUU3RTJXbDdMYklQQTI2UHhPMlhDRGZ2ajBPV3A3Y0VKa1VCRWl5UFlDbitpdVBYVVB3dWRvRmdNNFdIZjBJUGJESjJPNk9nelFsQkJtTnU2T3dyN25hSVRpSnJQQXZha1BnQWRtVVB2NHJPemN1NkJSMFQ4R3dzendwcnZ3V1psS0Y2QWQwMG9tTEZEbXg2Nkh2QkU1MXNSQmlYSVJiSm5qRGhsb3BpemU0TG9SMUZJclFhQXUx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D2NoZWNrUGVybWlzc2lvbgAAAAEIBQAAAAFpAAAAD2NhbGxlclB1YmxpY0tleQkAAAIAAAABAgAAABJpbml0R2FtZV9GT1JCQklERU4EAAAAByRtYXRjaDAJAQAAABRnYW1lc1NldHVwR2V0Q291bnRlcgAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAAMR0FNRVNDT1VOVEVSBQAAAAckbWF0Y2gwCQAAAgAAAAECAAAAEUlOSVRfQUxSRUFEWV9ET05FCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAABZzZXR1cEdhbWVzQ291bnRlckxhYmVsAAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAABV1c2VkR2FtZXNDb3VudGVyTGFiZWwAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAD2dhbWVNYXhCZXRMYWJlbAAAAAAAHc1lAAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAABBkZWFsZXJRdWV1ZUxhYmVsAgAAAAAFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5KfiJWQ==", "height": 1899618, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Ejw7W21E9NU5XokDxmpQBb7Jtu2ra88PRkbruA7Ks9vS Next: 6WwbWV8gFH6KfKwn6CuPBh2kA5PeyGoAL1gNBi1ahfQQ Diff:
OldNewDifferences
55
66 let RSAPUBLIC = fromBase64String("base64:MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQIA+CpbzMBKpq+7VarSDHLW0wQSoh2LTbgl1rAhfruZGCjt6MO4o1v1iLqKyNH3FJsvwlLUqmqE7E2Wl7LbIPA26PxO2XCDfvj0OWp7cEJkUBEiyPYCn+iuPXUPwudoFgM4WHf0IPbDJ2O6OgzQlBBmNu6Owr7naITiJrPAvakPgAdmUPv4rOzcu6BR0T8GwszwprvwWZlKF6Ad00omLFDmx66HvBE51sRBiXIRbJnjDhlopize4LoR1FIrQaAu1sfs5bEHLA33jvKybne+IDawCsiINZYdPZV1WWcURC+XAFfBiYCw4PYyguxaBRHotzLc2dOsBV1HDNIjLKVoRknyt50CAwEAAQ==")
77
8-let gameToken = base58'CjgwQi4TUfkHaLgTigyd3xuEpT3GU1ihtHxK2uy5VG4S'
8+let gameToken = base58''
99
1010 let cardPosition = 3
1111
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let gameMasterPublicKey = base58'9oJY9kQY93dJqttXUYjgQksfgHPLxsFoFX2TxCqYVhEx'
55
66 let RSAPUBLIC = fromBase64String("base64:MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQIA+CpbzMBKpq+7VarSDHLW0wQSoh2LTbgl1rAhfruZGCjt6MO4o1v1iLqKyNH3FJsvwlLUqmqE7E2Wl7LbIPA26PxO2XCDfvj0OWp7cEJkUBEiyPYCn+iuPXUPwudoFgM4WHf0IPbDJ2O6OgzQlBBmNu6Owr7naITiJrPAvakPgAdmUPv4rOzcu6BR0T8GwszwprvwWZlKF6Ad00omLFDmx66HvBE51sRBiXIRbJnjDhlopize4LoR1FIrQaAu1sfs5bEHLA33jvKybne+IDawCsiINZYdPZV1WWcURC+XAFfBiYCw4PYyguxaBRHotzLc2dOsBV1HDNIjLKVoRknyt50CAwEAAQ==")
77
8-let gameToken = base58'CjgwQi4TUfkHaLgTigyd3xuEpT3GU1ihtHxK2uy5VG4S'
8+let gameToken = base58''
99
1010 let cardPosition = 3
1111
1212 let setupGamesCounterLabel = "G_SETUPGAMESCOUNTER"
1313
1414 let usedGamesCounterLabel = "G_USEDGAMESCOUNTER"
1515
1616 let dealerQueueLabel = "G_DEALERQUEUE"
1717
1818 let gameMaxBetLabel = "G_MAXBET"
1919
2020 func gamesMaxBet () = getInteger(this, gameMaxBetLabel)
2121
2222
2323 func gamesSetupGetCounter () = getInteger(this, setupGamesCounterLabel)
2424
2525
2626 func gamesUsedGetCounter () = getInteger(this, usedGamesCounterLabel)
2727
2828
2929 func getDealerQueue () = getString(this, dealerQueueLabel)
3030
3131
3232 func checkPermission (callerPublicKey) = (callerPublicKey != gameMasterPublicKey)
3333
3434
3535 func getGameBetAmountLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_BETAMOUNT")
3636
3737
3838 func getGameTieAmountLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_TIEAMOUNT")
3939
4040
4141 func getGameFeeAmountLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_FEEAMOUNT")
4242
4343
4444 func getGamePlayerLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_PLAYER")
4545
4646
4747 func getGameBetPayoutLabel1 (gameNumber) = (("G_" + toString(gameNumber)) + "_BET1PAYOUT")
4848
4949
5050 func getGameBetPayoutLabel2 (gameNumber) = (("G_" + toString(gameNumber)) + "_BET2PAYOUT")
5151
5252
5353 func getGameTieBetPayoutLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_TIEPAYOUT")
5454
5555
5656 func getGameSurrenderPayoutLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_SURRENDERPAYOUT")
5757
5858
5959 func getGameStateLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_STATE")
6060
6161
6262 func getGameShuffelOffesetLabel (gameNumber) = (("G_" + toString(gameNumber)) + "_OFFSET")
6363
6464
6565 func getGameCardsSignatureLabel (gameNumber,card) = ((("G_" + toString(gameNumber)) + "_CARDSIGNATURE_") + toString(card))
6666
6767
6868 func getPlayerCurrentGameLabel (address) = (("P_" + address) + "_CURRENTGAME")
6969
7070
7171 func getPlayerCurrentGame (address) = getInteger(this, getPlayerCurrentGameLabel(address))
7272
7373
7474 func getGameBetAmount (gameNumber) = getInteger(this, getGameBetAmountLabel(gameNumber))
7575
7676
7777 func getGameTieAmount (gameNumber) = getInteger(this, getGameTieAmountLabel(gameNumber))
7878
7979
8080 func getGameFeeAmount (gameNumber) = getInteger(this, getGameFeeAmountLabel(gameNumber))
8181
8282
8383 func getGameState (gameNumber) = getInteger(this, getGameStateLabel(gameNumber))
8484
8585
8686 func getGamePlayer (gameNumber) = getString(this, getGamePlayerLabel(gameNumber))
8787
8888
8989 func getGameCardsSignature (gameNumber,card) = getString(this, getGameCardsSignatureLabel(gameNumber, card))
9090
9191
9292 func getGameCardsLabel (gameNumber,card) = ((("G_" + toString(gameNumber)) + "_CARD_") + toString(card))
9393
9494
9595 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)]
9696
9797
9898 func createGameMetadata (address,betAmount,tieAmount,feeAmount) = {
9999 let gameToReserve = (value(gamesUsedGetCounter()) + 1)
100100 let dealerQueue = value(getDealerQueue())
101101 [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)]
102102 }
103103
104104
105105 func getCardValue (stringCard) = parseIntValue(split(stringCard, "/")[0])
106106
107107
108108 func getPayments (i) = if ((i.feeAssetId != gameToken))
109109 then throw(("Fee must be in " + toBase58String(gameToken)))
110110 else if ((size(i.payments) == 0))
111111 then throw("Payment must be attached")
112112 else if ((size(i.payments) == 1))
113113 then {
114114 let pmt = i.payments[0]
115115 pmt.amount
116116 }
117117 else throw("There should be only one payment")
118118
119119
120120 func verifyCard (card,gameNumber,cardNumber) = rsaVerify_16Kb(SHA256, toBytes(card), fromBase64String(split(value(getGameCardsSignature(gameNumber, cardNumber)), " ")[0]), RSAPUBLIC)
121121
122122
123123 @Callable(i)
124124 func revealRound2 (currentGame,card2,card3) = if (checkPermission(i.callerPublicKey))
125125 then throw("revealRound2_FORBBIDEN")
126126 else {
127127 let dealerQueue = value(getDealerQueue())
128128 let nextGameToProcess = split(dealerQueue, ",")[1]
129129 if ((nextGameToProcess == toString(currentGame)))
130130 then if (if (if ((value(getGameState(currentGame)) == 3))
131131 then verifyCard(card2, currentGame, 2)
132132 else false)
133133 then verifyCard(card3, currentGame, 3)
134134 else false)
135135 then {
136136 let cardPlayer = getCardValue(split(card2, "+")[cardPosition])
137137 let cardCasino = getCardValue(split(card3, "+")[cardPosition])
138138 if ((cardPlayer >= cardCasino))
139139 then {
140140 let normalBet = value(getGameBetAmount(currentGame))
141141 let fees = value(getGameFeeAmount(currentGame))
142142 let address = value(addressFromString(value(getGamePlayer(currentGame))))
143143 let payout = ((normalBet + fees) * 3)
144144 [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)]
145145 }
146146 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))))))]
147147 }
148148 else throw("One of the cards failed to be verified or game is not in state 3.")
149149 else throw(("The next game to process is " + nextGameToProcess))
150150 }
151151
152152
153153
154154 @Callable(i)
155155 func war () = {
156156 let address = toBase58String(i.caller.bytes)
157157 let currentGame = value(getPlayerCurrentGame(address))
158158 if ((value(getGameState(currentGame)) != 2))
159159 then throw("Game is not in correct state.")
160160 else {
161161 let normalBet = value(getGameBetAmount(currentGame))
162162 let p = getPayments(i)
163163 if ((p != normalBet))
164164 then throw((("Payment must me same as the original bet (" + toString(normalBet)) + ")"))
165165 else [IntegerEntry(getGameStateLabel(currentGame), 3), StringEntry(dealerQueueLabel, ((value(getDealerQueue()) + ",") + toString(currentGame)))]
166166 }
167167 }
168168
169169
170170
171171 @Callable(i)
172172 func surrender () = {
173173 let address = toBase58String(i.caller.bytes)
174174 let currentGame = value(getPlayerCurrentGame(address))
175175 if ((value(getGameState(currentGame)) != 2))
176176 then throw("Game is not in correct state.")
177177 else {
178178 let normalBet = value(getGameBetAmount(currentGame))
179179 let fees = value(getGameFeeAmount(currentGame))
180180 let dealerQueue = value(getDealerQueue())
181181 let payout = (((normalBet + fees) / 2) + fees)
182182 [IntegerEntry(getGameStateLabel(currentGame), 5), IntegerEntry(getGameSurrenderPayoutLabel(currentGame), payout), ScriptTransfer(i.caller, payout, unit)]
183183 }
184184 }
185185
186186
187187
188188 @Callable(i)
189189 func revealRound1 (currentGame,card0,card1) = if (checkPermission(i.callerPublicKey))
190190 then throw("revealRound1_FORBBIDEN")
191191 else {
192192 let dealerQueue = value(getDealerQueue())
193193 let nextGameToProcess = split(dealerQueue, ",")[1]
194194 if ((nextGameToProcess == toString(currentGame)))
195195 then if (if (if ((value(getGameState(currentGame)) == 1))
196196 then verifyCard(card0, currentGame, 0)
197197 else false)
198198 then verifyCard(card1, currentGame, 1)
199199 else false)
200200 then {
201201 let cardPlayer = getCardValue(split(card0, "+")[cardPosition])
202202 let cardCasino = getCardValue(split(card1, "+")[cardPosition])
203203 if ((cardPlayer == cardCasino))
204204 then {
205205 let tieBet = value(getGameTieAmount(currentGame))
206206 let address = value(addressFromString(value(getGamePlayer(currentGame))))
207207 let payout = ((tieBet * 10) + tieBet)
208208 if ((tieBet != 0))
209209 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)]
210210 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))))))]
211211 }
212212 else if ((cardPlayer > cardCasino))
213213 then {
214214 let normalBet = value(getGameBetAmount(currentGame))
215215 let fees = value(getGameFeeAmount(currentGame))
216216 let address = value(addressFromString(value(getGamePlayer(currentGame))))
217217 let payout = ((normalBet + fees) * 2)
218218 [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)]
219219 }
220220 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))))))]
221221 }
222222 else throw("One of the cards failed to be verified or game is not in state 1.")
223223 else throw(("The next game to process is " + nextGameToProcess))
224224 }
225225
226226
227227
228228 @Callable(i)
229229 func bet (normalBet,tieBet) = {
230230 let callerAddress = toBase58String(i.caller.bytes)
231231 let p = getPayments(i)
232232 let address = toBase58String(i.caller.bytes)
233233 if ((p != (normalBet + tieBet)))
234234 then throw("Normal bet + tie bet should be equal to the payment")
235235 else if ((p > value(gamesMaxBet())))
236236 then throw((("Payment cannot be higher than " + toString(value(gamesMaxBet()))) + ""))
237237 else if ((0 >= normalBet))
238238 then throw("Normal bet has to be greater than 0")
239239 else if ((0 > tieBet))
240240 then throw("Tie bet cannot be lower than 0")
241241 else if ((value(gamesUsedGetCounter()) >= value(gamesSetupGetCounter())))
242242 then throw("No available set up games to use.")
243243 else match getPlayerCurrentGame(address) {
244244 case CURRENTGAME: Int =>
245245 if ((4 > value(getGameState(CURRENTGAME))))
246246 then throw((("Game " + toString(CURRENTGAME)) + " is still in progress."))
247247 else createGameMetadata(address, normalBet, tieBet, i.fee)
248248 case _: Unit =>
249249 createGameMetadata(address, normalBet, tieBet, i.fee)
250250 case _ =>
251251 throw("Match error")
252252 }
253253 }
254254
255255
256256
257257 @Callable(i)
258258 func setupGame (gameNumber,card0,card1,card2,card3) = if (checkPermission(i.callerPublicKey))
259259 then throw("setupGame_FORBBIDEN")
260260 else match gamesSetupGetCounter() {
261261 case SETUPGAMESCOUNTER: Int =>
262262 let randomizer = (toInt(sha256((take(lastBlock.generationSignature, 16) + take(i.transactionId, 16)))) % 2)
263263 let currentGame = (SETUPGAMESCOUNTER + 1)
264264 if ((gameNumber != currentGame))
265265 then throw("Wrong game number.")
266266 else if (((randomizer % 2) == 1))
267267 then getGameSetup(currentGame, randomizer, card3, card2, card1, card0)
268268 else getGameSetup(currentGame, randomizer, card0, card1, card2, card3)
269269 case _ =>
270270 throw("InitGame Required")
271271 }
272272
273273
274274
275275 @Callable(i)
276276 func initGame () = if (checkPermission(i.callerPublicKey))
277277 then throw("initGame_FORBBIDEN")
278278 else match gamesSetupGetCounter() {
279279 case GAMESCOUNTER: Int =>
280280 throw("INIT_ALREADY_DONE")
281281 case _ =>
282282 [IntegerEntry(setupGamesCounterLabel, 0), IntegerEntry(usedGamesCounterLabel, 0), IntegerEntry(gameMaxBetLabel, 500000000), StringEntry(dealerQueueLabel, "")]
283283 }
284284
285285
286286 @Verifier(tx)
287287 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
288288

github/deemru/w8io/026f985 
66.08 ms