tx · Bo1aQ5FgGS3KSghFiJA4QumJCuR5rVEVRmQJ38j8grxe 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz: -0.03500000 Waves 2022.06.07 18:12 [2086110] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves
{ "type": 13, "id": "Bo1aQ5FgGS3KSghFiJA4QumJCuR5rVEVRmQJ38j8grxe", "fee": 3500000, "feeAssetId": null, "timestamp": 1654614723656, "version": 1, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "4tUKtFFoDHw5NgRbX71Cu65ciuaYimoKrg4WckE6ABqkjubu8uGxQACcUHtzxAkJxMN9kpeVgZMyy8a8kjsZjMZh" ], "script": "base64:AAIFAAAAAAAAACcIAhIDCgEIEgMKAQgSABIAEgQKAggBEgMKAQgSBAoCCAgSBAoCCAgAAABNAAAAAAZTQ0FMRTgAAAAAAAAAAAgAAAAABU1VTFQ4AAAAAAAF9eEAAAAAAAdTQ0FMRTE4AAAAAAAAAAASAAAAAAZNVUxUMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAADU0VQAgAAAAJfXwAAAAAOUE9PTFdFSUdIVE1VTFQFAAAABU1VTFQ4AQAAAAlhc0FueUxpc3QAAAABAAAAA3ZhbAQAAAAHJG1hdGNoMAUAAAADdmFsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAlMaXN0W0FueV0EAAAACnZhbEFueUx5c3QFAAAAByRtYXRjaDAFAAAACnZhbEFueUx5c3QJAAACAAAAAQIAAAAbZmFpbCB0byBjYXN0IGludG8gTGlzdFtBbnldAQAAAAVhc0ludAAAAAEAAAADdmFsBAAAAAckbWF0Y2gwBQAAAAN2YWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAAGdmFsSW50BQAAAAckbWF0Y2gwBQA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AAA46OkJPT1NUREVCVUc6OgUAAAAKYm9vc3REZWJ1ZwUAAAADbmlsBQAAAANTRVAAAAABaQEAAAAOb25Nb2RpZnlXZWlnaHQAAAACAAAADGxwQXNzZXRJZFN0cgAAAA5wb29sQWRkcmVzc1N0cgMJAQAAAAIhPQAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAAPZmFjdG9yeUNvbnRyYWN0CQAAAgAAAAECAAAAEnBlcm1pc3Npb25zIGRlbmllZAQAAAANJHQwMjAzNDMyMDQ1MwkBAAAAFHJlZnJlc2hQb29sSU5URUdSQUxTAAAAAwUAAAAMbHBBc3NldElkU3RyBQAAAA5wb29sQWRkcmVzc1N0cgAAAAAAAAAAAAQAAAASd3hQZXJMcEludGVncmFsTmV3CAUAAAANJHQwMjAzNDMyMDQ1MwAAAAJfMQQAAAARcG9vbEludGVncmFsU1RBVEUIBQAAAA0kdDAyMDM0MzIwNDUzAAAAAl8yBAAAAAlwb29sREVCVUcIBQAAAA0kdDAyMDM0MzIwNDUzAAAAAl8zBQAAABFwb29sSW50ZWdyYWxTVEFURQAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXlF/uDt", "chainId": 84, "height": 2086110, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9eVdGJDa8iJK9N1AtryBJ142Px2btU6wd5141R2jrvJ6 Next: 82dnTvY99DiqmAXH8LHW2qbKq3oFtYPPN6eR3qEJCdSP Diff:
Old | New | Differences | |
---|---|---|---|
273 | 273 | let error = throw(makeString([toString(wxToClaimUser), toString(wxPerLpIntegralNew), toString(wxPerLpIntegralUserLast), toString(stakedByUser)], " ")) | |
274 | 274 | if ((error == error)) | |
275 | 275 | then { | |
276 | - | let | |
277 | - | if (( | |
276 | + | let error2 = throw("error2") | |
277 | + | if ((error2 == error2)) | |
278 | 278 | then { | |
279 | - | let wxPerLpIntegralUserLastNew = wxPerLpIntegralNew | |
280 | - | let wxPerLpIntegralUserLastUpdHeightNew = height | |
281 | - | let debug = makeString([toString(wxToClaimUserNew), toString(wxPerLpIntegralUserLast), toString(stakedByUser), poolDEBUG, toString(height)], "::") | |
282 | - | $Tuple3(wxToClaimUserNew, (poolIntegralSTATE ++ [IntegerEntry(wxToClaimUserKEY, wxToClaimUserNew), IntegerEntry(wxPerLpIntegralUserLastUpdHeightKEY, wxPerLpIntegralUserLastUpdHeightNew), IntegerEntry(wxPerLpIntegralUserLastKEY, wxPerLpIntegralUserLastNew)]), debug) | |
279 | + | let wxToClaimUserNew = (wxToClaimUser + fraction((wxPerLpIntegralNew - wxPerLpIntegralUserLast), stakedByUser, (MULT8 * MULT3))) | |
280 | + | if ((wxToClaimUserNew == wxToClaimUserNew)) | |
281 | + | then { | |
282 | + | let wxPerLpIntegralUserLastNew = wxPerLpIntegralNew | |
283 | + | let wxPerLpIntegralUserLastUpdHeightNew = height | |
284 | + | let debug = makeString([toString(wxToClaimUserNew), toString(wxPerLpIntegralUserLast), toString(stakedByUser), poolDEBUG, toString(height)], "::") | |
285 | + | $Tuple3(wxToClaimUserNew, (poolIntegralSTATE ++ [IntegerEntry(wxToClaimUserKEY, wxToClaimUserNew), IntegerEntry(wxPerLpIntegralUserLastUpdHeightKEY, wxPerLpIntegralUserLastUpdHeightNew), IntegerEntry(wxPerLpIntegralUserLastKEY, wxPerLpIntegralUserLastNew)]), debug) | |
286 | + | } | |
287 | + | else throw("Strict value is not equal to itself.") | |
283 | 288 | } | |
284 | 289 | else throw("Strict value is not equal to itself.") | |
285 | 290 | } | |
386 | 391 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
387 | 392 | let stakedByUser = readStaked(stakedByUserKEY) | |
388 | 393 | let stakedTotal = readStaked(stakedTotalKEY) | |
389 | - | let $ | |
390 | - | let wxToClaimUserNew = $ | |
391 | - | let integralSTATE = $ | |
392 | - | let debug = $ | |
394 | + | let $t01447514592 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, amount) | |
395 | + | let wxToClaimUserNew = $t01447514592._1 | |
396 | + | let integralSTATE = $t01447514592._2 | |
397 | + | let debug = $t01447514592._3 | |
393 | 398 | ([IntegerEntry(stakedByUserKEY, (stakedByUser + amount)), IntegerEntry(stakedTotalKEY, (stakedTotal + amount)), OperationHistoryEntry("stake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) | |
394 | 399 | } | |
395 | 400 | ||
410 | 415 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
411 | 416 | let stakedByUser = readStaked(stakedByUserKEY) | |
412 | 417 | let stakedTotal = readStaked(stakedTotalKEY) | |
413 | - | let $ | |
414 | - | let wxToClaimUserNew = $ | |
415 | - | let integralSTATE = $ | |
416 | - | let debug = $ | |
418 | + | let $t01572915847 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, -(amount)) | |
419 | + | let wxToClaimUserNew = $t01572915847._1 | |
420 | + | let integralSTATE = $t01572915847._2 | |
421 | + | let debug = $t01572915847._3 | |
417 | 422 | if ((amount > stakedByUser)) | |
418 | 423 | then throw("passed amount is less then available") | |
419 | 424 | else ([IntegerEntry(stakedByUserKEY, (stakedByUser - amount)), IntegerEntry(stakedTotalKEY, (stakedTotal - amount)), ScriptTransfer(i.caller, amount, lpAssetId), OperationHistoryEntry("unstake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) | |
434 | 439 | let claimedByUserMinReward = getIntOrZero(this, claimedByUserMinRewardKEY) | |
435 | 440 | let claimedByUserBoostReward = getIntOrZero(this, claimedByUserBoostRewardKEY) | |
436 | 441 | let claimedTotal = getIntOrZero(this, claimedTotalKEY) | |
437 | - | let $ | |
438 | - | let wxToClaimUserNew = $ | |
439 | - | let integralSTATE = $ | |
440 | - | let debug = $ | |
442 | + | let $t01703917151 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0) | |
443 | + | let wxToClaimUserNew = $t01703917151._1 | |
444 | + | let integralSTATE = $t01703917151._2 | |
445 | + | let debug = $t01703917151._3 | |
441 | 446 | let availableToClaim = (wxToClaimUserNew - claimedByUser) | |
442 | 447 | if ((0 >= availableToClaim)) | |
443 | 448 | then throw("nothing to claim") | |
472 | 477 | else (height - emissionStartBlock) | |
473 | 478 | let poolWxEmission = fraction((wxEmissionPerBlock * passedBlocks), poolWeight, POOLWEIGHTMULT) | |
474 | 479 | let userWxReward = fraction(poolWxEmission, stakedByUser, stakedTotal) | |
475 | - | let $ | |
476 | - | let wxToClaimUserNew = $ | |
477 | - | let integralSTATE = $ | |
478 | - | let debug = $ | |
480 | + | let $t01935119463 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0) | |
481 | + | let wxToClaimUserNew = $t01935119463._1 | |
482 | + | let integralSTATE = $t01935119463._2 | |
483 | + | let debug = $t01935119463._3 | |
479 | 484 | let availableToClaim = (wxToClaimUserNew - claimedByUser) | |
480 | 485 | let boostInvResult = asAnyList(invoke(boostingContract, "claimWxBoostREADONLY", [lpAssetIdStr, userAddressStr], nil)) | |
481 | 486 | let wxAmountBoostTotal = asInt(boostInvResult[0]) | |
492 | 497 | func onModifyWeight (lpAssetIdStr,poolAddressStr) = if ((i.caller != factoryContract)) | |
493 | 498 | then throw("permissions denied") | |
494 | 499 | else { | |
495 | - | let $ | |
496 | - | let wxPerLpIntegralNew = $ | |
497 | - | let poolIntegralSTATE = $ | |
498 | - | let poolDEBUG = $ | |
500 | + | let $t02034320453 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0) | |
501 | + | let wxPerLpIntegralNew = $t02034320453._1 | |
502 | + | let poolIntegralSTATE = $t02034320453._2 | |
503 | + | let poolDEBUG = $t02034320453._3 | |
499 | 504 | poolIntegralSTATE | |
500 | 505 | } | |
501 | 506 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SCALE8 = 8 | |
5 | 5 | ||
6 | 6 | let MULT8 = 100000000 | |
7 | 7 | ||
8 | 8 | let SCALE18 = 18 | |
9 | 9 | ||
10 | 10 | let MULT18 = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let SEP = "__" | |
13 | 13 | ||
14 | 14 | let POOLWEIGHTMULT = MULT8 | |
15 | 15 | ||
16 | 16 | func asAnyList (val) = match val { | |
17 | 17 | case valAnyLyst: List[Any] => | |
18 | 18 | valAnyLyst | |
19 | 19 | case _ => | |
20 | 20 | throw("fail to cast into List[Any]") | |
21 | 21 | } | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func asInt (val) = match val { | |
25 | 25 | case valInt: Int => | |
26 | 26 | valInt | |
27 | 27 | case _ => | |
28 | 28 | throw("fail to cast into Int") | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func asString (val) = match val { | |
33 | 33 | case valStr: String => | |
34 | 34 | valStr | |
35 | 35 | case _ => | |
36 | 36 | throw("fail to cast into Int") | |
37 | 37 | } | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func asByteVector (val) = match val { | |
41 | 41 | case valBin: ByteVector => | |
42 | 42 | valBin | |
43 | 43 | case _ => | |
44 | 44 | throw("fail to cast into Int") | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined")) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func getStringByAddressOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined")) | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func getIntOrDefault (address,key,defaultVal) = valueOrElse(getInteger(address, key), defaultVal) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined")) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULT18, toBigInt(origScaleMult)) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULT18)) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func keyFactoryAddress () = "%s%s__config__factoryAddress" | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | let IdxFactoryCfgStakingDapp = 1 | |
73 | 73 | ||
74 | 74 | let IdxFactoryCfgBoostingDapp = 2 | |
75 | 75 | ||
76 | 76 | let IdxFactoryCfgIdoDapp = 3 | |
77 | 77 | ||
78 | 78 | let IdxFactoryCfgTeamDapp = 4 | |
79 | 79 | ||
80 | 80 | let IdxFactoryCfgEmissionDapp = 5 | |
81 | 81 | ||
82 | 82 | let IdxFactoryCfgRestDapp = 6 | |
83 | 83 | ||
84 | 84 | let IdxFactoryCfgSlippageDapp = 7 | |
85 | 85 | ||
86 | 86 | func keyFactoryCfg () = "%s__factoryConfig" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func keyManagerPublicKey () = "%s__managerPublicKey" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey" | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func keyStablePoolAddonAddr () = "%s__stablePoolAddonAddr" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func keyFactoryLpList () = "%s__lpTokensList" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func readLpList (factory) = split(valueOrElse(getString(factory, keyFactoryLpList()), ""), SEP) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp]) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp]) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp]) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current" | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current" | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func keyEmissionStartBlock () = "%s%s__emission__startBlock" | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func keyEmissionDurationInBlocks () = "%s%s__emission__duration" | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func keyEmissionEndBlock () = "%s%s__emission__endBlock" | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func keyClaimedTotal (lpAssetIdStr) = makeString(["%s%s%s__claimed", "total", lpAssetIdStr], SEP) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func readStaked (key) = valueOrElse(getInteger(this, key), 0) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func keyLastTotalLpBalance (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "bal"], SEP) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func keyLastUserLpBalance (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "bal"], SEP) | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func keyTotalLpBalanceIntegral (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "balINT"], SEP) | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func keyUserLpBalanceIntegral (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "balINT"], SEP) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func keyTotalLpBalanceIntegralLastUpdHeight (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "lastUpd"], SEP) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func keyUserLpBalanceIntegralLastUpdHeight (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "lastUpd"], SEP) | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func keyWxPerLpIntegral (lpAssetId) = makeString(["%s%s%s%s", lpAssetId, "common", "lpInt"], SEP) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func keyWxPerLpIntegralLastUpdHeight (lpAssetId) = makeString(["%s%s%s%s", lpAssetId, "common", "lpIntH"], SEP) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func keyWxToClaimUser (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "lpInt"], SEP) | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func keyWxPerLpIntegralUserLastUpdHeight (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "lpIntH"], SEP) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func keyWxPerLp (lpAssetId) = makeString(["%s", lpAssetId, "wxPerLp"], SEP) | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func keyWxPerLpX18 (lpAssetId) = makeString(["%s", lpAssetId, "wxPerLpX18"], SEP) | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func keyWxPerLpIntegralUserLast (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "uIntL"], SEP) | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func keyOperationHistoryRecord (type,userAddress,txId58) = makeString(["%s%s%s%s__history", type, userAddress, txId58], SEP) | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func formatHistoryRecord (userAddress,lpAssetId,type,amount) = makeString(["%s%s%s%d%d%d", userAddress, lpAssetId, type, toString(height), toString(lastBlock.timestamp), toString(amount)], SEP) | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func OperationHistoryEntry (type,userAddress,lpAssetId,amount,txId) = StringEntry(keyOperationHistoryRecord(type, userAddress, toBase58String(txId)), formatHistoryRecord(userAddress, lpAssetId, type, amount)) | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | let factoryAddress = getStringOrFail(keyFactoryAddress()) | |
210 | 210 | ||
211 | 211 | let factoryContract = addressFromStringValue(factoryAddress) | |
212 | 212 | ||
213 | 213 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
214 | 214 | ||
215 | 215 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
216 | 216 | ||
217 | 217 | let boostingContract = getBoostingAddressOrFail(factoryCfg) | |
218 | 218 | ||
219 | 219 | func calcWxPerLpIntegralUserLast (stakedByUser,wxPerLpIntegralUserLastUpdHeightOrZero,wxPerLpIntegralNew,wxPerLpIntegralUserLastKEY) = if (if ((wxPerLpIntegralUserLastUpdHeightOrZero == 0)) | |
220 | 220 | then (stakedByUser > 0) | |
221 | 221 | else false) | |
222 | 222 | then 0 | |
223 | 223 | else if ((stakedByUser == 0)) | |
224 | 224 | then wxPerLpIntegralNew | |
225 | 225 | else if (if ((wxPerLpIntegralUserLastUpdHeightOrZero > 0)) | |
226 | 226 | then (stakedByUser > 0) | |
227 | 227 | else false) | |
228 | 228 | then getIntOrFail(this, wxPerLpIntegralUserLastKEY) | |
229 | 229 | else throw("calcWxPerLpIntegralUserLast: unexpected state") | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func refreshPoolINTEGRALS (lpAssetIdStr,poolAddressStr,lpDeltaAmount) = { | |
233 | 233 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
234 | 234 | let stakedTotal = readStaked(stakedTotalKEY) | |
235 | 235 | let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr)) | |
236 | 236 | let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock()) | |
237 | 237 | let MULT3 = 1000 | |
238 | 238 | let wxEmissionPerBlockX3 = (getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) * MULT3) | |
239 | 239 | let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3)) | |
240 | 240 | let wxPerLpIntegralKEY = keyWxPerLpIntegral(lpAssetIdStr) | |
241 | 241 | let wxPerLpIntegralLastUpdHeightKEY = keyWxPerLpIntegralLastUpdHeight(lpAssetIdStr) | |
242 | 242 | let wxPerLpKEY = keyWxPerLp(lpAssetIdStr) | |
243 | 243 | let wxPerLpIntegralLastUpdHeight = getIntOrDefault(this, wxPerLpIntegralLastUpdHeightKEY, emissionStartBlock) | |
244 | 244 | let wxPerLpIntegral = getIntOrZero(this, wxPerLpIntegralKEY) | |
245 | 245 | let wxPerLpOrZeroX3 = 0 | |
246 | 246 | let dh = max([(height - wxPerLpIntegralLastUpdHeight), 0]) | |
247 | 247 | let wxPerLpX3 = if ((wxPerLpOrZeroX3 != 0)) | |
248 | 248 | then wxPerLpOrZeroX3 | |
249 | 249 | else fraction(poolWxEmissionPerBlockX3, MULT8, stakedTotal) | |
250 | 250 | let stakedTotalNew = (stakedTotal + lpDeltaAmount) | |
251 | 251 | let wxPerLpIntegralNew = (wxPerLpIntegral + (wxPerLpX3 * dh)) | |
252 | 252 | let wxPerLpX3New = (poolWxEmissionPerBlockX3 / stakedTotalNew) | |
253 | 253 | let wxPerLpIntegralLastUpdHeightNew = height | |
254 | 254 | let debug = makeString([toString(wxPerLpIntegralNew), toString(dh), toString(wxPerLpX3), toString(stakedTotal), toString(poolWxEmissionPerBlockX3), toString(wxEmissionPerBlockX3), toString(poolWeight)], "::") | |
255 | 255 | $Tuple3(wxPerLpIntegralNew, [IntegerEntry(wxPerLpIntegralKEY, wxPerLpIntegralNew), IntegerEntry(wxPerLpIntegralLastUpdHeightKEY, wxPerLpIntegralLastUpdHeightNew), IntegerEntry(wxPerLpKEY, wxPerLpX3New)], debug) | |
256 | 256 | } | |
257 | 257 | ||
258 | 258 | ||
259 | 259 | func refreshINTEGRALS (lpAssetIdStr,userAddressStr,poolAddressStr,lpDeltaAmount) = { | |
260 | 260 | let $t01049410616 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, lpDeltaAmount) | |
261 | 261 | let wxPerLpIntegralNew = $t01049410616._1 | |
262 | 262 | let poolIntegralSTATE = $t01049410616._2 | |
263 | 263 | let poolDEBUG = $t01049410616._3 | |
264 | 264 | let MULT3 = 1000 | |
265 | 265 | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
266 | 266 | let stakedByUser = readStaked(stakedByUserKEY) | |
267 | 267 | let wxToClaimUserKEY = keyWxToClaimUser(lpAssetIdStr, userAddressStr) | |
268 | 268 | let wxPerLpIntegralUserLastUpdHeightKEY = keyWxPerLpIntegralUserLastUpdHeight(lpAssetIdStr, userAddressStr) | |
269 | 269 | let wxPerLpIntegralUserLastKEY = keyWxPerLpIntegralUserLast(lpAssetIdStr, userAddressStr) | |
270 | 270 | let wxToClaimUser = getIntOrZero(this, wxToClaimUserKEY) | |
271 | 271 | let wxPerLpIntegralUserLastUpdHeightOrZero = getIntOrZero(this, wxPerLpIntegralUserLastUpdHeightKEY) | |
272 | 272 | let wxPerLpIntegralUserLast = calcWxPerLpIntegralUserLast(stakedByUser, wxPerLpIntegralUserLastUpdHeightOrZero, wxPerLpIntegralNew, wxPerLpIntegralUserLastKEY) | |
273 | 273 | let error = throw(makeString([toString(wxToClaimUser), toString(wxPerLpIntegralNew), toString(wxPerLpIntegralUserLast), toString(stakedByUser)], " ")) | |
274 | 274 | if ((error == error)) | |
275 | 275 | then { | |
276 | - | let | |
277 | - | if (( | |
276 | + | let error2 = throw("error2") | |
277 | + | if ((error2 == error2)) | |
278 | 278 | then { | |
279 | - | let wxPerLpIntegralUserLastNew = wxPerLpIntegralNew | |
280 | - | let wxPerLpIntegralUserLastUpdHeightNew = height | |
281 | - | let debug = makeString([toString(wxToClaimUserNew), toString(wxPerLpIntegralUserLast), toString(stakedByUser), poolDEBUG, toString(height)], "::") | |
282 | - | $Tuple3(wxToClaimUserNew, (poolIntegralSTATE ++ [IntegerEntry(wxToClaimUserKEY, wxToClaimUserNew), IntegerEntry(wxPerLpIntegralUserLastUpdHeightKEY, wxPerLpIntegralUserLastUpdHeightNew), IntegerEntry(wxPerLpIntegralUserLastKEY, wxPerLpIntegralUserLastNew)]), debug) | |
279 | + | let wxToClaimUserNew = (wxToClaimUser + fraction((wxPerLpIntegralNew - wxPerLpIntegralUserLast), stakedByUser, (MULT8 * MULT3))) | |
280 | + | if ((wxToClaimUserNew == wxToClaimUserNew)) | |
281 | + | then { | |
282 | + | let wxPerLpIntegralUserLastNew = wxPerLpIntegralNew | |
283 | + | let wxPerLpIntegralUserLastUpdHeightNew = height | |
284 | + | let debug = makeString([toString(wxToClaimUserNew), toString(wxPerLpIntegralUserLast), toString(stakedByUser), poolDEBUG, toString(height)], "::") | |
285 | + | $Tuple3(wxToClaimUserNew, (poolIntegralSTATE ++ [IntegerEntry(wxToClaimUserKEY, wxToClaimUserNew), IntegerEntry(wxPerLpIntegralUserLastUpdHeightKEY, wxPerLpIntegralUserLastUpdHeightNew), IntegerEntry(wxPerLpIntegralUserLastKEY, wxPerLpIntegralUserLastNew)]), debug) | |
286 | + | } | |
287 | + | else throw("Strict value is not equal to itself.") | |
283 | 288 | } | |
284 | 289 | else throw("Strict value is not equal to itself.") | |
285 | 290 | } | |
286 | 291 | else throw("Strict value is not equal to itself.") | |
287 | 292 | } | |
288 | 293 | ||
289 | 294 | ||
290 | 295 | func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) { | |
291 | 296 | case s: String => | |
292 | 297 | fromBase58String(s) | |
293 | 298 | case _: Unit => | |
294 | 299 | unit | |
295 | 300 | case _ => | |
296 | 301 | throw("Match error") | |
297 | 302 | } | |
298 | 303 | ||
299 | 304 | ||
300 | 305 | func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) { | |
301 | 306 | case s: String => | |
302 | 307 | fromBase58String(s) | |
303 | 308 | case _: Unit => | |
304 | 309 | unit | |
305 | 310 | case _ => | |
306 | 311 | throw("Match error") | |
307 | 312 | } | |
308 | 313 | ||
309 | 314 | ||
310 | 315 | func mustManager (i) = { | |
311 | 316 | let pd = throw("Permission denied") | |
312 | 317 | match managerPublicKeyOrUnit() { | |
313 | 318 | case pk: ByteVector => | |
314 | 319 | if ((i.callerPublicKey == pk)) | |
315 | 320 | then true | |
316 | 321 | else pd | |
317 | 322 | case _: Unit => | |
318 | 323 | if ((i.caller == this)) | |
319 | 324 | then true | |
320 | 325 | else pd | |
321 | 326 | case _ => | |
322 | 327 | throw("Match error") | |
323 | 328 | } | |
324 | 329 | } | |
325 | 330 | ||
326 | 331 | ||
327 | 332 | @Callable(i) | |
328 | 333 | func constructor (factoryAddressStr) = { | |
329 | 334 | let checkCaller = mustManager(i) | |
330 | 335 | if ((checkCaller == checkCaller)) | |
331 | 336 | then [StringEntry(keyFactoryAddress(), factoryAddressStr)] | |
332 | 337 | else throw("Strict value is not equal to itself.") | |
333 | 338 | } | |
334 | 339 | ||
335 | 340 | ||
336 | 341 | ||
337 | 342 | @Callable(i) | |
338 | 343 | func setManager (pendingManagerPublicKey) = { | |
339 | 344 | let checkCaller = mustManager(i) | |
340 | 345 | if ((checkCaller == checkCaller)) | |
341 | 346 | then { | |
342 | 347 | let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey) | |
343 | 348 | if ((checkManagerPublicKey == checkManagerPublicKey)) | |
344 | 349 | then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)] | |
345 | 350 | else throw("Strict value is not equal to itself.") | |
346 | 351 | } | |
347 | 352 | else throw("Strict value is not equal to itself.") | |
348 | 353 | } | |
349 | 354 | ||
350 | 355 | ||
351 | 356 | ||
352 | 357 | @Callable(i) | |
353 | 358 | func confirmManager () = { | |
354 | 359 | let pm = pendingManagerPublicKeyOrUnit() | |
355 | 360 | let hasPM = if (isDefined(pm)) | |
356 | 361 | then true | |
357 | 362 | else throw("No pending manager") | |
358 | 363 | if ((hasPM == hasPM)) | |
359 | 364 | then { | |
360 | 365 | let checkPM = if ((i.callerPublicKey == value(pm))) | |
361 | 366 | then true | |
362 | 367 | else throw("You are not pending manager") | |
363 | 368 | if ((checkPM == checkPM)) | |
364 | 369 | then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())] | |
365 | 370 | else throw("Strict value is not equal to itself.") | |
366 | 371 | } | |
367 | 372 | else throw("Strict value is not equal to itself.") | |
368 | 373 | } | |
369 | 374 | ||
370 | 375 | ||
371 | 376 | ||
372 | 377 | @Callable(i) | |
373 | 378 | func stake () = if ((size(i.payments) != 1)) | |
374 | 379 | then throw("invalid payment - exact one payment must be attached") | |
375 | 380 | else { | |
376 | 381 | let pmt = i.payments[0] | |
377 | 382 | let lpAssetId = value(pmt.assetId) | |
378 | 383 | let lpAssetIdStr = toBase58String(lpAssetId) | |
379 | 384 | let amount = pmt.amount | |
380 | 385 | let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr)) | |
381 | 386 | let callerStr = toString(i.caller) | |
382 | 387 | let userAddressStr = if ((callerStr == poolAddressStr)) | |
383 | 388 | then toString(i.originCaller) | |
384 | 389 | else callerStr | |
385 | 390 | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
386 | 391 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
387 | 392 | let stakedByUser = readStaked(stakedByUserKEY) | |
388 | 393 | let stakedTotal = readStaked(stakedTotalKEY) | |
389 | - | let $ | |
390 | - | let wxToClaimUserNew = $ | |
391 | - | let integralSTATE = $ | |
392 | - | let debug = $ | |
394 | + | let $t01447514592 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, amount) | |
395 | + | let wxToClaimUserNew = $t01447514592._1 | |
396 | + | let integralSTATE = $t01447514592._2 | |
397 | + | let debug = $t01447514592._3 | |
393 | 398 | ([IntegerEntry(stakedByUserKEY, (stakedByUser + amount)), IntegerEntry(stakedTotalKEY, (stakedTotal + amount)), OperationHistoryEntry("stake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) | |
394 | 399 | } | |
395 | 400 | ||
396 | 401 | ||
397 | 402 | ||
398 | 403 | @Callable(i) | |
399 | 404 | func unstake (lpAssetIdStr,amount) = { | |
400 | 405 | let lpAssetId = fromBase58String(lpAssetIdStr) | |
401 | 406 | let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr)) | |
402 | 407 | let poolAddon = valueOrElse(getString(this, keyStablePoolAddonAddr()), poolAddressStr) | |
403 | 408 | let callerStr = toString(i.caller) | |
404 | 409 | let userAddressStr = if (if ((callerStr == poolAddressStr)) | |
405 | 410 | then true | |
406 | 411 | else (callerStr == poolAddon)) | |
407 | 412 | then toString(i.originCaller) | |
408 | 413 | else callerStr | |
409 | 414 | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
410 | 415 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
411 | 416 | let stakedByUser = readStaked(stakedByUserKEY) | |
412 | 417 | let stakedTotal = readStaked(stakedTotalKEY) | |
413 | - | let $ | |
414 | - | let wxToClaimUserNew = $ | |
415 | - | let integralSTATE = $ | |
416 | - | let debug = $ | |
418 | + | let $t01572915847 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, -(amount)) | |
419 | + | let wxToClaimUserNew = $t01572915847._1 | |
420 | + | let integralSTATE = $t01572915847._2 | |
421 | + | let debug = $t01572915847._3 | |
417 | 422 | if ((amount > stakedByUser)) | |
418 | 423 | then throw("passed amount is less then available") | |
419 | 424 | else ([IntegerEntry(stakedByUserKEY, (stakedByUser - amount)), IntegerEntry(stakedTotalKEY, (stakedTotal - amount)), ScriptTransfer(i.caller, amount, lpAssetId), OperationHistoryEntry("unstake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) | |
420 | 425 | } | |
421 | 426 | ||
422 | 427 | ||
423 | 428 | ||
424 | 429 | @Callable(i) | |
425 | 430 | func claimWx (lpAssetIdStr) = { | |
426 | 431 | let userAddress = i.caller | |
427 | 432 | let userAddressStr = toString(i.caller) | |
428 | 433 | let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetIdStr)) | |
429 | 434 | let claimedByUserKEY = keyClaimedByUser(lpAssetIdStr, userAddressStr) | |
430 | 435 | let claimedTotalKEY = keyClaimedTotal(lpAssetIdStr) | |
431 | 436 | let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(lpAssetIdStr, userAddressStr) | |
432 | 437 | let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(lpAssetIdStr, userAddressStr) | |
433 | 438 | let claimedByUser = getIntOrZero(this, claimedByUserKEY) | |
434 | 439 | let claimedByUserMinReward = getIntOrZero(this, claimedByUserMinRewardKEY) | |
435 | 440 | let claimedByUserBoostReward = getIntOrZero(this, claimedByUserBoostRewardKEY) | |
436 | 441 | let claimedTotal = getIntOrZero(this, claimedTotalKEY) | |
437 | - | let $ | |
438 | - | let wxToClaimUserNew = $ | |
439 | - | let integralSTATE = $ | |
440 | - | let debug = $ | |
442 | + | let $t01703917151 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0) | |
443 | + | let wxToClaimUserNew = $t01703917151._1 | |
444 | + | let integralSTATE = $t01703917151._2 | |
445 | + | let debug = $t01703917151._3 | |
441 | 446 | let availableToClaim = (wxToClaimUserNew - claimedByUser) | |
442 | 447 | if ((0 >= availableToClaim)) | |
443 | 448 | then throw("nothing to claim") | |
444 | 449 | else { | |
445 | 450 | let wxAmountBoostTotal = asInt(asAnyList(invoke(boostingContract, "claimWxBoost", [lpAssetIdStr, userAddressStr], nil))[0]) | |
446 | 451 | let minRewardPart = availableToClaim | |
447 | 452 | let boostRewardPart = min([(minRewardPart * 2), wxAmountBoostTotal]) | |
448 | 453 | let wxAssetId = asByteVector(asAnyList(invoke(emissionContract, "emit", [minRewardPart], nil))[0]) | |
449 | 454 | let emitBoost = asAnyList(invoke(emissionContract, "emit", [boostRewardPart], nil)) | |
450 | 455 | if ((emitBoost == emitBoost)) | |
451 | 456 | then [IntegerEntry(claimedByUserKEY, (claimedByUser + availableToClaim)), IntegerEntry(claimedByUserMinRewardKEY, (claimedByUserMinReward + minRewardPart)), IntegerEntry(claimedByUserBoostRewardKEY, (claimedByUserBoostReward + boostRewardPart)), IntegerEntry(claimedTotalKEY, (claimedTotal + availableToClaim)), ScriptTransfer(userAddress, minRewardPart, wxAssetId), ScriptTransfer(userAddress, boostRewardPart, wxAssetId), OperationHistoryEntry("claim", userAddressStr, lpAssetIdStr, availableToClaim, i.transactionId)] | |
452 | 457 | else throw("Strict value is not equal to itself.") | |
453 | 458 | } | |
454 | 459 | } | |
455 | 460 | ||
456 | 461 | ||
457 | 462 | ||
458 | 463 | @Callable(i) | |
459 | 464 | func claimWxREADONLY (lpAssetIdStr,userAddressStr) = { | |
460 | 465 | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
461 | 466 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
462 | 467 | let claimedByUserKEY = keyClaimedByUser(lpAssetIdStr, userAddressStr) | |
463 | 468 | let stakedByUser = readStaked(stakedByUserKEY) | |
464 | 469 | let stakedTotal = readStaked(stakedTotalKEY) | |
465 | 470 | let claimedByUser = getIntOrZero(this, claimedByUserKEY) | |
466 | 471 | let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetIdStr)) | |
467 | 472 | let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr)) | |
468 | 473 | let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) | |
469 | 474 | let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock()) | |
470 | 475 | let passedBlocks = if ((emissionStartBlock > height)) | |
471 | 476 | then 0 | |
472 | 477 | else (height - emissionStartBlock) | |
473 | 478 | let poolWxEmission = fraction((wxEmissionPerBlock * passedBlocks), poolWeight, POOLWEIGHTMULT) | |
474 | 479 | let userWxReward = fraction(poolWxEmission, stakedByUser, stakedTotal) | |
475 | - | let $ | |
476 | - | let wxToClaimUserNew = $ | |
477 | - | let integralSTATE = $ | |
478 | - | let debug = $ | |
480 | + | let $t01935119463 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0) | |
481 | + | let wxToClaimUserNew = $t01935119463._1 | |
482 | + | let integralSTATE = $t01935119463._2 | |
483 | + | let debug = $t01935119463._3 | |
479 | 484 | let availableToClaim = (wxToClaimUserNew - claimedByUser) | |
480 | 485 | let boostInvResult = asAnyList(invoke(boostingContract, "claimWxBoostREADONLY", [lpAssetIdStr, userAddressStr], nil)) | |
481 | 486 | let wxAmountBoostTotal = asInt(boostInvResult[0]) | |
482 | 487 | let boostDebug = asString(boostInvResult[1]) | |
483 | 488 | let minRewardPart = availableToClaim | |
484 | 489 | let boostRewardPart = min([(minRewardPart * 2), wxAmountBoostTotal]) | |
485 | 490 | let totalReward = (minRewardPart + boostRewardPart) | |
486 | 491 | $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", lpAssetIdStr, userAddressStr, toString(totalReward), toString(claimedByUser), toString(minRewardPart), toString(boostRewardPart), ((((debug + "::") + toString(userWxReward)) + "::BOOSTDEBUG::") + boostDebug)], SEP)) | |
487 | 492 | } | |
488 | 493 | ||
489 | 494 | ||
490 | 495 | ||
491 | 496 | @Callable(i) | |
492 | 497 | func onModifyWeight (lpAssetIdStr,poolAddressStr) = if ((i.caller != factoryContract)) | |
493 | 498 | then throw("permissions denied") | |
494 | 499 | else { | |
495 | - | let $ | |
496 | - | let wxPerLpIntegralNew = $ | |
497 | - | let poolIntegralSTATE = $ | |
498 | - | let poolDEBUG = $ | |
500 | + | let $t02034320453 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0) | |
501 | + | let wxPerLpIntegralNew = $t02034320453._1 | |
502 | + | let poolIntegralSTATE = $t02034320453._2 | |
503 | + | let poolDEBUG = $t02034320453._3 | |
499 | 504 | poolIntegralSTATE | |
500 | 505 | } | |
501 | 506 | ||
502 | 507 | ||
503 | 508 | @Verifier(tx) | |
504 | 509 | func verify () = { | |
505 | 510 | let targetPublicKey = match managerPublicKeyOrUnit() { | |
506 | 511 | case pk: ByteVector => | |
507 | 512 | pk | |
508 | 513 | case _: Unit => | |
509 | 514 | tx.senderPublicKey | |
510 | 515 | case _ => | |
511 | 516 | throw("Match error") | |
512 | 517 | } | |
513 | 518 | sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey) | |
514 | 519 | } | |
515 | 520 |
github/deemru/w8io/169f3d6 95.40 ms ◑