tx · 4UVpBoS8dwtr9pPa2oJoKUnfpHAu8zkdZjrkXRYupeDv 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy: -0.03900000 Waves 2023.08.30 16:30 [2733481] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves
{ "type": 13, "id": "4UVpBoS8dwtr9pPa2oJoKUnfpHAu8zkdZjrkXRYupeDv", "fee": 3900000, "feeAssetId": null, "timestamp": 1693402320754, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "Xh9ig1rtgSdQom6BaFRT29TiJyEzErzdEcjwaMk7yfe5ESJz9FEYjzdqMGATV4CGW9fvMcozmoZxMVScrNGnr8u" ], "script": "base64:BgJcCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBGBIDCgEIEgMKARgSAwoBGBIDCgEYEgMKARgSAwoBGBIDCgEIEgASAwoBCBIDCgEBEgASBAoCAQjAAQACTTYAwIQ9AAJNOACAwtcvAAhNSUxMSU9ONgCAgOmDsd4WAA5NQVJLRVRJTkdTSEFSRQCgjQYACVRFQU1TSEFSRQDAmgwADUFDVElWSVRZU0hBUkUAoI0GAAtQTEFZRVJTSEFSRQCAtRgACllFQVJNSUxMSVMAgIbrx3UAA0RBWQCAuJkpABBtYXJrZXRpbmdBZGRyS2V5Ag1tYXJrZXRpbmdBZGRyAAt0ZWFtQWRkcktleQIIdGVhbUFkZHIAFGxhc3RNYXJrZXRpbmdUaW1lS2V5AhlsYXN0Q2xhaW1lZFRpbWVfbWFya2V0aW5nABZtYXJrZXRpbmdBbW91bnRMZWZ0S2V5AhNtYXJrZXRpbmdBbW91bnRMZWZ0AA9sYXN0VGVhbVRpbWVLZXkCFGxhc3RDbGFpbWVkVGltZV90ZWFtABF0ZWFtQW1vdW50TGVmdEtleQIOdGVh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kBQtkdWNrQXNzZXRJZAAACQCUCgIFA25pbAkAzAgCCQCsAgICGyVzJXNfX3RvdXJuYW1lbnREdWNrU3RhdHNfXwkAuQkCCQDMCAIJAKUDAQUJaXNEdWNrUmVnCQDMCAIJAKQDAQUPbGFzdER1Y2tBdHRlbXB0CQDMCAIJAKQDAQUOYmVzdER1Y2tSZXN1bHQFA25pbAIBXwUDbmlsAFVmBNY=", "height": 2733481, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5d4YqL6aPooJgtCuFmW3U8zYJtcxokHmwZnCWDb2NeBp Next: 9SDTHcbGNK567EdyDKusJ9kESTToGDXHAoFNGM7njQfv Diff:
Old | New | Differences | |
---|---|---|---|
379 | 379 | func keyTourDynamicDataById (tId) = ("%s%d__tourDynamicData__" + toString(tId)) | |
380 | 380 | ||
381 | 381 | ||
382 | - | func keyAllRegistrantsByTour (tId) = ("%s%d__allRegistrants__" + toString(tId)) | |
382 | + | func keyScoreBoardByTour (tId) = ("%s%d__scoreBoard__" + toString(tId)) | |
383 | + | ||
384 | + | ||
385 | + | func keyIsRegisteredByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(tId), duckAssetId], "__") | |
386 | + | ||
387 | + | ||
388 | + | func keyLastAttemptByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(tId), duckAssetId], "__") | |
389 | + | ||
390 | + | ||
391 | + | func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__") | |
383 | 392 | ||
384 | 393 | ||
385 | 394 | let idxStatic = 0 | |
410 | 419 | let tDynamicTotalRegCount = 4 | |
411 | 420 | ||
412 | 421 | let tDynamicTotalAttempts = 5 | |
413 | - | ||
414 | - | func keyIsRegisteredByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(tId), duckAssetId], "__") | |
415 | - | ||
416 | - | ||
417 | - | func keyLastAttemptByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(tId), duckAssetId], "__") | |
418 | - | ||
419 | - | ||
420 | - | func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__") | |
421 | - | ||
422 | 422 | ||
423 | 423 | func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT) | |
424 | 424 | ||
1117 | 1117 | let winDuck = if ((dynamic[tDynamicWinDuck] == "")) | |
1118 | 1118 | then " " | |
1119 | 1119 | else dynamic[tDynamicWinDuck] | |
1120 | - | let | |
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__ | |
1120 | + | let scoreBoard = valueOrElse(getString(tournamentContract, keyScoreBoardByTour(tournamentId)), "") | |
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__tournamentScoreBoard__" + scoreBoard)]) | |
1122 | 1122 | } | |
1123 | 1123 | ||
1124 | 1124 | ||
1131 | 1131 | let winDuck = if ((dynamic[tDynamicWinDuck] == "")) | |
1132 | 1132 | then " " | |
1133 | 1133 | else dynamic[tDynamicWinDuck] | |
1134 | - | let | |
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__ | |
1134 | + | let scoreBoard = valueOrElse(getString(tournamentContract, keyScoreBoardByTour(tournamentId)), "") | |
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__tournamentScoreBoard__" + scoreBoard)]) | |
1136 | 1136 | } | |
1137 | 1137 | ||
1138 | 1138 |
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 | - | func keyAllRegistrantsByTour (tId) = ("%s%d__allRegistrants__" + toString(tId)) | |
382 | + | func keyScoreBoardByTour (tId) = ("%s%d__scoreBoard__" + toString(tId)) | |
383 | + | ||
384 | + | ||
385 | + | func keyIsRegisteredByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(tId), duckAssetId], "__") | |
386 | + | ||
387 | + | ||
388 | + | func keyLastAttemptByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(tId), duckAssetId], "__") | |
389 | + | ||
390 | + | ||
391 | + | func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__") | |
383 | 392 | ||
384 | 393 | ||
385 | 394 | let idxStatic = 0 | |
386 | 395 | ||
387 | 396 | let idxDynamic = 1 | |
388 | 397 | ||
389 | 398 | func getTourData (tourContract,tId) = { | |
390 | 399 | let static = split(valueOrErrorMessage(getString(tourContract, keyTourStaticDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
391 | 400 | let dynamic = split(valueOrErrorMessage(getString(tourContract, keyTourDynamicDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
392 | 401 | [static, dynamic] | |
393 | 402 | } | |
394 | 403 | ||
395 | 404 | ||
396 | 405 | let tStaticRegisterCost = 2 | |
397 | 406 | ||
398 | 407 | let tStaticAttemptCost = 3 | |
399 | 408 | ||
400 | 409 | let tStaticStart = 5 | |
401 | 410 | ||
402 | 411 | let tStaticEnd = 6 | |
403 | 412 | ||
404 | 413 | let tDynamicStatus = 1 | |
405 | 414 | ||
406 | 415 | let tDynamicWinDuck = 2 | |
407 | 416 | ||
408 | 417 | let tDynamicWinResult = 3 | |
409 | 418 | ||
410 | 419 | let tDynamicTotalRegCount = 4 | |
411 | 420 | ||
412 | 421 | let tDynamicTotalAttempts = 5 | |
413 | - | ||
414 | - | func keyIsRegisteredByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(tId), duckAssetId], "__") | |
415 | - | ||
416 | - | ||
417 | - | func keyLastAttemptByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(tId), duckAssetId], "__") | |
418 | - | ||
419 | - | ||
420 | - | func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__") | |
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 | - | let | |
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__ | |
1120 | + | let scoreBoard = valueOrElse(getString(tournamentContract, keyScoreBoardByTour(tournamentId)), "") | |
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__tournamentScoreBoard__" + scoreBoard)]) | |
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 | - | let | |
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__ | |
1134 | + | let scoreBoard = valueOrElse(getString(tournamentContract, keyScoreBoardByTour(tournamentId)), "") | |
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__tournamentScoreBoard__" + scoreBoard)]) | |
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 | 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 139.50 ms ◑