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/4MrklkAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAZNiYXNlNjQ6TUlJQkl6QU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FSQUFNSUlCQ3dLQ0FRSUErQ3Biek1CS3BxKzdWYXJTREhMVzB3UVNvaDJMVGJnbDFyQWhmcnVaR0NqdDZNTzRvMXYxaUxxS3lOSDNGSnN2d2xMVXFtcUU3RTJXbDdMYklQQTI2UHhPMlhDRGZ2ajBPV3A3Y0VKa1VCRWl5UFlDbitpdVBYVVB3dWRvRmdNNFdIZjBJUGJESjJPNk9nelFsQkJtTnU2T3dyN25hSVRpSnJQQXZha1BnQWRtVVB2NHJPemN1NkJSMFQ4R3dzendwcnZ3V1psS0Y2QWQwMG9tTEZEbXg2Nkh2QkU1MXNSQmlYSVJiSm5qRGhsb3BpemU0TG9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24AAAABCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAAACAAAAAQIAAAASaW5pdEdhbWVfRk9SQkJJREVOBAAAAAckbWF0Y2gwCQEAAAAUZ2FtZXNTZXR1cEdldENvdW50ZXIAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAADEdBTUVTQ09VTlRFUgUAAAAHJG1hdGNoMAkAAAIAAAABAgAAABFJTklUX0FMUkVBRFlfRE9ORQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAWc2V0dXBHYW1lc0NvdW50ZXJMYWJlbAAAAAAAAAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAVdXNlZEdhbWVzQ291bnRlckxhYmVsAAAAAAAAAAAACQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA9nYW1lTWF4QmV0TGFiZWwAAAAAAB3NZQAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAAQZGVhbGVyUXVldWVMYWJlbAIAAAAABQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleX4x4KI=", "height": 1899619, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6QJgzdfQSj8qxte6tgJS89aWDyjrFKihtuyTw8ewUubo Next: Be4WpCkDdv62THYYMsTXoMqjdvcgFQmC85D4HJCKJe13 Diff:
OldNewDifferences
55
66 let RSAPUBLIC = fromBase64String("base64:MIIBIzANBgkqhkiG9w0BAQEFAAOCARAAMIIBCwKCAQIA+CpbzMBKpq+7VarSDHLW0wQSoh2LTbgl1rAhfruZGCjt6MO4o1v1iLqKyNH3FJsvwlLUqmqE7E2Wl7LbIPA26PxO2XCDfvj0OWp7cEJkUBEiyPYCn+iuPXUPwudoFgM4WHf0IPbDJ2O6OgzQlBBmNu6Owr7naITiJrPAvakPgAdmUPv4rOzcu6BR0T8GwszwprvwWZlKF6Ad00omLFDmx66HvBE51sRBiXIRbJnjDhlopize4LoR1FIrQaAu1sfs5bEHLA33jvKybne+IDawCsiINZYdPZV1WWcURC+XAFfBiYCw4PYyguxaBRHotzLc2dOsBV1HDNIjLKVoRknyt50CAwEAAQ==")
77
8-let gameToken = base58''
8+let gameToken = base58'CjgwQi4TUfkHaLgTigyd3xuEpT3GU1ihtHxK2uy5VG4S'
99
1010 let cardPosition = 3
1111
105105 func getCardValue (stringCard) = parseIntValue(split(stringCard, "/")[0])
106106
107107
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")
118116
119117
120118 func verifyCard (card,gameNumber,cardNumber) = rsaVerify_16Kb(SHA256, toBytes(card), fromBase64String(split(value(getGameCardsSignature(gameNumber, cardNumber)), " ")[0]), RSAPUBLIC)
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''
8+let gameToken = base58'CjgwQi4TUfkHaLgTigyd3xuEpT3GU1ihtHxK2uy5VG4S'
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
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")
118116
119117
120118 func verifyCard (card,gameNumber,cardNumber) = rsaVerify_16Kb(SHA256, toBytes(card), fromBase64String(split(value(getGameCardsSignature(gameNumber, cardNumber)), " ")[0]), RSAPUBLIC)
121119
122120
123121 @Callable(i)
124122 func revealRound2 (currentGame,card2,card3) = if (checkPermission(i.callerPublicKey))
125123 then throw("revealRound2_FORBBIDEN")
126124 else {
127125 let dealerQueue = value(getDealerQueue())
128126 let nextGameToProcess = split(dealerQueue, ",")[1]
129127 if ((nextGameToProcess == toString(currentGame)))
130128 then if (if (if ((value(getGameState(currentGame)) == 3))
131129 then verifyCard(card2, currentGame, 2)
132130 else false)
133131 then verifyCard(card3, currentGame, 3)
134132 else false)
135133 then {
136134 let cardPlayer = getCardValue(split(card2, "+")[cardPosition])
137135 let cardCasino = getCardValue(split(card3, "+")[cardPosition])
138136 if ((cardPlayer >= cardCasino))
139137 then {
140138 let normalBet = value(getGameBetAmount(currentGame))
141139 let fees = value(getGameFeeAmount(currentGame))
142140 let address = value(addressFromString(value(getGamePlayer(currentGame))))
143141 let payout = ((normalBet + fees) * 3)
144142 [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)]
145143 }
146144 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))))))]
147145 }
148146 else throw("One of the cards failed to be verified or game is not in state 3.")
149147 else throw(("The next game to process is " + nextGameToProcess))
150148 }
151149
152150
153151
154152 @Callable(i)
155153 func war () = {
156154 let address = toBase58String(i.caller.bytes)
157155 let currentGame = value(getPlayerCurrentGame(address))
158156 if ((value(getGameState(currentGame)) != 2))
159157 then throw("Game is not in correct state.")
160158 else {
161159 let normalBet = value(getGameBetAmount(currentGame))
162160 let p = getPayments(i)
163161 if ((p != normalBet))
164162 then throw((("Payment must me same as the original bet (" + toString(normalBet)) + ")"))
165163 else [IntegerEntry(getGameStateLabel(currentGame), 3), StringEntry(dealerQueueLabel, ((value(getDealerQueue()) + ",") + toString(currentGame)))]
166164 }
167165 }
168166
169167
170168
171169 @Callable(i)
172170 func surrender () = {
173171 let address = toBase58String(i.caller.bytes)
174172 let currentGame = value(getPlayerCurrentGame(address))
175173 if ((value(getGameState(currentGame)) != 2))
176174 then throw("Game is not in correct state.")
177175 else {
178176 let normalBet = value(getGameBetAmount(currentGame))
179177 let fees = value(getGameFeeAmount(currentGame))
180178 let dealerQueue = value(getDealerQueue())
181179 let payout = (((normalBet + fees) / 2) + fees)
182180 [IntegerEntry(getGameStateLabel(currentGame), 5), IntegerEntry(getGameSurrenderPayoutLabel(currentGame), payout), ScriptTransfer(i.caller, payout, unit)]
183181 }
184182 }
185183
186184
187185
188186 @Callable(i)
189187 func revealRound1 (currentGame,card0,card1) = if (checkPermission(i.callerPublicKey))
190188 then throw("revealRound1_FORBBIDEN")
191189 else {
192190 let dealerQueue = value(getDealerQueue())
193191 let nextGameToProcess = split(dealerQueue, ",")[1]
194192 if ((nextGameToProcess == toString(currentGame)))
195193 then if (if (if ((value(getGameState(currentGame)) == 1))
196194 then verifyCard(card0, currentGame, 0)
197195 else false)
198196 then verifyCard(card1, currentGame, 1)
199197 else false)
200198 then {
201199 let cardPlayer = getCardValue(split(card0, "+")[cardPosition])
202200 let cardCasino = getCardValue(split(card1, "+")[cardPosition])
203201 if ((cardPlayer == cardCasino))
204202 then {
205203 let tieBet = value(getGameTieAmount(currentGame))
206204 let address = value(addressFromString(value(getGamePlayer(currentGame))))
207205 let payout = ((tieBet * 10) + tieBet)
208206 if ((tieBet != 0))
209207 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)]
210208 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))))))]
211209 }
212210 else if ((cardPlayer > cardCasino))
213211 then {
214212 let normalBet = value(getGameBetAmount(currentGame))
215213 let fees = value(getGameFeeAmount(currentGame))
216214 let address = value(addressFromString(value(getGamePlayer(currentGame))))
217215 let payout = ((normalBet + fees) * 2)
218216 [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)]
219217 }
220218 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))))))]
221219 }
222220 else throw("One of the cards failed to be verified or game is not in state 1.")
223221 else throw(("The next game to process is " + nextGameToProcess))
224222 }
225223
226224
227225
228226 @Callable(i)
229227 func bet (normalBet,tieBet) = {
230228 let callerAddress = toBase58String(i.caller.bytes)
231229 let p = getPayments(i)
232230 let address = toBase58String(i.caller.bytes)
233231 if ((p != (normalBet + tieBet)))
234232 then throw("Normal bet + tie bet should be equal to the payment")
235233 else if ((p > value(gamesMaxBet())))
236234 then throw((("Payment cannot be higher than " + toString(value(gamesMaxBet()))) + ""))
237235 else if ((0 >= normalBet))
238236 then throw("Normal bet has to be greater than 0")
239237 else if ((0 > tieBet))
240238 then throw("Tie bet cannot be lower than 0")
241239 else if ((value(gamesUsedGetCounter()) >= value(gamesSetupGetCounter())))
242240 then throw("No available set up games to use.")
243241 else match getPlayerCurrentGame(address) {
244242 case CURRENTGAME: Int =>
245243 if ((4 > value(getGameState(CURRENTGAME))))
246244 then throw((("Game " + toString(CURRENTGAME)) + " is still in progress."))
247245 else createGameMetadata(address, normalBet, tieBet, i.fee)
248246 case _: Unit =>
249247 createGameMetadata(address, normalBet, tieBet, i.fee)
250248 case _ =>
251249 throw("Match error")
252250 }
253251 }
254252
255253
256254
257255 @Callable(i)
258256 func setupGame (gameNumber,card0,card1,card2,card3) = if (checkPermission(i.callerPublicKey))
259257 then throw("setupGame_FORBBIDEN")
260258 else match gamesSetupGetCounter() {
261259 case SETUPGAMESCOUNTER: Int =>
262260 let randomizer = (toInt(sha256((take(lastBlock.generationSignature, 16) + take(i.transactionId, 16)))) % 2)
263261 let currentGame = (SETUPGAMESCOUNTER + 1)
264262 if ((gameNumber != currentGame))
265263 then throw("Wrong game number.")
266264 else if (((randomizer % 2) == 1))
267265 then getGameSetup(currentGame, randomizer, card3, card2, card1, card0)
268266 else getGameSetup(currentGame, randomizer, card0, card1, card2, card3)
269267 case _ =>
270268 throw("InitGame Required")
271269 }
272270
273271
274272
275273 @Callable(i)
276274 func initGame () = if (checkPermission(i.callerPublicKey))
277275 then throw("initGame_FORBBIDEN")
278276 else match gamesSetupGetCounter() {
279277 case GAMESCOUNTER: Int =>
280278 throw("INIT_ALREADY_DONE")
281279 case _ =>
282280 [IntegerEntry(setupGamesCounterLabel, 0), IntegerEntry(usedGamesCounterLabel, 0), IntegerEntry(gameMaxBetLabel, 500000000), StringEntry(dealerQueueLabel, "")]
283281 }
284282
285283
286284 @Verifier(tx)
287285 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
288286

github/deemru/w8io/026f985 
50.91 ms