tx · 89BvCeFYBQokQWxnR2LjsG8tV5deDHdfmQa3sRZzP1ds

3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH:  -0.02600000 Waves

2023.03.21 15:20 [2499767] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves

{ "type": 13, "id": "89BvCeFYBQokQWxnR2LjsG8tV5deDHdfmQa3sRZzP1ds", "fee": 2600000, "feeAssetId": null, "timestamp": 1679401259159, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "4Gw231FTBPH49rvhUzSFxs7duyS1kxtSCnueTyMuBgsqw9v5M4GTkdNsE3sLpezSjqdpjUvg8hAToy7DbkWWVEGx" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRgADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgDAhD0ADl9wZXJjZW50YWdlRmVlCQBrAwUNX3VuaXREZWNpbWFscwAKAGQAGl9wZXJjZW50YWdlUmVkdWN0aW9uRmFjdG9yAilDdXJyZW50X1BlcmNlbnRhZ2VSZWR1Y3Rpb25fRmFjdG9yX0Zvcl9NcgADX01yAgxNaW50aW5nX1JhdGUADF9zdGF3QXNzZXRJZAIMU3Rhd19Bc3NldElkAAhfbWFuYWdlcgIHbWFuYWdlcgAEX0RmeAIDRGZ4ABVfY2lyY3VsYXRpb25JbmNySW5kZXg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MFEXVzZXJHZXRTdGF3QW1vdW50BQZzdGF3UEwFBmhlaWdodAUKbGVhc2VJZFN0cgUPdXNlclRvdGFsTG9ja2VkBQ51c2VySW5kZXhDb3VudAIGbGVhc2VkCQESX3VwZGF0ZUdsb2JhbEVudHJ5BAUNYW1vdW50SW5XYXZlcwgFDXRvdGFsU3Rhd01pbnQCXzEFBnN0YXdQTAUJbmV3X2luZGV4CAUNdG90YWxTdGF3TWludAJfMgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgBTxFot", "height": 2499767, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EpVdmF2w9bPsvaoq4LeXWzMaMTfKvoFBVThjYx6vF4N3 Next: meEohJXz5oMDLVnnc8nHWdTgY4moNt11HSq8KWSJaqT Diff:
OldNewDifferences
407407
408408 func _emissionRateWaves (lockPeriod,collateral) = {
409409 let extensionFactor = fraction(lockPeriod, 15, 10)
410- let emissionRate = ((fraction(_unitDecimals, ((collateral / ((extensionFactor - lockPeriod) * _Dt)) / 2), 1) * _Dt) * _Dt)
410+ let r = (fraction(_Dt, collateral, (extensionFactor - lockPeriod)) / 2)
411+ let emissionRate = (fraction(_unitDecimals, r, 1) * _Dt)
411412 emissionRate
412413 }
413414
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "_"
55
66 let _minLockperiod = 1
77
88 let _unitDecimals = 100000000
99
1010 let _minLockAmount = (1 * _unitDecimals)
1111
1212 let _maxLockAmount = (1000 * _unitDecimals)
1313
1414 let _Dt = 86400000
1515
1616 func _Ppy (lockPeriod) = fraction(_unitDecimals, 365, lockPeriod)
1717
1818
1919 let _incrementRef = 1000000
2020
2121 let _percentageFee = fraction(_unitDecimals, 10, 100)
2222
2323 let _percentageReductionFactor = "Current_PercentageReduction_Factor_For_Mr"
2424
2525 let _Mr = "Minting_Rate"
2626
2727 let _stawAssetId = "Staw_AssetId"
2828
2929 let _manager = "manager"
3030
3131 let _Dfx = "Dfx"
3232
3333 let _circulationIncrIndex = "CirculationIncrementIndex"
3434
3535 let _lesseeAddress = "LeaseNode"
3636
3737 let _userEmissionAmountClaimed = "EmissionAmountClaimed"
3838
3939 let _userCanClaimEmissionAmount = "CanClaimEmissionAmount"
4040
4141 let _userAddress = "WalletAddress"
4242
4343 let _userLocalIndexCount = "TotalEntryIndexCount"
4444
4545 let _userTotalLocked = "TotalLocked"
4646
4747 let _lockDuration = "LockDuration"
4848
4949 let _lockIndex = "GlobalLockIndex"
5050
5151 let _lockId = "LockIdentifier"
5252
5353 let _wavesAmount = "AmountInWaves"
5454
5555 let _stawAmount = "AmountInStaw"
5656
5757 let _stawLPAmount = "AmountInStawLP"
5858
5959 let _txId = "TXID"
6060
6161 let _lockAtHeight = "LockAtHeight"
6262
6363 let _lockPeriodInMiliSec = "LocKPeriodInMilliSec"
6464
6565 let _totalWavesClaimed = "TotalWavesClaimed"
6666
6767 let _userLeaseState = "LeaseState"
6868
6969 let _totalStaw = "TotalStawMinted"
7070
7171 let _totalWavesRef = "TotalWavesLocked"
7272
7373 let _totalStawLP = "TotalStawLP"
7474
7575 let _globalIndexCount = "IndexCount"
7676
7777 let _daysAfterLockPeriod = "DaysAfterLockPeriodElasped"
7878
7979 func _getI (key) = getInteger(this, key)
8080
8181
8282 func _getS (key) = getString(this, key)
8383
8484
8585 func _getB (key) = getBoolean(this, key)
8686
8787
8888 func _getBV (key) = value(getBoolean(this, key))
8989
9090
9191 func _getIV (key) = value(getInteger(this, key))
9292
9393
9494 func _getSV (key) = value(getString(this, key))
9595
9696
9797 func _setParamVal (key,defaultVal) = match defaultVal {
9898 case defaultVal: String =>
9999 if (isDefined(_getS(key)))
100100 then _getSV(key)
101101 else defaultVal
102102 case defaultVal: Int =>
103103 if (isDefined(_getI(key)))
104104 then _getIV(key)
105105 else defaultVal
106106 case defaultVal: Boolean =>
107107 if (isDefined(_getB(key)))
108108 then _getBV(key)
109109 else defaultVal
110110 case _ =>
111111 throw(("value type not supported for " + key))
112112 }
113113
114114
115115 func _throwOrReturnS (val,error) = match val {
116116 case val: String =>
117117 val
118118 case _ =>
119119 throw(error)
120120 }
121121
122122
123123 func _throwOrReturnI (val,error) = match val {
124124 case val: Int =>
125125 val
126126 case _ =>
127127 throw(error)
128128 }
129129
130130
131131 func _throwOrReturnBool (val,error) = match val {
132132 case val: Boolean =>
133133 val
134134 case _ =>
135135 throw(error)
136136 }
137137
138138
139139 func _writeInt (key,value) = if ((0 > value))
140140 then throw(((("writing negative value " + toString(value)) + " for key ") + key))
141141 else IntegerEntry(key, value)
142142
143143
144144 func _writeStr (key,value) = if ((" " == value))
145145 then throw(("writing an empty string " + value))
146146 else StringEntry(key, value)
147147
148148
149149 func _throwIf (condition,error) = if (condition)
150150 then throw(error)
151151 else true
152152
153153
154154 func _writeGlobalParam (key,_value) = match _value {
155155 case _value: Int =>
156156 let entry = makeString(["%d", toString(_value)], SEP)
157157 _writeStr(key, entry)
158158 case _value: String =>
159159 let entry = makeString(["%s", _value], SEP)
160160 _writeStr(key, entry)
161161 case _value: Boolean =>
162162 let entry = makeString(["%b", toString(_value)], SEP)
163163 _writeStr(key, entry)
164164 case _ =>
165165 throw("type not supported")
166166 }
167167
168168
169169 func _getRegistryEntryValue (key) = {
170170 let _rawValue = _throwOrReturnS(_getS(key), ("entry not found for " + key))
171171 if ((_rawValue == _rawValue))
172172 then {
173173 let x = split(_rawValue, SEP)
174174 let formatSpecifier = takeRight(x[0], 1)
175175 let _valueString = x[(size(x) - 1)]
176176 let _value = if ((formatSpecifier == "s"))
177177 then _valueString
178178 else if ((formatSpecifier == "d"))
179179 then parseIntValue(_valueString)
180180 else if ((formatSpecifier == "b"))
181181 then fromBase58String(_valueString)
182182 else throw(("could not parse registry value for " + key))
183183 _value
184184 }
185185 else throw("Strict value is not equal to itself.")
186186 }
187187
188188
189189 func _daysToMiliSec (days) = {
190190 let check = _throwIf((0 >= days), "invalid locking days!")
191191 if ((check == check))
192192 then (days * _Dt)
193193 else throw("Strict value is not equal to itself.")
194194 }
195195
196196
197197 func _writeConstString (key,value) = if (!(isDefined(_getS(key))))
198198 then _writeStr(key, value)
199199 else throw(("entry already initialized: " + key))
200200
201201
202202 func _writeConstInteger (key,value) = if (!(isDefined(_getS(key))))
203203 then _writeInt(key, value)
204204 else throw((" entry already initialized: " + key))
205205
206206
207207 func _onlyManager (i) = {
208208 let manager = match _getRegistryEntryValue(_manager) {
209209 case val: String =>
210210 val
211211 case _ =>
212212 "failed to get manager"
213213 }
214214 if ((manager == manager))
215215 then _throwIf((toBase58String(i.caller.bytes) != manager), "address not authorized")
216216 else throw("Strict value is not equal to itself.")
217217 }
218218
219219
220220 func _abs (val) = if ((0 > val))
221221 then -(val)
222222 else val
223223
224224
225225 func _validateAddress (address,errorMsg) = match address {
226226 case address: String =>
227227 let _address = addressFromString(address)
228228 match _address {
229229 case _address: Address =>
230230 true
231231 case _ =>
232232 match errorMsg {
233233 case msg: String =>
234234 throw(msg)
235235 case _ =>
236236 false
237237 }
238238 }
239239 case address: ByteVector =>
240240 let _address = addressFromPublicKey(address)
241241 match _address {
242242 case _address: Address =>
243243 true
244244 case _ =>
245245 match errorMsg {
246246 case msg: String =>
247247 throw(msg)
248248 case _ =>
249249 false
250250 }
251251 }
252252 case _ =>
253253 throw("invalid input type")
254254 }
255255
256256
257257 func _validateAsset (assetID,errorMsg) = match assetInfo(fromBase58String(assetID)) {
258258 case asset: Asset =>
259259 true
260260 case _ =>
261261 match errorMsg {
262262 case msg: String =>
263263 throw(msg)
264264 case _ =>
265265 false
266266 }
267267 }
268268
269269
270270 func _computeMr () = {
271271 let currentCircIndex = match _getRegistryEntryValue(_circulationIncrIndex) {
272272 case t: Int =>
273273 t
274274 case _ =>
275275 throw("circulation index not previously defined")
276276 }
277277 if ((currentCircIndex == currentCircIndex))
278278 then {
279279 let stawAssetId = match _getRegistryEntryValue(_stawAssetId) {
280280 case t: String =>
281281 t
282282 case _ =>
283283 throw("asset id not previously defined")
284284 }
285285 if ((stawAssetId == stawAssetId))
286286 then {
287287 let stawCirculatingSupply = match assetInfo(fromBase58String(stawAssetId)) {
288288 case asset: Asset =>
289289 (asset.quantity / _unitDecimals)
290290 case _ =>
291291 throw(("asset not found for " + stawAssetId))
292292 }
293293 let unitIncrement = (_abs((stawCirculatingSupply - _incrementRef)) / _incrementRef)
294294 let newCirculationIncrIndex = if ((unitIncrement > currentCircIndex))
295295 then (unitIncrement + currentCircIndex)
296296 else currentCircIndex
297297 let currentMr = match _getRegistryEntryValue(_Mr) {
298298 case t: Int =>
299299 t
300300 case _ =>
301301 throw("failed to get miniting rate")
302302 }
303303 if ((newCirculationIncrIndex == currentCircIndex))
304304 then $Tuple2(currentMr, nil)
305305 else {
306306 let newreductionFactor = match _getRegistryEntryValue(_percentageReductionFactor) {
307307 case t: Int =>
308308 (t + 10)
309309 case _ =>
310310 throw("failed to get percentage reduction factor")
311311 }
312312 let newCurrentMr = (currentMr - fraction(currentMr, newreductionFactor, 100))
313313 let store1 = _writeGlobalParam(_Mr, newCurrentMr)
314314 let store2 = _writeGlobalParam(_percentageReductionFactor, newreductionFactor)
315315 let store3 = _writeGlobalParam(_circulationIncrIndex, newCirculationIncrIndex)
316316 $Tuple2(newCurrentMr, [store1, store2, store3])
317317 }
318318 }
319319 else throw("Strict value is not equal to itself.")
320320 }
321321 else throw("Strict value is not equal to itself.")
322322 }
323323
324324
325325 func _updateGlobalEntry (wavesAmount,stawAmount,stawPL,indexCount) = {
326326 let _newGlobalTotalWavesAmtRef = match _getRegistryEntryValue(_totalWavesRef) {
327327 case t: Int =>
328328 (t + wavesAmount)
329329 case _ =>
330330 throw("failed to get global total waves")
331331 }
332332 if ((_newGlobalTotalWavesAmtRef == _newGlobalTotalWavesAmtRef))
333333 then {
334334 let _newGlobalTotalStawMinted = match _getRegistryEntryValue(_totalStaw) {
335335 case t: Int =>
336336 (t + stawAmount)
337337 case _ =>
338338 throw("failed to get global total staw minted")
339339 }
340340 if ((_newGlobalTotalStawMinted == _newGlobalTotalStawMinted))
341341 then {
342342 let _newGlobalTotalStawPL = match _getRegistryEntryValue(_totalStawLP) {
343343 case t: Int =>
344344 (t + stawPL)
345345 case _ =>
346346 throw("failed to get global total stawpl")
347347 }
348348 if ((_newGlobalTotalStawPL == _newGlobalTotalStawPL))
349349 then {
350350 let _newGlobaIndexCount = match _getRegistryEntryValue(_globalIndexCount) {
351351 case t: Int =>
352352 (t + indexCount)
353353 case _ =>
354354 throw("failed to get global index count")
355355 }
356356 if ((_newGlobaIndexCount == _newGlobaIndexCount))
357357 then [_writeGlobalParam(_totalWavesRef, _newGlobalTotalWavesAmtRef), _writeGlobalParam(_totalStaw, _newGlobalTotalStawMinted), _writeGlobalParam(_totalStawLP, _newGlobalTotalStawPL), _writeGlobalParam(_globalIndexCount, _newGlobaIndexCount)]
358358 else throw("Strict value is not equal to itself.")
359359 }
360360 else throw("Strict value is not equal to itself.")
361361 }
362362 else throw("Strict value is not equal to itself.")
363363 }
364364 else throw("Strict value is not equal to itself.")
365365 }
366366
367367
368368 func _registerUserEntry (transactionID,userAddress,lockDuration,lockDurationInMili,lockIndex,wavesAmount,stawAmount,stawLPAmount,lockAtHeight,lockId,totalLocked,localIndexCount,leaseState) = {
369369 let _txIdKey = makeString([userAddress, transactionID, _txId], SEP)
370370 let _lockDurationKey = makeString([userAddress, transactionID, _lockDuration], SEP)
371371 let _lockIndexKey = makeString([userAddress, transactionID, _lockIndex], SEP)
372372 let _wavesAmountKey = makeString([userAddress, transactionID, _wavesAmount], SEP)
373373 let _stawAmountKey = makeString([userAddress, transactionID, _stawAmount], SEP)
374374 let _stawLPAmountKey = makeString([userAddress, transactionID, _stawLPAmount], SEP)
375375 let _lockAtHeightKey = makeString([userAddress, transactionID, _lockAtHeight], SEP)
376376 let _lockIdKey = makeString([userAddress, transactionID, _lockId], SEP)
377377 let _totalLockedKey = makeString([userAddress, _userTotalLocked], SEP)
378378 let _localLockIndexKey = makeString([userAddress, _userLocalIndexCount], SEP)
379379 let _lockPeriodInMiliSecKey = makeString([userAddress, transactionID, _lockPeriodInMiliSec], SEP)
380380 let _totalWavesClaimedKey = makeString([userAddress, transactionID, _totalWavesClaimed], SEP)
381381 let _userLeaseStateKey = makeString([userAddress, transactionID, _userLeaseState], SEP)
382382 let trxIdEntry = makeString(["%s", transactionID], SEP)
383383 let lockDurationEntry = makeString(["%d", toString(lockDuration)], SEP)
384384 let lockIndexEntry = makeString(["%d", toString(lockIndex)], SEP)
385385 let wavesAmountEntry = makeString(["%d", toString(wavesAmount)], SEP)
386386 let stawAmountEntry = makeString(["%d", toString(stawAmount)], SEP)
387387 let stawLPAmountEntry = makeString(["%d", toString(stawLPAmount)], SEP)
388388 let lockAtHeightEntry = makeString(["%d", toString(lockAtHeight)], SEP)
389389 let lockIdEntry = makeString(["%b", lockId], SEP)
390390 let totalLockedEntry = makeString(["%d", toString(totalLocked)], SEP)
391391 let userLocalIndexEntry = makeString(["%d", toString(localIndexCount)], SEP)
392392 let lockPeriodInMiliSecEntry = makeString(["%d", toString(lockDurationInMili)], SEP)
393393 let totalWavesClaimedEntry = makeString(["%d", toString(0)], SEP)
394394 let userLeaseStateEntry = makeString(["%s", leaseState], SEP)
395395 [_writeConstString(_txIdKey, trxIdEntry), _writeConstString(_lockIndexKey, lockIndexEntry), _writeStr(_localLockIndexKey, userLocalIndexEntry), _writeStr(_totalLockedKey, totalLockedEntry), _writeConstString(_lockDurationKey, lockDurationEntry), _writeConstString(_lockPeriodInMiliSecKey, lockPeriodInMiliSecEntry), _writeConstString(_wavesAmountKey, wavesAmountEntry), _writeConstString(_stawAmountKey, stawAmountEntry), _writeStr(_stawLPAmountKey, stawLPAmountEntry), _writeStr(_totalWavesClaimedKey, totalWavesClaimedEntry), _writeConstString(_lockAtHeightKey, lockAtHeightEntry), _writeConstString(_lockIdKey, lockIdEntry), _writeStr(_userLeaseStateKey, userLeaseStateEntry)]
396396 }
397397
398398
399399 func _stawMF (lockPeriod,collateralWaves) = {
400400 let _adjustedMr = _computeMr()
401401 let ret = (fraction(collateralWaves, (_Dt * _adjustedMr._1), _Ppy(lockPeriod)) / _unitDecimals)
402402 if ((size(_adjustedMr._2) == 0))
403403 then $Tuple2(ret, nil)
404404 else $Tuple2(ret, _adjustedMr._2)
405405 }
406406
407407
408408 func _emissionRateWaves (lockPeriod,collateral) = {
409409 let extensionFactor = fraction(lockPeriod, 15, 10)
410- let emissionRate = ((fraction(_unitDecimals, ((collateral / ((extensionFactor - lockPeriod) * _Dt)) / 2), 1) * _Dt) * _Dt)
410+ let r = (fraction(_Dt, collateral, (extensionFactor - lockPeriod)) / 2)
411+ let emissionRate = (fraction(_unitDecimals, r, 1) * _Dt)
411412 emissionRate
412413 }
413414
414415
415416 func _incrTotalStawLP (amount) = {
416417 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
417418 [_writeInt(_totalStawLP, (oldStawLP + amount))]
418419 }
419420
420421
421422 func _decrTotalStawLP (amount) = {
422423 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
423424 [_writeInt(_totalStawLP, (oldStawLP - amount))]
424425 }
425426
426427
427428 func _incrTotalWavesRef (amount) = {
428429 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
429430 [_writeInt(_totalWavesRef, (oldWavesRef + amount))]
430431 }
431432
432433
433434 func _decrTotalWavesRef (amount) = {
434435 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
435436 [_writeInt(_totalWavesRef, (oldWavesRef - amount))]
436437 }
437438
438439
439440 func _getNewTimeStamp (blockHeight) = {
440441 let time = match blockInfoByHeight(blockHeight) {
441442 case timeInfo: BlockInfo =>
442443 timeInfo.timestamp
443444 case _ =>
444445 throw("counld get timestamp")
445446 }
446447 time
447448 }
448449
449450
450451 func getAssetQuantity (assetID) = match assetInfo(fromBase58String(assetID)) {
451452 case t: Asset =>
452453 t.quantity
453454 case _ =>
454455 throw("asset not found")
455456 }
456457
457458
458459 @Callable(i)
459460 func getEmission (lockPeriod,collateral) = {
460461 let check1 = _onlyManager(i)
461462 if ((check1 == check1))
462463 then $Tuple2(nil, _emissionRateWaves(lockPeriod, collateral))
463464 else throw("Strict value is not equal to itself.")
464465 }
465466
466467
467468
468469 @Callable(i)
469470 func init (manager,dfx,assetID,leaseNode) = {
470471 let managerAlreadyExists = if (isDefined(_getS(_manager)))
471472 then _onlyManager(i)
472473 else true
473474 if ((managerAlreadyExists == managerAlreadyExists))
474475 then {
475476 let check1 = _validateAddress(manager, "invalid address")
476477 if ((check1 == check1))
477478 then {
478479 let check2 = _validateAddress(dfx, "invalid address")
479480 if ((check2 == check2))
480481 then {
481482 let check3 = _validateAddress(leaseNode, "invalid address")
482483 if ((check3 == check3))
483484 then {
484485 let check4 = if (_validateAsset(assetID, "invalid asset"))
485486 then true
486487 else throw("invalid asset Id")
487488 if ((check4 == check4))
488489 then {
489490 let circulationIndex = _setParamVal(_circulationIncrIndex, 0)
490491 let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0)
491492 let Mr = _setParamVal(_Mr, _unitDecimals)
492493 let totalStawMinted = _setParamVal(_totalStaw, 0)
493494 let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0)
494495 let globalIndexCount = _setParamVal(_globalIndexCount, 0)
495496 let totalWavesRef = _setParamVal(_totalWavesRef, 0)
496497 [_writeGlobalParam(_manager, manager), _writeGlobalParam(_Dfx, dfx), _writeGlobalParam(_stawAssetId, assetID), _writeGlobalParam(_lesseeAddress, leaseNode), _writeGlobalParam(_circulationIncrIndex, circulationIndex), _writeGlobalParam(_Mr, Mr), _writeGlobalParam(_percentageReductionFactor, percentageReductionInMr), _writeGlobalParam(_totalWavesRef, totalWavesRef), _writeGlobalParam(_totalStawLP, totalStawLPInCirculation), _writeGlobalParam(_totalStaw, totalStawMinted), _writeGlobalParam(_globalIndexCount, globalIndexCount)]
497498 }
498499 else throw("Strict value is not equal to itself.")
499500 }
500501 else throw("Strict value is not equal to itself.")
501502 }
502503 else throw("Strict value is not equal to itself.")
503504 }
504505 else throw("Strict value is not equal to itself.")
505506 }
506507 else throw("Strict value is not equal to itself.")
507508 }
508509
509510
510511
511512 @Callable(i)
512513 func modifyGlobalParams (val) = {
513514 let check1 = _onlyManager(i)
514515 if ((check1 == check1))
515516 then {
516517 let errorMsg = makeString(["got", "list size of", toString(size(val)), "but expected [global_key, value] pair"], " ")
517518 let check2 = _throwIf((size(val) != 2), errorMsg)
518519 if ((check2 == check2))
519520 then {
520521 let key = val[0]
521522 let valType = parseInt(val[1])
522523 match valType {
523524 case x: Int =>
524525 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
525526 if ((validateKey == validateKey))
526527 then {
527528 let ensureValidPairs = match _getRegistryEntryValue(key) {
528529 case t: Int =>
529530 true
530531 case _ =>
531532 throw("invalid key-value pair")
532533 }
533534 if ((ensureValidPairs == ensureValidPairs))
534535 then [_writeGlobalParam(key, x)]
535536 else throw("Strict value is not equal to itself.")
536537 }
537538 else throw("Strict value is not equal to itself.")
538539 case x: Unit =>
539540 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
540541 if ((validateKey == validateKey))
541542 then {
542543 let stringValue = val[1]
543544 let refAddress = _getRegistryEntryValue(_manager)
544545 let check4 = match refAddress {
545546 case strType: String =>
546547 if ((size(strType) == size(stringValue)))
547548 then _validateAddress(stringValue, "string type for value not supported")
548549 else _validateAsset(stringValue, "string type for value not supported")
549550 case _ =>
550551 false
551552 }
552553 if ((check4 == check4))
553554 then [_writeGlobalParam(key, stringValue)]
554555 else throw("Strict value is not equal to itself.")
555556 }
556557 else throw("Strict value is not equal to itself.")
557558 case _ =>
558559 throw(("failed to modify " + val[0]))
559560 }
560561 }
561562 else throw("Strict value is not equal to itself.")
562563 }
563564 else throw("Strict value is not equal to itself.")
564565 }
565566
566567
567568
568569 @Callable(i)
569570 func revokeLock () = {
570571 let check1 = _onlyManager(i)
571572 if ((check1 == check1))
572573 then nil
573574 else throw("Strict value is not equal to itself.")
574575 }
575576
576577
577578
578579 @Callable(i)
579580 func claim (transactionID) = {
580581 let callerAddress = toBase58String(i.caller.bytes)
581582 let collateralKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
582583 let lockperiodKey = makeString([callerAddress, transactionID, _lockDuration], SEP)
583584 let lockIdKey = makeString([callerAddress, transactionID, _lockId], SEP)
584585 let lockperiodInMiliKey = makeString([callerAddress, transactionID, _lockPeriodInMiliSec], SEP)
585586 let totalWavesClaimedKey = makeString([callerAddress, transactionID, _totalWavesClaimed], SEP)
586587 let stawLPAmountKey = makeString([callerAddress, transactionID, _stawLPAmount], SEP)
587588 let wavesAmountKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
588589 let userTotalWavesLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
589590 let userLeaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
590591 let leaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
591592 let daysAfterLockPeriodElaspedKey = makeString([callerAddress, transactionID, _daysAfterLockPeriod], SEP)
592593 let globalWavesRef = match _getRegistryEntryValue(_totalWavesRef) {
593594 case t: Int =>
594595 t
595596 case _ =>
596597 throw("failed to get global total waves")
597598 }
598599 if ((globalWavesRef == globalWavesRef))
599600 then {
600601 let globalStawPL = match _getRegistryEntryValue(_totalStawLP) {
601602 case t: Int =>
602603 t
603604 case _ =>
604605 throw("failed to get global total waves")
605606 }
606607 if ((globalStawPL == globalStawPL))
607608 then {
608609 let lockId = match _getRegistryEntryValue(lockIdKey) {
609610 case t: ByteVector =>
610611 t
611612 case _ =>
612613 throw("failed to get lease id")
613614 }
614615 if ((lockId == lockId))
615616 then {
616617 let userTotalWavesLocked = match _getRegistryEntryValue(userTotalWavesLockedKey) {
617618 case t: Int =>
618619 t
619620 case _ =>
620621 throw("failed to get total waves locked by this address")
621622 }
622623 if ((userTotalWavesLocked == userTotalWavesLocked))
623624 then {
624625 let wavesAmount = match _getRegistryEntryValue(wavesAmountKey) {
625626 case t: Int =>
626627 t
627628 case _ =>
628629 throw("failed to get total waves locked")
629630 }
630631 if ((wavesAmount == wavesAmount))
631632 then {
632633 let totalWavesClaimed = match _getRegistryEntryValue(totalWavesClaimedKey) {
633634 case t: Int =>
634635 t
635636 case _ =>
636637 throw("failed to get total waves claimed")
637638 }
638639 if ((totalWavesClaimed == totalWavesClaimed))
639640 then {
640641 let stawLPAmount = match _getRegistryEntryValue(stawLPAmountKey) {
641642 case t: Int =>
642643 t
643644 case _ =>
644645 throw("failed to get stawPL")
645646 }
646647 if ((stawLPAmount == stawLPAmount))
647648 then {
648649 let lockPeriodInMili = match _getRegistryEntryValue(lockperiodInMiliKey) {
649650 case t: Int =>
650651 t
651652 case _ =>
652653 throw("failed to get lock period timespam")
653654 }
654655 if ((lockPeriodInMili == lockPeriodInMili))
655656 then {
656657 let currentTimeStamp = match _getNewTimeStamp(height) {
657658 case t: Int =>
658659 t
659660 case _ =>
660661 throw("failed to get current timestamp")
661662 }
662663 if ((currentTimeStamp == currentTimeStamp))
663664 then {
664665 let collateral = match _getRegistryEntryValue(collateralKey) {
665666 case t: Int =>
666667 t
667668 case _ =>
668669 throw("failed to get collateral")
669670 }
670671 if ((collateral == collateral))
671672 then {
672673 let lockPeriod = match _getRegistryEntryValue(lockperiodKey) {
673674 case t: Int =>
674675 t
675676 case _ =>
676677 throw("failed to get lockPeriod")
677678 }
678679 if ((lockPeriod == lockPeriod))
679680 then {
680681 let currentLeaseState = match _getRegistryEntryValue(userLeaseStateKey) {
681682 case t: String =>
682683 t
683684 case _ =>
684685 throw("failed to get lease state")
685686 }
686687 if ((currentLeaseState == currentLeaseState))
687688 then {
688689 let leaseState = match _getRegistryEntryValue(leaseStateKey) {
689690 case t: String =>
690691 t
691692 case _ =>
692693 throw("failed to get lease state for user")
693694 }
694695 if ((leaseState == leaseState))
695696 then {
696697 let daysAfterLockPeriodElasped = match _getS(daysAfterLockPeriodElaspedKey) {
697698 case t: String =>
698699 match _getRegistryEntryValue(daysAfterLockPeriodElaspedKey) {
699700 case z: Int =>
700701 z
701702 case _ =>
702703 0
703704 }
704705 case _ =>
705706 0
706707 }
707708 if ((daysAfterLockPeriodElasped == daysAfterLockPeriodElasped))
708709 then {
709710 let check1 = _throwIf((lockPeriodInMili > currentTimeStamp), "lock period for this entry has not elapsed")
710711 if ((check1 == check1))
711712 then {
712713 let leaseAction = if ((currentLeaseState == "leased"))
713714 then $Tuple2(LeaseCancel(lockId), _writeStr(userLeaseStateKey, "cancelled"))
714715 else $Tuple2(_writeStr(userLeaseStateKey, "cancelled"), _writeStr(userLeaseStateKey, "cancelled"))
715716 let check2 = _throwIf(if ((0 == wavesAmount))
716717 then true
717718 else (0 == stawLPAmount), "all claims exhausted for this trx")
718719 if ((check2 == check2))
719720 then {
720721 let emissionValuePerDT = _emissionRateWaves(lockPeriod, collateral)
721722 let claimAction = {
722723 let timeStampDiff = (currentTimeStamp - lockPeriodInMili)
723724 let xdays = (timeStampDiff / _Dt)
724725 if ((xdays == 0))
725726 then throw("less than 24hrs before first claim")
726727 else if ((daysAfterLockPeriodElasped >= xdays))
727728 then throw("24hrs or less before next claim")
728729 else {
729730 let totalAmountClaimable = (daysAfterLockPeriodElasped * emissionValuePerDT)
730731 let check3_1 = _throwIf((totalAmountClaimable == totalWavesClaimed), "can only claim once in 24hrs")
731732 if ((check3_1 == check3_1))
732733 then {
733734 let check3_2 = _throwIf(((totalAmountClaimable + totalWavesClaimed) > wavesAmount), "all claims exhausted")
734735 if ((check3_2 == check3_2))
735736 then {
736737 let claimAmountToSend = if ((daysAfterLockPeriodElasped == 1))
737738 then totalAmountClaimable
738739 else (totalAmountClaimable - totalWavesClaimed)
739740 let newTotalWavesClaim = totalAmountClaimable
740741 let newWavesAmount = if ((daysAfterLockPeriodElasped == 1))
741742 then (wavesAmount - totalAmountClaimable)
742743 else (wavesAmount - (totalAmountClaimable - totalWavesClaimed))
743744 let newStawLPAmount = if ((daysAfterLockPeriodElasped == 1))
744745 then (stawLPAmount - totalAmountClaimable)
745746 else (stawLPAmount - (totalAmountClaimable - totalWavesClaimed))
746747 let newGlobalWaveRef = (globalWavesRef - newWavesAmount)
747748 let newGlobalStawPL = (globalStawPL - newStawLPAmount)
748749 let newUserTotalWavesLocked = (userTotalWavesLocked - claimAmountToSend)
749750 let wavesAmountEntry = makeString(["%d", toString(newWavesAmount)], SEP)
750751 let stawLPAmountEntry = makeString(["%d", toString(newStawLPAmount)], SEP)
751752 let totalWavesClaimedEntry = makeString(["%d", toString(newTotalWavesClaim)], SEP)
752753 let newUserTotalWavesLockedEntry = makeString(["%d", toString(newUserTotalWavesLocked)], SEP)
753754 let daysAfterLockPeriodElaspedEntry = makeString(["%d", toString(xdays)], SEP)
754755 [leaseAction._1, leaseAction._2, _writeStr(wavesAmountKey, wavesAmountEntry), _writeStr(stawLPAmountKey, stawLPAmountEntry), _writeStr(totalWavesClaimedKey, totalWavesClaimedEntry), _writeStr(userTotalWavesLockedKey, newUserTotalWavesLockedEntry), _writeStr(daysAfterLockPeriodElaspedKey, daysAfterLockPeriodElaspedEntry), _writeGlobalParam(_totalWavesRef, newGlobalWaveRef), _writeGlobalParam(_totalStawLP, newGlobalStawPL), ScriptTransfer(Address(i.caller.bytes), claimAmountToSend, unit)]
755756 }
756757 else throw("Strict value is not equal to itself.")
757758 }
758759 else throw("Strict value is not equal to itself.")
759760 }
760761 }
761762 if ((claimAction == claimAction))
762763 then claimAction
763764 else throw("Strict value is not equal to itself.")
764765 }
765766 else throw("Strict value is not equal to itself.")
766767 }
767768 else throw("Strict value is not equal to itself.")
768769 }
769770 else throw("Strict value is not equal to itself.")
770771 }
771772 else throw("Strict value is not equal to itself.")
772773 }
773774 else throw("Strict value is not equal to itself.")
774775 }
775776 else throw("Strict value is not equal to itself.")
776777 }
777778 else throw("Strict value is not equal to itself.")
778779 }
779780 else throw("Strict value is not equal to itself.")
780781 }
781782 else throw("Strict value is not equal to itself.")
782783 }
783784 else throw("Strict value is not equal to itself.")
784785 }
785786 else throw("Strict value is not equal to itself.")
786787 }
787788 else throw("Strict value is not equal to itself.")
788789 }
789790 else throw("Strict value is not equal to itself.")
790791 }
791792 else throw("Strict value is not equal to itself.")
792793 }
793794 else throw("Strict value is not equal to itself.")
794795 }
795796 else throw("Strict value is not equal to itself.")
796797 }
797798
798799
799800
800801 @Callable(i)
801802 func mintStaw (lockPeriod) = {
802803 let callerAddress = toBase58String(i.caller.bytes)
803804 let trxID = toBase58String(i.transactionId)
804805 let check1 = _throwIf((1 != size(i.payments)), "no payments attached")
805806 if ((check1 == check1))
806807 then {
807808 let check2 = if (isDefined(i.payments[0].assetId))
808809 then throw("only waves supported")
809810 else true
810811 if ((check2 == check2))
811812 then {
812813 let amountInWaves = i.payments[0].amount
813814 let check3 = if (if ((_minLockAmount > amountInWaves))
814815 then true
815816 else (amountInWaves > _maxLockAmount))
816817 then throw("lock amount out of range, minimum: 1 waves, maximum: 1000 waves")
817818 else true
818819 if ((check3 == check3))
819820 then {
820821 let check4 = if ((_minLockperiod > lockPeriod))
821822 then throw("minimum of 14 days lock period")
822823 else true
823824 if ((check4 == check4))
824825 then {
825826 let totalStawMint = _stawMF(lockPeriod, amountInWaves)
826827 let stawPL = amountInWaves
827828 let fee = fraction(totalStawMint._1, 10, 100)
828829 let userGetStawAmount = (totalStawMint._1 - fee)
829830 let lockPeriodToMilisec = (_getNewTimeStamp(height) + _daysToMiliSec(lockPeriod))
830831 if ((lockPeriodToMilisec == lockPeriodToMilisec))
831832 then {
832833 let new_index = match _getRegistryEntryValue(_globalIndexCount) {
833834 case t: Int =>
834835 (t + 1)
835836 case _ =>
836837 throw("failed to get current global index count")
837838 }
838839 if ((new_index == new_index))
839840 then {
840841 let addressFee = match _getRegistryEntryValue(_Dfx) {
841842 case t: String =>
842843 Address(fromBase58String(t))
843844 case _ =>
844845 throw("failed to get dfx address")
845846 }
846847 if ((addressFee == addressFee))
847848 then {
848849 let stawAssetId = match _getRegistryEntryValue(_stawAssetId) {
849850 case t: String =>
850851 fromBase58String(t)
851852 case _ =>
852853 throw("failed to get asset id")
853854 }
854855 if ((stawAssetId == stawAssetId))
855856 then {
856857 let lessee = match _getRegistryEntryValue(_lesseeAddress) {
857858 case t: String =>
858859 Address(fromBase58String(t))
859860 case _ =>
860861 throw("failed to get lease node address")
861862 }
862863 if ((lessee == lessee))
863864 then {
864865 let userLockIndexKey = makeString([callerAddress, _userLocalIndexCount], SEP)
865866 let userTotalLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
866867 let userIndexCount = match _getS(userLockIndexKey) {
867868 case x: String =>
868869 match _getRegistryEntryValue(userLockIndexKey) {
869870 case t: Int =>
870871 (t + 1)
871872 case _ =>
872873 1
873874 }
874875 case _ =>
875876 1
876877 }
877878 if ((userIndexCount == userIndexCount))
878879 then {
879880 let userTotalLocked = match _getS(userTotalLockedKey) {
880881 case x: String =>
881882 match _getRegistryEntryValue(userTotalLockedKey) {
882883 case t: Int =>
883884 (t + amountInWaves)
884885 case _ =>
885886 amountInWaves
886887 }
887888 case _ =>
888889 amountInWaves
889890 }
890891 if ((userTotalLocked == userTotalLocked))
891892 then {
892893 let leaseOut = Lease(lessee, amountInWaves)
893894 let leaseIdStr = toBase58String(calculateLeaseId(leaseOut))
894895 ((([leaseOut, ScriptTransfer(addressFee, fee, stawAssetId), ScriptTransfer(Address(i.caller.bytes), userGetStawAmount, stawAssetId)] ++ _registerUserEntry(trxID, callerAddress, lockPeriod, lockPeriodToMilisec, new_index, amountInWaves, userGetStawAmount, stawPL, height, leaseIdStr, userTotalLocked, userIndexCount, "leased")) ++ _updateGlobalEntry(amountInWaves, totalStawMint._1, stawPL, new_index)) ++ totalStawMint._2)
895896 }
896897 else throw("Strict value is not equal to itself.")
897898 }
898899 else throw("Strict value is not equal to itself.")
899900 }
900901 else throw("Strict value is not equal to itself.")
901902 }
902903 else throw("Strict value is not equal to itself.")
903904 }
904905 else throw("Strict value is not equal to itself.")
905906 }
906907 else throw("Strict value is not equal to itself.")
907908 }
908909 else throw("Strict value is not equal to itself.")
909910 }
910911 else throw("Strict value is not equal to itself.")
911912 }
912913 else throw("Strict value is not equal to itself.")
913914 }
914915 else throw("Strict value is not equal to itself.")
915916 }
916917 else throw("Strict value is not equal to itself.")
917918 }
918919
919920

github/deemru/w8io/169f3d6 
147.76 ms