tx · 3uL5zc2gvaWZHd9ja2NvViS1bK8Q79VFZzriKsAtWVKb

3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH:  -0.02600000 Waves

2023.03.21 06:49 [2499257] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves

{ "type": 13, "id": "3uL5zc2gvaWZHd9ja2NvViS1bK8Q79VFZzriKsAtWVKb", "fee": 2600000, "feeAssetId": null, "timestamp": 1679370686882, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "61uxMqGmTAVzPuZ5TdERjxeR5omA5PebEoWJCUmT2qb4Gg1w3hCM4WqXKTSAL3h73vmkEbdW53QGmFnqEaoCnD4" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRgADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgDAhD0ADl9wZXJjZW50YWdlRmVlCQBrAwUNX3VuaXREZWNpbWFscwAKAGQAGl9wZXJjZW50YWdlUmVkdWN0aW9uRmFjdG9yAilDdXJyZW50X1BlcmNlbnRhZ2VSZWR1Y3Rpb25fRmFjdG9yX0Zvcl9NcgADX01yAgxNaW50aW5nX1JhdGUADF9zdGF3QXNzZXRJZAIMU3Rhd19Bc3NldElkAAhfbWFuYWdlcgIHbWFuYWdlcgAEX0RmeAIDRGZ4ABVfY2lyY3VsYXRpb25JbmNySW5k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ZWQFDnVzZXJJbmRleENvdW50AgZsZWFzZWQJARJfdXBkYXRlR2xvYmFsRW50cnkEBQ1hbW91bnRJbldhdmVzCAUNdG90YWxTdGF3TWludAJfMQUGc3Rhd1BMBQluZXdfaW5kZXgIBQ10b3RhbFN0YXdNaW50Al8yCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuANyO1RI=", "height": 2499257, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HRBPaAcvWTVy5piK6EUJv5ThzjkMmJSmG8hLQYkuEPWZ Next: BzBj33aoRD9DGV1N1Uge5erkWcDvL4kBsJGhDykjvNu4 Diff:
OldNewDifferences
1616 func _Ppy (lockPeriod) = fraction(_unitDecimals, 365, lockPeriod)
1717
1818
19-let _incrementRef = (1000000 * _unitDecimals)
19+let _incrementRef = 1000000
2020
2121 let _percentageFee = fraction(_unitDecimals, 10, 100)
2222
286286 then {
287287 let stawCirculatingSupply = match assetInfo(fromBase58String(stawAssetId)) {
288288 case asset: Asset =>
289- asset.quantity
289+ (asset.quantity / _unitDecimals)
290290 case _ =>
291291 throw(("asset not found for " + stawAssetId))
292292 }
720720 let claimAction = {
721721 let timeStampDiff = (currentTimeStamp - lockPeriodInMili)
722722 let xdays = (timeStampDiff / _Dt)
723- if ((daysAfterLockPeriodElasped == 0))
723+ if ((xdays == 0))
724724 then throw("less than 24hrs before first claim")
725725 else if ((daysAfterLockPeriodElasped >= xdays))
726726 then throw("24hrs or less before next claim")
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
19-let _incrementRef = (1000000 * _unitDecimals)
19+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 =>
289- asset.quantity
289+ (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
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))
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)
410410 fraction(collateral, ((lockPeriod * extensionFactor) - lockPeriod), _Dt)
411411 }
412412
413413
414414 func _incrTotalStawLP (amount) = {
415415 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
416416 [_writeInt(_totalStawLP, (oldStawLP + amount))]
417417 }
418418
419419
420420 func _decrTotalStawLP (amount) = {
421421 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
422422 [_writeInt(_totalStawLP, (oldStawLP - amount))]
423423 }
424424
425425
426426 func _incrTotalWavesRef (amount) = {
427427 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
428428 [_writeInt(_totalWavesRef, (oldWavesRef + amount))]
429429 }
430430
431431
432432 func _decrTotalWavesRef (amount) = {
433433 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
434434 [_writeInt(_totalWavesRef, (oldWavesRef - amount))]
435435 }
436436
437437
438438 func _getNewTimeStamp (blockHeight) = {
439439 let time = match blockInfoByHeight(blockHeight) {
440440 case timeInfo: BlockInfo =>
441441 timeInfo.timestamp
442442 case _ =>
443443 throw("counld get timestamp")
444444 }
445445 time
446446 }
447447
448448
449449 func getAssetQuantity (assetID) = match assetInfo(fromBase58String(assetID)) {
450450 case t: Asset =>
451451 t.quantity
452452 case _ =>
453453 throw("asset not found")
454454 }
455455
456456
457457 @Callable(i)
458458 func getEmission (lockPeriod,collateral) = {
459459 let check1 = _onlyManager(i)
460460 if ((check1 == check1))
461461 then $Tuple2(nil, _emissionRateWaves(lockPeriod, collateral))
462462 else throw("Strict value is not equal to itself.")
463463 }
464464
465465
466466
467467 @Callable(i)
468468 func init (manager,dfx,assetID,leaseNode) = {
469469 let managerAlreadyExists = if (isDefined(_getS(_manager)))
470470 then _onlyManager(i)
471471 else true
472472 if ((managerAlreadyExists == managerAlreadyExists))
473473 then {
474474 let check1 = _validateAddress(manager, "invalid address")
475475 if ((check1 == check1))
476476 then {
477477 let check2 = _validateAddress(dfx, "invalid address")
478478 if ((check2 == check2))
479479 then {
480480 let check3 = _validateAddress(leaseNode, "invalid address")
481481 if ((check3 == check3))
482482 then {
483483 let check4 = if (_validateAsset(assetID, "invalid asset"))
484484 then true
485485 else throw("invalid asset Id")
486486 if ((check4 == check4))
487487 then {
488488 let circulationIndex = _setParamVal(_circulationIncrIndex, 0)
489489 let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0)
490490 let Mr = _setParamVal(_Mr, _unitDecimals)
491491 let totalStawMinted = _setParamVal(_totalStaw, 0)
492492 let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0)
493493 let globalIndexCount = _setParamVal(_globalIndexCount, 0)
494494 let totalWavesRef = _setParamVal(_totalWavesRef, 0)
495495 [_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)]
496496 }
497497 else throw("Strict value is not equal to itself.")
498498 }
499499 else throw("Strict value is not equal to itself.")
500500 }
501501 else throw("Strict value is not equal to itself.")
502502 }
503503 else throw("Strict value is not equal to itself.")
504504 }
505505 else throw("Strict value is not equal to itself.")
506506 }
507507
508508
509509
510510 @Callable(i)
511511 func modifyGlobalParams (val) = {
512512 let check1 = _onlyManager(i)
513513 if ((check1 == check1))
514514 then {
515515 let errorMsg = makeString(["got", "list size of", toString(size(val)), "but expected [global_key, value] pair"], " ")
516516 let check2 = _throwIf((size(val) != 2), errorMsg)
517517 if ((check2 == check2))
518518 then {
519519 let key = val[0]
520520 let valType = parseInt(val[1])
521521 match valType {
522522 case x: Int =>
523523 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
524524 if ((validateKey == validateKey))
525525 then {
526526 let ensureValidPairs = match _getRegistryEntryValue(key) {
527527 case t: Int =>
528528 true
529529 case _ =>
530530 throw("invalid key-value pair")
531531 }
532532 if ((ensureValidPairs == ensureValidPairs))
533533 then [_writeGlobalParam(key, x)]
534534 else throw("Strict value is not equal to itself.")
535535 }
536536 else throw("Strict value is not equal to itself.")
537537 case x: Unit =>
538538 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
539539 if ((validateKey == validateKey))
540540 then {
541541 let stringValue = val[1]
542542 let refAddress = _getRegistryEntryValue(_manager)
543543 let check4 = match refAddress {
544544 case strType: String =>
545545 if ((size(strType) == size(stringValue)))
546546 then _validateAddress(stringValue, "string type for value not supported")
547547 else _validateAsset(stringValue, "string type for value not supported")
548548 case _ =>
549549 false
550550 }
551551 if ((check4 == check4))
552552 then [_writeGlobalParam(key, stringValue)]
553553 else throw("Strict value is not equal to itself.")
554554 }
555555 else throw("Strict value is not equal to itself.")
556556 case _ =>
557557 throw(("failed to modify " + val[0]))
558558 }
559559 }
560560 else throw("Strict value is not equal to itself.")
561561 }
562562 else throw("Strict value is not equal to itself.")
563563 }
564564
565565
566566
567567 @Callable(i)
568568 func revokeLock () = {
569569 let check1 = _onlyManager(i)
570570 if ((check1 == check1))
571571 then nil
572572 else throw("Strict value is not equal to itself.")
573573 }
574574
575575
576576
577577 @Callable(i)
578578 func claim (transactionID) = {
579579 let callerAddress = toBase58String(i.caller.bytes)
580580 let collateralKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
581581 let lockperiodKey = makeString([callerAddress, transactionID, _lockDuration], SEP)
582582 let lockIdKey = makeString([callerAddress, transactionID, _lockId], SEP)
583583 let lockperiodInMiliKey = makeString([callerAddress, transactionID, _lockPeriodInMiliSec], SEP)
584584 let totalWavesClaimedKey = makeString([callerAddress, transactionID, _totalWavesClaimed], SEP)
585585 let stawLPAmountKey = makeString([callerAddress, transactionID, _stawLPAmount], SEP)
586586 let wavesAmountKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
587587 let userTotalWavesLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
588588 let userLeaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
589589 let leaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
590590 let daysAfterLockPeriodElaspedKey = makeString([callerAddress, transactionID, _daysAfterLockPeriod], SEP)
591591 let globalWavesRef = match _getRegistryEntryValue(_totalWavesRef) {
592592 case t: Int =>
593593 t
594594 case _ =>
595595 throw("failed to get global total waves")
596596 }
597597 if ((globalWavesRef == globalWavesRef))
598598 then {
599599 let globalStawPL = match _getRegistryEntryValue(_totalStawLP) {
600600 case t: Int =>
601601 t
602602 case _ =>
603603 throw("failed to get global total waves")
604604 }
605605 if ((globalStawPL == globalStawPL))
606606 then {
607607 let lockId = match _getRegistryEntryValue(lockIdKey) {
608608 case t: ByteVector =>
609609 t
610610 case _ =>
611611 throw("failed to get lease id")
612612 }
613613 if ((lockId == lockId))
614614 then {
615615 let userTotalWavesLocked = match _getRegistryEntryValue(userTotalWavesLockedKey) {
616616 case t: Int =>
617617 t
618618 case _ =>
619619 throw("failed to get total waves locked by this address")
620620 }
621621 if ((userTotalWavesLocked == userTotalWavesLocked))
622622 then {
623623 let wavesAmount = match _getRegistryEntryValue(wavesAmountKey) {
624624 case t: Int =>
625625 t
626626 case _ =>
627627 throw("failed to get total waves locked")
628628 }
629629 if ((wavesAmount == wavesAmount))
630630 then {
631631 let totalWavesClaimed = match _getRegistryEntryValue(totalWavesClaimedKey) {
632632 case t: Int =>
633633 t
634634 case _ =>
635635 throw("failed to get total waves claimed")
636636 }
637637 if ((totalWavesClaimed == totalWavesClaimed))
638638 then {
639639 let stawLPAmount = match _getRegistryEntryValue(stawLPAmountKey) {
640640 case t: Int =>
641641 t
642642 case _ =>
643643 throw("failed to get stawPL")
644644 }
645645 if ((stawLPAmount == stawLPAmount))
646646 then {
647647 let lockPeriodInMili = match _getRegistryEntryValue(lockperiodInMiliKey) {
648648 case t: Int =>
649649 t
650650 case _ =>
651651 throw("failed to get lock period timespam")
652652 }
653653 if ((lockPeriodInMili == lockPeriodInMili))
654654 then {
655655 let currentTimeStamp = match _getNewTimeStamp(height) {
656656 case t: Int =>
657657 t
658658 case _ =>
659659 throw("failed to get current timestamp")
660660 }
661661 if ((currentTimeStamp == currentTimeStamp))
662662 then {
663663 let collateral = match _getRegistryEntryValue(collateralKey) {
664664 case t: Int =>
665665 t
666666 case _ =>
667667 throw("failed to get collateral")
668668 }
669669 if ((collateral == collateral))
670670 then {
671671 let lockPeriod = match _getRegistryEntryValue(lockperiodKey) {
672672 case t: Int =>
673673 t
674674 case _ =>
675675 throw("failed to get lockPeriod")
676676 }
677677 if ((lockPeriod == lockPeriod))
678678 then {
679679 let currentLeaseState = match _getRegistryEntryValue(userLeaseStateKey) {
680680 case t: String =>
681681 t
682682 case _ =>
683683 throw("failed to get lease state")
684684 }
685685 if ((currentLeaseState == currentLeaseState))
686686 then {
687687 let leaseState = match _getRegistryEntryValue(leaseStateKey) {
688688 case t: String =>
689689 t
690690 case _ =>
691691 throw("failed to get lease state for user")
692692 }
693693 if ((leaseState == leaseState))
694694 then {
695695 let daysAfterLockPeriodElasped = match _getS(daysAfterLockPeriodElaspedKey) {
696696 case t: String =>
697697 match _getRegistryEntryValue(daysAfterLockPeriodElaspedKey) {
698698 case z: Int =>
699699 z
700700 case _ =>
701701 0
702702 }
703703 case _ =>
704704 0
705705 }
706706 if ((daysAfterLockPeriodElasped == daysAfterLockPeriodElasped))
707707 then {
708708 let check1 = _throwIf((lockPeriodInMili > currentTimeStamp), "lock period for this entry has not elapsed")
709709 if ((check1 == check1))
710710 then {
711711 let leaseAction = if ((currentLeaseState == "leased"))
712712 then $Tuple2(LeaseCancel(lockId), _writeStr(userLeaseStateKey, "cancelled"))
713713 else $Tuple2(_writeStr(userLeaseStateKey, "cancelled"), _writeStr(userLeaseStateKey, "cancelled"))
714714 let check2 = _throwIf(if ((0 == wavesAmount))
715715 then true
716716 else (0 == stawLPAmount), "all claims exhausted for this trx")
717717 if ((check2 == check2))
718718 then {
719719 let emissionValuePerDT = (_emissionRateWaves(lockPeriod, collateral) * _Dt)
720720 let claimAction = {
721721 let timeStampDiff = (currentTimeStamp - lockPeriodInMili)
722722 let xdays = (timeStampDiff / _Dt)
723- if ((daysAfterLockPeriodElasped == 0))
723+ if ((xdays == 0))
724724 then throw("less than 24hrs before first claim")
725725 else if ((daysAfterLockPeriodElasped >= xdays))
726726 then throw("24hrs or less before next claim")
727727 else {
728728 let totalAmountClaimable = (daysAfterLockPeriodElasped * emissionValuePerDT)
729729 let check3_1 = _throwIf((totalAmountClaimable == totalWavesClaimed), "can only claim once in 24hrs")
730730 if ((check3_1 == check3_1))
731731 then {
732732 let check3_2 = _throwIf(((totalAmountClaimable + totalWavesClaimed) > wavesAmount), "all claims exhausted")
733733 if ((check3_2 == check3_2))
734734 then {
735735 let claimAmountToSend = if ((daysAfterLockPeriodElasped == 1))
736736 then totalAmountClaimable
737737 else (totalAmountClaimable - totalWavesClaimed)
738738 let newTotalWavesClaim = totalAmountClaimable
739739 let newWavesAmount = if ((daysAfterLockPeriodElasped == 1))
740740 then (wavesAmount - totalAmountClaimable)
741741 else (wavesAmount - (totalAmountClaimable - totalWavesClaimed))
742742 let newStawLPAmount = if ((daysAfterLockPeriodElasped == 1))
743743 then (stawLPAmount - totalAmountClaimable)
744744 else (stawLPAmount - (totalAmountClaimable - totalWavesClaimed))
745745 let newGlobalWaveRef = (globalWavesRef - newWavesAmount)
746746 let newGlobalStawPL = (globalStawPL - newStawLPAmount)
747747 let newUserTotalWavesLocked = (userTotalWavesLocked - claimAmountToSend)
748748 let wavesAmountEntry = makeString(["%d", toString(newWavesAmount)], SEP)
749749 let stawLPAmountEntry = makeString(["%d", toString(newStawLPAmount)], SEP)
750750 let totalWavesClaimedEntry = makeString(["%d", toString(newTotalWavesClaim)], SEP)
751751 let newUserTotalWavesLockedEntry = makeString(["%d", toString(newUserTotalWavesLocked)], SEP)
752752 let daysAfterLockPeriodElaspedEntry = makeString(["%d", toString(xdays)], SEP)
753753 [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)]
754754 }
755755 else throw("Strict value is not equal to itself.")
756756 }
757757 else throw("Strict value is not equal to itself.")
758758 }
759759 }
760760 if ((claimAction == claimAction))
761761 then claimAction
762762 else throw("Strict value is not equal to itself.")
763763 }
764764 else throw("Strict value is not equal to itself.")
765765 }
766766 else throw("Strict value is not equal to itself.")
767767 }
768768 else throw("Strict value is not equal to itself.")
769769 }
770770 else throw("Strict value is not equal to itself.")
771771 }
772772 else throw("Strict value is not equal to itself.")
773773 }
774774 else throw("Strict value is not equal to itself.")
775775 }
776776 else throw("Strict value is not equal to itself.")
777777 }
778778 else throw("Strict value is not equal to itself.")
779779 }
780780 else throw("Strict value is not equal to itself.")
781781 }
782782 else throw("Strict value is not equal to itself.")
783783 }
784784 else throw("Strict value is not equal to itself.")
785785 }
786786 else throw("Strict value is not equal to itself.")
787787 }
788788 else throw("Strict value is not equal to itself.")
789789 }
790790 else throw("Strict value is not equal to itself.")
791791 }
792792 else throw("Strict value is not equal to itself.")
793793 }
794794 else throw("Strict value is not equal to itself.")
795795 }
796796
797797
798798
799799 @Callable(i)
800800 func mintStaw (lockPeriod) = {
801801 let callerAddress = toBase58String(i.caller.bytes)
802802 let trxID = toBase58String(i.transactionId)
803803 let check1 = _throwIf((1 != size(i.payments)), "no payments attached")
804804 if ((check1 == check1))
805805 then {
806806 let check2 = if (isDefined(i.payments[0].assetId))
807807 then throw("only waves supported")
808808 else true
809809 if ((check2 == check2))
810810 then {
811811 let amountInWaves = i.payments[0].amount
812812 let check3 = if (if ((_minLockAmount > amountInWaves))
813813 then true
814814 else (amountInWaves > _maxLockAmount))
815815 then throw("lock amount out of range, minimum: 1 waves, maximum: 1000 waves")
816816 else true
817817 if ((check3 == check3))
818818 then {
819819 let check4 = if ((_minLockperiod > lockPeriod))
820820 then throw("minimum of 14 days lock period")
821821 else true
822822 if ((check4 == check4))
823823 then {
824824 let totalStawMint = _stawMF(lockPeriod, amountInWaves)
825825 let stawPL = amountInWaves
826826 let fee = fraction(totalStawMint._1, 10, 100)
827827 let userGetStawAmount = (totalStawMint._1 - fee)
828828 let lockPeriodToMilisec = (_getNewTimeStamp(height) + _daysToMiliSec(lockPeriod))
829829 if ((lockPeriodToMilisec == lockPeriodToMilisec))
830830 then {
831831 let new_index = match _getRegistryEntryValue(_globalIndexCount) {
832832 case t: Int =>
833833 (t + 1)
834834 case _ =>
835835 throw("failed to get current global index count")
836836 }
837837 if ((new_index == new_index))
838838 then {
839839 let addressFee = match _getRegistryEntryValue(_Dfx) {
840840 case t: String =>
841841 Address(fromBase58String(t))
842842 case _ =>
843843 throw("failed to get dfx address")
844844 }
845845 if ((addressFee == addressFee))
846846 then {
847847 let stawAssetId = match _getRegistryEntryValue(_stawAssetId) {
848848 case t: String =>
849849 fromBase58String(t)
850850 case _ =>
851851 throw("failed to get asset id")
852852 }
853853 if ((stawAssetId == stawAssetId))
854854 then {
855855 let lessee = match _getRegistryEntryValue(_lesseeAddress) {
856856 case t: String =>
857857 Address(fromBase58String(t))
858858 case _ =>
859859 throw("failed to get lease node address")
860860 }
861861 if ((lessee == lessee))
862862 then {
863863 let userLockIndexKey = makeString([callerAddress, _userLocalIndexCount], SEP)
864864 let userTotalLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
865865 let userIndexCount = match _getS(userLockIndexKey) {
866866 case x: String =>
867867 match _getRegistryEntryValue(userLockIndexKey) {
868868 case t: Int =>
869869 (t + 1)
870870 case _ =>
871871 1
872872 }
873873 case _ =>
874874 1
875875 }
876876 if ((userIndexCount == userIndexCount))
877877 then {
878878 let userTotalLocked = match _getS(userTotalLockedKey) {
879879 case x: String =>
880880 match _getRegistryEntryValue(userTotalLockedKey) {
881881 case t: Int =>
882882 (t + amountInWaves)
883883 case _ =>
884884 amountInWaves
885885 }
886886 case _ =>
887887 amountInWaves
888888 }
889889 if ((userTotalLocked == userTotalLocked))
890890 then {
891891 let leaseOut = Lease(lessee, amountInWaves)
892892 let leaseIdStr = toBase58String(calculateLeaseId(leaseOut))
893893 ((([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)
894894 }
895895 else throw("Strict value is not equal to itself.")
896896 }
897897 else throw("Strict value is not equal to itself.")
898898 }
899899 else throw("Strict value is not equal to itself.")
900900 }
901901 else throw("Strict value is not equal to itself.")
902902 }
903903 else throw("Strict value is not equal to itself.")
904904 }
905905 else throw("Strict value is not equal to itself.")
906906 }
907907 else throw("Strict value is not equal to itself.")
908908 }
909909 else throw("Strict value is not equal to itself.")
910910 }
911911 else throw("Strict value is not equal to itself.")
912912 }
913913 else throw("Strict value is not equal to itself.")
914914 }
915915 else throw("Strict value is not equal to itself.")
916916 }
917917
918918

github/deemru/w8io/169f3d6 
88.77 ms