tx · 5JLXz32PHBWVcFX4VkgRzYo1PPEm3P5fFUYyu75sxJJb

3MxZ7YNAqigXR5jrgvpb48Uc6B29ouDzQyN:  -0.03700000 Waves

2023.06.23 11:46 [2635075] smart account 3MxZ7YNAqigXR5jrgvpb48Uc6B29ouDzQyN > SELF 0.00000000 Waves

{ "type": 13, "id": "5JLXz32PHBWVcFX4VkgRzYo1PPEm3P5fFUYyu75sxJJb", "fee": 3700000, "feeAssetId": null, "timestamp": 1687510047350, "version": 2, "chainId": 84, "sender": "3MxZ7YNAqigXR5jrgvpb48Uc6B29ouDzQyN", "senderPublicKey": "HHCdafdi3D2htEYJw8cBoNYC8w76euLWKYENK4kanmGM", "proofs": [ "tygyjdJZtQKQpRThKZkYTLk9i1bYWPr4FhnLm6EkV8rV9JwYp1RDyPKboNimqGbGsDowVXvzENVUdsFvoYWWVXG" ], "script": "base64:BgJACAISBAoCAQESBQoDCAgBEgASAwoBARIAEgASABIDCgEBEgMKAQESAwoBARIAEgASABIDCgEIEgMKAQgSAwoBCGMADWtfdG90YWxTdXBwbHkCDWtfdG90YWxTdXBwbHkAD2tfcmV3YXJkQmFsYW5jZQIPa19yZXdhcmRCYWxhbmNlAA9rX2xvY2tlZEJhbGFuY2UCD2tfbG9ja2VkQmFsYW5jZQANa19mcmVlQmFsYW5jZQINa19mcmVlQmFsYW5jZQAPa19leGNlc3NCYWxhbmNlAg9rX2V4Y2Vzc0JhbGFuY2UADGtfdmF1bHRBc3NldAIMa192YXVsdEFzc2V0ABRrX3ZhdWx0QXNzZXREZWNpbWFscwIUa192YXVsdEFzc2V0RGVjaW1hbHMAFGtfbWF4U3BvdFV0aWxpemF0aW9uAhRrX21heFNwb3RVdGlsaXphdGlvbgATa193aXRoZHJhd1BlclBlcmlvZAITa193aXRoZHJhd1BlclBlcmlvZAAGa19yYXRlAgZrX3JhdGUAEGtfbGFzdFVwZGF0ZVRpbWUCEGtfbGFzdFVwZGF0ZVRpbWUAFmtfcmV3YXJkUGVyVG9rZ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ZXJpZnk6IGFkbWluIG5vdCBzZXQgaW4gY29vcmRpbmF0b3IJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXm3K1uB", "height": 2635075, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4LQkM8FVzsKULzCRucq5Xu3LFzP8DdXrBhc8t99f5dfs Next: 37j5GHYvnciKjeiEYLjeAJ3Pkf7TD5LQjEGmea7NEx3c Diff:
OldNewDifferences
1616 let k_vaultAssetDecimals = "k_vaultAssetDecimals"
1717
1818 let k_maxSpotUtilization = "k_maxSpotUtilization"
19+
20+let k_withdrawPerPeriod = "k_withdrawPerPeriod"
1921
2022 let k_rate = "k_rate"
2123
154156 func int1 (k) = valueOrElse(getInteger(this, k), DECIMAL_UNIT)
155157
156158
159+func intOr (k,val) = valueOrElse(getInteger(this, k), val)
160+
161+
157162 func totalSupply () = int0(k_totalSupply)
158163
159164
208213 func maxSpotUtilization () = int0(k_maxSpotUtilization)
209214
210215
216+func withdrawPerPeriod () = intOr(k_withdrawPerPeriod, WITHDRAW_PER_PERIOD)
217+
218+
211219 func initialized () = valueOrElse(getBoolean(this, k_initialized), false)
212220
213221
220228 func getWithdrawLimitLeft (_staker) = {
221229 let currentDate = currentTimestamp()
222230 let lastWithdrawDate = lastWithdrawnDate(_staker)
223- let $t062656586 = if (((currentDate - lastWithdrawDate) > WITHDRAW_PERIOD))
231+ let $t064646785 = if (((currentDate - lastWithdrawDate) > WITHDRAW_PERIOD))
224232 then $Tuple3(currentDate, withdrawLimit(_staker), 0)
225233 else $Tuple3(lastWithdrawDate, (withdrawLimit(_staker) - withdrawnInPeriod(_staker)), withdrawnInPeriod(_staker))
226- let newLastWithdrawnDate = $t062656586._1
227- let withdrawLimitLeft = $t062656586._2
228- let alreadyWithdrawnInPeriod = $t062656586._3
234+ let newLastWithdrawnDate = $t064646785._1
235+ let withdrawLimitLeft = $t064646785._2
236+ let alreadyWithdrawnInPeriod = $t064646785._3
229237 $Tuple3(newLastWithdrawnDate, withdrawLimitLeft, alreadyWithdrawnInPeriod)
230238 }
231239
262270 func updateReward (_staker,_balanceDelta) = {
263271 let newRewardPerTokenStored = rewardPerToken(_balanceDelta)
264272 let newLastUpdateTime = currentTimestampSec()
265- let $t078088000 = if ((_staker != ""))
273+ let $t080078199 = if ((_staker != ""))
266274 then $Tuple2(earned(_staker, _balanceDelta), newRewardPerTokenStored)
267275 else $Tuple2(0, 0)
268- let stakerEarned = $t078088000._1
269- let stakerRewardPerTokenPaid = $t078088000._2
276+ let stakerEarned = $t080078199._1
277+ let stakerRewardPerTokenPaid = $t080078199._2
270278 $Tuple4(newRewardPerTokenStored, newLastUpdateTime, stakerEarned, stakerRewardPerTokenPaid)
271279 }
272280
332340
333341
334342 @Callable(i)
335-func changeSettings (_maxSpotUtilization) = if (if (if (!(initialized()))
343+func changeSettings (_maxSpotUtilization,_withdrawPerPeriod) = if (if (if (if (!(initialized()))
336344 then true
337345 else (i.caller != adminAddress()))
338346 then true
339347 else if ((0 > _maxSpotUtilization))
340348 then true
341349 else (_maxSpotUtilization > DECIMAL_UNIT))
350+ then true
351+ else if ((0 > _withdrawPerPeriod))
352+ then true
353+ else (_withdrawPerPeriod > DECIMAL_UNIT))
342354 then throw("Invalid changeSettings params")
343- else [IntegerEntry(k_maxSpotUtilization, _maxSpotUtilization)]
355+ else [IntegerEntry(k_maxSpotUtilization, _maxSpotUtilization), IntegerEntry(k_withdrawPerPeriod, _withdrawPerPeriod)]
344356
345357
346358
376388 else !(initialized()))
377389 then throw("Invalid call to stake")
378390 else {
379- let $t01291113140 = updateReward(_staker, 0)
380- let newRewardPerTokenStored = $t01291113140._1
381- let newLastUpdateTime = $t01291113140._2
382- let stakerEarned = $t01291113140._3
383- let stakerRewardPerTokenPaid = $t01291113140._4
391+ let $t01327313502 = updateReward(_staker, 0)
392+ let newRewardPerTokenStored = $t01327313502._1
393+ let newLastUpdateTime = $t01327313502._2
394+ let stakerEarned = $t01327313502._3
395+ let stakerRewardPerTokenPaid = $t01327313502._4
384396 let currentRate = rate()
385397 let prevAverageRate = averageRate(_staker)
386398 let vAmount = divd(_amount, currentRate)
387399 let newAverageRate = divd((muld(vAmount, currentRate) + muld(balanceOf(_staker), prevAverageRate)), (vAmount + balanceOf(_staker)))
388400 let newTotalBalance = (vAmount + balanceOf(_staker))
389- let newWithdrawLimit = muld(newTotalBalance, WITHDRAW_PER_PERIOD)
401+ let newWithdrawLimit = muld(newTotalBalance, withdrawPerPeriod())
390402 let stake = invoke(managerAddress(), "deposit", nil, [AttachedPayment(vaultAsset(), assetFromDecimals(_amount))])
391403 if ((stake == stake))
392404 then {
414426 else !(initialized()))
415427 then throw("Invalid call to unStake")
416428 else {
417- let $t01473014946 = updateReward(_staker, 0)
418- let newRewardPerTokenStored = $t01473014946._1
419- let newLastUpdateTime = $t01473014946._2
420- let stakerEarned = $t01473014946._3
421- let stakerRewardPerTokenPaid = $t01473014946._4
422- let $t01495315120 = getWithdrawLimitLeft(_staker)
423- let newLastWithdrawnDate = $t01495315120._1
424- let withdrawLimitLeft = $t01495315120._2
425- let alreadyWithdrawnInPeriod = $t01495315120._3
429+ let $t01509215308 = updateReward(_staker, 0)
430+ let newRewardPerTokenStored = $t01509215308._1
431+ let newLastUpdateTime = $t01509215308._2
432+ let stakerEarned = $t01509215308._3
433+ let stakerRewardPerTokenPaid = $t01509215308._4
434+ let $t01531515482 = getWithdrawLimitLeft(_staker)
435+ let newLastWithdrawnDate = $t01531515482._1
436+ let withdrawLimitLeft = $t01531515482._2
437+ let alreadyWithdrawnInPeriod = $t01531515482._3
426438 let vAmount = divd(amountOfQuoteAsset, rate())
427439 if ((vAmount > withdrawLimitLeft))
428440 then throw("Invalid call to unStake: withdraw over limit")
452464 @Callable(i)
453465 func withdrawRewards () = {
454466 let _staker = toString(i.caller)
455- let $t01673016875 = updateReward(_staker, 0)
456- let newRewardPerTokenStored = $t01673016875._1
457- let newLastUpdateTime = $t01673016875._2
458- let stakerEarned = $t01673016875._3
459- let stakerRewardPerTokenPaid = $t01673016875._4
467+ let $t01709217237 = updateReward(_staker, 0)
468+ let newRewardPerTokenStored = $t01709217237._1
469+ let newLastUpdateTime = $t01709217237._2
470+ let stakerEarned = $t01709217237._3
471+ let stakerRewardPerTokenPaid = $t01709217237._4
460472 if (if ((0 >= stakerEarned))
461473 then true
462474 else !(initialized()))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let k_totalSupply = "k_totalSupply"
55
66 let k_rewardBalance = "k_rewardBalance"
77
88 let k_lockedBalance = "k_lockedBalance"
99
1010 let k_freeBalance = "k_freeBalance"
1111
1212 let k_excessBalance = "k_excessBalance"
1313
1414 let k_vaultAsset = "k_vaultAsset"
1515
1616 let k_vaultAssetDecimals = "k_vaultAssetDecimals"
1717
1818 let k_maxSpotUtilization = "k_maxSpotUtilization"
19+
20+let k_withdrawPerPeriod = "k_withdrawPerPeriod"
1921
2022 let k_rate = "k_rate"
2123
2224 let k_lastUpdateTime = "k_lastUpdateTime"
2325
2426 let k_rewardPerTokenStored = "k_rewardPerTokenStored"
2527
2628 let k_rewardRate = "k_rewardRate"
2729
2830 let k_periodFinish = "k_periodFinish"
2931
3032 let k_userRewardPerToken = "k_userRewardPerToken"
3133
3234 let k_userReward = "k_userReward"
3335
3436 let k_balance = "k_balance"
3537
3638 let k_average_rate = "k_average_rate"
3739
3840 let k_withdraw_limit = "k_withdraw_limit"
3941
4042 let k_last_withdraw_date = "k_last_withdraw_date"
4143
4244 let k_withdraw_in_period = "k_withdraw_in_period"
4345
4446 let k_initialized = "k_initialized"
4547
4648 let k_coordinatorAddress = "k_coordinatorAddress"
4749
4850 let k_amm = "k_amm"
4951
5052 let k_governance_asset = "k_gov_asset"
5153
5254 let k_quote_asset = "k_quote_asset"
5355
5456 let k_admin_address = "k_admin_address"
5557
5658 let k_manager_address = "k_manager_address"
5759
5860 let k_spot_address = "k_spot_address"
5961
6062 let k_collateral_address = "k_collateral_address"
6163
6264 func toCompositeKey (_key,_address) = ((_key + "_") + _address)
6365
6466
6567 func coordinator () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, k_coordinatorAddress), "Coordinator not set")), "Coordinator address invalid")
6668
6769
6870 func adminAddress () = addressFromString(valueOrErrorMessage(getString(coordinator(), k_admin_address), "Admin address not set"))
6971
7072
7173 func isWhitelist (_address) = valueOrElse(getBoolean(coordinator(), toCompositeKey(k_amm, _address)), false)
7274
7375
7476 func spotAddress () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(coordinator(), k_spot_address), "Spot address not set")), "Spot address invalid")
7577
7678
7779 func governanceAsset () = fromBase58String(valueOrErrorMessage(getString(coordinator(), k_governance_asset), "Governance asset not set"))
7880
7981
8082 func quoteAsset () = fromBase58String(getStringValue(coordinator(), k_quote_asset))
8183
8284
8385 func vaultAssetStr () = valueOrErrorMessage(getString(this, k_vaultAsset), "Vault asset not set")
8486
8587
8688 func vaultAsset () = {
8789 let _assetIdStr = vaultAssetStr()
8890 if ((_assetIdStr == "WAVES"))
8991 then unit
9092 else fromBase58String(_assetIdStr)
9193 }
9294
9395
9496 func vaultAssetDecimals () = valueOrErrorMessage(getInteger(this, k_vaultAssetDecimals), "Vault asset decimals not set")
9597
9698
9799 func managerAddress () = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(coordinator(), k_manager_address), "Manager address not set")), "Manager address invalid")
98100
99101
100102 let DECIMAL_UNIT = (1 * (((((((10 * 10) * 10) * 10) * 10) * 10) * 10) * 10))
101103
102104 let DURATION = (((7 * 60) * 60) * 24)
103105
104106 let NO_ADDRESS = ""
105107
106108 let NO_STAKER = 0
107109
108110 func assetFromDecimals (_amount) = {
109111 let assetDecimals = vaultAssetDecimals()
110112 if ((assetDecimals == 6))
111113 then (_amount / 100)
112114 else if ((assetDecimals == 8))
113115 then _amount
114116 else throw("Invalid asset decimals")
115117 }
116118
117119
118120 func assetToDecimals (_amount) = {
119121 let assetDecimals = vaultAssetDecimals()
120122 if ((assetDecimals == 6))
121123 then (_amount * 100)
122124 else if ((assetDecimals == 8))
123125 then _amount
124126 else throw("Invalid asset decimals")
125127 }
126128
127129
128130 func divd (_x,_y) = fraction(_x, DECIMAL_UNIT, _y, HALFEVEN)
129131
130132
131133 func muld (_x,_y) = fraction(_x, _y, DECIMAL_UNIT, HALFEVEN)
132134
133135
134136 func abs (_x) = if ((_x > 0))
135137 then _x
136138 else -(_x)
137139
138140
139141 func minv (_x,_y) = if ((_x > _y))
140142 then _y
141143 else _x
142144
143145
144146 let WITHDRAW_PERIOD = (86400 * 1000)
145147
146148 let WITHDRAW_PER_PERIOD = divd((1 * DECIMAL_UNIT), (4 * DECIMAL_UNIT))
147149
148150 func int (k) = valueOrErrorMessage(getInteger(this, k), ("no value for " + k))
149151
150152
151153 func int0 (k) = valueOrElse(getInteger(this, k), 0)
152154
153155
154156 func int1 (k) = valueOrElse(getInteger(this, k), DECIMAL_UNIT)
155157
156158
159+func intOr (k,val) = valueOrElse(getInteger(this, k), val)
160+
161+
157162 func totalSupply () = int0(k_totalSupply)
158163
159164
160165 func rate () = int1(k_rate)
161166
162167
163168 func balanceOf (_staker) = int0(toCompositeKey(k_balance, _staker))
164169
165170
166171 func averageRate (_staker) = int0(toCompositeKey(k_average_rate, _staker))
167172
168173
169174 func withdrawLimit (_staker) = int0(toCompositeKey(k_withdraw_limit, _staker))
170175
171176
172177 func withdrawnInPeriod (_staker) = int0(toCompositeKey(k_withdraw_in_period, _staker))
173178
174179
175180 func lastWithdrawnDate (_staker) = int0(toCompositeKey(k_last_withdraw_date, _staker))
176181
177182
178183 func freeBalance () = int0(k_freeBalance)
179184
180185
181186 func lockedBalance () = int0(k_lockedBalance)
182187
183188
184189 func excessBalance () = int0(k_excessBalance)
185190
186191
187192 func rewardPerTokenStored () = int0(k_rewardPerTokenStored)
188193
189194
190195 func lastUpdateTime () = int0(k_lastUpdateTime)
191196
192197
193198 func rewardRate () = int0(k_rewardRate)
194199
195200
196201 func periodFinish () = int0(k_periodFinish)
197202
198203
199204 func rewardBalance () = int0(k_rewardBalance)
200205
201206
202207 func rewards (_staker) = int0(toCompositeKey(k_userReward, _staker))
203208
204209
205210 func userRewardPerTokenPaid (_staker) = int0(toCompositeKey(k_userRewardPerToken, _staker))
206211
207212
208213 func maxSpotUtilization () = int0(k_maxSpotUtilization)
209214
210215
216+func withdrawPerPeriod () = intOr(k_withdrawPerPeriod, WITHDRAW_PER_PERIOD)
217+
218+
211219 func initialized () = valueOrElse(getBoolean(this, k_initialized), false)
212220
213221
214222 func currentTimestamp () = lastBlock.timestamp
215223
216224
217225 func currentTimestampSec () = (currentTimestamp() / 1000)
218226
219227
220228 func getWithdrawLimitLeft (_staker) = {
221229 let currentDate = currentTimestamp()
222230 let lastWithdrawDate = lastWithdrawnDate(_staker)
223- let $t062656586 = if (((currentDate - lastWithdrawDate) > WITHDRAW_PERIOD))
231+ let $t064646785 = if (((currentDate - lastWithdrawDate) > WITHDRAW_PERIOD))
224232 then $Tuple3(currentDate, withdrawLimit(_staker), 0)
225233 else $Tuple3(lastWithdrawDate, (withdrawLimit(_staker) - withdrawnInPeriod(_staker)), withdrawnInPeriod(_staker))
226- let newLastWithdrawnDate = $t062656586._1
227- let withdrawLimitLeft = $t062656586._2
228- let alreadyWithdrawnInPeriod = $t062656586._3
234+ let newLastWithdrawnDate = $t064646785._1
235+ let withdrawLimitLeft = $t064646785._2
236+ let alreadyWithdrawnInPeriod = $t064646785._3
229237 $Tuple3(newLastWithdrawnDate, withdrawLimitLeft, alreadyWithdrawnInPeriod)
230238 }
231239
232240
233241 func computeNewRate (_amountOfQuoteAsset) = {
234242 let newRate = if ((totalSupply() > 0))
235243 then divd((freeBalance() + _amountOfQuoteAsset), totalSupply())
236244 else DECIMAL_UNIT
237245 newRate
238246 }
239247
240248
241249 func lastTimeRewardApplicable () = minv(currentTimestampSec(), periodFinish())
242250
243251
244252 func rewardPerToken (_balanceDelta) = if (((totalSupply() + _balanceDelta) == 0))
245253 then rewardPerTokenStored()
246254 else {
247255 let timeInterval = (lastTimeRewardApplicable() - lastUpdateTime())
248256 let actualTimeInterval = if ((0 > timeInterval))
249257 then 0
250258 else timeInterval
251259 let diff = divd((rewardRate() * actualTimeInterval), (totalSupply() + _balanceDelta))
252260 (rewardPerTokenStored() + diff)
253261 }
254262
255263
256264 func earned (_staker,_balanceDelta) = {
257265 let rewardDelta = (rewardPerToken(_balanceDelta) - userRewardPerTokenPaid(_staker))
258266 (muld((balanceOf(_staker) + _balanceDelta), rewardDelta) + rewards(_staker))
259267 }
260268
261269
262270 func updateReward (_staker,_balanceDelta) = {
263271 let newRewardPerTokenStored = rewardPerToken(_balanceDelta)
264272 let newLastUpdateTime = currentTimestampSec()
265- let $t078088000 = if ((_staker != ""))
273+ let $t080078199 = if ((_staker != ""))
266274 then $Tuple2(earned(_staker, _balanceDelta), newRewardPerTokenStored)
267275 else $Tuple2(0, 0)
268- let stakerEarned = $t078088000._1
269- let stakerRewardPerTokenPaid = $t078088000._2
276+ let stakerEarned = $t080078199._1
277+ let stakerRewardPerTokenPaid = $t080078199._2
270278 $Tuple4(newRewardPerTokenStored, newLastUpdateTime, stakerEarned, stakerRewardPerTokenPaid)
271279 }
272280
273281
274282 func updateUserBalance (_user,_change) = if (((balanceOf(_user) + _change) >= 0))
275283 then [IntegerEntry(toCompositeKey(k_balance, _user), (balanceOf(_user) + _change))]
276284 else throw(((("Vault: can not update user balance. Balance: " + toString(balanceOf(_user))) + " change: ") + toString(_change)))
277285
278286
279287 func setUserWithdrawLimit (_user,_rate) = [IntegerEntry(toCompositeKey(k_withdraw_limit, _user), _rate)]
280288
281289
282290 func setUserAverageRate (_user,_rate) = [IntegerEntry(toCompositeKey(k_average_rate, _user), _rate)]
283291
284292
285293 func updateFreeBalance (_change) = {
286294 let balance = freeBalance()
287295 if (((balance + _change) >= 0))
288296 then [IntegerEntry(k_freeBalance, (balance + _change))]
289297 else throw(((("Vault: can not update free balance. Balance: " + toString(balance)) + " change: ") + toString(_change)))
290298 }
291299
292300
293301 func updateLockedBalance (_change) = {
294302 let balance = lockedBalance()
295303 if (((balance + _change) >= 0))
296304 then [IntegerEntry(k_lockedBalance, (balance + _change))]
297305 else throw(((("Vault: can not update locked balance. Balance: " + toString(balance)) + " change: ") + toString(_change)))
298306 }
299307
300308
301309 func updateExcessBalance (_change) = {
302310 let newImbalance = (excessBalance() + _change)
303311 let utilizationRate = divd(abs(newImbalance), freeBalance())
304312 if ((maxSpotUtilization() > utilizationRate))
305313 then [IntegerEntry(k_excessBalance, newImbalance)]
306314 else throw(((((((("Vault: can not update excess balance. Balance: " + toString(excessBalance())) + " change: ") + toString(_change)) + " utilization rate: ") + toString(utilizationRate)) + " max utilization rate: ") + toString(maxSpotUtilization())))
307315 }
308316
309317
310318 func updateTotalSupply (_change) = [IntegerEntry(k_totalSupply, (totalSupply() + _change))]
311319
312320
313321 func updateRate (_rate) = [IntegerEntry(k_rate, _rate)]
314322
315323
316324 func setUserWithdrawParams (_user,_lastWithdrawDate,_withdrawn) = [IntegerEntry(toCompositeKey(k_last_withdraw_date, _user), _lastWithdrawDate), IntegerEntry(toCompositeKey(k_withdraw_in_period, _user), _withdrawn)]
317325
318326
319327 func updateRewardBalance (_delta) = [IntegerEntry(k_rewardBalance, (rewardBalance() + _delta))]
320328
321329
322330 func updateRewardRate (_rewardRate) = [IntegerEntry(k_rewardRate, _rewardRate)]
323331
324332
325333 func updateTime (_lastUpdateTime,_periodFinish) = [IntegerEntry(k_lastUpdateTime, _lastUpdateTime), IntegerEntry(k_periodFinish, _periodFinish)]
326334
327335
328336 func updateRewardPerTokenStored (_rewardPerTokenStored) = [IntegerEntry(k_rewardPerTokenStored, _rewardPerTokenStored)]
329337
330338
331339 func updateUserRewards (_staker,_reward,_userRewardPerToken) = [IntegerEntry(toCompositeKey(k_userReward, _staker), _reward), IntegerEntry(toCompositeKey(k_userRewardPerToken, _staker), _userRewardPerToken)]
332340
333341
334342 @Callable(i)
335-func changeSettings (_maxSpotUtilization) = if (if (if (!(initialized()))
343+func changeSettings (_maxSpotUtilization,_withdrawPerPeriod) = if (if (if (if (!(initialized()))
336344 then true
337345 else (i.caller != adminAddress()))
338346 then true
339347 else if ((0 > _maxSpotUtilization))
340348 then true
341349 else (_maxSpotUtilization > DECIMAL_UNIT))
350+ then true
351+ else if ((0 > _withdrawPerPeriod))
352+ then true
353+ else (_withdrawPerPeriod > DECIMAL_UNIT))
342354 then throw("Invalid changeSettings params")
343- else [IntegerEntry(k_maxSpotUtilization, _maxSpotUtilization)]
355+ else [IntegerEntry(k_maxSpotUtilization, _maxSpotUtilization), IntegerEntry(k_withdrawPerPeriod, _withdrawPerPeriod)]
344356
345357
346358
347359 @Callable(i)
348360 func initialize (_coordinator,_vaultAsset,_maxSpotUtilization) = if (if (if (if (initialized())
349361 then true
350362 else (i.caller != this))
351363 then true
352364 else (0 > _maxSpotUtilization))
353365 then true
354366 else (_maxSpotUtilization > DECIMAL_UNIT))
355367 then throw("Unable to initialize")
356368 else {
357369 let assetDecimals = if ((_vaultAsset == "WAVES"))
358370 then 8
359371 else {
360372 let info = valueOrErrorMessage(assetInfo(fromBase58String(_vaultAsset)), ("Invalid token id: " + _vaultAsset))
361373 info.decimals
362374 }
363375 [StringEntry(k_coordinatorAddress, toString(valueOrErrorMessage(addressFromString(_coordinator), "Invalid coordinator address"))), StringEntry(k_vaultAsset, _vaultAsset), IntegerEntry(k_vaultAssetDecimals, assetDecimals), IntegerEntry(k_maxSpotUtilization, _maxSpotUtilization), BooleanEntry(k_initialized, true)]
364376 }
365377
366378
367379
368380 @Callable(i)
369381 func stake () = {
370382 let _staker = toString(i.caller)
371383 let _amount = assetToDecimals(i.payments[0].amount)
372384 if (if (if ((i.payments[0].assetId != vaultAsset()))
373385 then true
374386 else (size(i.payments) != 1))
375387 then true
376388 else !(initialized()))
377389 then throw("Invalid call to stake")
378390 else {
379- let $t01291113140 = updateReward(_staker, 0)
380- let newRewardPerTokenStored = $t01291113140._1
381- let newLastUpdateTime = $t01291113140._2
382- let stakerEarned = $t01291113140._3
383- let stakerRewardPerTokenPaid = $t01291113140._4
391+ let $t01327313502 = updateReward(_staker, 0)
392+ let newRewardPerTokenStored = $t01327313502._1
393+ let newLastUpdateTime = $t01327313502._2
394+ let stakerEarned = $t01327313502._3
395+ let stakerRewardPerTokenPaid = $t01327313502._4
384396 let currentRate = rate()
385397 let prevAverageRate = averageRate(_staker)
386398 let vAmount = divd(_amount, currentRate)
387399 let newAverageRate = divd((muld(vAmount, currentRate) + muld(balanceOf(_staker), prevAverageRate)), (vAmount + balanceOf(_staker)))
388400 let newTotalBalance = (vAmount + balanceOf(_staker))
389- let newWithdrawLimit = muld(newTotalBalance, WITHDRAW_PER_PERIOD)
401+ let newWithdrawLimit = muld(newTotalBalance, withdrawPerPeriod())
390402 let stake = invoke(managerAddress(), "deposit", nil, [AttachedPayment(vaultAsset(), assetFromDecimals(_amount))])
391403 if ((stake == stake))
392404 then {
393405 let notify = if ((maxSpotUtilization() > 0))
394406 then invoke(spotAddress(), "notifyVaultBalanceChange", [vaultAssetStr(), _amount], nil)
395407 else nil
396408 if ((notify == notify))
397409 then (((((((updateUserRewards(_staker, stakerEarned, stakerRewardPerTokenPaid) ++ updateRewardPerTokenStored(newRewardPerTokenStored)) ++ updateTime(newLastUpdateTime, periodFinish())) ++ updateFreeBalance(_amount)) ++ updateUserBalance(_staker, vAmount)) ++ setUserAverageRate(_staker, newAverageRate)) ++ setUserWithdrawLimit(_staker, newWithdrawLimit)) ++ updateTotalSupply(vAmount))
398410 else throw("Strict value is not equal to itself.")
399411 }
400412 else throw("Strict value is not equal to itself.")
401413 }
402414 }
403415
404416
405417
406418 @Callable(i)
407419 func unStake (_amount) = {
408420 let _staker = toString(i.caller)
409421 let amountOfQuoteAsset = assetToDecimals(_amount)
410422 if (if (if ((i.payments != nil))
411423 then true
412424 else (0 >= amountOfQuoteAsset))
413425 then true
414426 else !(initialized()))
415427 then throw("Invalid call to unStake")
416428 else {
417- let $t01473014946 = updateReward(_staker, 0)
418- let newRewardPerTokenStored = $t01473014946._1
419- let newLastUpdateTime = $t01473014946._2
420- let stakerEarned = $t01473014946._3
421- let stakerRewardPerTokenPaid = $t01473014946._4
422- let $t01495315120 = getWithdrawLimitLeft(_staker)
423- let newLastWithdrawnDate = $t01495315120._1
424- let withdrawLimitLeft = $t01495315120._2
425- let alreadyWithdrawnInPeriod = $t01495315120._3
429+ let $t01509215308 = updateReward(_staker, 0)
430+ let newRewardPerTokenStored = $t01509215308._1
431+ let newLastUpdateTime = $t01509215308._2
432+ let stakerEarned = $t01509215308._3
433+ let stakerRewardPerTokenPaid = $t01509215308._4
434+ let $t01531515482 = getWithdrawLimitLeft(_staker)
435+ let newLastWithdrawnDate = $t01531515482._1
436+ let withdrawLimitLeft = $t01531515482._2
437+ let alreadyWithdrawnInPeriod = $t01531515482._3
426438 let vAmount = divd(amountOfQuoteAsset, rate())
427439 if ((vAmount > withdrawLimitLeft))
428440 then throw("Invalid call to unStake: withdraw over limit")
429441 else {
430442 let newWithdrawnInPeriod = (alreadyWithdrawnInPeriod + vAmount)
431443 if ((amountOfQuoteAsset > freeBalance()))
432444 then throw("Invalid call to unStake: balance too low")
433445 else {
434446 let unstake = invoke(managerAddress(), "withdraw", [vaultAssetStr(), assetFromDecimals(amountOfQuoteAsset)], nil)
435447 if ((unstake == unstake))
436448 then {
437449 let notify = if ((maxSpotUtilization() > 0))
438450 then invoke(spotAddress(), "notifyVaultBalanceChange", [vaultAssetStr(), -(amountOfQuoteAsset)], nil)
439451 else nil
440452 if ((notify == notify))
441453 then (((((((updateUserRewards(_staker, stakerEarned, stakerRewardPerTokenPaid) ++ updateRewardPerTokenStored(newRewardPerTokenStored)) ++ updateTime(newLastUpdateTime, periodFinish())) ++ updateFreeBalance(-(amountOfQuoteAsset))) ++ updateUserBalance(_staker, -(vAmount))) ++ updateTotalSupply(-(vAmount))) ++ setUserWithdrawParams(_staker, newLastWithdrawnDate, newWithdrawnInPeriod)) ++ [ScriptTransfer(i.caller, assetFromDecimals(amountOfQuoteAsset), vaultAsset())])
442454 else throw("Strict value is not equal to itself.")
443455 }
444456 else throw("Strict value is not equal to itself.")
445457 }
446458 }
447459 }
448460 }
449461
450462
451463
452464 @Callable(i)
453465 func withdrawRewards () = {
454466 let _staker = toString(i.caller)
455- let $t01673016875 = updateReward(_staker, 0)
456- let newRewardPerTokenStored = $t01673016875._1
457- let newLastUpdateTime = $t01673016875._2
458- let stakerEarned = $t01673016875._3
459- let stakerRewardPerTokenPaid = $t01673016875._4
467+ let $t01709217237 = updateReward(_staker, 0)
468+ let newRewardPerTokenStored = $t01709217237._1
469+ let newLastUpdateTime = $t01709217237._2
470+ let stakerEarned = $t01709217237._3
471+ let stakerRewardPerTokenPaid = $t01709217237._4
460472 if (if ((0 >= stakerEarned))
461473 then true
462474 else !(initialized()))
463475 then throw("No reward: Vault")
464476 else ((((updateUserRewards(_staker, 0, stakerRewardPerTokenPaid) ++ updateRewardPerTokenStored(newRewardPerTokenStored)) ++ updateTime(newLastUpdateTime, periodFinish())) ++ updateRewardBalance(-(stakerEarned))) ++ [ScriptTransfer(i.caller, stakerEarned, governanceAsset())])
465477 }
466478
467479
468480
469481 @Callable(i)
470482 func addFree () = {
471483 let _amount = assetToDecimals(i.payments[0].amount)
472484 if (if (if (if ((i.payments[0].assetId != vaultAsset()))
473485 then true
474486 else (size(i.payments) != 1))
475487 then true
476488 else !(initialized()))
477489 then true
478490 else !(if (if (isWhitelist(toString(i.caller)))
479491 then true
480492 else (i.caller == spotAddress()))
481493 then true
482494 else (i.caller == adminAddress())))
483495 then throw("Invalid addFree params")
484496 else {
485497 let newRate = computeNewRate(_amount)
486498 let stake = invoke(managerAddress(), "deposit", nil, [AttachedPayment(vaultAsset(), assetFromDecimals(_amount))])
487499 if ((stake == stake))
488500 then (updateFreeBalance(_amount) ++ updateRate(newRate))
489501 else throw("Strict value is not equal to itself.")
490502 }
491503 }
492504
493505
494506
495507 @Callable(i)
496508 func addLocked () = {
497509 let _amount = assetToDecimals(i.payments[0].amount)
498510 if (if (if (if ((i.payments[0].assetId != vaultAsset()))
499511 then true
500512 else (size(i.payments) != 1))
501513 then true
502514 else !(initialized()))
503515 then true
504516 else !(if (isWhitelist(toString(i.caller)))
505517 then true
506518 else (i.caller == adminAddress())))
507519 then throw("Invalid addLocked params")
508520 else {
509521 let unstake = invoke(managerAddress(), "deposit", nil, [AttachedPayment(vaultAsset(), assetFromDecimals(_amount))])
510522 if ((unstake == unstake))
511523 then updateLockedBalance(_amount)
512524 else throw("Strict value is not equal to itself.")
513525 }
514526 }
515527
516528
517529
518530 @Callable(i)
519531 func exchangeFreeAndLocked (_amount) = if (if (!(initialized()))
520532 then true
521533 else if (!(isWhitelist(toString(i.caller))))
522534 then (i.caller != adminAddress())
523535 else false)
524536 then throw("Invalid exchangeFreeAndLocked params")
525537 else {
526538 let amountOfQuoteAsset = assetToDecimals(_amount)
527539 let newRate = computeNewRate(-(amountOfQuoteAsset))
528540 ((updateLockedBalance(amountOfQuoteAsset) ++ updateFreeBalance(-(amountOfQuoteAsset))) ++ updateRate(newRate))
529541 }
530542
531543
532544
533545 @Callable(i)
534546 func withdrawLocked (_amount) = if (if (if (!(initialized()))
535547 then true
536548 else (0 >= _amount))
537549 then true
538550 else !(isWhitelist(toString(i.caller))))
539551 then throw("Invalid withdrawLocked params")
540552 else {
541553 let amountOfQuoteAsset = assetToDecimals(_amount)
542554 let unstake = invoke(managerAddress(), "withdraw", [vaultAssetStr(), assetFromDecimals(amountOfQuoteAsset)], nil)
543555 if ((unstake == unstake))
544556 then (updateLockedBalance(-(amountOfQuoteAsset)) ++ [ScriptTransfer(i.caller, assetFromDecimals(amountOfQuoteAsset), vaultAsset())])
545557 else throw("Strict value is not equal to itself.")
546558 }
547559
548560
549561
550562 @Callable(i)
551563 func borrow (_amount) = if (if (if (!(initialized()))
552564 then true
553565 else (0 >= _amount))
554566 then true
555567 else !((i.caller == spotAddress())))
556568 then throw("Invalid borrow params")
557569 else {
558570 let amountOfQuoteAsset = assetToDecimals(_amount)
559571 let unstake = invoke(managerAddress(), "withdraw", [vaultAssetStr(), assetFromDecimals(amountOfQuoteAsset)], nil)
560572 if ((unstake == unstake))
561573 then (updateExcessBalance(-(amountOfQuoteAsset)) ++ [ScriptTransfer(i.caller, assetFromDecimals(amountOfQuoteAsset), vaultAsset())])
562574 else throw("Strict value is not equal to itself.")
563575 }
564576
565577
566578
567579 @Callable(i)
568580 func repay () = {
569581 let _amount = assetToDecimals(i.payments[0].amount)
570582 if (if (if (if ((i.payments[0].assetId != vaultAsset()))
571583 then true
572584 else (size(i.payments) != 1))
573585 then true
574586 else !(initialized()))
575587 then true
576588 else !(if ((i.caller == spotAddress()))
577589 then true
578590 else (i.caller == adminAddress())))
579591 then throw("Invalid repay params")
580592 else {
581593 let unstake = invoke(managerAddress(), "deposit", nil, [AttachedPayment(vaultAsset(), assetFromDecimals(_amount))])
582594 if ((unstake == unstake))
583595 then updateExcessBalance(_amount)
584596 else throw("Strict value is not equal to itself.")
585597 }
586598 }
587599
588600
589601
590602 @Callable(i)
591603 func addRewards () = if (if (if ((i.payments[0].assetId != governanceAsset()))
592604 then true
593605 else (size(i.payments) != 1))
594606 then true
595607 else !(initialized()))
596608 then throw("Invalid addRewards params")
597609 else {
598610 let _reward = i.payments[0].amount
599611 let newRewardPerTokenStored = updateReward(NO_ADDRESS, NO_STAKER)._1
600612 let timestamp = currentTimestampSec()
601613 let newRewardRate = if ((timestamp > periodFinish()))
602614 then (_reward / DURATION)
603615 else {
604616 let remainingTime = (periodFinish() - timestamp)
605617 let leftover = (rewardRate() * remainingTime)
606618 ((_reward + leftover) / DURATION)
607619 }
608620 (((updateRewardRate(newRewardRate) ++ updateRewardPerTokenStored(newRewardPerTokenStored)) ++ updateRewardBalance(_reward)) ++ updateTime(timestamp, (timestamp + DURATION)))
609621 }
610622
611623
612624
613625 @Callable(i)
614626 func ackRewards () = {
615627 let profitResp = invoke(managerAddress(), "claimProfit", [vaultAssetStr()], nil)
616628 if ((profitResp == profitResp))
617629 then {
618630 let profit = match profitResp {
619631 case p: Int =>
620632 assetToDecimals(p)
621633 case _ =>
622634 throw("Invalid claimProfit response")
623635 }
624636 let result = if ((profit > 0))
625637 then {
626638 let newRate = computeNewRate(profit)
627639 let stake = invoke(managerAddress(), "deposit", nil, [AttachedPayment(vaultAsset(), assetFromDecimals(profit))])
628640 if ((stake == stake))
629641 then (updateFreeBalance(profit) ++ updateRate(newRate))
630642 else throw("Strict value is not equal to itself.")
631643 }
632644 else nil
633645 if ((result == result))
634646 then result
635647 else throw("Strict value is not equal to itself.")
636648 }
637649 else throw("Strict value is not equal to itself.")
638650 }
639651
640652
641653
642654 @Callable(i)
643655 func view_reward (_staker) = {
644656 let balance = balanceOf(_staker)
645657 let depositedAmount = muld(averageRate(_staker), balance)
646658 let currentAmount = muld(rate(), balance)
647659 let earnedQuote = (currentAmount - depositedAmount)
648660 throw(toString(earnedQuote))
649661 }
650662
651663
652664
653665 @Callable(i)
654666 func view_stakingReward (_staker) = {
655667 let stakerEarned = updateReward(_staker, 0)._3
656668 throw(toString(assetFromDecimals(stakerEarned)))
657669 }
658670
659671
660672
661673 @Callable(i)
662674 func view_withdrawLimit (_staker) = {
663675 let withdrawLimitLeft = getWithdrawLimitLeft(_staker)._2
664676 let limitInAsset = assetFromDecimals(muld(withdrawLimitLeft, rate()))
665677 throw(toString(limitInAsset))
666678 }
667679
668680
669681 @Verifier(tx)
670682 func verify () = {
671683 let coordinatorStr = getString(this, k_coordinatorAddress)
672684 if (isDefined(coordinatorStr))
673685 then {
674686 let admin = getString(addressFromStringValue(value(coordinatorStr)), k_admin_address)
675687 if (isDefined(admin))
676688 then valueOrElse(getBoolean(addressFromStringValue(value(admin)), ((("status_" + toString(this)) + "_") + toBase58String(tx.id))), false)
677689 else throw("unable to verify: admin not set in coordinator")
678690 }
679691 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
680692 }
681693

github/deemru/w8io/169f3d6 
90.70 ms