tx · AvCjaHJGtztMiGkai6bR623nehv9xKK7F26ns1zJCoWa

3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv:  -0.01700000 Waves

2024.11.23 13:39 [3384000] smart account 3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv > SELF 0.00000000 Waves

{ "type": 13, "id": "AvCjaHJGtztMiGkai6bR623nehv9xKK7F26ns1zJCoWa", "fee": 1700000, "feeAssetId": null, "timestamp": 1732358379985, "version": 2, "chainId": 84, "sender": "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv", "senderPublicKey": "2fNSk5gmWbXBDTkSYSKd66xSgVvAYzrJnP9YSAFNvTwC", "proofs": [ "4bE9WYfQmmeu3Lct6SnXd5T3LscVSicR1CZV7HkKrBL5hXfinPCcoskhBtBdyht5oy8dibMaksrBGG8CFDkbVrWm" ], "script": "base64:BgIbCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIcAADU0VQAgJfXwAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgECDVVua25vd24gY2hhaW4AFmRlZmF1bHRSZXN0MkFkZHJlc3NTdHIEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDACIzNQRndZdGE4YmlFejMxenBlRmU1REpLOHdFNXRyU3BRVkY4AwkAAAIBAVQFByRtYXRjaDACIzNON1V1WWFyNjI2NFA1OEZCaFZXS1BRQWg0WXVhMmhnbmd2CQACAQINVW5rbm93biBjaGFpbgAVb2xkU3Rha2luZ0NvbnRyYWN0U3RyBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwAiMzUExuY1h0UzFVODNENmNRYkZEM0g4ck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kZHJPcHQFCGxhc3RXZWVrAAAEE2N1cldlZWtUb3RhbFRpY2tldHMJAQt2YWx1ZU9yRWxzZQIJAJoIAgULd2xnQ29udHJhY3QJARNrZXlUb3RhbFdlZWtUaWNrZXRzAQUEd2VlawAABBRsYXN0V2Vla1RvdGFsVGlja2V0cwkBC3ZhbHVlT3JFbHNlAgkAmggCBQt3bGdDb250cmFjdAkBE2tleVRvdGFsV2Vla1RpY2tldHMBBQhsYXN0V2VlawAABAh1c2Vyc0JldAkBC3ZhbHVlT3JFbHNlAgkAnQgCBQt3bGdDb250cmFjdAkBCmtleVVzZXJCZXQBBQt1c2VyQWRkck9wdAIACQCUCgIFA25pbAkAzAgCCQCsAgIJAKwCAgkArAICAhYlcyVkJWRfX3RvdGFsVGlja2V0c19fCQCkAwEFFGxhc3RXZWVrVG90YWxUaWNrZXRzBQNTRVAJAKQDAQUTY3VyV2Vla1RvdGFsVGlja2V0cwkAzAgCCQCsAgIJAKwCAgkArAICAhUlcyVkJWRfX3VzZXJUaWNrZXRzX18JAKQDAQUPbGFzdFdlZWtUaWNrZXRzBQNTRVAJAKQDAQUOY3VyV2Vla1RpY2tldHMJAMwIAgkArAICAhYlcyVkX19ibG9ja2NoYWluV2Vla19fCQCkAwEFBHdlZWsJAMwIAgkArAICAhUlcyVkX19ibG9ja2NoYWluRGF5X18JAKQDAQUFdG9kYXkJAMwIAgkArAICAhglcyVkX19ibG9ja2NoYWluTWludXRlX18JAKQDAQkAagIFBmhlaWdodAUKREFZX0JMT0NLUwkAzAgCCQCsAgICFyVzJWRfX3dpbm5pbmdCZXRUb2RheV9fCQCkAwEJAQp3aW5uaW5nQmV0AQUFdG9kYXkJAMwIAgkArAICAhAlcyVzX191c2Vyc0JldF9fBQh1c2Vyc0JldAUDbmlsAAifhk4=", "height": 3384000, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: e8eP4mbhtjPhYtC9DJqEuHahczoCURWkQAkFvpxvftv Next: FDnMCRWyZePgfpPFvSBZkWsgkxV8tgimVc9YqnuNCzfZ Diff:
OldNewDifferences
469469 let curWeekTotalTickets = valueOrElse(getInteger(wlgContract, keyTotalWeekTickets(week)), 0)
470470 let lastWeekTotalTickets = valueOrElse(getInteger(wlgContract, keyTotalWeekTickets(lastWeek)), 0)
471471 let usersBet = valueOrElse(getString(wlgContract, keyUserBet(userAddrOpt)), "")
472- $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString(lastWeekTotalTickets)) + SEP) + toString(curWeekTotalTickets)), ((("%s%d%d__userTickets__" + toString(lastWeekTickets)) + SEP) + toString(curWeekTickets)), ("%s%d__blockchainDay__" + toString(today)), ("%s%d__blockchainMinute__" + toString((height % DAY_BLOCKS))), ("%s%d__winningBetToday__" + toString(winningBet(today))), ("%s%s__usersBet__" + usersBet)])
472+ $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString(lastWeekTotalTickets)) + SEP) + toString(curWeekTotalTickets)), ((("%s%d%d__userTickets__" + toString(lastWeekTickets)) + SEP) + toString(curWeekTickets)), ("%s%d__blockchainWeek__" + toString(week)), ("%s%d__blockchainDay__" + toString(today)), ("%s%d__blockchainMinute__" + toString((height % DAY_BLOCKS))), ("%s%d__winningBetToday__" + toString(winningBet(today))), ("%s%s__usersBet__" + usersBet)])
473473 }
474474
475475
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let chain = take(drop(this.bytes, 1), 1)
77
88 let usdtAssetId = match chain {
99 case _ =>
1010 if ((base58'2W' == $match0))
1111 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
1212 else if ((base58'2T' == $match0))
1313 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
1414 else throw("Unknown chain")
1515 }
1616
1717 let defaultRest2AddressStr = match chain {
1818 case _ =>
1919 if ((base58'2W' == $match0))
2020 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
2121 else if ((base58'2T' == $match0))
2222 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
2323 else throw("Unknown chain")
2424 }
2525
2626 let oldStakingContractStr = match chain {
2727 case _ =>
2828 if ((base58'2W' == $match0))
2929 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
3030 else if ((base58'2T' == $match0))
3131 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
3232 else throw("Unknown chain")
3333 }
3434
3535 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
3636
3737
3838 let IdxCfgAcres2Dapp = 1
3939
4040 let IdxCfgWlgDapp = 2
4141
4242 let IdxCfgPuzzlePoolDapp = 4
4343
4444 let IdxCfgInvestFundDapp = 5
4545
4646 func keyRestCfg () = "%s__restConfig"
4747
4848
4949 func keyRest2Address () = "%s__rest2Addr"
5050
5151
5252 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
5353
5454
5555 func getContractAddressOrFail (rest2Cfg,idx) = valueOrErrorMessage(addressFromString(rest2Cfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
5656
5757
5858 let rest2Contract = addressFromStringValue(valueOrElse(getString(this, keyRest2Address()), defaultRest2AddressStr))
5959
6060 let rest2Cfg = readRestCfgOrFail(rest2Contract)
6161
6262 let acres2Contract = getContractAddressOrFail(rest2Cfg, IdxCfgAcres2Dapp)
6363
6464 let wlgContract = getContractAddressOrFail(rest2Cfg, IdxCfgWlgDapp)
6565
6666 let puzzlePoolContract = getContractAddressOrFail(rest2Cfg, IdxCfgPuzzlePoolDapp)
6767
6868 let investFundContract = getContractAddressOrFail(rest2Cfg, IdxCfgInvestFundDapp)
6969
7070 let oldAcresContractKey = "oldAcresContract"
7171
7272 func keyLastWeekTxIdByUser (addr) = ("lastWeekTxIdByUser_" + addr)
7373
7474
7575 func keyCurWeekTxIdByUser (addr) = ("curWeekTxIdByUser_" + addr)
7676
7777
7878 let wlgAssetIdKey = "wlg_assetId"
7979
8080 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet")
8181
8282 let acresAssetIdKey = "acresAssetId"
8383
8484 let acresAssetId = valueOrErrorMessage(getBinary(acres2Contract, acresAssetIdKey), "ACRES is not issued yet")
8585
8686 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
8787
8888
8989 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
9090
9191
9292 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
9393
9494
9595 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
9696
9797
9898 func asTuple4Ints (val) = match val {
9999 case t: (Int, Int, Int, Int) =>
100100 t
101101 case _ =>
102102 throw("fail to cast into (Int, Int, Int, Int)")
103103 }
104104
105105
106106 func asTuple3Ints (val) = match val {
107107 case t: (Int, Int, Int) =>
108108 t
109109 case _ =>
110110 throw("fail to cast into (Int, Int, Int)")
111111 }
112112
113113
114114 func asTuple2Ints (val) = match val {
115115 case t: (Int, Int) =>
116116 t
117117 case _ =>
118118 throw("fail to cast into (Int, Int)")
119119 }
120120
121121
122122 let M6_ = 1000000
123123
124124 let M8_ = 100000000
125125
126126 let TEAM_SHARE = 200000
127127
128128 let ACTIVITY_SHARE = 100000
129129
130130 let PLAYER_SHARE = 400000
131131
132132 let YEAR_MILLIS = 31557600000
133133
134134 let DAY_MS = 86400000
135135
136136 let DAY_BLOCKS = 1440
137137
138138 let WEEK_BLOCKS = 10080
139139
140140 let ISSUE10 = 1000000000
141141
142142 let PLAYERS10_SHARE = 800000
143143
144144 let MARKETING10_SHARE = 100000
145145
146146 let TEAM10_SHARE = 100000
147147
148148 let NEW_STAKING_START = 1731279600000
149149
150150 let teamAdrKey = "teamAddr"
151151
152152 let lastTeamTimKey = "lastClaimedTime_team"
153153
154154 let teamAmtLeftKey = "teamAmountLeft"
155155
156156 let lastActivitiesTimKey = "lastClaimedTime_activities"
157157
158158 let actAmtLeftKey = "activitiesAmountLeft"
159159
160160 let stakersAmtLeftKey = "stakersAmountLeft"
161161
162162 func keyLastClaimTimeByUser (addr) = ("lastClaimedTimeUser_" + addr)
163163
164164
165165 func distrByPeriod (issuedAmount,period) = fraction(issuedAmount, (PLAYER_SHARE * (period + 1)), (6 * M6_))
166166
167167
168168 let wlgIssue10TimeKey = "wlg_issue10Time"
169169
170170 let wlgIssueTimKey = "wlg_issueTime"
171171
172172 let wlgIssuedAmtKey = "wlg_issuedAmount"
173173
174174 let zbIssuedAmtKey = "zbill_issuedAmount"
175175
176176 func keyAcresStakedAmtByUser (addr) = ("acresStakedAmountByUser_" + addr)
177177
178178
179179 let acresStakdTotalKey = "acresStakedAmountTotal"
180180
181181 let totalFarmingPowerKey = "totalFarmingPower"
182182
183183 let dapp2Rest = 0
184184
185185 let dapp2Staking = 1
186186
187187 let dapp2Wlg = 2
188188
189189 let dapp2Puzzle = 3
190190
191191 let dapp2InvestFund = 4
192192
193193 let levelAcres = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
194194
195195 func getLevelByAcres (acres) = {
196196 let acr = ((acres + 99999999) / M8_)
197197 func checker (acc,item) = if ((item >= acr))
198198 then acc
199199 else (acc + 1)
200200
201201 let $l = levelAcres
202202 let $s = size($l)
203203 let $acc0 = 0
204204 func $f0_1 ($a,$i) = if (($i >= $s))
205205 then $a
206206 else checker($a, $l[$i])
207207
208208 func $f0_2 ($a,$i) = if (($i >= $s))
209209 then $a
210210 else throw("List size exceeds 10")
211211
212212 $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)
213213 }
214214
215215
216216 func getFarmingPowerByAcres (acres) = ((acres * 20) * (getLevelByAcres(acres) + 4))
217217
218218
219219 func getFarmingPowers (userAddrStrOrEmpty,acres2Contract) = {
220220 let totalFP = valueOrElse(getInteger(acres2Contract, totalFarmingPowerKey), 0)
221221 let userAcres = valueOrElse(getInteger(acres2Contract, keyAcresStakedAmtByUser(userAddrStrOrEmpty)), 0)
222222 let userFP = getFarmingPowerByAcres(userAcres)
223223 [totalFP, userFP]
224224 }
225225
226226
227227 func keyUserBet (addr) = ("userBet_" + addr)
228228
229229
230230 func keyUserWeekTickets (addr,week) = ((("userWeekTickets_" + addr) + "_") + toString(week))
231231
232232
233233 func keyTotalWeekTickets (week) = ("totalWeekTickets_" + toString(week))
234234
235235
236236 func winningBet (day) = (toInt(value(value(blockInfoByHeight((day * DAY_BLOCKS))).vrf)) % 4)
237237
238238
239239 let idxTotalFP = 0
240240
241241 let idxUserFP = 1
242242
243243 let ixWlgAmount = 0
244244
245245 let ixWlgWlg = 1
246246
247247 let ixWlgPrice = 2
248248
249249 let ixWlgFunds = 3
250250
251251 let ixWlgActivity = 4
252252
253253 let ixWlgAcres2 = 5
254254
255255 let ixWlgArbitrage = 6
256256
257257 let ixWlgPool = 7
258258
259259 let ixWlgIssueTime = 8
260260
261261 let ixWlgLastTeamActTime = 9
262262
263263 let ixWlgTeamTotal = 10
264264
265265 let ixWlgTeamAmLeft = 11
266266
267267 let ixWlgTeamAmAvailNow = 12
268268
269269 let ixWlgTeamWlgold = 13
270270
271271 let ixWlgActTotal = 14
272272
273273 let ixWlgActAmLeft = 15
274274
275275 let ixWlgActAmAvailNow = 16
276276
277277 let ixWlgActWlgold = 17
278278
279279 let ixWlgCurPeriod = 18
280280
281281 let ixWlgAmLeftTotal = 19
282282
283283 let ixWlgCurPeriodDistribution = 20
284284
285285 let ixWlgLastUserTime = 21
286286
287287 let ixWlgInvestFundAmount = 22
288288
289289 let ixWlgUserAmAvailNow = 23
290290
291291 let ixWlgEffUserTime = 24
292292
293293 let ixWlgIssue10Amount = 25
294294
295295 let ixWlgMarketingIssue10Amount = 26
296296
297297 let ixWlgTeamIssue10Amount = 27
298298
299299 let ixWlgUser10part = 28
300300
301301 let ixWlgIssue10Time = 29
302302
303303 let ixWlgTotalFarmingPower = 30
304304
305305 let ixWlgAcresStakedTotal = 31
306306
307307 func getWlgStats2 (userAddrOpt,contracts,usdtId,usdtBalanceCorrection) = {
308308 let issuedAmount = valueOrErrorMessage(getInteger(contracts[dapp2Wlg], wlgIssuedAmtKey), "WLGOLD is not issued yet")
309309 let restUsd = assetBalance(contracts[dapp2Rest], usdtId)
310310 let wlgUsd = (assetBalance(contracts[dapp2Wlg], usdtId) - usdtBalanceCorrection)
311311 let puzzleUsd = assetBalance(contracts[dapp2Puzzle], usdtId)
312312 let acres2Usd = assetBalance(contracts[dapp2Staking], usdtId)
313313 let investFndContract = contracts[dapp2InvestFund]
314314 let investFundTotal = (assetBalance(investFndContract, usdtId) + valueOrElse(getInteger(investFndContract, zbIssuedAmtKey), 0))
315315 let totalFundsUsd = ((acres2Usd + wlgUsd) + investFundTotal)
316316 let wlgId = valueOrErrorMessage(getBinary(contracts[dapp2Wlg], "wlg_assetId"), "Not initialized yet")
317317 let now = lastBlock.timestamp
318318 let issueTime = valueOrErrorMessage(getInteger(contracts[dapp2Wlg], wlgIssueTimKey), "Not initialized")
319319 let wlgWlg = assetBalance(contracts[dapp2Wlg], wlgId)
320320 let teamTotal = fraction(issuedAmount, TEAM_SHARE, M6_)
321321 let teamAmountLeft = valueOrElse(getInteger(contracts[dapp2Wlg], teamAmtLeftKey), teamTotal)
322322 let lastTeamTime = valueOrElse(getInteger(contracts[dapp2Wlg], lastTeamTimKey), issueTime)
323323 let teamAddr = addressFromStringValue(value(getString(contracts[dapp2Wlg], teamAdrKey)))
324324 let teamAmountAvailableNow = min([fraction(teamTotal, (now - lastTeamTime), (3 * YEAR_MILLIS)), teamAmountLeft])
325325 let teamWlgold = assetBalance(teamAddr, wlgId)
326326 let actTotal = fraction(issuedAmount, ACTIVITY_SHARE, M6_)
327327 let actAmountLeft = valueOrElse(getInteger(contracts[dapp2Wlg], actAmtLeftKey), actTotal)
328328 let lastActivitiesTime = valueOrElse(getInteger(contracts[dapp2Wlg], lastActivitiesTimKey), issueTime)
329329 let actAmountAvailableNow = min([fraction(actTotal, (now - lastActivitiesTime), (3 * YEAR_MILLIS)), actAmountLeft])
330330 let actWlgold = assetBalance(contracts[dapp2Rest], wlgId)
331331 let lastUserTime = valueOrElse(getInteger(contracts[dapp2Wlg], keyLastClaimTimeByUser(userAddrOpt)), issueTime)
332332 let lastUserPeriod = ((lastUserTime - issueTime) / YEAR_MILLIS)
333333 let nowLimited = min([now, (issueTime + (3 * YEAR_MILLIS))])
334334 let curPeriod = min([((now - issueTime) / YEAR_MILLIS), 2])
335335 let eff = getFarmingPowers(userAddrOpt, contracts[dapp2Staking])
336336 let curPeriodDistribution = distrByPeriod(issuedAmount, curPeriod)
337337 let prevPeriodEnd = (issueTime + (YEAR_MILLIS * curPeriod))
338338 let prevPrevPeriodEnd = (issueTime + (YEAR_MILLIS * (curPeriod - 1)))
339339 let a0 = fraction(curPeriodDistribution, (nowLimited - lastUserTime), YEAR_MILLIS)
340340 let userAvailable = if ((lastUserPeriod == curPeriod))
341341 then a0
342342 else if ((lastUserPeriod == (curPeriod - 1)))
343343 then {
344344 let a1 = fraction(distrByPeriod(issuedAmount, (curPeriod - 1)), (prevPeriodEnd - lastUserTime), YEAR_MILLIS)
345345 (a1 + a0)
346346 }
347347 else {
348348 let a2 = fraction(distrByPeriod(issuedAmount, (curPeriod - 2)), (prevPrevPeriodEnd - lastUserTime), YEAR_MILLIS)
349349 let a1 = distrByPeriod(issuedAmount, (curPeriod - 1))
350350 ((a2 + a1) + a0)
351351 }
352352 let amountLeftTotal = valueOrElse(getInteger(contracts[dapp2Wlg], stakersAmtLeftKey), 0)
353353 let userAmount = if ((eff[idxTotalFP] != 0))
354354 then fraction(userAvailable, eff[idxUserFP], eff[idxTotalFP])
355355 else 0
356356 let lastIssue10Time = valueOrElse(getInteger(contracts[dapp2Wlg], wlgIssue10TimeKey), NEW_STAKING_START)
357357 let issue10Amount = fraction(ISSUE10, max([(now - lastIssue10Time), 0]), DAY_MS)
358358 let marketingIssue10Amount = fraction(issue10Amount, MARKETING10_SHARE, M6_)
359359 let teamIssue10Amount = fraction(issue10Amount, TEAM10_SHARE, M6_)
360360 let user10Interval = max([(now - max([NEW_STAKING_START, lastUserTime])), 0])
361361 let user10part = if ((eff[idxTotalFP] != 0))
362362 then fraction(fraction(fraction(ISSUE10, user10Interval, DAY_MS), eff[idxUserFP], eff[idxTotalFP]), PLAYERS10_SHARE, M6_)
363363 else 0
364364 let newIssue10Time = max([NEW_STAKING_START, now])
365365 let acresStakedTotal = valueOrElse(getInteger(contracts[dapp2Staking], acresStakdTotalKey), 0)
366366 [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]
367367 }
368368
369369
370370 func walletInternal (userAddressOpt) = {
371371 let addr = addressFromString(userAddressOpt)
372372 let balance = if (isDefined(addr))
373373 then wavesBalance(value(addr))
374374 else BalanceDetails(0, 0, 0, 0)
375375 let usdtBalance = if (isDefined(addr))
376376 then assetBalance(value(addr), usdtAssetId)
377377 else 0
378378 let wlgoldBalance = if (isDefined(addr))
379379 then assetBalance(value(addr), wlgAssetId)
380380 else 0
381381 let customName = valueOrElse(getString(acres2Contract, keyAddressToCustomName(userAddressOpt)), userAddressOpt)
382382 let refByKey = keyAddressRefBy(userAddressOpt)
383383 let refBy = getString(acres2Contract, refByKey)
384384 let refs = valueOrElse(getString(acres2Contract, keyAddressReferrals(userAddressOpt)), "")
385385 let lastTxId = valueOrElse(getString(acres2Contract, keyLastWeekTxIdByUser(userAddressOpt)), "")
386386 let curTxId = valueOrElse(getString(acres2Contract, keyCurWeekTxIdByUser(userAddressOpt)), "")
387387 let acresBalance = if (isDefined(addr))
388388 then assetBalance(value(addr), acresAssetId)
389389 else 0
390390 let stakedAcres = valueOrElse(getInteger(acres2Contract, keyAcresStakedAmtByUser(userAddressOpt)), 0)
391391 let lvl = getLevelByAcres(stakedAcres)
392392 let fp = getFarmingPowers(userAddressOpt, acres2Contract)
393393 let acresToNextLvl = if ((lvl >= size(levelAcres)))
394394 then 0
395395 else (((levelAcres[lvl] * M8_) + 1) - stakedAcres)
396396 [("%s%s__customName__" + customName), ("%s%s__referredBy__" + valueOrElse(refBy, "")), ("%s%s__referrals__" + refs), ("%s%s__lastWeekTxId__" + lastTxId), ("%s%s__curWeekTxId__" + lastTxId), ("%s%d__wavesBalance__" + toString(balance.available)), ("%s%d__usdtBalance__" + toString(usdtBalance)), ("%s%d__wlgoldBalance__" + toString(wlgoldBalance)), ("%s%d__acresBalance__" + toString(acresBalance)), ("%s%d__stakedAcres__" + toString(stakedAcres)), ("%s%d__currentLvl__" + toString(lvl)), ("%s%d__acresToNextLvl__" + toString(acresToNextLvl)), ("%s%d__userFarmingPower__" + toString(fp[idxUserFP])), ("%s%d__totalFarmingPower__" + toString(fp[idxTotalFP]))]
397397 }
398398
399399
400400 @Callable(i)
401401 func constructorV1 (contracts) = if ((i.caller != this))
402402 then throw("permissions denied")
403403 else {
404404 func descriptor (acc,ignoredItem) = (acc + "%s")
405405
406406 let descr = {
407407 let $l = contracts
408408 let $s = size($l)
409409 let $acc0 = ""
410410 func $f0_1 ($a,$i) = if (($i >= $s))
411411 then $a
412412 else descriptor($a, $l[$i])
413413
414414 func $f0_2 ($a,$i) = if (($i >= $s))
415415 then $a
416416 else throw("List size exceeds 10")
417417
418418 $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)
419419 }
420420 [StringEntry(keyRestCfg(), makeString(descr :: contracts, SEP)), StringEntry(keyRest2Address(), toString(this))]
421421 }
422422
423423
424424
425425 @Callable(i)
426426 func walletInfoREADONLY (userAddressOpt) = $Tuple2(nil, walletInternal(userAddressOpt))
427427
428428
429429
430430 @Callable(i)
431431 func conversionInfoREADONLY (userAddressOpt) = {
432432 let oldAcresAddress = addressFromStringValue(getStringValue(acres2Contract, oldAcresContractKey))
433433 let $t046894811 = asTuple2Ints(invoke(oldAcresAddress, "unstakeAllAcresREADONLY", [userAddressOpt], nil))
434434 let unstakedAcres = $t046894811._1
435435 let claimedAcres = $t046894811._2
436436 let $t048144963 = asTuple4Ints(invoke(acres2Contract, "unstakeLandsREADONLY", [userAddressOpt], nil))
437437 let acresFromPieces = $t048144963._1
438438 let acresFromRes = $t048144963._2
439439 let acresFromMat = $t048144963._3
440440 let acresFromProd = $t048144963._4
441441 let oldStakingAddress = addressFromStringValue(oldStakingContractStr)
442442 let duckAssetId = valueOrElse(getString(oldStakingAddress, keyStakedDuckByOwner(userAddressOpt)), "")
443443 let $t051415363 = if ((duckAssetId != ""))
444444 then asTuple3Ints(invoke(oldStakingAddress, "unstakeDuckREADONLY", [duckAssetId, userAddressOpt], nil))
445445 else $Tuple3(0, 0, 0)
446446 let acresFromDuckRes = $t051415363._1
447447 let acresFromDuckMat = $t051415363._2
448448 let acresFromDuckProd = $t051415363._3
449449 $Tuple2(nil, [("%s%d__unstakedAcres__" + toString(unstakedAcres)), ("%s%d__claimedAcres__" + toString(claimedAcres)), ("%s%d__acresFromPieces__" + toString(acresFromPieces)), ("%s%d__acresFromRes__" + toString(acresFromRes)), ("%s%d__acresFromMat__" + toString(acresFromMat)), ("%s%d__acresFromProd__" + toString(acresFromProd)), ("%s%d__acresFromDuckRes__" + toString(acresFromDuckRes)), ("%s%d__acresFromDuckMat__" + toString(acresFromDuckMat)), ("%s%d__acresFromDuckProd__" + toString(acresFromDuckProd))])
450450 }
451451
452452
453453
454454 @Callable(i)
455455 func wlgStatsREADONLY (userAddrOpt) = {
456456 let curStats = getWlgStats2(userAddrOpt, [rest2Contract, acres2Contract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, 0)
457457 $Tuple2(nil, [("%s%d__wlgAmount__" + toString(curStats[ixWlgAmount])), ("%s%d__wlgWlg__" + toString(curStats[ixWlgWlg])), ("%s%d__wlgPrice__" + toString(curStats[ixWlgPrice])), ("%s%d__usdtFunds__" + toString(curStats[ixWlgFunds])), ("%s%d__usdtActivity__" + toString(curStats[ixWlgActivity])), ("%s%d__usdtStaking__" + toString(curStats[ixWlgAcres2])), ("%s%d__usdtArbitrage__" + toString(curStats[ixWlgArbitrage])), ("%s%d__usdtPool__" + toString(curStats[ixWlgPool])), ("%s%d__wlgIssueTime__" + toString(curStats[ixWlgIssueTime])), ("%s%d__wlgLastTeamActTime__" + toString(curStats[ixWlgLastTeamActTime])), ("%s%d__wlgTeamTotal__" + toString(curStats[ixWlgTeamTotal])), ("%s%d__wlgTeamAmLeft__" + toString(curStats[ixWlgTeamAmLeft])), ("%s%d__wlgTeamAmAvailNow__" + toString(curStats[ixWlgTeamAmAvailNow])), ("%s%d__wlgTeamWlgold__" + toString(curStats[ixWlgTeamWlgold])), ("%s%d__wlgActTotal__" + toString(curStats[ixWlgActTotal])), ("%s%d__wlgActAmLeft__" + toString(curStats[ixWlgActAmLeft])), ("%s%d__wlgActAmAvailNow__" + toString(curStats[ixWlgActAmAvailNow])), ("%s%d__wlgActWlgold__" + toString(curStats[ixWlgActWlgold])), ("%s%d__wlgCurPeriod__" + toString(curStats[ixWlgCurPeriod])), ("%s%d__wlgAmLeftTotal__" + toString(curStats[ixWlgAmLeftTotal])), ("%s%d__wlgCurPeriodDistribution__" + toString(curStats[ixWlgCurPeriodDistribution])), ("%s%d__wlgLastUserTime__" + toString(curStats[ixWlgLastUserTime])), ("%s%d__wlgInvestFundTotal__" + toString(curStats[ixWlgInvestFundAmount])), ("%s%d__wlgUserAmAvailNow__" + toString(curStats[ixWlgUserAmAvailNow])), ("%s%d__wlgEffUserTime__" + toString(curStats[ixWlgEffUserTime])), ("%s%d__wlgIssue10AvailNow__" + toString(curStats[ixWlgIssue10Amount])), ("%s%d__wlgMarketingIssue10AvailNow__" + toString(curStats[ixWlgMarketingIssue10Amount])), ("%s%d__wlgTeamIssue10AvailNow__" + toString(curStats[ixWlgTeamIssue10Amount])), ("%s%d__wlgUserIssue10AvailNow__" + toString(curStats[ixWlgUser10part])), ("%s%d__wlgLastIssue10Time__" + toString(curStats[ixWlgIssue10Time])), ("%s%d__wlgTotalFarmingPower__" + toString(curStats[ixWlgTotalFarmingPower])), ("%s%d__wlgAcresStakedTotal__" + toString(curStats[ixWlgAcresStakedTotal]))])
458458 }
459459
460460
461461
462462 @Callable(i)
463463 func lotteryStatsREADONLY (userAddrOpt) = {
464464 let today = (height / DAY_BLOCKS)
465465 let week = (height / WEEK_BLOCKS)
466466 let lastWeek = (week - 1)
467467 let curWeekTickets = valueOrElse(getInteger(wlgContract, keyUserWeekTickets(userAddrOpt, week)), 0)
468468 let lastWeekTickets = valueOrElse(getInteger(wlgContract, keyUserWeekTickets(userAddrOpt, lastWeek)), 0)
469469 let curWeekTotalTickets = valueOrElse(getInteger(wlgContract, keyTotalWeekTickets(week)), 0)
470470 let lastWeekTotalTickets = valueOrElse(getInteger(wlgContract, keyTotalWeekTickets(lastWeek)), 0)
471471 let usersBet = valueOrElse(getString(wlgContract, keyUserBet(userAddrOpt)), "")
472- $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString(lastWeekTotalTickets)) + SEP) + toString(curWeekTotalTickets)), ((("%s%d%d__userTickets__" + toString(lastWeekTickets)) + SEP) + toString(curWeekTickets)), ("%s%d__blockchainDay__" + toString(today)), ("%s%d__blockchainMinute__" + toString((height % DAY_BLOCKS))), ("%s%d__winningBetToday__" + toString(winningBet(today))), ("%s%s__usersBet__" + usersBet)])
472+ $Tuple2(nil, [((("%s%d%d__totalTickets__" + toString(lastWeekTotalTickets)) + SEP) + toString(curWeekTotalTickets)), ((("%s%d%d__userTickets__" + toString(lastWeekTickets)) + SEP) + toString(curWeekTickets)), ("%s%d__blockchainWeek__" + toString(week)), ("%s%d__blockchainDay__" + toString(today)), ("%s%d__blockchainMinute__" + toString((height % DAY_BLOCKS))), ("%s%d__winningBetToday__" + toString(winningBet(today))), ("%s%s__usersBet__" + usersBet)])
473473 }
474474
475475

github/deemru/w8io/026f985 
79.55 ms