tx · Dy5YcNV2JtpZMGARwzYHs5FWLQuS4hqg9JgMcWY7rUCL

3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz:  -0.03000000 Waves

2022.06.29 18:33 [2117913] smart account 3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz > SELF 0.00000000 Waves

{ "type": 13, "id": "Dy5YcNV2JtpZMGARwzYHs5FWLQuS4hqg9JgMcWY7rUCL", "fee": 3000000, "feeAssetId": null, "timestamp": 1656516859510, "version": 1, "sender": "3Mx3zmXrMcLFCafMuPtXAzR4ZPVeZYb6qLz", "senderPublicKey": "D28XoueZWsMfm8Y5pa6C5ZFuYoWgre2Wm8tzJANJgMnq", "proofs": [ "2PuS85PVJN8MSLapCKqcvU6JcsezY58ZE7PEyowbDzeZbf1GKFY38Go11YUwBF93EVdWUauvz2nLotnZb94drWYY" ], "script": "base64:BgI3CAISAwoBCBIDCgEIEgMKAQgSABIAEgQKAggBEgMKAQgSBAoCCAgSBAoCCAgSAwoBCBIECgIICF8ABlNDQUxFOAAIAAVNVUxUOACAwtcvAAdTQ0FMRTE4ABIABk1VTFQxOAkAtgIBAICAkLu61q3wDQADU0VQAgJfXwAOUE9PTFdFSUdIVE1VTFQFBU1VTFQ4AAp6ZXJvQmlnSW50CQC2AgEAAAAJb25lQmlnSW50CQC2AgEAAQEJYXNBbnlMaXN0AQN2YWwEByRtYXRjaDAFA3ZhbAMJAAECBQckbWF0Y2gwAglMaXN0W0FueV0ECnZhbEFueUx5c3QFByRtYXRjaDAFCnZhbEFueUx5c3QJAAIBAhtmYWlsIHRvIGNhc3QgaW50byBMaXN0W0FueV0BBWFzSW50AQN2YWwEByRtYXRjaDAFA3ZhbAMJAAECBQckbWF0Y2gwAgNJbnQEBnZhbEludAUHJG1hdGNoMAUGdmFsSW50CQACAQIVZmFpbCB0byBjYXN0IGludG8gSW50AQhhc1N0cmluZwEDdmFsBAckbWF0Y2gwBQN2YWwDCQABAgUHJG1hdGNoMAIGU3Rya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entComplexity": 0 } View: original | compacted Prev: HBJhyaqdBX29ChSrFq8PSCKyas9biTXsWa2EA3sGdtXo Next: DuWdfqjBS2tWNXpTxnWLgVgaQZigUFUZZszydiTzAcTm Diff:
OldNewDifferences
526526 let stakedTotal = readStaked(stakedTotalKEY)
527527 let integralSTATE = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, -(amount))._2
528528 let listName = getUsersListName(lpAssetIdStr)
529- let listActions = if (containsNode(listName, userAddressStr))
529+ let listActions = if (if (containsNode(listName, userAddressStr))
530+ then (amount == stakedByUser)
531+ else false)
530532 then deleteNodeActions(listName, userAddressStr)
531533 else nil
532534 let claimedByUser = getBigIntFromStringOrZero(this, keyClaimedByUser(lpAssetIdStr, userAddressStr))
569571 let claimedByUserMinReward = getBigIntFromStringOrZero(this, claimedByUserMinRewardKEY)
570572 let claimedByUserBoostReward = getBigIntFromStringOrZero(this, claimedByUserBoostRewardKEY)
571573 let claimedTotal = getBigIntFromStringOrZero(this, claimedTotalKEY)
572- let $t02282422936 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
573- let wxToClaimUserNew = $t02282422936._1
574- let integralSTATE = $t02282422936._2
575- let debug = $t02282422936._3
574+ let $t02285022962 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
575+ let wxToClaimUserNew = $t02285022962._1
576+ let integralSTATE = $t02285022962._2
577+ let debug = $t02285022962._3
576578 let availableToClaim = max([(wxToClaimUserNew - claimedByUser), zeroBigInt])
577579 if ((zeroBigInt >= availableToClaim))
578580 then throw("nothing to claim")
615617 else (height - emissionStartBlock)
616618 let poolWxEmission = fraction((wxEmissionPerBlock * passedBlocks), poolWeight, POOLWEIGHTMULT)
617619 let userWxReward = fraction(poolWxEmission, stakedByUser, stakedTotal)
618- let $t02557825690 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
619- let wxToClaimUserNew = $t02557825690._1
620- let integralSTATE = $t02557825690._2
621- let debug = $t02557825690._3
620+ let $t02560425716 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
621+ let wxToClaimUserNew = $t02560425716._1
622+ let integralSTATE = $t02560425716._2
623+ let debug = $t02560425716._3
622624 let availableToClaim = max([(wxToClaimUserNew - claimedByUser), zeroBigInt])
623625 let boostInvResult = asAnyList(invoke(boostingContract, "claimWxBoostREADONLY", [lpAssetIdStr, userAddressStr], nil))
624626 let wxAmountBoostTotal = max([asInt(boostInvResult[0]), 0])
685687 func onModifyWeight (lpAssetIdStr,poolAddressStr) = if ((i.caller != factoryContract))
686688 then throw("permissions denied")
687689 else {
688- let $t02804128151 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0)
689- let wxPerLpIntegralNew = $t02804128151._1
690- let poolIntegralSTATE = $t02804128151._2
691- let poolDEBUG = $t02804128151._3
690+ let $t02806728177 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0)
691+ let wxPerLpIntegralNew = $t02806728177._1
692+ let poolIntegralSTATE = $t02806728177._2
693+ let poolDEBUG = $t02806728177._3
692694 poolIntegralSTATE
693695 }
694696
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 keyMigratorPublicKey () = "%s__migratorPublicKey"
113113
114114
115115 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
116116
117117
118118 func keyStablePoolAddonAddr () = "%s__stablePoolAddonAddr"
119119
120120
121121 func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
122122
123123
124124 func keyFactoryLpList () = "%s__lpTokensList"
125125
126126
127127 func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
128128
129129
130130 func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP)
131131
132132
133133 func readLpList (factory) = split(valueOrElse(getString(factory, keyFactoryLpList()), ""), SEP)
134134
135135
136136 func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP)
137137
138138
139139 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
140140
141141
142142 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
143143
144144
145145 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
146146
147147
148148 func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current"
149149
150150
151151 func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current"
152152
153153
154154 func keyEmissionStartBlock () = "%s%s__emission__startBlock"
155155
156156
157157 func keyEmissionDurationInBlocks () = "%s%s__emission__duration"
158158
159159
160160 func keyEmissionEndBlock () = "%s%s__emission__endBlock"
161161
162162
163163 func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP)
164164
165165
166166 func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr)
167167
168168
169169 func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP)
170170
171171
172172 func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP)
173173
174174
175175 func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP)
176176
177177
178178 func keyClaimedTotal (lpAssetIdStr) = makeString(["%s%s%s__claimed__total", lpAssetIdStr], SEP)
179179
180180
181181 func readStaked (key) = valueOrElse(getInteger(this, key), 0)
182182
183183
184184 func keyLastTotalLpBalance (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "bal"], SEP)
185185
186186
187187 func keyLastUserLpBalance (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "bal"], SEP)
188188
189189
190190 func keyTotalLpBalanceIntegral (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "balINT"], SEP)
191191
192192
193193 func keyUserLpBalanceIntegral (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "balINT"], SEP)
194194
195195
196196 func keyTotalLpBalanceIntegralLastUpdHeight (lpAssetId) = makeString(["%s%s%s", lpAssetId, "total", "lastUpd"], SEP)
197197
198198
199199 func keyUserLpBalanceIntegralLastUpdHeight (lpAssetId,userAddress) = makeString(["%s%s%s", lpAssetId, userAddress, "lastUpd"], SEP)
200200
201201
202202 func keyWxPerLpIntegral (lpAssetId) = makeString(["%s%s%s%s", lpAssetId, "common", "lpInt"], SEP)
203203
204204
205205 func keyWxPerLpIntegralLastUpdHeight (lpAssetId) = makeString(["%s%s%s%s", lpAssetId, "common", "lpIntH"], SEP)
206206
207207
208208 func keyWxToClaimUser (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "lpInt"], SEP)
209209
210210
211211 func keyWxPerLpIntegralUserLastUpdHeight (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "lpIntH"], SEP)
212212
213213
214214 func keyWxPerLp (lpAssetId) = makeString(["%s", lpAssetId, "wxPerLp"], SEP)
215215
216216
217217 func keyWxPerLpX18 (lpAssetId) = makeString(["%s", lpAssetId, "wxPerLpX18"], SEP)
218218
219219
220220 func keyWxPerLpIntegralUserLast (lpAssetId,userAddress) = makeString(["%s%s%s%s", lpAssetId, userAddress, "uIntL"], SEP)
221221
222222
223223 func keyOperationHistoryRecord (type,userAddress,txId58) = makeString(["%s%s%s%s__history", type, userAddress, txId58], SEP)
224224
225225
226226 func formatHistoryRecord (userAddress,lpAssetId,type,amount) = makeString(["%s%s%s%d%d%d", userAddress, lpAssetId, type, toString(height), toString(lastBlock.timestamp), toString(amount)], SEP)
227227
228228
229229 func OperationHistoryEntry (type,userAddress,lpAssetId,amount,txId) = StringEntry(keyOperationHistoryRecord(type, userAddress, toBase58String(txId)), formatHistoryRecord(userAddress, lpAssetId, type, amount))
230230
231231
232232 let factoryAddress = getStringOrFail(this, keyFactoryAddress())
233233
234234 let factoryContract = addressFromStringValue(factoryAddress)
235235
236236 let factoryCfg = readFactoryCfgOrFail(factoryContract)
237237
238238 let emissionContract = getEmissionAddressOrFail(factoryCfg)
239239
240240 let boostingContract = getBoostingAddressOrFail(factoryCfg)
241241
242242 func keyNextUser (lpAssetId) = makeString(["%s%s", lpAssetId, "nextUser"], SEP)
243243
244244
245245 func getUsersListName (lpAssetId) = makeString(["users", lpAssetId], SEP)
246246
247247
248248 func keyListHead (listName) = makeString(["%s%s%s", listName, "head"], SEP)
249249
250250
251251 func keyListSize (listName) = makeString(["%s%s%s", listName, "size"], SEP)
252252
253253
254254 func keyListPrev (listName,id) = makeString(["%s%s%s%s", listName, id, "prev"], SEP)
255255
256256
257257 func keyListNext (listName,id) = makeString(["%s%s%s%s", listName, id, "next"], SEP)
258258
259259
260260 func containsNode (listName,id) = {
261261 let headOrUnit = getString(this, keyListHead(listName))
262262 let prevOrUnit = getString(this, keyListPrev(listName, id))
263263 let nextOrUnit = getString(this, keyListNext(listName, id))
264264 if (if ((id == valueOrElse(headOrUnit, "")))
265265 then true
266266 else (prevOrUnit != unit))
267267 then true
268268 else (nextOrUnit != unit)
269269 }
270270
271271
272272 func insertNodeActions (listName,id) = {
273273 let headOrUnit = getString(this, keyListHead(listName))
274274 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
275275 let checkNode = if (!(containsNode(listName, id)))
276276 then true
277277 else throw("Node exists")
278278 if ((checkNode == checkNode))
279279 then (([IntegerEntry(keyListSize(listName), (listSize + 1))] ++ (if ((headOrUnit != unit))
280280 then [StringEntry(keyListNext(listName, id), value(headOrUnit)), StringEntry(keyListPrev(listName, value(headOrUnit)), id)]
281281 else nil)) ++ [StringEntry(keyListHead(listName), id)])
282282 else throw("Strict value is not equal to itself.")
283283 }
284284
285285
286286 func deleteNodeActions (listName,id) = {
287287 let headOrUnit = getString(this, keyListHead(listName))
288288 let listSize = valueOrElse(getInteger(this, keyListSize(listName)), 0)
289289 let prevOrUnit = getString(this, keyListPrev(listName, id))
290290 let nextOrUnit = getString(this, keyListNext(listName, id))
291291 ([IntegerEntry(keyListSize(listName), (listSize - 1))] ++ (if (if ((prevOrUnit != unit))
292292 then (nextOrUnit != unit)
293293 else false)
294294 then [StringEntry(keyListNext(listName, value(prevOrUnit)), value(nextOrUnit)), StringEntry(keyListPrev(listName, value(nextOrUnit)), value(prevOrUnit)), DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, id))]
295295 else if ((nextOrUnit != unit))
296296 then [StringEntry(keyListHead(listName), value(nextOrUnit)), DeleteEntry(keyListNext(listName, id)), DeleteEntry(keyListPrev(listName, value(nextOrUnit)))]
297297 else if ((prevOrUnit != unit))
298298 then [DeleteEntry(keyListPrev(listName, id)), DeleteEntry(keyListNext(listName, value(prevOrUnit)))]
299299 else if ((id == valueOrElse(headOrUnit, "")))
300300 then [DeleteEntry(keyListHead(listName))]
301301 else throw(((("invalid node: " + listName) + ".") + id))))
302302 }
303303
304304
305305 func calcWxPerLpIntegralUserLast (stakedByUser,wxPerLpIntegralUserLastUpdHeightOrZero,wxPerLpIntegralNew,wxPerLpIntegralUserLastKEY) = if (if ((wxPerLpIntegralUserLastUpdHeightOrZero == zeroBigInt))
306306 then (stakedByUser > zeroBigInt)
307307 else false)
308308 then zeroBigInt
309309 else if ((stakedByUser == zeroBigInt))
310310 then wxPerLpIntegralNew
311311 else if (if ((wxPerLpIntegralUserLastUpdHeightOrZero > zeroBigInt))
312312 then (stakedByUser > zeroBigInt)
313313 else false)
314314 then value(parseBigInt(getStringOrFail(this, wxPerLpIntegralUserLastKEY)))
315315 else throw("calcWxPerLpIntegralUserLast: unexpected state")
316316
317317
318318 func refreshPoolINTEGRALS (lpAssetIdStr,poolAddressStr,lpDeltaAmount) = {
319319 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
320320 let stakedTotal = toBigInt(readStaked(stakedTotalKEY))
321321 let nonZeroStakedTotal = if ((stakedTotal == zeroBigInt))
322322 then oneBigInt
323323 else stakedTotal
324324 let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr))
325325 let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock())
326326 let MULT3 = 1000
327327 let wxEmissionPerBlockX3 = (getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) * MULT3)
328328 let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3))
329329 let wxPerLpIntegralKEY = keyWxPerLpIntegral(lpAssetIdStr)
330330 let wxPerLpIntegralLastUpdHeightKEY = keyWxPerLpIntegralLastUpdHeight(lpAssetIdStr)
331331 let wxPerLpKEY = keyWxPerLp(lpAssetIdStr)
332332 let wxPerLpIntegralLastUpdHeight = getIntOrDefault(this, wxPerLpIntegralLastUpdHeightKEY, emissionStartBlock)
333333 let wxPerLpIntegral = getBigIntFromStringOrZero(this, wxPerLpIntegralKEY)
334334 let wxPerLpOrZeroX3 = 0
335335 let dh = max([(height - wxPerLpIntegralLastUpdHeight), 0])
336336 let wxPerLpX3 = if ((wxPerLpOrZeroX3 != 0))
337337 then toBigInt(wxPerLpOrZeroX3)
338338 else fraction(toBigInt(poolWxEmissionPerBlockX3), toBigInt(MULT8), nonZeroStakedTotal)
339339 let stakedTotalNew = (stakedTotal + toBigInt(lpDeltaAmount))
340340 let nonZeroStakedTotalNew = if ((stakedTotalNew == zeroBigInt))
341341 then oneBigInt
342342 else stakedTotalNew
343343 let wxPerLpIntegralNew = (wxPerLpIntegral + (wxPerLpX3 * toBigInt(dh)))
344344 let wxPerLpX3New = (toBigInt(poolWxEmissionPerBlockX3) / nonZeroStakedTotalNew)
345345 let wxPerLpIntegralLastUpdHeightNew = height
346346 let debug = makeString([toString(wxPerLpIntegralNew), toString(dh), toString(wxPerLpX3), toString(stakedTotal), toString(poolWxEmissionPerBlockX3), toString(wxEmissionPerBlockX3), toString(poolWeight)], "::")
347347 $Tuple3(wxPerLpIntegralNew, [StringEntry(wxPerLpIntegralKEY, toString(wxPerLpIntegralNew)), IntegerEntry(wxPerLpIntegralLastUpdHeightKEY, wxPerLpIntegralLastUpdHeightNew), StringEntry(wxPerLpKEY, toString(wxPerLpX3New))], debug)
348348 }
349349
350350
351351 func refreshINTEGRALS (lpAssetIdStr,userAddressStr,poolAddressStr,lpDeltaAmount) = {
352352 let $t01430214424 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, lpDeltaAmount)
353353 let wxPerLpIntegralNew = $t01430214424._1
354354 let poolIntegralSTATE = $t01430214424._2
355355 let poolDEBUG = $t01430214424._3
356356 let MULT3 = 1000
357357 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
358358 let stakedByUser = readStaked(stakedByUserKEY)
359359 let wxToClaimUserKEY = keyWxToClaimUser(lpAssetIdStr, userAddressStr)
360360 let wxPerLpIntegralUserLastUpdHeightKEY = keyWxPerLpIntegralUserLastUpdHeight(lpAssetIdStr, userAddressStr)
361361 let wxPerLpIntegralUserLastKEY = keyWxPerLpIntegralUserLast(lpAssetIdStr, userAddressStr)
362362 let wxToClaimUser = getBigIntFromStringOrZero(this, wxToClaimUserKEY)
363363 let wxPerLpIntegralUserLastUpdHeightOrZero = getIntOrZero(this, wxPerLpIntegralUserLastUpdHeightKEY)
364364 let wxPerLpIntegralUserLast = calcWxPerLpIntegralUserLast(toBigInt(stakedByUser), toBigInt(wxPerLpIntegralUserLastUpdHeightOrZero), wxPerLpIntegralNew, wxPerLpIntegralUserLastKEY)
365365 let MULT11 = (MULT8 * MULT3)
366366 let wxToClaimUserNew = max([(wxToClaimUser + fraction((wxPerLpIntegralNew - wxPerLpIntegralUserLast), toBigInt(stakedByUser), toBigInt(MULT11))), zeroBigInt])
367367 let wxPerLpIntegralUserLastNew = wxPerLpIntegralNew
368368 let wxPerLpIntegralUserLastUpdHeightNew = height
369369 let debug = makeString([toString(wxToClaimUser), toString(wxPerLpIntegralUserLast), toString(stakedByUser), poolDEBUG, toString(height)], "::")
370370 $Tuple3(wxToClaimUserNew, (poolIntegralSTATE ++ [StringEntry(wxToClaimUserKEY, toString(wxToClaimUserNew)), IntegerEntry(wxPerLpIntegralUserLastUpdHeightKEY, wxPerLpIntegralUserLastUpdHeightNew), StringEntry(wxPerLpIntegralUserLastKEY, toString(wxPerLpIntegralUserLastNew))]), debug)
371371 }
372372
373373
374374 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
375375 case s: String =>
376376 fromBase58String(s)
377377 case _: Unit =>
378378 unit
379379 case _ =>
380380 throw("Match error")
381381 }
382382
383383
384384 func migratorPublicKeyOrUnit () = match getString(keyMigratorPublicKey()) {
385385 case s: String =>
386386 fromBase58String(s)
387387 case _: Unit =>
388388 unit
389389 case _ =>
390390 throw("Match error")
391391 }
392392
393393
394394 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
395395 case s: String =>
396396 fromBase58String(s)
397397 case _: Unit =>
398398 unit
399399 case _ =>
400400 throw("Match error")
401401 }
402402
403403
404404 let permissionDeniedError = throw("Permission denied")
405405
406406 func mustThis (i) = if ((i.caller == this))
407407 then true
408408 else permissionDeniedError
409409
410410
411411 func mustManager (i) = match managerPublicKeyOrUnit() {
412412 case pk: ByteVector =>
413413 if ((i.callerPublicKey == pk))
414414 then true
415415 else permissionDeniedError
416416 case _: Unit =>
417417 if ((i.caller == this))
418418 then true
419419 else permissionDeniedError
420420 case _ =>
421421 throw("Match error")
422422 }
423423
424424
425425 @Callable(i)
426426 func constructor (factoryAddressStr) = {
427427 let checkCaller = mustManager(i)
428428 if ((checkCaller == checkCaller))
429429 then [StringEntry(keyFactoryAddress(), factoryAddressStr)]
430430 else throw("Strict value is not equal to itself.")
431431 }
432432
433433
434434
435435 @Callable(i)
436436 func constructorV2 (votingEmissionContract) = {
437437 let cheks = [mustManager(i), if ((addressFromString(votingEmissionContract) != unit))
438438 then true
439439 else "invalid voting emission contract address"]
440440 if ((cheks == cheks))
441441 then [StringEntry(keyVotingEmissionContract(), votingEmissionContract)]
442442 else throw("Strict value is not equal to itself.")
443443 }
444444
445445
446446
447447 @Callable(i)
448448 func setManager (pendingManagerPublicKey) = {
449449 let checkCaller = mustManager(i)
450450 if ((checkCaller == checkCaller))
451451 then {
452452 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
453453 if ((checkManagerPublicKey == checkManagerPublicKey))
454454 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
455455 else throw("Strict value is not equal to itself.")
456456 }
457457 else throw("Strict value is not equal to itself.")
458458 }
459459
460460
461461
462462 @Callable(i)
463463 func confirmManager () = {
464464 let pm = pendingManagerPublicKeyOrUnit()
465465 let hasPM = if (isDefined(pm))
466466 then true
467467 else throw("No pending manager")
468468 if ((hasPM == hasPM))
469469 then {
470470 let checkPM = if ((i.callerPublicKey == value(pm)))
471471 then true
472472 else throw("You are not pending manager")
473473 if ((checkPM == checkPM))
474474 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
475475 else throw("Strict value is not equal to itself.")
476476 }
477477 else throw("Strict value is not equal to itself.")
478478 }
479479
480480
481481
482482 @Callable(i)
483483 func stake () = if ((size(i.payments) != 1))
484484 then throw("invalid payment - exact one payment must be attached")
485485 else {
486486 let pmt = i.payments[0]
487487 let lpAssetId = value(pmt.assetId)
488488 let lpAssetIdStr = toBase58String(lpAssetId)
489489 let amount = pmt.amount
490490 let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr))
491491 let callerStr = toString(i.caller)
492492 let userAddressStr = if ((callerStr == poolAddressStr))
493493 then toString(i.originCaller)
494494 else callerStr
495495 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
496496 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
497497 let stakedByUser = readStaked(stakedByUserKEY)
498498 let stakedTotal = readStaked(stakedTotalKEY)
499499 let $t01903419151 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, amount)
500500 let wxToClaimUserNew = $t01903419151._1
501501 let integralSTATE = $t01903419151._2
502502 let debug = $t01903419151._3
503503 let listName = getUsersListName(lpAssetIdStr)
504504 let listActions = if (containsNode(listName, userAddressStr))
505505 then nil
506506 else insertNodeActions(listName, userAddressStr)
507507 (([IntegerEntry(stakedByUserKEY, (stakedByUser + amount)), IntegerEntry(stakedTotalKEY, (stakedTotal + amount)), OperationHistoryEntry("stake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) ++ listActions)
508508 }
509509
510510
511511
512512 @Callable(i)
513513 func unstake (lpAssetIdStr,amount) = {
514514 let lpAssetId = fromBase58String(lpAssetIdStr)
515515 let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr))
516516 let poolAddon = valueOrElse(getString(this, keyStablePoolAddonAddr()), poolAddressStr)
517517 let callerStr = toString(i.caller)
518518 let userAddressStr = if (if ((callerStr == poolAddressStr))
519519 then true
520520 else (callerStr == poolAddon))
521521 then toString(i.originCaller)
522522 else callerStr
523523 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
524524 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
525525 let stakedByUser = readStaked(stakedByUserKEY)
526526 let stakedTotal = readStaked(stakedTotalKEY)
527527 let integralSTATE = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, -(amount))._2
528528 let listName = getUsersListName(lpAssetIdStr)
529- let listActions = if (containsNode(listName, userAddressStr))
529+ let listActions = if (if (containsNode(listName, userAddressStr))
530+ then (amount == stakedByUser)
531+ else false)
530532 then deleteNodeActions(listName, userAddressStr)
531533 else nil
532534 let claimedByUser = getBigIntFromStringOrZero(this, keyClaimedByUser(lpAssetIdStr, userAddressStr))
533535 let poolAddress = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetIdStr))
534536 let wxToClaimUserNew = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddress, 0)._1
535537 let availableToClaim = (wxToClaimUserNew - claimedByUser)
536538 let r = if ((availableToClaim > zeroBigInt))
537539 then invoke(this, "claimWxINTERNAL", [lpAssetIdStr, userAddressStr], nil)
538540 else unit
539541 if ((r == r))
540542 then if ((amount > stakedByUser))
541543 then throw("passed amount is less then available")
542544 else (([IntegerEntry(stakedByUserKEY, (stakedByUser - amount)), IntegerEntry(stakedTotalKEY, (stakedTotal - amount)), ScriptTransfer(i.caller, amount, lpAssetId), OperationHistoryEntry("unstake", userAddressStr, lpAssetIdStr, amount, i.transactionId)] ++ integralSTATE) ++ listActions)
543545 else throw("Strict value is not equal to itself.")
544546 }
545547
546548
547549
548550 @Callable(i)
549551 func claimWx (lpAssetIdStr) = {
550552 let userAddressStr = toString(i.caller)
551553 let result = invoke(this, "claimWxINTERNAL", [lpAssetIdStr, userAddressStr], nil)
552554 $Tuple2(nil, result)
553555 }
554556
555557
556558
557559 @Callable(i)
558560 func claimWxINTERNAL (lpAssetIdStr,userAddressStr) = {
559561 let checkCaller = mustThis(i)
560562 if ((checkCaller == checkCaller))
561563 then {
562564 let userAddress = valueOrErrorMessage(addressFromString(userAddressStr), "claimWxINTERNAL: invalid user address")
563565 let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetIdStr))
564566 let claimedByUserKEY = keyClaimedByUser(lpAssetIdStr, userAddressStr)
565567 let claimedTotalKEY = keyClaimedTotal(lpAssetIdStr)
566568 let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(lpAssetIdStr, userAddressStr)
567569 let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(lpAssetIdStr, userAddressStr)
568570 let claimedByUser = getBigIntFromStringOrZero(this, claimedByUserKEY)
569571 let claimedByUserMinReward = getBigIntFromStringOrZero(this, claimedByUserMinRewardKEY)
570572 let claimedByUserBoostReward = getBigIntFromStringOrZero(this, claimedByUserBoostRewardKEY)
571573 let claimedTotal = getBigIntFromStringOrZero(this, claimedTotalKEY)
572- let $t02282422936 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
573- let wxToClaimUserNew = $t02282422936._1
574- let integralSTATE = $t02282422936._2
575- let debug = $t02282422936._3
574+ let $t02285022962 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
575+ let wxToClaimUserNew = $t02285022962._1
576+ let integralSTATE = $t02285022962._2
577+ let debug = $t02285022962._3
576578 let availableToClaim = max([(wxToClaimUserNew - claimedByUser), zeroBigInt])
577579 if ((zeroBigInt >= availableToClaim))
578580 then throw("nothing to claim")
579581 else {
580582 let wxAmountBoostTotal = max([asInt(asAnyList(invoke(boostingContract, "claimWxBoost", [lpAssetIdStr, userAddressStr], nil))[0]), 0])
581583 let minRewardPart = availableToClaim
582584 let boostRewardPart = min([(minRewardPart * toBigInt(2)), toBigInt(wxAmountBoostTotal)])
583585 let wxAssetId = asByteVector(asAnyList(invoke(emissionContract, "emit", [toInt(minRewardPart)], nil))[0])
584586 let emitBoost = asAnyList(invoke(emissionContract, "emit", [toInt(boostRewardPart)], nil))
585587 if ((emitBoost == emitBoost))
586588 then {
587589 let claimedByUserValue = (claimedByUser + availableToClaim)
588590 let claimedByUserMinRewardPlusPart = (claimedByUserMinReward + minRewardPart)
589591 let claimedByUserBoostRewardPlusBoostRewardPart = (claimedByUserMinReward + minRewardPart)
590592 let claimedTotalPlusAvailableToClaim = (claimedByUserMinReward + minRewardPart)
591593 [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)]
592594 }
593595 else throw("Strict value is not equal to itself.")
594596 }
595597 }
596598 else throw("Strict value is not equal to itself.")
597599 }
598600
599601
600602
601603 @Callable(i)
602604 func claimWxREADONLY (lpAssetIdStr,userAddressStr) = {
603605 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
604606 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
605607 let claimedByUserKEY = keyClaimedByUser(lpAssetIdStr, userAddressStr)
606608 let stakedByUser = readStaked(stakedByUserKEY)
607609 let stakedTotal = readStaked(stakedTotalKEY)
608610 let claimedByUser = getBigIntFromStringOrZero(this, claimedByUserKEY)
609611 let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetIdStr))
610612 let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr))
611613 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
612614 let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock())
613615 let passedBlocks = if ((emissionStartBlock > height))
614616 then 0
615617 else (height - emissionStartBlock)
616618 let poolWxEmission = fraction((wxEmissionPerBlock * passedBlocks), poolWeight, POOLWEIGHTMULT)
617619 let userWxReward = fraction(poolWxEmission, stakedByUser, stakedTotal)
618- let $t02557825690 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
619- let wxToClaimUserNew = $t02557825690._1
620- let integralSTATE = $t02557825690._2
621- let debug = $t02557825690._3
620+ let $t02560425716 = refreshINTEGRALS(lpAssetIdStr, userAddressStr, poolAddressStr, 0)
621+ let wxToClaimUserNew = $t02560425716._1
622+ let integralSTATE = $t02560425716._2
623+ let debug = $t02560425716._3
622624 let availableToClaim = max([(wxToClaimUserNew - claimedByUser), zeroBigInt])
623625 let boostInvResult = asAnyList(invoke(boostingContract, "claimWxBoostREADONLY", [lpAssetIdStr, userAddressStr], nil))
624626 let wxAmountBoostTotal = max([asInt(boostInvResult[0]), 0])
625627 let boostDebug = asString(boostInvResult[1])
626628 let minRewardPart = availableToClaim
627629 let boostRewardPart = min([(minRewardPart * toBigInt(2)), toBigInt(wxAmountBoostTotal)])
628630 let totalReward = (minRewardPart + boostRewardPart)
629631 $Tuple2(nil, makeString(["%s%s%d%d%d%d%s", lpAssetIdStr, userAddressStr, toString(totalReward), toString(claimedByUser), toString(minRewardPart), toString(boostRewardPart), ((((debug + "::") + toString(userWxReward)) + "::BOOST::") + boostDebug)], SEP))
630632 }
631633
632634
633635
634636 @Callable(i)
635637 func usersListTraversal (lpAssetId) = {
636638 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionContract()), "")))
637639 then true
638640 else mustManager(i)
639641 if ((checkCaller == checkCaller))
640642 then {
641643 let listName = getUsersListName(lpAssetId)
642644 let userOrUnit = getString(keyNextUser(lpAssetId))
643645 let headOrUnit = getString(keyListHead(listName))
644646 match userOrUnit {
645647 case _: Unit =>
646648 match headOrUnit {
647649 case _: Unit =>
648650 $Tuple2(nil, false)
649651 case head: String =>
650652 $Tuple2([StringEntry(keyNextUser(lpAssetId), head)], true)
651653 case _ =>
652654 throw("Match error")
653655 }
654656 case userAddress: String =>
655657 let claimedByUser = getBigIntFromStringOrZero(this, keyClaimedByUser(lpAssetId, userAddress))
656658 let poolAddress = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetId))
657659 let wxToClaimUserNew = refreshINTEGRALS(lpAssetId, userAddress, poolAddress, 0)._1
658660 let availableToClaim = (wxToClaimUserNew - claimedByUser)
659661 let r = if ((availableToClaim > zeroBigInt))
660662 then invoke(this, "claimWxINTERNAL", [lpAssetId, userAddress], nil)
661663 else unit
662664 if ((r == r))
663665 then {
664666 let nextUserOrUnit = getString(keyListNext(listName, userAddress))
665667 match nextUserOrUnit {
666668 case _: Unit =>
667669 $Tuple2([DeleteEntry(keyNextUser(lpAssetId))], false)
668670 case nextUser: String =>
669671 $Tuple2([StringEntry(keyNextUser(lpAssetId), nextUser)], true)
670672 case _ =>
671673 throw("Match error")
672674 }
673675 }
674676 else throw("Strict value is not equal to itself.")
675677 case _ =>
676678 throw("Match error")
677679 }
678680 }
679681 else throw("Strict value is not equal to itself.")
680682 }
681683
682684
683685
684686 @Callable(i)
685687 func onModifyWeight (lpAssetIdStr,poolAddressStr) = if ((i.caller != factoryContract))
686688 then throw("permissions denied")
687689 else {
688- let $t02804128151 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0)
689- let wxPerLpIntegralNew = $t02804128151._1
690- let poolIntegralSTATE = $t02804128151._2
691- let poolDEBUG = $t02804128151._3
690+ let $t02806728177 = refreshPoolINTEGRALS(lpAssetIdStr, poolAddressStr, 0)
691+ let wxPerLpIntegralNew = $t02806728177._1
692+ let poolIntegralSTATE = $t02806728177._2
693+ let poolDEBUG = $t02806728177._3
692694 poolIntegralSTATE
693695 }
694696
695697
696698 @Verifier(tx)
697699 func verify () = {
698700 let targetPublicKey = match managerPublicKeyOrUnit() {
699701 case pk: ByteVector =>
700702 pk
701703 case _: Unit =>
702704 tx.senderPublicKey
703705 case _ =>
704706 throw("Match error")
705707 }
706708 let migratorPublicKey = match migratorPublicKeyOrUnit() {
707709 case pk: ByteVector =>
708710 pk
709711 case _: Unit =>
710712 tx.senderPublicKey
711713 case _ =>
712714 throw("Match error")
713715 }
714716 if (sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey))
715717 then true
716718 else sigVerify(tx.bodyBytes, tx.proofs[0], migratorPublicKey)
717719 }
718720

github/deemru/w8io/fabc49c 
85.25 ms