tx · 6pHH1pVSum1zmTt6rp3dCbKvBzV3ZxPjbLJnFTFTQoXR 3MzAp2sqMm41ozyqUHzD1LKZBBu3kAzXnCW: -0.01600000 Waves 2022.10.08 01:58 [2262530] smart account 3MzAp2sqMm41ozyqUHzD1LKZBBu3kAzXnCW > SELF 0.00000000 Waves
{ "type": 13, "id": "6pHH1pVSum1zmTt6rp3dCbKvBzV3ZxPjbLJnFTFTQoXR", "fee": 1600000, "feeAssetId": null, "timestamp": 1665183620903, "version": 2, "chainId": 84, "sender": "3MzAp2sqMm41ozyqUHzD1LKZBBu3kAzXnCW", "senderPublicKey": "4Aj1MmD6y2a2qy1TjqmXrK7nc46XRfQUKQ6Kvs7BfWqi", "proofs": [ "2awmejD9qieKUUUTWzHqs8kDEkBrCukikfqJC2EgomtT8As2bzRoc1h4Rfz8q25eK2PVkMi2gVzSDTKv5XypoBJh" ], "script": "base64:BgJACAISAwoBCBIAEgMKAQgSAwoBCBIDCgEIEgcKBQgIAQEIEgQKAggIEgUKAwgIARIDCgEIEgASBQoDCAgIEgASACUABXdhdmVzAIDC1y8ADnRpY2tldFByaWNlSW50AMCEPQALdGlja2V0UHJpY2UFDnRpY2tldFByaWNlSW50AAZpbnZGZWUAoMIeABJ3aXRoZHJhd0ZlZVBlcmNlbnQABQAWZmVlQ29sbGVjdG9yQWRkcmVzc0tleQITZmVlQ29sbGVjdG9yQWRkcmVzcwAZdG91cm5hbWVudEJ1eUluRmVlUGVyY2VudAAKAA5kZXBvc2l0QXNzZXRJZAIsNXVlMWZpdVY2ajZVQnI2WGYyOFFtczZ5NUZxekt0cXZheHhod3U3aFRRNTgBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABEmdldFRpY2tldHNDb3VudEtleQENYWRkcmVzc1N0cmluZwkArAICBQ1hZGRyZXNzU3RyaW5nAg1fdGlja2V0c0NvdW50ASJidXlJbkFtb3VudEZvclRvdXJuYW1lbnRGb3JBY2NvdW50Agx0b3VybmFtZW50SWQHYWNjb3VudAkArAICCQCsAgIFDHRvdXJuYW1lbnRJZAIXX2J1eUluQW1vdW50Rm9yQWNjb3VudF8FB2FjY291bnQBI2J1eUluQXNzZXRJZEZvclRvdXJuYW1lbnRGb3JBY2NvdW50Agx0b3VybmFtZW50SWQHYWNjb3VudAkArAICCQCsAgIFDHRvdXJuYW1lbnRJZAIYX2J1eUluQXNzZXRJZEZvckFjY291bnRfBQdhY2NvdW50AR10aWNrZXRGb3JUb3VybmFtZW50Rm9yQWNjb3VudAIMdG91cm5hbWVudElkB2FjY291bnQJAKwCAgkArAICBQx0b3VybmFtZW50SWQCEl90aWNrZXRGb3JBY2NvdW50XwUHYWNjb3VudAEmdG91cm5hbWVudFRvdGFsQnV5SW5Db2xsZWN0ZWRBbW91bnRLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCJF90b3VybmFtZW50VG90YWxCdXlJbkNvbGxlY3RlZEFtb3VudAEUdG91cm5hbWVudENyZWF0b3JLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCEl90b3VybmFtZW50Q3JlYXRvcgERdG91cm5hbWVudE5hbWVLZXkBDHRvdXJuYW1lbnRJZAkArAICBQx0b3VybmFtZW50SWQCD190b3VybmFtZW50TmFtZQEYdG91cm5hbWVudFByaXplQW1vdW50S2V5AQx0b3VybmFtZW50SWQJAKwCAgUMdG91cm5hbWVudElkAhZfdG91cm5hbWVudFByaXplQW1vdW50ARx0b3VybmFtZW50TWF4UGxheWVyc0NvdW50S2V5AQx0b3VybmFtZW50SWQJAKwCAgUMdG91cm5hbWVudElkAhpfdG91cm5hbWVudE1heFBsYXllcnNDb3VudAEZdG91cm5hbWVudFBsYXllcnNDb3VudEtleQEMdG91cm5hbWVudElkCQCsAgIFDHRvdXJuYW1lbnRJZAIXX3RvdXJuYW1lbnRQbGF5ZXJzQ291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UludAIGIHdhdmVzBA1jYWxsZXJBZGRyU3RyCQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMEE2N1cnJlbnRUaWNrZXRzQ291bnQJAQ10cnlHZXRJbnRlZ2VyAQkBEmdldFRpY2tldHNDb3VudEtleQEFDWNhbGxlckFkZHJTdHIJAJQKAgkAzAgCCQEMSW50ZWdlckVudHJ5AgkBEmdldFRpY2tldHNDb3VudEtleQEFDWNhbGxlckFkZHJTdHIJAGQCBRNjdXJyZW50VGlja2V0c0NvdW50AAEFA25pbAABAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleXJ6h4w=", "height": 2262530, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
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 | + | func tryGetInteger (key) = match getInteger(this, key) { | |
21 | + | case b: Int => | |
22 | + | b | |
23 | + | case _ => | |
24 | + | 0 | |
25 | + | } | |
26 | + | ||
27 | + | ||
28 | + | func getTicketsCountKey (addressString) = (addressString + "_ticketsCount") | |
29 | + | ||
30 | + | ||
31 | + | func buyInAmountForTournamentForAccount (tournamentId,account) = ((tournamentId + "_buyInAmountForAccount_") + account) | |
32 | + | ||
33 | + | ||
34 | + | func buyInAssetIdForTournamentForAccount (tournamentId,account) = ((tournamentId + "_buyInAssetIdForAccount_") + account) | |
35 | + | ||
36 | + | ||
37 | + | func ticketForTournamentForAccount (tournamentId,account) = ((tournamentId + "_ticketForAccount_") + account) | |
38 | + | ||
39 | + | ||
40 | + | func tournamentTotalBuyInCollectedAmountKey (tournamentId) = (tournamentId + "_tournamentTotalBuyInCollectedAmount") | |
41 | + | ||
42 | + | ||
43 | + | func tournamentCreatorKey (tournamentId) = (tournamentId + "_tournamentCreator") | |
44 | + | ||
45 | + | ||
46 | + | func tournamentNameKey (tournamentId) = (tournamentId + "_tournamentName") | |
47 | + | ||
48 | + | ||
49 | + | func tournamentPrizeAmountKey (tournamentId) = (tournamentId + "_tournamentPrizeAmount") | |
50 | + | ||
51 | + | ||
52 | + | func tournamentMaxPlayersCountKey (tournamentId) = (tournamentId + "_tournamentMaxPlayersCount") | |
53 | + | ||
54 | + | ||
55 | + | func tournamentPlayersCountKey (tournamentId) = (tournamentId + "_tournamentPlayersCount") | |
56 | + | ||
57 | + | ||
58 | + | func tournamentPrizeAssetIdKey (tournamentId) = (tournamentId + "_tournamentPrizeAssetId") | |
59 | + | ||
60 | + | ||
61 | + | func tournamentPrizeAssetNameKey (tournamentId) = (tournamentId + "_tournamentPrizeAssetName") | |
62 | + | ||
63 | + | ||
64 | + | func tournamentBuyInAmountKey (tournamentId) = (tournamentId + "_tournamentBuyInAmount") | |
65 | + | ||
66 | + | ||
67 | + | func tournamentBuyInAssetIdKey (tournamentId) = (tournamentId + "_tournamentBuyInAssetId") | |
68 | + | ||
69 | + | ||
70 | + | func tournamentBuyInAssetNameKey (tournamentId) = (tournamentId + "_tournamentBuyInAssetName") | |
71 | + | ||
72 | + | ||
73 | + | func tournamentBuyInAssetDecimalsKey (tournamentId) = (tournamentId + "_tournamentBuyInAssetDecimals") | |
74 | + | ||
75 | + | ||
76 | + | func tournamentPrizeAssetDecimalsKey (tournamentId) = (tournamentId + "_tournamentPrizeAssetDecimals") | |
77 | + | ||
78 | + | ||
79 | + | func tournamentStatusKey (tournamentId) = (tournamentId + "_tournamentStatus") | |
80 | + | ||
81 | + | ||
82 | + | func tournamentBuyInFeeCollectedKey (tournamentId) = (tournamentId + "_tournamentBuyInFeeCollected") | |
83 | + | ||
84 | + | ||
85 | + | func tournamentWinningTransactionIdKey (tournamentId) = (tournamentId + "_tournamentWinningTransactionId") | |
86 | + | ||
87 | + | ||
88 | + | func gameWinnerKey (gameId) = (gameId + "_winner") | |
89 | + | ||
90 | + | ||
91 | + | func addressAvailableFundsKey (address) = (address + "_availableFunds") | |
92 | + | ||
93 | + | ||
94 | + | func addressTotalLockedFundsKey (address) = (address + "_totalLockedFunds") | |
95 | + | ||
96 | + | ||
97 | + | func addressLockedFundsTotalHistoryKey (address) = (address + "_lockedFundsTotalHistory") | |
98 | + | ||
99 | + | ||
100 | + | func addressLockedFundsForGameKey (address,gameId) = ((address + "_lockedFunds_") + gameId) | |
101 | + | ||
102 | + | ||
103 | + | func addressAvailableRewardsKey (address) = (address + "_availableRewards") | |
104 | + | ||
105 | + | ||
106 | + | func getTicketsCount (addressString) = tryGetInteger(getTicketsCountKey(addressString)) | |
107 | + | ||
108 | + | ||
109 | + | func consumeTicket (playerAddr) = { | |
110 | + | let currentTicketCount = getTicketsCount(playerAddr) | |
111 | + | let newCurrentTicketCount = (currentTicketCount - 1) | |
112 | + | if ((0 > newCurrentTicketCount)) | |
113 | + | then 0 | |
114 | + | else newCurrentTicketCount | |
115 | + | } | |
116 | + | ||
117 | + | ||
118 | + | @Callable(i) | |
119 | + | func setFeeCollectorAddress (collectorAddr) = if ((i.caller != this)) | |
120 | + | then throw("Admin Only") | |
121 | + | else [StringEntry(feeCollectorAddressKey, collectorAddr)] | |
122 | + | ||
123 | + | ||
124 | + | ||
125 | + | @Callable(i) | |
126 | + | func depositFunds () = { | |
127 | + | let pmt = if ((size(i.payments) == 1)) | |
128 | + | then i.payments[0] | |
129 | + | else throw("Please attach exactly one payment") | |
130 | + | if ((pmt.assetId != fromBase58String(depositAssetId))) | |
131 | + | then throw("You can only deposit USDN") | |
132 | + | else { | |
133 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
134 | + | let currentAvailableFunds = tryGetInteger(addressAvailableFundsKey(callerAddrStr)) | |
135 | + | $Tuple2([IntegerEntry(addressAvailableFundsKey(callerAddrStr), (currentAvailableFunds + pmt.amount))], 1) | |
136 | + | } | |
137 | + | } | |
138 | + | ||
139 | + | ||
140 | + | ||
141 | + | @Callable(i) | |
142 | + | func cancelSignUpToTournament (tournamentId) = { | |
143 | + | let tournamentStatus = getStringValue(tournamentStatusKey(tournamentId)) | |
144 | + | if ((tournamentStatus != "registration")) | |
145 | + | then throw("Tournament is not in registration phase!") | |
146 | + | else { | |
147 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
148 | + | let paidBuyInAmount = getIntegerValue(buyInAmountForTournamentForAccount(tournamentId, callerAddrStr)) | |
149 | + | let paidBuyInAssetId = getStringValue(buyInAssetIdForTournamentForAccount(tournamentId, callerAddrStr)) | |
150 | + | let alreadyRegisteredPlayersCount = tryGetInteger(tournamentPlayersCountKey(tournamentId)) | |
151 | + | let totalBuyInCollectedAmount = tryGetInteger(tournamentTotalBuyInCollectedAmountKey(tournamentId)) | |
152 | + | $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 - paidBuyInAmount))], 1) | |
153 | + | } | |
154 | + | } | |
155 | + | ||
156 | + | ||
157 | + | ||
158 | + | @Callable(i) | |
159 | + | func signUpToTournament (tournamentId) = { | |
160 | + | let maxPlayersCount = getIntegerValue(this, tournamentMaxPlayersCountKey(tournamentId)) | |
161 | + | let alreadyRegisteredPlayersCount = tryGetInteger(tournamentPlayersCountKey(tournamentId)) | |
162 | + | let tournamentStatus = getStringValue(tournamentStatusKey(tournamentId)) | |
163 | + | if ((tournamentStatus != "registration")) | |
164 | + | then throw("Tournament is not in registration phase!") | |
165 | + | else if ((alreadyRegisteredPlayersCount == maxPlayersCount)) | |
166 | + | then throw("Tournament is currently full, please try again later!") | |
167 | + | else { | |
168 | + | let pmt = if ((size(i.payments) == 1)) | |
169 | + | then i.payments[0] | |
170 | + | else throw("Please attach exactly one payment") | |
171 | + | let buyInAssetid = match pmt.assetId { | |
172 | + | case b: Unit => | |
173 | + | "" | |
174 | + | case b: ByteVector => | |
175 | + | toBase58String(b) | |
176 | + | case _ => | |
177 | + | throw("Match error") | |
178 | + | } | |
179 | + | let buyInRequiredAmount = getIntegerValue(this, tournamentBuyInAmountKey(tournamentId)) | |
180 | + | let buyInRequiredAssetId = getStringValue(this, tournamentBuyInAssetIdKey(tournamentId)) | |
181 | + | if ((buyInRequiredAmount != pmt.amount)) | |
182 | + | then throw(("Attached payment amount is invalid, must be " + toString(buyInRequiredAmount))) | |
183 | + | else if ((buyInRequiredAssetId != buyInAssetid)) | |
184 | + | then throw(("Attached payment asset id is invalid, must be " + buyInRequiredAssetId)) | |
185 | + | else { | |
186 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
187 | + | let totalBuyInCollectedAmount = tryGetInteger(tournamentTotalBuyInCollectedAmountKey(tournamentId)) | |
188 | + | $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 + pmt.amount))], 1) | |
189 | + | } | |
190 | + | } | |
191 | + | } | |
192 | + | ||
193 | + | ||
194 | + | ||
195 | + | @Callable(i) | |
196 | + | func cancelTournament (tournamentId) = { | |
197 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
198 | + | let tournamentCreator = getStringValue(tournamentCreatorKey(tournamentId)) | |
199 | + | if (if ((tournamentCreator != callerAddrStr)) | |
200 | + | then true | |
201 | + | else (i.caller != this)) | |
202 | + | then throw("Only tournament creator can cancel it!") | |
203 | + | else { | |
204 | + | let tournamentStatus = getStringValue(tournamentStatusKey(tournamentId)) | |
205 | + | if ((tournamentStatus != "registration")) | |
206 | + | then throw("Tournament is not in registration phase!") | |
207 | + | else { | |
208 | + | let alreadyRegisteredPlayersCount = tryGetInteger(tournamentPlayersCountKey(tournamentId)) | |
209 | + | if ((alreadyRegisteredPlayersCount > 0)) | |
210 | + | then throw("Cannot cancel a tournament when players are already registered to it!") | |
211 | + | else { | |
212 | + | let tournamentPrizeAmount = getIntegerValue(tournamentPrizeAmountKey(tournamentId)) | |
213 | + | let tournamentPrizeAssetId = getStringValue(tournamentPrizeAssetIdKey(tournamentId)) | |
214 | + | $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) | |
215 | + | } | |
216 | + | } | |
217 | + | } | |
218 | + | } | |
219 | + | ||
220 | + | ||
221 | + | ||
222 | + | @Callable(i) | |
223 | + | func createTournament (tournamentId,name,playersCount,buyInAmount,buyInAssetId) = { | |
224 | + | let pmt = if ((size(i.payments) == 1)) | |
225 | + | then i.payments[0] | |
226 | + | else throw("Please attach exactly one payment") | |
227 | + | let tournamentCreator = match getString(tournamentCreatorKey(tournamentId)) { | |
228 | + | case creator: String => | |
229 | + | throw(("Tournament already exists with this id " + tournamentId)) | |
230 | + | case _ => | |
231 | + | unit | |
232 | + | } | |
233 | + | if ((tournamentCreator == tournamentCreator)) | |
234 | + | then { | |
235 | + | let prizeAssetId = match pmt.assetId { | |
236 | + | case b: Unit => | |
237 | + | "" | |
238 | + | case b: ByteVector => | |
239 | + | toBase58String(b) | |
240 | + | case _ => | |
241 | + | throw("Match error") | |
242 | + | } | |
243 | + | let assetDetails = match pmt.assetId { | |
244 | + | case b: Unit => | |
245 | + | ["Waves", 8] | |
246 | + | case b: ByteVector => | |
247 | + | match assetInfo(b) { | |
248 | + | case asset: Asset => | |
249 | + | [asset.name, asset.decimals] | |
250 | + | case _ => | |
251 | + | throw("Can't find asset") | |
252 | + | } | |
253 | + | case _ => | |
254 | + | throw("Match error") | |
255 | + | } | |
256 | + | let buyInAsset = match assetInfo(fromBase58String(buyInAssetId)) { | |
257 | + | case asset: Asset => | |
258 | + | [asset.name, asset.decimals] | |
259 | + | case _ => | |
260 | + | ["", 0] | |
261 | + | } | |
262 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
263 | + | $Tuple2([IntegerEntry(tournamentPrizeAmountKey(tournamentId), pmt.amount), IntegerEntry(tournamentPlayersCountKey(tournamentId), 0), IntegerEntry(tournamentMaxPlayersCountKey(tournamentId), playersCount), StringEntry(tournamentPrizeAssetIdKey(tournamentId), prizeAssetId), StringEntry(tournamentPrizeAssetNameKey(tournamentId), { | |
264 | + | let @ = assetDetails[0] | |
265 | + | if ($isInstanceOf(@, "String")) | |
266 | + | then @ | |
267 | + | else throw(($getType(@) + " couldn't be cast to String")) | |
268 | + | }), IntegerEntry(tournamentPrizeAssetDecimalsKey(tournamentId), { | |
269 | + | let @ = assetDetails[1] | |
270 | + | if ($isInstanceOf(@, "Int")) | |
271 | + | then @ | |
272 | + | else throw(($getType(@) + " couldn't be cast to Int")) | |
273 | + | }), StringEntry(tournamentStatusKey(tournamentId), "registration"), IntegerEntry(tournamentBuyInAmountKey(tournamentId), buyInAmount), StringEntry(tournamentBuyInAssetNameKey(tournamentId), { | |
274 | + | let @ = buyInAsset[0] | |
275 | + | if ($isInstanceOf(@, "String")) | |
276 | + | then @ | |
277 | + | else throw(($getType(@) + " couldn't be cast to String")) | |
278 | + | }), IntegerEntry(tournamentBuyInAssetDecimalsKey(tournamentId), { | |
279 | + | let @ = buyInAsset[1] | |
280 | + | if ($isInstanceOf(@, "Int")) | |
281 | + | then @ | |
282 | + | else throw(($getType(@) + " couldn't be cast to Int")) | |
283 | + | }), StringEntry(tournamentBuyInAssetIdKey(tournamentId), buyInAssetId), StringEntry(tournamentNameKey(tournamentId), name), StringEntry(tournamentCreatorKey(tournamentId), callerAddrStr)], 1) | |
284 | + | } | |
285 | + | else throw("Strict value is not equal to itself.") | |
286 | + | } | |
287 | + | ||
288 | + | ||
289 | + | ||
290 | + | @Callable(i) | |
291 | + | func finishTournament (tournamentId,winningTransfertTransactionId) = if ((i.caller != this)) | |
292 | + | then throw("Admin Only") | |
293 | + | else { | |
294 | + | let tournamentCreator = getStringValue(tournamentCreatorKey(tournamentId)) | |
295 | + | let tournamentTotalBuyInAmount = tryGetInteger(tournamentTotalBuyInCollectedAmountKey(tournamentId)) | |
296 | + | let tournamentBuyInAmount = getIntegerValue(tournamentBuyInAmountKey(tournamentId)) | |
297 | + | let tournamentBuyInAssetId = match getString(tournamentBuyInAssetIdKey(tournamentId)) { | |
298 | + | case id: String => | |
299 | + | if ((id == "")) | |
300 | + | then unit | |
301 | + | else fromBase58String(id) | |
302 | + | case _ => | |
303 | + | unit | |
304 | + | } | |
305 | + | let tournamentBuyInFee = fraction(tournamentTotalBuyInAmount, tournamentBuyInFeePercent, 100) | |
306 | + | $Tuple2([StringEntry(tournamentWinningTransactionIdKey(tournamentId), winningTransfertTransactionId), StringEntry(tournamentStatusKey(tournamentId), "finished"), IntegerEntry(tournamentBuyInFeeCollectedKey(tournamentId), tournamentBuyInFee), ScriptTransfer(addressFromStringValue(tournamentCreator), (tournamentTotalBuyInAmount - tournamentBuyInFee), tournamentBuyInAssetId)], 1) | |
307 | + | } | |
308 | + | ||
309 | + | ||
310 | + | ||
311 | + | @Callable(i) | |
312 | + | func playerExitGame (gameId,playerAddr,exitStackAmount) = if ((i.caller != this)) | |
313 | + | then throw("Admin Only") | |
314 | + | else { | |
315 | + | let currentTotalLockedFunds = tryGetInteger(addressTotalLockedFundsKey(playerAddr)) | |
316 | + | let currentGameLockedAmountForPlayer = tryGetInteger(addressLockedFundsForGameKey(playerAddr, gameId)) | |
317 | + | $Tuple2([IntegerEntry(addressTotalLockedFundsKey(playerAddr), (currentTotalLockedFunds - currentGameLockedAmountForPlayer)), IntegerEntry(addressLockedFundsForGameKey(playerAddr, gameId), 0), ScriptTransfer(addressFromStringValue(playerAddr), exitStackAmount, fromBase58String(depositAssetId))], 1) | |
318 | + | } | |
319 | + | ||
320 | + | ||
321 | + | ||
322 | + | @Callable(i) | |
323 | + | func lockFundsForGame (gameId) = { | |
324 | + | let pmt = if ((size(i.payments) == 1)) | |
325 | + | then i.payments[0] | |
326 | + | else throw("Please attach exactly one payment") | |
327 | + | if ((pmt.assetId != fromBase58String(depositAssetId))) | |
328 | + | then throw("You can only deposit USDN") | |
329 | + | else { | |
330 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
331 | + | let currentTotalLockedFunds = tryGetInteger(addressTotalLockedFundsKey(callerAddrStr)) | |
332 | + | let currentLockedFundsTotalHistory = tryGetInteger(addressLockedFundsTotalHistoryKey(callerAddrStr)) | |
333 | + | $Tuple2([IntegerEntry(addressTotalLockedFundsKey(callerAddrStr), (currentTotalLockedFunds + pmt.amount)), IntegerEntry(addressLockedFundsTotalHistoryKey(callerAddrStr), (currentLockedFundsTotalHistory + pmt.amount)), IntegerEntry(addressLockedFundsForGameKey(callerAddrStr, gameId), pmt.amount)], 1) | |
334 | + | } | |
335 | + | } | |
336 | + | ||
337 | + | ||
338 | + | ||
339 | + | @Callable(i) | |
340 | + | func withdrawFunds () = { | |
341 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
342 | + | let feeCollectorAddr = addressFromStringValue(getStringValue(feeCollectorAddressKey)) | |
343 | + | let currentAvailableFunds = tryGetInteger(addressAvailableFundsKey(callerAddrStr)) | |
344 | + | let withdrawFee = fraction(currentAvailableFunds, withdrawFeePercent, 100) | |
345 | + | let actualAvailableFunds = (currentAvailableFunds - withdrawFee) | |
346 | + | if ((0 >= actualAvailableFunds)) | |
347 | + | then throw("No available funds to withdraw") | |
348 | + | else [IntegerEntry(addressAvailableFundsKey(callerAddrStr), 0), ScriptTransfer(i.caller, actualAvailableFunds, fromBase58String(depositAssetId)), ScriptTransfer(feeCollectorAddr, withdrawFee, fromBase58String(depositAssetId))] | |
349 | + | } | |
350 | + | ||
351 | + | ||
352 | + | ||
353 | + | @Callable(i) | |
354 | + | func setWinnerHeadsUp (gameId,winnerAddrStr,otherPlayerAddr) = if ((i.caller != this)) | |
355 | + | then throw("Admin Only") | |
356 | + | else { | |
357 | + | let availableRewardsKey = addressAvailableRewardsKey(winnerAddrStr) | |
358 | + | let currentAvailableRewards = tryGetInteger(availableRewardsKey) | |
359 | + | let newTicketCountWinner = consumeTicket(winnerAddrStr) | |
360 | + | let newTicketCountOtherPlayer = consumeTicket(otherPlayerAddr) | |
361 | + | [StringEntry(gameWinnerKey(gameId), winnerAddrStr), IntegerEntry(availableRewardsKey, (currentAvailableRewards + (ticketPrice * 2))), IntegerEntry(getTicketsCountKey(winnerAddrStr), newTicketCountWinner), IntegerEntry(getTicketsCountKey(otherPlayerAddr), newTicketCountOtherPlayer)] | |
362 | + | } | |
363 | + | ||
364 | + | ||
365 | + | ||
366 | + | @Callable(i) | |
367 | + | func withdrawRewards () = { | |
368 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
369 | + | let feeCollectorAddr = addressFromStringValue(getStringValue(feeCollectorAddressKey)) | |
370 | + | let currentAvailableRewards = tryGetInteger(addressAvailableRewardsKey(callerAddrStr)) | |
371 | + | let withdrawFee = fraction(currentAvailableRewards, withdrawFeePercent, 100) | |
372 | + | let actualAvailableRewards = ((currentAvailableRewards - invFee) - withdrawFee) | |
373 | + | if ((0 >= currentAvailableRewards)) | |
374 | + | then throw("No available rewards to withdraw") | |
375 | + | else [IntegerEntry(addressAvailableRewardsKey(callerAddrStr), 0), ScriptTransfer(i.caller, actualAvailableRewards, unit), ScriptTransfer(feeCollectorAddr, withdrawFee, unit)] | |
376 | + | } | |
377 | + | ||
378 | + | ||
379 | + | ||
380 | + | @Callable(i) | |
381 | + | func buyTickets () = { | |
382 | + | let pmt = if ((size(i.payments) == 1)) | |
383 | + | then i.payments[0] | |
384 | + | else throw("Please attach exactly one payment") | |
385 | + | if (isDefined(pmt.assetId)) | |
386 | + | then throw("Tickets can only ibe purchased in Waves") | |
387 | + | else if ((pmt.amount != ticketPrice)) | |
388 | + | then throw((("The payment must be of exactly " + toString(ticketPriceInt)) + " waves")) | |
389 | + | else { | |
390 | + | let callerAddrStr = toBase58String(i.caller.bytes) | |
391 | + | let currentTicketsCount = tryGetInteger(getTicketsCountKey(callerAddrStr)) | |
392 | + | $Tuple2([IntegerEntry(getTicketsCountKey(callerAddrStr), (currentTicketsCount + 1))], 1) | |
393 | + | } | |
394 | + | } | |
395 | + | ||
396 | + | ||
397 | + | @Verifier(tx) | |
398 | + | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
399 | + |
github/deemru/w8io/026f985 24.98 ms ◑