tx · HnAN5fcy312uGAVtMs9ZCcoBEU51nyRf3PyNe4DH7mw1 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy: -0.01400000 Waves 2022.03.11 16:54 [1959375] smart account 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy > SELF 0.00000000 Waves
{ "type": 13, "id": "HnAN5fcy312uGAVtMs9ZCcoBEU51nyRf3PyNe4DH7mw1", "fee": 1400000, "feeAssetId": null, "timestamp": 1647006866537, "version": 1, "sender": "3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy", "senderPublicKey": "9W33iCCNfmFxUbiC6XZcH5x7f6xfwC7Jb3BoExT5q2PV", "proofs": [ "5amdoSfjSctXsK1P6DopkJtaD9NXJwuSUg6k5KzQCgxkY4HSU7pREnGbrwutxHkTi8WQyV428Y6ktYDc9qwWd5w7" ], "script": "base64:AAIFAAAAAAAAADMIAhIICgYICAEBAQgSAwoBARIDCgEBEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgAAAABkAAAAAANTRVACAAAAAl9fAAAAAAZTQ0FMRTgAAAAAAAAAAAgAAAAABU1VTFQ4AAAAAAAF9eEAAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgBAAAABHN0cmYAAAACAAAAB2FkZHJlc3MAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAAMZ2V0SW50T3JaZXJvAAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdhZGRyZXNzBQAAAANrZXkAAAAAAAAAAAABAAAAD2dldEludE9yRGVmYXVsdAAAAAMAAAAHYWRkcmVzcwAAAANrZXkAAAAKZGVmYXVsdFZh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exity": 0 } View: original | compacted Prev: DBDMkVpd6MpKd8b83QY8r2YwaPNchBnmx9EZy1hB6aXw Next: 9heaPi1NThZTuxzCg1yfszA6b4YefV7GErYeH45e7MmE Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SEP = "__" | |
5 | 5 | ||
6 | 6 | let SCALE8 = 8 | |
7 | 7 | ||
8 | 8 | let MULT8 = 100000000 | |
9 | 9 | ||
10 | 10 | let POOLWEIGHTMULT = MULT8 | |
11 | 11 | ||
12 | 12 | func strf (address,key) = valueOrErrorMessage(getString(address, key), (("mandatory this." + key) + " is not defined")) | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func getIntOrDefault (address,key,defaultVal) = valueOrElse(getInteger(address, key), defaultVal) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined")) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func abs (val) = if ((0 > val)) | |
25 | 25 | then -(val) | |
26 | 26 | else val | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func asAnyList (val) = match val { | |
30 | 30 | case valAnyLyst: List[Any] => | |
31 | 31 | valAnyLyst | |
32 | 32 | case _ => | |
33 | 33 | throw("fail to cast into List[Any]") | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func asInt (val) = match val { | |
38 | 38 | case valInt: Int => | |
39 | 39 | valInt | |
40 | 40 | case _ => | |
41 | 41 | throw("fail to cast into Int") | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func keyFactoryAddress () = "%s%s__config__factoryAddress" | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | let IdxFactoryCfgStakingDapp = 1 | |
49 | 49 | ||
50 | 50 | let IdxFactoryCfgBoostingDapp = 2 | |
51 | 51 | ||
52 | 52 | let IdxFactoryCfgIdoDapp = 3 | |
53 | 53 | ||
54 | 54 | let IdxFactoryCfgTeamDapp = 4 | |
55 | 55 | ||
56 | 56 | let IdxFactoryCfgEmissionDapp = 5 | |
57 | 57 | ||
58 | 58 | let IdxFactoryCfgRestDapp = 6 | |
59 | 59 | ||
60 | 60 | let IdxFactoryCfgSlippageDapp = 7 | |
61 | 61 | ||
62 | 62 | let IdxFactoryCfgDaoDapp = 8 | |
63 | 63 | ||
64 | 64 | let IdxFactoryCfgMarketingDapp = 9 | |
65 | 65 | ||
66 | 66 | let IdxFactoryCfgGwxRewardDapp = 10 | |
67 | 67 | ||
68 | 68 | let IdxFactoryCfgBirdsDapp = 11 | |
69 | 69 | ||
70 | 70 | func keyFactoryCfg () = "%s__factoryConfig" | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func keyFactoryLpList () = "%s__lpTokensList" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func keyFactoryPoolWeightHistory (poolAddress,num) = ((("%s%s__poolWeight__" + poolAddress) + "__") + toString(num)) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func readFactoryAddressOrFail () = addressFromStringValue(strf(this, keyFactoryAddress())) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func readFactoryCfgOrFail (factory) = split(strf(factory, keyFactoryCfg()), SEP) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp]) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp]) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp]) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgGwxRewardDapp]) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func keyManagerPublicKey () = "%s__managerPublicKey" | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey" | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current" | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current" | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func keyEmissionStartBlock () = "%s%s__emission__startBlock" | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func keyEmissionDurationInBlocks () = "%s%s__emission__duration" | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func keyEmissionEndBlock () = "%s%s__emission__endBlock" | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func keyNextPeriod () = "%s__nextPeriod" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func keyGwxRewardEmissionStartHeight () = "%s%s__gwxRewardEmissionPart__startHeight" | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | let IdxCfgAssetId = 1 | |
137 | 137 | ||
138 | 138 | let IdxCfgMinLockAmount = 2 | |
139 | 139 | ||
140 | 140 | let IdxCfgMinLockDuration = 3 | |
141 | 141 | ||
142 | 142 | let IdxCfgMaxLockDuration = 4 | |
143 | 143 | ||
144 | 144 | let IdxCfgMathContract = 5 | |
145 | 145 | ||
146 | 146 | func keyConfig () = "%s__config" | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func readConfigArrayOrFail () = split(strf(this, keyConfig()), SEP) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func formatConfigS (assetId,minLockAmount,minLockDuration,maxLockDuration,mathContract) = makeString(["%s%d%d%d", assetId, minLockAmount, minLockDuration, maxLockDuration, mathContract], SEP) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func formatConfig (assetId,minLockAmount,minLockDuration,maxLockDuration,mathContract) = formatConfigS(assetId, toString(minLockAmount), toString(minLockDuration), toString(maxLockDuration), mathContract) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) { | |
159 | 159 | case s: String => | |
160 | 160 | fromBase58String(s) | |
161 | 161 | case _: Unit => | |
162 | 162 | unit | |
163 | 163 | case _ => | |
164 | 164 | throw("Match error") | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) { | |
169 | 169 | case s: String => | |
170 | 170 | fromBase58String(s) | |
171 | 171 | case _: Unit => | |
172 | 172 | unit | |
173 | 173 | case _ => | |
174 | 174 | throw("Match error") | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func mustManager (i) = { | |
179 | 179 | let pd = throw("Permission denied") | |
180 | 180 | match managerPublicKeyOrUnit() { | |
181 | 181 | case pk: ByteVector => | |
182 | 182 | if ((i.callerPublicKey == pk)) | |
183 | 183 | then true | |
184 | 184 | else pd | |
185 | 185 | case _: Unit => | |
186 | 186 | if ((i.caller == this)) | |
187 | 187 | then true | |
188 | 188 | else pd | |
189 | 189 | case _ => | |
190 | 190 | throw("Match error") | |
191 | 191 | } | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | let IdxLockUserNum = 1 | |
196 | 196 | ||
197 | 197 | let IdxLockAmount = 2 | |
198 | 198 | ||
199 | 199 | let IdxLockStart = 3 | |
200 | 200 | ||
201 | 201 | let IdxLockDuration = 4 | |
202 | 202 | ||
203 | 203 | let IdxLockParamK = 5 | |
204 | 204 | ||
205 | 205 | let IdxLockParamB = 6 | |
206 | 206 | ||
207 | 207 | func keyLockParamsRecord (userAddress) = makeString(["%s%s__lock", userAddress], SEP) | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func readLockParamsRecordOrFail (userAddress) = split(strf(this, keyLockParamsRecord(userAddress)), SEP) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func formatLockParamsRecordS (userNum,amount,start,duration,paramK,paramB,lastUpdTimestamp,gwxAmount) = makeString(["%d%d%d%d%d%d%d%d", userNum, amount, start, duration, paramK, paramB, lastUpdTimestamp, gwxAmount], SEP) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func formatLockParamsRecord (userNum,amount,start,duration,paramK,paramB,gwxAmount) = formatLockParamsRecordS(userNum, toString(amount), toString(start), toString(duration), toString(paramK), toString(paramB), toString(lastBlock.timestamp), toString(gwxAmount)) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func keyNextUserNum () = "%s__nextUserNum" | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP) | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP) | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP) | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP) | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP) | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP) | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP) | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP) | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP) | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func keyLockParamTotalAmount () = "%s%s__stats__activeTotalLocked" | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | func keyStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks" | |
253 | 253 | ||
254 | 254 | ||
255 | 255 | func keyStatsLocksCount () = "%s%s__stats__locksCount" | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func keyStatsUsersCount () = "%s%s__stats__activeUsersCount" | |
259 | 259 | ||
260 | 260 | ||
261 | 261 | func keyUserBoostEmissionLastINTEGRAL (userNum) = makeString(["%s%d__userBoostEmissionLastInt", userNum], SEP) | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func keyUserLpBoostEmissionLastINTEGRAL (userNum,lpAssetId) = makeString(["%s%d__userBoostEmissionLastInt", userNum, lpAssetId], SEP) | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | func keyUserMaxBoostINTEGRAL (userNum) = makeString(["%s%d__maxBoostInt", userNum], SEP) | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | func keyTotalMaxBoostINTEGRAL () = "%s%s__maxBoostInt__total" | |
271 | 271 | ||
272 | 272 | ||
273 | 273 | func keyUserBoostAvalaibleToClaimTotal (userNum) = makeString(["%s%d__userBoostAvaliableToClaimTotal", userNum], SEP) | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | func keyUserBoostClaimed (userNum) = makeString(["%s%d__userBoostClaimed", userNum], SEP) | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func keyTotalCachedGwx () = "%s%s__gwxCached__total" | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | let factoryContract = readFactoryAddressOrFail() | |
283 | 283 | ||
284 | 284 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
285 | 285 | ||
286 | 286 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
287 | 287 | ||
288 | 288 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
289 | 289 | ||
290 | 290 | let gwxRewardContract = getGwxRewardAddressOrFail(factoryCfg) | |
291 | 291 | ||
292 | 292 | func HistoryEntry (type,user,amount,lockStart,duration,k,b,i) = { | |
293 | 293 | let historyKEY = makeString(["%s%s%s%s__history", type, user, toBase58String(i.transactionId)], SEP) | |
294 | 294 | let historyDATA = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(amount), toString(lockStart), toString(duration), toString(k), toString(b)], SEP) | |
295 | 295 | StringEntry(historyKEY, historyDATA) | |
296 | 296 | } | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func StatsEntry (totalLockedInc,durationInc,lockCountInc,usersCountInc) = { | |
300 | 300 | let locksDurationSumInBlocksKEY = keyStatsLocksDurationSumInBlocks() | |
301 | 301 | let locksCountKEY = keyStatsLocksCount() | |
302 | 302 | let usersCountKEY = keyStatsUsersCount() | |
303 | 303 | let totalAmountKEY = keyLockParamTotalAmount() | |
304 | 304 | let locksDurationSumInBlocks = getIntOrZero(this, locksDurationSumInBlocksKEY) | |
305 | 305 | let locksCount = getIntOrZero(this, locksCountKEY) | |
306 | 306 | let usersCount = getIntOrZero(this, usersCountKEY) | |
307 | 307 | let totalAmount = getIntOrZero(this, totalAmountKEY) | |
308 | 308 | [IntegerEntry(locksDurationSumInBlocksKEY, (locksDurationSumInBlocks + durationInc)), IntegerEntry(locksCountKEY, (locksCount + lockCountInc)), IntegerEntry(usersCountKEY, (usersCount + usersCountInc)), IntegerEntry(totalAmountKEY, (totalAmount + totalLockedInc))] | |
309 | 309 | } | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func calcGwxAmount (kRaw,bRaw,h) = { | |
313 | 313 | let SCALE = 1000 | |
314 | 314 | (((kRaw * h) + bRaw) / SCALE) | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | func LockParamsEntry (userAddress,userNum,amount,start,duration,k,b,period) = { | |
319 | 319 | let userAmountKEY = keyLockParamUserAmount(userNum) | |
320 | 320 | let startBlockKEY = keyLockParamStartBlock(userNum) | |
321 | 321 | let durationKEY = keyLockParamDuration(userNum) | |
322 | 322 | let kKEY = keyLockParamK(userNum) | |
323 | 323 | let bKEY = keyLockParamB(userNum) | |
324 | 324 | let kByPeriodKEY = keyLockParamByPeriodK(userNum, period) | |
325 | 325 | let bByPeriodKEY = keyLockParamByPeriodB(userNum, period) | |
326 | 326 | let gwxAmount = calcGwxAmount(k, b, height) | |
327 | 327 | [IntegerEntry(userAmountKEY, amount), IntegerEntry(startBlockKEY, start), IntegerEntry(durationKEY, duration), IntegerEntry(kKEY, k), IntegerEntry(bKEY, b), IntegerEntry(kByPeriodKEY, k), IntegerEntry(bByPeriodKEY, b), StringEntry(keyLockParamsRecord(userAddress), formatLockParamsRecord(userNum, amount, start, duration, k, b, gwxAmount))] | |
328 | 328 | } | |
329 | 329 | ||
330 | 330 | ||
331 | 331 | func extractOptionalPaymentAmountOrFail (i,expectedAssetId) = if ((size(i.payments) > 1)) | |
332 | 332 | then throw("only one payment is allowed") | |
333 | 333 | else if ((size(i.payments) == 0)) | |
334 | 334 | then 0 | |
335 | 335 | else { | |
336 | 336 | let pmt = i.payments[0] | |
337 | 337 | if ((value(pmt.assetId) != expectedAssetId)) | |
338 | 338 | then throw("invalid asset id in payment") | |
339 | 339 | else pmt.amount | |
340 | 340 | } | |
341 | 341 | ||
342 | 342 | ||
343 | 343 | func calcCurrentGwxAmount (userAddress) = { | |
344 | 344 | let EMPTY = "empty" | |
345 | 345 | let user2NumMappingKEY = keyUser2NumMapping(userAddress) | |
346 | 346 | let userNum = valueOrElse(getString(user2NumMappingKEY), EMPTY) | |
347 | 347 | let k = valueOrElse(getInteger(keyLockParamK(userNum)), 0) | |
348 | 348 | let b = valueOrElse(getInteger(keyLockParamB(userNum)), 0) | |
349 | 349 | let gwxAmountCalc = calcGwxAmount(k, b, height) | |
350 | 350 | let gwxAmount = if ((0 > gwxAmountCalc)) | |
351 | 351 | then 0 | |
352 | 352 | else gwxAmountCalc | |
353 | 353 | gwxAmount | |
354 | 354 | } | |
355 | 355 | ||
356 | 356 | ||
357 | 357 | func internalClaimWxBoost (lpAssetIdStr,userAddressStr,readOnly) = { | |
358 | 358 | let EMPTY = "EMPTY" | |
359 | 359 | let userRecordOrEmpty = valueOrElse(getString(this, keyLockParamsRecord(userAddressStr)), EMPTY) | |
360 | 360 | if ((userRecordOrEmpty == EMPTY)) | |
361 | 361 | then $Tuple3(0, nil, "userRecord::is::empty") | |
362 | 362 | else { | |
363 | 363 | let userRecordArray = split(userRecordOrEmpty, SEP) | |
364 | 364 | let userNumStr = userRecordArray[IdxLockUserNum] | |
365 | 365 | let gwxRewardEmissionStartHeight = valueOrElse(getInteger(gwxRewardContract, keyGwxRewardEmissionStartHeight()), 0) | |
366 | 366 | let EMPTYSTR = "empty" | |
367 | 367 | let $t01304213610 = if ((lpAssetIdStr != EMPTYSTR)) | |
368 | 368 | then { | |
369 | 369 | let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr)) | |
370 | 370 | let pw1 = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr)) | |
371 | 371 | let pw0 = valueOrElse(getInteger(factoryContract, keyFactoryPoolWeightHistory(poolAddressStr, 0)), pw1) | |
372 | 372 | $Tuple2(pw0, pw1) | |
373 | 373 | } | |
374 | 374 | else if (readOnly) | |
375 | 375 | then $Tuple2(0, 0) | |
376 | 376 | else throw(("not readonly mode: unsupported lp asset " + lpAssetIdStr)) | |
377 | 377 | let poolWeight0 = $t01304213610._1 | |
378 | 378 | let poolWeight1 = $t01304213610._2 | |
379 | 379 | let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) | |
380 | 380 | let emissionStart = getIntOrFail(emissionContract, keyEmissionStartBlock()) | |
381 | 381 | let emissionEnd = getIntOrFail(emissionContract, keyEmissionEndBlock()) | |
382 | 382 | let h = if ((height > emissionEnd)) | |
383 | 383 | then emissionEnd | |
384 | 384 | else height | |
385 | 385 | let dh = max([(h - emissionStart), 0]) | |
386 | 386 | let userLpBoostEmissionLastIntegralKEY = keyUserLpBoostEmissionLastINTEGRAL(userNumStr, lpAssetIdStr) | |
387 | 387 | let userBoostEmissionLastIntegralKEY = keyUserBoostEmissionLastINTEGRAL(userNumStr) | |
388 | 388 | let userBoostEmissionLastIntegral = valueOrElse(getInteger(this, userLpBoostEmissionLastIntegralKEY), getIntOrZero(this, userBoostEmissionLastIntegralKEY)) | |
389 | 389 | let boostEmissionIntegral = (((wxEmissionPerBlock * dh) * 2) / 3) | |
390 | 390 | let userBoostEmissionIntegral = (boostEmissionIntegral - userBoostEmissionLastIntegral) | |
391 | 391 | let udh = fraction(userBoostEmissionIntegral, 3, (2 * wxEmissionPerBlock)) | |
392 | 392 | let uLastH = (h - udh) | |
393 | 393 | let udh0 = max([(gwxRewardEmissionStartHeight - uLastH), 0]) | |
394 | 394 | let udh1 = ((h - uLastH) - udh0) | |
395 | 395 | if (if (if ((0 > uLastH)) | |
396 | 396 | then true | |
397 | 397 | else (0 > udh1)) | |
398 | 398 | then true | |
399 | 399 | else (abs(((udh0 + udh1) - udh)) >= 1)) | |
400 | 400 | then throw(((((((("invalid udh calc: udh=" + toString(udh)) + " uLastH=") + toString(uLastH)) + " udh0=") + toString(udh0)) + " udh1=") + toString(udh1))) | |
401 | 401 | else if ((0 > userBoostEmissionIntegral)) | |
402 | 402 | then throw("wrong calculations") | |
403 | 403 | else { | |
404 | 404 | let userMaxBoostIntegralKEY = keyUserMaxBoostINTEGRAL(userNumStr) | |
405 | 405 | let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL() | |
406 | 406 | let userMaxBoostInt = getIntOrZero(this, userMaxBoostIntegralKEY) | |
407 | 407 | let totalMaxBoostInt = getIntOrZero(this, totalMaxBoostIntegralKEY) | |
408 | 408 | let totalCachedGwxKEY = keyTotalCachedGwx() | |
409 | 409 | let totalCachedGwx = valueOrElse(getInteger(this, totalCachedGwxKEY), 0) | |
410 | 410 | let userCurrGwx = calcCurrentGwxAmount(userAddressStr) | |
411 | 411 | let userBoostAvalaibleToClaimTotalKEY = keyUserBoostAvalaibleToClaimTotal(userNumStr) | |
412 | 412 | let userBoostAvaliableToClaimTotal = getIntOrZero(this, userBoostAvalaibleToClaimTotalKEY) | |
413 | 413 | let userBoostEmissionIntegral0 = fraction(userBoostEmissionIntegral, udh0, udh) | |
414 | 414 | let userBoostEmissionIntegral1 = fraction(userBoostEmissionIntegral, udh1, udh) | |
415 | 415 | let poolUserBoostEmissionIntegral0 = fraction(userBoostEmissionIntegral0, poolWeight0, POOLWEIGHTMULT) | |
416 | 416 | let poolUserBoostEmissionIntegral1 = fraction(userBoostEmissionIntegral1, poolWeight1, POOLWEIGHTMULT) | |
417 | 417 | let userBoostAvaliableToClaimTotalNew0 = if ((totalCachedGwx == 0)) | |
418 | 418 | then 0 | |
419 | 419 | else fraction(poolUserBoostEmissionIntegral0, userCurrGwx, totalCachedGwx) | |
420 | 420 | let userBoostAvaliableToClaimTotalNew1 = if ((totalCachedGwx == 0)) | |
421 | 421 | then 0 | |
422 | 422 | else fraction(poolUserBoostEmissionIntegral1, userCurrGwx, totalCachedGwx) | |
423 | 423 | let userBoostAvaliableToClaimTotalNew = (userBoostAvaliableToClaimTotalNew0 + userBoostAvaliableToClaimTotalNew1) | |
424 | 424 | let userBoostClaimedKEY = keyUserBoostClaimed(userNumStr) | |
425 | 425 | let userBoostClaimed = getIntOrZero(this, userBoostClaimedKEY) | |
426 | 426 | let userBoostAvailable = (userBoostAvaliableToClaimTotalNew - userBoostClaimed) | |
427 | 427 | let dataState = [IntegerEntry(userLpBoostEmissionLastIntegralKEY, boostEmissionIntegral)] | |
428 | 428 | let debug = makeString([("userBoostEmissionLastIntegral=" + toString(userBoostEmissionLastIntegral)), ("userBoostEmissionIntegral=" + toString(userBoostEmissionIntegral)), ("userMaxBoostInt=" + toString(userMaxBoostInt)), ("totalMaxBoostInt=" + toString(totalMaxBoostInt)), ("userBoostAvaliableToClaimTotal=" + toString(userBoostAvaliableToClaimTotal)), ("userBoostAvaliableToClaimTotalNew=" + toString(userBoostAvaliableToClaimTotalNew)), ("userBoostClaimed=" + toString(userBoostClaimed)), ("userBoostAvailable=" + toString(userBoostAvailable)), ("userBoostEmissionIntegral0=" + toString(userBoostEmissionIntegral0)), ("userBoostEmissionIntegral1=" + toString(userBoostEmissionIntegral1)), ("poolUserBoostEmissionIntegral0=" + toString(poolUserBoostEmissionIntegral0)), ("poolUserBoostEmissionIntegral1=" + toString(poolUserBoostEmissionIntegral1)), ("poolWeight0=" + toString(poolWeight0)), ("poolWeight1=" + toString(poolWeight1)), ("h=" + toString(h)), ("udh=" + toString(udh)), ("uLastH=" + toString(uLastH)), ("udh0=" + toString(udh0)), ("udh1=" + toString(udh1)), ("userCurrGwx=" + toString(userCurrGwx)), ("totalCachedGwx=" + toString(totalCachedGwx))], "::") | |
429 | 429 | $Tuple3(userBoostAvaliableToClaimTotalNew, dataState, debug) | |
430 | 430 | } | |
431 | 431 | } | |
432 | 432 | } | |
433 | 433 | ||
434 | 434 | ||
435 | 435 | @Callable(i) | |
436 | 436 | func constructor (factoryAddressStr,lockAssetIdStr,minLockAmount,minDuration,maxDuration,mathContract) = { | |
437 | 437 | let checkCaller = mustManager(i) | |
438 | 438 | if ((checkCaller == checkCaller)) | |
439 | 439 | then ([IntegerEntry(keyNextUserNum(), 0), StringEntry(keyConfig(), formatConfig(lockAssetIdStr, minLockAmount, minDuration, maxDuration, mathContract)), StringEntry(keyFactoryAddress(), factoryAddressStr)] ++ StatsEntry(0, 0, 0, 0)) | |
440 | 440 | else throw("Strict value is not equal to itself.") | |
441 | 441 | } | |
442 | 442 | ||
443 | 443 | ||
444 | 444 | ||
445 | 445 | @Callable(i) | |
446 | 446 | func lock (duration) = { | |
447 | 447 | let cfgArray = readConfigArrayOrFail() | |
448 | 448 | let assetIdStr = cfgArray[IdxCfgAssetId] | |
449 | 449 | let assetId = fromBase58String(assetIdStr) | |
450 | 450 | let minLockAmount = parseIntValue(cfgArray[IdxCfgMinLockAmount]) | |
451 | 451 | let minLockDuration = parseIntValue(cfgArray[IdxCfgMinLockDuration]) | |
452 | 452 | let maxLockDuration = parseIntValue(cfgArray[IdxCfgMaxLockDuration]) | |
453 | 453 | let mathContract = addressFromStringValue(cfgArray[IdxCfgMathContract]) | |
454 | 454 | if ((size(i.payments) != 1)) | |
455 | 455 | then throw("invalid payment - exact one payment must be attached") | |
456 | 456 | else { | |
457 | 457 | let pmt = i.payments[0] | |
458 | 458 | let pmtAmount = pmt.amount | |
459 | 459 | if ((assetId != value(pmt.assetId))) | |
460 | 460 | then throw((("invalid asset is in payment - " + assetIdStr) + " is expected")) | |
461 | 461 | else { | |
462 | 462 | let nextUserNumKEY = keyNextUserNum() | |
463 | 463 | let userAddressStr = toString(i.caller) | |
464 | 464 | let userIsExisting = isDefined(getString(keyUser2NumMapping(userAddressStr))) | |
465 | 465 | let userNumStr = if (userIsExisting) | |
466 | 466 | then value(getString(keyUser2NumMapping(userAddressStr))) | |
467 | 467 | else toString(getIntOrFail(this, nextUserNumKEY)) | |
468 | 468 | let userNum = parseIntValue(userNumStr) | |
469 | 469 | let lockStart = height | |
470 | 470 | let startBlockKEY = keyLockParamStartBlock(userNumStr) | |
471 | 471 | let durationKEY = keyLockParamDuration(userNumStr) | |
472 | 472 | let userAmountKEY = keyLockParamUserAmount(userNumStr) | |
473 | 473 | if ((minLockAmount > pmtAmount)) | |
474 | 474 | then throw(("amount is less then minLockAmount=" + toString(minLockAmount))) | |
475 | 475 | else if ((minLockDuration > duration)) | |
476 | 476 | then throw(("passed duration is less then minLockDuration=" + toString(minLockDuration))) | |
477 | 477 | else if ((duration > maxLockDuration)) | |
478 | 478 | then throw(("passed duration is greater then maxLockDuration=" + toString(maxLockDuration))) | |
479 | 479 | else if (if (userIsExisting) | |
480 | 480 | then ((getIntOrFail(this, startBlockKEY) + getIntOrFail(this, durationKEY)) >= lockStart) | |
481 | 481 | else false) | |
482 | 482 | then throw("there is an active lock - consider to use increaseLock") | |
483 | 483 | else if ((getIntOrZero(this, userAmountKEY) > 0)) | |
484 | 484 | then throw(("there are locked WXs - consider to use increaseLock " + userAmountKEY)) | |
485 | 485 | else { | |
486 | 486 | let coeffX8 = fraction(duration, MULT8, maxLockDuration) | |
487 | 487 | let gWxAmountStart = fraction(pmtAmount, coeffX8, MULT8) | |
488 | 488 | let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [gWxAmountStart, lockStart, duration], nil)) | |
489 | 489 | let k = asInt(gWxParamsResultList[0]) | |
490 | 490 | let b = asInt(gWxParamsResultList[1]) | |
491 | 491 | let period = toString(asInt(gWxParamsResultList[2])) | |
492 | 492 | let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) | |
493 | 493 | let emissionStart = getIntOrFail(emissionContract, keyEmissionStartBlock()) | |
494 | 494 | let emissionEnd = getIntOrFail(emissionContract, keyEmissionEndBlock()) | |
495 | 495 | let h = if ((height > emissionEnd)) | |
496 | 496 | then emissionEnd | |
497 | 497 | else height | |
498 | 498 | let dh = max([(h - emissionStart), 0]) | |
499 | 499 | let userBoostEmissionLastIntegralKEY = keyUserBoostEmissionLastINTEGRAL(userNumStr) | |
500 | 500 | let boostEmissionIntegral = (((wxEmissionPerBlock * dh) * 2) / 3) | |
501 | 501 | let userMaxBoostIntegralKEY = keyUserMaxBoostINTEGRAL(userNumStr) | |
502 | 502 | let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL() | |
503 | 503 | let userMaxBoostInt = ((gWxAmountStart * duration) / 2) | |
504 | 504 | let totalMaxBoostInt = getIntOrZero(this, totalMaxBoostIntegralKEY) | |
505 | 505 | let totalCachedGwxKEY = keyTotalCachedGwx() | |
506 | 506 | let totalCachedGwx = valueOrElse(getInteger(this, totalCachedGwxKEY), 0) | |
507 | 507 | let arr = if (userIsExisting) | |
508 | 508 | then nil | |
509 | 509 | else [IntegerEntry(nextUserNumKEY, (userNum + 1)), StringEntry(keyUser2NumMapping(userAddressStr), userNumStr), StringEntry(keyNum2UserMapping(userNumStr), userAddressStr)] | |
510 | 510 | ((((arr ++ LockParamsEntry(userAddressStr, userNumStr, pmtAmount, lockStart, duration, k, b, period)) ++ StatsEntry(pmtAmount, duration, 1, if (userIsExisting) | |
511 | 511 | then 0 | |
512 | 512 | else 1)) :+ HistoryEntry("lock", userAddressStr, pmtAmount, lockStart, duration, k, b, i)) ++ [IntegerEntry(userBoostEmissionLastIntegralKEY, boostEmissionIntegral), IntegerEntry(totalCachedGwxKEY, (totalCachedGwx + gWxAmountStart))]) | |
513 | 513 | } | |
514 | 514 | } | |
515 | 515 | } | |
516 | 516 | } | |
517 | 517 | ||
518 | 518 | ||
519 | 519 | ||
520 | 520 | @Callable(i) | |
521 | 521 | func increaseLock (deltaDuration) = { | |
522 | 522 | let cfgArray = readConfigArrayOrFail() | |
523 | 523 | let assetIdStr = cfgArray[IdxCfgAssetId] | |
524 | 524 | let assetId = fromBase58String(assetIdStr) | |
525 | 525 | let minLockDuration = parseIntValue(cfgArray[IdxCfgMinLockDuration]) | |
526 | 526 | let maxLockDuration = parseIntValue(cfgArray[IdxCfgMaxLockDuration]) | |
527 | 527 | let mathContract = addressFromStringValue(cfgArray[IdxCfgMathContract]) | |
528 | 528 | let pmtAmount = extractOptionalPaymentAmountOrFail(i, assetId) | |
529 | 529 | let userAddressStr = toString(i.caller) | |
530 | 530 | let userRecordArray = readLockParamsRecordOrFail(userAddressStr) | |
531 | 531 | let userNumStr = userRecordArray[IdxLockUserNum] | |
532 | 532 | let userAmount = parseIntValue(userRecordArray[IdxLockAmount]) | |
533 | 533 | let lockStart = parseIntValue(userRecordArray[IdxLockStart]) | |
534 | 534 | let lockDuration = parseIntValue(userRecordArray[IdxLockDuration]) | |
535 | 535 | let lockEnd = (lockStart + lockDuration) | |
536 | 536 | let remainingDuration = max([(lockEnd - height), 0]) | |
537 | 537 | let userAmountNew = (userAmount + pmtAmount) | |
538 | 538 | let lockDurationNew = (remainingDuration + deltaDuration) | |
539 | 539 | if ((0 > deltaDuration)) | |
540 | 540 | then throw("duration is less then zero") | |
541 | 541 | else if ((minLockDuration > lockDurationNew)) | |
542 | 542 | then throw(("lockDurationNew is less then minLockDuration=" + toString(minLockDuration))) | |
543 | 543 | else if ((lockDurationNew > maxLockDuration)) | |
544 | 544 | then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString(maxLockDuration))) | |
545 | 545 | else { | |
546 | 546 | let coeffX8 = fraction(lockDurationNew, MULT8, maxLockDuration) | |
547 | 547 | let gWxAmountStart = fraction(userAmountNew, coeffX8, MULT8) | |
548 | 548 | let lockStartNew = height | |
549 | 549 | let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [gWxAmountStart, lockStartNew, lockDurationNew], nil)) | |
550 | 550 | let k = asInt(gWxParamsResultList[0]) | |
551 | 551 | let b = asInt(gWxParamsResultList[1]) | |
552 | 552 | let period = toString(asInt(gWxParamsResultList[2])) | |
553 | 553 | let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) | |
554 | 554 | let emissionStart = getIntOrFail(emissionContract, keyEmissionStartBlock()) | |
555 | 555 | let emissionEnd = getIntOrFail(emissionContract, keyEmissionEndBlock()) | |
556 | 556 | let h = if ((height > emissionEnd)) | |
557 | 557 | then emissionEnd | |
558 | 558 | else height | |
559 | 559 | let dh = max([(h - emissionStart), 0]) | |
560 | 560 | let userBoostEmissionLastIntegralKEY = keyUserBoostEmissionLastINTEGRAL(userNumStr) | |
561 | 561 | let userBoostEmissionLastIntegral = getIntOrZero(this, userBoostEmissionLastIntegralKEY) | |
562 | 562 | let boostEmissionIntegral = (((wxEmissionPerBlock * dh) * 2) / 3) | |
563 | 563 | let userBoostEmissionIntegral = (boostEmissionIntegral - userBoostEmissionLastIntegral) | |
564 | 564 | if ((0 > userBoostEmissionIntegral)) | |
565 | 565 | then throw("wrong calculations") | |
566 | 566 | else { | |
567 | 567 | let userMaxBoostIntegralKEY = keyUserMaxBoostINTEGRAL(userNumStr) | |
568 | 568 | let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL() | |
569 | 569 | let userMaxBoostInt = getIntOrZero(this, userMaxBoostIntegralKEY) | |
570 | 570 | let totalMaxBoostInt = getIntOrZero(this, totalMaxBoostIntegralKEY) | |
571 | 571 | let currUserGwx = calcCurrentGwxAmount(userAddressStr) | |
572 | 572 | let gwxDiff = (gWxAmountStart - currUserGwx) | |
573 | 573 | if ((0 > gwxDiff)) | |
574 | 574 | then throw(("gwxDiff is less then 0: " + toString(gwxDiff))) | |
575 | 575 | else { | |
576 | 576 | let totalCachedGwxKEY = keyTotalCachedGwx() | |
577 | 577 | let totalCachedGwx = valueOrElse(getInteger(this, totalCachedGwxKEY), 0) | |
578 | 578 | let userBoostAvalaibleToClaimTotalKEY = keyUserBoostAvalaibleToClaimTotal(userNumStr) | |
579 | 579 | let userBoostAvaliableToClaimTotal = getIntOrZero(this, userBoostAvalaibleToClaimTotalKEY) | |
580 | 580 | let userBoostAvaliableToClaimTotalNew = fraction(userBoostEmissionIntegral, currUserGwx, totalCachedGwx) | |
581 | 581 | let userMaxBoostIntNew = ((gWxAmountStart * lockDurationNew) / 2) | |
582 | 582 | let remainingUserMaxBoostInt = ((currUserGwx * remainingDuration) / 2) | |
583 | 583 | let userMaxBoostIntDiff = (userMaxBoostIntNew - remainingUserMaxBoostInt) | |
584 | 584 | (((LockParamsEntry(userAddressStr, userNumStr, userAmountNew, lockStartNew, lockDurationNew, k, b, period) ++ StatsEntry(pmtAmount, deltaDuration, 0, 0)) :+ HistoryEntry("lock", userAddressStr, pmtAmount, lockStart, lockDurationNew, k, b, i)) ++ [IntegerEntry(totalCachedGwxKEY, (totalCachedGwx + gwxDiff))]) | |
585 | 585 | } | |
586 | 586 | } | |
587 | 587 | } | |
588 | 588 | } | |
589 | 589 | ||
590 | 590 | ||
591 | 591 | ||
592 | 592 | @Callable(i) | |
593 | 593 | func claimWxBoost (lpAssetIdStr,userAddressStr) = if ((stakingContract != i.caller)) | |
594 | 594 | then throw("permissions denied") | |
595 | 595 | else { | |
596 | 596 | let $t02781027912 = internalClaimWxBoost(lpAssetIdStr, userAddressStr, false) | |
597 | 597 | let userBoostAvailable = $t02781027912._1 | |
598 | 598 | let dataState = $t02781027912._2 | |
599 | 599 | let debug = $t02781027912._3 | |
600 | 600 | $Tuple2(dataState, [userBoostAvailable]) | |
601 | 601 | } | |
602 | 602 | ||
603 | 603 | ||
604 | 604 | ||
605 | 605 | @Callable(i) | |
606 | 606 | func claimWxBoostREADONLY (lpAssetIdStr,userAddressStr) = { | |
607 | 607 | let $t02804428145 = internalClaimWxBoost(lpAssetIdStr, userAddressStr, true) | |
608 | 608 | let userBoostAvailable = $t02804428145._1 | |
609 | 609 | let dataState = $t02804428145._2 | |
610 | 610 | let debug = $t02804428145._3 | |
611 | 611 | $Tuple2(nil, [userBoostAvailable, debug]) | |
612 | 612 | } | |
613 | 613 | ||
614 | 614 | ||
615 | 615 | ||
616 | 616 | @Callable(i) | |
617 | 617 | func unlock (userAddress) = { | |
618 | 618 | let userRecordArray = readLockParamsRecordOrFail(userAddress) | |
619 | 619 | let userNumStr = userRecordArray[IdxLockUserNum] | |
620 | 620 | let userAmount = parseIntValue(userRecordArray[IdxLockAmount]) | |
621 | 621 | let lockStart = parseIntValue(userRecordArray[IdxLockStart]) | |
622 | 622 | let lockDuration = parseIntValue(userRecordArray[IdxLockDuration]) | |
623 | 623 | let lockEnd = (lockStart + lockDuration) | |
624 | 624 | let cfgArray = readConfigArrayOrFail() | |
625 | 625 | let assetId = fromBase58String(cfgArray[IdxCfgAssetId]) | |
626 | 626 | let mathContract = addressFromStringValue(cfgArray[IdxCfgMathContract]) | |
627 | 627 | if ((lockEnd >= height)) | |
628 | 628 | then throw((("wait " + toString(lockEnd)) + " to unlock")) | |
629 | 629 | else if ((0 >= userAmount)) | |
630 | 630 | then throw("nothing to unlock") | |
631 | 631 | else { | |
632 | 632 | let period = valueOrElse(getInteger(mathContract, keyNextPeriod()), 0) | |
633 | 633 | (((LockParamsEntry(userAddress, userNumStr, 0, lockStart, lockDuration, 0, 0, toString(period)) ++ StatsEntry(-(userAmount), 0, 0, -1)) :+ HistoryEntry("unlock", userAddress, userAmount, lockStart, lockDuration, 0, 0, i)) :+ ScriptTransfer(addressFromStringValue(userAddress), userAmount, assetId)) | |
634 | 634 | } | |
635 | 635 | } | |
636 | 636 | ||
637 | 637 | ||
638 | 638 | ||
639 | 639 | @Callable(i) | |
640 | 640 | func gwxUserInfoREADONLY (userAddress) = { | |
641 | 641 | let gwxAmount = calcCurrentGwxAmount(userAddress) | |
642 | 642 | $Tuple2(nil, [gwxAmount]) | |
643 | 643 | } | |
644 | 644 | ||
645 | 645 | ||
646 | 646 | ||
647 | 647 | @Callable(i) | |
648 | 648 | func setManager (pendingManagerPublicKey) = { | |
649 | 649 | let checkCaller = mustManager(i) | |
650 | 650 | if ((checkCaller == checkCaller)) | |
651 | 651 | then { | |
652 | 652 | let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey) | |
653 | 653 | if ((checkManagerPublicKey == checkManagerPublicKey)) | |
654 | 654 | then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)] | |
655 | 655 | else throw("Strict value is not equal to itself.") | |
656 | 656 | } | |
657 | 657 | else throw("Strict value is not equal to itself.") | |
658 | 658 | } | |
659 | 659 | ||
660 | 660 | ||
661 | 661 | ||
662 | 662 | @Callable(i) | |
663 | 663 | func confirmManager () = { | |
664 | 664 | let pm = pendingManagerPublicKeyOrUnit() | |
665 | 665 | let hasPM = if (isDefined(pm)) | |
666 | 666 | then true | |
667 | 667 | else throw("No pending manager") | |
668 | 668 | if ((hasPM == hasPM)) | |
669 | 669 | then { | |
670 | 670 | let checkPM = if ((i.callerPublicKey == value(pm))) | |
671 | 671 | then true | |
672 | 672 | else throw("You are not pending manager") | |
673 | 673 | if ((checkPM == checkPM)) | |
674 | 674 | then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())] | |
675 | 675 | else throw("Strict value is not equal to itself.") | |
676 | 676 | } | |
677 | 677 | else throw("Strict value is not equal to itself.") | |
678 | 678 | } | |
679 | 679 | ||
680 | 680 | ||
681 | 681 | @Verifier(tx) | |
682 | 682 | func verify () = { | |
683 | 683 | let targetPublicKey = match managerPublicKeyOrUnit() { | |
684 | 684 | case pk: ByteVector => | |
685 | 685 | pk | |
686 | 686 | case _: Unit => | |
687 | 687 | tx.senderPublicKey | |
688 | 688 | case _ => | |
689 | 689 | throw("Match error") | |
690 | 690 | } | |
691 | 691 | sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey) | |
692 | 692 | } | |
693 | 693 |
github/deemru/w8io/026f985 77.49 ms ◑