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