tx · Y7Un6nmDmfu8TJaaujeK7tFSLAMxjebWQ5EUY8Ls2q4

3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy:  -0.03700000 Waves

2024.12.28 21:04 [3434715] smart account 3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy > SELF 0.00000000 Waves

{ "type": 13, "id": "Y7Un6nmDmfu8TJaaujeK7tFSLAMxjebWQ5EUY8Ls2q4", "fee": 3700000, "feeAssetId": null, "timestamp": 1735409054224, "version": 2, "chainId": 84, "sender": "3N7HtrKeFFLz5oy6PfGv1Lg3GwPk4gCPdGy", "senderPublicKey": "FsR18761ZAsUqsTd7TK3XmR6bhihs1UXVmpHYxz5JzQ1", "proofs": [ "3tpDeqR1JQQqGctnyLsQt7uQFhBFW4gLvUjJu9rFcuSjjM7m6H2RBtN2scB3WmpdAv2pRyWqv3RFdgr813Q8QG5M" ], "script": "base64:BgJSCAISBgoECAgICBIDCgEIEgMKAQESBAoCCAESAwoBARIECgIIARIAEgMKAQgSAwoBCBIDCgEBEgMKAQESAwoBCBIDCgEIEgMKAQESABIECgIIAb0BAANTRVACAl9fAAVNVUxUNgDAhD0ABU1VTFQ4AIDC1y8ADk1JTlNIT1BQQVlNRU5UAKCNBgAKREFZX01JTExJUwCAuJkpABJBQ1JFU19XRUVLTFlfUFJJWkUAwPD1CwAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEACkRBWV9CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAAoAsDCQAAAgEBVAUHJG1hdGNoMAA8CQACAQINVW5rbm93biBjaGFpbgALV0VFS19CTE9DS1MEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAA4E4DCQAAAgEBVAUHJG1hdGNoMAC0AQkAAgECDVVua25vd24gY2hhaW4AClZSRl9PRkZTRVQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAAAAMJAAACAQFUBQckbWF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fC Next: none Diff:
OldNewDifferences
777777 let newWinners = if (isDefined(winners))
778778 then ((value(winners) + "_") + addr)
779779 else addr
780- $Tuple2([prizeAction, DeleteEntry(keyUserWeekTickets(addr, drawWeek)), StringEntry(keyWeekWinners(drawWeek), newWinners)], $Tuple2(prizeResult, rnd))
780+ $Tuple2([prizeAction, DeleteEntry(keyUserWeekTickets(addr, drawWeek)), StringEntry(keyWeekWinners(drawWeek), newWinners)], $Tuple3(prizeResult, random4, rnd))
781781 }
782782 else {
783783 let random1 = (getRandomNumber(9, (base58'29' + salt), entropy) + 1)
791791 if ((oldTickets > 0))
792792 then commonActions
793793 else (commonActions :+ IntegerEntry(keyTotalWeekParticipants(week), (valueOrElse(getInteger(keyTotalWeekParticipants(week)), 0) + 1)))
794- }) :+ DeleteEntry(keyUserWeekTickets(addr, drawWeek))), consTickets)
794+ }) :+ DeleteEntry(keyUserWeekTickets(addr, drawWeek))), $Tuple3(consTickets, random4, random1))
795795 }
796796 }
797797
951951 then if ((size(i.payments) != 0))
952952 then throw("No payments required")
953953 else {
954- let $t01649616565 = claimInternal2(toString(i.caller))
955- let actions = $t01649616565._1
956- let wlgClaimedAmount = $t01649616565._2
954+ let $t01652516594 = claimInternal2(toString(i.caller))
955+ let actions = $t01652516594._1
956+ let wlgClaimedAmount = $t01652516594._2
957957 $Tuple2((actions :+ ScriptTransfer(i.caller, wlgClaimedAmount, wlgAssetId)), prologResult)
958958 }
959959 else throw("Strict value is not equal to itself.")
969969 else false)
970970 then throw("Permission denied")
971971 else {
972- let $t01688516942 = claimInternal2(addr)
973- if (($t01688516942 == $t01688516942))
972+ let $t01691416971 = claimInternal2(addr)
973+ if (($t01691416971 == $t01691416971))
974974 then {
975- let wlgClaimedAmount = $t01688516942._2
976- let actions = $t01688516942._1
975+ let wlgClaimedAmount = $t01691416971._2
976+ let actions = $t01691416971._1
977977 $Tuple2(if ((wlgClaimedAmount > 0))
978978 then (actions :+ ScriptTransfer(addressFromStringValue(addr), wlgClaimedAmount, wlgAssetId))
979979 else actions, wlgClaimedAmount)
991991 else false)
992992 then throw("Permission denied")
993993 else {
994- let $t01732517381 = claimInternal(addr)
995- if (($t01732517381 == $t01732517381))
994+ let $t01735417410 = claimInternal(addr)
995+ if (($t01735417410 == $t01735417410))
996996 then {
997- let wlgClaimedAmount = $t01732517381._2
998- let actions = $t01732517381._1
997+ let wlgClaimedAmount = $t01735417410._2
998+ let actions = $t01735417410._1
999999 $Tuple2(if ((wlgClaimedAmount > 0))
10001000 then (actions :+ ScriptTransfer(addressFromStringValue(addr), wlgClaimedAmount, wlgAssetId))
10011001 else nil, wlgClaimedAmount)
10761076 func takeWlgXp (addr) = if ((i.caller != stakingContract))
10771077 then throw("Permission denied")
10781078 else {
1079- let $t02001320056 = takeXpInternal(addr, 0)
1080- let actions = $t02001320056._1
1081- let xp = $t02001320056._2
1079+ let $t02004220085 = takeXpInternal(addr, 0)
1080+ let actions = $t02004220085._1
1081+ let xp = $t02004220085._2
10821082 $Tuple2(actions, xp)
10831083 }
10841084
10861086
10871087 @Callable(i)
10881088 func checkWlgXpREADONLY (addr) = {
1089- let $t02013320181 = takeXpInternal(addr, 0)
1090- let ignored = $t02013320181._1
1091- let deltaXP = $t02013320181._2
1089+ let $t02016220210 = takeXpInternal(addr, 0)
1090+ let ignored = $t02016220210._1
1091+ let deltaXP = $t02016220210._2
10921092 let newXP = (valueOrElse(getInteger(stakingContract, keyUserXP(addr)), 0) + deltaXP)
10931093 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, keyUserLevel(addr)), 0), newXP)
10941094 $Tuple2(nil, (lvlPoints :+ newXP))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let MULT6 = 1000000
77
88 let MULT8 = 100000000
99
1010 let MINSHOPPAYMENT = 100000
1111
1212 let DAY_MILLIS = 86400000
1313
1414 let ACRES_WEEKLY_PRIZE = 25000000
1515
1616 let chain = take(drop(this.bytes, 1), 1)
1717
1818 let DAY_BLOCKS = match chain {
1919 case _ =>
2020 if ((base58'2W' == $match0))
2121 then 1440
2222 else if ((base58'2T' == $match0))
2323 then 60
2424 else throw("Unknown chain")
2525 }
2626
2727 let WEEK_BLOCKS = match chain {
2828 case _ =>
2929 if ((base58'2W' == $match0))
3030 then 10080
3131 else if ((base58'2T' == $match0))
3232 then 180
3333 else throw("Unknown chain")
3434 }
3535
3636 let VRF_OFFSET = match chain {
3737 case _ =>
3838 if ((base58'2W' == $match0))
3939 then 0
4040 else if ((base58'2T' == $match0))
4141 then 1146000
4242 else throw("Unknown chain")
4343 }
4444
4545 let usdtAssetId = match chain {
4646 case _ =>
4747 if ((base58'2W' == $match0))
4848 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
4949 else if ((base58'2T' == $match0))
5050 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
5151 else throw("Unknown chain")
5252 }
5353
5454 let defaultRest2AddressStr = match chain {
5555 case _ =>
5656 if ((base58'2W' == $match0))
5757 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
5858 else if ((base58'2T' == $match0))
5959 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
6060 else throw("Unknown chain")
6161 }
6262
6363 let defaultRestAddressStr = match chain {
6464 case _ =>
6565 if ((base58'2W' == $match0))
6666 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
6767 else if ((base58'2T' == $match0))
6868 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
6969 else throw("Unknown chain")
7070 }
7171
7272 let economyContractStr = match chain {
7373 case _ =>
7474 if ((base58'2W' == $match0))
7575 then "3P2sk1KncSxRaZs8b4CWGPw2jkvvav74u4D"
7676 else if ((base58'2T' == $match0))
7777 then "3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep"
7878 else throw("Unknown chain")
7979 }
8080
8181 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
8282
8383
8484 let IdxCfgAcres2Dapp = 1
8585
8686 let IdxCfgWlgDapp = 2
8787
8888 let IdxCfgPuzzlePoolDapp = 4
8989
9090 let IdxCfgInvestFundDapp = 5
9191
9292 let IdxCfgMarketDapp = 6
9393
9494 func keyRestCfg () = "%s__restConfig"
9595
9696
9797 func keyRest2Address () = "%s__rest2Addr"
9898
9999
100100 func keyRestAddress () = "%s__restAddr"
101101
102102
103103 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
104104
105105 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
106106
107107
108108 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
109109
110110
111111 let IdxCfgStakingDapp = 1
112112
113113 let IdxCfgAcresDapp = 8
114114
115115 let restCfg = readRestCfgOrFail(restContract)
116116
117117 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
118118
119119 let acresContract = getContractAddressOrFail(restCfg, IdxCfgAcresDapp)
120120
121121 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
122122
123123 let rest2Cfg = readRestCfgOrFail(rest2Contract)
124124
125125 let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp)
126126
127127 let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp)
128128
129129 let puzzlePoolContract = getContractAddressOrFail(rest2Cfg, IdxCfgPuzzlePoolDapp)
130130
131131 let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp)
132132
133133 let marketContract = getContractAddressOrFail(rest2Cfg, IdxCfgMarketDapp)
134134
135135 func keyLastWeekTxIdByUser (addr) = ("lastWeekTxIdByUser_" + addr)
136136
137137
138138 let wlgAssetIdKey = "wlg_assetId"
139139
140140 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet")
141141
142142 func keyUserBet (addr) = ("userBet_" + addr)
143143
144144
145145 func keyUserWeekTickets (addr,week) = ((("userWeekTickets_" + addr) + "_") + toString(week))
146146
147147
148148 func keyTotalWeekTickets (week) = ("totalWeekTickets_" + toString(week))
149149
150150
151151 func keyTotalWeekParticipants (week) = ("totalWeekParticipants_" + toString(week))
152152
153153
154154 func keyNumPrizes2Draw (week) = ("numPrizes2Draw_" + toString(week))
155155
156156
157157 func keyNumNFTDrawn (week) = ("numNFTDrawn_" + toString(week))
158158
159159
160160 func keyAcresDrawn (week) = ("acresDrawn_" + toString(week))
161161
162162
163163 func keyWeekWinners (week) = ("weekWinners_" + toString(week))
164164
165165
166166 func winningBet (day) = {
167167 let b = (day * DAY_BLOCKS)
168168 let h = if ((b > VRF_OFFSET))
169169 then b
170170 else (b + VRF_OFFSET)
171171 (toInt(value(value(blockInfoByHeight(h)).vrf)) % 4)
172172 }
173173
174174
175175 let ixWlgAmount = 0
176176
177177 let ixWlgWlg = 1
178178
179179 let ixWlgPrice = 2
180180
181181 let ixWlgIssueTime = 8
182182
183183 let ixWlgTeamAmLeft = 11
184184
185185 let ixWlgTeamAmAvailNow = 12
186186
187187 let ixWlgActAmLeft = 15
188188
189189 let ixWlgActAmAvailNow = 16
190190
191191 let ixWlgAmLeftTotal = 19
192192
193193 let ixWlgUserAmAvailNow = 23
194194
195195 let ixWlgEffUserTime = 24
196196
197197 let ixWlgIssue10Amount = 25
198198
199199 let ixWlgMarketingIssue10Amount = 26
200200
201201 let ixWlgTeamIssue10Amount = 27
202202
203203 let ixWlgUser10part = 28
204204
205205 let ixWlgIssue10Time = 29
206206
207207 func asInt (v) = match v {
208208 case n: Int =>
209209 n
210210 case _ =>
211211 throw("fail to cast into Int")
212212 }
213213
214214
215215 func fixedPoint (val,decimals) = {
216216 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
217217 let lowPart = toString((val % tenPow))
218218 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
219219 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
220220 }
221221
222222
223223 func getRandomNumber (maxValue,salt,entropy) = if ((0 >= maxValue))
224224 then throw("maxValue should be > 0")
225225 else {
226226 let randomHash = sha256_16Kb((salt + entropy))
227227 (toInt(randomHash) % maxValue)
228228 }
229229
230230
231231 let M4 = 10000
232232
233233 let SCALE8 = 100000000
234234
235235 let xpLevelScale = 3200
236236
237237 let xpLevelRecipPow = 4000
238238
239239 let numPointsOnLevelUp = 3
240240
241241 let wlgBaseAmountXp = 100000000000
242242
243243 func keyUserXP (addr) = ("userXP_" + addr)
244244
245245
246246 func keyUserLevel (addr) = ("userLevel_" + addr)
247247
248248
249249 let xpWlg = 10000
250250
251251 func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8)
252252
253253
254254 func levelUp (currLevel,newXP) = {
255255 let newLevel = levelByXP(newXP)
256256 [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))]
257257 }
258258
259259
260260 func isWin (userTickets,totalTickets,numPrizes,random4) = {
261261 let a4 = fraction(M4, (totalTickets - userTickets), totalTickets)
262262 let p4 = pow(a4, 4, numPrizes, 0, 4, DOWN)
263263 ((M4 - random4) > p4)
264264 }
265265
266266
267267 let M6 = 1000000
268268
269269 let M8 = 100000000
270270
271271 let MILLION6 = 100000000000000
272272
273273 let TEAMSHARE = 200000
274274
275275 let ACTIVITYSHARE = 100000
276276
277277 let PLAYERSHARE = 400000
278278
279279 let YEARMILLIS = 31557600000
280280
281281 let DAYMILLIS = 86400000
282282
283283 let BANK_FEE = 50000
284284
285285 let ch = take(drop(this.bytes, 1), 1)
286286
287287 let USDT_TVL_CORRECTION = match ch {
288288 case _ =>
289289 if ((base58'2W' == $match0))
290290 then 1208630000
291291 else if ((base58'2T' == $match0))
292292 then 0
293293 else throw("Unknown chain")
294294 }
295295
296296 let teamAddrKey = "teamAddr"
297297
298298 let lastTeamTimeKey = "lastClaimedTime_team"
299299
300300 let teamAmountLeftKey = "teamAmountLeft"
301301
302302 let lastActivitiesTimeKey = "lastClaimedTime_activities"
303303
304304 let actAmountLeftKey = "activitiesAmountLeft"
305305
306306 let stakersAmountLeftKey = "stakersAmountLeft"
307307
308308 func keyLastClaimedTimeByUserOld (addr) = ("lastClaimedTimeUserOld_" + addr)
309309
310310
311311 func keyLastWlgTradeTimeByUser (addr) = ("lastArbTimeUser_" + addr)
312312
313313
314314 func keyLastWlgTradeLimitByUser (addr) = ("lastWlgLimitUser_" + addr)
315315
316316
317317 func distributionByPeriod (period) = fraction(MILLION6, (PLAYERSHARE * (period + 1)), (6 * M6))
318318
319319
320320 let wlgIssueTimeKey = "wlg_issueTime"
321321
322322 let wlgIssuedAmountKey = "wlg_issuedAmount"
323323
324324 let zbIssuedAmountKey = "zbill_issuedAmount"
325325
326326 func keyAcresStakedAmountByUser (addr) = ("acresStakedAmountByUser_" + addr)
327327
328328
329329 let acresStakedTotalKey = "acresStakedAmountTotal"
330330
331331 func keyWlgStakedAmountByUser (addr) = ("wlgStakedAmountByUser_" + addr)
332332
333333
334334 let wlgStakedTotalKey = "wlgStakedAmountTotal"
335335
336336 func keyWlgStakedTimeByUser (addr) = ("wlgStakedTimeByUser_" + addr)
337337
338338
339339 let dappRest = 0
340340
341341 let dappStaking = 1
342342
343343 let dappEconomy = 2
344344
345345 let dappWlg = 3
346346
347347 let dappPuzzle = 4
348348
349349 let dappInvestFund = 5
350350
351351 let dappAcres = 6
352352
353353 func getLands (userAddrStrOrEmpty,stakingContract,acresContract) = {
354354 let props = split(valueOrElse(getString(stakingContract, "resTypesProportions"), "0_0_0_0_0_0"), "_")
355355 func adder (acc,item) = (acc + parseIntValue(item))
356356
357357 let totalPieces = {
358358 let $l = props
359359 let $s = size($l)
360360 let $acc0 = 0
361361 func $f0_1 ($a,$i) = if (($i >= $s))
362362 then $a
363363 else adder($a, $l[$i])
364364
365365 func $f0_2 ($a,$i) = if (($i >= $s))
366366 then $a
367367 else throw("List size exceeds 6")
368368
369369 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
370370 }
371371 let userPieces = valueOrElse(getInteger(stakingContract, ("stakedPiecesByOwner_" + userAddrStrOrEmpty)), 0)
372372 let totalAcres = valueOrElse(getInteger(acresContract, acresStakedTotalKey), 0)
373373 let userAcres = valueOrElse(getInteger(acresContract, keyAcresStakedAmountByUser(userAddrStrOrEmpty)), 0)
374374 [totalPieces, userPieces, totalAcres, userAcres]
375375 }
376376
377377
378378 let idxTotalPieces = 0
379379
380380 let idxUserPieces = 1
381381
382382 let idxTotalAcres = 2
383383
384384 let idxUserAcres = 3
385385
386386 let OLD_STAKING_DEADL = 1733346000000
387387
388388 func getWlgStats (userAddrOpt,contracts,usdtId,usdtBalanceCorrection,userProportion6) = {
389389 let issuedAmount = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssuedAmountKey), "WLGOLD is not issued yet")
390390 let economyUsd = assetBalance(contracts[dappEconomy], usdtId)
391391 let restUsd = assetBalance(contracts[dappRest], usdtId)
392392 let wlgUsd = (assetBalance(contracts[dappWlg], usdtId) - usdtBalanceCorrection)
393393 let puzzleUsd = assetBalance(contracts[dappPuzzle], usdtId)
394394 let investFndContract = contracts[dappInvestFund]
395395 let investFundTotal = (assetBalance(investFndContract, usdtId) + valueOrElse(getInteger(investFndContract, zbIssuedAmountKey), 0))
396396 let totalFundsUsd = ((economyUsd + wlgUsd) + investFundTotal)
397397 let wlgId = valueOrErrorMessage(getBinary(contracts[dappWlg], "wlg_assetId"), "Not initialized yet")
398398 let now = lastBlock.timestamp
399399 let issueTime = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssueTimeKey), "Not initialized")
400400 let bankWlgold = assetBalance(contracts[dappStaking], wlgId)
401401 let teamTotal = fraction(MILLION6, TEAMSHARE, M6)
402402 let teamAmountLeft = valueOrElse(getInteger(contracts[dappWlg], teamAmountLeftKey), teamTotal)
403403 let lastTeamTime = valueOrElse(getInteger(contracts[dappWlg], lastTeamTimeKey), issueTime)
404404 let teamAddr = addressFromStringValue(value(getString(contracts[dappWlg], teamAddrKey)))
405405 let teamAmountAvailableNow = min([fraction(teamTotal, (now - lastTeamTime), (3 * YEARMILLIS)), teamAmountLeft])
406406 let teamWlgold = assetBalance(teamAddr, wlgId)
407407 let actTotal = fraction(MILLION6, ACTIVITYSHARE, M6)
408408 let actAmountLeft = valueOrElse(getInteger(contracts[dappWlg], actAmountLeftKey), actTotal)
409409 let lastActivitiesTime = valueOrElse(getInteger(contracts[dappWlg], lastActivitiesTimeKey), issueTime)
410410 let actAmountAvailableNow = min([fraction(actTotal, (now - lastActivitiesTime), (3 * YEARMILLIS)), actAmountLeft])
411411 let actWlgold = assetBalance(contracts[dappRest], wlgId)
412412 let lastUserTime = valueOrElse(getInteger(contracts[dappWlg], keyLastClaimedTimeByUserOld(userAddrOpt)), issueTime)
413413 let lastUserPeriod = ((lastUserTime - issueTime) / YEARMILLIS)
414414 let nowLimited = min([min([now, (issueTime + (3 * YEARMILLIS))]), OLD_STAKING_DEADL])
415415 let curPeriod = min([((now - issueTime) / YEARMILLIS), 2])
416416 let eff = getLands(userAddrOpt, contracts[dappStaking], contracts[dappAcres])
417417 let curPeriodDistribution = distributionByPeriod(curPeriod)
418418 let $t079143 = if ((lastUserPeriod == curPeriod))
419419 then {
420420 let a0 = fraction(curPeriodDistribution, (nowLimited - lastUserTime), YEARMILLIS)
421421 let userPart = fraction(a0, userProportion6, M6)
422422 let effTime = (lastUserTime + fraction((nowLimited - lastUserTime), userProportion6, M6))
423423 $Tuple3(userPart, a0, effTime)
424424 }
425425 else if ((lastUserPeriod == (curPeriod - 1)))
426426 then {
427427 let a1 = fraction(distributionByPeriod((curPeriod - 1)), ((issueTime + (YEARMILLIS * curPeriod)) - lastUserTime), YEARMILLIS)
428428 let a0 = fraction(curPeriodDistribution, (nowLimited - (issueTime + (YEARMILLIS * curPeriod))), YEARMILLIS)
429429 let avail = (a1 + a0)
430430 let userPart = fraction(avail, userProportion6, M6)
431431 let effTime = if ((a1 >= userPart))
432432 then (lastUserTime + fraction(YEARMILLIS, userPart, distributionByPeriod((curPeriod - 1))))
433433 else ((issueTime + (YEARMILLIS * curPeriod)) + fraction(YEARMILLIS, (userPart - a1), curPeriodDistribution))
434434 $Tuple3(userPart, avail, effTime)
435435 }
436436 else {
437437 let a2 = fraction(distributionByPeriod((curPeriod - 2)), ((issueTime + (YEARMILLIS * (curPeriod - 1))) - lastUserTime), YEARMILLIS)
438438 let a1 = distributionByPeriod((curPeriod - 1))
439439 let a0 = fraction(curPeriodDistribution, (nowLimited - (issueTime + (YEARMILLIS * curPeriod))), YEARMILLIS)
440440 let avail = ((a2 + a1) + a0)
441441 let userPart = fraction(avail, userProportion6, M6)
442442 let effTime = if ((a2 >= userPart))
443443 then (lastUserTime + fraction(YEARMILLIS, userPart, distributionByPeriod((curPeriod - 2))))
444444 else if (((a2 + a1) >= userPart))
445445 then ((issueTime + (YEARMILLIS * (curPeriod - 1))) + fraction(YEARMILLIS, (userPart - a2), distributionByPeriod((curPeriod - 1))))
446446 else ((issueTime + (YEARMILLIS * curPeriod)) + fraction(YEARMILLIS, ((userPart - a2) - a1), curPeriodDistribution))
447447 $Tuple3(userPart, avail, effTime)
448448 }
449449 let userAmount = $t079143._1
450450 let userAvailable = $t079143._2
451451 let effLastTime = $t079143._3
452452 let sLandDailyAmount = fraction(fraction(curPeriodDistribution, DAYMILLIS, YEARMILLIS), 25, eff[idxTotalPieces])
453453 let amountLeftTotal = valueOrElse(getInteger(contracts[dappWlg], stakersAmountLeftKey), 0)
454454 let userTemp = fraction(userAmount, ((eff[idxUserPieces] * M8) + eff[idxUserAcres]), ((eff[idxTotalPieces] * M8) + eff[idxTotalAcres]))
455455 let bankFromUser = fraction(userTemp, BANK_FEE, M6)
456456 let robbedUser = (userTemp - bankFromUser)
457457 let unrobbedUser = fraction(userAvailable, ((eff[idxUserPieces] * M8) + eff[idxUserAcres]), ((eff[idxTotalPieces] * M8) + eff[idxTotalAcres]))
458458 [issuedAmount, fraction((totalFundsUsd - USDT_TVL_CORRECTION), M8, issuedAmount), totalFundsUsd, economyUsd, restUsd, wlgUsd, puzzleUsd, issueTime, lastTeamTime, teamTotal, teamAmountLeft, teamAmountAvailableNow, teamWlgold, actTotal, actAmountLeft, actAmountAvailableNow, actWlgold, curPeriod, amountLeftTotal, curPeriodDistribution, lastUserTime, robbedUser, sLandDailyAmount, investFundTotal, unrobbedUser, effLastTime, bankWlgold]
459459 }
460460
461461
462462 let M6_ = 1000000
463463
464464 let M8_ = 100000000
465465
466466 let TEAM_SHARE = 200000
467467
468468 let ACTIVITY_SHARE = 100000
469469
470470 let PLAYER_SHARE = 400000
471471
472472 let YEAR_MILLIS = 31557600000
473473
474474 let DAY_MS = 86400000
475475
476476 let ISSUE10 = 1000000000
477477
478478 let PLAYERS10_SHARE = 800000
479479
480480 let MARKETING10_SHARE = 100000
481481
482482 let TEAM10_SHARE = 100000
483483
484484 let NEW_STAKING_START = 1731279600000
485485
486486 let marketingAddrKey = "marketingAddr"
487487
488488 let teamAdrKey = "teamAddr"
489489
490490 let lastTeamTimKey = "lastClaimedTime_team"
491491
492492 let teamAmtLeftKey = "teamAmountLeft"
493493
494494 let lastActivitiesTimKey = "lastClaimedTime_activities"
495495
496496 let actAmtLeftKey = "activitiesAmountLeft"
497497
498498 let stakersAmtLeftKey = "stakersAmountLeft"
499499
500500 func keyLastClaimTimeByUser (addr) = ("lastClaimedTimeUser_" + addr)
501501
502502
503503 func distrByPeriod (issuedAmount,period) = fraction(issuedAmount, (PLAYER_SHARE * (period + 1)), (6 * M6_))
504504
505505
506506 let wlgIssue10TimeKey = "wlg_issue10Time"
507507
508508 let wlgIssueTimKey = "wlg_issueTime"
509509
510510 let wlgIssuedAmtKey = "wlg_issuedAmount"
511511
512512 let zbIssuedAmtKey = "zbill_issuedAmount"
513513
514514 func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr)
515515
516516
517517 let acresStakdTotalKey = "acresStakedAmountTotal"
518518
519519 let totalFarmingPowerKey = "totalFarmingPower"
520520
521521 let dapp2Rest = 0
522522
523523 let dapp2Staking = 1
524524
525525 let dapp2Wlg = 2
526526
527527 let dapp2Puzzle = 3
528528
529529 let dapp2InvestFund = 4
530530
531531 let DEFAULT_WEEKLY_PRIZES = 5
532532
533533 let ACRES_FOR_BET = 100000000
534534
535535 let keyNftTotalIssued = "nftTotalIssued"
536536
537537 let keyNftTotalBurned = "nftTotalBurned"
538538
539539 let keyWlNftTotalStaked = "WlNftTotalStaked"
540540
541541 func keyUserWlNftNumber (addr) = ("userWlNftNumber_" + addr)
542542
543543
544544 func keyUserFullBonus (addr) = ("userFullBonus_" + addr)
545545
546546
547547 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
548548
549549 func getLevelByAcres (acres) = {
550550 let acr = ((acres + 99999999) / M8_)
551551 func checker (acc,item) = if ((item >= acr))
552552 then acc
553553 else (acc + 1)
554554
555555 let $l = levelAcres
556556 let $s = size($l)
557557 let $acc0 = 0
558558 func $f0_1 ($a,$i) = if (($i >= $s))
559559 then $a
560560 else checker($a, $l[$i])
561561
562562 func $f0_2 ($a,$i) = if (($i >= $s))
563563 then $a
564564 else throw("List size exceeds 10")
565565
566566 $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)
567567 }
568568
569569
570570 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
571571
572572
573573 func getFarmingPowerByAcresAndBonus (acres,bonus6) = {
574574 let notBonused = getFarmingPowerByAcres(acres)
575575 $Tuple2(fraction(notBonused, (M6_ + bonus6), M6_), notBonused)
576576 }
577577
578578
579579 func getFarmingPowers (userAddrStrOrEmpty,acres2Contract) = {
580580 let totalFP = valueOrElse(getInteger(acres2Contract, totalFarmingPowerKey), 0)
581581 let userAcres = valueOrElse(getInteger(acres2Contract, keyAcresStakedAmtByUser(userAddrStrOrEmpty)), 0)
582582 let userBonus = valueOrElse(getInteger(acres2Contract, keyUserFullBonus(userAddrStrOrEmpty)), 0)
583583 let $t079143 = getFarmingPowerByAcresAndBonus(userAcres, userBonus)
584584 let userFPbonused = $t079143._1
585585 let userFPnotBonused = $t079143._2
586586 [totalFP, userFPbonused, userFPnotBonused, userBonus]
587587 }
588588
589589
590590 let idxTotalFP = 0
591591
592592 let idxUserFPbonused = 1
593593
594594 func getWlgStats2 (userAddrOpt,contracts,usdtId,usdtBalanceCorrection) = {
595595 let issuedAmount = valueOrErrorMessage(getInteger(contracts[dapp2Wlg], wlgIssuedAmtKey), "WLGOLD is not issued yet")
596596 let restUsd = assetBalance(contracts[dapp2Rest], usdtId)
597597 let wlgUsd = (assetBalance(contracts[dapp2Wlg], usdtId) - usdtBalanceCorrection)
598598 let puzzleUsd = assetBalance(contracts[dapp2Puzzle], usdtId)
599599 let acres2Usd = assetBalance(contracts[dapp2Staking], usdtId)
600600 let investFndContract = contracts[dapp2InvestFund]
601601 let investFundTotal = (assetBalance(investFndContract, usdtId) + valueOrElse(getInteger(investFndContract, zbIssuedAmtKey), 0))
602602 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
603603 let wlgId = valueOrErrorMessage(getBinary(contracts[dapp2Wlg], "wlg_assetId"), "Not initialized yet")
604604 let now = lastBlock.timestamp
605605 let issueTime = valueOrErrorMessage(getInteger(contracts[dapp2Wlg], wlgIssueTimKey), "Not initialized")
606606 let wlgWlg = assetBalance(contracts[dapp2Wlg], wlgId)
607607 let teamTotal = fraction(issuedAmount, TEAM_SHARE, M6_)
608608 let teamAmountLeft = valueOrElse(getInteger(contracts[dapp2Wlg], teamAmtLeftKey), teamTotal)
609609 let lastTeamTime = valueOrElse(getInteger(contracts[dapp2Wlg], lastTeamTimKey), issueTime)
610610 let teamAddr = addressFromStringValue(value(getString(contracts[dapp2Wlg], teamAdrKey)))
611611 let teamAmountAvailableNow = min([fraction(teamTotal, (now - lastTeamTime), (3 * YEAR_MILLIS)), teamAmountLeft])
612612 let teamWlgold = assetBalance(teamAddr, wlgId)
613613 let actTotal = fraction(issuedAmount, ACTIVITY_SHARE, M6_)
614614 let actAmountLeft = valueOrElse(getInteger(contracts[dapp2Wlg], actAmtLeftKey), actTotal)
615615 let lastActivitiesTime = valueOrElse(getInteger(contracts[dapp2Wlg], lastActivitiesTimKey), issueTime)
616616 let actAmountAvailableNow = min([fraction(actTotal, (now - lastActivitiesTime), (3 * YEAR_MILLIS)), actAmountLeft])
617617 let actWlgold = assetBalance(contracts[dapp2Rest], wlgId)
618618 let lastUserTime = valueOrElse(getInteger(contracts[dapp2Wlg], keyLastClaimTimeByUser(userAddrOpt)), issueTime)
619619 let lastUserPeriod = ((lastUserTime - issueTime) / YEAR_MILLIS)
620620 let nowLimited = min([now, (issueTime + (3 * YEAR_MILLIS))])
621621 let curPeriod = min([((now - issueTime) / YEAR_MILLIS), 2])
622622 let eff = getFarmingPowers(userAddrOpt, contracts[dapp2Staking])
623623 let curPeriodDistribution = distrByPeriod(issuedAmount, curPeriod)
624624 let prevPeriodEnd = (issueTime + (YEAR_MILLIS * curPeriod))
625625 let prevPrevPeriodEnd = (issueTime + (YEAR_MILLIS * (curPeriod - 1)))
626626 let a0 = fraction(curPeriodDistribution, (nowLimited - lastUserTime), YEAR_MILLIS)
627627 let userAvailable = if ((lastUserPeriod == curPeriod))
628628 then a0
629629 else if ((lastUserPeriod == (curPeriod - 1)))
630630 then {
631631 let a1 = fraction(distrByPeriod(issuedAmount, (curPeriod - 1)), (prevPeriodEnd - lastUserTime), YEAR_MILLIS)
632632 (a1 + a0)
633633 }
634634 else {
635635 let a2 = fraction(distrByPeriod(issuedAmount, (curPeriod - 2)), (prevPrevPeriodEnd - lastUserTime), YEAR_MILLIS)
636636 let a1 = distrByPeriod(issuedAmount, (curPeriod - 1))
637637 ((a2 + a1) + a0)
638638 }
639639 let amountLeftTotal = valueOrElse(getInteger(contracts[dapp2Wlg], stakersAmtLeftKey), 0)
640640 let userAmount = if ((eff[idxTotalFP] != 0))
641641 then fraction(userAvailable, eff[idxUserFPbonused], eff[idxTotalFP])
642642 else 0
643643 let lastIssue10Time = valueOrElse(getInteger(contracts[dapp2Wlg], wlgIssue10TimeKey), NEW_STAKING_START)
644644 let issue10Amount = fraction(ISSUE10, max([(now - lastIssue10Time), 0]), DAY_MS)
645645 let marketingIssue10Amount = fraction(issue10Amount, MARKETING10_SHARE, M6_)
646646 let teamIssue10Amount = fraction(issue10Amount, TEAM10_SHARE, M6_)
647647 let user10Interval = max([(now - max([NEW_STAKING_START, lastUserTime])), 0])
648648 let user10part = if ((eff[idxTotalFP] != 0))
649649 then fraction(fraction(fraction(ISSUE10, user10Interval, DAY_MS), eff[idxUserFPbonused], eff[idxTotalFP]), PLAYERS10_SHARE, M6_)
650650 else 0
651651 let newIssue10Time = max([NEW_STAKING_START, now])
652652 let acresStakedTotal = valueOrElse(getInteger(contracts[dapp2Staking], acresStakdTotalKey), 0)
653653 let nftTotalIssued = valueOrElse(getInteger(contracts[dapp2Staking], keyNftTotalIssued), 0)
654654 let nftTotalBurned = valueOrElse(getInteger(contracts[dapp2Staking], keyNftTotalBurned), 0)
655655 let wlNftTotalStaked = valueOrElse(getInteger(contracts[dapp2Staking], keyWlNftTotalStaked), 0)
656656 let wlNftUserStaked = valueOrElse(getInteger(contracts[dapp2Staking], keyUserWlNftNumber(valueOrElse(userAddrOpt, ""))), 0)
657657 [issuedAmount, wlgWlg, fraction(totalFundsUsd, M8_, issuedAmount), totalFundsUsd, restUsd, acres2Usd, wlgUsd, puzzleUsd, issueTime, lastTeamTime, teamTotal, teamAmountLeft, teamAmountAvailableNow, teamWlgold, actTotal, actAmountLeft, actAmountAvailableNow, actWlgold, curPeriod, amountLeftTotal, curPeriodDistribution, lastUserTime, investFundTotal, userAmount, nowLimited, issue10Amount, marketingIssue10Amount, teamIssue10Amount, user10part, newIssue10Time, eff[idxTotalFP], acresStakedTotal, nftTotalIssued, nftTotalBurned, wlNftTotalStaked, wlNftUserStaked]
658658 }
659659
660660
661661 let profitAddrKey = "profitAddr"
662662
663663 let stakersAmountPaidTotalKey = "stakersAmountPaidTotal"
664664
665665 func keyStakersAmountPaidUser (addr) = ("stakersAmountPaidUser_" + addr)
666666
667667
668668 func prolog2 () = asInt(reentrantInvoke(acres2Contract, "saveLastTx", nil, nil))
669669
670670
671671 func getSwapLimitWlgold (addr) = {
672672 let lastTime = valueOrElse(getInteger(keyLastWlgTradeTimeByUser(addr)), 0)
673673 let defaultLimit = valueOrElse(getInteger(acres2Contract, keyAcresStakedAmountByUser(addr)), 0)
674674 let lastLimitLeft = valueOrElse(getInteger(keyLastWlgTradeLimitByUser(addr)), defaultLimit)
675675 let currentLimit = (lastLimitLeft + fraction(defaultLimit, (lastBlock.timestamp - lastTime), DAY_MILLIS))
676676 min([currentLimit, defaultLimit])
677677 }
678678
679679
680680 let idxWlgTeamAmLeft = 10
681681
682682 let idxWlgTeamAmAvailNow = 11
683683
684684 let idxWlgActAmLeft = 14
685685
686686 let idxWlgActAmAvailNow = 15
687687
688688 let idxWlgAmLeftTotal = 18
689689
690690 let idxWlgUserTotalAvail = 24
691691
692692 let idxWlgEffUserTime = 25
693693
694694 func claimInternal (addr) = {
695695 let caller = addressFromStringValue(addr)
696696 let economyContract = addressFromStringValue(economyContractStr)
697697 let curStats = getWlgStats(addr, [restContract, stakingContract, economyContract, wlgContract, puzzlePoolContract, investFundContract, acresContract], usdtAssetId, 0, MULT6)
698698 let now = lastBlock.timestamp
699699 let teamAmountLeft = curStats[idxWlgTeamAmLeft]
700700 let teamAmount = curStats[idxWlgTeamAmAvailNow]
701701 let actAmountLeft = curStats[idxWlgActAmLeft]
702702 let actAmount = curStats[idxWlgActAmAvailNow]
703703 let userAmount = curStats[idxWlgUserTotalAvail]
704704 let userKey = keyStakersAmountPaidUser(addr)
705705 let userTotal = curStats[idxWlgUserTotalAvail]
706706 let userEffTime = curStats[idxWlgEffUserTime]
707707 $Tuple2([ScriptTransfer(addressFromStringValue(value(getString(teamAddrKey))), teamAmount, wlgAssetId), ScriptTransfer(restContract, actAmount, wlgAssetId), IntegerEntry(userKey, (valueOrElse(getInteger(userKey), 0) + userAmount)), IntegerEntry(stakersAmountPaidTotalKey, (valueOrElse(getInteger(stakersAmountPaidTotalKey), 0) + userTotal)), IntegerEntry(stakersAmountLeftKey, (curStats[idxWlgAmLeftTotal] - userTotal)), IntegerEntry(teamAmountLeftKey, (teamAmountLeft - teamAmount)), IntegerEntry(lastTeamTimeKey, now), IntegerEntry(actAmountLeftKey, (actAmountLeft - actAmount)), IntegerEntry(lastActivitiesTimeKey, now), IntegerEntry(keyLastClaimedTimeByUserOld(addr), userEffTime)], userAmount)
708708 }
709709
710710
711711 func claimInternal2 (addr) = {
712712 let curStats = getWlgStats2(addr, [rest2Contract, acres2Contract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, 0)
713713 let userTimeKey = keyLastClaimTimeByUser(addr)
714714 let lastUserTime = valueOrElse(getInteger(userTimeKey), 0)
715715 let userEffTime = curStats[ixWlgEffUserTime]
716716 if ((lastUserTime == userEffTime))
717717 then $Tuple2(nil, 0)
718718 else {
719719 let now = lastBlock.timestamp
720720 let issueTime = curStats[ixWlgIssueTime]
721721 let teamAmountLeft = curStats[ixWlgTeamAmLeft]
722722 let teamAmount = (curStats[ixWlgTeamAmAvailNow] + curStats[ixWlgTeamIssue10Amount])
723723 let teamActions = if ((teamAmount > 0))
724724 then [IntegerEntry(teamAmountLeftKey, ((teamAmountLeft - teamAmount) + curStats[ixWlgTeamIssue10Amount])), IntegerEntry(lastTeamTimeKey, now), ScriptTransfer(addressFromStringValue(value(getString(teamAddrKey))), teamAmount, wlgAssetId)]
725725 else nil
726726 let actAmountLeft = curStats[ixWlgActAmLeft]
727727 let actAmount = curStats[ixWlgActAmAvailNow]
728728 let actActions = if ((actAmount > 0))
729729 then [IntegerEntry(actAmountLeftKey, (actAmountLeft - actAmount)), IntegerEntry(lastActivitiesTimeKey, now), ScriptTransfer(restContract, actAmount, wlgAssetId)]
730730 else nil
731731 let marketingAmount = curStats[ixWlgMarketingIssue10Amount]
732732 let marketingTransfer = if ((marketingAmount > 0))
733733 then [ScriptTransfer(addressFromStringValue(value(getString(marketingAddrKey))), marketingAmount, wlgAssetId)]
734734 else nil
735735 let userAmount = curStats[ixWlgUserAmAvailNow]
736736 let userKey = keyStakersAmountPaidUser(addr)
737737 let userTotal = (userAmount + curStats[ixWlgUser10part])
738738 let issued10Amount = curStats[ixWlgIssue10Amount]
739739 $Tuple2(((([Reissue(wlgAssetId, issued10Amount, true), IntegerEntry(wlgIssuedAmountKey, (curStats[ixWlgAmount] + issued10Amount)), IntegerEntry(wlgIssue10TimeKey, curStats[ixWlgIssue10Time]), IntegerEntry(userKey, (valueOrElse(getInteger(userKey), 0) + userAmount)), IntegerEntry(stakersAmountPaidTotalKey, (valueOrElse(getInteger(stakersAmountPaidTotalKey), 0) + userAmount)), IntegerEntry(stakersAmountLeftKey, (curStats[ixWlgAmLeftTotal] - userAmount)), IntegerEntry(userTimeKey, userEffTime)] ++ teamActions) ++ actActions) ++ marketingTransfer), userTotal)
740740 }
741741 }
742742
743743
744744 func takeXpInternal (addr,delta) = {
745745 let now = lastBlock.timestamp
746746 let timeKey = keyWlgStakedTimeByUser(addr)
747747 let amountKey = keyWlgStakedAmountByUser(addr)
748748 let lastTime = valueOrElse(getInteger(timeKey), 0)
749749 let oldUser = valueOrElse(getInteger(amountKey), 0)
750750 let oldTotal = valueOrElse(getInteger(wlgStakedTotalKey), 0)
751751 let xp = fraction(fraction(xpWlg, oldUser, wlgBaseAmountXp), (lastTime - now), DAYMILLIS)
752752 $Tuple3([IntegerEntry(timeKey, now), IntegerEntry(amountKey, (oldUser + delta)), IntegerEntry(wlgStakedTotalKey, (oldTotal + delta))], xp, oldUser)
753753 }
754754
755755
756756 func openChestInternal (addr,week,userTickets,totalTickets,lastWeekNumTx) = {
757757 let drawWeek = (week - 1)
758758 let numPrizes = valueOrElse(getInteger(keyNumPrizes2Draw(drawWeek)), DEFAULT_WEEKLY_PRIZES)
759759 let entropy = value(value(blockInfoByHeight((week * WEEK_BLOCKS))).vrf)
760760 let salt = fromBase58String(split(lastWeekNumTx, "_")[1])
761761 let random4 = getRandomNumber(M4, salt, entropy)
762762 if (isWin(userTickets, totalTickets, numPrizes, random4))
763763 then {
764764 let rnd = getRandomNumber(100, (base58'29' + salt), entropy)
765765 let $t083418798 = if ((rnd >= 90))
766766 then {
767767 let nftKey = keyNumNFTDrawn(drawWeek)
768768 $Tuple2(invoke(acres2Contract, "issuePickC1", [addr], nil), IntegerEntry(nftKey, (valueOrElse(getInteger(nftKey), 0) + 1)))
769769 }
770770 else {
771771 let acresKey = keyAcresDrawn(drawWeek)
772772 $Tuple2(invoke(acresContract, "sendAcresFor", [addr, ACRES_WEEKLY_PRIZE], nil), IntegerEntry(acresKey, (valueOrElse(getInteger(acresKey), 0) + ACRES_WEEKLY_PRIZE)))
773773 }
774774 let prizeResult = $t083418798._1
775775 let prizeAction = $t083418798._2
776776 let winners = getString(keyWeekWinners(drawWeek))
777777 let newWinners = if (isDefined(winners))
778778 then ((value(winners) + "_") + addr)
779779 else addr
780- $Tuple2([prizeAction, DeleteEntry(keyUserWeekTickets(addr, drawWeek)), StringEntry(keyWeekWinners(drawWeek), newWinners)], $Tuple2(prizeResult, rnd))
780+ $Tuple2([prizeAction, DeleteEntry(keyUserWeekTickets(addr, drawWeek)), StringEntry(keyWeekWinners(drawWeek), newWinners)], $Tuple3(prizeResult, random4, rnd))
781781 }
782782 else {
783783 let random1 = (getRandomNumber(9, (base58'29' + salt), entropy) + 1)
784784 let consTickets = fraction(userTickets, random1, 10)
785785 let ticketsKey = keyUserWeekTickets(addr, week)
786786 let oldTickets = valueOrElse(getInteger(ticketsKey), 0)
787787 $Tuple2(((if ((consTickets == 0))
788788 then nil
789789 else {
790790 let commonActions = [IntegerEntry(keyTotalWeekTickets(week), (valueOrElse(getInteger(keyTotalWeekTickets(week)), 0) + consTickets)), IntegerEntry(ticketsKey, (oldTickets + consTickets))]
791791 if ((oldTickets > 0))
792792 then commonActions
793793 else (commonActions :+ IntegerEntry(keyTotalWeekParticipants(week), (valueOrElse(getInteger(keyTotalWeekParticipants(week)), 0) + 1)))
794- }) :+ DeleteEntry(keyUserWeekTickets(addr, drawWeek))), consTickets)
794+ }) :+ DeleteEntry(keyUserWeekTickets(addr, drawWeek))), $Tuple3(consTickets, random4, random1))
795795 }
796796 }
797797
798798
799799 func claimTicketsInternal (addr,userBetStr) = {
800800 let week = (height / WEEK_BLOCKS)
801801 let ticketsKey = keyUserWeekTickets(addr, week)
802802 let dayBet = split(userBetStr, "_")
803803 let oldTotalTickets = valueOrElse(getInteger(keyTotalWeekTickets(week)), 0)
804804 let oldTickets = valueOrElse(getInteger(ticketsKey), 0)
805805 let deltaTickets = if ((winningBet(parseIntValue(dayBet[0])) == parseIntValue(dayBet[1])))
806806 then 1
807807 else 0
808808 let oldParticipants = valueOrElse(getInteger(keyTotalWeekParticipants(week)), 0)
809809 let updateParticipants = if (if ((oldTickets == 0))
810810 then (deltaTickets == 1)
811811 else false)
812812 then [IntegerEntry(keyTotalWeekParticipants(week), (oldParticipants + 1))]
813813 else nil
814814 $Tuple2(if ((deltaTickets == 0))
815815 then nil
816816 else ((updateParticipants :+ IntegerEntry(ticketsKey, (oldTickets + deltaTickets))) :+ IntegerEntry(keyTotalWeekTickets(week), (oldTotalTickets + deltaTickets))), deltaTickets)
817817 }
818818
819819
820820 @Callable(i)
821821 func constructorV1 (restAddr,marketingAddr,teamAddr,profitAddr) = if ((i.caller != this))
822822 then throw("Permission denied")
823823 else if (isDefined(getBinary(wlgAssetIdKey)))
824824 then throw("Already initialized")
825825 else {
826826 let issuedAmount = MILLION6
827827 let issue = Issue("WLGOLD", "WavesLands Gold investment token", issuedAmount, 8, true, unit, 0)
828828 let assetId = calculateAssetId(issue)
829829 [issue, IntegerEntry(wlgIssueTimeKey, lastBlock.timestamp), IntegerEntry(wlgIssuedAmountKey, issuedAmount), IntegerEntry(stakersAmountPaidTotalKey, 0), IntegerEntry(stakersAmountLeftKey, fraction(MILLION6, PLAYERSHARE, MULT6)), BinaryEntry(wlgAssetIdKey, assetId), StringEntry(keyRestAddress(), restAddr), StringEntry(marketingAddrKey, marketingAddr), StringEntry(teamAddrKey, teamAddr), StringEntry(profitAddrKey, profitAddr)]
830830 }
831831
832832
833833
834834 @Callable(i)
835835 func constructorV2 (rest2Addr) = if ((i.caller != this))
836836 then throw("Permission denied")
837837 else [StringEntry(keyRest2Address(), rest2Addr)]
838838
839839
840840
841841 @Callable(i)
842842 func buyWlg (minToReceive) = {
843843 let prologResult = prolog2()
844844 if ((prologResult == prologResult))
845845 then if ((size(i.payments) != 1))
846846 then throw("exactly 1 payment must be attached")
847847 else {
848848 let pmt = i.payments[0]
849849 let usdtAmt = pmt.amount
850850 if (if (!(isDefined(pmt.assetId)))
851851 then true
852852 else (value(pmt.assetId) != usdtAssetId))
853853 then throw("USDT payments only!")
854854 else {
855855 let caller = i.caller
856856 let addr = toString(caller)
857857 if ((MINSHOPPAYMENT > usdtAmt))
858858 then throw((("You can trade min " + fixedPoint(MINSHOPPAYMENT, 6)) + " USDT"))
859859 else {
860860 let curStats = getWlgStats2("", [rest2Contract, acres2Contract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, usdtAmt)
861861 let curWlgAmount = curStats[ixWlgAmount]
862862 let wlgPrice = curStats[ixWlgPrice]
863863 let buyPrice = fraction(wlgPrice, 6, 5, CEILING)
864864 let wlgAmount = fraction(usdtAmt, MULT8, buyPrice)
865865 let maxWlg = getSwapLimitWlgold(addr)
866866 if ((wlgAmount > maxWlg))
867867 then throw((("You can get max " + fixedPoint(maxWlg, 8)) + " WLGOLD at the moment"))
868868 else if ((minToReceive > wlgAmount))
869869 then throw("Price changed during operation, please try again")
870870 else {
871871 let profitAmount = (usdtAmt / 6)
872872 $Tuple2([Reissue(wlgAssetId, wlgAmount, true), IntegerEntry(wlgIssuedAmountKey, (curWlgAmount + wlgAmount)), IntegerEntry(keyLastWlgTradeTimeByUser(addr), lastBlock.timestamp), IntegerEntry(keyLastWlgTradeLimitByUser(addr), (maxWlg - wlgAmount)), ScriptTransfer(addressFromStringValue(value(getString(profitAddrKey))), profitAmount, usdtAssetId), ScriptTransfer(caller, wlgAmount, wlgAssetId)], prologResult)
873873 }
874874 }
875875 }
876876 }
877877 else throw("Strict value is not equal to itself.")
878878 }
879879
880880
881881
882882 @Callable(i)
883883 func buyWlgREADONLY (address,usdtAmt) = {
884884 let curStats = getWlgStats2("", [rest2Contract, acres2Contract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, usdtAmt)
885885 let wlgPrice = curStats[ixWlgPrice]
886886 let buyPrice = fraction(wlgPrice, 6, 5, CEILING)
887887 let wlgAmount = fraction(usdtAmt, MULT8, buyPrice)
888888 let maxWlg = getSwapLimitWlgold(address)
889889 let maxUsdt = fraction(maxWlg, buyPrice, MULT8)
890890 let profitAmount = (usdtAmt / 6)
891891 $Tuple2(nil, [wlgAmount, MINSHOPPAYMENT, maxUsdt, profitAmount])
892892 }
893893
894894
895895
896896 @Callable(i)
897897 func sellWlg (minAmount) = {
898898 let prologResult = prolog2()
899899 if ((prologResult == prologResult))
900900 then if ((size(i.payments) != 1))
901901 then throw("exactly 1 payment must be attached")
902902 else {
903903 let pmt = i.payments[0]
904904 let wlgAmt = pmt.amount
905905 let caller = i.caller
906906 let addr = toString(caller)
907907 let maxWlg = getSwapLimitWlgold(addr)
908908 if ((wlgAmt > maxWlg))
909909 then throw((("You can spend max " + fixedPoint(maxWlg, 8)) + " WLGOLD at the moment"))
910910 else if (if (!(isDefined(pmt.assetId)))
911911 then true
912912 else (value(pmt.assetId) != wlgAssetId))
913913 then throw("WLGOLD payments only!")
914914 else {
915915 let curStats = getWlgStats2("", [rest2Contract, acres2Contract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, 0)
916916 let curWlgAmount = curStats[ixWlgAmount]
917917 let sellPrice = (curStats[ixWlgPrice] / 2)
918918 let usdtAmt = fraction(wlgAmt, sellPrice, MULT8)
919919 if ((MINSHOPPAYMENT > usdtAmt))
920920 then throw((("You can trade min " + fixedPoint(MINSHOPPAYMENT, 6)) + " USDT"))
921921 else if ((minAmount > usdtAmt))
922922 then throw("Price changed during operation, please try again")
923923 else {
924924 let profitAmount = (usdtAmt / 5)
925925 $Tuple2([Burn(wlgAssetId, wlgAmt), IntegerEntry(wlgIssuedAmountKey, (curWlgAmount - wlgAmt)), IntegerEntry(keyLastWlgTradeTimeByUser(addr), lastBlock.timestamp), IntegerEntry(keyLastWlgTradeLimitByUser(addr), (maxWlg - wlgAmt)), ScriptTransfer(addressFromStringValue(value(getString(profitAddrKey))), profitAmount, usdtAssetId), ScriptTransfer(caller, usdtAmt, usdtAssetId)], prologResult)
926926 }
927927 }
928928 }
929929 else throw("Strict value is not equal to itself.")
930930 }
931931
932932
933933
934934 @Callable(i)
935935 func sellWlgREADONLY (address,wlgAmt) = {
936936 let maxWlg = getSwapLimitWlgold(address)
937937 let curStats = getWlgStats2("", [rest2Contract, acres2Contract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, 0)
938938 let sellPrice = (curStats[ixWlgPrice] / 2)
939939 let usdtAmt = fraction(wlgAmt, sellPrice, MULT8)
940940 let minWlg = fraction(MINSHOPPAYMENT, MULT8, sellPrice)
941941 let profitAmount = (usdtAmt / 5)
942942 $Tuple2(nil, [usdtAmt, minWlg, maxWlg, profitAmount])
943943 }
944944
945945
946946
947947 @Callable(i)
948948 func claim () = {
949949 let prologResult = prolog2()
950950 if ((prologResult == prologResult))
951951 then if ((size(i.payments) != 0))
952952 then throw("No payments required")
953953 else {
954- let $t01649616565 = claimInternal2(toString(i.caller))
955- let actions = $t01649616565._1
956- let wlgClaimedAmount = $t01649616565._2
954+ let $t01652516594 = claimInternal2(toString(i.caller))
955+ let actions = $t01652516594._1
956+ let wlgClaimedAmount = $t01652516594._2
957957 $Tuple2((actions :+ ScriptTransfer(i.caller, wlgClaimedAmount, wlgAssetId)), prologResult)
958958 }
959959 else throw("Strict value is not equal to itself.")
960960 }
961961
962962
963963
964964 @Callable(i)
965965 func onStakeUnstakeLand (addr) = if (if (if ((i.caller != stakingContract))
966966 then (i.caller != acresContract)
967967 else false)
968968 then (i.caller != acres2Contract)
969969 else false)
970970 then throw("Permission denied")
971971 else {
972- let $t01688516942 = claimInternal2(addr)
973- if (($t01688516942 == $t01688516942))
972+ let $t01691416971 = claimInternal2(addr)
973+ if (($t01691416971 == $t01691416971))
974974 then {
975- let wlgClaimedAmount = $t01688516942._2
976- let actions = $t01688516942._1
975+ let wlgClaimedAmount = $t01691416971._2
976+ let actions = $t01691416971._1
977977 $Tuple2(if ((wlgClaimedAmount > 0))
978978 then (actions :+ ScriptTransfer(addressFromStringValue(addr), wlgClaimedAmount, wlgAssetId))
979979 else actions, wlgClaimedAmount)
980980 }
981981 else throw("Strict value is not equal to itself.")
982982 }
983983
984984
985985
986986 @Callable(i)
987987 func onStakeUnstakeLandOld (addr) = if (if (if ((i.caller != stakingContract))
988988 then (i.caller != acresContract)
989989 else false)
990990 then (i.caller != acres2Contract)
991991 else false)
992992 then throw("Permission denied")
993993 else {
994- let $t01732517381 = claimInternal(addr)
995- if (($t01732517381 == $t01732517381))
994+ let $t01735417410 = claimInternal(addr)
995+ if (($t01735417410 == $t01735417410))
996996 then {
997- let wlgClaimedAmount = $t01732517381._2
998- let actions = $t01732517381._1
997+ let wlgClaimedAmount = $t01735417410._2
998+ let actions = $t01735417410._1
999999 $Tuple2(if ((wlgClaimedAmount > 0))
10001000 then (actions :+ ScriptTransfer(addressFromStringValue(addr), wlgClaimedAmount, wlgAssetId))
10011001 else nil, wlgClaimedAmount)
10021002 }
10031003 else throw("Strict value is not equal to itself.")
10041004 }
10051005
10061006
10071007
10081008 @Callable(i)
10091009 func burnWlgold (wlgAmt) = if (if ((i.caller != acres2Contract))
10101010 then (i.caller != marketContract)
10111011 else false)
10121012 then throw("Permission denied")
10131013 else {
10141014 let curStats = getWlgStats2("", [rest2Contract, acres2Contract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, 0)
10151015 if ((wlgAmt > curStats[ixWlgWlg]))
10161016 then throw(((("Only " + fixedPoint(curStats[ixWlgWlg], 8)) + " WLGOLD left on contract, can't burn ") + fixedPoint(wlgAmt, 8)))
10171017 else {
10181018 let wlgAmountLeft = (curStats[ixWlgAmount] - wlgAmt)
10191019 $Tuple2([Burn(wlgAssetId, wlgAmt), IntegerEntry(wlgIssuedAmountKey, wlgAmountLeft)], wlgAmountLeft)
10201020 }
10211021 }
10221022
10231023
10241024
10251025 @Callable(i)
10261026 func betForTicket (bet) = {
10271027 let prologResult = prolog2()
10281028 if ((prologResult == prologResult))
10291029 then if ((size(i.payments) != 0))
10301030 then throw("No payments required")
10311031 else {
10321032 let addr = toString(i.caller)
10331033 let drawWeek = ((height / WEEK_BLOCKS) - 1)
10341034 let userTickets = valueOrElse(getInteger(keyUserWeekTickets(addr, drawWeek)), 0)
10351035 let weekTickets = valueOrElse(getInteger(keyTotalWeekTickets(drawWeek)), 0)
10361036 if (if ((userTickets > 0))
10371037 then (weekTickets > 0)
10381038 else false)
10391039 then throw("Please open the chest first")
10401040 else if (((bet / 4) != 0))
10411041 then throw("Invalid bet: should be 0..3")
10421042 else {
10431043 let moment = (height % DAY_BLOCKS)
10441044 if ((moment > (DAY_BLOCKS - 3)))
10451045 then throw((("Cannot bet: the day is almost ended, please wait " + toString((DAY_BLOCKS - moment))) + " blocks"))
10461046 else {
10471047 let stakedAcres = valueOrElse(getInteger(acres2Contract, keyAcresStakedAmtByUser(addr)), 0)
10481048 if ((ACRES_FOR_BET > stakedAcres))
10491049 then throw((("You need to stake at least " + fixedPoint(ACRES_FOR_BET, 8)) + " ACRES to bet"))
10501050 else {
10511051 let tomorrow = ((height / DAY_BLOCKS) + 1)
10521052 let betKey = keyUserBet(addr)
10531053 let oldUserBetStr = getString(betKey)
10541054 let newBetEntry = StringEntry(betKey, ((toString(tomorrow) + "_") + toString(bet)))
10551055 if (isDefined(oldUserBetStr))
10561056 then {
10571057 let userBet = value(oldUserBetStr)
10581058 if ((split(userBet, "_")[0] == toString(tomorrow)))
10591059 then throw("You already bet for tomorrow")
10601060 else {
10611061 let r = claimTicketsInternal(addr, userBet)
10621062 $Tuple2((r._1 :+ newBetEntry), r._2)
10631063 }
10641064 }
10651065 else $Tuple2([newBetEntry], 0)
10661066 }
10671067 }
10681068 }
10691069 }
10701070 else throw("Strict value is not equal to itself.")
10711071 }
10721072
10731073
10741074
10751075 @Callable(i)
10761076 func takeWlgXp (addr) = if ((i.caller != stakingContract))
10771077 then throw("Permission denied")
10781078 else {
1079- let $t02001320056 = takeXpInternal(addr, 0)
1080- let actions = $t02001320056._1
1081- let xp = $t02001320056._2
1079+ let $t02004220085 = takeXpInternal(addr, 0)
1080+ let actions = $t02004220085._1
1081+ let xp = $t02004220085._2
10821082 $Tuple2(actions, xp)
10831083 }
10841084
10851085
10861086
10871087 @Callable(i)
10881088 func checkWlgXpREADONLY (addr) = {
1089- let $t02013320181 = takeXpInternal(addr, 0)
1090- let ignored = $t02013320181._1
1091- let deltaXP = $t02013320181._2
1089+ let $t02016220210 = takeXpInternal(addr, 0)
1090+ let ignored = $t02016220210._1
1091+ let deltaXP = $t02016220210._2
10921092 let newXP = (valueOrElse(getInteger(stakingContract, keyUserXP(addr)), 0) + deltaXP)
10931093 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, keyUserLevel(addr)), 0), newXP)
10941094 $Tuple2(nil, (lvlPoints :+ newXP))
10951095 }
10961096
10971097
10981098
10991099 @Callable(i)
11001100 func setNumPrizes (numPrizes) = if ((i.caller != this))
11011101 then throw("Permission denied")
11021102 else {
11031103 let week = (height / WEEK_BLOCKS)
11041104 $Tuple2([IntegerEntry(keyNumPrizes2Draw(week), numPrizes)], numPrizes)
11051105 }
11061106
11071107
11081108
11091109 @Callable(i)
11101110 func openChest () = {
11111111 let prologResult = prolog2()
11121112 if ((prologResult == prologResult))
11131113 then if ((size(i.payments) != 0))
11141114 then throw("No payments required")
11151115 else {
11161116 let week = (height / WEEK_BLOCKS)
11171117 let drawWeek = (week - 1)
11181118 let addr = toString(i.caller)
11191119 let userTickets = valueOrElse(getInteger(keyUserWeekTickets(addr, drawWeek)), 0)
11201120 if ((0 >= userTickets))
11211121 then throw("No gems to open the chest")
11221122 else {
11231123 let totalTickets = valueOrElse(getInteger(keyTotalWeekTickets(drawWeek)), 0)
11241124 if ((0 >= totalTickets))
11251125 then throw("No participants")
11261126 else {
11271127 let lastWeekNumTx = valueOrElse(getString(acres2Contract, keyLastWeekTxIdByUser(addr)), "42_DEFAULT")
11281128 openChestInternal(addr, week, userTickets, totalTickets, lastWeekNumTx)
11291129 }
11301130 }
11311131 }
11321132 else throw("Strict value is not equal to itself.")
11331133 }
11341134
11351135
11361136
11371137 @Callable(i)
11381138 func addGemsFor (addr,deltaTickets) = if ((i.caller != this))
11391139 then throw("Permission denied")
11401140 else {
11411141 let week = (height / WEEK_BLOCKS)
11421142 let ticketsKey = keyUserWeekTickets(addr, week)
11431143 let oldTotalTickets = valueOrElse(getInteger(keyTotalWeekTickets(week)), 0)
11441144 let oldTickets = valueOrElse(getInteger(ticketsKey), 0)
11451145 let oldParticipants = valueOrElse(getInteger(keyTotalWeekParticipants(week)), 0)
11461146 let updateParticipants = if (if ((oldTickets == 0))
11471147 then (deltaTickets == 1)
11481148 else false)
11491149 then [IntegerEntry(keyTotalWeekParticipants(week), (oldParticipants + 1))]
11501150 else nil
11511151 $Tuple2(((updateParticipants :+ IntegerEntry(ticketsKey, (oldTickets + deltaTickets))) :+ IntegerEntry(keyTotalWeekTickets(week), (oldTotalTickets + deltaTickets))), deltaTickets)
11521152 }
11531153
11541154

github/deemru/w8io/169f3d6 
121.61 ms