tx · 5d4YqL6aPooJgtCuFmW3U8zYJtcxokHmwZnCWDb2NeBp 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy: -0.03900000 Waves 2023.08.29 11:41 [2731757] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves
{ "type": 13, "id": "5d4YqL6aPooJgtCuFmW3U8zYJtcxokHmwZnCWDb2NeBp", "fee": 3900000, "feeAssetId": null, "timestamp": 1693298492466, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "5vu9g3Yqir4nv7nqaBAnKFN9AdAgrf2erW1WSejWy2aGZW6mVyXr7U2atVANgqM1aBiFpuTz71J2kM1CaVD2bWE" ], "script": "base64:BgJcCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBGBIDCgEIEgMKARgSAwoBGBIDCgEYEgMKARgSAwoBGBIDCgEIEgASAwoBCBIDCgEBEgASBAoCAQjAAQACTTYAwIQ9AAJNOACAwtcvAAhNSUxMSU9ONgCAgOmDsd4WAA5NQVJLRVRJTkdTSEFSRQCgjQYACVRFQU1TSEFSRQDAmgwADUFDVElWSVRZU0hBUkUAoI0GAAtQTEFZRVJTSEFSRQCAtRgACllFQVJNSUxMSVMAgIbrx3UAA0RBWQCAuJkpABBtYXJrZXRpbmdBZGRyS2V5Ag1tYXJrZXRpbmdBZGRyAAt0ZWFtQWRkcktleQIIdGVhbUFkZHIAFGxhc3RNYXJrZXRpbmdUaW1lS2V5AhlsYXN0Q2xhaW1lZFRpbWVfbWFya2V0aW5nABZtYXJrZXRpbmdBbW91bnRMZWZ0S2V5AhNtYXJrZXRpbmdBbW91bnRMZWZ0AA9sYXN0VGVhbVRpbWVLZXkCFGxhc3RDbGFpbWVkVGltZV90ZWFtABF0ZWFtQW1vdW50TGVmdEtleQIOdGVhbU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IAgkArAICAhslcyVzX190b3VybmFtZW50RHVja1N0YXRzX18JALkJAgkAzAgCCQClAwEFCWlzRHVja1JlZwkAzAgCCQCkAwEFD2xhc3REdWNrQXR0ZW1wdAkAzAgCCQCkAwEFDmJlc3REdWNrUmVzdWx0BQNuaWwCAV8FA25pbAA/orI5", "height": 2731757, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8p5kbRWHMjsrSZM1UP95zvsDsLDPqFpuQVzo3ynqNkJq Next: 4UVpBoS8dwtr9pPa2oJoKUnfpHAu8zkdZjrkXRYupeDv Diff:
Old | New | Differences | |
---|---|---|---|
1140 | 1140 | @Callable(i) | |
1141 | 1141 | func tournamentDuckStatsREADONLY (tId,duckAssetId) = { | |
1142 | 1142 | let isDuckReg = valueOrElse(getBoolean(tournamentContract, keyIsRegisteredByTourAndDuck(tId, duckAssetId)), false) | |
1143 | - | let lastDuckAttempt = valueOrElse(getInteger(tournamentContract, keyLastAttemptByTourAndDuck(tId, duckAssetId)), | |
1143 | + | let lastDuckAttempt = valueOrElse(getInteger(tournamentContract, keyLastAttemptByTourAndDuck(tId, duckAssetId)), -1) | |
1144 | 1144 | let bestDuckResult = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(tId, duckAssetId)), 0) | |
1145 | 1145 | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(isDuckReg), toString(lastDuckAttempt), toString(bestDuckResult)], "_"))]) | |
1146 | 1146 | } |
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 DAY = 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 | let idxWlgAmount = 0 | |
53 | 53 | ||
54 | 54 | let idxWlgPrice = 1 | |
55 | 55 | ||
56 | 56 | let idxWlgFunds = 2 | |
57 | 57 | ||
58 | 58 | let idxWlgEconomy = 3 | |
59 | 59 | ||
60 | 60 | let idxWlgActivity = 4 | |
61 | 61 | ||
62 | 62 | let idxWlgArbitrage = 5 | |
63 | 63 | ||
64 | 64 | let idxWlgPool = 6 | |
65 | 65 | ||
66 | 66 | let idxWlgIssueTime = 7 | |
67 | 67 | ||
68 | 68 | let idxWlgLastMTATime = 8 | |
69 | 69 | ||
70 | 70 | let idxWlgMarketingTotal = 9 | |
71 | 71 | ||
72 | 72 | let idxWlgMarketingAmLeft = 10 | |
73 | 73 | ||
74 | 74 | let idxWlgMarketingAmAvailNow = 11 | |
75 | 75 | ||
76 | 76 | let idxWlgMarketingWlgold = 12 | |
77 | 77 | ||
78 | 78 | let idxWlgTeamTotal = 13 | |
79 | 79 | ||
80 | 80 | let idxWlgTeamAmLeft = 14 | |
81 | 81 | ||
82 | 82 | let idxWlgTeamAmAvailNow = 15 | |
83 | 83 | ||
84 | 84 | let idxWlgTeamWlgold = 16 | |
85 | 85 | ||
86 | 86 | let idxWlgActTotal = 17 | |
87 | 87 | ||
88 | 88 | let idxWlgActAmLeft = 18 | |
89 | 89 | ||
90 | 90 | let idxWlgActAmAvailNow = 19 | |
91 | 91 | ||
92 | 92 | let idxWlgActWlgold = 20 | |
93 | 93 | ||
94 | 94 | let idxWlgCurPeriod = 21 | |
95 | 95 | ||
96 | 96 | let idxWlgAmLeftTotal = 22 | |
97 | 97 | ||
98 | 98 | let idxWlgCurPeriodDistribution = 23 | |
99 | 99 | ||
100 | 100 | let idxWlgLastUserTime = 24 | |
101 | 101 | ||
102 | 102 | let idxWlgUserAmAvailNow = 25 | |
103 | 103 | ||
104 | 104 | let idxWlgSLandDailyAmount = 26 | |
105 | 105 | ||
106 | 106 | let idxWlgInvestFundAmount = 27 | |
107 | 107 | ||
108 | 108 | let dappRest = 0 | |
109 | 109 | ||
110 | 110 | let dappStaking = 1 | |
111 | 111 | ||
112 | 112 | let dappEconomy = 2 | |
113 | 113 | ||
114 | 114 | let dappWlg = 3 | |
115 | 115 | ||
116 | 116 | let dappPuzzle = 4 | |
117 | 117 | ||
118 | 118 | let dappInvestFund = 5 | |
119 | 119 | ||
120 | 120 | func getPieces (userAddrStrOrEmpty,stakingContract) = { | |
121 | 121 | let props = split(valueOrElse(getString(stakingContract, "resTypesProportions"), "0_0_0_0_0_0"), "_") | |
122 | 122 | func adder (acc,item) = (acc + parseIntValue(item)) | |
123 | 123 | ||
124 | 124 | let totalPower = { | |
125 | 125 | let $l = props | |
126 | 126 | let $s = size($l) | |
127 | 127 | let $acc0 = 0 | |
128 | 128 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
129 | 129 | then $a | |
130 | 130 | else adder($a, $l[$i]) | |
131 | 131 | ||
132 | 132 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
133 | 133 | then $a | |
134 | 134 | else throw("List size exceeds 6") | |
135 | 135 | ||
136 | 136 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
137 | 137 | } | |
138 | 138 | let usersPower = valueOrElse(getInteger(stakingContract, ("stakedPiecesByOwner_" + userAddrStrOrEmpty)), 0) | |
139 | 139 | [totalPower, usersPower] | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func getWlgStats (userAddrOpt,contracts,usdtId,usdtBalanceCorrection,userProportion6) = { | |
144 | 144 | let issuedAmount = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssuedAmountKey), "WLGOLD is not issued yet") | |
145 | 145 | let economyUsd = assetBalance(contracts[dappEconomy], usdtId) | |
146 | 146 | let restUsd = assetBalance(contracts[dappRest], usdtId) | |
147 | 147 | let wlgUsd = (assetBalance(contracts[dappWlg], usdtId) - usdtBalanceCorrection) | |
148 | 148 | let puzzleUsd = assetBalance(contracts[dappPuzzle], usdtId) | |
149 | 149 | let investFundContract = contracts[dappInvestFund] | |
150 | 150 | let investFundTotal = (assetBalance(investFundContract, usdtId) + valueOrElse(getInteger(investFundContract, zbIssuedAmountKey), 0)) | |
151 | 151 | let totalFundsUsd = ((economyUsd + wlgUsd) + investFundTotal) | |
152 | 152 | let wlgId = valueOrErrorMessage(getBinary(contracts[dappWlg], "wlg_assetId"), "Not initialized yet") | |
153 | 153 | let now = lastBlock.timestamp | |
154 | 154 | let issueTime = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssueTimeKey), "Not initialized") | |
155 | 155 | let marketingTotal = fraction(MILLION6, MARKETINGSHARE, M6) | |
156 | 156 | let marketingAmountLeft = valueOrElse(getInteger(contracts[dappWlg], marketingAmountLeftKey), marketingTotal) | |
157 | 157 | let lastMarketingTime = valueOrElse(getInteger(contracts[dappWlg], lastMarketingTimeKey), issueTime) | |
158 | 158 | let marketingAddr = addressFromStringValue(value(getString(contracts[dappWlg], marketingAddrKey))) | |
159 | 159 | let marketingAmountAvailableNow = min([fraction(marketingTotal, (now - lastMarketingTime), YEARMILLIS), marketingAmountLeft]) | |
160 | 160 | let marketingWlgold = assetBalance(marketingAddr, wlgId) | |
161 | 161 | let teamTotal = fraction(MILLION6, TEAMSHARE, M6) | |
162 | 162 | let teamAmountLeft = valueOrElse(getInteger(contracts[dappWlg], teamAmountLeftKey), teamTotal) | |
163 | 163 | let lastTeamTime = valueOrElse(getInteger(contracts[dappWlg], lastTeamTimeKey), issueTime) | |
164 | 164 | let teamAddr = addressFromStringValue(value(getString(contracts[dappWlg], teamAddrKey))) | |
165 | 165 | let teamAmountAvailableNow = min([fraction(teamTotal, (now - lastTeamTime), (3 * YEARMILLIS)), teamAmountLeft]) | |
166 | 166 | let teamWlgold = assetBalance(teamAddr, wlgId) | |
167 | 167 | let actTotal = fraction(MILLION6, ACTIVITYSHARE, M6) | |
168 | 168 | let actAmountLeft = valueOrElse(getInteger(contracts[dappWlg], actAmountLeftKey), actTotal) | |
169 | 169 | let lastActivitiesTime = valueOrElse(getInteger(contracts[dappWlg], lastActivitiesTimeKey), issueTime) | |
170 | 170 | let actAmountAvailableNow = min([fraction(actTotal, (now - lastActivitiesTime), (3 * YEARMILLIS)), actAmountLeft]) | |
171 | 171 | let actWlgold = assetBalance(contracts[dappRest], wlgId) | |
172 | 172 | let lastUserTime = valueOrElse(getInteger(contracts[dappWlg], keyLastClaimedTimeByUser(userAddrOpt)), issueTime) | |
173 | 173 | let lastUserPeriod = ((lastUserTime - issueTime) / YEARMILLIS) | |
174 | 174 | let nowLimited = min([now, (issueTime + (3 * YEARMILLIS))]) | |
175 | 175 | let curPeriod = min([((now - issueTime) / YEARMILLIS), 2]) | |
176 | 176 | let eff = getPieces(userAddrOpt, contracts[dappStaking]) | |
177 | 177 | let curPeriodDistribution = distributionByPeriod(curPeriod) | |
178 | 178 | let $t079142 = if ((lastUserPeriod == curPeriod)) | |
179 | 179 | then { | |
180 | 180 | let a0 = fraction(curPeriodDistribution, (nowLimited - lastUserTime), YEARMILLIS) | |
181 | 181 | let userPart = fraction(a0, userProportion6, M6) | |
182 | 182 | let effTime = (lastUserTime + fraction((nowLimited - lastUserTime), userProportion6, M6)) | |
183 | 183 | $Tuple3(userPart, a0, effTime) | |
184 | 184 | } | |
185 | 185 | else if ((lastUserPeriod == (curPeriod - 1))) | |
186 | 186 | then { | |
187 | 187 | let a1 = fraction(distributionByPeriod((curPeriod - 1)), ((issueTime + (YEARMILLIS * curPeriod)) - lastUserTime), YEARMILLIS) | |
188 | 188 | let a0 = fraction(curPeriodDistribution, (nowLimited - (issueTime + (YEARMILLIS * curPeriod))), YEARMILLIS) | |
189 | 189 | let avail = (a1 + a0) | |
190 | 190 | let userPart = fraction(avail, userProportion6, M6) | |
191 | 191 | let effTime = if ((a1 >= userPart)) | |
192 | 192 | then (lastUserTime + fraction(YEARMILLIS, userPart, distributionByPeriod((curPeriod - 1)))) | |
193 | 193 | else ((issueTime + (YEARMILLIS * curPeriod)) + fraction(YEARMILLIS, (userPart - a1), curPeriodDistribution)) | |
194 | 194 | $Tuple3(userPart, avail, effTime) | |
195 | 195 | } | |
196 | 196 | else { | |
197 | 197 | let a2 = fraction(distributionByPeriod((curPeriod - 2)), ((issueTime + (YEARMILLIS * (curPeriod - 1))) - lastUserTime), YEARMILLIS) | |
198 | 198 | let a1 = distributionByPeriod((curPeriod - 1)) | |
199 | 199 | let a0 = fraction(curPeriodDistribution, (nowLimited - (issueTime + (YEARMILLIS * curPeriod))), YEARMILLIS) | |
200 | 200 | let avail = ((a2 + a1) + a0) | |
201 | 201 | let userPart = fraction(avail, userProportion6, M6) | |
202 | 202 | let effTime = if ((a2 >= userPart)) | |
203 | 203 | then (lastUserTime + fraction(YEARMILLIS, userPart, distributionByPeriod((curPeriod - 2)))) | |
204 | 204 | else if (((a2 + a1) >= userPart)) | |
205 | 205 | then ((issueTime + (YEARMILLIS * (curPeriod - 1))) + fraction(YEARMILLIS, (userPart - a2), distributionByPeriod((curPeriod - 1)))) | |
206 | 206 | else ((issueTime + (YEARMILLIS * curPeriod)) + fraction(YEARMILLIS, ((userPart - a2) - a1), curPeriodDistribution)) | |
207 | 207 | $Tuple3(userPart, avail, effTime) | |
208 | 208 | } | |
209 | 209 | let userAmount = $t079142._1 | |
210 | 210 | let userAvailable = $t079142._2 | |
211 | 211 | let effLastTime = $t079142._3 | |
212 | 212 | let sLandDailyAmount = fraction(fraction(curPeriodDistribution, DAY, YEARMILLIS), 25, eff[0]) | |
213 | 213 | let amountLeftTotal = valueOrElse(getInteger(contracts[dappWlg], stakersAmountLeftKey), 0) | |
214 | 214 | [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, fraction(userAmount, eff[1], eff[0]), sLandDailyAmount, investFundTotal, fraction(userAvailable, eff[1], eff[0]), effLastTime] | |
215 | 215 | } | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | let robberyCostMin = 100000000 | |
219 | 219 | ||
220 | 220 | let robberyCooldownCoeff = 400 | |
221 | 221 | ||
222 | 222 | let landRobStates = ["free", "locked", "afterLockCooldown", "robbedCooldown", "defendedCooldown"] | |
223 | 223 | ||
224 | 224 | let duckRobStates = ["free", "preparingRob"] | |
225 | 225 | ||
226 | 226 | func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId) | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId) | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId) | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func keyUserXP (addr) = ("userXP_" + addr) | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func keyUserLevel (addr) = ("userLevel_" + addr) | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func keyUserFreePoints (addr) = ("userFreePoints_" + addr) | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | func keyDuckBuffs (duckAssetId) = ("duckBuffs_" + duckAssetId) | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func keyLastRobberyTimeByDuck (duckAssetId) = ("lastRobberyTime_" + duckAssetId) | |
257 | 257 | ||
258 | 258 | ||
259 | 259 | func keyLastRobberyCostByDuck (duckAssetId) = ("lastRobberyCost_" + duckAssetId) | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func keyLandRobberyState (landAssetId) = ("landRobberyState_" + landAssetId) | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func keyLandCooldownETA (landAssetId) = ("landCooldownETA_" + landAssetId) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func keyDuckRobberyState (duckAssetId) = ("duckRobberyState_" + duckAssetId) | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func keyLockedLandByDuck (duckAssetId) = ("lockedLandByDuck_" + duckAssetId) | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func maxHealth (level) = (100 + level) | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | func getRobberyData (stakingContract,duckAssetId) = { | |
278 | 278 | let lastRobCost = valueOrElse(getInteger(stakingContract, keyLastRobberyCostByDuck(duckAssetId)), 0) | |
279 | 279 | let lastRobTime = valueOrElse(getInteger(stakingContract, keyLastRobberyTimeByDuck(duckAssetId)), 0) | |
280 | 280 | let now = lastBlock.timestamp | |
281 | 281 | let robCost = max([robberyCostMin, (lastRobCost - (robberyCooldownCoeff * (now - lastRobTime)))]) | |
282 | 282 | let duckState = valueOrElse(getInteger(stakingContract, keyDuckRobberyState(duckAssetId)), 0) | |
283 | 283 | let lockedLand = valueOrElse(getString(stakingContract, keyLockedLandByDuck(duckAssetId)), "") | |
284 | 284 | let landETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(lockedLand)), 0) | |
285 | 285 | $Tuple5(robCost, lastRobTime, duckState, lockedLand, landETA) | |
286 | 286 | } | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | let ARTPRESALE = "PRESALE" | |
290 | 290 | ||
291 | 291 | let ARTONBOARD = "ONBOARD" | |
292 | 292 | ||
293 | 293 | let NUMRES = 6 | |
294 | 294 | ||
295 | 295 | let DAILYRESBYPIECE = 3456000 | |
296 | 296 | ||
297 | 297 | let DAYMILLIS = 86400000 | |
298 | 298 | ||
299 | 299 | let WHMULTIPLIER = 10000000000 | |
300 | 300 | ||
301 | 301 | let RESOURCEPRICEMIN = 39637 | |
302 | 302 | ||
303 | 303 | let ESMAXPACKAGES = 3 | |
304 | 304 | ||
305 | 305 | let ESBUYCOEF = 4 | |
306 | 306 | ||
307 | 307 | let ESSELLCOEF = 10 | |
308 | 308 | ||
309 | 309 | let COEFF2MAT = 10000000 | |
310 | 310 | ||
311 | 311 | 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_30_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_50_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_70_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_"] | |
312 | 312 | ||
313 | 313 | let rIdxCoeff = 6 | |
314 | 314 | ||
315 | 315 | let PRODUCTPKGSIZE = 10 | |
316 | 316 | ||
317 | 317 | func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr) | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId) | |
321 | 321 | ||
322 | 322 | ||
323 | 323 | func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId) | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId) | |
327 | 327 | ||
328 | 328 | ||
329 | 329 | func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_") | |
330 | 330 | ||
331 | 331 | ||
332 | 332 | func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId) | |
333 | 333 | ||
334 | 334 | ||
335 | 335 | func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId) | |
336 | 336 | ||
337 | 337 | ||
338 | 338 | func keyFortificationsByLand (landAssetId) = ("fortifications_" + landAssetId) | |
339 | 339 | ||
340 | 340 | ||
341 | 341 | func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId) | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr) | |
345 | 345 | ||
346 | 346 | ||
347 | 347 | func keyAddressRefBy (addr) = ("accRefBy_" + addr) | |
348 | 348 | ||
349 | 349 | ||
350 | 350 | func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr) | |
351 | 351 | ||
352 | 352 | ||
353 | 353 | func keyAddressReferrals (addr) = ("accReferrals_" + addr) | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId) | |
357 | 357 | ||
358 | 358 | ||
359 | 359 | func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr) | |
360 | 360 | ||
361 | 361 | ||
362 | 362 | func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId) | |
363 | 363 | ||
364 | 364 | ||
365 | 365 | func keyBlocked () = "contractsBlocked" | |
366 | 366 | ||
367 | 367 | ||
368 | 368 | func keyOrderByLand (landAssetId) = ("landOrder_" + landAssetId) | |
369 | 369 | ||
370 | 370 | ||
371 | 371 | func keyEsWarehouse () = "emergencyWarehouseProducts" | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | let lastTourIdKey = "%s__lastTourId" | |
375 | 375 | ||
376 | 376 | func keyTourStaticDataById (tId) = ("%s%d__tourStaticData__" + toString(tId)) | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | func keyTourDynamicDataById (tId) = ("%s%d__tourDynamicData__" + toString(tId)) | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | func keyAllRegistrantsByTour (tId) = ("%s%d__allRegistrants__" + toString(tId)) | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | let idxStatic = 0 | |
386 | 386 | ||
387 | 387 | let idxDynamic = 1 | |
388 | 388 | ||
389 | 389 | func getTourData (tourContract,tId) = { | |
390 | 390 | let static = split(valueOrErrorMessage(getString(tourContract, keyTourStaticDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
391 | 391 | let dynamic = split(valueOrErrorMessage(getString(tourContract, keyTourDynamicDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
392 | 392 | [static, dynamic] | |
393 | 393 | } | |
394 | 394 | ||
395 | 395 | ||
396 | 396 | let tStaticRegisterCost = 2 | |
397 | 397 | ||
398 | 398 | let tStaticAttemptCost = 3 | |
399 | 399 | ||
400 | 400 | let tStaticStart = 5 | |
401 | 401 | ||
402 | 402 | let tStaticEnd = 6 | |
403 | 403 | ||
404 | 404 | let tDynamicStatus = 1 | |
405 | 405 | ||
406 | 406 | let tDynamicWinDuck = 2 | |
407 | 407 | ||
408 | 408 | let tDynamicWinResult = 3 | |
409 | 409 | ||
410 | 410 | let tDynamicTotalRegCount = 4 | |
411 | 411 | ||
412 | 412 | let tDynamicTotalAttempts = 5 | |
413 | 413 | ||
414 | 414 | func keyIsRegisteredByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(tId), duckAssetId], "__") | |
415 | 415 | ||
416 | 416 | ||
417 | 417 | func keyLastAttemptByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(tId), duckAssetId], "__") | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__") | |
421 | 421 | ||
422 | 422 | ||
423 | 423 | func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT) | |
424 | 424 | ||
425 | 425 | ||
426 | 426 | let chain = take(drop(this.bytes, 1), 1) | |
427 | 427 | ||
428 | 428 | let usdtAssetId = match chain { | |
429 | 429 | case _ => | |
430 | 430 | if ((base58'2W' == $match0)) | |
431 | 431 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
432 | 432 | else if ((base58'2T' == $match0)) | |
433 | 433 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
434 | 434 | else throw("Unknown chain") | |
435 | 435 | } | |
436 | 436 | ||
437 | 437 | let defaultRestAddressStr = match chain { | |
438 | 438 | case _ => | |
439 | 439 | if ((base58'2W' == $match0)) | |
440 | 440 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
441 | 441 | else if ((base58'2T' == $match0)) | |
442 | 442 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
443 | 443 | else throw("Unknown chain") | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | let InfraUpgradeCostS = match chain { | |
447 | 447 | case _ => | |
448 | 448 | if ((base58'2W' == $match0)) | |
449 | 449 | then 10000000000 | |
450 | 450 | else if ((base58'2T' == $match0)) | |
451 | 451 | then 100000000 | |
452 | 452 | else throw("Unknown chain") | |
453 | 453 | } | |
454 | 454 | ||
455 | 455 | let SEP = "__" | |
456 | 456 | ||
457 | 457 | let MULT6 = 1000000 | |
458 | 458 | ||
459 | 459 | let MULT8 = 100000000 | |
460 | 460 | ||
461 | 461 | let SSIZE = 25 | |
462 | 462 | ||
463 | 463 | let MSIZE = 100 | |
464 | 464 | ||
465 | 465 | let LSIZE = 225 | |
466 | 466 | ||
467 | 467 | let XLSIZE = 400 | |
468 | 468 | ||
469 | 469 | let XXLSIZE = 625 | |
470 | 470 | ||
471 | 471 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
472 | 472 | ||
473 | 473 | ||
474 | 474 | let IdxCfgStakingDapp = 1 | |
475 | 475 | ||
476 | 476 | let IdxCfgEconomyDapp = 2 | |
477 | 477 | ||
478 | 478 | let IdxCfgWlgDapp = 4 | |
479 | 479 | ||
480 | 480 | let IdxCfgPuzzlePoolDapp = 5 | |
481 | 481 | ||
482 | 482 | let IdxCfgInvestFundDapp = 6 | |
483 | 483 | ||
484 | 484 | let IdxCfgTournamentDapp = 7 | |
485 | 485 | ||
486 | 486 | func keyRestCfg () = "%s__restConfig" | |
487 | 487 | ||
488 | 488 | ||
489 | 489 | func keyRestAddress () = "%s__restAddr" | |
490 | 490 | ||
491 | 491 | ||
492 | 492 | func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP) | |
493 | 493 | ||
494 | 494 | ||
495 | 495 | func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx))) | |
496 | 496 | ||
497 | 497 | ||
498 | 498 | let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr)) | |
499 | 499 | ||
500 | 500 | let restCfg = readRestCfgOrFail(restContract) | |
501 | 501 | ||
502 | 502 | let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp) | |
503 | 503 | ||
504 | 504 | let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp) | |
505 | 505 | ||
506 | 506 | let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp) | |
507 | 507 | ||
508 | 508 | let puzzlePoolContract = getContractAddressOrFail(restCfg, IdxCfgPuzzlePoolDapp) | |
509 | 509 | ||
510 | 510 | let investFundContract = getContractAddressOrFail(restCfg, IdxCfgInvestFundDapp) | |
511 | 511 | ||
512 | 512 | let tournamentContract = getContractAddressOrFail(restCfg, IdxCfgTournamentDapp) | |
513 | 513 | ||
514 | 514 | let recLandNum = 0 | |
515 | 515 | ||
516 | 516 | let recLandSize = 1 | |
517 | 517 | ||
518 | 518 | let recTerrains = 2 | |
519 | 519 | ||
520 | 520 | let recContinent = 3 | |
521 | 521 | ||
522 | 522 | let wlgAssetIdKey = "wlg_assetId" | |
523 | 523 | ||
524 | 524 | let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "Not initialized yet") | |
525 | 525 | ||
526 | 526 | let IdxEffUser = 1 | |
527 | 527 | ||
528 | 528 | func keyResProportions () = "resTypesProportions" | |
529 | 529 | ||
530 | 530 | ||
531 | 531 | func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr) | |
532 | 532 | ||
533 | 533 | ||
534 | 534 | func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr) | |
535 | 535 | ||
536 | 536 | ||
537 | 537 | func asString (v) = match v { | |
538 | 538 | case s: String => | |
539 | 539 | s | |
540 | 540 | case _ => | |
541 | 541 | throw("fail to cast into String") | |
542 | 542 | } | |
543 | 543 | ||
544 | 544 | ||
545 | 545 | func asInt (v) = match v { | |
546 | 546 | case n: Int => | |
547 | 547 | n | |
548 | 548 | case _ => | |
549 | 549 | throw("fail to cast into Int") | |
550 | 550 | } | |
551 | 551 | ||
552 | 552 | ||
553 | 553 | func asBoolean (v) = match v { | |
554 | 554 | case s: Boolean => | |
555 | 555 | s | |
556 | 556 | case _ => | |
557 | 557 | throw("fail to cast into Boolean") | |
558 | 558 | } | |
559 | 559 | ||
560 | 560 | ||
561 | 561 | func numPiecesBySize (landSize) = match landSize { | |
562 | 562 | case _ => | |
563 | 563 | if (("S" == $match0)) | |
564 | 564 | then SSIZE | |
565 | 565 | else if (("M" == $match0)) | |
566 | 566 | then MSIZE | |
567 | 567 | else if (("L" == $match0)) | |
568 | 568 | then LSIZE | |
569 | 569 | else if (("XL" == $match0)) | |
570 | 570 | then XLSIZE | |
571 | 571 | else if (("XXL" == $match0)) | |
572 | 572 | then XXLSIZE | |
573 | 573 | else throw("Unknown land size") | |
574 | 574 | } | |
575 | 575 | ||
576 | 576 | ||
577 | 577 | func getVotingPower (userAddrStrOrEmpty) = { | |
578 | 578 | let props = split(valueOrElse(getString(stakingContract, keyResProportions()), "0_0_0_0_0_0"), "_") | |
579 | 579 | func adder (acc,item) = (acc + parseIntValue(item)) | |
580 | 580 | ||
581 | 581 | let totalPower = { | |
582 | 582 | let $l = props | |
583 | 583 | let $s = size($l) | |
584 | 584 | let $acc0 = 0 | |
585 | 585 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
586 | 586 | then $a | |
587 | 587 | else adder($a, $l[$i]) | |
588 | 588 | ||
589 | 589 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
590 | 590 | then $a | |
591 | 591 | else throw("List size exceeds 6") | |
592 | 592 | ||
593 | 593 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
594 | 594 | } | |
595 | 595 | let usersPower = valueOrElse(getInteger(stakingContract, keyStakedPiecesByOwner(userAddrStrOrEmpty)), 0) | |
596 | 596 | [totalPower, usersPower] | |
597 | 597 | } | |
598 | 598 | ||
599 | 599 | ||
600 | 600 | let USDTPRIZEPART = 500000 | |
601 | 601 | ||
602 | 602 | let adminsList = [toString(this), match chain { | |
603 | 603 | case _ => | |
604 | 604 | if ((base58'2W' == $match0)) | |
605 | 605 | then "3P64qEVzuGzBJuYfDXYisFtokJChSRa8uja" | |
606 | 606 | else if ((base58'2T' == $match0)) | |
607 | 607 | then "3N3gSFrTwgiLAFZHMuJrEttht1nPhnkpvjs" | |
608 | 608 | else throw("Unknown chain") | |
609 | 609 | }] | |
610 | 610 | ||
611 | 611 | func asListIntCompacted (val) = match val { | |
612 | 612 | case valAnyList: List[Any] => | |
613 | 613 | if ((size(valAnyList) != NUMRES)) | |
614 | 614 | then throw(("Array size is " + toString(size(valAnyList)))) | |
615 | 615 | else { | |
616 | 616 | func conv (acc,item) = match item { | |
617 | 617 | case it: Int => | |
618 | 618 | (acc :+ toString(it)) | |
619 | 619 | case _ => | |
620 | 620 | throw("List type is not Int") | |
621 | 621 | } | |
622 | 622 | ||
623 | 623 | let r = { | |
624 | 624 | let $l = valAnyList | |
625 | 625 | let $s = size($l) | |
626 | 626 | let $acc0 = nil | |
627 | 627 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
628 | 628 | then $a | |
629 | 629 | else conv($a, $l[$i]) | |
630 | 630 | ||
631 | 631 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
632 | 632 | then $a | |
633 | 633 | else throw("List size exceeds 6") | |
634 | 634 | ||
635 | 635 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
636 | 636 | } | |
637 | 637 | makeString(r, "_") | |
638 | 638 | } | |
639 | 639 | case _ => | |
640 | 640 | throw("fail to cast into List") | |
641 | 641 | } | |
642 | 642 | ||
643 | 643 | ||
644 | 644 | func asSplitResult (val) = match val { | |
645 | 645 | case t2: (List[Any], List[Any]) => | |
646 | 646 | $Tuple2(asListIntCompacted(t2._1), asListIntCompacted(t2._2)) | |
647 | 647 | case _ => | |
648 | 648 | throw("fail to cast into (List, List)") | |
649 | 649 | } | |
650 | 650 | ||
651 | 651 | ||
652 | 652 | func walletInternal (userAddressOpt) = { | |
653 | 653 | let addr = addressFromString(userAddressOpt) | |
654 | 654 | let balance = if (isDefined(addr)) | |
655 | 655 | then wavesBalance(value(addr)) | |
656 | 656 | else BalanceDetails(0, 0, 0, 0) | |
657 | 657 | let usdtBalance = if (isDefined(addr)) | |
658 | 658 | then assetBalance(value(addr), usdtAssetId) | |
659 | 659 | else 0 | |
660 | 660 | let wlgoldBalance = if (isDefined(addr)) | |
661 | 661 | then assetBalance(value(addr), wlgAssetId) | |
662 | 662 | else 0 | |
663 | 663 | let customName = valueOrElse(getString(stakingContract, keyAddressToCustomName(userAddressOpt)), userAddressOpt) | |
664 | 664 | let refByKey = keyAddressRefBy(userAddressOpt) | |
665 | 665 | let refBy = getString(stakingContract, refByKey) | |
666 | 666 | let refs = valueOrElse(getString(stakingContract, keyAddressReferrals(userAddressOpt)), "") | |
667 | 667 | let lastTxId = valueOrElse(getString(stakingContract, keyLastTxIdByUser(userAddressOpt)), "") | |
668 | 668 | let pieces = getVotingPower(userAddressOpt)[IdxEffUser] | |
669 | 669 | let xp = valueOrElse(getInteger(stakingContract, keyUserXP(userAddressOpt)), 0) | |
670 | 670 | let lvl = valueOrElse(getInteger(stakingContract, keyUserLevel(userAddressOpt)), 0) | |
671 | 671 | let freePoints = valueOrElse(getInteger(stakingContract, keyUserFreePoints(userAddressOpt)), 0) | |
672 | 672 | let onboard = if (isDefined(refBy)) | |
673 | 673 | then (ARTONBOARD + (if (if (isDefined(addr)) | |
674 | 674 | then isDefined(getString(stakingContract, keyOnboardArtDuckActivatedBy(userAddressOpt))) | |
675 | 675 | else false) | |
676 | 676 | then ":1" | |
677 | 677 | else ":0")) | |
678 | 678 | else "" | |
679 | 679 | [("%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__currentXp__" + toString(xp)), ("%s%d__currentLvl__" + toString(lvl)), ("%s%d__pointsToDistribute__" + toString(freePoints)), ("%s%s__walletArtefacts__" + onboard)] | |
680 | 680 | } | |
681 | 681 | ||
682 | 682 | ||
683 | 683 | func applyBonuses (landAssetId,pieces) = { | |
684 | 684 | let infraLevel = valueOrElse(getInteger(stakingContract, keyInfraLevelByAssetId(landAssetId)), 0) | |
685 | 685 | let artPieces = valueOrElse(getInteger(stakingContract, keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0) | |
686 | 686 | let add6 = (infraLevel / 6) | |
687 | 687 | let add7 = (infraLevel / 7) | |
688 | 688 | $Tuple3(infraLevel, artPieces, ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))) | |
689 | 689 | } | |
690 | 690 | ||
691 | 691 | ||
692 | 692 | func getWarehouseTotalVolume (volPrefix) = { | |
693 | 693 | let parts = split(volPrefix, "_") | |
694 | 694 | ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0])) | |
695 | 695 | } | |
696 | 696 | ||
697 | 697 | ||
698 | 698 | func getWarehouse (whKey,landIndex,infraLevel) = { | |
699 | 699 | let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel)) | |
700 | 700 | let totS = toString(getWarehouseTotalVolume(volPrefix)) | |
701 | 701 | let whStr = valueOrElse(getString(stakingContract, whKey), ((((volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + totS) + "_") + totS)) | |
702 | 702 | split(whStr, ":") | |
703 | 703 | } | |
704 | 704 | ||
705 | 705 | ||
706 | 706 | func duckInfoTuple (duckAssetId) = { | |
707 | 707 | let maxHP = maxHealth(valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)) | |
708 | 708 | $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))) | |
709 | 709 | } | |
710 | 710 | ||
711 | 711 | ||
712 | 712 | func duckInfoArray (duckAssetId,owner,duckInf) = { | |
713 | 713 | let customName = valueOrElse(getString(stakingContract, keyDuckAssetIdToCustomName(duckAssetId)), duckInf._2) | |
714 | 714 | let chars = valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0") | |
715 | 715 | let xp = valueOrElse(getInteger(stakingContract, keyDuckXP(duckAssetId)), 0) | |
716 | 716 | let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0) | |
717 | 717 | let freePoints = valueOrElse(getInteger(stakingContract, keyDuckFreePoints(duckAssetId)), 0) | |
718 | 718 | let equipm = valueOrElse(getString(stakingContract, keyDuckEquipment(duckAssetId)), ";_;_;_;_;_;") | |
719 | 719 | let buffs = valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0") | |
720 | 720 | let $t056165721 = getRobberyData(stakingContract, duckAssetId) | |
721 | 721 | let robCost = $t056165721._1 | |
722 | 722 | let lastRobTime = $t056165721._2 | |
723 | 723 | let duckState = $t056165721._3 | |
724 | 724 | let lockedLand = $t056165721._4 | |
725 | 725 | let landETA = $t056165721._5 | |
726 | 726 | [("%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))] | |
727 | 727 | } | |
728 | 728 | ||
729 | 729 | ||
730 | 730 | func landInfoArray (landAssetId,owner,stakedTime) = if ((landAssetId == "")) | |
731 | 731 | then throw("landAssetId is required") | |
732 | 732 | else { | |
733 | 733 | let a = value(assetInfo(fromBase58String(landAssetId))) | |
734 | 734 | let d = split(a.description, "_") | |
735 | 735 | let landNum = if ((a.quantity > 0)) | |
736 | 736 | then d[recLandNum] | |
737 | 737 | else ("-" + d[recLandNum]) | |
738 | 738 | let pieces = numPiecesBySize(d[recLandSize]) | |
739 | 739 | let productivity = applyBonuses(landAssetId, pieces) | |
740 | 740 | let deltaTime = (lastBlock.timestamp - stakedTime) | |
741 | 741 | let availRes = if ((stakedTime > 0)) | |
742 | 742 | then fraction(deltaTime, (productivity._3 * pieces), DAYMILLIS) | |
743 | 743 | else 0 | |
744 | 744 | let needMat = fraction(InfraUpgradeCostS, (pieces * (productivity._1 + 1)), SSIZE) | |
745 | 745 | let globalAndLocal = if ((stakedTime > 0)) | |
746 | 746 | then asSplitResult(invoke(stakingContract, "splitByGlobalAndLocalWeightsREADONLY", [needMat, availRes, d[recTerrains]], nil)) | |
747 | 747 | else $Tuple2(asListIntCompacted(invoke(stakingContract, "splitByGlobalWeightsREADONLY", [needMat], nil)), "") | |
748 | 748 | let customName = valueOrElse(getString(stakingContract, keyLandAssetIdToCustomName(landAssetId)), ((d[recContinent] + "-") + d[recLandNum])) | |
749 | 749 | let fort = valueOrElse(getString(stakingContract, keyFortificationsByLand(landAssetId)), ":0_15:0_18:0") | |
750 | 750 | let state = valueOrElse(getInteger(stakingContract, keyLandRobberyState(landAssetId)), 0) | |
751 | 751 | let cooldownETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(landAssetId)), 0) | |
752 | 752 | [("%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))] | |
753 | 753 | } | |
754 | 754 | ||
755 | 755 | ||
756 | 756 | func landOrderInfoArray (landAssetId,owner) = if ((landAssetId == "")) | |
757 | 757 | then throw("landAssetId is required") | |
758 | 758 | else { | |
759 | 759 | let a = value(assetInfo(fromBase58String(landAssetId))) | |
760 | 760 | let d = split(a.description, "_") | |
761 | 761 | let pieces = numPiecesBySize(d[recLandSize]) | |
762 | 762 | let productivity = applyBonuses(landAssetId, pieces) | |
763 | 763 | [("%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:"))] | |
764 | 764 | } | |
765 | 765 | ||
766 | 766 | ||
767 | 767 | @Callable(i) | |
768 | 768 | func constructorV1 (contracts) = if ((i.caller != this)) | |
769 | 769 | then throw("permissions denied") | |
770 | 770 | else { | |
771 | 771 | func descriptor (acc,ignoredItem) = (acc + "%s") | |
772 | 772 | ||
773 | 773 | let descr = { | |
774 | 774 | let $l = contracts | |
775 | 775 | let $s = size($l) | |
776 | 776 | let $acc0 = "" | |
777 | 777 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
778 | 778 | then $a | |
779 | 779 | else descriptor($a, $l[$i]) | |
780 | 780 | ||
781 | 781 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
782 | 782 | then $a | |
783 | 783 | else throw("List size exceeds 10") | |
784 | 784 | ||
785 | 785 | $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) | |
786 | 786 | } | |
787 | 787 | [StringEntry(keyRestCfg(), makeString(descr :: contracts, SEP)), StringEntry(keyRestAddress(), toString(this))] | |
788 | 788 | } | |
789 | 789 | ||
790 | 790 | ||
791 | 791 | ||
792 | 792 | @Callable(i) | |
793 | 793 | func walletInfoREADONLY (userAddressOpt) = $Tuple2(nil, walletInternal(userAddressOpt)) | |
794 | 794 | ||
795 | 795 | ||
796 | 796 | ||
797 | 797 | @Callable(i) | |
798 | 798 | func duckByOwnerInfoREADONLY (userAddress) = { | |
799 | 799 | let stakedDuck = getString(stakingContract, keyStakedDuckByOwner(userAddress)) | |
800 | 800 | $Tuple2(nil, if (if (isDefined(addressFromString(userAddress))) | |
801 | 801 | then isDefined(stakedDuck) | |
802 | 802 | else false) | |
803 | 803 | then { | |
804 | 804 | let duckAssetId = value(stakedDuck) | |
805 | 805 | duckInfoArray(duckAssetId, userAddress, duckInfoTuple(duckAssetId)) | |
806 | 806 | } | |
807 | 807 | else duckInfoArray("", userAddress, $Tuple5(-1, "", "", -1, ""))) | |
808 | 808 | } | |
809 | 809 | ||
810 | 810 | ||
811 | 811 | ||
812 | 812 | @Callable(i) | |
813 | 813 | func duckByAssetIdInfoREADONLY (duckAssetId) = { | |
814 | 814 | let owner = getString(stakingContract, keyDuckIdToOwner(duckAssetId)) | |
815 | 815 | $Tuple2(nil, duckInfoArray(duckAssetId, if (isDefined(owner)) | |
816 | 816 | then value(owner) | |
817 | 817 | else "", duckInfoTuple(duckAssetId))) | |
818 | 818 | } | |
819 | 819 | ||
820 | 820 | ||
821 | 821 | ||
822 | 822 | @Callable(i) | |
823 | 823 | func landByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == "")) | |
824 | 824 | then throw("landAssetId is required") | |
825 | 825 | else { | |
826 | 826 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
827 | 827 | let owner = if ((stakedTime > 0)) | |
828 | 828 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
829 | 829 | else "" | |
830 | 830 | $Tuple2(nil, landInfoArray(landAssetId, owner, stakedTime)) | |
831 | 831 | } | |
832 | 832 | ||
833 | 833 | ||
834 | 834 | ||
835 | 835 | @Callable(i) | |
836 | 836 | func stakedLandsByOwnerInfoREADONLY (landOwnerAddress) = if ((landOwnerAddress == "")) | |
837 | 837 | then throw("landOwnerAddress is required") | |
838 | 838 | else { | |
839 | 839 | let landsStr = getString(stakingContract, keyStakedLandsByOwner(landOwnerAddress)) | |
840 | 840 | let lands = if (isDefined(landsStr)) | |
841 | 841 | then split_51C(value(landsStr), "_") | |
842 | 842 | else nil | |
843 | 843 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
844 | 844 | then throw("landAssetId is required") | |
845 | 845 | else { | |
846 | 846 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
847 | 847 | (acc :+ landInfoArray(landAssetId, landOwnerAddress, stakedTime)) | |
848 | 848 | } | |
849 | 849 | ||
850 | 850 | let r = { | |
851 | 851 | let $l = lands | |
852 | 852 | let $s = size($l) | |
853 | 853 | let $acc0 = nil | |
854 | 854 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
855 | 855 | then $a | |
856 | 856 | else oneLand($a, $l[$i]) | |
857 | 857 | ||
858 | 858 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
859 | 859 | then $a | |
860 | 860 | else throw("List size exceeds 100") | |
861 | 861 | ||
862 | 862 | $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) | |
863 | 863 | } | |
864 | 864 | $Tuple2(nil, r) | |
865 | 865 | } | |
866 | 866 | ||
867 | 867 | ||
868 | 868 | ||
869 | 869 | @Callable(i) | |
870 | 870 | func landsByIdsInfoREADONLY (landAssetIds) = { | |
871 | 871 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
872 | 872 | then throw("landAssetId is required") | |
873 | 873 | else { | |
874 | 874 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
875 | 875 | let owner = if ((stakedTime > 0)) | |
876 | 876 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
877 | 877 | else "" | |
878 | 878 | (acc :+ landInfoArray(landAssetId, owner, stakedTime)) | |
879 | 879 | } | |
880 | 880 | ||
881 | 881 | let r = { | |
882 | 882 | let $l = landAssetIds | |
883 | 883 | let $s = size($l) | |
884 | 884 | let $acc0 = nil | |
885 | 885 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
886 | 886 | then $a | |
887 | 887 | else oneLand($a, $l[$i]) | |
888 | 888 | ||
889 | 889 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
890 | 890 | then $a | |
891 | 891 | else throw("List size exceeds 100") | |
892 | 892 | ||
893 | 893 | $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) | |
894 | 894 | } | |
895 | 895 | $Tuple2(nil, r) | |
896 | 896 | } | |
897 | 897 | ||
898 | 898 | ||
899 | 899 | ||
900 | 900 | @Callable(i) | |
901 | 901 | func warehouseOrderByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == "")) | |
902 | 902 | then throw("landAssetId is required") | |
903 | 903 | else { | |
904 | 904 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
905 | 905 | let owner = if ((stakedTime > 0)) | |
906 | 906 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
907 | 907 | else "" | |
908 | 908 | $Tuple2(nil, landOrderInfoArray(landAssetId, owner)) | |
909 | 909 | } | |
910 | 910 | ||
911 | 911 | ||
912 | 912 | ||
913 | 913 | @Callable(i) | |
914 | 914 | func ordersByLandIdsInfoREADONLY (landAssetIds) = { | |
915 | 915 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
916 | 916 | then throw("landAssetId is required") | |
917 | 917 | else { | |
918 | 918 | let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1) | |
919 | 919 | let owner = if ((stakedTime > 0)) | |
920 | 920 | then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId))) | |
921 | 921 | else "" | |
922 | 922 | (acc :+ landOrderInfoArray(landAssetId, owner)) | |
923 | 923 | } | |
924 | 924 | ||
925 | 925 | let r = { | |
926 | 926 | let $l = landAssetIds | |
927 | 927 | let $s = size($l) | |
928 | 928 | let $acc0 = nil | |
929 | 929 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
930 | 930 | then $a | |
931 | 931 | else oneLand($a, $l[$i]) | |
932 | 932 | ||
933 | 933 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
934 | 934 | then $a | |
935 | 935 | else throw("List size exceeds 40") | |
936 | 936 | ||
937 | 937 | $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) | |
938 | 938 | } | |
939 | 939 | $Tuple2(nil, r) | |
940 | 940 | } | |
941 | 941 | ||
942 | 942 | ||
943 | 943 | ||
944 | 944 | @Callable(i) | |
945 | 945 | func cancelWarehouseOrders (landAssetIds) = if ((i.caller != this)) | |
946 | 946 | then throw("permission denied") | |
947 | 947 | else { | |
948 | 948 | let blocked = getBoolean(stakingContract, keyBlocked()) | |
949 | 949 | if (if (!(isDefined(blocked))) | |
950 | 950 | then true | |
951 | 951 | else (value(blocked) == false)) | |
952 | 952 | then throw("Contracts should be blocked before canceling orders") | |
953 | 953 | else { | |
954 | 954 | func oneLand (a,landAssetId) = if ((landAssetId == "")) | |
955 | 955 | then throw("landAssetId is required") | |
956 | 956 | else { | |
957 | 957 | let c = asBoolean(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)) | |
958 | 958 | if (if (a) | |
959 | 959 | then true | |
960 | 960 | else c) | |
961 | 961 | then !(if (a) | |
962 | 962 | then c | |
963 | 963 | else false) | |
964 | 964 | else false | |
965 | 965 | } | |
966 | 966 | ||
967 | 967 | let r = { | |
968 | 968 | let $l = landAssetIds | |
969 | 969 | let $s = size($l) | |
970 | 970 | let $acc0 = false | |
971 | 971 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
972 | 972 | then $a | |
973 | 973 | else oneLand($a, $l[$i]) | |
974 | 974 | ||
975 | 975 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
976 | 976 | then $a | |
977 | 977 | else throw("List size exceeds 30") | |
978 | 978 | ||
979 | 979 | $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) | |
980 | 980 | } | |
981 | 981 | $Tuple2(nil, r) | |
982 | 982 | } | |
983 | 983 | } | |
984 | 984 | ||
985 | 985 | ||
986 | 986 | ||
987 | 987 | @Callable(i) | |
988 | 988 | func fixWarehouseFormats (landAssetIds) = if ((i.caller != this)) | |
989 | 989 | then throw("permission denied") | |
990 | 990 | else { | |
991 | 991 | func oneLand (acc,landAssetId) = if ((landAssetId == "")) | |
992 | 992 | then throw("landAssetId is required") | |
993 | 993 | else (acc + size(asString(invoke(stakingContract, "fixWarehouseFormat", [landAssetId], nil)))) | |
994 | 994 | ||
995 | 995 | let r = { | |
996 | 996 | let $l = landAssetIds | |
997 | 997 | let $s = size($l) | |
998 | 998 | let $acc0 = 0 | |
999 | 999 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1000 | 1000 | then $a | |
1001 | 1001 | else oneLand($a, $l[$i]) | |
1002 | 1002 | ||
1003 | 1003 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1004 | 1004 | then $a | |
1005 | 1005 | else throw("List size exceeds 25") | |
1006 | 1006 | ||
1007 | 1007 | $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) | |
1008 | 1008 | } | |
1009 | 1009 | $Tuple2(nil, r) | |
1010 | 1010 | } | |
1011 | 1011 | ||
1012 | 1012 | ||
1013 | 1013 | ||
1014 | 1014 | @Callable(i) | |
1015 | 1015 | func fixStakedPieces (users) = if ((i.caller != this)) | |
1016 | 1016 | then throw("permission denied") | |
1017 | 1017 | else { | |
1018 | 1018 | func oneUser (acc,addr) = if ((addr == "")) | |
1019 | 1019 | then throw("address is required") | |
1020 | 1020 | else (acc + asInt(invoke(stakingContract, "fixStakedPieces", [addr], nil))) | |
1021 | 1021 | ||
1022 | 1022 | let r = { | |
1023 | 1023 | let $l = users | |
1024 | 1024 | let $s = size($l) | |
1025 | 1025 | let $acc0 = 0 | |
1026 | 1026 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1027 | 1027 | then $a | |
1028 | 1028 | else oneUser($a, $l[$i]) | |
1029 | 1029 | ||
1030 | 1030 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1031 | 1031 | then $a | |
1032 | 1032 | else throw("List size exceeds 16") | |
1033 | 1033 | ||
1034 | 1034 | $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) | |
1035 | 1035 | } | |
1036 | 1036 | $Tuple2(nil, r) | |
1037 | 1037 | } | |
1038 | 1038 | ||
1039 | 1039 | ||
1040 | 1040 | ||
1041 | 1041 | @Callable(i) | |
1042 | 1042 | func fixStakedLands (landAssetIds) = { | |
1043 | 1043 | let caller = toString(i.caller) | |
1044 | 1044 | if (!(containsElement(adminsList, caller))) | |
1045 | 1045 | then throw("Permission denied") | |
1046 | 1046 | else { | |
1047 | 1047 | let r = asInt(invoke(stakingContract, "fixContinentProportions", [landAssetIds], nil)) | |
1048 | 1048 | $Tuple2(nil, r) | |
1049 | 1049 | } | |
1050 | 1050 | } | |
1051 | 1051 | ||
1052 | 1052 | ||
1053 | 1053 | ||
1054 | 1054 | @Callable(i) | |
1055 | 1055 | func sendUsdtPrize (userAddress) = if ((i.caller != stakingContract)) | |
1056 | 1056 | then throw("permission denied") | |
1057 | 1057 | else { | |
1058 | 1058 | let amt = fraction(assetBalance(this, usdtAssetId), USDTPRIZEPART, MULT6) | |
1059 | 1059 | $Tuple2([ScriptTransfer(addressFromStringValue(userAddress), amt, usdtAssetId)], amt) | |
1060 | 1060 | } | |
1061 | 1061 | ||
1062 | 1062 | ||
1063 | 1063 | ||
1064 | 1064 | @Callable(i) | |
1065 | 1065 | func getEmergencyServiceDataREADONLY () = { | |
1066 | 1066 | let existStr = getString(economyContract, keyEsWarehouse()) | |
1067 | 1067 | let existAmounts = if (isDefined(existStr)) | |
1068 | 1068 | then split_4C(value(existStr), "_") | |
1069 | 1069 | else nil | |
1070 | 1070 | func singleProd (acc,recipeStr) = { | |
1071 | 1071 | let n = acc._2 | |
1072 | 1072 | let recipe = split(recipeStr, "_") | |
1073 | 1073 | let maxAmount = if ((n == 0)) | |
1074 | 1074 | then (ESMAXPACKAGES * PRODUCTPKGSIZE) | |
1075 | 1075 | else 0 | |
1076 | 1076 | let existAmount = if ((size(existAmounts) > n)) | |
1077 | 1077 | then parseIntValue(existAmounts[n]) | |
1078 | 1078 | else 0 | |
1079 | 1079 | let totalMat = getRecipeMaterials(recipe) | |
1080 | 1080 | let buyPrice = fraction((totalMat * ESBUYCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
1081 | 1081 | let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
1082 | 1082 | let y = makeString([toString(maxAmount), toString(existAmount), toString(buyPrice), toString(sellPrice)], "_") | |
1083 | 1083 | $Tuple2((acc._1 :+ y), (n + 1)) | |
1084 | 1084 | } | |
1085 | 1085 | ||
1086 | 1086 | let s = makeString_2C(( let $l = productionMatrix | |
1087 | 1087 | let $s = size($l) | |
1088 | 1088 | let $acc0 = $Tuple2(nil, 0) | |
1089 | 1089 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1090 | 1090 | then $a | |
1091 | 1091 | else singleProd($a, $l[$i]) | |
1092 | 1092 | ||
1093 | 1093 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1094 | 1094 | then $a | |
1095 | 1095 | else throw("List size exceeds 50") | |
1096 | 1096 | ||
1097 | 1097 | $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, ":") | |
1098 | 1098 | let result = ("%s%s__emergencyServiceData__" + s) | |
1099 | 1099 | $Tuple2(nil, result) | |
1100 | 1100 | } | |
1101 | 1101 | ||
1102 | 1102 | ||
1103 | 1103 | ||
1104 | 1104 | @Callable(i) | |
1105 | 1105 | func wlgStatsREADONLY (userAddrOpt) = { | |
1106 | 1106 | let curStats = getWlgStats(userAddrOpt, [restContract, stakingContract, economyContract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, 0, MULT6) | |
1107 | 1107 | $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]))]) | |
1108 | 1108 | } | |
1109 | 1109 | ||
1110 | 1110 | ||
1111 | 1111 | ||
1112 | 1112 | @Callable(i) | |
1113 | 1113 | func tournamentStatsREADONLY (tournamentId) = { | |
1114 | 1114 | let tData = getTourData(tournamentContract, tournamentId) | |
1115 | 1115 | let static = tData[idxStatic] | |
1116 | 1116 | let dynamic = tData[idxDynamic] | |
1117 | 1117 | let winDuck = if ((dynamic[tDynamicWinDuck] == "")) | |
1118 | 1118 | then " " | |
1119 | 1119 | else dynamic[tDynamicWinDuck] | |
1120 | 1120 | let registrants = valueOrElse(getString(tournamentContract, keyAllRegistrantsByTour(tournamentId)), "") | |
1121 | 1121 | $Tuple2(nil, [("%s%s__tournamentStaticData__" + makeString([static[tStaticRegisterCost], static[tStaticAttemptCost], static[tStaticStart], static[tStaticEnd]], "_")), ("%s%s__tournamentDynamicData__" + makeString([dynamic[tDynamicStatus], winDuck, dynamic[tDynamicWinResult], dynamic[tDynamicTotalRegCount], dynamic[tDynamicTotalAttempts]], "_")), ("%s%s__tournamentRegistrants__" + registrants)]) | |
1122 | 1122 | } | |
1123 | 1123 | ||
1124 | 1124 | ||
1125 | 1125 | ||
1126 | 1126 | @Callable(i) | |
1127 | 1127 | func lastTournamentStatsREADONLY () = { | |
1128 | 1128 | let tournamentId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
1129 | 1129 | let static = split(valueOrElse(getString(tournamentContract, keyTourStaticDataById(tournamentId)), "%s%d%d%d%d%d____________"), SEP) | |
1130 | 1130 | let dynamic = split(valueOrElse(getString(tournamentContract, keyTourDynamicDataById(tournamentId)), "%s%s%d%d%d__________"), SEP) | |
1131 | 1131 | let winDuck = if ((dynamic[tDynamicWinDuck] == "")) | |
1132 | 1132 | then " " | |
1133 | 1133 | else dynamic[tDynamicWinDuck] | |
1134 | 1134 | let registrants = valueOrElse(getString(tournamentContract, keyAllRegistrantsByTour(tournamentId)), "") | |
1135 | 1135 | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString(tournamentId)), ("%s%s__tournamentStaticData__" + makeString([static[tStaticRegisterCost], static[tStaticAttemptCost], static[tStaticStart], static[tStaticEnd]], "_")), ("%s%s__tournamentDynamicData__" + makeString([dynamic[tDynamicStatus], winDuck, dynamic[tDynamicWinResult], dynamic[tDynamicTotalRegCount], dynamic[tDynamicTotalAttempts]], "_")), ("%s%s__tournamentRegistrants__" + registrants)]) | |
1136 | 1136 | } | |
1137 | 1137 | ||
1138 | 1138 | ||
1139 | 1139 | ||
1140 | 1140 | @Callable(i) | |
1141 | 1141 | func tournamentDuckStatsREADONLY (tId,duckAssetId) = { | |
1142 | 1142 | let isDuckReg = valueOrElse(getBoolean(tournamentContract, keyIsRegisteredByTourAndDuck(tId, duckAssetId)), false) | |
1143 | - | let lastDuckAttempt = valueOrElse(getInteger(tournamentContract, keyLastAttemptByTourAndDuck(tId, duckAssetId)), | |
1143 | + | let lastDuckAttempt = valueOrElse(getInteger(tournamentContract, keyLastAttemptByTourAndDuck(tId, duckAssetId)), -1) | |
1144 | 1144 | let bestDuckResult = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(tId, duckAssetId)), 0) | |
1145 | 1145 | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(isDuckReg), toString(lastDuckAttempt), toString(bestDuckResult)], "_"))]) | |
1146 | 1146 | } | |
1147 | 1147 | ||
1148 | 1148 |
github/deemru/w8io/026f985 165.42 ms ◑