tx · DGzX8Bs74M8mj9yS87cGn1RUynkyWq7Qs5qYVJEXHzoJ

3NAJ2ry2GqTUaR8M55EQLNdC1cH5VR8CWpD:  -0.01700000 Waves

2022.10.26 22:52 [2289844] smart account 3NAJ2ry2GqTUaR8M55EQLNdC1cH5VR8CWpD > SELF 0.00000000 Waves

{ "type": 13, "id": "DGzX8Bs74M8mj9yS87cGn1RUynkyWq7Qs5qYVJEXHzoJ", "fee": 1700000, "feeAssetId": null, "timestamp": 1666813969166, "version": 2, "chainId": 84, "sender": "3NAJ2ry2GqTUaR8M55EQLNdC1cH5VR8CWpD", "senderPublicKey": "57jLc7hNiLm8UBMkH9bcfMgqDLczpjpBWyppBS5K6wzH", "proofs": [ "4f4m6G9H9AYa7TtbgTaXmVTX1rZZzTsR64a32229HcFyb2Ph8p3fe1Po4oN2raZocpL1aGsTZjHG7a8CwFyo6pKj" ], "script": "base64:BgJFCAISAwoBCBIAEgMKAQgSAwoBCBIDCgEIEgcKBQgIAQEIEgMKAQgSBAoCCAgSBQoDCAgBEgMKAQgSAwoBCBIGCgQICAgILAAFd2F2ZXMAgMLXLwAOdGlja2V0UHJpY2VJbnQAwIQ9AAt0aWNrZXRQcmljZQUOdGlja2V0UHJpY2VJbnQABmludkZlZQCgwh4AEndpdGhkcmF3RmVlUGVyY2VudAAFABZmZWVDb2xsZWN0b3JBZGRyZXNzS2V5AhNmZWVDb2xsZWN0b3JBZGRyZXNzABl0b3VybmFtZW50QnV5SW5GZWVQZXJjZW50AAoADmRlcG9zaXRBc3NldElkAiw1dWUxZml1VjZqNlVCcjZYZjI4UW1zNnk1RnF6S3RxdmF4eGh3dTdoVFE1OAAfYWxsb3dlZFNwZWNpYWxUb3VybmFtZW50Q3JlYXRvcgIjM01yeVJDWEphVkdpRHlkaUhOeWhwZHJONzRONW9hZXVldmoBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckb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pZGVvUG9rZXJSZXN1bHRLZXkBBQZnYW1lSWQFBnJlc3VsdAkAzAgCCQEMSW50ZWdlckVudHJ5AgkBGXZpZGVvUG9rZXJSZXN1bHRQcm9maXRLZXkBBQZnYW1lSWQFCWFtb3VudFdvbgkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQERQGV4dHJOYXRpdmUoMTA2MikBBQpwbGF5ZXJBZGRyBQlhbW91bnRXb24JANkEAQUOZGVwb3NpdEFzc2V0SWQFA25pbAABCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleUceZ7o=", "height": 2289844, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let waves = 100000000
5+
6+let ticketPriceInt = 1000000
7+
8+let ticketPrice = ticketPriceInt
9+
10+let invFee = 500000
11+
12+let withdrawFeePercent = 5
13+
14+let feeCollectorAddressKey = "feeCollectorAddress"
15+
16+let tournamentBuyInFeePercent = 10
17+
18+let depositAssetId = "5ue1fiuV6j6UBr6Xf28Qms6y5FqzKtqvaxxhwu7hTQ58"
19+
20+let allowedSpecialTournamentCreator = "3MryRCXJaVGiDydiHNyhpdrN74N5oaeuevj"
21+
22+func tryGetInteger (key) = match getInteger(this, key) {
23+ case b: Int =>
24+ b
25+ case _ =>
26+ 0
27+}
28+
29+
30+func getTicketsCountKey (addressString) = (addressString + "_ticketsCount")
31+
32+
33+func buyInAmountForTournamentForAccount (tournamentId,account) = ((tournamentId + "_buyInAmountForAccount_") + account)
34+
35+
36+func buyInAssetIdForTournamentForAccount (tournamentId,account) = ((tournamentId + "_buyInAssetIdForAccount_") + account)
37+
38+
39+func ticketForTournamentForAccount (tournamentId,account) = ((tournamentId + "_ticketForAccount_") + account)
40+
41+
42+func tournamentTotalBuyInCollectedAmountKey (tournamentId) = (tournamentId + "_tournamentTotalBuyInCollectedAmount")
43+
44+
45+func tournamentTotalBuyInCollectedAmountMinusFeesKey (tournamentId) = (tournamentId + "_tournamentTotalBuyInCollectedAmountMinusFees")
46+
47+
48+func tournamentCreatorKey (tournamentId) = (tournamentId + "_tournamentCreator")
49+
50+
51+func tournamentNameKey (tournamentId) = (tournamentId + "_tournamentName")
52+
53+
54+func tournamentPrizeAmountKey (tournamentId) = (tournamentId + "_tournamentPrizeAmount")
55+
56+
57+func tournamentMaxPlayersCountKey (tournamentId) = (tournamentId + "_tournamentMaxPlayersCount")
58+
59+
60+func tournamentPlayersCountKey (tournamentId) = (tournamentId + "_tournamentPlayersCount")
61+
62+
63+func tournamentPrizeAssetIdKey (tournamentId) = (tournamentId + "_tournamentPrizeAssetId")
64+
65+
66+func tournamentPrizeAssetNameKey (tournamentId) = (tournamentId + "_tournamentPrizeAssetName")
67+
68+
69+func tournamentBuyInAmountKey (tournamentId) = (tournamentId + "_tournamentBuyInAmount")
70+
71+
72+func tournamentBuyInAssetIdKey (tournamentId) = (tournamentId + "_tournamentBuyInAssetId")
73+
74+
75+func tournamentBuyInAssetNameKey (tournamentId) = (tournamentId + "_tournamentBuyInAssetName")
76+
77+
78+func tournamentBuyInAssetDecimalsKey (tournamentId) = (tournamentId + "_tournamentBuyInAssetDecimals")
79+
80+
81+func tournamentPrizeAssetDecimalsKey (tournamentId) = (tournamentId + "_tournamentPrizeAssetDecimals")
82+
83+
84+func tournamentStatusKey (tournamentId) = (tournamentId + "_tournamentStatus")
85+
86+
87+func tournamentBuyInFeeCollectedKey (tournamentId) = (tournamentId + "_tournamentBuyInFeeCollected")
88+
89+
90+func tournamentServiceFeeCollectedKey (tournamentId) = (tournamentId + "_tournamentServiceFeeCollected")
91+
92+
93+func tournamentWinningTransactionIdKey (tournamentId) = (tournamentId + "_tournamentWinningTransactionId")
94+
95+
96+func gameWinnerKey (gameId) = (gameId + "_winner")
97+
98+
99+func addressAvailableFundsKey (address) = (address + "_availableFunds")
100+
101+
102+func addressTotalLockedFundsKey (address) = (address + "_totalLockedFunds")
103+
104+
105+func addressLockedFundsTotalHistoryKey (address) = (address + "_lockedFundsTotalHistory")
106+
107+
108+func addressLockedFundsForGameKey (address,gameId) = ((address + "_lockedFunds_") + gameId)
109+
110+
111+func addressAvailableRewardsKey (address) = (address + "_availableRewards")
112+
113+
114+func videoPokerBetForAccount (gameId,account) = ((gameId + "_videoPokerBetFor_") + account)
115+
116+
117+func videoPokerCardsDrawnKey (gameId) = (gameId + "_videoPokerCardsDrawn")
118+
119+
120+func videoPokerResultKey (gameId) = (gameId + "_videoPokerResult")
121+
122+
123+func videoPokerResultProfitKey (gameId) = (gameId + "_videoPokerResultProfit")
124+
125+
126+func getTicketsCount (addressString) = tryGetInteger(getTicketsCountKey(addressString))
127+
128+
129+func consumeTicket (playerAddr) = {
130+ let currentTicketCount = getTicketsCount(playerAddr)
131+ let newCurrentTicketCount = (currentTicketCount - 1)
132+ if ((0 > newCurrentTicketCount))
133+ then 0
134+ else newCurrentTicketCount
135+ }
136+
137+
138+@Callable(i)
139+func setFeeCollectorAddress (collectorAddr) = if ((i.caller != this))
140+ then throw("Admin Only")
141+ else [StringEntry(feeCollectorAddressKey, collectorAddr)]
142+
143+
144+
145+@Callable(i)
146+func depositFunds () = {
147+ let pmt = if ((size(i.payments) == 1))
148+ then i.payments[0]
149+ else throw("Please attach exactly one payment")
150+ if ((pmt.assetId != fromBase58String(depositAssetId)))
151+ then throw("You can only deposit USDN")
152+ else {
153+ let callerAddrStr = toBase58String(i.caller.bytes)
154+ let currentAvailableFunds = tryGetInteger(addressAvailableFundsKey(callerAddrStr))
155+ $Tuple2([IntegerEntry(addressAvailableFundsKey(callerAddrStr), (currentAvailableFunds + pmt.amount))], 1)
156+ }
157+ }
158+
159+
160+
161+@Callable(i)
162+func cancelSignUpToTournament (tournamentId) = {
163+ let tournamentStatus = getStringValue(tournamentStatusKey(tournamentId))
164+ if ((tournamentStatus != "registration"))
165+ then throw("Tournament is not in registration phase!")
166+ else {
167+ let callerAddrStr = toBase58String(i.caller.bytes)
168+ let paidBuyInAmount = getIntegerValue(buyInAmountForTournamentForAccount(tournamentId, callerAddrStr))
169+ let paidBuyInAssetId = getStringValue(buyInAssetIdForTournamentForAccount(tournamentId, callerAddrStr))
170+ let alreadyRegisteredPlayersCount = tryGetInteger(tournamentPlayersCountKey(tournamentId))
171+ let totalBuyInCollectedAmount = (tryGetInteger(tournamentTotalBuyInCollectedAmountKey(tournamentId)) - paidBuyInAmount)
172+ let feesTaken = fraction(totalBuyInCollectedAmount, tournamentBuyInFeePercent, 100)
173+ $Tuple2([ScriptTransfer(addressFromStringValue(callerAddrStr), paidBuyInAmount, fromBase58String(paidBuyInAssetId)), DeleteEntry(ticketForTournamentForAccount(tournamentId, callerAddrStr)), DeleteEntry(buyInAmountForTournamentForAccount(tournamentId, callerAddrStr)), DeleteEntry(buyInAssetIdForTournamentForAccount(tournamentId, callerAddrStr)), IntegerEntry(tournamentPlayersCountKey(tournamentId), (alreadyRegisteredPlayersCount - 1)), IntegerEntry(tournamentTotalBuyInCollectedAmountKey(tournamentId), totalBuyInCollectedAmount), IntegerEntry(tournamentTotalBuyInCollectedAmountMinusFeesKey(tournamentId), (totalBuyInCollectedAmount - feesTaken))], 1)
174+ }
175+ }
176+
177+
178+
179+@Callable(i)
180+func signUpToTournament (tournamentId) = {
181+ let maxPlayersCount = getIntegerValue(this, tournamentMaxPlayersCountKey(tournamentId))
182+ let alreadyRegisteredPlayersCount = tryGetInteger(tournamentPlayersCountKey(tournamentId))
183+ let tournamentStatus = getStringValue(tournamentStatusKey(tournamentId))
184+ if (if ((tournamentStatus != "registration"))
185+ then (tournamentStatus != "started")
186+ else false)
187+ then throw("Tournament is not in registration phase!")
188+ else if ((alreadyRegisteredPlayersCount == maxPlayersCount))
189+ then throw("Tournament is currently full, please try again later!")
190+ else {
191+ let pmt = if ((size(i.payments) == 1))
192+ then i.payments[0]
193+ else throw("Please attach exactly one payment")
194+ let buyInAssetid = match pmt.assetId {
195+ case b: Unit =>
196+ ""
197+ case b: ByteVector =>
198+ toBase58String(b)
199+ case _ =>
200+ throw("Match error")
201+ }
202+ let buyInRequiredAmount = getIntegerValue(this, tournamentBuyInAmountKey(tournamentId))
203+ let buyInRequiredAssetId = getStringValue(this, tournamentBuyInAssetIdKey(tournamentId))
204+ if ((buyInRequiredAmount != pmt.amount))
205+ then throw(("Attached payment amount is invalid, must be " + toString(buyInRequiredAmount)))
206+ else if ((buyInRequiredAssetId != buyInAssetid))
207+ then throw(("Attached payment asset id is invalid, must be " + buyInRequiredAssetId))
208+ else {
209+ let callerAddrStr = toBase58String(i.caller.bytes)
210+ let totalBuyInCollectedAmount = (tryGetInteger(tournamentTotalBuyInCollectedAmountKey(tournamentId)) + pmt.amount)
211+ let feesTaken = fraction(totalBuyInCollectedAmount, tournamentBuyInFeePercent, 100)
212+ $Tuple2([BooleanEntry(ticketForTournamentForAccount(tournamentId, callerAddrStr), true), IntegerEntry(buyInAmountForTournamentForAccount(tournamentId, callerAddrStr), pmt.amount), StringEntry(buyInAssetIdForTournamentForAccount(tournamentId, callerAddrStr), buyInAssetid), IntegerEntry(tournamentPlayersCountKey(tournamentId), (alreadyRegisteredPlayersCount + 1)), IntegerEntry(tournamentTotalBuyInCollectedAmountKey(tournamentId), totalBuyInCollectedAmount), IntegerEntry(tournamentTotalBuyInCollectedAmountMinusFeesKey(tournamentId), (totalBuyInCollectedAmount - feesTaken))], 1)
213+ }
214+ }
215+ }
216+
217+
218+
219+@Callable(i)
220+func cancelTournament (tournamentId) = {
221+ let callerAddrStr = toBase58String(i.caller.bytes)
222+ let tournamentCreator = getStringValue(tournamentCreatorKey(tournamentId))
223+ let creatorCheck = if ((tournamentCreator == callerAddrStr))
224+ then true
225+ else if ((i.caller == this))
226+ then true
227+ else throw("Only tournament creator can cancel it!")
228+ if ((creatorCheck == creatorCheck))
229+ then {
230+ let tournamentStatus = getStringValue(tournamentStatusKey(tournamentId))
231+ if (if ((i.caller != this))
232+ then (tournamentStatus != "registration")
233+ else false)
234+ then throw("Tournament is not in registration phase!")
235+ else {
236+ let alreadyRegisteredPlayersCount = tryGetInteger(tournamentPlayersCountKey(tournamentId))
237+ if ((alreadyRegisteredPlayersCount > 0))
238+ then throw("Cannot cancel a tournament when players are already registered to it!")
239+ else {
240+ let tournamentPrizeAmount = getIntegerValue(tournamentPrizeAmountKey(tournamentId))
241+ let tournamentPrizeAssetId = getStringValue(tournamentPrizeAssetIdKey(tournamentId))
242+ $Tuple2([DeleteEntry(tournamentPrizeAmountKey(tournamentId)), DeleteEntry(tournamentPlayersCountKey(tournamentId)), DeleteEntry(tournamentMaxPlayersCountKey(tournamentId)), DeleteEntry(tournamentPrizeAssetIdKey(tournamentId)), DeleteEntry(tournamentPrizeAssetNameKey(tournamentId)), DeleteEntry(tournamentPrizeAssetDecimalsKey(tournamentId)), DeleteEntry(tournamentStatusKey(tournamentId)), DeleteEntry(tournamentBuyInAmountKey(tournamentId)), DeleteEntry(tournamentBuyInAssetNameKey(tournamentId)), DeleteEntry(tournamentBuyInAssetDecimalsKey(tournamentId)), DeleteEntry(tournamentBuyInAssetIdKey(tournamentId)), DeleteEntry(tournamentNameKey(tournamentId)), DeleteEntry(tournamentCreatorKey(tournamentId)), ScriptTransfer(addressFromStringValue(tournamentCreator), tournamentPrizeAmount, fromBase58String(tournamentPrizeAssetId))], 1)
243+ }
244+ }
245+ }
246+ else throw("Strict value is not equal to itself.")
247+ }
248+
249+
250+
251+@Callable(i)
252+func createTournament (tournamentId,name,playersCount,buyInAmount,buyInAssetId) = {
253+ let pmt = if ((size(i.payments) == 1))
254+ then i.payments[0]
255+ else {
256+ let callerAddrStr = toBase58String(i.caller.bytes)
257+ if ((callerAddrStr == allowedSpecialTournamentCreator))
258+ then AttachedPayment(unit, 0)
259+ else throw("Please attach exactly one payment")
260+ }
261+ let tournamentCreator = match getString(tournamentCreatorKey(tournamentId)) {
262+ case creator: String =>
263+ throw(("Tournament already exists with this id " + tournamentId))
264+ case _ =>
265+ unit
266+ }
267+ if ((tournamentCreator == tournamentCreator))
268+ then {
269+ let prizeAssetId = match pmt.assetId {
270+ case b: Unit =>
271+ ""
272+ case b: ByteVector =>
273+ toBase58String(b)
274+ case _ =>
275+ throw("Match error")
276+ }
277+ let assetDetails = match pmt.assetId {
278+ case b: Unit =>
279+["Waves", 8]
280+ case b: ByteVector =>
281+ match assetInfo(b) {
282+ case asset: Asset =>
283+[asset.name, asset.decimals]
284+ case _ =>
285+ throw("Can't find asset")
286+ }
287+ case _ =>
288+ throw("Match error")
289+ }
290+ let buyInAsset = match assetInfo(fromBase58String(buyInAssetId)) {
291+ case asset: Asset =>
292+[asset.name, asset.decimals]
293+ case _ =>
294+["", 0]
295+ }
296+ let callerAddrStr = toBase58String(i.caller.bytes)
297+ $Tuple2([IntegerEntry(tournamentPrizeAmountKey(tournamentId), pmt.amount), IntegerEntry(tournamentPlayersCountKey(tournamentId), 0), IntegerEntry(tournamentMaxPlayersCountKey(tournamentId), playersCount), StringEntry(tournamentPrizeAssetIdKey(tournamentId), prizeAssetId), StringEntry(tournamentPrizeAssetNameKey(tournamentId), {
298+ let @ = assetDetails[0]
299+ if ($isInstanceOf(@, "String"))
300+ then @
301+ else throw(($getType(@) + " couldn't be cast to String"))
302+ }), IntegerEntry(tournamentPrizeAssetDecimalsKey(tournamentId), {
303+ let @ = assetDetails[1]
304+ if ($isInstanceOf(@, "Int"))
305+ then @
306+ else throw(($getType(@) + " couldn't be cast to Int"))
307+ }), StringEntry(tournamentStatusKey(tournamentId), "registration"), IntegerEntry(tournamentBuyInAmountKey(tournamentId), buyInAmount), StringEntry(tournamentBuyInAssetNameKey(tournamentId), {
308+ let @ = buyInAsset[0]
309+ if ($isInstanceOf(@, "String"))
310+ then @
311+ else throw(($getType(@) + " couldn't be cast to String"))
312+ }), IntegerEntry(tournamentBuyInAssetDecimalsKey(tournamentId), {
313+ let @ = buyInAsset[1]
314+ if ($isInstanceOf(@, "Int"))
315+ then @
316+ else throw(($getType(@) + " couldn't be cast to Int"))
317+ }), StringEntry(tournamentBuyInAssetIdKey(tournamentId), buyInAssetId), StringEntry(tournamentNameKey(tournamentId), name), StringEntry(tournamentCreatorKey(tournamentId), callerAddrStr)], 1)
318+ }
319+ else throw("Strict value is not equal to itself.")
320+ }
321+
322+
323+
324+@Callable(i)
325+func startTournament (tournamentId) = if ((i.caller != this))
326+ then throw("Admin Only")
327+ else $Tuple2([StringEntry(tournamentStatusKey(tournamentId), "started")], 1)
328+
329+
330+
331+@Callable(i)
332+func finishTournament (tournamentId,winningTransfertTransactionId) = if ((i.caller != this))
333+ then throw("Admin Only")
334+ else {
335+ let tournamentCreator = getStringValue(tournamentCreatorKey(tournamentId))
336+ let tournamentTotalBuyInAmount = tryGetInteger(tournamentTotalBuyInCollectedAmountKey(tournamentId))
337+ let tournamentBuyInAmount = getIntegerValue(tournamentBuyInAmountKey(tournamentId))
338+ let tournamentBuyInAssetId = match getString(tournamentBuyInAssetIdKey(tournamentId)) {
339+ case id: String =>
340+ if ((id == ""))
341+ then unit
342+ else fromBase58String(id)
343+ case _ =>
344+ unit
345+ }
346+ let tournamentBuyInFee = fraction(tournamentTotalBuyInAmount, tournamentBuyInFeePercent, 100)
347+ let tournamentPrizeAmount = getIntegerValue(tournamentPrizeAmountKey(tournamentId))
348+ if ((tournamentPrizeAmount > 0))
349+ then $Tuple2([StringEntry(tournamentWinningTransactionIdKey(tournamentId), winningTransfertTransactionId), StringEntry(tournamentStatusKey(tournamentId), "finished"), IntegerEntry(tournamentBuyInFeeCollectedKey(tournamentId), tournamentBuyInFee), ScriptTransfer(addressFromStringValue(tournamentCreator), (tournamentTotalBuyInAmount - tournamentBuyInFee), tournamentBuyInAssetId)], 1)
350+ else {
351+ let serviceFee = fraction(tournamentBuyInFee, 20, 100)
352+ $Tuple2([StringEntry(tournamentWinningTransactionIdKey(tournamentId), winningTransfertTransactionId), StringEntry(tournamentStatusKey(tournamentId), "finished"), IntegerEntry(tournamentBuyInFeeCollectedKey(tournamentId), tournamentBuyInFee), IntegerEntry(tournamentServiceFeeCollectedKey(tournamentId), serviceFee), ScriptTransfer(addressFromStringValue(tournamentCreator), (tournamentBuyInFee - serviceFee), tournamentBuyInAssetId)], 1)
353+ }
354+ }
355+
356+
357+
358+@Callable(i)
359+func playerExitGame (gameId,playerAddr,exitStackAmount) = if ((i.caller != this))
360+ then throw("Admin Only")
361+ else {
362+ let currentTotalLockedFunds = tryGetInteger(addressTotalLockedFundsKey(playerAddr))
363+ let currentGameLockedAmountForPlayer = tryGetInteger(addressLockedFundsForGameKey(playerAddr, gameId))
364+ $Tuple2([IntegerEntry(addressTotalLockedFundsKey(playerAddr), (currentTotalLockedFunds - currentGameLockedAmountForPlayer)), IntegerEntry(addressLockedFundsForGameKey(playerAddr, gameId), 0), ScriptTransfer(addressFromStringValue(playerAddr), exitStackAmount, fromBase58String(depositAssetId))], 1)
365+ }
366+
367+
368+
369+@Callable(i)
370+func lockFundsForGame (gameId) = {
371+ let pmt = if ((size(i.payments) == 1))
372+ then i.payments[0]
373+ else throw("Please attach exactly one payment")
374+ if ((pmt.assetId != fromBase58String(depositAssetId)))
375+ then throw("You can only deposit USDN")
376+ else {
377+ let callerAddrStr = toBase58String(i.caller.bytes)
378+ let currentTotalLockedFunds = tryGetInteger(addressTotalLockedFundsKey(callerAddrStr))
379+ let currentLockedFundsTotalHistory = tryGetInteger(addressLockedFundsTotalHistoryKey(callerAddrStr))
380+ $Tuple2([IntegerEntry(addressTotalLockedFundsKey(callerAddrStr), (currentTotalLockedFunds + pmt.amount)), IntegerEntry(addressLockedFundsTotalHistoryKey(callerAddrStr), (currentLockedFundsTotalHistory + pmt.amount)), IntegerEntry(addressLockedFundsForGameKey(callerAddrStr, gameId), pmt.amount)], 1)
381+ }
382+ }
383+
384+
385+
386+@Callable(i)
387+func betOnVideoPokerGame (gameId) = {
388+ let pmt = if ((size(i.payments) == 1))
389+ then i.payments[0]
390+ else throw("Please attach exactly one payment")
391+ if ((pmt.assetId != fromBase58String(depositAssetId)))
392+ then throw("You can only deposit USDN")
393+ else {
394+ let callerAddrStr = toBase58String(i.caller.bytes)
395+ $Tuple2([IntegerEntry(videoPokerBetForAccount(gameId, callerAddrStr), pmt.amount)], 1)
396+ }
397+ }
398+
399+
400+
401+@Callable(i)
402+func finishVideoPokerGame (gameId,playerAddr,result,cardsDrawn) = if ((i.caller != this))
403+ then throw("Admin Only")
404+ else {
405+ let betAmount = getIntegerValue(videoPokerBetForAccount(gameId, playerAddr))
406+ let betMultiplier = if ((result == "Pair"))
407+ then 1
408+ else if ((result == "Two Pair"))
409+ then 2
410+ else if ((result == "Three of a Kind"))
411+ then 3
412+ else if ((result == "Straight"))
413+ then 4
414+ else if ((result == "Flush"))
415+ then 6
416+ else if ((result == "Full House"))
417+ then 9
418+ else if ((result == "Four of a Kind"))
419+ then 25
420+ else if ((result == "Straight Flush"))
421+ then 50
422+ else if ((result == "Royal Flush"))
423+ then 800
424+ else 0
425+ if ((betMultiplier == betMultiplier))
426+ then {
427+ let amountWon = (betAmount * betMultiplier)
428+ $Tuple2([StringEntry(videoPokerCardsDrawnKey(gameId), cardsDrawn), StringEntry(videoPokerResultKey(gameId), result), IntegerEntry(videoPokerResultProfitKey(gameId), amountWon), ScriptTransfer(addressFromStringValue(playerAddr), amountWon, fromBase58String(depositAssetId))], 1)
429+ }
430+ else throw("Strict value is not equal to itself.")
431+ }
432+
433+
434+@Verifier(tx)
435+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
436+

github/deemru/w8io/026f985 
26.29 ms