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