tx · 861fPL9byvMuJb2nMZMC2Ty7re92WrN1HXvHjN1P9gQ3

3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz:  -0.03000000 Waves

2022.07.28 18:29 [2159854] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves

{ "type": 13, "id": "861fPL9byvMuJb2nMZMC2Ty7re92WrN1HXvHjN1P9gQ3", "fee": 3000000, "feeAssetId": null, "timestamp": 1659022218205, "version": 1, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "3hQiZV9obdjCV5pMU4fHXMkUzFSjYZceaoF2QQGRaNbK2jRmkb39LdX39q8ZjPZbEL12QFHbJt9xih3q7Em6xyVp" ], "script": "base64:BgJFCAISAwoBCBIDCgEIEgMKAQgSABIAEgQKAggBEgMKAQgSBAoCCAgSBgoEARgIGBIECgIYCBIECgIICBIDCgEIEgQKAggIXQAGU0NBTEU4AAgABU1VTFQ4AIDC1y8AB1NDQUxFMTgAEgAGTVVMVDE4CQC2AgEAgICQu7rWrfANAANTRVACAl9fAA5QT09MV0VJR0hUTVVMVAUFTVVMVDgACnplcm9CaWdJbnQJALYCAQAAAAlvbmVCaWdJbnQJALYCAQABAQlhc0FueUxpc3QBA3ZhbAQHJG1hdGNoMAUDdmFsAwkAAQIFByRtYXRjaDACCUxpc3RbQW55XQQKdmFsQW55THlzdAUHJG1hdGNoMAUKdmFsQW55THlzdAkAAgECG2ZhaWwgdG8gY2FzdCBpbnRvIExpc3RbQW55XQEFYXNJbnQBA3ZhbAQHJG1hdGNoMAUDdmFsAwkAAQIFByRtYXRjaDACA0ludAQGdmFsSW50BQckbWF0Y2gwBQZ2YWxJbnQJAAIBAhVmYWlsIHRvIGNhc3QgaW50byBJbnQBCGFzU3RyaW5nAQN2YWwEByRtYXRjaDAFA3ZhbAMJAAECB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aDEJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCCQELa2V5TmV4dFVzZXIBBQlscEFzc2V0SWQFCG5leHRVc2VyBQNuaWwGCQACAQILTWF0Y2ggZXJyb3IJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAgtNYXRjaCBlcnJvcgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpAQ5vbk1vZGlmeVdlaWdodAIMbHBBc3NldElkU3RyDnBvb2xBZGRyZXNzU3RyAwkBAiE9AggFAWkGY2FsbGVyBQ9mYWN0b3J5Q29udHJhY3QJAAIBAhJwZXJtaXNzaW9ucyBkZW5pZWQEDSR0MDI4Njg0Mjg3OTQJARRyZWZyZXNoUG9vbElOVEVHUkFMUwMFDGxwQXNzZXRJZFN0cgUOcG9vbEFkZHJlc3NTdHIAAAQSd3hQZXJMcEludGVncmFsTmV3CAUNJHQwMjg2ODQyODc5NAJfMQQRcG9vbEludGVncmFsU1RBVEUIBQ0kdDAyODY4NDI4Nzk0Al8yBAlwb29sREVCVUcIBQ0kdDAyODY4NDI4Nzk0Al8zBRFwb29sSW50ZWdyYWxTVEFURQECdHgBBnZlcmlmeQAED3RhcmdldFB1YmxpY0tleQQHJG1hdGNoMAkBFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAwkAAQIFByRtYXRjaDACCkJ5dGVWZWN0b3IEAnBrBQckbWF0Y2gwBQJwawMJAAECBQckbWF0Y2gwAgRVbml0CAUCdHgPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD3RhcmdldFB1YmxpY0tleWydVho=", "chainId": 84, "height": 2159854, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GVfqpGpr5Pas63M2J6AdHTuu5MMK9nmtK84RxRb5v4xb Next: 8rS4kd91RokvqUUaXRYnF8ZeFo57Ac6FYrbiaRDPZ2zs Diff:
OldNewDifferences
527527 else unit
528528 if ((r == r))
529529 then if ((amount > stakedByUser))
530- then throw(((("passed amount=" + toString(amount)) + " is less then available=") + toString(stakedByUser)))
530+ then throw(((((((("passed amount=" + toString(amount)) + " is less then available=") + toString(stakedByUser)) + ". lpAssetId=") + lpAssetIdStr) + ". stakedByUserKEY=") + stakedByUserKEY))
531531 else (([IntegerEntry(stakedByUserKEY, (stakedByUser - amount)), IntegerEntry(stakedTotalKEY, (stakedTotal - amount)), ScriptTransfer(i.caller, amount, lpAssetId), OperationHistoryEntry("unstake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) ++ listActions)
532532 else throw("Strict value is not equal to itself.")
533533 }
558558 let claimedByUserMinReward = getBigIntFromStringOrZero(this, claimedByUserMinRewardKEY)
559559 let claimedByUserBoostReward = getBigIntFromStringOrZero(this, claimedByUserBoostRewardKEY)
560560 let claimedTotal = getBigIntFromStringOrZero(this, claimedTotalKEY)
561- let $t02263722749 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
562- let wxToClaimUserNew = $t02263722749._1
563- let integralSTATE = $t02263722749._2
564- let debug = $t02263722749._3
561+ let $t02270222814 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
562+ let wxToClaimUserNew = $t02270222814._1
563+ let integralSTATE = $t02270222814._2
564+ let debug = $t02270222814._3
565565 let availableToClaim = max([(wxToClaimUserNew - claimedByUser), zeroBigInt])
566566 if ((zeroBigInt >= availableToClaim))
567567 then throw("nothing to claim")
639639 else (height - emissionStartBlock)
640640 let poolWxEmission = fraction((wxEmissionPerBlock * passedBlocks), poolWeight, POOLWEIGHTMULT)
641641 let userWxReward = fraction(poolWxEmission, stakedByUser, stakedTotal)
642- let $t02620726319 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
643- let wxToClaimUserNew = $t02620726319._1
644- let integralSTATE = $t02620726319._2
645- let debug = $t02620726319._3
642+ let $t02627226384 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
643+ let wxToClaimUserNew = $t02627226384._1
644+ let integralSTATE = $t02627226384._2
645+ let debug = $t02627226384._3
646646 let availableToClaim = max([(wxToClaimUserNew - claimedByUser), zeroBigInt])
647647 let boostInvResult = asAnyList(invoke(boostingContract, "claimWxBoostREADONLY", [lpAssetIdStr, userAddressStr], nil))
648648 let wxAmountBoostTotal = max([asInt(boostInvResult[0]), 0])
709709 func onModifyWeight (lpAssetIdStr,poolAddressStr) = if ((i.caller != factoryContract))
710710 then throw("permissions denied")
711711 else {
712- let $t02861928729 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0)
713- let wxPerLpIntegralNew = $t02861928729._1
714- let poolIntegralSTATE = $t02861928729._2
715- let poolDEBUG = $t02861928729._3
712+ let $t02868428794 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0)
713+ let wxPerLpIntegralNew = $t02868428794._1
714+ let poolIntegralSTATE = $t02868428794._2
715+ let poolDEBUG = $t02868428794._3
716716 poolIntegralSTATE
717717 }
718718
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SCALE8 = 8
55
66 let MULT8 = 100000000
77
88 let SCALE18 = 18
99
1010 let MULT18 = toBigInt(1000000000000000000)
1111
1212 let SEP = "__"
1313
1414 let POOLWEIGHTMULT = MULT8
1515
1616 let zeroBigInt = toBigInt(0)
1717
1818 let oneBigInt = toBigInt(1)
1919
2020 func asAnyList (val) = match val {
2121 case valAnyLyst: List[Any] =>
2222 valAnyLyst
2323 case _ =>
2424 throw("fail to cast into List[Any]")
2525 }
2626
2727
2828 func asInt (val) = match val {
2929 case valInt: Int =>
3030 valInt
3131 case _ =>
3232 throw("fail to cast into Int")
3333 }
3434
3535
3636 func asString (val) = match val {
3737 case valStr: String =>
3838 valStr
3939 case _ =>
4040 throw("fail to cast into Int")
4141 }
4242
4343
4444 func asByteVector (val) = match val {
4545 case valBin: ByteVector =>
4646 valBin
4747 case _ =>
4848 throw("fail to cast into Int")
4949 }
5050
5151
5252 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (("mandatory this." + key) + " is not defined"))
5353
5454
5555 func getStringByAddressOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined"))
5656
5757
5858 func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0)
5959
6060
6161 func getIntOrDefault (address,key,defaultVal) = valueOrElse(getInteger(address, key), defaultVal)
6262
6363
6464 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined"))
6565
6666
6767 func getBigIntFromStringOrZero (address,key) = value(parseBigInt(valueOrElse(getString(address, key), "0")))
6868
6969
7070 func getBigIntFromStringOrDefault (address,key,defaultVal) = match getString(address, key) {
7171 case s: String =>
7272 value(parseBigInt(s))
7373 case _: Unit =>
7474 defaultVal
7575 case _ =>
7676 throw("Match error")
7777 }
7878
7979
8080 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULT18, toBigInt(origScaleMult))
8181
8282
8383 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULT18))
8484
8585
8686 func keyFactoryAddress () = "%s%s__config__factoryAddress"
8787
8888
8989 func keyVotingEmissionContract () = "%s__votingEmissionContract"
9090
9191
9292 let IdxFactoryCfgStakingDapp = 1
9393
9494 let IdxFactoryCfgBoostingDapp = 2
9595
9696 let IdxFactoryCfgIdoDapp = 3
9797
9898 let IdxFactoryCfgTeamDapp = 4
9999
100100 let IdxFactoryCfgEmissionDapp = 5
101101
102102 let IdxFactoryCfgRestDapp = 6
103103
104104 let IdxFactoryCfgSlippageDapp = 7
105105
106106 func keyFactoryCfg () = "%s__factoryConfig"
107107
108108
109109 func keyManagerPublicKey () = "%s__managerPublicKey"
110110
111111
112112 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
113113
114114
115115 func keyStablePoolAddonAddr () = "%s__stablePoolAddonAddr"
116116
117117
118118 func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
119119
120120
121121 func keyFactoryLpList () = "%s__lpTokensList"
122122
123123
124124 func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
125125
126126
127127 func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP)
128128
129129
130130 func readLpList (factory) = split(valueOrElse(getString(factory, keyFactoryLpList()), ""), SEP)
131131
132132
133133 func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP)
134134
135135
136136 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
137137
138138
139139 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
140140
141141
142142 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
143143
144144
145145 func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current"
146146
147147
148148 func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current"
149149
150150
151151 func keyEmissionStartBlock () = "%s%s__emission__startBlock"
152152
153153
154154 func keyEmissionDurationInBlocks () = "%s%s__emission__duration"
155155
156156
157157 func keyEmissionEndBlock () = "%s%s__emission__endBlock"
158158
159159
160160 func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP)
161161
162162
163163 func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr)
164164
165165
166166 func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP)
167167
168168
169169 func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP)
170170
171171
172172 func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP)
173173
174174
175175 func keyClaimedTotal (lpAssetIdStr) = makeString(["%s%s%s__claimed__total", lpAssetIdStr], SEP)
176176
177177
178178 func readStaked (key) = valueOrElse(getInteger(this, key), 0)
179179
180180
181181 func keyLastTotalLpBalance (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "bal"], SEP)
182182
183183
184184 func keyLastUserLpBalance (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "bal"], SEP)
185185
186186
187187 func keyTotalLpBalanceIntegral (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "balINT"], SEP)
188188
189189
190190 func keyUserLpBalanceIntegral (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "balINT"], SEP)
191191
192192
193193 func keyTotalLpBalanceIntegralLastUpdHeight (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "lastUpd"], SEP)
194194
195195
196196 func keyUserLpBalanceIntegralLastUpdHeight (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "lastUpd"], SEP)
197197
198198
199199 func keyWxPerLpIntegral (lpAssetId) = makeString(["%s%s%s%s", lpAssetId, "common", "lpInt"], SEP)
200200
201201
202202 func keyWxPerLpIntegralLastUpdHeight (lpAssetId) = makeString(["%s%s%s%s", lpAssetId, "common", "lpIntH"], SEP)
203203
204204
205205 func keyWxToClaimUser (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "lpInt"], SEP)
206206
207207
208208 func keyWxPerLpIntegralUserLastUpdHeight (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "lpIntH"], SEP)
209209
210210
211211 func keyWxPerLp (lpAssetId) = makeString(["%s", lpAssetId, "wxPerLp"], SEP)
212212
213213
214214 func keyWxPerLpX18 (lpAssetId) = makeString(["%s", lpAssetId, "wxPerLpX18"], SEP)
215215
216216
217217 func keyWxPerLpIntegralUserLast (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "uIntL"], SEP)
218218
219219
220220 func keyOperationHistoryRecord (type,userAddress,txId58) = makeString(["%s%s%s%s__history", type, userAddress, txId58], SEP)
221221
222222
223223 func formatHistoryRecord (userAddress,lpAssetId,type,amount) = makeString(["%s%s%s%d%d%d", userAddress, lpAssetId, type, toString(height), toString(lastBlock.timestamp), toString(amount)], SEP)
224224
225225
226226 func OperationHistoryEntry (type,userAddress,lpAssetId,amount,txId) = StringEntry(keyOperationHistoryRecord(type, userAddress, toBase58String(txId)), formatHistoryRecord(userAddress, lpAssetId, type, amount))
227227
228228
229229 let factoryAddress = getStringOrFail(this, keyFactoryAddress())
230230
231231 let factoryContract = addressFromStringValue(factoryAddress)
232232
233233 let factoryCfg = readFactoryCfgOrFail(factoryContract)
234234
235235 let emissionContract = getEmissionAddressOrFail(factoryCfg)
236236
237237 let boostingContract = getBoostingAddressOrFail(factoryCfg)
238238
239239 func keyNextUser (lpAssetId) = makeString(["%s%s", lpAssetId, "nextUser"], SEP)
240240
241241
242242 func getUsersListName (lpAssetId) = makeString(["users", lpAssetId], SEP)
243243
244244
245245 func keyListHead (listName) = makeString(["%s%s%s", listName, "head"], SEP)
246246
247247
248248 func keyListSize (listName) = makeString(["%s%s%s", listName, "size"], SEP)
249249
250250
251251 func keyListPrev (listName,id) = makeString(["%s%s%s%s", listName, id, "prev"], SEP)
252252
253253
254254 func keyListNext (listName,id) = makeString(["%s%s%s%s", listName, id, "next"], SEP)
255255
256256
257257 func containsNode (listName,id) = {
258258 let headOrUnit = getString(this, keyListHead(listName))
259259 let prevOrUnit = getString(this, keyListPrev(listName, id))
260260 let nextOrUnit = getString(this, keyListNext(listName, id))
261261 if (if ((id == valueOrElse(headOrUnit, "")))
262262 then true
263263 else (prevOrUnit != unit))
264264 then true
265265 else (nextOrUnit != unit)
266266 }
267267
268268
269269 func insertNodeActions (listName,id) = {
270270 let headOrUnit = getString(this, keyListHead(listName))
271271 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
272272 let checkNode = if (!(containsNode(listName, id)))
273273 then true
274274 else throw("Node exists")
275275 if ((checkNode == checkNode))
276276 then (([IntegerEntry(keyListSize(listName), (listSize + 1))] ++ (if ((headOrUnit != unit))
277277 then [StringEntry(keyListNext(listName, id), value(headOrUnit)), StringEntry(keyListPrev(listName, value(headOrUnit)), id)]
278278 else nil)) ++ [StringEntry(keyListHead(listName), id)])
279279 else throw("Strict value is not equal to itself.")
280280 }
281281
282282
283283 func deleteNodeActions (listName,id) = {
284284 let headOrUnit = getString(this, keyListHead(listName))
285285 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
286286 let prevOrUnit = getString(this, keyListPrev(listName, id))
287287 let nextOrUnit = getString(this, keyListNext(listName, id))
288288 ([IntegerEntry(keyListSize(listName), (listSize - 1))] ++ (if (if ((prevOrUnit != unit))
289289 then (nextOrUnit != unit)
290290 else false)
291291 then [StringEntry(keyListNext(listName, value(prevOrUnit)), value(nextOrUnit)), StringEntry(keyListPrev(listName, value(nextOrUnit)), value(prevOrUnit)), DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, id))]
292292 else if ((nextOrUnit != unit))
293293 then [StringEntry(keyListHead(listName), value(nextOrUnit)), DeleteEntry(keyListNext(listName, id)), DeleteEntry(keyListPrev(listName, value(nextOrUnit)))]
294294 else if ((prevOrUnit != unit))
295295 then [DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, value(prevOrUnit)))]
296296 else if ((id == valueOrElse(headOrUnit, "")))
297297 then [DeleteEntry(keyListHead(listName))]
298298 else throw(((("invalid node: " + listName) + ".") + id))))
299299 }
300300
301301
302302 func calcWxPerLpIntegralUserLast (stakedByUser,wxPerLpIntegralUserLastUpdHeightOrZero,wxPerLpIntegralNew,wxPerLpIntegralUserLastKEY) = if (if ((wxPerLpIntegralUserLastUpdHeightOrZero == zeroBigInt))
303303 then (stakedByUser > zeroBigInt)
304304 else false)
305305 then zeroBigInt
306306 else if ((stakedByUser == zeroBigInt))
307307 then wxPerLpIntegralNew
308308 else if (if ((wxPerLpIntegralUserLastUpdHeightOrZero > zeroBigInt))
309309 then (stakedByUser > zeroBigInt)
310310 else false)
311311 then value(parseBigInt(getStringOrFail(this, wxPerLpIntegralUserLastKEY)))
312312 else throw("calcWxPerLpIntegralUserLast: unexpected state")
313313
314314
315315 func refreshPoolINTEGRALS (lpAssetIdStr,poolAddressStr,lpDeltaAmount) = {
316316 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
317317 let stakedTotal = toBigInt(readStaked(stakedTotalKEY))
318318 let nonZeroStakedTotal = if ((stakedTotal == zeroBigInt))
319319 then oneBigInt
320320 else stakedTotal
321321 let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr))
322322 let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock())
323323 let MULT3 = 1000
324324 let wxEmissionPerBlockX3 = (getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) * MULT3)
325325 let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3))
326326 let wxPerLpIntegralKEY = keyWxPerLpIntegral(lpAssetIdStr)
327327 let wxPerLpIntegralLastUpdHeightKEY = keyWxPerLpIntegralLastUpdHeight(lpAssetIdStr)
328328 let wxPerLpKEY = keyWxPerLp(lpAssetIdStr)
329329 let wxPerLpIntegralLastUpdHeight = getIntOrDefault(this, wxPerLpIntegralLastUpdHeightKEY, emissionStartBlock)
330330 let wxPerLpIntegral = getBigIntFromStringOrZero(this, wxPerLpIntegralKEY)
331331 let wxPerLpOrZeroX3 = 0
332332 let dh = max([(height - wxPerLpIntegralLastUpdHeight), 0])
333333 let wxPerLpX3 = if ((wxPerLpOrZeroX3 != 0))
334334 then toBigInt(wxPerLpOrZeroX3)
335335 else fraction(toBigInt(poolWxEmissionPerBlockX3), toBigInt(MULT8), nonZeroStakedTotal)
336336 let stakedTotalNew = (stakedTotal + toBigInt(lpDeltaAmount))
337337 let nonZeroStakedTotalNew = if ((stakedTotalNew == zeroBigInt))
338338 then oneBigInt
339339 else stakedTotalNew
340340 let wxPerLpIntegralNew = (wxPerLpIntegral + (wxPerLpX3 * toBigInt(dh)))
341341 let wxPerLpX3New = (toBigInt(poolWxEmissionPerBlockX3) / nonZeroStakedTotalNew)
342342 let wxPerLpIntegralLastUpdHeightNew = height
343343 let debug = makeString([toString(wxPerLpIntegralNew), toString(dh), toString(wxPerLpX3), toString(stakedTotal), toString(poolWxEmissionPerBlockX3), toString(wxEmissionPerBlockX3), toString(poolWeight)], "::")
344344 $Tuple3(wxPerLpIntegralNew, [StringEntry(wxPerLpIntegralKEY, toString(wxPerLpIntegralNew)), IntegerEntry(wxPerLpIntegralLastUpdHeightKEY, wxPerLpIntegralLastUpdHeightNew), StringEntry(wxPerLpKEY, toString(wxPerLpX3New))], debug)
345345 }
346346
347347
348348 func refreshINTEGRALS (lpAssetIdStr,userAddressStr,poolAddressStr,lpDeltaAmount) = {
349349 let $t01421714339 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, lpDeltaAmount)
350350 let wxPerLpIntegralNew = $t01421714339._1
351351 let poolIntegralSTATE = $t01421714339._2
352352 let poolDEBUG = $t01421714339._3
353353 let MULT3 = 1000
354354 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
355355 let stakedByUser = readStaked(stakedByUserKEY)
356356 let wxToClaimUserKEY = keyWxToClaimUser(lpAssetIdStr, userAddressStr)
357357 let wxPerLpIntegralUserLastUpdHeightKEY = keyWxPerLpIntegralUserLastUpdHeight(lpAssetIdStr, userAddressStr)
358358 let wxPerLpIntegralUserLastKEY = keyWxPerLpIntegralUserLast(lpAssetIdStr, userAddressStr)
359359 let wxToClaimUser = getBigIntFromStringOrZero(this, wxToClaimUserKEY)
360360 let wxPerLpIntegralUserLastUpdHeightOrZero = getIntOrZero(this, wxPerLpIntegralUserLastUpdHeightKEY)
361361 let wxPerLpIntegralUserLast = calcWxPerLpIntegralUserLast(toBigInt(stakedByUser), toBigInt(wxPerLpIntegralUserLastUpdHeightOrZero), wxPerLpIntegralNew, wxPerLpIntegralUserLastKEY)
362362 let MULT11 = (MULT8 * MULT3)
363363 let wxToClaimUserNew = max([(wxToClaimUser + fraction((wxPerLpIntegralNew - wxPerLpIntegralUserLast), toBigInt(stakedByUser), toBigInt(MULT11))), zeroBigInt])
364364 let wxPerLpIntegralUserLastNew = wxPerLpIntegralNew
365365 let wxPerLpIntegralUserLastUpdHeightNew = height
366366 let debug = makeString([toString(wxToClaimUser), toString(wxPerLpIntegralUserLast), toString(stakedByUser), poolDEBUG, toString(height)], "::")
367367 $Tuple3(wxToClaimUserNew, (poolIntegralSTATE ++ [StringEntry(wxToClaimUserKEY, toString(wxToClaimUserNew)), IntegerEntry(wxPerLpIntegralUserLastUpdHeightKEY, wxPerLpIntegralUserLastUpdHeightNew), StringEntry(wxPerLpIntegralUserLastKEY, toString(wxPerLpIntegralUserLastNew))]), debug)
368368 }
369369
370370
371371 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
372372 case s: String =>
373373 fromBase58String(s)
374374 case _: Unit =>
375375 unit
376376 case _ =>
377377 throw("Match error")
378378 }
379379
380380
381381 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
382382 case s: String =>
383383 fromBase58String(s)
384384 case _: Unit =>
385385 unit
386386 case _ =>
387387 throw("Match error")
388388 }
389389
390390
391391 let permissionDeniedError = throw("Permission denied")
392392
393393 func mustThis (i) = if ((i.caller == this))
394394 then true
395395 else permissionDeniedError
396396
397397
398398 func mustManager (i) = match managerPublicKeyOrUnit() {
399399 case pk: ByteVector =>
400400 if ((i.callerPublicKey == pk))
401401 then true
402402 else permissionDeniedError
403403 case _: Unit =>
404404 if ((i.caller == this))
405405 then true
406406 else permissionDeniedError
407407 case _ =>
408408 throw("Match error")
409409 }
410410
411411
412412 @Callable(i)
413413 func constructor (factoryAddressStr) = {
414414 let checkCaller = mustManager(i)
415415 if ((checkCaller == checkCaller))
416416 then [StringEntry(keyFactoryAddress(), factoryAddressStr)]
417417 else throw("Strict value is not equal to itself.")
418418 }
419419
420420
421421
422422 @Callable(i)
423423 func constructorV2 (votingEmissionContract) = {
424424 let cheks = [mustManager(i), if ((addressFromString(votingEmissionContract) != unit))
425425 then true
426426 else "invalid voting emission contract address"]
427427 if ((cheks == cheks))
428428 then [StringEntry(keyVotingEmissionContract(), votingEmissionContract)]
429429 else throw("Strict value is not equal to itself.")
430430 }
431431
432432
433433
434434 @Callable(i)
435435 func setManager (pendingManagerPublicKey) = {
436436 let checkCaller = mustManager(i)
437437 if ((checkCaller == checkCaller))
438438 then {
439439 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
440440 if ((checkManagerPublicKey == checkManagerPublicKey))
441441 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
442442 else throw("Strict value is not equal to itself.")
443443 }
444444 else throw("Strict value is not equal to itself.")
445445 }
446446
447447
448448
449449 @Callable(i)
450450 func confirmManager () = {
451451 let pm = pendingManagerPublicKeyOrUnit()
452452 let hasPM = if (isDefined(pm))
453453 then true
454454 else throw("No pending manager")
455455 if ((hasPM == hasPM))
456456 then {
457457 let checkPM = if ((i.callerPublicKey == value(pm)))
458458 then true
459459 else throw("You are not pending manager")
460460 if ((checkPM == checkPM))
461461 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
462462 else throw("Strict value is not equal to itself.")
463463 }
464464 else throw("Strict value is not equal to itself.")
465465 }
466466
467467
468468
469469 @Callable(i)
470470 func stake () = if ((size(i.payments) != 1))
471471 then throw("invalid payment - exact one payment must be attached")
472472 else {
473473 let pmt = i.payments[0]
474474 let lpAssetId = value(pmt.assetId)
475475 let lpAssetIdStr = toBase58String(lpAssetId)
476476 let amount = pmt.amount
477477 let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr))
478478 let callerStr = toString(i.caller)
479479 let userAddressStr = if ((callerStr == poolAddressStr))
480480 then toString(i.originCaller)
481481 else callerStr
482482 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
483483 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
484484 let stakedByUser = readStaked(stakedByUserKEY)
485485 let stakedTotal = readStaked(stakedTotalKEY)
486486 let $t01877518892 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, amount)
487487 let wxToClaimUserNew = $t01877518892._1
488488 let integralSTATE = $t01877518892._2
489489 let debug = $t01877518892._3
490490 let listName = getUsersListName(lpAssetIdStr)
491491 let listActions = if (containsNode(listName, userAddressStr))
492492 then nil
493493 else insertNodeActions(listName, userAddressStr)
494494 (([IntegerEntry(stakedByUserKEY, (stakedByUser + amount)), IntegerEntry(stakedTotalKEY, (stakedTotal + amount)), OperationHistoryEntry("stake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) ++ listActions)
495495 }
496496
497497
498498
499499 @Callable(i)
500500 func unstake (lpAssetIdStr,amount) = {
501501 let lpAssetId = fromBase58String(lpAssetIdStr)
502502 let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr))
503503 let poolAddon = valueOrElse(getString(this, keyStablePoolAddonAddr()), poolAddressStr)
504504 let callerStr = toString(i.caller)
505505 let userAddressStr = if (if ((callerStr == poolAddressStr))
506506 then true
507507 else (callerStr == poolAddon))
508508 then toString(i.originCaller)
509509 else callerStr
510510 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
511511 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
512512 let stakedByUser = readStaked(stakedByUserKEY)
513513 let stakedTotal = readStaked(stakedTotalKEY)
514514 let integralSTATE = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, -(amount))._2
515515 let listName = getUsersListName(lpAssetIdStr)
516516 let listActions = if (if (containsNode(listName, userAddressStr))
517517 then (amount == stakedByUser)
518518 else false)
519519 then deleteNodeActions(listName, userAddressStr)
520520 else nil
521521 let claimedByUser = getBigIntFromStringOrZero(this, keyClaimedByUser(lpAssetIdStr, userAddressStr))
522522 let poolAddress = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetIdStr))
523523 let wxToClaimUserNew = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddress, 0)._1
524524 let availableToClaim = (wxToClaimUserNew - claimedByUser)
525525 let r = if ((availableToClaim > zeroBigInt))
526526 then invoke(this, "claimWxINTERNAL", [lpAssetIdStr, userAddressStr], nil)
527527 else unit
528528 if ((r == r))
529529 then if ((amount > stakedByUser))
530- then throw(((("passed amount=" + toString(amount)) + " is less then available=") + toString(stakedByUser)))
530+ then throw(((((((("passed amount=" + toString(amount)) + " is less then available=") + toString(stakedByUser)) + ". lpAssetId=") + lpAssetIdStr) + ". stakedByUserKEY=") + stakedByUserKEY))
531531 else (([IntegerEntry(stakedByUserKEY, (stakedByUser - amount)), IntegerEntry(stakedTotalKEY, (stakedTotal - amount)), ScriptTransfer(i.caller, amount, lpAssetId), OperationHistoryEntry("unstake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) ++ listActions)
532532 else throw("Strict value is not equal to itself.")
533533 }
534534
535535
536536
537537 @Callable(i)
538538 func claimWx (lpAssetIdStr) = {
539539 let userAddressStr = toString(i.caller)
540540 let result = invoke(this, "claimWxINTERNAL", [lpAssetIdStr, userAddressStr], nil)
541541 $Tuple2(nil, result)
542542 }
543543
544544
545545
546546 @Callable(i)
547547 func claimWxINTERNAL (lpAssetIdStr,userAddressStr) = {
548548 let checkCaller = mustThis(i)
549549 if ((checkCaller == checkCaller))
550550 then {
551551 let userAddress = valueOrErrorMessage(addressFromString(userAddressStr), "claimWxINTERNAL: invalid user address")
552552 let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetIdStr))
553553 let claimedByUserKEY = keyClaimedByUser(lpAssetIdStr, userAddressStr)
554554 let claimedTotalKEY = keyClaimedTotal(lpAssetIdStr)
555555 let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(lpAssetIdStr, userAddressStr)
556556 let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(lpAssetIdStr, userAddressStr)
557557 let claimedByUser = getBigIntFromStringOrZero(this, claimedByUserKEY)
558558 let claimedByUserMinReward = getBigIntFromStringOrZero(this, claimedByUserMinRewardKEY)
559559 let claimedByUserBoostReward = getBigIntFromStringOrZero(this, claimedByUserBoostRewardKEY)
560560 let claimedTotal = getBigIntFromStringOrZero(this, claimedTotalKEY)
561- let $t02263722749 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
562- let wxToClaimUserNew = $t02263722749._1
563- let integralSTATE = $t02263722749._2
564- let debug = $t02263722749._3
561+ let $t02270222814 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
562+ let wxToClaimUserNew = $t02270222814._1
563+ let integralSTATE = $t02270222814._2
564+ let debug = $t02270222814._3
565565 let availableToClaim = max([(wxToClaimUserNew - claimedByUser), zeroBigInt])
566566 if ((zeroBigInt >= availableToClaim))
567567 then throw("nothing to claim")
568568 else {
569569 let wxAmountBoostTotal = max([asInt(asAnyList(invoke(boostingContract, "claimWxBoost", [lpAssetIdStr, userAddressStr], nil))[0]), 0])
570570 let minRewardPart = availableToClaim
571571 let boostRewardPart = min([(minRewardPart * toBigInt(2)), toBigInt(wxAmountBoostTotal)])
572572 let wxAssetId = asByteVector(asAnyList(invoke(emissionContract, "emit", [toInt(minRewardPart)], nil))[0])
573573 let emitBoost = asAnyList(invoke(emissionContract, "emit", [toInt(boostRewardPart)], nil))
574574 if ((emitBoost == emitBoost))
575575 then {
576576 let claimedByUserValue = (claimedByUser + availableToClaim)
577577 let claimedByUserMinRewardPlusPart = (claimedByUserMinReward + minRewardPart)
578578 let claimedByUserBoostRewardPlusBoostRewardPart = (claimedByUserMinReward + minRewardPart)
579579 let claimedTotalPlusAvailableToClaim = (claimedByUserMinReward + minRewardPart)
580580 [StringEntry(claimedByUserKEY, toString(claimedByUserValue)), StringEntry(claimedByUserMinRewardKEY, toString(claimedByUserMinRewardPlusPart)), StringEntry(claimedByUserBoostRewardKEY, toString(claimedByUserBoostRewardPlusBoostRewardPart)), StringEntry(claimedTotalKEY, toString(claimedTotalPlusAvailableToClaim)), ScriptTransfer(userAddress, toInt(minRewardPart), wxAssetId), ScriptTransfer(userAddress, toInt(boostRewardPart), wxAssetId), OperationHistoryEntry("claim", userAddressStr, lpAssetIdStr, toInt(availableToClaim), i.transactionId)]
581581 }
582582 else throw("Strict value is not equal to itself.")
583583 }
584584 }
585585 else throw("Strict value is not equal to itself.")
586586 }
587587
588588
589589
590590 @Callable(i)
591591 func claimWxBulkInternalREADONLY (currentIter,lpAssetIds,userAddressStr,resAcc) = if ((currentIter == size(lpAssetIds)))
592592 then $Tuple2(nil, resAcc)
593593 else {
594594 let lpAssetId = lpAssetIds[currentIter]
595595 let info = split({
596596 let @ = invoke(this, "claimWxREADONLY", [lpAssetId, userAddressStr], nil)
597597 if ($isInstanceOf(@, "String"))
598598 then @
599599 else throw(($getType(invoke(this, "claimWxREADONLY", [lpAssetId, userAddressStr], nil)) + " couldn't be cast to String"))
600600 }, SEP)
601601 let unclaimed = info[3]
602602 let claimed = info[4]
603603 let res = (resAcc :+ makeString(["%d%d", unclaimed, claimed], SEP))
604604 let inv = {
605605 let @ = invoke(this, "claimWxBulkInternalREADONLY", [(currentIter + 1), lpAssetIds, userAddressStr, res], nil)
606606 if ($isInstanceOf(@, "List[Any]"))
607607 then @
608608 else throw(($getType(invoke(this, "claimWxBulkInternalREADONLY", [(currentIter + 1), lpAssetIds, userAddressStr, res], nil)) + " couldn't be cast to List[Any]"))
609609 }
610610 if ((inv == inv))
611611 then $Tuple2(nil, inv)
612612 else throw("Strict value is not equal to itself.")
613613 }
614614
615615
616616
617617 @Callable(i)
618618 func claimWxBulkREADONLY (lpAssetIds,userAddressStr) = {
619619 let res = invoke(this, "claimWxBulkInternalREADONLY", [0, lpAssetIds, userAddressStr, nil], nil)
620620 $Tuple2(nil, res)
621621 }
622622
623623
624624
625625 @Callable(i)
626626 func claimWxREADONLY (lpAssetIdStr,userAddressStr) = {
627627 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
628628 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
629629 let claimedByUserKEY = keyClaimedByUser(lpAssetIdStr, userAddressStr)
630630 let stakedByUser = readStaked(stakedByUserKEY)
631631 let stakedTotal = readStaked(stakedTotalKEY)
632632 let claimedByUser = getBigIntFromStringOrZero(this, claimedByUserKEY)
633633 let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetIdStr))
634634 let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr))
635635 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
636636 let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock())
637637 let passedBlocks = if ((emissionStartBlock > height))
638638 then 0
639639 else (height - emissionStartBlock)
640640 let poolWxEmission = fraction((wxEmissionPerBlock * passedBlocks), poolWeight, POOLWEIGHTMULT)
641641 let userWxReward = fraction(poolWxEmission, stakedByUser, stakedTotal)
642- let $t02620726319 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
643- let wxToClaimUserNew = $t02620726319._1
644- let integralSTATE = $t02620726319._2
645- let debug = $t02620726319._3
642+ let $t02627226384 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
643+ let wxToClaimUserNew = $t02627226384._1
644+ let integralSTATE = $t02627226384._2
645+ let debug = $t02627226384._3
646646 let availableToClaim = max([(wxToClaimUserNew - claimedByUser), zeroBigInt])
647647 let boostInvResult = asAnyList(invoke(boostingContract, "claimWxBoostREADONLY", [lpAssetIdStr, userAddressStr], nil))
648648 let wxAmountBoostTotal = max([asInt(boostInvResult[0]), 0])
649649 let boostDebug = asString(boostInvResult[1])
650650 let minRewardPart = availableToClaim
651651 let boostRewardPart = min([(minRewardPart * toBigInt(2)), toBigInt(wxAmountBoostTotal)])
652652 let totalReward = (minRewardPart + boostRewardPart)
653653 $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", lpAssetIdStr, userAddressStr, toString(totalReward), toString(claimedByUser), toString(minRewardPart), toString(boostRewardPart), "soon"], SEP))
654654 }
655655
656656
657657
658658 @Callable(i)
659659 func usersListTraversal (lpAssetId) = {
660660 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionContract()), "")))
661661 then true
662662 else mustManager(i)
663663 if ((checkCaller == checkCaller))
664664 then {
665665 let listName = getUsersListName(lpAssetId)
666666 let userOrUnit = getString(keyNextUser(lpAssetId))
667667 let headOrUnit = getString(keyListHead(listName))
668668 match userOrUnit {
669669 case _: Unit =>
670670 match headOrUnit {
671671 case _: Unit =>
672672 $Tuple2(nil, false)
673673 case head: String =>
674674 $Tuple2([StringEntry(keyNextUser(lpAssetId), head)], true)
675675 case _ =>
676676 throw("Match error")
677677 }
678678 case userAddress: String =>
679679 let claimedByUser = getBigIntFromStringOrZero(this, keyClaimedByUser(lpAssetId, userAddress))
680680 let poolAddress = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetId))
681681 let wxToClaimUserNew = refreshINTEGRALS(lpAssetId, userAddress, poolAddress, 0)._1
682682 let availableToClaim = (wxToClaimUserNew - claimedByUser)
683683 let r = if ((availableToClaim > zeroBigInt))
684684 then invoke(this, "claimWxINTERNAL", [lpAssetId, userAddress], nil)
685685 else unit
686686 if ((r == r))
687687 then {
688688 let nextUserOrUnit = getString(keyListNext(listName, userAddress))
689689 match nextUserOrUnit {
690690 case _: Unit =>
691691 $Tuple2([DeleteEntry(keyNextUser(lpAssetId))], false)
692692 case nextUser: String =>
693693 $Tuple2([StringEntry(keyNextUser(lpAssetId), nextUser)], true)
694694 case _ =>
695695 throw("Match error")
696696 }
697697 }
698698 else throw("Strict value is not equal to itself.")
699699 case _ =>
700700 throw("Match error")
701701 }
702702 }
703703 else throw("Strict value is not equal to itself.")
704704 }
705705
706706
707707
708708 @Callable(i)
709709 func onModifyWeight (lpAssetIdStr,poolAddressStr) = if ((i.caller != factoryContract))
710710 then throw("permissions denied")
711711 else {
712- let $t02861928729 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0)
713- let wxPerLpIntegralNew = $t02861928729._1
714- let poolIntegralSTATE = $t02861928729._2
715- let poolDEBUG = $t02861928729._3
712+ let $t02868428794 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0)
713+ let wxPerLpIntegralNew = $t02868428794._1
714+ let poolIntegralSTATE = $t02868428794._2
715+ let poolDEBUG = $t02868428794._3
716716 poolIntegralSTATE
717717 }
718718
719719
720720 @Verifier(tx)
721721 func verify () = {
722722 let targetPublicKey = match managerPublicKeyOrUnit() {
723723 case pk: ByteVector =>
724724 pk
725725 case _: Unit =>
726726 tx.senderPublicKey
727727 case _ =>
728728 throw("Match error")
729729 }
730730 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
731731 }
732732

github/deemru/w8io/fabc49c 
78.25 ms