tx · GCz6TCm6hYXwvpXrG1iuuDBKQkWLf1tCYHmyi6mzMdf9 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy: -0.04600000 Waves 2023.09.30 19:40 [2778415] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves
{ "type": 13, "id": "GCz6TCm6hYXwvpXrG1iuuDBKQkWLf1tCYHmyi6mzMdf9", "fee": 4600000, "feeAssetId": null, "timestamp": 1696092060081, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "5PMt26zVXqV1qGCYVKHWWzca4veAkDWP7CfcZzaJGHim6gk9VK3NTA8mSNMG1nfUJQHfbqmpKcEioZvejnFfRz7C" ], "script": "base64:BgJuCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEYEgMKAQgSAwoBCBIDCgEYEgMKAQgSAwoBGBIDCgEYEgMKARgSAwoBGBIDCgEYEgMKAQgSABIDCgEIEgMKAQESABIECgIBCBIDCgEIEgYKBBgYAQHbAQACTTYAwIQ9AAJNOACAwtcvAAhNSUxMSU9ONgCAgOmDsd4WAA5NQVJLRVRJTkdTSEFSRQCgjQYACVRFQU1TSEFSRQDAmgwADUFDVElWSVRZU0hBUkUAoI0GAAtQTEFZRVJTSEFSRQCAtRgACllFQVJNSUxMSVMAgIbrx3UACURBWU1JTExJUwCAuJkpABBtYXJrZXRpbmdBZGRyS2V5Ag1tYXJrZXRpbmdBZGRyAAt0ZWFtQWRkcktleQIIdGVhbUFkZHIAFGxhc3RNYXJrZXRpbmdUaW1lS2V5AhlsYXN0Q2xhaW1lZFRpbWVfbWFya2V0aW5nABZtYXJrZXRpbmdBbW91bnRMZWZ0S2V5AhNtYXJrZXRpbmdBbW91bnRMZWZ0AA9sYXN0VGVhbVRpbWVLZXkCFGxhc3RDbGFpbWVkVGltZV90ZWFtAB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9uAwUFY2hhcnMFBWJ1ZmZzBQ5lcXVpcG1lbnRBYnNvcgkAlAoCBQNuaWwJAMwIAgkArAICAhglcyVkX19kb2RnZVByb2JhYmlsaXR5X18JAKQDAQUFZG9kZ2UJAMwIAgkArAICAhglcyVkX19kYW1hZ2VBYnNvcnB0aW9uX18JAKQDAQUGYWJzb3JiBQNuaWwAPXVr2w==", "height": 2778415, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BjMRrHSxKjLaxtRrHupAxDALdDcN7nKMM3yY9FLioHYo Next: 5Jq5wXvDBrbMMo6EyjiiVZwm4aiH1eFXt4vw3i9dFvQn Full:
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 | 596 | let acresAssetIdKey = "acresAssetId" | |
597 | 597 | ||
598 | 598 | let acresAssetId = valueOrErrorMessage(getBinary(acresContract, acresAssetIdKey), "ACRES is not issued yet") | |
599 | 599 | ||
600 | 600 | let IdxEffUser = 1 | |
601 | 601 | ||
602 | 602 | func keyResProportions () = "resTypesProportions" | |
603 | 603 | ||
604 | 604 | ||
605 | 605 | func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr) | |
606 | 606 | ||
607 | 607 | ||
608 | 608 | func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr) | |
609 | 609 | ||
610 | 610 | ||
611 | 611 | func asString (v) = match v { | |
612 | 612 | case s: String => | |
613 | 613 | s | |
614 | 614 | case _ => | |
615 | 615 | throw("fail to cast into String") | |
616 | 616 | } | |
617 | 617 | ||
618 | 618 | ||
619 | 619 | func asInt (v) = match v { | |
620 | 620 | case n: Int => | |
621 | 621 | n | |
622 | 622 | case _ => | |
623 | 623 | throw("fail to cast into Int") | |
624 | 624 | } | |
625 | 625 | ||
626 | 626 | ||
627 | 627 | func numPiecesBySize (landSize) = match landSize { | |
628 | 628 | case _ => | |
629 | 629 | if (("S" == $match0)) | |
630 | 630 | then SSIZE | |
631 | 631 | else if (("M" == $match0)) | |
632 | 632 | then MSIZE | |
633 | 633 | else if (("L" == $match0)) | |
634 | 634 | then LSIZE | |
635 | 635 | else if (("XL" == $match0)) | |
636 | 636 | then XLSIZE | |
637 | 637 | else if (("XXL" == $match0)) | |
638 | 638 | then XXLSIZE | |
639 | 639 | else throw("Unknown land size") | |
640 | 640 | } | |
641 | 641 | ||
642 | 642 | ||
643 | 643 | func keyBlocked () = "contractsBlocked" | |
644 | 644 | ||
645 | 645 | ||
646 | 646 | func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr) | |
647 | 647 | ||
648 | 648 | ||
649 | 649 | func getVotingPower (userAddrStrOrEmpty) = { | |
650 | 650 | let props = split(valueOrElse(getString(stakingContract, keyResProportions()), "0_0_0_0_0_0"), "_") | |
651 | 651 | func adder (acc,item) = (acc + parseIntValue(item)) | |
652 | 652 | ||
653 | 653 | let totalPower = { | |
654 | 654 | let $l = props | |
655 | 655 | let $s = size($l) | |
656 | 656 | let $acc0 = 0 | |
657 | 657 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
658 | 658 | then $a | |
659 | 659 | else adder($a, $l[$i]) | |
660 | 660 | ||
661 | 661 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
662 | 662 | then $a | |
663 | 663 | else throw("List size exceeds 6") | |
664 | 664 | ||
665 | 665 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
666 | 666 | } | |
667 | 667 | let usersPower = valueOrElse(getInteger(stakingContract, keyStakedPiecesByOwner(userAddrStrOrEmpty)), 0) | |
668 | 668 | [totalPower, usersPower] | |
669 | 669 | } | |
670 | 670 | ||
671 | 671 | ||
672 | 672 | let USDTPRIZEPART = 500000 | |
673 | 673 | ||
674 | 674 | let adminsList = [toString(this), match chain { | |
675 | 675 | case _ => | |
676 | 676 | if ((base58'2W' == $match0)) | |
677 | 677 | then "3P64qEVzuGzBJuYfDXYisFtokJChSRa8uja" | |
678 | 678 | else if ((base58'2T' == $match0)) | |
679 | 679 | then "3N3gSFrTwgiLAFZHMuJrEttht1nPhnkpvjs" | |
680 | 680 | else throw("Unknown chain") | |
681 | 681 | }] | |
682 | 682 | ||
683 | 683 | func asListIntCompacted (val) = match val { | |
684 | 684 | case valAnyList: List[Any] => | |
685 | 685 | if ((size(valAnyList) != NUMRES)) | |
686 | 686 | then throw(("Array size is " + toString(size(valAnyList)))) | |
687 | 687 | else { | |
688 | 688 | func conv (acc,item) = match item { | |
689 | 689 | case it: Int => | |
690 | 690 | (acc :+ toString(it)) | |
691 | 691 | case _ => | |
692 | 692 | throw("List type is not Int") | |
693 | 693 | } | |
694 | 694 | ||
695 | 695 | let r = { | |
696 | 696 | let $l = valAnyList | |
697 | 697 | let $s = size($l) | |
698 | 698 | let $acc0 = nil | |
699 | 699 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
700 | 700 | then $a | |
701 | 701 | else conv($a, $l[$i]) | |
702 | 702 | ||
703 | 703 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
704 | 704 | then $a | |
705 | 705 | else throw("List size exceeds 6") | |
706 | 706 | ||
707 | 707 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
708 | 708 | } | |
709 | 709 | makeString(r, "_") | |
710 | 710 | } | |
711 | 711 | case _ => | |
712 | 712 | throw("fail to cast into List") | |
713 | 713 | } | |
714 | 714 | ||
715 | 715 | ||
716 | 716 | func asSplitResult (val) = match val { | |
717 | 717 | case t2: (List[Any], List[Any]) => | |
718 | 718 | $Tuple2(asListIntCompacted(t2._1), asListIntCompacted(t2._2)) | |
719 | 719 | case _ => | |
720 | 720 | throw("fail to cast into (List, List)") | |
721 | 721 | } | |
722 | 722 | ||
723 | 723 | ||
724 | 724 | func asCancelOrderResult (val) = match val { | |
725 | 725 | case t2: (Boolean, String) => | |
726 | 726 | t2 | |
727 | 727 | case _ => | |
728 | 728 | throw("fail to cast into (Boolean, String)") | |
729 | 729 | } | |
730 | 730 | ||
731 | 731 | ||
732 | 732 | func walletInternal (userAddressOpt) = { | |
733 | 733 | let addr = addressFromString(userAddressOpt) | |
734 | 734 | let balance = if (isDefined(addr)) | |
735 | 735 | then wavesBalance(value(addr)) | |
736 | 736 | else BalanceDetails(0, 0, 0, 0) | |
737 | 737 | let usdtBalance = if (isDefined(addr)) | |
738 | 738 | then assetBalance(value(addr), usdtAssetId) | |
739 | 739 | else 0 | |
740 | 740 | let wlgoldBalance = if (isDefined(addr)) | |
741 | 741 | then assetBalance(value(addr), wlgAssetId) | |
742 | 742 | else 0 | |
743 | 743 | let customName = valueOrElse(getString(stakingContract, keyAddressToCustomName(userAddressOpt)), userAddressOpt) | |
744 | 744 | let refByKey = keyAddressRefBy(userAddressOpt) | |
745 | 745 | let refBy = getString(stakingContract, refByKey) | |
746 | 746 | let refs = valueOrElse(getString(stakingContract, keyAddressReferrals(userAddressOpt)), "") | |
747 | 747 | let lastTxId = valueOrElse(getString(stakingContract, keyLastTxIdByUser(userAddressOpt)), "") | |
748 | 748 | let pieces = getVotingPower(userAddressOpt)[IdxEffUser] | |
749 | 749 | let xp = valueOrElse(getInteger(stakingContract, keyUserXP(userAddressOpt)), 0) | |
750 | 750 | let lvl = valueOrElse(getInteger(stakingContract, keyUserLevel(userAddressOpt)), 0) | |
751 | 751 | let freePoints = valueOrElse(getInteger(stakingContract, keyUserFreePoints(userAddressOpt)), 0) | |
752 | 752 | let onboard = if (isDefined(refBy)) | |
753 | 753 | then (ARTONBOARD + (if (if (isDefined(addr)) | |
754 | 754 | then isDefined(getString(stakingContract, keyOnboardArtDuckActivatedBy(userAddressOpt))) | |
755 | 755 | else false) | |
756 | 756 | then ":1" | |
757 | 757 | else ":0")) | |
758 | 758 | else "" | |
759 | 759 | let acresBalance = if (isDefined(addr)) | |
760 | 760 | then assetBalance(value(addr), acresAssetId) | |
761 | 761 | else 0 | |
762 | 762 | let stakedAcres = valueOrElse(getInteger(acresContract, keyAcresStakedAmountByUser(userAddressOpt)), 0) | |
763 | 763 | [("%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 | 764 | } | |
765 | 765 | ||
766 | 766 | ||
767 | 767 | func applyBonuses (landAssetId,pieces) = { | |
768 | 768 | let infraLevel = valueOrElse(getInteger(stakingContract, keyInfraLevelByAssetId(landAssetId)), 0) | |
769 | 769 | let artPieces = valueOrElse(getInteger(stakingContract, keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0) | |
770 | 770 | let add6 = (infraLevel / 6) | |
771 | 771 | let add7 = (infraLevel / 7) | |
772 | 772 | $Tuple3(infraLevel, artPieces, ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))) | |
773 | 773 | } | |
774 | 774 | ||
775 | 775 | ||
776 | 776 | func getWarehouseTotalVolume (volPrefix) = { | |
777 | 777 | let parts = split(volPrefix, "_") | |
778 | 778 | ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0])) | |
779 | 779 | } | |
780 | 780 | ||
781 | 781 | ||
782 | 782 | func getWarehouse (whKey,landIndex,infraLevel) = { | |
783 | 783 | let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel)) | |
784 | 784 | let totS = toString(getWarehouseTotalVolume(volPrefix)) | |
785 | 785 | let whStr = valueOrElse(getString(stakingContract, whKey), ((((volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + totS) + "_") + totS)) | |
786 | 786 | split(whStr, ":") | |
787 | 787 | } | |
788 | 788 | ||
789 | 789 | ||
790 | 790 | func duckInfoTuple (duckAssetId) = { | |
791 | 791 | let maxHP = maxHealth(valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)) | |
792 | 792 | $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 | 793 | } | |
794 | 794 | ||
795 | 795 | ||
796 | 796 | func duckInfoArray (duckAssetId,owner,duckInf) = { | |
797 | 797 | let customName = valueOrElse(getString(stakingContract, keyDuckAssetIdToCustomName(duckAssetId)), duckInf._2) | |
798 | 798 | let chars = valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0") | |
799 | 799 | let xp = valueOrElse(getInteger(stakingContract, keyDuckXP(duckAssetId)), 0) | |
800 | 800 | let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0) | |
801 | 801 | let freePoints = valueOrElse(getInteger(stakingContract, keyDuckFreePoints(duckAssetId)), 0) | |
802 | 802 | let equipm = valueOrElse(getString(stakingContract, keyDuckEquipment(duckAssetId)), ";_;_;_;_;_;") | |
803 | 803 | let buffs = valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0") | |
804 | 804 | let $t060816186 = getRobberyData(stakingContract, duckAssetId) | |
805 | 805 | let robCost = $t060816186._1 | |
806 | 806 | let lastRobTime = $t060816186._2 | |
807 | 807 | let duckState = $t060816186._3 | |
808 | 808 | let lockedLand = $t060816186._4 | |
809 | 809 | let landETA = $t060816186._5 | |
810 | 810 | [("%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 | 811 | } | |
812 | 812 | ||
813 | 813 | ||
814 | 814 | func landInfoArray (landAssetId,owner,stakedTime) = if ((landAssetId == "")) | |
815 | 815 | then throw("landAssetId is required") | |
816 | 816 | else { | |
817 | 817 | let a = value(assetInfo(fromBase58String(landAssetId))) | |
818 | 818 | let d = split(a.description, "_") | |
819 | 819 | let landNum = if ((a.quantity > 0)) | |
820 | 820 | then d[recLandNum] | |
821 | 821 | else ("-" + d[recLandNum]) | |
822 | 822 | let pieces = numPiecesBySize(d[recLandSize]) | |
823 | 823 | let productivity = applyBonuses(landAssetId, pieces) | |
824 | 824 | let deltaTime = (lastBlock.timestamp - stakedTime) | |
825 | 825 | let availRes = if ((stakedTime > 0)) | |
826 | 826 | then fraction(deltaTime, (productivity._3 * pieces), DAYMILLIS) | |
827 | 827 | else 0 | |
828 | 828 | let needMat = fraction(InfraUpgradeCostS, (pieces * (productivity._1 + 1)), SSIZE) | |
829 | 829 | let globalAndLocal = if ((stakedTime > 0)) | |
830 | 830 | then asSplitResult(invoke(stakingContract, "splitByGlobalAndLocalWeightsREADONLY", [needMat, availRes, d[recTerrains]], nil)) | |
831 | 831 | else $Tuple2(asListIntCompacted(invoke(stakingContract, "splitByGlobalWeightsREADONLY", [needMat], nil)), "") | |
832 | 832 | let customName = valueOrElse(getString(stakingContract, keyLandAssetIdToCustomName(landAssetId)), ((d[recContinent] + "-") + d[recLandNum])) | |
833 | 833 | let fort = valueOrElse(getString(stakingContract, keyFortificationsByLand(landAssetId)), ":0_15:0_18:0") | |
834 | 834 | let state = valueOrElse(getInteger(stakingContract, keyLandRobberyState(landAssetId)), 0) | |
835 | 835 | let cooldownETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(landAssetId)), 0) | |
836 | 836 | [("%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 | 837 | } | |
838 | 838 | ||
839 | 839 | ||
840 | 840 | func landOrderInfoArray (landAssetId,owner) = if ((landAssetId == "")) | |
841 | 841 | then throw("landAssetId is required") | |
842 | 842 | else { | |
843 | 843 | let a = value(assetInfo(fromBase58String(landAssetId))) | |
844 | 844 | let d = split(a.description, "_") | |
845 | 845 | let pieces = numPiecesBySize(d[recLandSize]) | |
846 | 846 | let productivity = applyBonuses(landAssetId, pieces) | |
847 | 847 | [("%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 | 848 | } | |
849 | 849 | ||
850 | 850 | ||
851 | 851 | func slotEffect (slot) = if ((slot == "")) | |
852 | 852 | then 0 | |
853 | 853 | else { | |
854 | 854 | let slot0 = split(slot, ",")[0] | |
855 | 855 | if ((slot0 == "")) | |
856 | 856 | then 0 | |
857 | 857 | else { | |
858 | 858 | let prod = split(slot0, ":") | |
859 | 859 | if (if ((prod[1] == "")) | |
860 | 860 | then true | |
861 | 861 | else (parseIntValue(prod[1]) == 0)) | |
862 | 862 | then 0 | |
863 | 863 | else parseIntValue(split(productionMatrix[parseIntValue(prod[0])], "_")[rIdxEffect]) | |
864 | 864 | } | |
865 | 865 | } | |
866 | 866 | ||
867 | 867 | ||
868 | 868 | @Callable(i) | |
869 | 869 | func constructorV1 (contracts) = if ((i.caller != this)) | |
870 | 870 | then throw("permissions denied") | |
871 | 871 | else { | |
872 | 872 | func descriptor (acc,ignoredItem) = (acc + "%s") | |
873 | 873 | ||
874 | 874 | let descr = { | |
875 | 875 | let $l = contracts | |
876 | 876 | let $s = size($l) | |
877 | 877 | let $acc0 = "" | |
878 | 878 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
879 | 879 | then $a | |
880 | 880 | else descriptor($a, $l[$i]) | |
881 | 881 | ||
882 | 882 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
883 | 883 | then $a | |
884 | 884 | else throw("List size exceeds 10") | |
885 | 885 | ||
886 | 886 | $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 | 887 | } | |
888 | 888 | [StringEntry(keyRestCfg(), makeString(descr :: contracts, SEP)), StringEntry(keyRestAddress(), toString(this))] | |
889 | 889 | } | |
890 | 890 | ||
891 | 891 | ||
892 | 892 | ||
893 | 893 | @Callable(i) | |
894 | 894 | func walletInfoREADONLY (userAddressOpt) = $Tuple2(nil, walletInternal(userAddressOpt)) | |
895 | 895 | ||
896 | 896 | ||
897 | 897 | ||
898 | 898 | @Callable(i) | |
899 | 899 | func duckByOwnerInfoREADONLY (userAddress) = { | |
900 | 900 | let stakedDuck = getString(stakingContract, keyStakedDuckByOwner(userAddress)) | |
901 | 901 | $Tuple2(nil, if (if (isDefined(addressFromString(userAddress))) | |
902 | 902 | then isDefined(stakedDuck) | |
903 | 903 | else false) | |
904 | 904 | then { | |
905 | 905 | let duckAssetId = value(stakedDuck) | |
906 | 906 | duckInfoArray(duckAssetId, userAddress, duckInfoTuple(duckAssetId)) | |
907 | 907 | } | |
908 | 908 | else duckInfoArray("", userAddress, $Tuple5(-1, "", "", -1, ""))) | |
909 | 909 | } | |
910 | 910 | ||
911 | 911 | ||
912 | 912 | ||
913 | 913 | @Callable(i) | |
914 | 914 | func duckByAssetIdInfoREADONLY (duckAssetId) = { | |
915 | 915 | let owner = getString(stakingContract, keyDuckIdToOwner(duckAssetId)) | |
916 | 916 | $Tuple2(nil, duckInfoArray(duckAssetId, if (isDefined(owner)) | |
917 | 917 | then value(owner) | |
918 | 918 | else "", duckInfoTuple(duckAssetId))) | |
919 | 919 | } | |
920 | 920 | ||
921 | 921 | ||
922 | 922 | ||
923 | 923 | @Callable(i) | |
924 | 924 | func ducksByIdsInfoREADONLY (duckAssetIds) = { | |
925 | 925 | func oneDuck (acc,duckAssetId) = if ((duckAssetId == "")) | |
926 | 926 | then throw("duckAssetId is required") | |
927 | 927 | else { | |
928 | 928 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(duckAssetId)), -1) | |
929 | 929 | let owner = if ((stakedTime > 0)) | |
930 | 930 | then value(getString(stakingContract, keyDuckIdToOwner(duckAssetId))) | |
931 | 931 | else "" | |
932 | 932 | (acc :+ duckInfoArray(duckAssetId, owner, duckInfoTuple(duckAssetId))) | |
933 | 933 | } | |
934 | 934 | ||
935 | 935 | let r = { | |
936 | 936 | let $l = duckAssetIds | |
937 | 937 | let $s = size($l) | |
938 | 938 | let $acc0 = nil | |
939 | 939 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
940 | 940 | then $a | |
941 | 941 | else oneDuck($a, $l[$i]) | |
942 | 942 | ||
943 | 943 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
944 | 944 | then $a | |
945 | 945 | else throw("List size exceeds 100") | |
946 | 946 | ||
947 | 947 | $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 | 948 | } | |
949 | 949 | $Tuple2(nil, r) | |
950 | 950 | } | |
951 | 951 | ||
952 | 952 | ||
953 | 953 | ||
954 | 954 | @Callable(i) | |
955 | 955 | func landByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == "")) | |
956 | 956 | then throw("landAssetId is required") | |
957 | 957 | else { | |
958 | 958 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
959 | 959 | let owner = if ((stakedTime > 0)) | |
960 | 960 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
961 | 961 | else "" | |
962 | 962 | $Tuple2(nil, landInfoArray(landAssetId, owner, stakedTime)) | |
963 | 963 | } | |
964 | 964 | ||
965 | 965 | ||
966 | 966 | ||
967 | 967 | @Callable(i) | |
968 | 968 | func stakedLandsByOwnerInfoREADONLY (landOwnerAddress) = if ((landOwnerAddress == "")) | |
969 | 969 | then throw("landOwnerAddress is required") | |
970 | 970 | else { | |
971 | 971 | let landsStr = getString(stakingContract, keyStakedLandsByOwner(landOwnerAddress)) | |
972 | 972 | let lands = if (isDefined(landsStr)) | |
973 | 973 | then split_51C(value(landsStr), "_") | |
974 | 974 | else nil | |
975 | 975 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
976 | 976 | then throw("landAssetId is required") | |
977 | 977 | else { | |
978 | 978 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
979 | 979 | (acc :+ landInfoArray(landAssetId, landOwnerAddress, stakedTime)) | |
980 | 980 | } | |
981 | 981 | ||
982 | 982 | let r = { | |
983 | 983 | let $l = lands | |
984 | 984 | let $s = size($l) | |
985 | 985 | let $acc0 = nil | |
986 | 986 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
987 | 987 | then $a | |
988 | 988 | else oneLand($a, $l[$i]) | |
989 | 989 | ||
990 | 990 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
991 | 991 | then $a | |
992 | 992 | else throw("List size exceeds 100") | |
993 | 993 | ||
994 | 994 | $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 | 995 | } | |
996 | 996 | $Tuple2(nil, r) | |
997 | 997 | } | |
998 | 998 | ||
999 | 999 | ||
1000 | 1000 | ||
1001 | 1001 | @Callable(i) | |
1002 | 1002 | func landsByIdsInfoREADONLY (landAssetIds) = { | |
1003 | 1003 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
1004 | 1004 | then throw("landAssetId is required") | |
1005 | 1005 | else { | |
1006 | 1006 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
1007 | 1007 | let owner = if ((stakedTime > 0)) | |
1008 | 1008 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
1009 | 1009 | else "" | |
1010 | 1010 | (acc :+ landInfoArray(landAssetId, owner, stakedTime)) | |
1011 | 1011 | } | |
1012 | 1012 | ||
1013 | 1013 | let r = { | |
1014 | 1014 | let $l = landAssetIds | |
1015 | 1015 | let $s = size($l) | |
1016 | 1016 | let $acc0 = nil | |
1017 | 1017 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1018 | 1018 | then $a | |
1019 | 1019 | else oneLand($a, $l[$i]) | |
1020 | 1020 | ||
1021 | 1021 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1022 | 1022 | then $a | |
1023 | 1023 | else throw("List size exceeds 100") | |
1024 | 1024 | ||
1025 | 1025 | $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 | 1026 | } | |
1027 | 1027 | $Tuple2(nil, r) | |
1028 | 1028 | } | |
1029 | 1029 | ||
1030 | 1030 | ||
1031 | 1031 | ||
1032 | 1032 | @Callable(i) | |
1033 | 1033 | func warehouseOrderByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == "")) | |
1034 | 1034 | then throw("landAssetId is required") | |
1035 | 1035 | else { | |
1036 | 1036 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
1037 | 1037 | let owner = if ((stakedTime > 0)) | |
1038 | 1038 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
1039 | 1039 | else "" | |
1040 | 1040 | $Tuple2(nil, landOrderInfoArray(landAssetId, owner)) | |
1041 | 1041 | } | |
1042 | 1042 | ||
1043 | 1043 | ||
1044 | 1044 | ||
1045 | 1045 | @Callable(i) | |
1046 | 1046 | func ordersByLandIdsInfoREADONLY (landAssetIds) = { | |
1047 | 1047 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
1048 | 1048 | then throw("landAssetId is required") | |
1049 | 1049 | else { | |
1050 | 1050 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
1051 | 1051 | let owner = if ((stakedTime > 0)) | |
1052 | 1052 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
1053 | 1053 | else "" | |
1054 | 1054 | (acc :+ landOrderInfoArray(landAssetId, owner)) | |
1055 | 1055 | } | |
1056 | 1056 | ||
1057 | 1057 | let r = { | |
1058 | 1058 | let $l = landAssetIds | |
1059 | 1059 | let $s = size($l) | |
1060 | 1060 | let $acc0 = nil | |
1061 | 1061 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1062 | 1062 | then $a | |
1063 | 1063 | else oneLand($a, $l[$i]) | |
1064 | 1064 | ||
1065 | 1065 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1066 | 1066 | then $a | |
1067 | 1067 | else throw("List size exceeds 40") | |
1068 | 1068 | ||
1069 | 1069 | $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 | 1070 | } | |
1071 | 1071 | $Tuple2(nil, r) | |
1072 | 1072 | } | |
1073 | 1073 | ||
1074 | 1074 | ||
1075 | 1075 | ||
1076 | 1076 | @Callable(i) | |
1077 | 1077 | func cancelWarehouseOrders (landAssetIds) = if ((i.caller != this)) | |
1078 | 1078 | then throw("permission denied") | |
1079 | 1079 | else { | |
1080 | 1080 | let blocked = getBoolean(stakingContract, keyBlocked()) | |
1081 | 1081 | if (if (!(isDefined(blocked))) | |
1082 | 1082 | then true | |
1083 | 1083 | else (value(blocked) == false)) | |
1084 | 1084 | then throw("Contracts should be blocked before canceling orders") | |
1085 | 1085 | else { | |
1086 | 1086 | func oneLand (a,landAssetId) = if ((landAssetId == "")) | |
1087 | 1087 | then throw("landAssetId is required") | |
1088 | 1088 | else { | |
1089 | 1089 | 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 | 1090 | if (if (a) | |
1091 | 1091 | then true | |
1092 | 1092 | else c) | |
1093 | 1093 | then !(if (a) | |
1094 | 1094 | then c | |
1095 | 1095 | else false) | |
1096 | 1096 | else false | |
1097 | 1097 | } | |
1098 | 1098 | ||
1099 | 1099 | let r = { | |
1100 | 1100 | let $l = landAssetIds | |
1101 | 1101 | let $s = size($l) | |
1102 | 1102 | let $acc0 = false | |
1103 | 1103 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1104 | 1104 | then $a | |
1105 | 1105 | else oneLand($a, $l[$i]) | |
1106 | 1106 | ||
1107 | 1107 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1108 | 1108 | then $a | |
1109 | 1109 | else throw("List size exceeds 30") | |
1110 | 1110 | ||
1111 | 1111 | $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 | 1112 | } | |
1113 | 1113 | $Tuple2(nil, r) | |
1114 | 1114 | } | |
1115 | 1115 | } | |
1116 | 1116 | ||
1117 | 1117 | ||
1118 | 1118 | ||
1119 | 1119 | @Callable(i) | |
1120 | 1120 | func fixWarehouseFormats (landAssetIds) = if ((i.caller != this)) | |
1121 | 1121 | then throw("permission denied") | |
1122 | 1122 | else { | |
1123 | 1123 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
1124 | 1124 | then throw("landAssetId is required") | |
1125 | 1125 | else (acc + size(asString(invoke(stakingContract, "fixWarehouseFormat", [landAssetId], nil)))) | |
1126 | 1126 | ||
1127 | 1127 | let r = { | |
1128 | 1128 | let $l = landAssetIds | |
1129 | 1129 | let $s = size($l) | |
1130 | 1130 | let $acc0 = 0 | |
1131 | 1131 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1132 | 1132 | then $a | |
1133 | 1133 | else oneLand($a, $l[$i]) | |
1134 | 1134 | ||
1135 | 1135 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1136 | 1136 | then $a | |
1137 | 1137 | else throw("List size exceeds 25") | |
1138 | 1138 | ||
1139 | 1139 | $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 | 1140 | } | |
1141 | 1141 | $Tuple2(nil, r) | |
1142 | 1142 | } | |
1143 | 1143 | ||
1144 | 1144 | ||
1145 | 1145 | ||
1146 | 1146 | @Callable(i) | |
1147 | 1147 | func fixStakedPieces (users) = if ((i.caller != this)) | |
1148 | 1148 | then throw("permission denied") | |
1149 | 1149 | else { | |
1150 | 1150 | func oneUser (acc,addr) = if ((addr == "")) | |
1151 | 1151 | then throw("address is required") | |
1152 | 1152 | else (acc + asInt(invoke(stakingContract, "fixStakedPieces", [addr], nil))) | |
1153 | 1153 | ||
1154 | 1154 | let r = { | |
1155 | 1155 | let $l = users | |
1156 | 1156 | let $s = size($l) | |
1157 | 1157 | let $acc0 = 0 | |
1158 | 1158 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1159 | 1159 | then $a | |
1160 | 1160 | else oneUser($a, $l[$i]) | |
1161 | 1161 | ||
1162 | 1162 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1163 | 1163 | then $a | |
1164 | 1164 | else throw("List size exceeds 16") | |
1165 | 1165 | ||
1166 | 1166 | $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 | 1167 | } | |
1168 | 1168 | $Tuple2(nil, r) | |
1169 | 1169 | } | |
1170 | 1170 | ||
1171 | 1171 | ||
1172 | 1172 | ||
1173 | 1173 | @Callable(i) | |
1174 | 1174 | func fixStakedLands (landAssetIds) = { | |
1175 | 1175 | let caller = toString(i.caller) | |
1176 | 1176 | if (!(containsElement(adminsList, caller))) | |
1177 | 1177 | then throw("Permission denied") | |
1178 | 1178 | else { | |
1179 | 1179 | let r = asInt(invoke(stakingContract, "fixContinentProportions", [landAssetIds], nil)) | |
1180 | 1180 | $Tuple2(nil, r) | |
1181 | 1181 | } | |
1182 | 1182 | } | |
1183 | 1183 | ||
1184 | 1184 | ||
1185 | 1185 | ||
1186 | 1186 | @Callable(i) | |
1187 | 1187 | func sendUsdtPrize (userAddress) = if ((i.caller != stakingContract)) | |
1188 | 1188 | then throw("permission denied") | |
1189 | 1189 | else { | |
1190 | 1190 | let amt = fraction(assetBalance(this, usdtAssetId), USDTPRIZEPART, MULT6) | |
1191 | 1191 | $Tuple2([ScriptTransfer(addressFromStringValue(userAddress), amt, usdtAssetId)], amt) | |
1192 | 1192 | } | |
1193 | 1193 | ||
1194 | 1194 | ||
1195 | 1195 | ||
1196 | 1196 | @Callable(i) | |
1197 | 1197 | func getEmergencyServiceDataREADONLY () = { | |
1198 | 1198 | let existStr = getString(economyContract, keyEsWarehouse()) | |
1199 | 1199 | let existAmounts = if (isDefined(existStr)) | |
1200 | 1200 | then split_4C(value(existStr), "_") | |
1201 | 1201 | else nil | |
1202 | 1202 | func singleProd (acc,recipeStr) = { | |
1203 | 1203 | let n = acc._2 | |
1204 | 1204 | let recipe = split(recipeStr, "_") | |
1205 | 1205 | let maxAmount = if ((n == 0)) | |
1206 | 1206 | then (ESMAXPACKAGES * PRODUCTPKGSIZE) | |
1207 | 1207 | else 0 | |
1208 | 1208 | let existAmount = if ((size(existAmounts) > n)) | |
1209 | 1209 | then parseIntValue(existAmounts[n]) | |
1210 | 1210 | else 0 | |
1211 | 1211 | let totalMat = getRecipeMaterials(recipe) | |
1212 | 1212 | let buyPrice = fraction((totalMat * ESBUYCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
1213 | 1213 | let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
1214 | 1214 | let y = makeString([toString(maxAmount), toString(existAmount), toString(buyPrice), toString(sellPrice)], "_") | |
1215 | 1215 | $Tuple2((acc._1 :+ y), (n + 1)) | |
1216 | 1216 | } | |
1217 | 1217 | ||
1218 | 1218 | let s = makeString_2C(( let $l = productionMatrix | |
1219 | 1219 | let $s = size($l) | |
1220 | 1220 | let $acc0 = $Tuple2(nil, 0) | |
1221 | 1221 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1222 | 1222 | then $a | |
1223 | 1223 | else singleProd($a, $l[$i]) | |
1224 | 1224 | ||
1225 | 1225 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1226 | 1226 | then $a | |
1227 | 1227 | else throw("List size exceeds 50") | |
1228 | 1228 | ||
1229 | 1229 | $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 | 1230 | let result = ("%s%s__emergencyServiceData__" + s) | |
1231 | 1231 | $Tuple2(nil, result) | |
1232 | 1232 | } | |
1233 | 1233 | ||
1234 | 1234 | ||
1235 | 1235 | ||
1236 | 1236 | @Callable(i) | |
1237 | 1237 | func wlgStatsREADONLY (userAddrOpt) = { | |
1238 | 1238 | let curStats = getWlgStats(userAddrOpt, [restContract, stakingContract, economyContract, wlgContract, puzzlePoolContract, investFundContract, acresContract], usdtAssetId, 0, MULT6) | |
1239 | 1239 | $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 | 1240 | } | |
1241 | 1241 | ||
1242 | 1242 | ||
1243 | 1243 | ||
1244 | 1244 | @Callable(i) | |
1245 | 1245 | func tournamentStatsREADONLY (tournamentId) = { | |
1246 | 1246 | let tData = getTourData(tournamentContract, tournamentId) | |
1247 | 1247 | let static = tData[idxStatic] | |
1248 | 1248 | let dynamic = tData[idxDynamic] | |
1249 | 1249 | let leaders = if ((dynamic[tDynamicLeaders] == "")) | |
1250 | 1250 | then " " | |
1251 | 1251 | else dynamic[tDynamicLeaders] | |
1252 | 1252 | let scoreBoard = valueOrElse(getString(tournamentContract, keyScoreBoardByTour(tournamentId)), "") | |
1253 | 1253 | let numGrands = if ((size(static) > tStaticNumGrands)) | |
1254 | 1254 | then static[tStaticNumGrands] | |
1255 | 1255 | else "0" | |
1256 | 1256 | let prizeFund = if ((size(static) > tStaticPrizeFund)) | |
1257 | 1257 | then static[tStaticPrizeFund] | |
1258 | 1258 | else "0" | |
1259 | 1259 | $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 | 1260 | } | |
1261 | 1261 | ||
1262 | 1262 | ||
1263 | 1263 | ||
1264 | 1264 | @Callable(i) | |
1265 | 1265 | func lastTournamentStatsREADONLY () = { | |
1266 | 1266 | let tournamentId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
1267 | 1267 | let static = split(valueOrElse(getString(tournamentContract, keyTourStaticDataById(tournamentId)), "%s%d%d%d%d%d%d______________"), SEP) | |
1268 | 1268 | let dynamic = split(valueOrElse(getString(tournamentContract, keyTourDynamicDataById(tournamentId)), "%s%s%d%d%d__________"), SEP) | |
1269 | 1269 | let leaders = if ((dynamic[tDynamicLeaders] == "")) | |
1270 | 1270 | then " " | |
1271 | 1271 | else dynamic[tDynamicLeaders] | |
1272 | 1272 | let scoreBoard = valueOrElse(getString(tournamentContract, keyScoreBoardByTour(tournamentId)), "") | |
1273 | 1273 | let numGrands = if ((size(static) > tStaticNumGrands)) | |
1274 | 1274 | then static[tStaticNumGrands] | |
1275 | 1275 | else "0" | |
1276 | 1276 | let prizeFund = if ((size(static) > tStaticPrizeFund)) | |
1277 | 1277 | then static[tStaticPrizeFund] | |
1278 | 1278 | else "0" | |
1279 | 1279 | $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 | 1280 | } | |
1281 | 1281 | ||
1282 | 1282 | ||
1283 | 1283 | ||
1284 | 1284 | @Callable(i) | |
1285 | 1285 | func tournamentDuckStatsREADONLY (tId,duckAssetId) = { | |
1286 | 1286 | let isDuckReg = valueOrElse(getBoolean(tournamentContract, keyIsRegisteredByTourAndDuck(tId, duckAssetId)), false) | |
1287 | 1287 | let lastDuckAttempt = valueOrElse(getInteger(tournamentContract, keyLastAttemptByTourAndDuck(tId, duckAssetId)), -1) | |
1288 | 1288 | let bestDuckResult = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(tId, duckAssetId)), 0) | |
1289 | 1289 | let bestDuckTx = valueOrElse(getString(tournamentContract, keyBestTxByTourAndDuck(tId, duckAssetId)), "") | |
1290 | 1290 | let isAwarded = valueOrElse(getBoolean(tournamentContract, keyIsAwardedByTourAndDuck(tId, duckAssetId)), false) | |
1291 | 1291 | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(isDuckReg), toString(lastDuckAttempt), toString(bestDuckResult), bestDuckTx, toString(isAwarded)], "_"))]) | |
1292 | 1292 | } | |
1293 | 1293 | ||
1294 | 1294 | ||
1295 | 1295 | ||
1296 | 1296 | @Callable(i) | |
1297 | 1297 | func duckStatsCalculatorREADONLY (duckAssetId) = { | |
1298 | 1298 | let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_") | |
1299 | 1299 | let buffs = split(valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0"), "_") | |
1300 | 1300 | let equipm = split(valueOrElse(getString(stakingContract, keyDuckEquipment(duckAssetId)), ";_;_;_;_;_;"), "_") | |
1301 | 1301 | let equipmentPerc = slotEffect(split(equipm[segBack], ";")[1]) | |
1302 | 1302 | let equipmentAbsor = slotEffect(split(equipm[segBelt], ";")[0]) | |
1303 | 1303 | let dodge = dodgeProbability(chars, buffs, equipmentPerc) | |
1304 | 1304 | let absorb = damageAbsorption(chars, buffs, equipmentAbsor) | |
1305 | 1305 | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString(dodge)), ("%s%d__damageAbsorption__" + toString(absorb))]) | |
1306 | 1306 | } | |
1307 | 1307 | ||
1308 | 1308 | ||
1309 | 1309 | ||
1310 | 1310 | @Callable(i) | |
1311 | 1311 | func customDuckStatsCalculatorREADONLY (chars,buffs,equipmentPerc,equipmentAbsor) = { | |
1312 | 1312 | let dodge = dodgeProbability(chars, buffs, equipmentPerc) | |
1313 | 1313 | let absorb = damageAbsorption(chars, buffs, equipmentAbsor) | |
1314 | 1314 | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString(dodge)), ("%s%d__damageAbsorption__" + toString(absorb))]) | |
1315 | 1315 | } | |
1316 | 1316 | ||
1317 | 1317 |
github/deemru/w8io/169f3d6 111.91 ms ◑