tx · 3e5CXG2iCWSH2eGSnTp6aDivT3qrgZ6KV2dik5wfxxgs 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh: -0.04000000 Waves 2024.12.25 21:38 [3430439] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves
{ "type": 13, "id": "3e5CXG2iCWSH2eGSnTp6aDivT3qrgZ6KV2dik5wfxxgs", "fee": 4000000, "feeAssetId": null, "timestamp": 1735151985211, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "5WB5q3thmd2Ku97vPYCNRTn6CDi1tSviuRyDYJK5deF9yBRdKneXjfhjXzAwkVYcwi9T9PMQvjLmGkfjGveCBT28" ], "script": "base64:BgJbCAISABIECgIICBIDCgEEEgMKAQESABIECgIIARIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgMKAQgSABIDCgEIEgASABIAEgASAwoBAZQBAANTRVACAl9fAAVNVUxUNgDAhD0ABU1VTFQ3AICt4gQABU1VTFQ4AIDC1y8ABk1VTFQxNACAgOmDsd4WAApEQVlfTUlMTElTAIC4mSkAFVVTRFQyQUNSRVNfTVVMVElQTElFUgAKABNPTkVfUEVSQ0VOVF9ESVZJU09SAGQADFJBTkRPTV9ERUxBWQACABRORlRfQ0hFU1RfUFJJQ0VfVVNEVADAlrECAAVjaGFpbgkAyQECCQDKAQIIBQR0aGlzBWJ5dGVzAAEAAQATcHJvbW9TdGFydEVuZEJsb2NrcwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAkAzAgCCQDMCAIAl5mSAgkAzAgCAKCBkwIFA25pbAUDbmlsAwkAAAIBAVQFByRtYXRjaDAJAMwIAgkAzAgCAIOv0QEJAMwIAgCjutEBBQNuaWwFA25pbAkAAgECDVVua25vd24gY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QAwEFAiRsCgAFJGFjYzAJAJYKBAUIbWF4VmFsdWUIBQFpDXRyYW5zYWN0aW9uSWQFCHByb21vTWFwBQNuaWwKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBCnNpbmdsZURyYXcCBQIkYQkAkQMCBQIkbAUCJGkKAQUkZjBfMgICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECFExpc3Qgc2l6ZSBleGNlZWRzIDE2CQEFJGYwXzICCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECBQUkYWNjMAAAAAEAAgADAAQABQAGAAcACAAJAAoACwAMAA0ADgAPABAJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCCQEUa2V5UHJvbW9Sb3VuZFdpbm5lcnMBBQdyb3VuZElkCQC6CQIIBQVkcmF3cwJfNAIBXwUDbmlsAAAA8QVlzw==", "height": 3430439, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C3kCkASt9eaZtFagg4G5HxtGkU1ZrBYjPPybQ9ZWayx3 Next: 9fqJ2KyrEM1stmpHwfNePJjc3Crb4T7cuEXoj79fAMAd Diff:
Old | New | Differences | |
---|---|---|---|
1268 | 1268 | then throw("Permission denied") | |
1269 | 1269 | else { | |
1270 | 1270 | let today = (height / DAY_BLOCKS) | |
1271 | - | let maxValue = valueOrElse(getInteger( | |
1271 | + | let maxValue = valueOrElse(getInteger(keyTotalPromoRoundTickets(roundId)), 0) | |
1272 | 1272 | if ((maxValue == 0)) | |
1273 | 1273 | then throw("No tickets to draw") | |
1274 | 1274 | else { |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SEP = "__" | |
5 | 5 | ||
6 | 6 | let MULT6 = 1000000 | |
7 | 7 | ||
8 | 8 | let MULT7 = 10000000 | |
9 | 9 | ||
10 | 10 | let MULT8 = 100000000 | |
11 | 11 | ||
12 | 12 | let MULT14 = 100000000000000 | |
13 | 13 | ||
14 | 14 | let DAY_MILLIS = 86400000 | |
15 | 15 | ||
16 | 16 | let USDT2ACRES_MULTIPLIER = 10 | |
17 | 17 | ||
18 | 18 | let ONE_PERCENT_DIVISOR = 100 | |
19 | 19 | ||
20 | 20 | let RANDOM_DELAY = 2 | |
21 | 21 | ||
22 | 22 | let NFT_CHEST_PRICE_USDT = 5000000 | |
23 | 23 | ||
24 | 24 | let chain = take(drop(this.bytes, 1), 1) | |
25 | 25 | ||
26 | 26 | let promoStartEndBlocks = match chain { | |
27 | 27 | case _ => | |
28 | 28 | if ((base58'2W' == $match0)) | |
29 | 29 | then [[4492439, 4505760]] | |
30 | 30 | else if ((base58'2T' == $match0)) | |
31 | 31 | then [[3430275, 3431715]] | |
32 | 32 | else throw("Unknown chain") | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | let DAY_BLOCKS = match chain { | |
36 | 36 | case _ => | |
37 | 37 | if ((base58'2W' == $match0)) | |
38 | 38 | then 1440 | |
39 | 39 | else if ((base58'2T' == $match0)) | |
40 | 40 | then 60 | |
41 | 41 | else throw("Unknown chain") | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | let WEEK_BLOCKS = match chain { | |
45 | 45 | case _ => | |
46 | 46 | if ((base58'2W' == $match0)) | |
47 | 47 | then 10080 | |
48 | 48 | else if ((base58'2T' == $match0)) | |
49 | 49 | then 180 | |
50 | 50 | else throw("Unknown chain") | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | let VRF_OFFSET = match chain { | |
54 | 54 | case _ => | |
55 | 55 | if ((base58'2W' == $match0)) | |
56 | 56 | then 0 | |
57 | 57 | else if ((base58'2T' == $match0)) | |
58 | 58 | then 1146000 | |
59 | 59 | else throw("Unknown chain") | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | let usdtAssetId = match chain { | |
63 | 63 | case _ => | |
64 | 64 | if ((base58'2W' == $match0)) | |
65 | 65 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
66 | 66 | else if ((base58'2T' == $match0)) | |
67 | 67 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
68 | 68 | else throw("Unknown chain") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | let defaultRest2AddressStr = match chain { | |
72 | 72 | case _ => | |
73 | 73 | if ((base58'2W' == $match0)) | |
74 | 74 | then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8" | |
75 | 75 | else if ((base58'2T' == $match0)) | |
76 | 76 | then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv" | |
77 | 77 | else throw("Unknown chain") | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | let arbitrageDelay = match chain { | |
81 | 81 | case _ => | |
82 | 82 | if ((base58'2W' == $match0)) | |
83 | 83 | then DAY_MILLIS | |
84 | 84 | else if ((base58'2T' == $match0)) | |
85 | 85 | then 60000 | |
86 | 86 | else throw("Unknown chain") | |
87 | 87 | } | |
88 | 88 | ||
89 | 89 | let oldStakingContractStr = match chain { | |
90 | 90 | case _ => | |
91 | 91 | if ((base58'2W' == $match0)) | |
92 | 92 | then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1" | |
93 | 93 | else if ((base58'2T' == $match0)) | |
94 | 94 | then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm" | |
95 | 95 | else throw("Unknown chain") | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | let IdxCfgAcres2Dapp = 1 | |
102 | 102 | ||
103 | 103 | let IdxCfgWlgDapp = 2 | |
104 | 104 | ||
105 | 105 | let IdxCfgInvestFundDapp = 5 | |
106 | 106 | ||
107 | 107 | let IdxCfgMarketDapp = 6 | |
108 | 108 | ||
109 | 109 | func keyRestCfg () = "%s__restConfig" | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func keyRest2Address () = "%s__rest2Addr" | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx))) | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr)) | |
122 | 122 | ||
123 | 123 | let rest2Cfg = readRestCfgOrFail(rest2Contract) | |
124 | 124 | ||
125 | 125 | let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp) | |
126 | 126 | ||
127 | 127 | let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp) | |
128 | 128 | ||
129 | 129 | let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp) | |
130 | 130 | ||
131 | 131 | let marketContract = getContractAddressOrFail(rest2Cfg, IdxCfgMarketDapp) | |
132 | 132 | ||
133 | 133 | let oldAcresContractKey = "oldAcresContract" | |
134 | 134 | ||
135 | 135 | func keyBlocked () = "contractsBlocked" | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func keyLastWeekTxIdByUser (addr) = ("lastWeekTxIdByUser_" + addr) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func keyCurWeekTxIdByUser (addr) = ("curWeekTxIdByUser_" + addr) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func keyCommit (address) = ("finishBlockFor_" + address) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | let wlgAssetIdKey = "wlg_assetId" | |
148 | 148 | ||
149 | 149 | let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet") | |
150 | 150 | ||
151 | 151 | let acresIssuedAmountKey = "acresIssuedAmount" | |
152 | 152 | ||
153 | 153 | let acresAssetIdKey = "acresAssetId" | |
154 | 154 | ||
155 | 155 | let acresAssetId = valueOrErrorMessage(getBinary(acres2Contract, acresAssetIdKey), "ACRES is not issued yet") | |
156 | 156 | ||
157 | 157 | func keyAcresStakedTimeByUser (addr) = ("acresStakedTimeByUser_" + addr) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func keyStakedTimeByAssetIdAndOwner (assetId,addr) = ((("st_" + assetId) + "_") + addr) | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func keyStakedNFTsByOwner (ownerAddr) = ("stakedNFTsByOwner_" + ownerAddr) | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | let keyLastPromoRound = "lastPromoRound" | |
173 | 173 | ||
174 | 174 | func keyUserPromoAcres (address) = ("promoAcres_" + address) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func keyUserPromoRoundAcres (roundId,address) = ((("promoRoundAcres_" + toString(roundId)) + "_") + address) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func keyUserPromoTickets (address) = ("promoTickets_" + address) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func keyUserPromoRoundTickets (roundId,address) = ((("promoRoundTickets_" + toString(roundId)) + "_") + address) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | let keyTotalPromoTickets = "totalPromoTickets" | |
187 | 187 | ||
188 | 188 | func keyTotalPromoRoundTickets (roundId) = ("totalPromoRoundTickets_" + toString(roundId)) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | let keyPromoMap = "promoMap" | |
192 | 192 | ||
193 | 193 | func keyPromoRoundMap (roundId) = ("promoRoundMap_" + toString(roundId)) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func keyPromoRoundWinners (roundId) = ("promoRoundWinners_" + toString(roundId)) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | let promoRoundAwards = [[0, 500000000, 100000000, 100000000, 100000000, 100000000, 100000000]] | |
200 | 200 | ||
201 | 201 | func asInt (v) = match v { | |
202 | 202 | case n: Int => | |
203 | 203 | n | |
204 | 204 | case _ => | |
205 | 205 | throw("fail to cast into Int") | |
206 | 206 | } | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | func asTuple5Ints (val) = match val { | |
210 | 210 | case t: (Int, Int, Int, Int, Int) => | |
211 | 211 | t | |
212 | 212 | case _ => | |
213 | 213 | throw("fail to cast into (Int, Int, Int, Int, Int)") | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func asTuple4Ints (val) = match val { | |
218 | 218 | case t: (Int, Int, Int, Int) => | |
219 | 219 | t | |
220 | 220 | case _ => | |
221 | 221 | throw("fail to cast into (Int, Int, Int, Int)") | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func asTuple3Ints (val) = match val { | |
226 | 226 | case t: (Int, Int, Int) => | |
227 | 227 | t | |
228 | 228 | case _ => | |
229 | 229 | throw("fail to cast into (Int, Int, Int)") | |
230 | 230 | } | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func asTuple2Ints (val) = match val { | |
234 | 234 | case t: (Int, Int) => | |
235 | 235 | t | |
236 | 236 | case _ => | |
237 | 237 | throw("fail to cast into (Int, Int)") | |
238 | 238 | } | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func fixedPoint (val,decimals) = { | |
242 | 242 | let tenPow = pow(10, 0, decimals, 0, 0, DOWN) | |
243 | 243 | let lowPart = toString((val % tenPow)) | |
244 | 244 | let zeroes = drop(toString(tenPow), (1 + size(lowPart))) | |
245 | 245 | (((toString((val / tenPow)) + ".") + zeroes) + lowPart) | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func getRandomNumber (maxValue,salt,entropy) = if ((0 >= maxValue)) | |
250 | 250 | then throw("maxValue should be > 0") | |
251 | 251 | else { | |
252 | 252 | let randomHash = sha256_16Kb((salt + entropy)) | |
253 | 253 | (toInt(randomHash) % maxValue) | |
254 | 254 | } | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func padL (val,len) = { | |
258 | 258 | let valS = toString(val) | |
259 | 259 | let zeroes = drop(toString(pow(10, 0, (len - size(valS)), 0, 0, DOWN)), 1) | |
260 | 260 | (zeroes + valS) | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | let M6_ = 1000000 | |
265 | 265 | ||
266 | 266 | let M8_ = 100000000 | |
267 | 267 | ||
268 | 268 | let wlgIssuedAmtKey = "wlg_issuedAmount" | |
269 | 269 | ||
270 | 270 | let zbIssuedAmtKey = "zbill_issuedAmount" | |
271 | 271 | ||
272 | 272 | func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func keyFarmingPowerByUser (addr) = ("farmingPowerByUser_" + addr) | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | let acresStakdTotalKey = "acresStakedAmountTotal" | |
279 | 279 | ||
280 | 280 | let totalFarmingPowerKey = "totalFarmingPower" | |
281 | 281 | ||
282 | 282 | let MAX_WL_NFTS = 3 | |
283 | 283 | ||
284 | 284 | let MAX_ARK_NFTS = 1 | |
285 | 285 | ||
286 | 286 | let ARK_NFT_BONUS = 5000 | |
287 | 287 | ||
288 | 288 | let MAX_NFTS_STAKED_BY_USER = 4 | |
289 | 289 | ||
290 | 290 | let keyNftTotalIssued = "nftTotalIssued" | |
291 | 291 | ||
292 | 292 | let keyNftTotalBurned = "nftTotalBurned" | |
293 | 293 | ||
294 | 294 | let keyWlNftTotalStaked = "WlNftTotalStaked" | |
295 | 295 | ||
296 | 296 | let keyArkNftTotalStaked = "ArkNftTotalStaked" | |
297 | 297 | ||
298 | 298 | func keyNftNumberByAssetId (assetId) = ("nftNumberByAssetId_" + assetId) | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | func keyUserWlNftNumber (addr) = ("userWlNftNumber_" + addr) | |
302 | 302 | ||
303 | 303 | ||
304 | 304 | func keyUserArkNftNumber (addr) = ("userArkNftNumber_" + addr) | |
305 | 305 | ||
306 | 306 | ||
307 | 307 | func keyUserFullBonus (addr) = ("userFullBonus_" + addr) | |
308 | 308 | ||
309 | 309 | ||
310 | 310 | let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
311 | 311 | ||
312 | 312 | func getLevelByAcres (acres) = { | |
313 | 313 | let acr = ((acres + 99999999) / M8_) | |
314 | 314 | func checker (acc,item) = if ((item >= acr)) | |
315 | 315 | then acc | |
316 | 316 | else (acc + 1) | |
317 | 317 | ||
318 | 318 | let $l = levelAcres | |
319 | 319 | let $s = size($l) | |
320 | 320 | let $acc0 = 0 | |
321 | 321 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
322 | 322 | then $a | |
323 | 323 | else checker($a, $l[$i]) | |
324 | 324 | ||
325 | 325 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
326 | 326 | then $a | |
327 | 327 | else throw("List size exceeds 10") | |
328 | 328 | ||
329 | 329 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4)) | |
334 | 334 | ||
335 | 335 | ||
336 | 336 | func getFarmingPowerByAcresAndBonus (acres,bonus6) = { | |
337 | 337 | let notBonused = getFarmingPowerByAcres(acres) | |
338 | 338 | $Tuple2(fraction(notBonused, (M6_ + bonus6), M6_), notBonused) | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | let teamAddrKey = "teamAddr" | |
343 | 343 | ||
344 | 344 | func keyLastWlgTradeTimeByUser (addr) = ("lastArbTimeUser_" + addr) | |
345 | 345 | ||
346 | 346 | ||
347 | 347 | let OLD_STAKING_DEADL = 1733346000000 | |
348 | 348 | ||
349 | 349 | let MAX_LANDS_TO_CONVERT = 14 | |
350 | 350 | ||
351 | 351 | let keyLastAcresSellTime = "lastAcresSellTime" | |
352 | 352 | ||
353 | 353 | let keyLastLimitLeft = "lastLimitLeft" | |
354 | 354 | ||
355 | 355 | let names = ["Gold shovel", "Pickaxe", "Santa's mitten"] | |
356 | 356 | ||
357 | 357 | let descriptions = ["Reward for early birds", "Increases FarmPower", "New Year promo reward"] | |
358 | 358 | ||
359 | 359 | let idxDescrShovel = 0 | |
360 | 360 | ||
361 | 361 | let idxDescrPickaxe = 1 | |
362 | 362 | ||
363 | 363 | let idxDescrMitten = 2 | |
364 | 364 | ||
365 | 365 | let rarityThresholds = [5, 10, 20] | |
366 | 366 | ||
367 | 367 | let idxThresholdC = 0 | |
368 | 368 | ||
369 | 369 | let idxThresholdU = 1 | |
370 | 370 | ||
371 | 371 | let idxThresholdL = 2 | |
372 | 372 | ||
373 | 373 | let namez = ["SHOVEL", "PICKAXE", "MITTEN"] | |
374 | 374 | ||
375 | 375 | let idxNameShovel = 0 | |
376 | 376 | ||
377 | 377 | let idxNamePickaxe = 1 | |
378 | 378 | ||
379 | 379 | let idxNameMitten = 2 | |
380 | 380 | ||
381 | 381 | let contentKeyz = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP", "contentMittenP"] | |
382 | 382 | ||
383 | 383 | let idxKeyC = 0 | |
384 | 384 | ||
385 | 385 | let idxKeySP = 4 | |
386 | 386 | ||
387 | 387 | let idxKeyMP = 5 | |
388 | 388 | ||
389 | 389 | let rarityNames = ["Common", "Uncommon", "Legendary", "Epic", "Promo"] | |
390 | 390 | ||
391 | 391 | let idxRarityC = 0 | |
392 | 392 | ||
393 | 393 | let idxRarityU = 1 | |
394 | 394 | ||
395 | 395 | let idxRarityL = 2 | |
396 | 396 | ||
397 | 397 | let idxRarityE = 3 | |
398 | 398 | ||
399 | 399 | let idxRarityP = 4 | |
400 | 400 | ||
401 | 401 | let collectionz = ["Digging tools", "New Year gifts"] | |
402 | 402 | ||
403 | 403 | let idxCollDig = 0 | |
404 | 404 | ||
405 | 405 | let idxCollNewYear = 1 | |
406 | 406 | ||
407 | 407 | let bonusTypez = ["FarmPower"] | |
408 | 408 | ||
409 | 409 | let idxBonusTypeFp = 0 | |
410 | 410 | ||
411 | 411 | func prolog (i) = if (if ((i.originCaller != rest2Contract)) | |
412 | 412 | then valueOrElse(getBoolean(keyBlocked()), false) | |
413 | 413 | else false) | |
414 | 414 | then throw("Contracts are under maintenance") | |
415 | 415 | else { | |
416 | 416 | let addr = toString(i.originCaller) | |
417 | 417 | let week = (height / WEEK_BLOCKS) | |
418 | 418 | let lastWeekKey = keyLastWeekTxIdByUser(addr) | |
419 | 419 | let lastWeekTxIdByUser = getString(lastWeekKey) | |
420 | 420 | let txId = toBase58String(i.transactionId) | |
421 | 421 | let wtx = ((toString(week) + "_") + txId) | |
422 | 422 | let curWeekKey = keyCurWeekTxIdByUser(addr) | |
423 | 423 | if (isDefined(lastWeekTxIdByUser)) | |
424 | 424 | then { | |
425 | 425 | let lastWeekTx = split(value(lastWeekTxIdByUser), "_") | |
426 | 426 | if ((lastWeekTx[0] == toString(week))) | |
427 | 427 | then [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)] | |
428 | 428 | else if ((lastWeekTx[0] == toString((week - 1)))) | |
429 | 429 | then [StringEntry(curWeekKey, wtx)] | |
430 | 430 | else { | |
431 | 431 | let curWeekTxIdByUser = getStringValue(curWeekKey) | |
432 | 432 | let curWeekTx = split(curWeekTxIdByUser, "_") | |
433 | 433 | if ((curWeekTx[0] == toString(week))) | |
434 | 434 | then [StringEntry(curWeekKey, wtx)] | |
435 | 435 | else [StringEntry(lastWeekKey, curWeekTxIdByUser), StringEntry(curWeekKey, wtx)] | |
436 | 436 | } | |
437 | 437 | } | |
438 | 438 | else [StringEntry(lastWeekKey, wtx), StringEntry(curWeekKey, wtx)] | |
439 | 439 | } | |
440 | 440 | ||
441 | 441 | ||
442 | 442 | func createNftDescrCustom (contKey,nftSerial,collection,name,descr,rarity,bonus,bonusType) = (((((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + contKey) + "\", ") + "\"number\": ") + toString(nftSerial)) + ", ") + "\"collection\": \"") + collection) + "\", ") + "\"name\": \"") + name) + "\", ") + "\"description\": \"") + descr) + "\", ") + "\"rare\": \"") + rarity) + "\", ") + "\"bonus\": ") + toString(bonus)) + ", ") + "\"bonusType\": \"") + bonusType) + "\"}") | |
443 | 443 | ||
444 | 444 | ||
445 | 445 | func issueNftCustom (nameIdx,contKeyIdx,collIdx,rarityIdx,bonusPerc,descrIdx,bonusTypeIdx,addr) = { | |
446 | 446 | let nftSerial = valueOrElse(getInteger(keyNftTotalIssued), 0) | |
447 | 447 | let rarity = rarityNames[rarityIdx] | |
448 | 448 | let name = (((namez[nameIdx] + "-") + take(rarity, 1)) + toString(bonusPerc)) | |
449 | 449 | let issue = Issue(name, createNftDescrCustom(contentKeyz[contKeyIdx], nftSerial, collectionz[collIdx], names[nameIdx], descriptions[descrIdx], rarityNames[rarityIdx], bonusPerc, bonusTypez[bonusTypeIdx]), 1, 0, false) | |
450 | 450 | let nftAssetId = calculateAssetId(issue) | |
451 | 451 | $Tuple2([issue, IntegerEntry(keyNftTotalIssued, (nftSerial + 1)), IntegerEntry(keyNftNumberByAssetId(toBase58String(nftAssetId)), nftSerial), ScriptTransfer(addr, 1, nftAssetId)], nftAssetId) | |
452 | 452 | } | |
453 | 453 | ||
454 | 454 | ||
455 | 455 | func bonusByDescription (descr) = if (!(contains(descr, "\"bonusType\": \"FarmPower\""))) | |
456 | 456 | then throw(("NFT is not supported: " + descr)) | |
457 | 457 | else { | |
458 | 458 | let bonusStr = split_4C(split_4C(descr, "\"bonus\":")[1], ",")[0] | |
459 | 459 | parseIntValue(drop(bonusStr, (valueOrElse(lastIndexOf(bonusStr, " "), -1) + 1))) | |
460 | 460 | } | |
461 | 461 | ||
462 | 462 | ||
463 | 463 | func rarityIdxByDescriprion (descr) = if (!(contains(descr, "\"rare\""))) | |
464 | 464 | then throw(("NFT is not supported: " + descr)) | |
465 | 465 | else { | |
466 | 466 | let rarityStr = split_4C(split_4C(split_4C(descr, "\"rare\"")[1], ",")[0], "\"")[1] | |
467 | 467 | value(indexOf(rarityNames, rarityStr)) | |
468 | 468 | } | |
469 | 469 | ||
470 | 470 | ||
471 | 471 | func stakeUnstakeAcresInternal (amt,address,bonusDelta) = if (if ((amt == 0)) | |
472 | 472 | then (bonusDelta == 0) | |
473 | 473 | else false) | |
474 | 474 | then $Tuple2(nil, 0) | |
475 | 475 | else { | |
476 | 476 | let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil) | |
477 | 477 | if ((wlgResult == wlgResult)) | |
478 | 478 | then { | |
479 | 479 | let now = lastBlock.timestamp | |
480 | 480 | let timeKey = keyAcresStakedTimeByUser(address) | |
481 | 481 | let amountKey = keyAcresStakedAmtByUser(address) | |
482 | 482 | let oldAcresAmount = valueOrElse(getInteger(amountKey), 0) | |
483 | 483 | if (if ((0 > amt)) | |
484 | 484 | then (0 > (oldAcresAmount + amt)) | |
485 | 485 | else false) | |
486 | 486 | then throw(((("You have only " + fixedPoint(oldAcresAmount, 8)) + " ACRES staked, tried to unstake ") + fixedPoint(-(amt), 8))) | |
487 | 487 | else { | |
488 | 488 | let newAcresAmount = (oldAcresAmount + amt) | |
489 | 489 | let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0) | |
490 | 490 | let userFpKey = keyFarmingPowerByUser(address) | |
491 | 491 | let oldFp = valueOrElse(getInteger(userFpKey), 0) | |
492 | 492 | let bonusKey = keyUserFullBonus(address) | |
493 | 493 | let oldBonus = valueOrElse(getInteger(acres2Contract, bonusKey), 0) | |
494 | 494 | if (if ((0 > bonusDelta)) | |
495 | 495 | then (0 > (oldBonus + bonusDelta)) | |
496 | 496 | else false) | |
497 | 497 | then throw((((("You have only " + fixedPoint(oldBonus, 4)) + "% bonus, and tried to unstake ") + fixedPoint(-(bonusDelta), 4)) + "%")) | |
498 | 498 | else { | |
499 | 499 | let $t066166715 = getFarmingPowerByAcresAndBonus(newAcresAmount, (oldBonus + bonusDelta)) | |
500 | 500 | let newBonusedFp = $t066166715._1 | |
501 | 501 | let ignored = $t066166715._2 | |
502 | 502 | let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0) | |
503 | 503 | let acresActions = if ((amt == 0)) | |
504 | 504 | then nil | |
505 | 505 | else [IntegerEntry(amountKey, newAcresAmount), IntegerEntry(acresStakdTotalKey, (oldTotal + amt))] | |
506 | 506 | let bonusActions = if ((bonusDelta == 0)) | |
507 | 507 | then nil | |
508 | 508 | else [IntegerEntry(bonusKey, (oldBonus + bonusDelta))] | |
509 | 509 | $Tuple2(((((acresActions ++ bonusActions) :+ IntegerEntry(timeKey, lastBlock.timestamp)) :+ IntegerEntry(userFpKey, newBonusedFp)) :+ IntegerEntry(totalFarmingPowerKey, ((oldTotalFp + newBonusedFp) - oldFp))), wlgResult) | |
510 | 510 | } | |
511 | 511 | } | |
512 | 512 | } | |
513 | 513 | else throw("Strict value is not equal to itself.") | |
514 | 514 | } | |
515 | 515 | ||
516 | 516 | ||
517 | 517 | func getWlgPrice (usdtBalanceCorrection) = { | |
518 | 518 | let issuedAmount = valueOrErrorMessage(getInteger(wlgContract, wlgIssuedAmtKey), "WLGOLD is not issued yet") | |
519 | 519 | let wlgUsd = assetBalance(wlgContract, usdtAssetId) | |
520 | 520 | let acres2Usd = (assetBalance(acres2Contract, usdtAssetId) - usdtBalanceCorrection) | |
521 | 521 | let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0)) | |
522 | 522 | let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal) | |
523 | 523 | fraction(totalFundsUsd, MULT8, issuedAmount) | |
524 | 524 | } | |
525 | 525 | ||
526 | 526 | ||
527 | 527 | func getSwapLimitAcres () = { | |
528 | 528 | let wlgUsd = assetBalance(wlgContract, usdtAssetId) | |
529 | 529 | let acres2Usd = assetBalance(this, usdtAssetId) | |
530 | 530 | let investFundTotal = (assetBalance(investFundContract, usdtAssetId) + valueOrElse(getInteger(investFundContract, zbIssuedAmtKey), 0)) | |
531 | 531 | let defaultLimit = (((acres2Usd + wlgUsd) + investFundTotal) / ONE_PERCENT_DIVISOR) | |
532 | 532 | let lastLimitLeft = valueOrElse(getInteger(keyLastLimitLeft), defaultLimit) | |
533 | 533 | let lastTime = valueOrElse(getInteger(keyLastAcresSellTime), 0) | |
534 | 534 | let now = lastBlock.timestamp | |
535 | 535 | let currentLimit = (lastLimitLeft + fraction(defaultLimit, (now - lastTime), DAY_MILLIS)) | |
536 | 536 | let limitLeftUsdt = min([currentLimit, defaultLimit]) | |
537 | 537 | $Tuple2(IntegerEntry(keyLastAcresSellTime, now), limitLeftUsdt) | |
538 | 538 | } | |
539 | 539 | ||
540 | 540 | ||
541 | 541 | let arkOracle = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og") | |
542 | 542 | ||
543 | 543 | let incubator = valueOrElse(getString(arkOracle, "static_incubatorAddress"), "") | |
544 | 544 | ||
545 | 545 | let breeder = valueOrElse(getString(arkOracle, "static_breederAddress"), "") | |
546 | 546 | ||
547 | 547 | let turtleIncubator = valueOrElse(getString(arkOracle, "static_turtleIncubatorAddress"), "") | |
548 | 548 | ||
549 | 549 | let turtleBreeder = valueOrElse(getString(arkOracle, "static_turtleBreederAddress"), "") | |
550 | 550 | ||
551 | 551 | let canineIncubator = valueOrElse(getString(arkOracle, "static_canineIncubatorAddress"), "") | |
552 | 552 | ||
553 | 553 | let canineBreeder = valueOrElse(getString(arkOracle, "static_canineBreederAddress"), "") | |
554 | 554 | ||
555 | 555 | let felineIncubator = valueOrElse(getString(arkOracle, "static_felineIncubatorAddress"), "") | |
556 | 556 | ||
557 | 557 | let felineBreeder = valueOrElse(getString(arkOracle, "static_felineBreederAddress"), "") | |
558 | 558 | ||
559 | 559 | let mutantBreeder = valueOrElse(getString(arkOracle, "static_mutantIncubatorAddress"), "") | |
560 | 560 | ||
561 | 561 | func isArkimalIssued (nfo) = { | |
562 | 562 | let issuer = toString(nfo.issuer) | |
563 | 563 | if (if (if (if (if (if (if (if (if (if ((chain == base58'2T')) | |
564 | 564 | then (issuer == oldStakingContractStr) | |
565 | 565 | else false) | |
566 | 566 | then true | |
567 | 567 | else (issuer == incubator)) | |
568 | 568 | then true | |
569 | 569 | else (issuer == breeder)) | |
570 | 570 | then true | |
571 | 571 | else (issuer == turtleIncubator)) | |
572 | 572 | then true | |
573 | 573 | else (issuer == turtleBreeder)) | |
574 | 574 | then true | |
575 | 575 | else (issuer == canineIncubator)) | |
576 | 576 | then true | |
577 | 577 | else (issuer == canineBreeder)) | |
578 | 578 | then true | |
579 | 579 | else (issuer == felineIncubator)) | |
580 | 580 | then true | |
581 | 581 | else (issuer == felineBreeder)) | |
582 | 582 | then nfo.name | |
583 | 583 | else if ((issuer == mutantBreeder)) | |
584 | 584 | then nfo.description | |
585 | 585 | else "" | |
586 | 586 | } | |
587 | 587 | ||
588 | 588 | ||
589 | 589 | func stakeNftInternal (addr,assetIdStr,bonus6,userNumKey,totalNumKey,limit) = { | |
590 | 590 | let nftNumber = valueOrElse(getInteger(userNumKey), 0) | |
591 | 591 | if ((nftNumber >= limit)) | |
592 | 592 | then throw((("You can stake max " + toString(limit)) + " of such NFTs")) | |
593 | 593 | else { | |
594 | 594 | let $t01099411070 = stakeUnstakeAcresInternal(0, addr, bonus6) | |
595 | 595 | let actions = $t01099411070._1 | |
596 | 596 | let wlgClaimedAmount = $t01099411070._2 | |
597 | 597 | $Tuple2((((actions :+ IntegerEntry(userNumKey, (nftNumber + 1))) :+ IntegerEntry(totalNumKey, (valueOrElse(getInteger(totalNumKey), 0) + 1))) :+ IntegerEntry(keyStakedTimeByAssetIdAndOwner(assetIdStr, addr), lastBlock.timestamp)), wlgClaimedAmount) | |
598 | 598 | } | |
599 | 599 | } | |
600 | 600 | ||
601 | 601 | ||
602 | 602 | func processPromoRound (address,amt,roundId) = { | |
603 | 603 | let promoAcresKey = keyUserPromoAcres(address) | |
604 | 604 | let promoRoundAcresKey = keyUserPromoRoundAcres(roundId, address) | |
605 | 605 | let promoAcres = (valueOrElse(getInteger(promoRoundAcresKey), valueOrElse(getInteger(promoAcresKey), 0)) + amt) | |
606 | 606 | let tickets = (promoAcres / MULT8) | |
607 | 607 | let ticketsKey = keyUserPromoTickets(address) | |
608 | 608 | let roundTicketsKey = keyUserPromoRoundTickets(roundId, address) | |
609 | 609 | let deltaTickets = (tickets - valueOrElse(getInteger(roundTicketsKey), valueOrElse(getInteger(ticketsKey), 0))) | |
610 | 610 | let totalRoundTicketsKey = keyTotalPromoRoundTickets(roundId) | |
611 | 611 | let totalTickets = (valueOrElse(getInteger(totalRoundTicketsKey), valueOrElse(getInteger(keyTotalPromoTickets), 0)) + deltaTickets) | |
612 | 612 | if ((deltaTickets > 0)) | |
613 | 613 | then { | |
614 | 614 | let roundMapKey = keyPromoRoundMap(roundId) | |
615 | 615 | let promoMap = valueOrElse(getString(roundMapKey), valueOrElse(getString(keyPromoMap), "")) | |
616 | 616 | let userRecord = ((address + ":") + padL(tickets, 3)) | |
617 | 617 | let newMap = if (contains(promoMap, address)) | |
618 | 618 | then { | |
619 | 619 | let mapParts = split_51C(promoMap, address) | |
620 | 620 | if ((mapParts[0] == "")) | |
621 | 621 | then { | |
622 | 622 | let r = drop(mapParts[1], 4) | |
623 | 623 | if ((r == "")) | |
624 | 624 | then if ((tickets == 0)) | |
625 | 625 | then "" | |
626 | 626 | else userRecord | |
627 | 627 | else if ((tickets == 0)) | |
628 | 628 | then drop(r, 1) | |
629 | 629 | else (userRecord + r) | |
630 | 630 | } | |
631 | 631 | else { | |
632 | 632 | let r = drop(mapParts[1], 4) | |
633 | 633 | if ((r == "")) | |
634 | 634 | then if ((tickets == 0)) | |
635 | 635 | then dropRight(mapParts[0], 1) | |
636 | 636 | else (mapParts[0] + userRecord) | |
637 | 637 | else if ((tickets == 0)) | |
638 | 638 | then (mapParts[0] + drop(r, 1)) | |
639 | 639 | else ((mapParts[0] + userRecord) + r) | |
640 | 640 | } | |
641 | 641 | } | |
642 | 642 | else if ((tickets == 0)) | |
643 | 643 | then promoMap | |
644 | 644 | else if ((promoMap == "")) | |
645 | 645 | then userRecord | |
646 | 646 | else ((promoMap + "_") + userRecord) | |
647 | 647 | [IntegerEntry(promoRoundAcresKey, promoAcres), IntegerEntry(roundTicketsKey, tickets), IntegerEntry(totalRoundTicketsKey, totalTickets), StringEntry(roundMapKey, newMap)] | |
648 | 648 | } | |
649 | 649 | else [IntegerEntry(promoRoundAcresKey, promoAcres)] | |
650 | 650 | } | |
651 | 651 | ||
652 | 652 | ||
653 | 653 | func stakeAcresForInternal (address,amt,shouldUpdatePromo) = { | |
654 | 654 | let $t01429314369 = stakeUnstakeAcresInternal(amt, address, 0) | |
655 | 655 | let actions = $t01429314369._1 | |
656 | 656 | let wlgClaimedAmount = $t01429314369._2 | |
657 | 657 | let currRound = valueOrElse(getInteger(keyLastPromoRound), -1) | |
658 | 658 | let promoActions = if (if (if (if (shouldUpdatePromo) | |
659 | 659 | then (currRound >= 0) | |
660 | 660 | else false) | |
661 | 661 | then (height >= promoStartEndBlocks[currRound][0]) | |
662 | 662 | else false) | |
663 | 663 | then (promoStartEndBlocks[currRound][1] > height) | |
664 | 664 | else false) | |
665 | 665 | then processPromoRound(address, amt, currRound) | |
666 | 666 | else nil | |
667 | 667 | $Tuple2((actions ++ promoActions), wlgClaimedAmount) | |
668 | 668 | } | |
669 | 669 | ||
670 | 670 | ||
671 | 671 | @Callable(i) | |
672 | 672 | func saveLastTx () = if (!(containsElement([wlgContract, marketContract], i.caller))) | |
673 | 673 | then throw("Access denied") | |
674 | 674 | else $Tuple2(prolog(i), 42) | |
675 | 675 | ||
676 | 676 | ||
677 | 677 | ||
678 | 678 | @Callable(i) | |
679 | 679 | func constructorV1 (rest2Addr,oldAcrContract) = if ((i.caller != this)) | |
680 | 680 | then throw("Permission denied") | |
681 | 681 | else { | |
682 | 682 | let oldAcrContAddr = addressFromStringValue(oldAcrContract) | |
683 | 683 | [IntegerEntry(acresIssuedAmountKey, getIntegerValue(oldAcrContAddr, acresIssuedAmountKey)), BinaryEntry(acresAssetIdKey, getBinaryValue(oldAcrContAddr, acresAssetIdKey)), StringEntry(keyRest2Address(), rest2Addr), StringEntry(oldAcresContractKey, oldAcrContract)] | |
684 | 684 | } | |
685 | 685 | ||
686 | 686 | ||
687 | 687 | ||
688 | 688 | @Callable(i) | |
689 | 689 | func setBlocked (isBlocked) = if ((i.caller != this)) | |
690 | 690 | then throw("permission denied") | |
691 | 691 | else [BooleanEntry(keyBlocked(), isBlocked)] | |
692 | 692 | ||
693 | 693 | ||
694 | 694 | ||
695 | 695 | @Callable(i) | |
696 | 696 | func unstakeAcres (amount) = { | |
697 | 697 | let prologActions = prolog(i) | |
698 | 698 | let currRound = valueOrElse(getInteger(keyLastPromoRound), -1) | |
699 | 699 | if (if (if ((currRound >= 0)) | |
700 | 700 | then (height >= promoStartEndBlocks[currRound][0]) | |
701 | 701 | else false) | |
702 | 702 | then (promoStartEndBlocks[currRound][1] > height) | |
703 | 703 | else false) | |
704 | 704 | then throw("You can't unstake during promo period") | |
705 | 705 | else if ((0 >= amount)) | |
706 | 706 | then throw("Amount should be positive") | |
707 | 707 | else { | |
708 | 708 | let address = toString(i.caller) | |
709 | 709 | if ((size(i.payments) != 0)) | |
710 | 710 | then throw("No payments required") | |
711 | 711 | else { | |
712 | 712 | let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastWlgTradeTimeByUser(address)), 0) + arbitrageDelay) | |
713 | 713 | if ((arbReleaseTime > lastBlock.timestamp)) | |
714 | 714 | then throw(("You traded some WLGOLD, cannot unstake until " + toString(arbReleaseTime))) | |
715 | 715 | else { | |
716 | 716 | let $t01628716367 = stakeUnstakeAcresInternal(-(amount), address, 0) | |
717 | 717 | let actions = $t01628716367._1 | |
718 | 718 | let wlgClaimedAmount = $t01628716367._2 | |
719 | 719 | $Tuple2(((actions :+ ScriptTransfer(i.caller, amount, acresAssetId)) ++ prologActions), wlgClaimedAmount) | |
720 | 720 | } | |
721 | 721 | } | |
722 | 722 | } | |
723 | 723 | } | |
724 | 724 | ||
725 | 725 | ||
726 | 726 | ||
727 | 727 | @Callable(i) | |
728 | 728 | func stakeAcres () = { | |
729 | 729 | let prologActions = prolog(i) | |
730 | 730 | let address = toString(i.caller) | |
731 | 731 | if ((size(i.payments) != 1)) | |
732 | 732 | then throw("exactly 1 payment must be attached") | |
733 | 733 | else { | |
734 | 734 | let pmt = i.payments[0] | |
735 | 735 | let amt = pmt.amount | |
736 | 736 | if (if (!(isDefined(pmt.assetId))) | |
737 | 737 | then true | |
738 | 738 | else (value(pmt.assetId) != acresAssetId)) | |
739 | 739 | then throw("ACRES payments only!") | |
740 | 740 | else { | |
741 | 741 | let $t01681816898 = stakeAcresForInternal(address, amt, true) | |
742 | 742 | let stakeActions = $t01681816898._1 | |
743 | 743 | let wlgClaimedAmount = $t01681816898._2 | |
744 | 744 | $Tuple2((stakeActions ++ prologActions), wlgClaimedAmount) | |
745 | 745 | } | |
746 | 746 | } | |
747 | 747 | } | |
748 | 748 | ||
749 | 749 | ||
750 | 750 | ||
751 | 751 | @Callable(i) | |
752 | 752 | func stakeAcresFor (address,amt) = if ((i.caller != this)) | |
753 | 753 | then throw("Permission denied") | |
754 | 754 | else stakeAcresForInternal(address, amt, false) | |
755 | 755 | ||
756 | 756 | ||
757 | 757 | ||
758 | 758 | @Callable(i) | |
759 | 759 | func buyAcres () = { | |
760 | 760 | let prologActions = prolog(i) | |
761 | 761 | if ((size(i.payments) != 1)) | |
762 | 762 | then throw("exactly 1 payment must be attached") | |
763 | 763 | else { | |
764 | 764 | let pmt = i.payments[0] | |
765 | 765 | let usdtAmount = pmt.amount | |
766 | 766 | if (if (!(isDefined(pmt.assetId))) | |
767 | 767 | then true | |
768 | 768 | else (value(pmt.assetId) != usdtAssetId)) | |
769 | 769 | then throw("USDT payments only!") | |
770 | 770 | else if ((MULT6 > usdtAmount)) | |
771 | 771 | then throw((("Min payment should be " + fixedPoint(MULT6, 6)) + " USDT")) | |
772 | 772 | else { | |
773 | 773 | let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER) | |
774 | 774 | let wlgAmount = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount)) | |
775 | 775 | let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey)) | |
776 | 776 | let req = invoke(oldAcresAddress, "requestAcresCallback", [acresAmount], nil) | |
777 | 777 | if ((req == req)) | |
778 | 778 | then { | |
779 | 779 | let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [wlgAmount], nil)) | |
780 | 780 | $Tuple2(([ScriptTransfer(i.caller, acresAmount, acresAssetId)] ++ prologActions), wlgRemain) | |
781 | 781 | } | |
782 | 782 | else throw("Strict value is not equal to itself.") | |
783 | 783 | } | |
784 | 784 | } | |
785 | 785 | } | |
786 | 786 | ||
787 | 787 | ||
788 | 788 | ||
789 | 789 | @Callable(i) | |
790 | 790 | func buyAcresREADONLY (usdtAmount) = { | |
791 | 791 | let acresAmount = (usdtAmount * USDT2ACRES_MULTIPLIER) | |
792 | 792 | let wlgToBurn = fraction(usdtAmount, MULT8, getWlgPrice(usdtAmount)) | |
793 | 793 | $Tuple2(nil, [acresAmount, MULT6, acresAmount, wlgToBurn]) | |
794 | 794 | } | |
795 | 795 | ||
796 | 796 | ||
797 | 797 | ||
798 | 798 | @Callable(i) | |
799 | 799 | func sellAcres () = { | |
800 | 800 | let prologActions = prolog(i) | |
801 | 801 | if ((size(i.payments) != 1)) | |
802 | 802 | then throw("exactly 1 payment must be attached") | |
803 | 803 | else { | |
804 | 804 | let pmt = i.payments[0] | |
805 | 805 | let acresAmount = pmt.amount | |
806 | 806 | if (if (!(isDefined(pmt.assetId))) | |
807 | 807 | then true | |
808 | 808 | else (value(pmt.assetId) != acresAssetId)) | |
809 | 809 | then throw("ACRES payments only!") | |
810 | 810 | else if ((MULT7 > acresAmount)) | |
811 | 811 | then throw((("Min payment should be " + fixedPoint(MULT7, 8)) + " ACRES")) | |
812 | 812 | else { | |
813 | 813 | let addr = toString(i.caller) | |
814 | 814 | let $t01896119009 = getSwapLimitAcres() | |
815 | 815 | let limitAction = $t01896119009._1 | |
816 | 816 | let maxUsdt = $t01896119009._2 | |
817 | 817 | let maxAcres = (maxUsdt * USDT2ACRES_MULTIPLIER) | |
818 | 818 | if ((acresAmount > maxAcres)) | |
819 | 819 | then throw((("You can sell max " + fixedPoint(maxAcres, 8)) + " ACRES")) | |
820 | 820 | else { | |
821 | 821 | let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2) | |
822 | 822 | $Tuple2(([limitAction, IntegerEntry(keyLastLimitLeft, (maxUsdt - usdtAmount)), ScriptTransfer(i.caller, usdtAmount, usdtAssetId)] ++ prologActions), usdtAmount) | |
823 | 823 | } | |
824 | 824 | } | |
825 | 825 | } | |
826 | 826 | } | |
827 | 827 | ||
828 | 828 | ||
829 | 829 | ||
830 | 830 | @Callable(i) | |
831 | 831 | func sellAcresREADONLY (address,acresAmount) = { | |
832 | 832 | let $t01950519553 = getSwapLimitAcres() | |
833 | 833 | let limitAction = $t01950519553._1 | |
834 | 834 | let maxUsdt = $t01950519553._2 | |
835 | 835 | let usdtAmount = ((acresAmount / USDT2ACRES_MULTIPLIER) / 2) | |
836 | 836 | $Tuple2(nil, [usdtAmount, MULT7, (maxUsdt * USDT2ACRES_MULTIPLIER), 0]) | |
837 | 837 | } | |
838 | 838 | ||
839 | 839 | ||
840 | 840 | ||
841 | 841 | @Callable(i) | |
842 | 842 | func convertOldStakes () = { | |
843 | 843 | let prologActions = prolog(i) | |
844 | 844 | if ((OLD_STAKING_DEADL > lastBlock.timestamp)) | |
845 | 845 | then throw(("Disabled until " + toString((OLD_STAKING_DEADL / 1000)))) | |
846 | 846 | else { | |
847 | 847 | let address = toString(i.caller) | |
848 | 848 | if ((size(i.payments) != 0)) | |
849 | 849 | then throw("No payments required") | |
850 | 850 | else { | |
851 | 851 | let oldAcresAddress = addressFromStringValue(getStringValue(oldAcresContractKey)) | |
852 | 852 | let amount = valueOrElse(getInteger(oldAcresAddress, keyAcresStakedAmtByUser(address)), 0) | |
853 | 853 | let gotAcres0 = if ((amount > 0)) | |
854 | 854 | then asTuple2Ints(invoke(oldAcresAddress, "unstakeAcresCallback", [amount, address], nil)) | |
855 | 855 | else $Tuple2(0, 0) | |
856 | 856 | let oldStakingAddress = addressFromStringValue(oldStakingContractStr) | |
857 | 857 | let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address)) | |
858 | 858 | let landsResult = if (isDefined(landsStr)) | |
859 | 859 | then { | |
860 | 860 | let lands = split_51C(value(landsStr), "_") | |
861 | 861 | if ((size(lands) > MAX_LANDS_TO_CONVERT)) | |
862 | 862 | then throw((("You have more than " + toString(MAX_LANDS_TO_CONVERT)) + " lands staked, please contact support, we'll process your case manually")) | |
863 | 863 | else { | |
864 | 864 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
865 | 865 | then throw("landAssetId is required") | |
866 | 866 | else { | |
867 | 867 | let r = asTuple5Ints(invoke(oldStakingAddress, "unstakeLandCallback", [landAssetId, address], nil)) | |
868 | 868 | if ((r == r)) | |
869 | 869 | then $Tuple5((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4), (acc._5 + r._5)) | |
870 | 870 | else throw("Strict value is not equal to itself.") | |
871 | 871 | } | |
872 | 872 | ||
873 | 873 | let rr = { | |
874 | 874 | let $l = lands | |
875 | 875 | let $s = size($l) | |
876 | 876 | let $acc0 = $Tuple5(0, 0, 0, 0, 0) | |
877 | 877 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
878 | 878 | then $a | |
879 | 879 | else oneLand($a, $l[$i]) | |
880 | 880 | ||
881 | 881 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
882 | 882 | then $a | |
883 | 883 | else throw("List size exceeds 14") | |
884 | 884 | ||
885 | 885 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14) | |
886 | 886 | } | |
887 | 887 | if ((rr == rr)) | |
888 | 888 | then { | |
889 | 889 | let finalize = invoke(oldStakingAddress, "unstakeLandsFinalizeCallback", [address], nil) | |
890 | 890 | if ((finalize == finalize)) | |
891 | 891 | then { | |
892 | 892 | let req = invoke(oldAcresAddress, "requestAcresCallback", [(((rr._1 + rr._2) + rr._3) + rr._4)], nil) | |
893 | 893 | if ((req == req)) | |
894 | 894 | then { | |
895 | 895 | let $t02206722206 = issueNftCustom(idxNameShovel, idxKeySP, idxCollDig, idxRarityP, 3, idxDescrShovel, idxBonusTypeFp, i.caller) | |
896 | 896 | let nftActions = $t02206722206._1 | |
897 | 897 | let nftAssetId = $t02206722206._2 | |
898 | 898 | $Tuple6(rr._1, rr._2, rr._3, rr._4, rr._5, nftActions) | |
899 | 899 | } | |
900 | 900 | else throw("Strict value is not equal to itself.") | |
901 | 901 | } | |
902 | 902 | else throw("Strict value is not equal to itself.") | |
903 | 903 | } | |
904 | 904 | else throw("Strict value is not equal to itself.") | |
905 | 905 | } | |
906 | 906 | } | |
907 | 907 | else $Tuple6(0, 0, 0, 0, 0, nil) | |
908 | 908 | let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(address)), "") | |
909 | 909 | let duckResult = if ((duckAssetId != "")) | |
910 | 910 | then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckCallback", [duckAssetId, address], nil)) | |
911 | 911 | else $Tuple3(0, 0, 0) | |
912 | 912 | let x = stakeUnstakeAcresInternal((((((((gotAcres0._1 + landsResult._1) + landsResult._2) + landsResult._3) + landsResult._4) + duckResult._1) + duckResult._2) + duckResult._3), address, 0) | |
913 | 913 | $Tuple2(((landsResult._6 ++ x._1) ++ prologActions), $Tuple3(gotAcres0._2, landsResult._5, x._2)) | |
914 | 914 | } | |
915 | 915 | } | |
916 | 916 | } | |
917 | 917 | ||
918 | 918 | ||
919 | 919 | ||
920 | 920 | @Callable(i) | |
921 | 921 | func unstakeLandsREADONLY (address) = { | |
922 | 922 | let oldStakingAddress = addressFromStringValue(oldStakingContractStr) | |
923 | 923 | let landsStr = getString(oldStakingAddress, keyStakedLandsByOwner(address)) | |
924 | 924 | let landsResult = if (isDefined(landsStr)) | |
925 | 925 | then { | |
926 | 926 | let lands = split_51C(value(landsStr), "_") | |
927 | 927 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
928 | 928 | then throw("landAssetId is required") | |
929 | 929 | else { | |
930 | 930 | let r = asTuple4Ints(invoke(oldStakingAddress, "unstakeLandREADONLY", [landAssetId, address], nil)) | |
931 | 931 | $Tuple4((acc._1 + r._1), (acc._2 + r._2), (acc._3 + r._3), (acc._4 + r._4)) | |
932 | 932 | } | |
933 | 933 | ||
934 | 934 | let $l = lands | |
935 | 935 | let $s = size($l) | |
936 | 936 | let $acc0 = $Tuple4(0, 0, 0, 0) | |
937 | 937 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
938 | 938 | then $a | |
939 | 939 | else oneLand($a, $l[$i]) | |
940 | 940 | ||
941 | 941 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
942 | 942 | then $a | |
943 | 943 | else throw("List size exceeds 100") | |
944 | 944 | ||
945 | 945 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
946 | 946 | } | |
947 | 947 | else $Tuple4(0, 0, 0, 0) | |
948 | 948 | $Tuple2(nil, landsResult) | |
949 | 949 | } | |
950 | 950 | ||
951 | 951 | ||
952 | 952 | ||
953 | 953 | @Callable(i) | |
954 | 954 | func stakeAcresCallback (addr) = if ((i.caller != addressFromStringValue(oldStakingContractStr))) | |
955 | 955 | then throw("Permission denied") | |
956 | 956 | else stakeUnstakeAcresInternal(i.payments[0].amount, addr, 0) | |
957 | 957 | ||
958 | 958 | ||
959 | 959 | ||
960 | 960 | @Callable(i) | |
961 | 961 | func simulateStakeAcresREADONLY (address,addedAmount) = { | |
962 | 962 | let amountKey = keyAcresStakedAmtByUser(address) | |
963 | 963 | let newAcresAmount = (valueOrElse(getInteger(amountKey), 0) + addedAmount) | |
964 | 964 | let oldTotal = valueOrElse(getInteger(acresStakdTotalKey), 0) | |
965 | 965 | let userFpKey = keyFarmingPowerByUser(address) | |
966 | 966 | let oldFp = valueOrElse(getInteger(userFpKey), 0) | |
967 | 967 | let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(address)), 0) | |
968 | 968 | let $t02447724564 = getFarmingPowerByAcresAndBonus(newAcresAmount, userBonus) | |
969 | 969 | let newBonusedFp = $t02447724564._1 | |
970 | 970 | let ignored = $t02447724564._2 | |
971 | 971 | let oldTotalFp = valueOrElse(getInteger(totalFarmingPowerKey), 0) | |
972 | 972 | let newTotalFp = ((oldTotalFp + newBonusedFp) - oldFp) | |
973 | 973 | $Tuple2(nil, [oldFp, newBonusedFp, oldTotalFp, newTotalFp]) | |
974 | 974 | } | |
975 | 975 | ||
976 | 976 | ||
977 | 977 | ||
978 | 978 | @Callable(i) | |
979 | 979 | func issuePickC1 (forAddress) = if ((i.caller != wlgContract)) | |
980 | 980 | then throw("Permission denied") | |
981 | 981 | else issueNftCustom(idxNamePickaxe, idxKeyC, idxCollDig, idxRarityC, 1, idxDescrPickaxe, idxBonusTypeFp, addressFromStringValue(forAddress)) | |
982 | 982 | ||
983 | 983 | ||
984 | 984 | ||
985 | 985 | @Callable(i) | |
986 | 986 | func issueMittenP (forAddress) = if ((i.caller != this)) | |
987 | 987 | then throw("Permission denied") | |
988 | 988 | else issueNftCustom(idxNameMitten, idxKeyMP, idxCollNewYear, idxRarityP, 3, idxDescrMitten, idxBonusTypeFp, addressFromStringValue(forAddress)) | |
989 | 989 | ||
990 | 990 | ||
991 | 991 | ||
992 | 992 | @Callable(i) | |
993 | 993 | func stakeNFT () = { | |
994 | 994 | let prologActions = prolog(i) | |
995 | 995 | if ((size(i.payments) != 1)) | |
996 | 996 | then throw("Exactly one payment required") | |
997 | 997 | else { | |
998 | 998 | let pmt = value(i.payments[0]) | |
999 | 999 | if ((pmt.amount != 1)) | |
1000 | 1000 | then throw("NFT token should be attached as payment") | |
1001 | 1001 | else { | |
1002 | 1002 | let assetId = value(pmt.assetId) | |
1003 | 1003 | let asset = value(assetInfo(assetId)) | |
1004 | 1004 | let assetIdStr = toBase58String(assetId) | |
1005 | 1005 | let addr = toString(i.caller) | |
1006 | 1006 | let nftsKey = keyStakedNFTsByOwner(addr) | |
1007 | 1007 | let nftsStr = getString(nftsKey) | |
1008 | 1008 | let nfts = if (isDefined(nftsStr)) | |
1009 | 1009 | then split_4C(value(nftsStr), "_") | |
1010 | 1010 | else nil | |
1011 | 1011 | if (containsElement(nfts, assetIdStr)) | |
1012 | 1012 | then throw(("Your staked NFTs already contain " + assetIdStr)) | |
1013 | 1013 | else if ((size(nfts) >= MAX_NFTS_STAKED_BY_USER)) | |
1014 | 1014 | then throw((("Your already staked max (" + toString(MAX_NFTS_STAKED_BY_USER)) + ") NFTs")) | |
1015 | 1015 | else { | |
1016 | 1016 | let listAction = StringEntry(nftsKey, makeString_2C((nfts :+ assetIdStr), "_")) | |
1017 | 1017 | if ((asset.issuer == this)) | |
1018 | 1018 | then { | |
1019 | 1019 | let $t02626326453 = stakeNftInternal(addr, assetIdStr, (bonusByDescription(value(asset.description)) * 10000), keyUserWlNftNumber(addr), keyWlNftTotalStaked, MAX_WL_NFTS) | |
1020 | 1020 | let actions = $t02626326453._1 | |
1021 | 1021 | let wlgClaimedAmount = $t02626326453._2 | |
1022 | 1022 | $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount) | |
1023 | 1023 | } | |
1024 | 1024 | else if ((isArkimalIssued(asset) == "")) | |
1025 | 1025 | then throw("Only WavesLands and Arkimals NFT tokens are accepted") | |
1026 | 1026 | else { | |
1027 | 1027 | let $t02663426785 = stakeNftInternal(addr, assetIdStr, ARK_NFT_BONUS, keyUserArkNftNumber(addr), keyArkNftTotalStaked, MAX_ARK_NFTS) | |
1028 | 1028 | let actions = $t02663426785._1 | |
1029 | 1029 | let wlgClaimedAmount = $t02663426785._2 | |
1030 | 1030 | $Tuple2(((prologActions ++ actions) :+ listAction), wlgClaimedAmount) | |
1031 | 1031 | } | |
1032 | 1032 | } | |
1033 | 1033 | } | |
1034 | 1034 | } | |
1035 | 1035 | } | |
1036 | 1036 | ||
1037 | 1037 | ||
1038 | 1038 | ||
1039 | 1039 | @Callable(i) | |
1040 | 1040 | func unstakeNFT (assetIdStr) = { | |
1041 | 1041 | let prologActions = prolog(i) | |
1042 | 1042 | if ((size(i.payments) != 0)) | |
1043 | 1043 | then throw("No payments required") | |
1044 | 1044 | else { | |
1045 | 1045 | let assetId = fromBase58String(assetIdStr) | |
1046 | 1046 | let addr = toString(i.caller) | |
1047 | 1047 | let asset = value(assetInfo(assetId)) | |
1048 | 1048 | let timeKey = keyStakedTimeByAssetIdAndOwner(assetIdStr, addr) | |
1049 | 1049 | if (!(isDefined(getInteger(timeKey)))) | |
1050 | 1050 | then throw((("NFT " + asset.name) + " is not staked by you")) | |
1051 | 1051 | else { | |
1052 | 1052 | let nftsKey = keyStakedNFTsByOwner(addr) | |
1053 | 1053 | let nfts = split_4C(valueOrElse(getString(nftsKey), ""), "_") | |
1054 | 1054 | let idx = indexOf(nfts, assetIdStr) | |
1055 | 1055 | if (!(isDefined(idx))) | |
1056 | 1056 | then throw(("Your staked NFTs don't contain " + assetIdStr)) | |
1057 | 1057 | else { | |
1058 | 1058 | let listAction = if ((size(nfts) > 1)) | |
1059 | 1059 | then StringEntry(nftsKey, makeString_2C(removeByIndex(nfts, value(idx)), "_")) | |
1060 | 1060 | else DeleteEntry(nftsKey) | |
1061 | 1061 | let isWL = (asset.issuer == this) | |
1062 | 1062 | if (isWL) | |
1063 | 1063 | then { | |
1064 | 1064 | let wlNftNumber = valueOrElse(getInteger(keyUserWlNftNumber(addr)), 0) | |
1065 | 1065 | let bonusVal = (bonusByDescription(value(asset.description)) * 10000) | |
1066 | 1066 | let $t02795028029 = stakeUnstakeAcresInternal(0, addr, -(bonusVal)) | |
1067 | 1067 | let actions = $t02795028029._1 | |
1068 | 1068 | let wlgClaimedAmount = $t02795028029._2 | |
1069 | 1069 | $Tuple2(((((((actions :+ listAction) :+ IntegerEntry(keyUserWlNftNumber(addr), (wlNftNumber - 1))) :+ IntegerEntry(keyWlNftTotalStaked, max([0, (valueOrElse(getInteger(keyWlNftTotalStaked), 0) - 1)]))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount) | |
1070 | 1070 | } | |
1071 | 1071 | else { | |
1072 | 1072 | let arkimalName = isArkimalIssued(asset) | |
1073 | 1073 | if ((arkimalName == "")) | |
1074 | 1074 | then throw("Only WavesLands and Arkimals NFT tokens are accepted") | |
1075 | 1075 | else { | |
1076 | 1076 | let arkNftNumber = valueOrElse(getInteger(keyUserArkNftNumber(addr)), 0) | |
1077 | 1077 | let $t02868928773 = stakeUnstakeAcresInternal(0, addr, -(ARK_NFT_BONUS)) | |
1078 | 1078 | let actions = $t02868928773._1 | |
1079 | 1079 | let wlgClaimedAmount = $t02868928773._2 | |
1080 | 1080 | $Tuple2((((((actions :+ listAction) :+ IntegerEntry(keyUserArkNftNumber(addr), (arkNftNumber - 1))) :+ DeleteEntry(keyStakedTimeByAssetIdAndOwner(toBase58String(assetId), addr))) :+ ScriptTransfer(i.caller, 1, assetId)) ++ prologActions), wlgClaimedAmount) | |
1081 | 1081 | } | |
1082 | 1082 | } | |
1083 | 1083 | } | |
1084 | 1084 | } | |
1085 | 1085 | } | |
1086 | 1086 | } | |
1087 | 1087 | ||
1088 | 1088 | ||
1089 | 1089 | ||
1090 | 1090 | @Callable(i) | |
1091 | 1091 | func exchangeNFTs () = if ((i.caller != this)) | |
1092 | 1092 | then throw("Temporary disabled") | |
1093 | 1093 | else { | |
1094 | 1094 | let prologActions = prolog(i) | |
1095 | 1095 | if ((3 > size(i.payments))) | |
1096 | 1096 | then throw("Min one WLGOLD and 2 NFT payments allowed") | |
1097 | 1097 | else if ((size(i.payments) > 10)) | |
1098 | 1098 | then throw("Max one WLGOLD and 9 NFT payments allowed") | |
1099 | 1099 | else { | |
1100 | 1100 | let addr = toString(i.caller) | |
1101 | 1101 | func addUp (acc,pmt) = { | |
1102 | 1102 | let assetId = valueOrErrorMessage(pmt.assetId, "WAVES payments not allowed") | |
1103 | 1103 | if ((assetId == wlgAssetId)) | |
1104 | 1104 | then $Tuple4((acc._1 + pmt.amount), acc._2, acc._3, acc._4) | |
1105 | 1105 | else { | |
1106 | 1106 | let asset = value(assetInfo(assetId)) | |
1107 | 1107 | if ((asset.issuer != this)) | |
1108 | 1108 | then throw("Only WL-issued NFTs allowed") | |
1109 | 1109 | else { | |
1110 | 1110 | let rarityIx = rarityIdxByDescriprion(value(asset.description)) | |
1111 | 1111 | if (if ((acc._4 > 0)) | |
1112 | 1112 | then (rarityIx != acc._4) | |
1113 | 1113 | else false) | |
1114 | 1114 | then throw("You can exchange only NFTs of the same rarity") | |
1115 | 1115 | else { | |
1116 | 1116 | let bonusPerc = bonusByDescription(value(asset.description)) | |
1117 | 1117 | $Tuple4(acc._1, (acc._2 + bonusPerc), (acc._3 :+ Burn(assetId, 1)), rarityIx) | |
1118 | 1118 | } | |
1119 | 1119 | } | |
1120 | 1120 | } | |
1121 | 1121 | } | |
1122 | 1122 | ||
1123 | 1123 | let $t03022430440 = { | |
1124 | 1124 | let $l = i.payments | |
1125 | 1125 | let $s = size($l) | |
1126 | 1126 | let $acc0 = $Tuple4(0, 0, nil, -1) | |
1127 | 1127 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1128 | 1128 | then $a | |
1129 | 1129 | else addUp($a, $l[$i]) | |
1130 | 1130 | ||
1131 | 1131 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1132 | 1132 | then $a | |
1133 | 1133 | else throw("List size exceeds 10") | |
1134 | 1134 | ||
1135 | 1135 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1136 | 1136 | } | |
1137 | 1137 | let wlgFee = $t03022430440._1 | |
1138 | 1138 | let totalBonus = $t03022430440._2 | |
1139 | 1139 | let burnActions = $t03022430440._3 | |
1140 | 1140 | let rarityIdx = $t03022430440._4 | |
1141 | 1141 | let newRarityIdx = if ((rarityIdx == idxRarityC)) | |
1142 | 1142 | then if ((rarityThresholds[idxThresholdC] > totalBonus)) | |
1143 | 1143 | then idxRarityC | |
1144 | 1144 | else if ((rarityThresholds[idxThresholdU] > totalBonus)) | |
1145 | 1145 | then idxRarityU | |
1146 | 1146 | else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdU])) + "%")) | |
1147 | 1147 | else if ((rarityIdx == idxRarityU)) | |
1148 | 1148 | then if ((rarityThresholds[idxThresholdU] > totalBonus)) | |
1149 | 1149 | then idxRarityU | |
1150 | 1150 | else if ((rarityThresholds[idxThresholdL] > totalBonus)) | |
1151 | 1151 | then idxRarityL | |
1152 | 1152 | else throw((("You can advance only one level of rarity, max total bonus " + toString(rarityThresholds[idxThresholdL])) + "%")) | |
1153 | 1153 | else if ((rarityIdx == idxRarityL)) | |
1154 | 1154 | then if ((rarityThresholds[idxThresholdL] > totalBonus)) | |
1155 | 1155 | then idxRarityL | |
1156 | 1156 | else idxRarityE | |
1157 | 1157 | else if ((rarityIdx == idxRarityE)) | |
1158 | 1158 | then idxRarityE | |
1159 | 1159 | else if ((rarityIdx == idxRarityP)) | |
1160 | 1160 | then throw("You can't exchange NFTs of this rarity") | |
1161 | 1161 | else throw("Unknown rarity") | |
1162 | 1162 | let minWlgFee = fraction(totalBonus, MULT14, getWlgPrice(0)) | |
1163 | 1163 | let change = (wlgFee - minWlgFee) | |
1164 | 1164 | let forTeam = (minWlgFee / 2) | |
1165 | 1165 | let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil)) | |
1166 | 1166 | if ((0 > change)) | |
1167 | 1167 | then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee")) | |
1168 | 1168 | else { | |
1169 | 1169 | let changeActions = if ((change > 0)) | |
1170 | 1170 | then [ScriptTransfer(i.caller, change, wlgAssetId)] | |
1171 | 1171 | else nil | |
1172 | 1172 | let $t03197732138 = issueNftCustom(idxNamePickaxe, newRarityIdx, idxCollDig, newRarityIdx, totalBonus, idxDescrPickaxe, idxBonusTypeFp, i.caller) | |
1173 | 1173 | let issueNftActions = $t03197732138._1 | |
1174 | 1174 | let nftAssetId = $t03197732138._2 | |
1175 | 1175 | let burned = size(burnActions) | |
1176 | 1176 | let burnCounterActions = if ((burned == 0)) | |
1177 | 1177 | then nil | |
1178 | 1178 | else [IntegerEntry(keyNftTotalBurned, (valueOrElse(getInteger(keyNftTotalBurned), 0) + burned))] | |
1179 | 1179 | $Tuple2((((((issueNftActions ++ burnActions) ++ burnCounterActions) ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)), $Tuple2(nftAssetId, wlgRemain)) | |
1180 | 1180 | } | |
1181 | 1181 | } | |
1182 | 1182 | } | |
1183 | 1183 | ||
1184 | 1184 | ||
1185 | 1185 | ||
1186 | 1186 | @Callable(i) | |
1187 | 1187 | func openNftChest () = if ((i.caller != this)) | |
1188 | 1188 | then throw("Temporary disabled") | |
1189 | 1189 | else { | |
1190 | 1190 | let prologActions = prolog(i) | |
1191 | 1191 | if ((size(i.payments) != 1)) | |
1192 | 1192 | then throw("exactly 1 payment must be attached") | |
1193 | 1193 | else { | |
1194 | 1194 | let pmt = i.payments[0] | |
1195 | 1195 | let wlgAmount = pmt.amount | |
1196 | 1196 | if (if (!(isDefined(pmt.assetId))) | |
1197 | 1197 | then true | |
1198 | 1198 | else (value(pmt.assetId) != wlgAssetId)) | |
1199 | 1199 | then throw("WLGOLD payments only!") | |
1200 | 1200 | else { | |
1201 | 1201 | let minWlgFee = fraction(NFT_CHEST_PRICE_USDT, MULT8, getWlgPrice(0)) | |
1202 | 1202 | let change = (wlgAmount - minWlgFee) | |
1203 | 1203 | let forTeam = (minWlgFee / 2) | |
1204 | 1204 | let wlgRemain = asInt(invoke(wlgContract, "burnWlgold", [(minWlgFee - forTeam)], nil)) | |
1205 | 1205 | if ((0 > change)) | |
1206 | 1206 | then throw((("You need to attach " + fixedPoint(minWlgFee, 8)) + " WLGOLD as fee")) | |
1207 | 1207 | else { | |
1208 | 1208 | let changeActions = if ((change > 0)) | |
1209 | 1209 | then [ScriptTransfer(i.caller, change, wlgAssetId)] | |
1210 | 1210 | else nil | |
1211 | 1211 | let addr = toString(i.caller) | |
1212 | 1212 | let finishKey = keyCommit(addr) | |
1213 | 1213 | let finishBlock = valueOrErrorMessage(getInteger(finishKey), "You have to commitForRandom() first!") | |
1214 | 1214 | if ((finishBlock > height)) | |
1215 | 1215 | then throw(("Random number is not ready yet, wait until height = " + toString(finishBlock))) | |
1216 | 1216 | else { | |
1217 | 1217 | let entropy = value(value(blockInfoByHeight(finishBlock)).vrf) | |
1218 | 1218 | let salt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(addr)), "42_DEFAULT"), "_")[1]) | |
1219 | 1219 | let rand = getRandomNumber(100, salt, entropy) | |
1220 | 1220 | let $t03421934491 = if ((84 > rand)) | |
1221 | 1221 | then $Tuple2(1, idxRarityC) | |
1222 | 1222 | else if ((98 > rand)) | |
1223 | 1223 | then $Tuple2(5, idxRarityU) | |
1224 | 1224 | else $Tuple2(10, idxRarityL) | |
1225 | 1225 | let bonus = $t03421934491._1 | |
1226 | 1226 | let rarityIdx = $t03421934491._2 | |
1227 | 1227 | let $t03449434644 = issueNftCustom(idxNamePickaxe, rarityIdx, idxCollDig, rarityIdx, bonus, idxDescrPickaxe, idxBonusTypeFp, i.caller) | |
1228 | 1228 | let issueNftActions = $t03449434644._1 | |
1229 | 1229 | let nftAssetId = $t03449434644._2 | |
1230 | 1230 | $Tuple2(((((issueNftActions ++ prologActions) ++ changeActions) :+ ScriptTransfer(addressFromStringValue(getStringValue(wlgContract, teamAddrKey)), forTeam, wlgAssetId)) :+ DeleteEntry(finishKey)), $Tuple2(nftAssetId, wlgRemain)) | |
1231 | 1231 | } | |
1232 | 1232 | } | |
1233 | 1233 | } | |
1234 | 1234 | } | |
1235 | 1235 | } | |
1236 | 1236 | ||
1237 | 1237 | ||
1238 | 1238 | ||
1239 | 1239 | @Callable(i) | |
1240 | 1240 | func commitForRandom () = if ((i.caller != this)) | |
1241 | 1241 | then throw("Temporary disabled") | |
1242 | 1242 | else { | |
1243 | 1243 | let prologActions = prolog(i) | |
1244 | 1244 | let addr = toString(i.caller) | |
1245 | 1245 | let finishKey = keyCommit(addr) | |
1246 | 1246 | if (isDefined(getInteger(finishKey))) | |
1247 | 1247 | then throw("You already commited for random, please use it") | |
1248 | 1248 | else { | |
1249 | 1249 | let finishBlock = (height + RANDOM_DELAY) | |
1250 | 1250 | $Tuple2(([IntegerEntry(finishKey, finishBlock)] ++ prologActions), finishBlock) | |
1251 | 1251 | } | |
1252 | 1252 | } | |
1253 | 1253 | ||
1254 | 1254 | ||
1255 | 1255 | ||
1256 | 1256 | @Callable(i) | |
1257 | 1257 | func launchNewPromoRound () = if ((i.caller != this)) | |
1258 | 1258 | then throw("Permission denied") | |
1259 | 1259 | else { | |
1260 | 1260 | let currRound = (valueOrElse(getInteger(keyLastPromoRound), -1) + 1) | |
1261 | 1261 | $Tuple2([IntegerEntry(keyLastPromoRound, currRound)], currRound) | |
1262 | 1262 | } | |
1263 | 1263 | ||
1264 | 1264 | ||
1265 | 1265 | ||
1266 | 1266 | @Callable(i) | |
1267 | 1267 | func drawPromoRound (roundId) = if ((i.caller != this)) | |
1268 | 1268 | then throw("Permission denied") | |
1269 | 1269 | else { | |
1270 | 1270 | let today = (height / DAY_BLOCKS) | |
1271 | - | let maxValue = valueOrElse(getInteger( | |
1271 | + | let maxValue = valueOrElse(getInteger(keyTotalPromoRoundTickets(roundId)), 0) | |
1272 | 1272 | if ((maxValue == 0)) | |
1273 | 1273 | then throw("No tickets to draw") | |
1274 | 1274 | else { | |
1275 | 1275 | let b = (today * DAY_BLOCKS) | |
1276 | 1276 | let h = if ((b > VRF_OFFSET)) | |
1277 | 1277 | then b | |
1278 | 1278 | else (b + VRF_OFFSET) | |
1279 | 1279 | let entropy = value(value(blockInfoByHeight(h)).vrf) | |
1280 | 1280 | let promoMap = valueOrElse(getString(keyPromoMap), "") | |
1281 | 1281 | if ((promoMap == "")) | |
1282 | 1282 | then throw("No participants") | |
1283 | 1283 | else { | |
1284 | 1284 | let awards = promoRoundAwards[roundId] | |
1285 | 1285 | func singleDraw (ac,prizeVal) = if ((ac._3 == "")) | |
1286 | 1286 | then ac | |
1287 | 1287 | else { | |
1288 | 1288 | let promoList = split_51C(ac._3, "_") | |
1289 | 1289 | let rand = getRandomNumber(ac._1, ac._2, entropy) | |
1290 | 1290 | func countTickets (acc,el) = { | |
1291 | 1291 | let parts = split(el, ":") | |
1292 | 1292 | let addr = parts[0] | |
1293 | 1293 | let tickets = parseIntValue(parts[1]) | |
1294 | 1294 | let newTotal = (acc._1 + tickets) | |
1295 | 1295 | if (if ((acc._3 == "")) | |
1296 | 1296 | then (newTotal > rand) | |
1297 | 1297 | else false) | |
1298 | 1298 | then $Tuple3(newTotal, tickets, addr) | |
1299 | 1299 | else $Tuple3(newTotal, acc._2, acc._3) | |
1300 | 1300 | } | |
1301 | 1301 | ||
1302 | 1302 | let r = { | |
1303 | 1303 | let $l = promoList | |
1304 | 1304 | let $s = size($l) | |
1305 | 1305 | let $acc0 = $Tuple3(0, 0, "") | |
1306 | 1306 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1307 | 1307 | then $a | |
1308 | 1308 | else countTickets($a, $l[$i]) | |
1309 | 1309 | ||
1310 | 1310 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1311 | 1311 | then $a | |
1312 | 1312 | else throw("List size exceeds 200") | |
1313 | 1313 | ||
1314 | 1314 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100), 101), 102), 103), 104), 105), 106), 107), 108), 109), 110), 111), 112), 113), 114), 115), 116), 117), 118), 119), 120), 121), 122), 123), 124), 125), 126), 127), 128), 129), 130), 131), 132), 133), 134), 135), 136), 137), 138), 139), 140), 141), 142), 143), 144), 145), 146), 147), 148), 149), 150), 151), 152), 153), 154), 155), 156), 157), 158), 159), 160), 161), 162), 163), 164), 165), 166), 167), 168), 169), 170), 171), 172), 173), 174), 175), 176), 177), 178), 179), 180), 181), 182), 183), 184), 185), 186), 187), 188), 189), 190), 191), 192), 193), 194), 195), 196), 197), 198), 199), 200) | |
1315 | 1315 | } | |
1316 | 1316 | let winner = r._3 | |
1317 | 1317 | if ((winner == "")) | |
1318 | 1318 | then ac | |
1319 | 1319 | else { | |
1320 | 1320 | let mapParts = split_51C(ac._3, winner) | |
1321 | 1321 | let newMap = if ((mapParts[0] == "")) | |
1322 | 1322 | then drop(mapParts[1], 5) | |
1323 | 1323 | else (dropRight(mapParts[0], 1) + drop(mapParts[1], 4)) | |
1324 | 1324 | let winActions = if ((prizeVal == 0)) | |
1325 | 1325 | then invoke(this, "issueMittenP", [winner], nil) | |
1326 | 1326 | else invoke(this, "stakeAcresFor", [winner, prizeVal], nil) | |
1327 | 1327 | if ((winActions == winActions)) | |
1328 | 1328 | then { | |
1329 | 1329 | let newSalt = fromBase58String(split(valueOrElse(getString(keyCurWeekTxIdByUser(winner)), "0_DEFAULT"), "_")[1]) | |
1330 | 1330 | $Tuple4((ac._1 - r._2), newSalt, newMap, (ac._4 :+ winner)) | |
1331 | 1331 | } | |
1332 | 1332 | else throw("Strict value is not equal to itself.") | |
1333 | 1333 | } | |
1334 | 1334 | } | |
1335 | 1335 | ||
1336 | 1336 | let draws = { | |
1337 | 1337 | let $l = awards | |
1338 | 1338 | let $s = size($l) | |
1339 | 1339 | let $acc0 = $Tuple4(maxValue, i.transactionId, promoMap, nil) | |
1340 | 1340 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1341 | 1341 | then $a | |
1342 | 1342 | else singleDraw($a, $l[$i]) | |
1343 | 1343 | ||
1344 | 1344 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1345 | 1345 | then $a | |
1346 | 1346 | else throw("List size exceeds 16") | |
1347 | 1347 | ||
1348 | 1348 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16) | |
1349 | 1349 | } | |
1350 | 1350 | $Tuple2([StringEntry(keyPromoRoundWinners(roundId), makeString_2C(draws._4, "_"))], 0) | |
1351 | 1351 | } | |
1352 | 1352 | } | |
1353 | 1353 | } | |
1354 | 1354 | ||
1355 | 1355 |
github/deemru/w8io/169f3d6 116.80 ms ◑