tx · 5Jq5wXvDBrbMMo6EyjiiVZwm4aiH1eFXt4vw3i9dFvQn 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy: -0.04600000 Waves 2023.10.05 14:35 [2785277] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves
{ "type": 13, "id": "5Jq5wXvDBrbMMo6EyjiiVZwm4aiH1eFXt4vw3i9dFvQn", "fee": 4600000, "feeAssetId": null, "timestamp": 1696505742485, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "5AAd1chAxJostTChxNfTBsDUZx6M7zTXHHfWzv4dzdhPTuv2Kj3k4YfyEChog48smWpdtJR8u8yffRJ6nSULHheo" ], "script": "base64:BgJzCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEYEgMKAQgSAwoBCBIDCgEYEgMKAQgSAwoBGBIDCgEYEgMKARgSAwoBGBIDCgEYEgMKAQgSABIDCgEIEgMKAQESABIECgIBCBIDCgEIEgYKBBgYAQESAwoBCN0BAAJNNgDAhD0AAk04AIDC1y8ACE1JTExJT042AICA6YOx3hYADk1BUktFVElOR1NIQVJFAKCNBgAJVEVBTVNIQVJFAMCaDAANQUNUSVZJVFlTSEFSRQCgjQYAC1BMQVlFUlNIQVJFAIC1GAAKWUVBUk1JTExJUwCAhuvHdQAJREFZTUlMTElTAIC4mSkAEG1hcmtldGluZ0FkZHJLZXkCDW1hcmtldGluZ0FkZHIAC3RlYW1BZGRyS2V5Agh0ZWFtQWRkcgAUbGFzdE1hcmtldGluZ1RpbWVLZXkCGWxhc3RDbGFpbWVkVGltZV9tYXJrZXRpbmcAFm1hcmtldGluZ0Ftb3VudExlZnRLZXkCE21hcmtldGluZ0Ftb3VudExlZnQAD2xhc3RUZWFtVGltZUtleQIUbGFzdENsYWltZWRUaW1lX3RlYW0AEXRlYW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XNTdGFrZWRUb3RhbEtleQAACQDMCAIJAKwCAgIZJXMlZF9fYWNyZXNTdGFrZWRCeVVzZXJfXwkApAMBCQELdmFsdWVPckVsc2UCCQCaCAIFDWFjcmVzQ29udHJhY3QJARprZXlBY3Jlc1N0YWtlZEFtb3VudEJ5VXNlcgEFC3VzZXJBZGRyT3B0AAAJAMwIAgkArAICAhwlcyVkX19hY3Jlc0NsYWltYWJsZUJ5VXNlcl9fCQCkAwEFDXVzZXJDbGFpbWFibGUJAMwIAgkArAICAiAlcyVkX19hY3Jlc0xhc3RDbGFpbVRpbWVCeVVzZXJfXwkApAMBBQx1c2VyTGFzdFRpbWUFA25pbAAnDQd1", "height": 2785277, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GCz6TCm6hYXwvpXrG1iuuDBKQkWLf1tCYHmyi6mzMdf9 Next: C7y43rDMtyCLrxY581wKb4DihPekA9qVgTZUDcSJuae7 Diff:
Old | New | Differences | |
---|---|---|---|
593 | 593 | ||
594 | 594 | let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet") | |
595 | 595 | ||
596 | + | let acresIssuedAmountKey = "acresIssuedAmount" | |
597 | + | ||
596 | 598 | let acresAssetIdKey = "acresAssetId" | |
597 | 599 | ||
598 | 600 | let acresAssetId = valueOrErrorMessage(getBinary(acresContract, acresAssetIdKey), "ACRES is not issued yet") | |
621 | 623 | n | |
622 | 624 | case _ => | |
623 | 625 | throw("fail to cast into Int") | |
626 | + | } | |
627 | + | ||
628 | + | ||
629 | + | func asAnyList (v) = match v { | |
630 | + | case l: List[Any] => | |
631 | + | l | |
632 | + | case _ => | |
633 | + | throw("fail to cast into List[Any]") | |
624 | 634 | } | |
625 | 635 | ||
626 | 636 | ||
1315 | 1325 | } | |
1316 | 1326 | ||
1317 | 1327 | ||
1328 | + | ||
1329 | + | @Callable(i) | |
1330 | + | func acresStatsREADONLY (userAddrOpt) = { | |
1331 | + | let userClaim = asAnyList(invoke(acresContract, "claimAcresREADONLY", [userAddrOpt], nil)) | |
1332 | + | let userClaimable = asInt(userClaim[0]) | |
1333 | + | let userLastTime = asInt(userClaim[1]) | |
1334 | + | $Tuple2(nil, [("%s%d__acresIssuedTotal__" + toString(valueOrElse(getInteger(acresContract, acresIssuedAmountKey), 0))), ("%s%d__acresUnsold__" + toString(assetBalance(acresContract, acresAssetId))), ("%s%d__acresStakedTotal__" + toString(valueOrElse(getInteger(acresContract, acresStakedTotalKey), 0))), ("%s%d__acresStakedByUser__" + toString(valueOrElse(getInteger(acresContract, keyAcresStakedAmountByUser(userAddrOpt)), 0))), ("%s%d__acresClaimableByUser__" + toString(userClaimable)), ("%s%d__acresLastClaimTimeByUser__" + toString(userLastTime))]) | |
1335 | + | } | |
1336 | + | ||
1337 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let M6 = 1000000 | |
5 | 5 | ||
6 | 6 | let M8 = 100000000 | |
7 | 7 | ||
8 | 8 | let MILLION6 = 100000000000000 | |
9 | 9 | ||
10 | 10 | let MARKETINGSHARE = 100000 | |
11 | 11 | ||
12 | 12 | let TEAMSHARE = 200000 | |
13 | 13 | ||
14 | 14 | let ACTIVITYSHARE = 100000 | |
15 | 15 | ||
16 | 16 | let PLAYERSHARE = 400000 | |
17 | 17 | ||
18 | 18 | let YEARMILLIS = 31557600000 | |
19 | 19 | ||
20 | 20 | let DAYMILLIS = 86400000 | |
21 | 21 | ||
22 | 22 | let marketingAddrKey = "marketingAddr" | |
23 | 23 | ||
24 | 24 | let teamAddrKey = "teamAddr" | |
25 | 25 | ||
26 | 26 | let lastMarketingTimeKey = "lastClaimedTime_marketing" | |
27 | 27 | ||
28 | 28 | let marketingAmountLeftKey = "marketingAmountLeft" | |
29 | 29 | ||
30 | 30 | let lastTeamTimeKey = "lastClaimedTime_team" | |
31 | 31 | ||
32 | 32 | let teamAmountLeftKey = "teamAmountLeft" | |
33 | 33 | ||
34 | 34 | let lastActivitiesTimeKey = "lastClaimedTime_activities" | |
35 | 35 | ||
36 | 36 | let actAmountLeftKey = "activitiesAmountLeft" | |
37 | 37 | ||
38 | 38 | let stakersAmountLeftKey = "stakersAmountLeft" | |
39 | 39 | ||
40 | 40 | func keyLastClaimedTimeByUser (addr) = ("lastClaimedTimeUser_" + addr) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func distributionByPeriod (period) = fraction(MILLION6, (PLAYERSHARE * (period + 1)), (6 * M6)) | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | let wlgIssueTimeKey = "wlg_issueTime" | |
47 | 47 | ||
48 | 48 | let wlgIssuedAmountKey = "wlg_issuedAmount" | |
49 | 49 | ||
50 | 50 | let zbIssuedAmountKey = "zbill_issuedAmount" | |
51 | 51 | ||
52 | 52 | func keyAcresStakedAmountByUser (addr) = ("acresStakedAmountByUser_" + addr) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | let acresStakedTotalKey = "acresStakedAmountTotal" | |
56 | 56 | ||
57 | 57 | let idxWlgAmount = 0 | |
58 | 58 | ||
59 | 59 | let idxWlgPrice = 1 | |
60 | 60 | ||
61 | 61 | let idxWlgFunds = 2 | |
62 | 62 | ||
63 | 63 | let idxWlgEconomy = 3 | |
64 | 64 | ||
65 | 65 | let idxWlgActivity = 4 | |
66 | 66 | ||
67 | 67 | let idxWlgArbitrage = 5 | |
68 | 68 | ||
69 | 69 | let idxWlgPool = 6 | |
70 | 70 | ||
71 | 71 | let idxWlgIssueTime = 7 | |
72 | 72 | ||
73 | 73 | let idxWlgLastMTATime = 8 | |
74 | 74 | ||
75 | 75 | let idxWlgMarketingTotal = 9 | |
76 | 76 | ||
77 | 77 | let idxWlgMarketingAmLeft = 10 | |
78 | 78 | ||
79 | 79 | let idxWlgMarketingAmAvailNow = 11 | |
80 | 80 | ||
81 | 81 | let idxWlgMarketingWlgold = 12 | |
82 | 82 | ||
83 | 83 | let idxWlgTeamTotal = 13 | |
84 | 84 | ||
85 | 85 | let idxWlgTeamAmLeft = 14 | |
86 | 86 | ||
87 | 87 | let idxWlgTeamAmAvailNow = 15 | |
88 | 88 | ||
89 | 89 | let idxWlgTeamWlgold = 16 | |
90 | 90 | ||
91 | 91 | let idxWlgActTotal = 17 | |
92 | 92 | ||
93 | 93 | let idxWlgActAmLeft = 18 | |
94 | 94 | ||
95 | 95 | let idxWlgActAmAvailNow = 19 | |
96 | 96 | ||
97 | 97 | let idxWlgActWlgold = 20 | |
98 | 98 | ||
99 | 99 | let idxWlgCurPeriod = 21 | |
100 | 100 | ||
101 | 101 | let idxWlgAmLeftTotal = 22 | |
102 | 102 | ||
103 | 103 | let idxWlgCurPeriodDistribution = 23 | |
104 | 104 | ||
105 | 105 | let idxWlgLastUserTime = 24 | |
106 | 106 | ||
107 | 107 | let idxWlgUserAmAvailNow = 25 | |
108 | 108 | ||
109 | 109 | let idxWlgSLandDailyAmount = 26 | |
110 | 110 | ||
111 | 111 | let idxWlgInvestFundAmount = 27 | |
112 | 112 | ||
113 | 113 | let idxWlgUserTotalAvail = 28 | |
114 | 114 | ||
115 | 115 | let idxWlgEffUserTime = 29 | |
116 | 116 | ||
117 | 117 | let dappRest = 0 | |
118 | 118 | ||
119 | 119 | let dappStaking = 1 | |
120 | 120 | ||
121 | 121 | let dappEconomy = 2 | |
122 | 122 | ||
123 | 123 | let dappWlg = 3 | |
124 | 124 | ||
125 | 125 | let dappPuzzle = 4 | |
126 | 126 | ||
127 | 127 | let dappInvestFund = 5 | |
128 | 128 | ||
129 | 129 | let dappAcres = 6 | |
130 | 130 | ||
131 | 131 | func getLands (userAddrStrOrEmpty,stakingContract,acresContract) = { | |
132 | 132 | let props = split(valueOrElse(getString(stakingContract, "resTypesProportions"), "0_0_0_0_0_0"), "_") | |
133 | 133 | func adder (acc,item) = (acc + parseIntValue(item)) | |
134 | 134 | ||
135 | 135 | let totalPieces = { | |
136 | 136 | let $l = props | |
137 | 137 | let $s = size($l) | |
138 | 138 | let $acc0 = 0 | |
139 | 139 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
140 | 140 | then $a | |
141 | 141 | else adder($a, $l[$i]) | |
142 | 142 | ||
143 | 143 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
144 | 144 | then $a | |
145 | 145 | else throw("List size exceeds 6") | |
146 | 146 | ||
147 | 147 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
148 | 148 | } | |
149 | 149 | let userPieces = valueOrElse(getInteger(stakingContract, ("stakedPiecesByOwner_" + userAddrStrOrEmpty)), 0) | |
150 | 150 | let totalAcres = valueOrElse(getInteger(acresContract, acresStakedTotalKey), 0) | |
151 | 151 | let userAcres = valueOrElse(getInteger(acresContract, keyAcresStakedAmountByUser(userAddrStrOrEmpty)), 0) | |
152 | 152 | [totalPieces, userPieces, totalAcres, userAcres] | |
153 | 153 | } | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | let idxTotalPieces = 0 | |
157 | 157 | ||
158 | 158 | let idxUserPieces = 1 | |
159 | 159 | ||
160 | 160 | let idxTotalAcres = 2 | |
161 | 161 | ||
162 | 162 | let idxUserAcres = 3 | |
163 | 163 | ||
164 | 164 | func getWlgStats (userAddrOpt,contracts,usdtId,usdtBalanceCorrection,userProportion6) = { | |
165 | 165 | let issuedAmount = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssuedAmountKey), "WLGOLD is not issued yet") | |
166 | 166 | let economyUsd = assetBalance(contracts[dappEconomy], usdtId) | |
167 | 167 | let restUsd = assetBalance(contracts[dappRest], usdtId) | |
168 | 168 | let wlgUsd = (assetBalance(contracts[dappWlg], usdtId) - usdtBalanceCorrection) | |
169 | 169 | let puzzleUsd = assetBalance(contracts[dappPuzzle], usdtId) | |
170 | 170 | let investFundContract = contracts[dappInvestFund] | |
171 | 171 | let investFundTotal = (assetBalance(investFundContract, usdtId) + valueOrElse(getInteger(investFundContract, zbIssuedAmountKey), 0)) | |
172 | 172 | let totalFundsUsd = ((economyUsd + wlgUsd) + investFundTotal) | |
173 | 173 | let wlgId = valueOrErrorMessage(getBinary(contracts[dappWlg], "wlg_assetId"), "Not initialized yet") | |
174 | 174 | let now = lastBlock.timestamp | |
175 | 175 | let issueTime = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssueTimeKey), "Not initialized") | |
176 | 176 | let marketingTotal = fraction(MILLION6, MARKETINGSHARE, M6) | |
177 | 177 | let marketingAmountLeft = valueOrElse(getInteger(contracts[dappWlg], marketingAmountLeftKey), marketingTotal) | |
178 | 178 | let lastMarketingTime = valueOrElse(getInteger(contracts[dappWlg], lastMarketingTimeKey), issueTime) | |
179 | 179 | let marketingAddr = addressFromStringValue(value(getString(contracts[dappWlg], marketingAddrKey))) | |
180 | 180 | let marketingAmountAvailableNow = min([fraction(marketingTotal, (now - lastMarketingTime), YEARMILLIS), marketingAmountLeft]) | |
181 | 181 | let marketingWlgold = assetBalance(marketingAddr, wlgId) | |
182 | 182 | let teamTotal = fraction(MILLION6, TEAMSHARE, M6) | |
183 | 183 | let teamAmountLeft = valueOrElse(getInteger(contracts[dappWlg], teamAmountLeftKey), teamTotal) | |
184 | 184 | let lastTeamTime = valueOrElse(getInteger(contracts[dappWlg], lastTeamTimeKey), issueTime) | |
185 | 185 | let teamAddr = addressFromStringValue(value(getString(contracts[dappWlg], teamAddrKey))) | |
186 | 186 | let teamAmountAvailableNow = min([fraction(teamTotal, (now - lastTeamTime), (3 * YEARMILLIS)), teamAmountLeft]) | |
187 | 187 | let teamWlgold = assetBalance(teamAddr, wlgId) | |
188 | 188 | let actTotal = fraction(MILLION6, ACTIVITYSHARE, M6) | |
189 | 189 | let actAmountLeft = valueOrElse(getInteger(contracts[dappWlg], actAmountLeftKey), actTotal) | |
190 | 190 | let lastActivitiesTime = valueOrElse(getInteger(contracts[dappWlg], lastActivitiesTimeKey), issueTime) | |
191 | 191 | let actAmountAvailableNow = min([fraction(actTotal, (now - lastActivitiesTime), (3 * YEARMILLIS)), actAmountLeft]) | |
192 | 192 | let actWlgold = assetBalance(contracts[dappRest], wlgId) | |
193 | 193 | let lastUserTime = valueOrElse(getInteger(contracts[dappWlg], keyLastClaimedTimeByUser(userAddrOpt)), issueTime) | |
194 | 194 | let lastUserPeriod = ((lastUserTime - issueTime) / YEARMILLIS) | |
195 | 195 | let nowLimited = min([now, (issueTime + (3 * YEARMILLIS))]) | |
196 | 196 | let curPeriod = min([((now - issueTime) / YEARMILLIS), 2]) | |
197 | 197 | let eff = getLands(userAddrOpt, contracts[dappStaking], contracts[dappAcres]) | |
198 | 198 | let curPeriodDistribution = distributionByPeriod(curPeriod) | |
199 | 199 | let $t079142 = if ((lastUserPeriod == curPeriod)) | |
200 | 200 | then { | |
201 | 201 | let a0 = fraction(curPeriodDistribution, (nowLimited - lastUserTime), YEARMILLIS) | |
202 | 202 | let userPart = fraction(a0, userProportion6, M6) | |
203 | 203 | let effTime = (lastUserTime + fraction((nowLimited - lastUserTime), userProportion6, M6)) | |
204 | 204 | $Tuple3(userPart, a0, effTime) | |
205 | 205 | } | |
206 | 206 | else if ((lastUserPeriod == (curPeriod - 1))) | |
207 | 207 | then { | |
208 | 208 | let a1 = fraction(distributionByPeriod((curPeriod - 1)), ((issueTime + (YEARMILLIS * curPeriod)) - lastUserTime), YEARMILLIS) | |
209 | 209 | let a0 = fraction(curPeriodDistribution, (nowLimited - (issueTime + (YEARMILLIS * curPeriod))), YEARMILLIS) | |
210 | 210 | let avail = (a1 + a0) | |
211 | 211 | let userPart = fraction(avail, userProportion6, M6) | |
212 | 212 | let effTime = if ((a1 >= userPart)) | |
213 | 213 | then (lastUserTime + fraction(YEARMILLIS, userPart, distributionByPeriod((curPeriod - 1)))) | |
214 | 214 | else ((issueTime + (YEARMILLIS * curPeriod)) + fraction(YEARMILLIS, (userPart - a1), curPeriodDistribution)) | |
215 | 215 | $Tuple3(userPart, avail, effTime) | |
216 | 216 | } | |
217 | 217 | else { | |
218 | 218 | let a2 = fraction(distributionByPeriod((curPeriod - 2)), ((issueTime + (YEARMILLIS * (curPeriod - 1))) - lastUserTime), YEARMILLIS) | |
219 | 219 | let a1 = distributionByPeriod((curPeriod - 1)) | |
220 | 220 | let a0 = fraction(curPeriodDistribution, (nowLimited - (issueTime + (YEARMILLIS * curPeriod))), YEARMILLIS) | |
221 | 221 | let avail = ((a2 + a1) + a0) | |
222 | 222 | let userPart = fraction(avail, userProportion6, M6) | |
223 | 223 | let effTime = if ((a2 >= userPart)) | |
224 | 224 | then (lastUserTime + fraction(YEARMILLIS, userPart, distributionByPeriod((curPeriod - 2)))) | |
225 | 225 | else if (((a2 + a1) >= userPart)) | |
226 | 226 | then ((issueTime + (YEARMILLIS * (curPeriod - 1))) + fraction(YEARMILLIS, (userPart - a2), distributionByPeriod((curPeriod - 1)))) | |
227 | 227 | else ((issueTime + (YEARMILLIS * curPeriod)) + fraction(YEARMILLIS, ((userPart - a2) - a1), curPeriodDistribution)) | |
228 | 228 | $Tuple3(userPart, avail, effTime) | |
229 | 229 | } | |
230 | 230 | let userAmount = $t079142._1 | |
231 | 231 | let userAvailable = $t079142._2 | |
232 | 232 | let effLastTime = $t079142._3 | |
233 | 233 | let sLandDailyAmount = fraction(fraction(curPeriodDistribution, DAYMILLIS, YEARMILLIS), 25, eff[idxTotalPieces]) | |
234 | 234 | let amountLeftTotal = valueOrElse(getInteger(contracts[dappWlg], stakersAmountLeftKey), 0) | |
235 | 235 | let robbedUser = fraction(userAmount, ((eff[idxUserPieces] * M8) + eff[idxUserAcres]), ((eff[idxTotalPieces] * M8) + eff[idxTotalAcres])) | |
236 | 236 | let unrobbedUser = fraction(userAvailable, ((eff[idxUserPieces] * M8) + eff[idxUserAcres]), ((eff[idxTotalPieces] * M8) + eff[idxTotalAcres])) | |
237 | 237 | [issuedAmount, fraction(totalFundsUsd, M8, issuedAmount), totalFundsUsd, economyUsd, restUsd, wlgUsd, puzzleUsd, issueTime, lastMarketingTime, marketingTotal, marketingAmountLeft, marketingAmountAvailableNow, marketingWlgold, teamTotal, teamAmountLeft, teamAmountAvailableNow, teamWlgold, actTotal, actAmountLeft, actAmountAvailableNow, actWlgold, curPeriod, amountLeftTotal, curPeriodDistribution, lastUserTime, robbedUser, sLandDailyAmount, investFundTotal, unrobbedUser, effLastTime] | |
238 | 238 | } | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | let SCALE8 = 100000000 | |
242 | 242 | ||
243 | 243 | let robberyCostMin = 100000000 | |
244 | 244 | ||
245 | 245 | let robberyCooldownCoeff = 400 | |
246 | 246 | ||
247 | 247 | let charIntellect = 2 | |
248 | 248 | ||
249 | 249 | let charEndurance = 3 | |
250 | 250 | ||
251 | 251 | let charDexterity = 4 | |
252 | 252 | ||
253 | 253 | let segBack = 1 | |
254 | 254 | ||
255 | 255 | let segBelt = 2 | |
256 | 256 | ||
257 | 257 | let landRobStates = ["free", "locked", "afterLockCooldown", "robbedCooldown", "defendedCooldown"] | |
258 | 258 | ||
259 | 259 | let duckRobStates = ["free", "preparingRob"] | |
260 | 260 | ||
261 | 261 | func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId) | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId) | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId) | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId) | |
271 | 271 | ||
272 | 272 | ||
273 | 273 | func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId) | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId) | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func keyUserXP (addr) = ("userXP_" + addr) | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | func keyUserLevel (addr) = ("userLevel_" + addr) | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | func keyUserFreePoints (addr) = ("userFreePoints_" + addr) | |
286 | 286 | ||
287 | 287 | ||
288 | 288 | func keyDuckBuffs (duckAssetId) = ("duckBuffs_" + duckAssetId) | |
289 | 289 | ||
290 | 290 | ||
291 | 291 | func keyLastRobberyTimeByDuck (duckAssetId) = ("lastRobberyTime_" + duckAssetId) | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func keyLastRobberyCostByDuck (duckAssetId) = ("lastRobberyCost_" + duckAssetId) | |
295 | 295 | ||
296 | 296 | ||
297 | 297 | func keyLandRobberyState (landAssetId) = ("landRobberyState_" + landAssetId) | |
298 | 298 | ||
299 | 299 | ||
300 | 300 | func keyLandCooldownETA (landAssetId) = ("landCooldownETA_" + landAssetId) | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | func keyDuckRobberyState (duckAssetId) = ("duckRobberyState_" + duckAssetId) | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | func keyLockedLandByDuck (duckAssetId) = ("lockedLandByDuck_" + duckAssetId) | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | func maxHealth (level) = (100 + level) | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func getRobberyData (stakingContract,duckAssetId) = { | |
313 | 313 | let lastRobCost = valueOrElse(getInteger(stakingContract, keyLastRobberyCostByDuck(duckAssetId)), 0) | |
314 | 314 | let lastRobTime = valueOrElse(getInteger(stakingContract, keyLastRobberyTimeByDuck(duckAssetId)), 0) | |
315 | 315 | let now = lastBlock.timestamp | |
316 | 316 | let robCost = max([robberyCostMin, (lastRobCost - (robberyCooldownCoeff * (now - lastRobTime)))]) | |
317 | 317 | let duckState = valueOrElse(getInteger(stakingContract, keyDuckRobberyState(duckAssetId)), 0) | |
318 | 318 | let lockedLand = valueOrElse(getString(stakingContract, keyLockedLandByDuck(duckAssetId)), "") | |
319 | 319 | let landETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(lockedLand)), 0) | |
320 | 320 | $Tuple5(robCost, lastRobTime, duckState, lockedLand, landETA) | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | func tanh (v) = { | |
325 | 325 | let double = (2 * v) | |
326 | 326 | let exp2 = pow(271828183, 8, double, 8, 8, HALFUP) | |
327 | 327 | fraction((exp2 - SCALE8), SCALE8, (exp2 + SCALE8), HALFUP) | |
328 | 328 | } | |
329 | 329 | ||
330 | 330 | ||
331 | 331 | func dodgeProbability (chars,buffs,equipmentPerc) = { | |
332 | 332 | let intel = (parseIntValue(chars[charIntellect]) + parseIntValue(buffs[charIntellect])) | |
333 | 333 | let dex = (parseIntValue(chars[charDexterity]) + parseIntValue(buffs[charDexterity])) | |
334 | 334 | let first8 = (tanh(fraction(dex, SCALE8, 200)) / 4) | |
335 | 335 | let second8 = fraction(equipmentPerc, (SCALE8 + fraction(7000000, intel, (1 + intel), HALFUP)), 100, HALFUP) | |
336 | 336 | (first8 + second8) | |
337 | 337 | } | |
338 | 338 | ||
339 | 339 | ||
340 | 340 | func damageAbsorption (chars,buffs,equipmentAbsor) = { | |
341 | 341 | let intel = (parseIntValue(chars[charIntellect]) + parseIntValue(buffs[charIntellect])) | |
342 | 342 | let endur = (parseIntValue(chars[charEndurance]) + parseIntValue(buffs[charEndurance])) | |
343 | 343 | let dex = (parseIntValue(chars[charDexterity]) + parseIntValue(buffs[charDexterity])) | |
344 | 344 | let first8 = (equipmentAbsor * (SCALE8 + fraction(14000000, intel, (1 + intel), HALFUP))) | |
345 | 345 | let second8 = (sqrt(dex, 0, 8, HALFUP) / 10) | |
346 | 346 | let third8 = ((SCALE8 / 5) * endur) | |
347 | 347 | ((first8 + second8) + third8) | |
348 | 348 | } | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | let ARTPRESALE = "PRESALE" | |
352 | 352 | ||
353 | 353 | let ARTONBOARD = "ONBOARD" | |
354 | 354 | ||
355 | 355 | let NUMRES = 6 | |
356 | 356 | ||
357 | 357 | let DAILYRESBYPIECE = 3456000 | |
358 | 358 | ||
359 | 359 | let WHMULTIPLIER = 10000000000 | |
360 | 360 | ||
361 | 361 | let RESOURCEPRICEMIN = 39637 | |
362 | 362 | ||
363 | 363 | let ESMAXPACKAGES = 10 | |
364 | 364 | ||
365 | 365 | let ESBUYCOEF = 4 | |
366 | 366 | ||
367 | 367 | let ESSELLCOEF = 10 | |
368 | 368 | ||
369 | 369 | let COEFF2MAT = 10000000 | |
370 | 370 | ||
371 | 371 | let productionMatrix = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"] | |
372 | 372 | ||
373 | 373 | let rIdxCoeff = 6 | |
374 | 374 | ||
375 | 375 | let rIdxEffect = 8 | |
376 | 376 | ||
377 | 377 | let PRODUCTPKGSIZE = 10 | |
378 | 378 | ||
379 | 379 | func keyLandAssetIdToOwner (assetId) = ("no_" + assetId) | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | func keyLandAssetIdToCustomName (assetId) = ("lcna_" + assetId) | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | func keyStakedTimeByAssetId (assetId) = ("st_" + assetId) | |
386 | 386 | ||
387 | 387 | ||
388 | 388 | func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["las", type, assetId], "_") | |
389 | 389 | ||
390 | 390 | ||
391 | 391 | func keyWarehouseByLand (landAssetId) = ("wh_" + landAssetId) | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId) | |
395 | 395 | ||
396 | 396 | ||
397 | 397 | func keyFortificationsByLand (landAssetId) = ("fortifications_" + landAssetId) | |
398 | 398 | ||
399 | 399 | ||
400 | 400 | func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId) | |
401 | 401 | ||
402 | 402 | ||
403 | 403 | func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr) | |
404 | 404 | ||
405 | 405 | ||
406 | 406 | func keyAddressRefBy (addr) = ("accRefBy_" + addr) | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr) | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | func keyAddressReferrals (addr) = ("accReferrals_" + addr) | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId) | |
416 | 416 | ||
417 | 417 | ||
418 | 418 | func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr) | |
419 | 419 | ||
420 | 420 | ||
421 | 421 | func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId) | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | func keyOrderByLand (landAssetId) = ("landOrder_" + landAssetId) | |
425 | 425 | ||
426 | 426 | ||
427 | 427 | func keyEsWarehouse () = "emergencyWarehouseProducts" | |
428 | 428 | ||
429 | 429 | ||
430 | 430 | let lastTourIdKey = "%s__lastTourId" | |
431 | 431 | ||
432 | 432 | func keyTourStaticDataById (tId) = ("%s%d__tourStaticData__" + toString(tId)) | |
433 | 433 | ||
434 | 434 | ||
435 | 435 | func keyTourDynamicDataById (tId) = ("%s%d__tourDynamicData__" + toString(tId)) | |
436 | 436 | ||
437 | 437 | ||
438 | 438 | func keyScoreBoardByTour (tId) = ("%s%d__scoreBoard__" + toString(tId)) | |
439 | 439 | ||
440 | 440 | ||
441 | 441 | func keyIsRegisteredByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(tId), duckAssetId], "__") | |
442 | 442 | ||
443 | 443 | ||
444 | 444 | func keyIsAwardedByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__isAwardedByTourAndDuck", toString(tId), duckAssetId], "__") | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | func keyLastAttemptByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(tId), duckAssetId], "__") | |
448 | 448 | ||
449 | 449 | ||
450 | 450 | func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__") | |
451 | 451 | ||
452 | 452 | ||
453 | 453 | func keyBestTxByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestTxByTourAndDuck", toString(tId), duckAssetId], "__") | |
454 | 454 | ||
455 | 455 | ||
456 | 456 | let idxStatic = 0 | |
457 | 457 | ||
458 | 458 | let idxDynamic = 1 | |
459 | 459 | ||
460 | 460 | let tStaticRegisterCost = 2 | |
461 | 461 | ||
462 | 462 | let tStaticAttemptCost = 3 | |
463 | 463 | ||
464 | 464 | let tStaticStart = 5 | |
465 | 465 | ||
466 | 466 | let tStaticEnd = 6 | |
467 | 467 | ||
468 | 468 | let tStaticNumGrands = 7 | |
469 | 469 | ||
470 | 470 | let tStaticPrizeFund = 8 | |
471 | 471 | ||
472 | 472 | let tDynamicStatus = 1 | |
473 | 473 | ||
474 | 474 | let tDynamicLeaders = 2 | |
475 | 475 | ||
476 | 476 | let tDynamicWinResult = 3 | |
477 | 477 | ||
478 | 478 | let tDynamicTotalRegCount = 4 | |
479 | 479 | ||
480 | 480 | let tDynamicTotalAttempts = 5 | |
481 | 481 | ||
482 | 482 | func getTourData (tourContract,tId) = { | |
483 | 483 | let static = split(valueOrErrorMessage(getString(tourContract, keyTourStaticDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
484 | 484 | let dynamic = split_4C(valueOrErrorMessage(getString(tourContract, keyTourDynamicDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
485 | 485 | [static, dynamic] | |
486 | 486 | } | |
487 | 487 | ||
488 | 488 | ||
489 | 489 | func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT) | |
490 | 490 | ||
491 | 491 | ||
492 | 492 | let chain = take(drop(this.bytes, 1), 1) | |
493 | 493 | ||
494 | 494 | let usdtAssetId = match chain { | |
495 | 495 | case _ => | |
496 | 496 | if ((base58'2W' == $match0)) | |
497 | 497 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
498 | 498 | else if ((base58'2T' == $match0)) | |
499 | 499 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
500 | 500 | else throw("Unknown chain") | |
501 | 501 | } | |
502 | 502 | ||
503 | 503 | let defaultRestAddressStr = match chain { | |
504 | 504 | case _ => | |
505 | 505 | if ((base58'2W' == $match0)) | |
506 | 506 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
507 | 507 | else if ((base58'2T' == $match0)) | |
508 | 508 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
509 | 509 | else throw("Unknown chain") | |
510 | 510 | } | |
511 | 511 | ||
512 | 512 | let InfraUpgradeCostS = match chain { | |
513 | 513 | case _ => | |
514 | 514 | if ((base58'2W' == $match0)) | |
515 | 515 | then 10000000000 | |
516 | 516 | else if ((base58'2T' == $match0)) | |
517 | 517 | then 100000000 | |
518 | 518 | else throw("Unknown chain") | |
519 | 519 | } | |
520 | 520 | ||
521 | 521 | let SEP = "__" | |
522 | 522 | ||
523 | 523 | let MULT6 = 1000000 | |
524 | 524 | ||
525 | 525 | let MULT8 = 100000000 | |
526 | 526 | ||
527 | 527 | let SSIZE = 25 | |
528 | 528 | ||
529 | 529 | let MSIZE = 100 | |
530 | 530 | ||
531 | 531 | let LSIZE = 225 | |
532 | 532 | ||
533 | 533 | let XLSIZE = 400 | |
534 | 534 | ||
535 | 535 | let XXLSIZE = 625 | |
536 | 536 | ||
537 | 537 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
538 | 538 | ||
539 | 539 | ||
540 | 540 | let IdxCfgStakingDapp = 1 | |
541 | 541 | ||
542 | 542 | let IdxCfgEconomyDapp = 2 | |
543 | 543 | ||
544 | 544 | let IdxCfgWlgDapp = 4 | |
545 | 545 | ||
546 | 546 | let IdxCfgPuzzlePoolDapp = 5 | |
547 | 547 | ||
548 | 548 | let IdxCfgInvestFundDapp = 6 | |
549 | 549 | ||
550 | 550 | let IdxCfgTournamentDapp = 7 | |
551 | 551 | ||
552 | 552 | let IdxCfgAcresDapp = 8 | |
553 | 553 | ||
554 | 554 | func keyRestCfg () = "%s__restConfig" | |
555 | 555 | ||
556 | 556 | ||
557 | 557 | func keyRestAddress () = "%s__restAddr" | |
558 | 558 | ||
559 | 559 | ||
560 | 560 | func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP) | |
561 | 561 | ||
562 | 562 | ||
563 | 563 | func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx))) | |
564 | 564 | ||
565 | 565 | ||
566 | 566 | let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr)) | |
567 | 567 | ||
568 | 568 | let restCfg = readRestCfgOrFail(restContract) | |
569 | 569 | ||
570 | 570 | let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp) | |
571 | 571 | ||
572 | 572 | let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp) | |
573 | 573 | ||
574 | 574 | let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp) | |
575 | 575 | ||
576 | 576 | let puzzlePoolContract = getContractAddressOrFail(restCfg, IdxCfgPuzzlePoolDapp) | |
577 | 577 | ||
578 | 578 | let investFundContract = getContractAddressOrFail(restCfg, IdxCfgInvestFundDapp) | |
579 | 579 | ||
580 | 580 | let tournamentContract = getContractAddressOrFail(restCfg, IdxCfgTournamentDapp) | |
581 | 581 | ||
582 | 582 | let acresContract = getContractAddressOrFail(restCfg, IdxCfgAcresDapp) | |
583 | 583 | ||
584 | 584 | let recLandNum = 0 | |
585 | 585 | ||
586 | 586 | let recLandSize = 1 | |
587 | 587 | ||
588 | 588 | let recTerrains = 2 | |
589 | 589 | ||
590 | 590 | let recContinent = 3 | |
591 | 591 | ||
592 | 592 | let wlgAssetIdKey = "wlg_assetId" | |
593 | 593 | ||
594 | 594 | let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet") | |
595 | 595 | ||
596 | + | let acresIssuedAmountKey = "acresIssuedAmount" | |
597 | + | ||
596 | 598 | let acresAssetIdKey = "acresAssetId" | |
597 | 599 | ||
598 | 600 | let acresAssetId = valueOrErrorMessage(getBinary(acresContract, acresAssetIdKey), "ACRES is not issued yet") | |
599 | 601 | ||
600 | 602 | let IdxEffUser = 1 | |
601 | 603 | ||
602 | 604 | func keyResProportions () = "resTypesProportions" | |
603 | 605 | ||
604 | 606 | ||
605 | 607 | func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr) | |
606 | 608 | ||
607 | 609 | ||
608 | 610 | func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr) | |
609 | 611 | ||
610 | 612 | ||
611 | 613 | func asString (v) = match v { | |
612 | 614 | case s: String => | |
613 | 615 | s | |
614 | 616 | case _ => | |
615 | 617 | throw("fail to cast into String") | |
616 | 618 | } | |
617 | 619 | ||
618 | 620 | ||
619 | 621 | func asInt (v) = match v { | |
620 | 622 | case n: Int => | |
621 | 623 | n | |
622 | 624 | case _ => | |
623 | 625 | throw("fail to cast into Int") | |
626 | + | } | |
627 | + | ||
628 | + | ||
629 | + | func asAnyList (v) = match v { | |
630 | + | case l: List[Any] => | |
631 | + | l | |
632 | + | case _ => | |
633 | + | throw("fail to cast into List[Any]") | |
624 | 634 | } | |
625 | 635 | ||
626 | 636 | ||
627 | 637 | func numPiecesBySize (landSize) = match landSize { | |
628 | 638 | case _ => | |
629 | 639 | if (("S" == $match0)) | |
630 | 640 | then SSIZE | |
631 | 641 | else if (("M" == $match0)) | |
632 | 642 | then MSIZE | |
633 | 643 | else if (("L" == $match0)) | |
634 | 644 | then LSIZE | |
635 | 645 | else if (("XL" == $match0)) | |
636 | 646 | then XLSIZE | |
637 | 647 | else if (("XXL" == $match0)) | |
638 | 648 | then XXLSIZE | |
639 | 649 | else throw("Unknown land size") | |
640 | 650 | } | |
641 | 651 | ||
642 | 652 | ||
643 | 653 | func keyBlocked () = "contractsBlocked" | |
644 | 654 | ||
645 | 655 | ||
646 | 656 | func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr) | |
647 | 657 | ||
648 | 658 | ||
649 | 659 | func getVotingPower (userAddrStrOrEmpty) = { | |
650 | 660 | let props = split(valueOrElse(getString(stakingContract, keyResProportions()), "0_0_0_0_0_0"), "_") | |
651 | 661 | func adder (acc,item) = (acc + parseIntValue(item)) | |
652 | 662 | ||
653 | 663 | let totalPower = { | |
654 | 664 | let $l = props | |
655 | 665 | let $s = size($l) | |
656 | 666 | let $acc0 = 0 | |
657 | 667 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
658 | 668 | then $a | |
659 | 669 | else adder($a, $l[$i]) | |
660 | 670 | ||
661 | 671 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
662 | 672 | then $a | |
663 | 673 | else throw("List size exceeds 6") | |
664 | 674 | ||
665 | 675 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
666 | 676 | } | |
667 | 677 | let usersPower = valueOrElse(getInteger(stakingContract, keyStakedPiecesByOwner(userAddrStrOrEmpty)), 0) | |
668 | 678 | [totalPower, usersPower] | |
669 | 679 | } | |
670 | 680 | ||
671 | 681 | ||
672 | 682 | let USDTPRIZEPART = 500000 | |
673 | 683 | ||
674 | 684 | let adminsList = [toString(this), match chain { | |
675 | 685 | case _ => | |
676 | 686 | if ((base58'2W' == $match0)) | |
677 | 687 | then "3P64qEVzuGzBJuYfDXYisFtokJChSRa8uja" | |
678 | 688 | else if ((base58'2T' == $match0)) | |
679 | 689 | then "3N3gSFrTwgiLAFZHMuJrEttht1nPhnkpvjs" | |
680 | 690 | else throw("Unknown chain") | |
681 | 691 | }] | |
682 | 692 | ||
683 | 693 | func asListIntCompacted (val) = match val { | |
684 | 694 | case valAnyList: List[Any] => | |
685 | 695 | if ((size(valAnyList) != NUMRES)) | |
686 | 696 | then throw(("Array size is " + toString(size(valAnyList)))) | |
687 | 697 | else { | |
688 | 698 | func conv (acc,item) = match item { | |
689 | 699 | case it: Int => | |
690 | 700 | (acc :+ toString(it)) | |
691 | 701 | case _ => | |
692 | 702 | throw("List type is not Int") | |
693 | 703 | } | |
694 | 704 | ||
695 | 705 | let r = { | |
696 | 706 | let $l = valAnyList | |
697 | 707 | let $s = size($l) | |
698 | 708 | let $acc0 = nil | |
699 | 709 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
700 | 710 | then $a | |
701 | 711 | else conv($a, $l[$i]) | |
702 | 712 | ||
703 | 713 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
704 | 714 | then $a | |
705 | 715 | else throw("List size exceeds 6") | |
706 | 716 | ||
707 | 717 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
708 | 718 | } | |
709 | 719 | makeString(r, "_") | |
710 | 720 | } | |
711 | 721 | case _ => | |
712 | 722 | throw("fail to cast into List") | |
713 | 723 | } | |
714 | 724 | ||
715 | 725 | ||
716 | 726 | func asSplitResult (val) = match val { | |
717 | 727 | case t2: (List[Any], List[Any]) => | |
718 | 728 | $Tuple2(asListIntCompacted(t2._1), asListIntCompacted(t2._2)) | |
719 | 729 | case _ => | |
720 | 730 | throw("fail to cast into (List, List)") | |
721 | 731 | } | |
722 | 732 | ||
723 | 733 | ||
724 | 734 | func asCancelOrderResult (val) = match val { | |
725 | 735 | case t2: (Boolean, String) => | |
726 | 736 | t2 | |
727 | 737 | case _ => | |
728 | 738 | throw("fail to cast into (Boolean, String)") | |
729 | 739 | } | |
730 | 740 | ||
731 | 741 | ||
732 | 742 | func walletInternal (userAddressOpt) = { | |
733 | 743 | let addr = addressFromString(userAddressOpt) | |
734 | 744 | let balance = if (isDefined(addr)) | |
735 | 745 | then wavesBalance(value(addr)) | |
736 | 746 | else BalanceDetails(0, 0, 0, 0) | |
737 | 747 | let usdtBalance = if (isDefined(addr)) | |
738 | 748 | then assetBalance(value(addr), usdtAssetId) | |
739 | 749 | else 0 | |
740 | 750 | let wlgoldBalance = if (isDefined(addr)) | |
741 | 751 | then assetBalance(value(addr), wlgAssetId) | |
742 | 752 | else 0 | |
743 | 753 | let customName = valueOrElse(getString(stakingContract, keyAddressToCustomName(userAddressOpt)), userAddressOpt) | |
744 | 754 | let refByKey = keyAddressRefBy(userAddressOpt) | |
745 | 755 | let refBy = getString(stakingContract, refByKey) | |
746 | 756 | let refs = valueOrElse(getString(stakingContract, keyAddressReferrals(userAddressOpt)), "") | |
747 | 757 | let lastTxId = valueOrElse(getString(stakingContract, keyLastTxIdByUser(userAddressOpt)), "") | |
748 | 758 | let pieces = getVotingPower(userAddressOpt)[IdxEffUser] | |
749 | 759 | let xp = valueOrElse(getInteger(stakingContract, keyUserXP(userAddressOpt)), 0) | |
750 | 760 | let lvl = valueOrElse(getInteger(stakingContract, keyUserLevel(userAddressOpt)), 0) | |
751 | 761 | let freePoints = valueOrElse(getInteger(stakingContract, keyUserFreePoints(userAddressOpt)), 0) | |
752 | 762 | let onboard = if (isDefined(refBy)) | |
753 | 763 | then (ARTONBOARD + (if (if (isDefined(addr)) | |
754 | 764 | then isDefined(getString(stakingContract, keyOnboardArtDuckActivatedBy(userAddressOpt))) | |
755 | 765 | else false) | |
756 | 766 | then ":1" | |
757 | 767 | else ":0")) | |
758 | 768 | else "" | |
759 | 769 | let acresBalance = if (isDefined(addr)) | |
760 | 770 | then assetBalance(value(addr), acresAssetId) | |
761 | 771 | else 0 | |
762 | 772 | let stakedAcres = valueOrElse(getInteger(acresContract, keyAcresStakedAmountByUser(userAddressOpt)), 0) | |
763 | 773 | [("%s%s__customName__" + customName), ("%s%s__referredBy__" + valueOrElse(refBy, "")), ("%s%s__referrals__" + refs), ("%s%s__lastTxId__" + lastTxId), ("%s%d__wavesBalance__" + toString(balance.available)), ("%s%d__wlgoldBalance__" + toString(wlgoldBalance)), ("%s%d__usdtBalance__" + toString(usdtBalance)), ("%s%d__stakedPieces__" + toString(pieces)), ("%s%d__acresBalance__" + toString(acresBalance)), ("%s%d__stakedAcres__" + toString(stakedAcres)), ("%s%d__currentXp__" + toString(xp)), ("%s%d__currentLvl__" + toString(lvl)), ("%s%d__pointsToDistribute__" + toString(freePoints)), ("%s%s__walletArtefacts__" + onboard)] | |
764 | 774 | } | |
765 | 775 | ||
766 | 776 | ||
767 | 777 | func applyBonuses (landAssetId,pieces) = { | |
768 | 778 | let infraLevel = valueOrElse(getInteger(stakingContract, keyInfraLevelByAssetId(landAssetId)), 0) | |
769 | 779 | let artPieces = valueOrElse(getInteger(stakingContract, keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0) | |
770 | 780 | let add6 = (infraLevel / 6) | |
771 | 781 | let add7 = (infraLevel / 7) | |
772 | 782 | $Tuple3(infraLevel, artPieces, ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))) | |
773 | 783 | } | |
774 | 784 | ||
775 | 785 | ||
776 | 786 | func getWarehouseTotalVolume (volPrefix) = { | |
777 | 787 | let parts = split(volPrefix, "_") | |
778 | 788 | ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0])) | |
779 | 789 | } | |
780 | 790 | ||
781 | 791 | ||
782 | 792 | func getWarehouse (whKey,landIndex,infraLevel) = { | |
783 | 793 | let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel)) | |
784 | 794 | let totS = toString(getWarehouseTotalVolume(volPrefix)) | |
785 | 795 | let whStr = valueOrElse(getString(stakingContract, whKey), ((((volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + totS) + "_") + totS)) | |
786 | 796 | split(whStr, ":") | |
787 | 797 | } | |
788 | 798 | ||
789 | 799 | ||
790 | 800 | func duckInfoTuple (duckAssetId) = { | |
791 | 801 | let maxHP = maxHealth(valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)) | |
792 | 802 | $Tuple5(valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(duckAssetId)), -1), value(assetInfo(fromBase58String(duckAssetId))).name, valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), ""), valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHP), asString(invoke(stakingContract, "getBackpackREADONLY", [duckAssetId], nil))) | |
793 | 803 | } | |
794 | 804 | ||
795 | 805 | ||
796 | 806 | func duckInfoArray (duckAssetId,owner,duckInf) = { | |
797 | 807 | let customName = valueOrElse(getString(stakingContract, keyDuckAssetIdToCustomName(duckAssetId)), duckInf._2) | |
798 | 808 | let chars = valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0") | |
799 | 809 | let xp = valueOrElse(getInteger(stakingContract, keyDuckXP(duckAssetId)), 0) | |
800 | 810 | let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0) | |
801 | 811 | let freePoints = valueOrElse(getInteger(stakingContract, keyDuckFreePoints(duckAssetId)), 0) | |
802 | 812 | let equipm = valueOrElse(getString(stakingContract, keyDuckEquipment(duckAssetId)), ";_;_;_;_;_;") | |
803 | 813 | let buffs = valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0") | |
804 | 814 | let $t060816186 = getRobberyData(stakingContract, duckAssetId) | |
805 | 815 | let robCost = $t060816186._1 | |
806 | 816 | let lastRobTime = $t060816186._2 | |
807 | 817 | let duckState = $t060816186._3 | |
808 | 818 | let lockedLand = $t060816186._4 | |
809 | 819 | let landETA = $t060816186._5 | |
810 | 820 | [("%s%s__assetId__" + duckAssetId), ("%s%s__owner__" + owner), ("%s%s__customName__" + customName), ("%s%d__stakedTime__" + toString(duckInf._1)), ("%s%s__name__" + duckInf._2), ("%s%s__location__" + duckInf._3), ("%s%d__health__" + toString(duckInf._4)), ("%s%d__maxHealth__" + toString(maxHealth(lvl))), ("%s%s__characteristics__" + chars), ("%s%d__currentXp__" + toString(xp)), ("%s%d__currentLvl__" + toString(lvl)), ("%s%d__pointsToDistribute__" + toString(freePoints)), ("%s%s__backPack__" + duckInf._5), ("%s%s__equipment__" + equipm), ("%s%s__buffs__" + buffs), ("%s%d__robberyCost__" + toString(robCost)), ("%s%d__robberyTime__" + toString(lastRobTime)), ("%s%s__robberyState__" + duckRobStates[duckState]), ("%s%s__robberyLastLand__" + lockedLand), ("%s%d__robberyLastLandReleaseTime__" + toString(landETA))] | |
811 | 821 | } | |
812 | 822 | ||
813 | 823 | ||
814 | 824 | func landInfoArray (landAssetId,owner,stakedTime) = if ((landAssetId == "")) | |
815 | 825 | then throw("landAssetId is required") | |
816 | 826 | else { | |
817 | 827 | let a = value(assetInfo(fromBase58String(landAssetId))) | |
818 | 828 | let d = split(a.description, "_") | |
819 | 829 | let landNum = if ((a.quantity > 0)) | |
820 | 830 | then d[recLandNum] | |
821 | 831 | else ("-" + d[recLandNum]) | |
822 | 832 | let pieces = numPiecesBySize(d[recLandSize]) | |
823 | 833 | let productivity = applyBonuses(landAssetId, pieces) | |
824 | 834 | let deltaTime = (lastBlock.timestamp - stakedTime) | |
825 | 835 | let availRes = if ((stakedTime > 0)) | |
826 | 836 | then fraction(deltaTime, (productivity._3 * pieces), DAYMILLIS) | |
827 | 837 | else 0 | |
828 | 838 | let needMat = fraction(InfraUpgradeCostS, (pieces * (productivity._1 + 1)), SSIZE) | |
829 | 839 | let globalAndLocal = if ((stakedTime > 0)) | |
830 | 840 | then asSplitResult(invoke(stakingContract, "splitByGlobalAndLocalWeightsREADONLY", [needMat, availRes, d[recTerrains]], nil)) | |
831 | 841 | else $Tuple2(asListIntCompacted(invoke(stakingContract, "splitByGlobalWeightsREADONLY", [needMat], nil)), "") | |
832 | 842 | let customName = valueOrElse(getString(stakingContract, keyLandAssetIdToCustomName(landAssetId)), ((d[recContinent] + "-") + d[recLandNum])) | |
833 | 843 | let fort = valueOrElse(getString(stakingContract, keyFortificationsByLand(landAssetId)), ":0_15:0_18:0") | |
834 | 844 | let state = valueOrElse(getInteger(stakingContract, keyLandRobberyState(landAssetId)), 0) | |
835 | 845 | let cooldownETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(landAssetId)), 0) | |
836 | 846 | [("%s%s__assetId__" + landAssetId), ("%s%s__owner__" + owner), ("%s%s__customName__" + customName), ("%s%d__stakedTime__" + toString(stakedTime)), ("%s%s__description__" + makeString([landNum, d[recLandSize], d[recTerrains], d[recContinent]], "_")), ("%s%d__infraLevel__" + toString(productivity._1)), ("%s%s__availResByType__" + globalAndLocal._2), ("%s%d__availResTotal__" + toString(availRes)), ("%s%s__needMaterial__" + globalAndLocal._1), ("%s%s__landArtefacts__PRESALE:" + toString(productivity._2)), ("%s%s__warehouse__" + makeString(getWarehouse(keyWarehouseByLand(landAssetId), (pieces / SSIZE), productivity._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(economyContract, keyOrderByLand(landAssetId)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:")), ("%s%s__fortifications__" + fort), ("%s%s__robberyState__" + landRobStates[state]), ("%s%d__canBeRobbedAfter__" + toString(cooldownETA))] | |
837 | 847 | } | |
838 | 848 | ||
839 | 849 | ||
840 | 850 | func landOrderInfoArray (landAssetId,owner) = if ((landAssetId == "")) | |
841 | 851 | then throw("landAssetId is required") | |
842 | 852 | else { | |
843 | 853 | let a = value(assetInfo(fromBase58String(landAssetId))) | |
844 | 854 | let d = split(a.description, "_") | |
845 | 855 | let pieces = numPiecesBySize(d[recLandSize]) | |
846 | 856 | let productivity = applyBonuses(landAssetId, pieces) | |
847 | 857 | [("%s%s__assetId__" + landAssetId), ("%s%s__owner__" + owner), ("%s%s__warehouse__" + makeString(getWarehouse(keyWarehouseByLand(landAssetId), (pieces / SSIZE), productivity._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(economyContract, keyOrderByLand(landAssetId)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))] | |
848 | 858 | } | |
849 | 859 | ||
850 | 860 | ||
851 | 861 | func slotEffect (slot) = if ((slot == "")) | |
852 | 862 | then 0 | |
853 | 863 | else { | |
854 | 864 | let slot0 = split(slot, ",")[0] | |
855 | 865 | if ((slot0 == "")) | |
856 | 866 | then 0 | |
857 | 867 | else { | |
858 | 868 | let prod = split(slot0, ":") | |
859 | 869 | if (if ((prod[1] == "")) | |
860 | 870 | then true | |
861 | 871 | else (parseIntValue(prod[1]) == 0)) | |
862 | 872 | then 0 | |
863 | 873 | else parseIntValue(split(productionMatrix[parseIntValue(prod[0])], "_")[rIdxEffect]) | |
864 | 874 | } | |
865 | 875 | } | |
866 | 876 | ||
867 | 877 | ||
868 | 878 | @Callable(i) | |
869 | 879 | func constructorV1 (contracts) = if ((i.caller != this)) | |
870 | 880 | then throw("permissions denied") | |
871 | 881 | else { | |
872 | 882 | func descriptor (acc,ignoredItem) = (acc + "%s") | |
873 | 883 | ||
874 | 884 | let descr = { | |
875 | 885 | let $l = contracts | |
876 | 886 | let $s = size($l) | |
877 | 887 | let $acc0 = "" | |
878 | 888 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
879 | 889 | then $a | |
880 | 890 | else descriptor($a, $l[$i]) | |
881 | 891 | ||
882 | 892 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
883 | 893 | then $a | |
884 | 894 | else throw("List size exceeds 10") | |
885 | 895 | ||
886 | 896 | $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) | |
887 | 897 | } | |
888 | 898 | [StringEntry(keyRestCfg(), makeString(descr :: contracts, SEP)), StringEntry(keyRestAddress(), toString(this))] | |
889 | 899 | } | |
890 | 900 | ||
891 | 901 | ||
892 | 902 | ||
893 | 903 | @Callable(i) | |
894 | 904 | func walletInfoREADONLY (userAddressOpt) = $Tuple2(nil, walletInternal(userAddressOpt)) | |
895 | 905 | ||
896 | 906 | ||
897 | 907 | ||
898 | 908 | @Callable(i) | |
899 | 909 | func duckByOwnerInfoREADONLY (userAddress) = { | |
900 | 910 | let stakedDuck = getString(stakingContract, keyStakedDuckByOwner(userAddress)) | |
901 | 911 | $Tuple2(nil, if (if (isDefined(addressFromString(userAddress))) | |
902 | 912 | then isDefined(stakedDuck) | |
903 | 913 | else false) | |
904 | 914 | then { | |
905 | 915 | let duckAssetId = value(stakedDuck) | |
906 | 916 | duckInfoArray(duckAssetId, userAddress, duckInfoTuple(duckAssetId)) | |
907 | 917 | } | |
908 | 918 | else duckInfoArray("", userAddress, $Tuple5(-1, "", "", -1, ""))) | |
909 | 919 | } | |
910 | 920 | ||
911 | 921 | ||
912 | 922 | ||
913 | 923 | @Callable(i) | |
914 | 924 | func duckByAssetIdInfoREADONLY (duckAssetId) = { | |
915 | 925 | let owner = getString(stakingContract, keyDuckIdToOwner(duckAssetId)) | |
916 | 926 | $Tuple2(nil, duckInfoArray(duckAssetId, if (isDefined(owner)) | |
917 | 927 | then value(owner) | |
918 | 928 | else "", duckInfoTuple(duckAssetId))) | |
919 | 929 | } | |
920 | 930 | ||
921 | 931 | ||
922 | 932 | ||
923 | 933 | @Callable(i) | |
924 | 934 | func ducksByIdsInfoREADONLY (duckAssetIds) = { | |
925 | 935 | func oneDuck (acc,duckAssetId) = if ((duckAssetId == "")) | |
926 | 936 | then throw("duckAssetId is required") | |
927 | 937 | else { | |
928 | 938 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(duckAssetId)), -1) | |
929 | 939 | let owner = if ((stakedTime > 0)) | |
930 | 940 | then value(getString(stakingContract, keyDuckIdToOwner(duckAssetId))) | |
931 | 941 | else "" | |
932 | 942 | (acc :+ duckInfoArray(duckAssetId, owner, duckInfoTuple(duckAssetId))) | |
933 | 943 | } | |
934 | 944 | ||
935 | 945 | let r = { | |
936 | 946 | let $l = duckAssetIds | |
937 | 947 | let $s = size($l) | |
938 | 948 | let $acc0 = nil | |
939 | 949 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
940 | 950 | then $a | |
941 | 951 | else oneDuck($a, $l[$i]) | |
942 | 952 | ||
943 | 953 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
944 | 954 | then $a | |
945 | 955 | else throw("List size exceeds 100") | |
946 | 956 | ||
947 | 957 | $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) | |
948 | 958 | } | |
949 | 959 | $Tuple2(nil, r) | |
950 | 960 | } | |
951 | 961 | ||
952 | 962 | ||
953 | 963 | ||
954 | 964 | @Callable(i) | |
955 | 965 | func landByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == "")) | |
956 | 966 | then throw("landAssetId is required") | |
957 | 967 | else { | |
958 | 968 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
959 | 969 | let owner = if ((stakedTime > 0)) | |
960 | 970 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
961 | 971 | else "" | |
962 | 972 | $Tuple2(nil, landInfoArray(landAssetId, owner, stakedTime)) | |
963 | 973 | } | |
964 | 974 | ||
965 | 975 | ||
966 | 976 | ||
967 | 977 | @Callable(i) | |
968 | 978 | func stakedLandsByOwnerInfoREADONLY (landOwnerAddress) = if ((landOwnerAddress == "")) | |
969 | 979 | then throw("landOwnerAddress is required") | |
970 | 980 | else { | |
971 | 981 | let landsStr = getString(stakingContract, keyStakedLandsByOwner(landOwnerAddress)) | |
972 | 982 | let lands = if (isDefined(landsStr)) | |
973 | 983 | then split_51C(value(landsStr), "_") | |
974 | 984 | else nil | |
975 | 985 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
976 | 986 | then throw("landAssetId is required") | |
977 | 987 | else { | |
978 | 988 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
979 | 989 | (acc :+ landInfoArray(landAssetId, landOwnerAddress, stakedTime)) | |
980 | 990 | } | |
981 | 991 | ||
982 | 992 | let r = { | |
983 | 993 | let $l = lands | |
984 | 994 | let $s = size($l) | |
985 | 995 | let $acc0 = nil | |
986 | 996 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
987 | 997 | then $a | |
988 | 998 | else oneLand($a, $l[$i]) | |
989 | 999 | ||
990 | 1000 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
991 | 1001 | then $a | |
992 | 1002 | else throw("List size exceeds 100") | |
993 | 1003 | ||
994 | 1004 | $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) | |
995 | 1005 | } | |
996 | 1006 | $Tuple2(nil, r) | |
997 | 1007 | } | |
998 | 1008 | ||
999 | 1009 | ||
1000 | 1010 | ||
1001 | 1011 | @Callable(i) | |
1002 | 1012 | func landsByIdsInfoREADONLY (landAssetIds) = { | |
1003 | 1013 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
1004 | 1014 | then throw("landAssetId is required") | |
1005 | 1015 | else { | |
1006 | 1016 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
1007 | 1017 | let owner = if ((stakedTime > 0)) | |
1008 | 1018 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
1009 | 1019 | else "" | |
1010 | 1020 | (acc :+ landInfoArray(landAssetId, owner, stakedTime)) | |
1011 | 1021 | } | |
1012 | 1022 | ||
1013 | 1023 | let r = { | |
1014 | 1024 | let $l = landAssetIds | |
1015 | 1025 | let $s = size($l) | |
1016 | 1026 | let $acc0 = nil | |
1017 | 1027 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1018 | 1028 | then $a | |
1019 | 1029 | else oneLand($a, $l[$i]) | |
1020 | 1030 | ||
1021 | 1031 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1022 | 1032 | then $a | |
1023 | 1033 | else throw("List size exceeds 100") | |
1024 | 1034 | ||
1025 | 1035 | $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) | |
1026 | 1036 | } | |
1027 | 1037 | $Tuple2(nil, r) | |
1028 | 1038 | } | |
1029 | 1039 | ||
1030 | 1040 | ||
1031 | 1041 | ||
1032 | 1042 | @Callable(i) | |
1033 | 1043 | func warehouseOrderByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == "")) | |
1034 | 1044 | then throw("landAssetId is required") | |
1035 | 1045 | else { | |
1036 | 1046 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
1037 | 1047 | let owner = if ((stakedTime > 0)) | |
1038 | 1048 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
1039 | 1049 | else "" | |
1040 | 1050 | $Tuple2(nil, landOrderInfoArray(landAssetId, owner)) | |
1041 | 1051 | } | |
1042 | 1052 | ||
1043 | 1053 | ||
1044 | 1054 | ||
1045 | 1055 | @Callable(i) | |
1046 | 1056 | func ordersByLandIdsInfoREADONLY (landAssetIds) = { | |
1047 | 1057 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
1048 | 1058 | then throw("landAssetId is required") | |
1049 | 1059 | else { | |
1050 | 1060 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
1051 | 1061 | let owner = if ((stakedTime > 0)) | |
1052 | 1062 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
1053 | 1063 | else "" | |
1054 | 1064 | (acc :+ landOrderInfoArray(landAssetId, owner)) | |
1055 | 1065 | } | |
1056 | 1066 | ||
1057 | 1067 | let r = { | |
1058 | 1068 | let $l = landAssetIds | |
1059 | 1069 | let $s = size($l) | |
1060 | 1070 | let $acc0 = nil | |
1061 | 1071 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1062 | 1072 | then $a | |
1063 | 1073 | else oneLand($a, $l[$i]) | |
1064 | 1074 | ||
1065 | 1075 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1066 | 1076 | then $a | |
1067 | 1077 | else throw("List size exceeds 40") | |
1068 | 1078 | ||
1069 | 1079 | $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($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) | |
1070 | 1080 | } | |
1071 | 1081 | $Tuple2(nil, r) | |
1072 | 1082 | } | |
1073 | 1083 | ||
1074 | 1084 | ||
1075 | 1085 | ||
1076 | 1086 | @Callable(i) | |
1077 | 1087 | func cancelWarehouseOrders (landAssetIds) = if ((i.caller != this)) | |
1078 | 1088 | then throw("permission denied") | |
1079 | 1089 | else { | |
1080 | 1090 | let blocked = getBoolean(stakingContract, keyBlocked()) | |
1081 | 1091 | if (if (!(isDefined(blocked))) | |
1082 | 1092 | then true | |
1083 | 1093 | else (value(blocked) == false)) | |
1084 | 1094 | then throw("Contracts should be blocked before canceling orders") | |
1085 | 1095 | else { | |
1086 | 1096 | func oneLand (a,landAssetId) = if ((landAssetId == "")) | |
1087 | 1097 | then throw("landAssetId is required") | |
1088 | 1098 | else { | |
1089 | 1099 | let c = asCancelOrderResult(invoke(economyContract, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", landAssetId], nil))._1 | |
1090 | 1100 | if (if (a) | |
1091 | 1101 | then true | |
1092 | 1102 | else c) | |
1093 | 1103 | then !(if (a) | |
1094 | 1104 | then c | |
1095 | 1105 | else false) | |
1096 | 1106 | else false | |
1097 | 1107 | } | |
1098 | 1108 | ||
1099 | 1109 | let r = { | |
1100 | 1110 | let $l = landAssetIds | |
1101 | 1111 | let $s = size($l) | |
1102 | 1112 | let $acc0 = false | |
1103 | 1113 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1104 | 1114 | then $a | |
1105 | 1115 | else oneLand($a, $l[$i]) | |
1106 | 1116 | ||
1107 | 1117 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1108 | 1118 | then $a | |
1109 | 1119 | else throw("List size exceeds 30") | |
1110 | 1120 | ||
1111 | 1121 | $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($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) | |
1112 | 1122 | } | |
1113 | 1123 | $Tuple2(nil, r) | |
1114 | 1124 | } | |
1115 | 1125 | } | |
1116 | 1126 | ||
1117 | 1127 | ||
1118 | 1128 | ||
1119 | 1129 | @Callable(i) | |
1120 | 1130 | func fixWarehouseFormats (landAssetIds) = if ((i.caller != this)) | |
1121 | 1131 | then throw("permission denied") | |
1122 | 1132 | else { | |
1123 | 1133 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
1124 | 1134 | then throw("landAssetId is required") | |
1125 | 1135 | else (acc + size(asString(invoke(stakingContract, "fixWarehouseFormat", [landAssetId], nil)))) | |
1126 | 1136 | ||
1127 | 1137 | let r = { | |
1128 | 1138 | let $l = landAssetIds | |
1129 | 1139 | let $s = size($l) | |
1130 | 1140 | let $acc0 = 0 | |
1131 | 1141 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1132 | 1142 | then $a | |
1133 | 1143 | else oneLand($a, $l[$i]) | |
1134 | 1144 | ||
1135 | 1145 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1136 | 1146 | then $a | |
1137 | 1147 | else throw("List size exceeds 25") | |
1138 | 1148 | ||
1139 | 1149 | $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($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) | |
1140 | 1150 | } | |
1141 | 1151 | $Tuple2(nil, r) | |
1142 | 1152 | } | |
1143 | 1153 | ||
1144 | 1154 | ||
1145 | 1155 | ||
1146 | 1156 | @Callable(i) | |
1147 | 1157 | func fixStakedPieces (users) = if ((i.caller != this)) | |
1148 | 1158 | then throw("permission denied") | |
1149 | 1159 | else { | |
1150 | 1160 | func oneUser (acc,addr) = if ((addr == "")) | |
1151 | 1161 | then throw("address is required") | |
1152 | 1162 | else (acc + asInt(invoke(stakingContract, "fixStakedPieces", [addr], nil))) | |
1153 | 1163 | ||
1154 | 1164 | let r = { | |
1155 | 1165 | let $l = users | |
1156 | 1166 | let $s = size($l) | |
1157 | 1167 | let $acc0 = 0 | |
1158 | 1168 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1159 | 1169 | then $a | |
1160 | 1170 | else oneUser($a, $l[$i]) | |
1161 | 1171 | ||
1162 | 1172 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1163 | 1173 | then $a | |
1164 | 1174 | else throw("List size exceeds 16") | |
1165 | 1175 | ||
1166 | 1176 | $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) | |
1167 | 1177 | } | |
1168 | 1178 | $Tuple2(nil, r) | |
1169 | 1179 | } | |
1170 | 1180 | ||
1171 | 1181 | ||
1172 | 1182 | ||
1173 | 1183 | @Callable(i) | |
1174 | 1184 | func fixStakedLands (landAssetIds) = { | |
1175 | 1185 | let caller = toString(i.caller) | |
1176 | 1186 | if (!(containsElement(adminsList, caller))) | |
1177 | 1187 | then throw("Permission denied") | |
1178 | 1188 | else { | |
1179 | 1189 | let r = asInt(invoke(stakingContract, "fixContinentProportions", [landAssetIds], nil)) | |
1180 | 1190 | $Tuple2(nil, r) | |
1181 | 1191 | } | |
1182 | 1192 | } | |
1183 | 1193 | ||
1184 | 1194 | ||
1185 | 1195 | ||
1186 | 1196 | @Callable(i) | |
1187 | 1197 | func sendUsdtPrize (userAddress) = if ((i.caller != stakingContract)) | |
1188 | 1198 | then throw("permission denied") | |
1189 | 1199 | else { | |
1190 | 1200 | let amt = fraction(assetBalance(this, usdtAssetId), USDTPRIZEPART, MULT6) | |
1191 | 1201 | $Tuple2([ScriptTransfer(addressFromStringValue(userAddress), amt, usdtAssetId)], amt) | |
1192 | 1202 | } | |
1193 | 1203 | ||
1194 | 1204 | ||
1195 | 1205 | ||
1196 | 1206 | @Callable(i) | |
1197 | 1207 | func getEmergencyServiceDataREADONLY () = { | |
1198 | 1208 | let existStr = getString(economyContract, keyEsWarehouse()) | |
1199 | 1209 | let existAmounts = if (isDefined(existStr)) | |
1200 | 1210 | then split_4C(value(existStr), "_") | |
1201 | 1211 | else nil | |
1202 | 1212 | func singleProd (acc,recipeStr) = { | |
1203 | 1213 | let n = acc._2 | |
1204 | 1214 | let recipe = split(recipeStr, "_") | |
1205 | 1215 | let maxAmount = if ((n == 0)) | |
1206 | 1216 | then (ESMAXPACKAGES * PRODUCTPKGSIZE) | |
1207 | 1217 | else 0 | |
1208 | 1218 | let existAmount = if ((size(existAmounts) > n)) | |
1209 | 1219 | then parseIntValue(existAmounts[n]) | |
1210 | 1220 | else 0 | |
1211 | 1221 | let totalMat = getRecipeMaterials(recipe) | |
1212 | 1222 | let buyPrice = fraction((totalMat * ESBUYCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
1213 | 1223 | let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
1214 | 1224 | let y = makeString([toString(maxAmount), toString(existAmount), toString(buyPrice), toString(sellPrice)], "_") | |
1215 | 1225 | $Tuple2((acc._1 :+ y), (n + 1)) | |
1216 | 1226 | } | |
1217 | 1227 | ||
1218 | 1228 | let s = makeString_2C(( let $l = productionMatrix | |
1219 | 1229 | let $s = size($l) | |
1220 | 1230 | let $acc0 = $Tuple2(nil, 0) | |
1221 | 1231 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1222 | 1232 | then $a | |
1223 | 1233 | else singleProd($a, $l[$i]) | |
1224 | 1234 | ||
1225 | 1235 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1226 | 1236 | then $a | |
1227 | 1237 | else throw("List size exceeds 50") | |
1228 | 1238 | ||
1229 | 1239 | $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($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))._1, ":") | |
1230 | 1240 | let result = ("%s%s__emergencyServiceData__" + s) | |
1231 | 1241 | $Tuple2(nil, result) | |
1232 | 1242 | } | |
1233 | 1243 | ||
1234 | 1244 | ||
1235 | 1245 | ||
1236 | 1246 | @Callable(i) | |
1237 | 1247 | func wlgStatsREADONLY (userAddrOpt) = { | |
1238 | 1248 | let curStats = getWlgStats(userAddrOpt, [restContract, stakingContract, economyContract, wlgContract, puzzlePoolContract, investFundContract, acresContract], usdtAssetId, 0, MULT6) | |
1239 | 1249 | $Tuple2(nil, [("%s%d__wlgAmount__" + toString(curStats[idxWlgAmount])), ("%s%d__wlgPrice__" + toString(curStats[idxWlgPrice])), ("%s%d__usdtFunds__" + toString(curStats[idxWlgFunds])), ("%s%d__usdtEconomy__" + toString(curStats[idxWlgEconomy])), ("%s%d__usdtActivity__" + toString(curStats[idxWlgActivity])), ("%s%d__usdtArbitrage__" + toString(curStats[idxWlgArbitrage])), ("%s%d__usdtPool__" + toString(curStats[idxWlgPool])), ("%s%d__wlgIssueTime__" + toString(curStats[idxWlgIssueTime])), ("%s%d__wlgLastMarketingTeamActTime__" + toString(curStats[idxWlgLastMTATime])), ("%s%d__wlgMarketingTotal__" + toString(curStats[idxWlgMarketingTotal])), ("%s%d__wlgMarketingAmLeft__" + toString(curStats[idxWlgMarketingAmLeft])), ("%s%d__wlgMarketingAmAvailNow__" + toString(curStats[idxWlgMarketingAmAvailNow])), ("%s%d__wlgMarketingWlgold__" + toString(curStats[idxWlgMarketingWlgold])), ("%s%d__wlgTeamTotal__" + toString(curStats[idxWlgTeamTotal])), ("%s%d__wlgTeamAmLeft__" + toString(curStats[idxWlgTeamAmLeft])), ("%s%d__wlgTeamAmAvailNow__" + toString(curStats[idxWlgTeamAmAvailNow])), ("%s%d__wlgTeamWlgold__" + toString(curStats[idxWlgTeamWlgold])), ("%s%d__wlgActTotal__" + toString(curStats[idxWlgActTotal])), ("%s%d__wlgActAmLeft__" + toString(curStats[idxWlgActAmLeft])), ("%s%d__wlgActAmAvailNow__" + toString(curStats[idxWlgActAmAvailNow])), ("%s%d__wlgActWlgold__" + toString(curStats[idxWlgActWlgold])), ("%s%d__wlgCurPeriod__" + toString(curStats[idxWlgCurPeriod])), ("%s%d__wlgAmLeftTotal__" + toString(curStats[idxWlgAmLeftTotal])), ("%s%d__wlgCurPeriodDistribution__" + toString(curStats[idxWlgCurPeriodDistribution])), ("%s%d__wlgLastUserTime__" + toString(curStats[idxWlgLastUserTime])), ("%s%d__wlgUserAmAvailNow__" + toString(curStats[idxWlgUserAmAvailNow])), ("%s%d__wlgGuestSLandDaily__" + toString(curStats[idxWlgSLandDailyAmount])), ("%s%d__wlgInvestFundTotal__" + toString(curStats[idxWlgInvestFundAmount])), ("%s%d__wlgUserTotalAvail__" + toString(curStats[idxWlgUserTotalAvail])), ("%s%d__wlgEffUserTime__" + toString(curStats[idxWlgEffUserTime]))]) | |
1240 | 1250 | } | |
1241 | 1251 | ||
1242 | 1252 | ||
1243 | 1253 | ||
1244 | 1254 | @Callable(i) | |
1245 | 1255 | func tournamentStatsREADONLY (tournamentId) = { | |
1246 | 1256 | let tData = getTourData(tournamentContract, tournamentId) | |
1247 | 1257 | let static = tData[idxStatic] | |
1248 | 1258 | let dynamic = tData[idxDynamic] | |
1249 | 1259 | let leaders = if ((dynamic[tDynamicLeaders] == "")) | |
1250 | 1260 | then " " | |
1251 | 1261 | else dynamic[tDynamicLeaders] | |
1252 | 1262 | let scoreBoard = valueOrElse(getString(tournamentContract, keyScoreBoardByTour(tournamentId)), "") | |
1253 | 1263 | let numGrands = if ((size(static) > tStaticNumGrands)) | |
1254 | 1264 | then static[tStaticNumGrands] | |
1255 | 1265 | else "0" | |
1256 | 1266 | let prizeFund = if ((size(static) > tStaticPrizeFund)) | |
1257 | 1267 | then static[tStaticPrizeFund] | |
1258 | 1268 | else "0" | |
1259 | 1269 | $Tuple2(nil, [("%s%s__tournamentStaticData__" + makeString([static[tStaticRegisterCost], static[tStaticAttemptCost], static[tStaticStart], static[tStaticEnd], numGrands, prizeFund], "_")), ("%s%s__tournamentDynamicData__" + makeString_2C([dynamic[tDynamicStatus], leaders, dynamic[tDynamicWinResult], dynamic[tDynamicTotalRegCount], dynamic[tDynamicTotalAttempts]], "_")), ("%s%s__tournamentScoreBoard__" + scoreBoard)]) | |
1260 | 1270 | } | |
1261 | 1271 | ||
1262 | 1272 | ||
1263 | 1273 | ||
1264 | 1274 | @Callable(i) | |
1265 | 1275 | func lastTournamentStatsREADONLY () = { | |
1266 | 1276 | let tournamentId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
1267 | 1277 | let static = split(valueOrElse(getString(tournamentContract, keyTourStaticDataById(tournamentId)), "%s%d%d%d%d%d%d______________"), SEP) | |
1268 | 1278 | let dynamic = split(valueOrElse(getString(tournamentContract, keyTourDynamicDataById(tournamentId)), "%s%s%d%d%d__________"), SEP) | |
1269 | 1279 | let leaders = if ((dynamic[tDynamicLeaders] == "")) | |
1270 | 1280 | then " " | |
1271 | 1281 | else dynamic[tDynamicLeaders] | |
1272 | 1282 | let scoreBoard = valueOrElse(getString(tournamentContract, keyScoreBoardByTour(tournamentId)), "") | |
1273 | 1283 | let numGrands = if ((size(static) > tStaticNumGrands)) | |
1274 | 1284 | then static[tStaticNumGrands] | |
1275 | 1285 | else "0" | |
1276 | 1286 | let prizeFund = if ((size(static) > tStaticPrizeFund)) | |
1277 | 1287 | then static[tStaticPrizeFund] | |
1278 | 1288 | else "0" | |
1279 | 1289 | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString(tournamentId)), ("%s%s__tournamentStaticData__" + makeString([static[tStaticRegisterCost], static[tStaticAttemptCost], static[tStaticStart], static[tStaticEnd], numGrands, prizeFund], "_")), ("%s%s__tournamentDynamicData__" + makeString_2C([dynamic[tDynamicStatus], leaders, dynamic[tDynamicWinResult], dynamic[tDynamicTotalRegCount], dynamic[tDynamicTotalAttempts]], "_")), ("%s%s__tournamentScoreBoard__" + scoreBoard)]) | |
1280 | 1290 | } | |
1281 | 1291 | ||
1282 | 1292 | ||
1283 | 1293 | ||
1284 | 1294 | @Callable(i) | |
1285 | 1295 | func tournamentDuckStatsREADONLY (tId,duckAssetId) = { | |
1286 | 1296 | let isDuckReg = valueOrElse(getBoolean(tournamentContract, keyIsRegisteredByTourAndDuck(tId, duckAssetId)), false) | |
1287 | 1297 | let lastDuckAttempt = valueOrElse(getInteger(tournamentContract, keyLastAttemptByTourAndDuck(tId, duckAssetId)), -1) | |
1288 | 1298 | let bestDuckResult = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(tId, duckAssetId)), 0) | |
1289 | 1299 | let bestDuckTx = valueOrElse(getString(tournamentContract, keyBestTxByTourAndDuck(tId, duckAssetId)), "") | |
1290 | 1300 | let isAwarded = valueOrElse(getBoolean(tournamentContract, keyIsAwardedByTourAndDuck(tId, duckAssetId)), false) | |
1291 | 1301 | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(isDuckReg), toString(lastDuckAttempt), toString(bestDuckResult), bestDuckTx, toString(isAwarded)], "_"))]) | |
1292 | 1302 | } | |
1293 | 1303 | ||
1294 | 1304 | ||
1295 | 1305 | ||
1296 | 1306 | @Callable(i) | |
1297 | 1307 | func duckStatsCalculatorREADONLY (duckAssetId) = { | |
1298 | 1308 | let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_") | |
1299 | 1309 | let buffs = split(valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0"), "_") | |
1300 | 1310 | let equipm = split(valueOrElse(getString(stakingContract, keyDuckEquipment(duckAssetId)), ";_;_;_;_;_;"), "_") | |
1301 | 1311 | let equipmentPerc = slotEffect(split(equipm[segBack], ";")[1]) | |
1302 | 1312 | let equipmentAbsor = slotEffect(split(equipm[segBelt], ";")[0]) | |
1303 | 1313 | let dodge = dodgeProbability(chars, buffs, equipmentPerc) | |
1304 | 1314 | let absorb = damageAbsorption(chars, buffs, equipmentAbsor) | |
1305 | 1315 | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString(dodge)), ("%s%d__damageAbsorption__" + toString(absorb))]) | |
1306 | 1316 | } | |
1307 | 1317 | ||
1308 | 1318 | ||
1309 | 1319 | ||
1310 | 1320 | @Callable(i) | |
1311 | 1321 | func customDuckStatsCalculatorREADONLY (chars,buffs,equipmentPerc,equipmentAbsor) = { | |
1312 | 1322 | let dodge = dodgeProbability(chars, buffs, equipmentPerc) | |
1313 | 1323 | let absorb = damageAbsorption(chars, buffs, equipmentAbsor) | |
1314 | 1324 | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString(dodge)), ("%s%d__damageAbsorption__" + toString(absorb))]) | |
1315 | 1325 | } | |
1316 | 1326 | ||
1317 | 1327 | ||
1328 | + | ||
1329 | + | @Callable(i) | |
1330 | + | func acresStatsREADONLY (userAddrOpt) = { | |
1331 | + | let userClaim = asAnyList(invoke(acresContract, "claimAcresREADONLY", [userAddrOpt], nil)) | |
1332 | + | let userClaimable = asInt(userClaim[0]) | |
1333 | + | let userLastTime = asInt(userClaim[1]) | |
1334 | + | $Tuple2(nil, [("%s%d__acresIssuedTotal__" + toString(valueOrElse(getInteger(acresContract, acresIssuedAmountKey), 0))), ("%s%d__acresUnsold__" + toString(assetBalance(acresContract, acresAssetId))), ("%s%d__acresStakedTotal__" + toString(valueOrElse(getInteger(acresContract, acresStakedTotalKey), 0))), ("%s%d__acresStakedByUser__" + toString(valueOrElse(getInteger(acresContract, keyAcresStakedAmountByUser(userAddrOpt)), 0))), ("%s%d__acresClaimableByUser__" + toString(userClaimable)), ("%s%d__acresLastClaimTimeByUser__" + toString(userLastTime))]) | |
1335 | + | } | |
1336 | + | ||
1337 | + |
github/deemru/w8io/169f3d6 193.50 ms ◑