tx · 8EpGDp3NjKJWpXiPTWfF8tQYeTNX4mNHEn4ogy6bHg8C

3MvZnyyGXmJvKwC7xnTDQJjAALZYajBSisY:  -0.10000100 Waves

2022.01.29 05:14 [1899615] smart account 3MvZnyyGXmJvKwC7xnTDQJjAALZYajBSisY > SELF 0.00000000 Waves

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

github/deemru/w8io/169f3d6 
47.70 ms