tx · 9SBX3dfcNRaE1YYScpjBKmgUbjb6gj997RL4P9e5TZyD 3NCGjbgqZVk7eaqrLMEnEnqRhozNm1KTG5z: -0.01900000 Waves 2025.01.18 06:00 [3463974] smart account 3NCGjbgqZVk7eaqrLMEnEnqRhozNm1KTG5z > SELF 0.00000000 Waves
{ "type": 13, "id": "9SBX3dfcNRaE1YYScpjBKmgUbjb6gj997RL4P9e5TZyD", "fee": 1900000, "feeAssetId": null, "timestamp": 1737169280406, "version": 2, "chainId": 84, "sender": "3NCGjbgqZVk7eaqrLMEnEnqRhozNm1KTG5z", "senderPublicKey": "5CoDbXxoqnvJpx9GrS6M4G5GYJXh9rcoiXJz7RYTPVkL", "proofs": [ "4HLBj5mNqwyi4nsnfCtWTHw2PPUeYC9GkG9xJh4qUpM8ZN2iuSRAcTWn1rJTa2ssc3LDzkx1Ux56J7o2bmtj9vDX" ], "script": "base64:BgIyCAISCgoIAQgEAhEYFBISBAoCCAgSABIDCgEBEgASABIAEgMKAQESABIDCgEIEgMKAQg4AANNMTYAgICE/qbe4READlNUQUtFUlNfQU1PVU5UAICAzvK+j6oFAAtURUFNX0FNT1VOVACAgJqm6q/jAQANTUFSS0VUX0FNT1VOVACAgJzl/Z7UCgALWUVBUl9CTE9DS1MJAGgCAO0CAKALAAxTVEFLRV9QRVJJT0QJAGgCAAUFC1lFQVJfQkxPQ0tTAAtCTEVTU19QUklDRQCA0NvD9AIADUxPVFRFUllfUFJJQ0UAgNDbw/QCABNERUZBVUxUX0ZPTU9fUEVSSU9EADwAD01JTl9GT01PX1BFUklPRAACAAxSQU5ET01fREVMQVkAAgAUQ1VSUkVOVF9KQUNLUE9UX1BFUkMAMgARTkVYVF9KQUNLUE9UX1BFUkMAFAAJVEVBTV9QRVJDAAoADmdvcmNBc3NldElkS2V5Agtnb3JjQXNzZXRJZAALZ29yY0Fzc2V0SWQJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAoQgBBQ5nb3JjQXNzZXRJZEtleQIWR09SQ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JAKwCAgIdJXMlZF9fZm9tb1RvdGFsU3Rha2VkQW1vdW50X18JAKQDAQUVZm9tb1RvdGFsU3Rha2VkQW1vdW50CQDMCAIJAKwCAgIZJXMlZF9fZm9tb1VzZXJOdW1TdGFrZXNfXwkApAMBBRFmb21vVXNlck51bVN0YWtlcwkAzAgCCQCsAgICHCVzJWRfX2ZvbW9Vc2VyU3Rha2VkQW1vdW50X18JAKQDAQUUZm9tb1VzZXJTdGFrZWRBbW91bnQJAMwIAgkArAICAhclcyVkX19mb21vVXNlck51bVdpbnNfXwkApAMBBQ9mb21vVXNlck51bVdpbnMJAMwIAgkArAICAhklcyVkX19mb21vVXNlcldvbkFtb3VudF9fCQCkAwEFEWZvbW9Vc2VyV29uQW1vdW50CQDMCAIJAKwCAgIeJXMlc19fZm9tb0Zhdm9yaXRlQnlOdW1HYW1lc19fBRZmb21vRmF2b3JpdGVCeU51bUdhbWVzCQDMCAIJAKwCAgIcJXMlc19fZm9tb0Zhdm9yaXRlQnlBbW91bnRfXwUUZm9tb0Zhdm9yaXRlQnlBbW91bnQFA25pbAFpARJ3YWxsZXRJbmZvUkVBRE9OTFkBDnVzZXJBZGRyZXNzT3B0CQCUCgIFA25pbAkBDndhbGxldEludGVybmFsAQUOdXNlckFkZHJlc3NPcHQAhHadyA==", "height": 3463974, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5pUuYSYw9wB9644JowHGSgNhtUFdWUsJKj43DRdCDNKs Next: none Diff:
Old | New | Differences | |
---|---|---|---|
233 | 233 | let statsActions = ((if (isDefined(userNumStakes)) | |
234 | 234 | then [IntegerEntry(userNumStakesKey, (value(userNumStakes) + 1)), IntegerEntry(userStakedAmountKey, (valueOrElse(getInteger(userStakedAmountKey), 0) + BLESS_PRICE))] | |
235 | 235 | else [IntegerEntry(fomoNumUniquePlayersKey, (fomoNumUniquePlayers + 1)), IntegerEntry(userNumStakesKey, 1), IntegerEntry(userStakedAmountKey, BLESS_PRICE)]) ++ [IntegerEntry(fomoTotalNumStakesKey, (valueOrElse(getInteger(fomoTotalNumStakesKey), 0) + 1)), IntegerEntry(fomoTotalStakedAmountKey, (valueOrElse(getInteger(fomoTotalStakedAmountKey), 0) + BLESS_PRICE))]) | |
236 | - | (([IntegerEntry(lastFomoTimeKey, height), StringEntry(lastFomoPlayerKey, toString(i.caller)), ScriptTransfer(addressFromStringValue(getStringValue(teamWalletAddrKey)), deltaTeamAmount, gorcAssetId), IntegerEntry(stakersAmountLeftKey, (getIntegerValue(stakersAmountLeftKey) + deltaStakersAmount)), IntegerEntry(stakersAmountTotalKey, (getIntegerValue(stakersAmountTotalKey) + deltaStakersAmount))] ++ changeActions) ++ fomoActions) | |
236 | + | ((([IntegerEntry(lastFomoTimeKey, height), StringEntry(lastFomoPlayerKey, toString(i.caller)), ScriptTransfer(addressFromStringValue(getStringValue(teamWalletAddrKey)), deltaTeamAmount, gorcAssetId), IntegerEntry(stakersAmountLeftKey, (getIntegerValue(stakersAmountLeftKey) + deltaStakersAmount)), IntegerEntry(stakersAmountTotalKey, (getIntegerValue(stakersAmountTotalKey) + deltaStakersAmount))] ++ changeActions) ++ fomoActions) ++ statsActions) | |
237 | 237 | } | |
238 | 238 | } | |
239 | 239 | } | |
289 | 289 | then throw("GORC payments only!") | |
290 | 290 | else { | |
291 | 291 | let addr = toString(i.caller) | |
292 | - | let $ | |
293 | - | let userAmount = $ | |
294 | - | let amountLeftTotal = $ | |
292 | + | let $t01216812219 = gorcStats(addr) | |
293 | + | let userAmount = $t01216812219._1 | |
294 | + | let amountLeftTotal = $t01216812219._2 | |
295 | 295 | let userAmountKey = stakedAmountByUserKey(addr) | |
296 | 296 | let claimActions = if ((userAmount > 0)) | |
297 | 297 | then [ScriptTransfer(i.caller, userAmount, gorcAssetId)] | |
315 | 315 | if ((0 > (oldAmount - amount))) | |
316 | 316 | then throw(((("You have only " + fixedPoint(oldAmount, 8)) + " GORC staked, tried to unstake ") + fixedPoint(amount, 8))) | |
317 | 317 | else { | |
318 | - | let $ | |
319 | - | let userAmount = $ | |
320 | - | let amountLeftTotal = $ | |
318 | + | let $t01318013231 = gorcStats(addr) | |
319 | + | let userAmount = $t01318013231._1 | |
320 | + | let amountLeftTotal = $t01318013231._2 | |
321 | 321 | let claimActions = if ((userAmount > 0)) | |
322 | 322 | then [ScriptTransfer(i.caller, userAmount, gorcAssetId)] | |
323 | 323 | else nil | |
333 | 333 | then throw("No payments required") | |
334 | 334 | else { | |
335 | 335 | let addr = toString(i.caller) | |
336 | - | let $ | |
337 | - | let userAmount = $ | |
338 | - | let amountLeftTotal = $ | |
336 | + | let $t01379513846 = gorcStats(addr) | |
337 | + | let userAmount = $t01379513846._1 | |
338 | + | let amountLeftTotal = $t01379513846._2 | |
339 | 339 | let claimActions = if ((userAmount > 0)) | |
340 | 340 | then [ScriptTransfer(i.caller, userAmount, gorcAssetId)] | |
341 | 341 | else nil | |
421 | 421 | ||
422 | 422 | @Callable(i) | |
423 | 423 | func statsREADONLY (userAddrOpt) = { | |
424 | - | let $ | |
425 | - | let userAmount = $ | |
426 | - | let amountLeftTotal = $ | |
424 | + | let $t01819518253 = gorcStats(userAddrOpt) | |
425 | + | let userAmount = $t01819518253._1 | |
426 | + | let amountLeftTotal = $t01819518253._2 | |
427 | 427 | let currFomoJackpot = valueOrElse(getInteger(currFomoJackpotKey), 0) | |
428 | 428 | let nextFomoJackpot = valueOrElse(getInteger(nextFomoJackpotKey), 0) | |
429 | 429 | let lastFomoTime = valueOrElse(getInteger(lastFomoTimeKey), 0) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let M16 = 10000000000000000 | |
5 | 5 | ||
6 | 6 | let STAKERS_AMOUNT = 3000000000000000 | |
7 | 7 | ||
8 | 8 | let TEAM_AMOUNT = 1000000000000000 | |
9 | 9 | ||
10 | 10 | let MARKET_AMOUNT = 6000000000000000 | |
11 | 11 | ||
12 | 12 | let YEAR_BLOCKS = (365 * 1440) | |
13 | 13 | ||
14 | 14 | let STAKE_PERIOD = (5 * YEAR_BLOCKS) | |
15 | 15 | ||
16 | 16 | let BLESS_PRICE = 100000000000 | |
17 | 17 | ||
18 | 18 | let LOTTERY_PRICE = 100000000000 | |
19 | 19 | ||
20 | 20 | let DEFAULT_FOMO_PERIOD = 60 | |
21 | 21 | ||
22 | 22 | let MIN_FOMO_PERIOD = 2 | |
23 | 23 | ||
24 | 24 | let RANDOM_DELAY = 2 | |
25 | 25 | ||
26 | 26 | let CURRENT_JACKPOT_PERC = 50 | |
27 | 27 | ||
28 | 28 | let NEXT_JACKPOT_PERC = 20 | |
29 | 29 | ||
30 | 30 | let TEAM_PERC = 10 | |
31 | 31 | ||
32 | 32 | let gorcAssetIdKey = "gorcAssetId" | |
33 | 33 | ||
34 | 34 | let gorcAssetId = valueOrErrorMessage(getBinary(gorcAssetIdKey), "GORC is not issued yet") | |
35 | 35 | ||
36 | 36 | let issueTimeKey = "issueTime" | |
37 | 37 | ||
38 | 38 | let stakersAmountTotalKey = "stakersAmountTotal" | |
39 | 39 | ||
40 | 40 | let stakersAmountLeftKey = "stakersAmountLeft" | |
41 | 41 | ||
42 | 42 | let stakedAmountTotalKey = "stakedTotal" | |
43 | 43 | ||
44 | 44 | func stakedAmountByUserKey (addr) = ("stakedAmount_" + addr) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func lastClaimTimeByUserKey (addr) = ("lastClaimTime_" + addr) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | let fomoEpochKey = "fomoEpoch" | |
51 | 51 | ||
52 | 52 | let currFomoPeriodKey = "currFomoPeriod" | |
53 | 53 | ||
54 | 54 | let lastFomoTimeKey = "lastFomoTime" | |
55 | 55 | ||
56 | 56 | let currFomoJackpotKey = "currFomoJackpot" | |
57 | 57 | ||
58 | 58 | let nextFomoJackpotKey = "nextFomoJackpot" | |
59 | 59 | ||
60 | 60 | let lastFomoPlayerKey = "lastFomoPlayer" | |
61 | 61 | ||
62 | 62 | let lastFomoWinnerKey = "lastFomoWinner" | |
63 | 63 | ||
64 | 64 | let lastFomoWinnerAmountKey = "lastFomoWinnerAmount" | |
65 | 65 | ||
66 | 66 | let lastFomoWinnerTimeKey = "lastFomoWinnerTime" | |
67 | 67 | ||
68 | 68 | let teamWalletAddrKey = "teamWalletAddr" | |
69 | 69 | ||
70 | 70 | let brokerAddrKey = "brokerAddr" | |
71 | 71 | ||
72 | 72 | func keyCommit (address) = ("finishBlockFor_" + address) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func keyGuess (address) = ("guessFor_" + address) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func keySalt (address) = ("saltFor_" + address) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | let currLotteryJackpotKey = "currLotteryJackpot" | |
82 | 82 | ||
83 | 83 | let nextLotteryJackpotKey = "nextLotteryJackpot" | |
84 | 84 | ||
85 | 85 | let lastLotteryWinnerKey = "lastLotteryWinner" | |
86 | 86 | ||
87 | 87 | let lastLotteryWinnerAmountKey = "lastLotteryWinnerAmount" | |
88 | 88 | ||
89 | 89 | let lastLotteryWinnerTimeKey = "lastLotteryWinnerTime" | |
90 | 90 | ||
91 | 91 | let fomoNumUniquePlayersKey = "fomoNumUniquePlayers" | |
92 | 92 | ||
93 | 93 | let fomoTotalNumStakesKey = "fomoTotalNumStakes" | |
94 | 94 | ||
95 | 95 | let fomoTotalStakedAmountKey = "fomoTotalStakedAmount" | |
96 | 96 | ||
97 | 97 | func fomoUserNumStakesKey (address) = ("fomoUserNumStakes_" + address) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func fomoUserStakedAmountKey (address) = ("fomoUserStakedAmount_" + address) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func fomoUserNumWinsKey (address) = ("fomoUserNumWins_" + address) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func fomoUserWonAmountKey (address) = ("fomoUserWonAmount_" + address) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | let fomoFavoriteByNumGamesKey = "fomoFavoriteByNumGames" | |
110 | 110 | ||
111 | 111 | let fomoFavoriteByAmountKey = "fomoFavoriteByAmount" | |
112 | 112 | ||
113 | 113 | func gorcStats (userAddrOpt) = { | |
114 | 114 | let amountLeftTotal = valueOrElse(getInteger(stakersAmountLeftKey), 0) | |
115 | 115 | let lastUserTime = valueOrElse(getInteger(lastClaimTimeByUserKey(userAddrOpt)), -1) | |
116 | 116 | if ((0 > lastUserTime)) | |
117 | 117 | then $Tuple2(0, amountLeftTotal) | |
118 | 118 | else { | |
119 | 119 | let issueTime = valueOrErrorMessage(getInteger(issueTimeKey), "GORC is not issued yet") | |
120 | 120 | let nowLimited = min([height, (issueTime + STAKE_PERIOD)]) | |
121 | 121 | let userShares = valueOrElse(getInteger(stakedAmountByUserKey(userAddrOpt)), 0) | |
122 | 122 | let totalShares = valueOrElse(getInteger(stakedAmountTotalKey), 0) | |
123 | 123 | let stakersAmountTotal = valueOrElse(getInteger(stakersAmountTotalKey), STAKERS_AMOUNT) | |
124 | 124 | let userTemporal = fraction(stakersAmountTotal, (nowLimited - lastUserTime), STAKE_PERIOD) | |
125 | 125 | let userAmount = if ((totalShares != 0)) | |
126 | 126 | then fraction(userTemporal, userShares, totalShares) | |
127 | 127 | else 0 | |
128 | 128 | $Tuple2(userAmount, (amountLeftTotal - userAmount)) | |
129 | 129 | } | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func fixedPoint (val,decimals) = { | |
134 | 134 | let tenPow = pow(10, 0, decimals, 0, 0, DOWN) | |
135 | 135 | let lowPart = toString((val % tenPow)) | |
136 | 136 | let zeroes = drop(toString(tenPow), (1 + size(lowPart))) | |
137 | 137 | (((toString((val / tenPow)) + ".") + zeroes) + lowPart) | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func getNewLeaders (oldLeadersStr,newAddr,newAmount) = { | |
142 | 142 | let newCandidate = ((newAddr + "_") + toString(newAmount)) | |
143 | 143 | if ((oldLeadersStr == "")) | |
144 | 144 | then [newCandidate] | |
145 | 145 | else { | |
146 | 146 | func sortByAmount (acc,el) = { | |
147 | 147 | let addr_amount = split(el, "_") | |
148 | 148 | let addr = addr_amount[0] | |
149 | 149 | let amount = parseIntValue(addr_amount[1]) | |
150 | 150 | if (acc._2) | |
151 | 151 | then if ((addr == newAddr)) | |
152 | 152 | then acc | |
153 | 153 | else $Tuple2((acc._1 :+ el), true) | |
154 | 154 | else if ((addr == newAddr)) | |
155 | 155 | then $Tuple2((acc._1 :+ newCandidate), true) | |
156 | 156 | else if ((amount > newAmount)) | |
157 | 157 | then $Tuple2((acc._1 :+ el), false) | |
158 | 158 | else $Tuple2(((acc._1 :+ newCandidate) :+ el), true) | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | let result = { | |
162 | 162 | let $l = split(oldLeadersStr, ":") | |
163 | 163 | let $s = size($l) | |
164 | 164 | let $acc0 = $Tuple2(nil, false) | |
165 | 165 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
166 | 166 | then $a | |
167 | 167 | else sortByAmount($a, $l[$i]) | |
168 | 168 | ||
169 | 169 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
170 | 170 | then $a | |
171 | 171 | else throw("List size exceeds 3") | |
172 | 172 | ||
173 | 173 | $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3) | |
174 | 174 | } | |
175 | 175 | let arr = result._1 | |
176 | 176 | if (result._2) | |
177 | 177 | then if ((size(arr) > 3)) | |
178 | 178 | then [arr[0], arr[1], arr[2]] | |
179 | 179 | else arr | |
180 | 180 | else if ((size(arr) >= 3)) | |
181 | 181 | then arr | |
182 | 182 | else (arr :+ newCandidate) | |
183 | 183 | } | |
184 | 184 | } | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func fomoInternal (i) = if ((size(i.payments) != 1)) | |
188 | 188 | then throw("exactly 1 payment must be attached") | |
189 | 189 | else { | |
190 | 190 | let pmt = i.payments[0] | |
191 | 191 | let amt = pmt.amount | |
192 | 192 | if (if (!(isDefined(pmt.assetId))) | |
193 | 193 | then true | |
194 | 194 | else (value(pmt.assetId) != gorcAssetId)) | |
195 | 195 | then throw("GORC payments only!") | |
196 | 196 | else { | |
197 | 197 | let change = (amt - BLESS_PRICE) | |
198 | 198 | if ((0 > change)) | |
199 | 199 | then throw(((("You need to sacrifice " + fixedPoint(BLESS_PRICE, 8)) + " GORC, but I see only ") + fixedPoint(amt, 8))) | |
200 | 200 | else { | |
201 | 201 | let changeActions = if ((change > 0)) | |
202 | 202 | then [ScriptTransfer(i.caller, change, gorcAssetId)] | |
203 | 203 | else nil | |
204 | 204 | let lastFomoTime = valueOrElse(getInteger(lastFomoTimeKey), 0) | |
205 | 205 | let lastFomoPlayer = valueOrElse(getString(lastFomoPlayerKey), "") | |
206 | 206 | let lastFomoNumWinsKey = fomoUserNumWinsKey(lastFomoPlayer) | |
207 | 207 | let lastFomoWonAmountKey = fomoUserWonAmountKey(lastFomoPlayer) | |
208 | 208 | let lastFomoNumWins = valueOrElse(getInteger(lastFomoNumWinsKey), 0) | |
209 | 209 | let lastFomoWonAmount = valueOrElse(getInteger(lastFomoWonAmountKey), 0) | |
210 | 210 | let deltaCurrJackpot = fraction(BLESS_PRICE, CURRENT_JACKPOT_PERC, 100) | |
211 | 211 | let deltaNextJackpot = fraction(BLESS_PRICE, NEXT_JACKPOT_PERC, 100) | |
212 | 212 | let deltaTeamAmount = fraction(BLESS_PRICE, TEAM_PERC, 100) | |
213 | 213 | let deltaStakersAmount = (((BLESS_PRICE - deltaCurrJackpot) - deltaNextJackpot) - deltaTeamAmount) | |
214 | 214 | let fomoEpoch = valueOrElse(getInteger(fomoEpochKey), 0) | |
215 | 215 | let currFomoPeriod = valueOrElse(getInteger(currFomoPeriodKey), DEFAULT_FOMO_PERIOD) | |
216 | 216 | let nextFomoPeriod = max([MIN_FOMO_PERIOD, (currFomoPeriod - 1)]) | |
217 | 217 | let fomoCurrJackpot = valueOrElse(getInteger(currFomoJackpotKey), 0) | |
218 | 218 | let fomoNextJackpot = valueOrElse(getInteger(nextFomoJackpotKey), 0) | |
219 | 219 | let oldLeadersByNum = valueOrElse(getString(fomoFavoriteByNumGamesKey), "") | |
220 | 220 | let oldLeadersByAmount = valueOrElse(getString(fomoFavoriteByAmountKey), "") | |
221 | 221 | let fomoActions = if (if (if ((height > (lastFomoTime + currFomoPeriod))) | |
222 | 222 | then (fomoCurrJackpot > 0) | |
223 | 223 | else false) | |
224 | 224 | then (lastFomoPlayer != "") | |
225 | 225 | else false) | |
226 | 226 | then [ScriptTransfer(addressFromStringValue(lastFomoPlayer), fomoCurrJackpot, gorcAssetId), StringEntry(lastFomoWinnerKey, lastFomoPlayer), IntegerEntry(lastFomoWinnerAmountKey, fomoCurrJackpot), IntegerEntry(lastFomoWinnerTimeKey, lastBlock.timestamp), IntegerEntry(currFomoJackpotKey, (fomoNextJackpot + deltaCurrJackpot)), IntegerEntry(nextFomoJackpotKey, deltaNextJackpot), IntegerEntry(fomoEpochKey, (fomoEpoch + 1)), IntegerEntry(currFomoPeriodKey, DEFAULT_FOMO_PERIOD), StringEntry(fomoFavoriteByNumGamesKey, makeString(getNewLeaders(oldLeadersByNum, lastFomoPlayer, (lastFomoNumWins + 1)), ":")), StringEntry(fomoFavoriteByAmountKey, makeString(getNewLeaders(oldLeadersByAmount, lastFomoPlayer, (lastFomoWonAmount + fomoCurrJackpot)), ":")), IntegerEntry(lastFomoNumWinsKey, (lastFomoNumWins + 1)), IntegerEntry(lastFomoWonAmountKey, (lastFomoWonAmount + fomoCurrJackpot))] | |
227 | 227 | else [IntegerEntry(currFomoJackpotKey, (fomoCurrJackpot + deltaCurrJackpot)), IntegerEntry(nextFomoJackpotKey, (fomoNextJackpot + deltaNextJackpot)), IntegerEntry(currFomoPeriodKey, nextFomoPeriod)] | |
228 | 228 | let addr = toString(i.caller) | |
229 | 229 | let fomoNumUniquePlayers = valueOrElse(getInteger(fomoNumUniquePlayersKey), 0) | |
230 | 230 | let userNumStakesKey = fomoUserNumStakesKey(addr) | |
231 | 231 | let userStakedAmountKey = fomoUserStakedAmountKey(addr) | |
232 | 232 | let userNumStakes = getInteger(userNumStakesKey) | |
233 | 233 | let statsActions = ((if (isDefined(userNumStakes)) | |
234 | 234 | then [IntegerEntry(userNumStakesKey, (value(userNumStakes) + 1)), IntegerEntry(userStakedAmountKey, (valueOrElse(getInteger(userStakedAmountKey), 0) + BLESS_PRICE))] | |
235 | 235 | else [IntegerEntry(fomoNumUniquePlayersKey, (fomoNumUniquePlayers + 1)), IntegerEntry(userNumStakesKey, 1), IntegerEntry(userStakedAmountKey, BLESS_PRICE)]) ++ [IntegerEntry(fomoTotalNumStakesKey, (valueOrElse(getInteger(fomoTotalNumStakesKey), 0) + 1)), IntegerEntry(fomoTotalStakedAmountKey, (valueOrElse(getInteger(fomoTotalStakedAmountKey), 0) + BLESS_PRICE))]) | |
236 | - | (([IntegerEntry(lastFomoTimeKey, height), StringEntry(lastFomoPlayerKey, toString(i.caller)), ScriptTransfer(addressFromStringValue(getStringValue(teamWalletAddrKey)), deltaTeamAmount, gorcAssetId), IntegerEntry(stakersAmountLeftKey, (getIntegerValue(stakersAmountLeftKey) + deltaStakersAmount)), IntegerEntry(stakersAmountTotalKey, (getIntegerValue(stakersAmountTotalKey) + deltaStakersAmount))] ++ changeActions) ++ fomoActions) | |
236 | + | ((([IntegerEntry(lastFomoTimeKey, height), StringEntry(lastFomoPlayerKey, toString(i.caller)), ScriptTransfer(addressFromStringValue(getStringValue(teamWalletAddrKey)), deltaTeamAmount, gorcAssetId), IntegerEntry(stakersAmountLeftKey, (getIntegerValue(stakersAmountLeftKey) + deltaStakersAmount)), IntegerEntry(stakersAmountTotalKey, (getIntegerValue(stakersAmountTotalKey) + deltaStakersAmount))] ++ changeActions) ++ fomoActions) ++ statsActions) | |
237 | 237 | } | |
238 | 238 | } | |
239 | 239 | } | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | func getRandomNumber (maxValue,salt,entropy) = if ((0 >= maxValue)) | |
243 | 243 | then throw("maxValue should be > 0") | |
244 | 244 | else { | |
245 | 245 | let randomHash = sha256_16Kb((salt + entropy)) | |
246 | 246 | (toInt(randomHash) % maxValue) | |
247 | 247 | } | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func walletInternal (userAddressOpt) = { | |
251 | 251 | let addr = addressFromString(userAddressOpt) | |
252 | 252 | let balance = if (isDefined(addr)) | |
253 | 253 | then wavesBalance(value(addr)) | |
254 | 254 | else BalanceDetails(0, 0, 0, 0) | |
255 | 255 | let gorcBalance = if (isDefined(addr)) | |
256 | 256 | then assetBalance(value(addr), gorcAssetId) | |
257 | 257 | else 0 | |
258 | 258 | let stakedGorc = valueOrElse(getInteger(stakedAmountByUserKey(userAddressOpt)), 0) | |
259 | 259 | [("%s%d__wavesBalance__" + toString(balance.available)), ("%s%d__gorcBalance__" + toString(gorcBalance)), ("%s%d__stakedGorc__" + toString(stakedGorc))] | |
260 | 260 | } | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | @Callable(i) | |
264 | 264 | func testArgs (intVal,strVal,boolVal,binVal,arrInt,arrStr,arrBool,arrBin) = nil | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | ||
268 | 268 | @Callable(i) | |
269 | 269 | func constructorV1 (teamWalletAddr,brokerAddr) = if ((i.caller != this)) | |
270 | 270 | then throw("Permission denied") | |
271 | 271 | else { | |
272 | 272 | let issuedAmount = M16 | |
273 | 273 | let issue = Issue("GORC", "Meme coin by God of Random Chance. Visit https://gorc.meme, sacrifice to the God of Random and you will receive an answer to any question or a blessing. Lucky one gets a Gift of God", issuedAmount, 8, false, unit, 0) | |
274 | 274 | let assetId = calculateAssetId(issue) | |
275 | 275 | [issue, BinaryEntry(gorcAssetIdKey, assetId), IntegerEntry(issueTimeKey, height), IntegerEntry(stakersAmountLeftKey, STAKERS_AMOUNT), IntegerEntry(stakersAmountTotalKey, STAKERS_AMOUNT), StringEntry(teamWalletAddrKey, teamWalletAddr), StringEntry(brokerAddrKey, brokerAddr), ScriptTransfer(addressFromStringValue(teamWalletAddr), TEAM_AMOUNT, assetId), ScriptTransfer(addressFromStringValue(brokerAddr), MARKET_AMOUNT, assetId), IntegerEntry(fomoEpochKey, 0), IntegerEntry(currFomoPeriodKey, DEFAULT_FOMO_PERIOD)] | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | ||
280 | 280 | @Callable(i) | |
281 | 281 | func stakeGorc () = if ((size(i.payments) != 1)) | |
282 | 282 | then throw("exactly 1 payment must be attached") | |
283 | 283 | else { | |
284 | 284 | let pmt = i.payments[0] | |
285 | 285 | let amt = pmt.amount | |
286 | 286 | if (if (!(isDefined(pmt.assetId))) | |
287 | 287 | then true | |
288 | 288 | else (value(pmt.assetId) != gorcAssetId)) | |
289 | 289 | then throw("GORC payments only!") | |
290 | 290 | else { | |
291 | 291 | let addr = toString(i.caller) | |
292 | - | let $ | |
293 | - | let userAmount = $ | |
294 | - | let amountLeftTotal = $ | |
292 | + | let $t01216812219 = gorcStats(addr) | |
293 | + | let userAmount = $t01216812219._1 | |
294 | + | let amountLeftTotal = $t01216812219._2 | |
295 | 295 | let userAmountKey = stakedAmountByUserKey(addr) | |
296 | 296 | let claimActions = if ((userAmount > 0)) | |
297 | 297 | then [ScriptTransfer(i.caller, userAmount, gorcAssetId)] | |
298 | 298 | else nil | |
299 | 299 | $Tuple2((claimActions ++ [IntegerEntry(stakedAmountTotalKey, (valueOrElse(getInteger(stakedAmountTotalKey), 0) + amt)), IntegerEntry(userAmountKey, (valueOrElse(getInteger(userAmountKey), 0) + amt)), IntegerEntry(lastClaimTimeByUserKey(addr), height), IntegerEntry(stakersAmountLeftKey, amountLeftTotal)]), userAmount) | |
300 | 300 | } | |
301 | 301 | } | |
302 | 302 | ||
303 | 303 | ||
304 | 304 | ||
305 | 305 | @Callable(i) | |
306 | 306 | func unstakeGorc (amount) = if ((0 >= amount)) | |
307 | 307 | then throw("Amount should be positive") | |
308 | 308 | else { | |
309 | 309 | let addr = toString(i.caller) | |
310 | 310 | if ((size(i.payments) != 0)) | |
311 | 311 | then throw("No payments required") | |
312 | 312 | else { | |
313 | 313 | let userAmountKey = stakedAmountByUserKey(addr) | |
314 | 314 | let oldAmount = valueOrElse(getInteger(userAmountKey), 0) | |
315 | 315 | if ((0 > (oldAmount - amount))) | |
316 | 316 | then throw(((("You have only " + fixedPoint(oldAmount, 8)) + " GORC staked, tried to unstake ") + fixedPoint(amount, 8))) | |
317 | 317 | else { | |
318 | - | let $ | |
319 | - | let userAmount = $ | |
320 | - | let amountLeftTotal = $ | |
318 | + | let $t01318013231 = gorcStats(addr) | |
319 | + | let userAmount = $t01318013231._1 | |
320 | + | let amountLeftTotal = $t01318013231._2 | |
321 | 321 | let claimActions = if ((userAmount > 0)) | |
322 | 322 | then [ScriptTransfer(i.caller, userAmount, gorcAssetId)] | |
323 | 323 | else nil | |
324 | 324 | $Tuple2((claimActions ++ [IntegerEntry(stakedAmountTotalKey, (valueOrErrorMessage(getInteger(stakedAmountTotalKey), "No GORC staked") - amount)), IntegerEntry(userAmountKey, (oldAmount - amount)), IntegerEntry(lastClaimTimeByUserKey(addr), height), IntegerEntry(stakersAmountLeftKey, amountLeftTotal)]), 0) | |
325 | 325 | } | |
326 | 326 | } | |
327 | 327 | } | |
328 | 328 | ||
329 | 329 | ||
330 | 330 | ||
331 | 331 | @Callable(i) | |
332 | 332 | func claimGorc () = if ((size(i.payments) != 0)) | |
333 | 333 | then throw("No payments required") | |
334 | 334 | else { | |
335 | 335 | let addr = toString(i.caller) | |
336 | - | let $ | |
337 | - | let userAmount = $ | |
338 | - | let amountLeftTotal = $ | |
336 | + | let $t01379513846 = gorcStats(addr) | |
337 | + | let userAmount = $t01379513846._1 | |
338 | + | let amountLeftTotal = $t01379513846._2 | |
339 | 339 | let claimActions = if ((userAmount > 0)) | |
340 | 340 | then [ScriptTransfer(i.caller, userAmount, gorcAssetId)] | |
341 | 341 | else nil | |
342 | 342 | $Tuple2((claimActions ++ [IntegerEntry(lastClaimTimeByUserKey(addr), height), IntegerEntry(stakersAmountLeftKey, amountLeftTotal)]), userAmount) | |
343 | 343 | } | |
344 | 344 | ||
345 | 345 | ||
346 | 346 | ||
347 | 347 | @Callable(i) | |
348 | 348 | func answerMe () = $Tuple2(fomoInternal(i), toInt(i.transactionId)) | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | ||
352 | 352 | @Callable(i) | |
353 | 353 | func blessMe () = $Tuple2(fomoInternal(i), 42) | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | ||
357 | 357 | @Callable(i) | |
358 | 358 | func commitGuess (guess) = { | |
359 | 359 | let addr = toString(i.caller) | |
360 | 360 | let finishKey = keyCommit(addr) | |
361 | 361 | let guessKey = keyGuess(addr) | |
362 | 362 | if (isDefined(getInteger(finishKey))) | |
363 | 363 | then throw("You already made a bet, please use it") | |
364 | 364 | else if (if ((0 > guess)) | |
365 | 365 | then true | |
366 | 366 | else (guess > 11)) | |
367 | 367 | then throw("The number should be between 0 and 11") | |
368 | 368 | else if ((size(i.payments) != 1)) | |
369 | 369 | then throw("exactly 1 payment must be attached") | |
370 | 370 | else { | |
371 | 371 | let pmt = i.payments[0] | |
372 | 372 | let amt = pmt.amount | |
373 | 373 | if (if (!(isDefined(pmt.assetId))) | |
374 | 374 | then true | |
375 | 375 | else (value(pmt.assetId) != gorcAssetId)) | |
376 | 376 | then throw("GORC payments only!") | |
377 | 377 | else { | |
378 | 378 | let change = (amt - LOTTERY_PRICE) | |
379 | 379 | if ((0 > change)) | |
380 | 380 | then throw(((("You need to sacrifice " + fixedPoint(LOTTERY_PRICE, 8)) + " GORC, but I see only ") + fixedPoint(amt, 8))) | |
381 | 381 | else { | |
382 | 382 | let changeActions = if ((change > 0)) | |
383 | 383 | then [ScriptTransfer(i.caller, change, gorcAssetId)] | |
384 | 384 | else nil | |
385 | 385 | let finishBlock = (height + RANDOM_DELAY) | |
386 | 386 | let deltaCurrJackpot = fraction(LOTTERY_PRICE, CURRENT_JACKPOT_PERC, 100) | |
387 | 387 | let deltaNextJackpot = fraction(LOTTERY_PRICE, NEXT_JACKPOT_PERC, 100) | |
388 | 388 | let deltaTeamAmount = fraction(LOTTERY_PRICE, TEAM_PERC, 100) | |
389 | 389 | let deltaStakersAmount = (((LOTTERY_PRICE - deltaCurrJackpot) - deltaNextJackpot) - deltaTeamAmount) | |
390 | 390 | $Tuple2(([IntegerEntry(finishKey, finishBlock), IntegerEntry(guessKey, guess), IntegerEntry(currLotteryJackpotKey, (valueOrElse(getInteger(currLotteryJackpotKey), 0) + deltaCurrJackpot)), IntegerEntry(nextLotteryJackpotKey, (valueOrElse(getInteger(nextLotteryJackpotKey), 0) + deltaNextJackpot)), ScriptTransfer(addressFromStringValue(getStringValue(teamWalletAddrKey)), deltaTeamAmount, gorcAssetId), IntegerEntry(stakersAmountLeftKey, (getIntegerValue(stakersAmountLeftKey) + deltaStakersAmount)), IntegerEntry(stakersAmountTotalKey, (getIntegerValue(stakersAmountTotalKey) + deltaStakersAmount)), StringEntry(keySalt(addr), toBase58String(i.transactionId))] ++ changeActions), finishBlock) | |
391 | 391 | } | |
392 | 392 | } | |
393 | 393 | } | |
394 | 394 | } | |
395 | 395 | ||
396 | 396 | ||
397 | 397 | ||
398 | 398 | @Callable(i) | |
399 | 399 | func guessLottery () = { | |
400 | 400 | let addr = toString(i.caller) | |
401 | 401 | let finishKey = keyCommit(addr) | |
402 | 402 | let guessKey = keyGuess(addr) | |
403 | 403 | let guess = valueOrErrorMessage(getInteger(guessKey), "You have not made a bet") | |
404 | 404 | let finishBlock = valueOrErrorMessage(getInteger(finishKey), "You have not made a bet") | |
405 | 405 | if ((finishBlock > height)) | |
406 | 406 | then throw(("Random number is not ready yet, wait until height = " + toString(finishBlock))) | |
407 | 407 | else { | |
408 | 408 | let entropy = value(value(blockInfoByHeight(finishBlock)).vrf) | |
409 | 409 | let saltKey = keySalt(addr) | |
410 | 410 | let salt = fromBase58String(valueOrElse(getString(saltKey), "DEFAULT")) | |
411 | 411 | let rand = getRandomNumber(12, salt, entropy) | |
412 | 412 | let currJackpot = valueOrElse(getInteger(currLotteryJackpotKey), 0) | |
413 | 413 | let winActions = if ((rand == guess)) | |
414 | 414 | then [ScriptTransfer(i.caller, currJackpot, gorcAssetId), StringEntry(lastLotteryWinnerKey, addr), IntegerEntry(lastLotteryWinnerAmountKey, currJackpot), IntegerEntry(lastLotteryWinnerTimeKey, lastBlock.timestamp), IntegerEntry(currLotteryJackpotKey, valueOrElse(getInteger(nextLotteryJackpotKey), 0)), IntegerEntry(nextLotteryJackpotKey, 0)] | |
415 | 415 | else nil | |
416 | 416 | $Tuple2(([DeleteEntry(finishKey), DeleteEntry(guessKey), DeleteEntry(saltKey)] ++ winActions), rand) | |
417 | 417 | } | |
418 | 418 | } | |
419 | 419 | ||
420 | 420 | ||
421 | 421 | ||
422 | 422 | @Callable(i) | |
423 | 423 | func statsREADONLY (userAddrOpt) = { | |
424 | - | let $ | |
425 | - | let userAmount = $ | |
426 | - | let amountLeftTotal = $ | |
424 | + | let $t01819518253 = gorcStats(userAddrOpt) | |
425 | + | let userAmount = $t01819518253._1 | |
426 | + | let amountLeftTotal = $t01819518253._2 | |
427 | 427 | let currFomoJackpot = valueOrElse(getInteger(currFomoJackpotKey), 0) | |
428 | 428 | let nextFomoJackpot = valueOrElse(getInteger(nextFomoJackpotKey), 0) | |
429 | 429 | let lastFomoTime = valueOrElse(getInteger(lastFomoTimeKey), 0) | |
430 | 430 | let lastFomoPlayer = valueOrElse(getString(lastFomoPlayerKey), "") | |
431 | 431 | let fomoEpoch = valueOrElse(getInteger(fomoEpochKey), 0) | |
432 | 432 | let currFomoPeriod = valueOrElse(getInteger(currFomoPeriodKey), DEFAULT_FOMO_PERIOD) | |
433 | 433 | let currLotteryJackpot = valueOrElse(getInteger(currLotteryJackpotKey), 0) | |
434 | 434 | let nextLotteryJackpot = valueOrElse(getInteger(nextLotteryJackpotKey), 0) | |
435 | 435 | let finishKey = keyCommit(userAddrOpt) | |
436 | 436 | let guessKey = keyGuess(userAddrOpt) | |
437 | 437 | let guess = valueOrElse(getInteger(guessKey), -1) | |
438 | 438 | let finishBlock = valueOrElse(getInteger(finishKey), -1) | |
439 | 439 | let lastFomoWinner = valueOrElse(getString(lastFomoWinnerKey), "") | |
440 | 440 | let lastFomoWinnerAmount = valueOrElse(getInteger(lastFomoWinnerAmountKey), 0) | |
441 | 441 | let lastFomoWinnerTime = valueOrElse(getInteger(lastFomoWinnerTimeKey), 0) | |
442 | 442 | let lastLotteryWinner = valueOrElse(getString(lastLotteryWinnerKey), "") | |
443 | 443 | let lastLotteryWinnerAmount = valueOrElse(getInteger(lastLotteryWinnerAmountKey), 0) | |
444 | 444 | let lastLotteryWinnerTime = valueOrElse(getInteger(lastLotteryWinnerTimeKey), 0) | |
445 | 445 | let gorcStakedTotal = valueOrElse(getInteger(stakedAmountTotalKey), 0) | |
446 | 446 | let fomoNumUniquePlayers = valueOrElse(getInteger(fomoNumUniquePlayersKey), 0) | |
447 | 447 | let fomoTotalNumStakes = valueOrElse(getInteger(fomoTotalNumStakesKey), 0) | |
448 | 448 | let fomoTotalStakedAmount = valueOrElse(getInteger(fomoTotalStakedAmountKey), 0) | |
449 | 449 | let fomoUserNumStakes = valueOrElse(getInteger(fomoUserNumStakesKey(userAddrOpt)), 0) | |
450 | 450 | let fomoUserStakedAmount = valueOrElse(getInteger(fomoUserStakedAmountKey(userAddrOpt)), 0) | |
451 | 451 | let fomoUserNumWins = valueOrElse(getInteger(fomoUserNumWinsKey(userAddrOpt)), 0) | |
452 | 452 | let fomoUserWonAmount = valueOrElse(getInteger(fomoUserWonAmountKey(userAddrOpt)), 0) | |
453 | 453 | let fomoFavoriteByNumGames = valueOrElse(getString(fomoFavoriteByNumGamesKey), "") | |
454 | 454 | let fomoFavoriteByAmount = valueOrElse(getString(fomoFavoriteByAmountKey), "") | |
455 | 455 | $Tuple2(nil, [("%s%d__gorcAvailToClaim__" + toString(userAmount)), ("%s%d__fomoEpoch__" + toString(fomoEpoch)), ("%s%d__currFomoPeriod__" + toString(currFomoPeriod)), ("%s%d__currFomoJackpotAmount__" + toString(currFomoJackpot)), ("%s%d__nextFomoJackpotAmount__" + toString(nextFomoJackpot)), ("%s%d__currLotteryJackpotAmount__" + toString(currLotteryJackpot)), ("%s%d__nextLotteryJackpotAmount__" + toString(nextLotteryJackpot)), ("%s%d__lastFomoTime__" + toString(lastFomoTime)), ("%s%s__lastFomoPlayer__" + lastFomoPlayer), ("%s%d__amountLeftTotal__" + toString(amountLeftTotal)), ("%s%d__finishBlock__" + toString(finishBlock)), ("%s%d__guess__" + toString(guess)), ("%s%s__lastFomoWinner__" + lastFomoWinner), ("%s%d__lastFomoWinnerAmount__" + toString(lastFomoWinnerAmount)), ("%s%d__lastFomoWinnerTime__" + toString(lastFomoWinnerTime)), ("%s%s__lastLotteryWinner__" + lastLotteryWinner), ("%s%d__lastLotteryWinnerAmount__" + toString(lastLotteryWinnerAmount)), ("%s%d__lastLotteryWinnerTime__" + toString(lastLotteryWinnerTime)), ("%s%d__gorcIssued__" + toString(M16)), ("%s%d__gorcStakedTotal__" + toString(gorcStakedTotal)), ("%s%d__fomoNumUniquePlayers__" + toString(fomoNumUniquePlayers)), ("%s%d__fomoTotalNumStakes__" + toString(fomoTotalNumStakes)), ("%s%d__fomoTotalStakedAmount__" + toString(fomoTotalStakedAmount)), ("%s%d__fomoUserNumStakes__" + toString(fomoUserNumStakes)), ("%s%d__fomoUserStakedAmount__" + toString(fomoUserStakedAmount)), ("%s%d__fomoUserNumWins__" + toString(fomoUserNumWins)), ("%s%d__fomoUserWonAmount__" + toString(fomoUserWonAmount)), ("%s%s__fomoFavoriteByNumGames__" + fomoFavoriteByNumGames), ("%s%s__fomoFavoriteByAmount__" + fomoFavoriteByAmount)]) | |
456 | 456 | } | |
457 | 457 | ||
458 | 458 | ||
459 | 459 | ||
460 | 460 | @Callable(i) | |
461 | 461 | func walletInfoREADONLY (userAddressOpt) = $Tuple2(nil, walletInternal(userAddressOpt)) | |
462 | 462 | ||
463 | 463 |
github/deemru/w8io/169f3d6 71.25 ms ◑