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