tx · DkzqNhTbpDMrYdbm57RpNJ5NLFCRQrNY5MN7g8ax7WLw

3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH:  -0.02400000 Waves

2023.03.15 08:41 [2490738] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves

{ "type": 13, "id": "DkzqNhTbpDMrYdbm57RpNJ5NLFCRQrNY5MN7g8ax7WLw", "fee": 2400000, "feeAssetId": null, "timestamp": 1678858959224, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "3krg5VJY2nCStVBCR7FrRnCCaujoF6cF2b9zjkiMMeFUoAPQToxud6y9v2Yq9RYp9a4ngxmY8bZy8bMh84tLJuQF" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRAADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgkAaAIAwIQ9BQ1fdW5pdERlY2ltYWxzAA5fcGVyY2VudGFnZUZlZQkAawMFDV91bml0RGVjaW1hbHMACgBkABpfcGVyY2VudGFnZVJlZHVjdGlvbkZhY3RvcgIpQ3VycmVudF9QZXJjZW50YWdlUmVkdWN0aW9uX0ZhY3Rvcl9Gb3JfTXIAA19NcgIMTWludGluZ19SYXRlAAxfc3Rhd0Fzc2V0SWQCDFN0YXdfQXNzZXRJZAAIX21hbmFnZXICB21hbmFnZXIABF9EZngCA0RmeAAV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8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgCbAr5Q", "height": 2490738, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9FgvDkWtdt9z2veFvGoWXgpuKtJ3bWcKJXwia7hiNWYz Next: 3p5haAUoY5cChzzaJdY7LLESPq1c9A9YFY8j367nVTE5 Diff:
OldNewDifferences
277277 let newCirculationIncrIndex = if ((unitIncrement > currentCircIndex))
278278 then (unitIncrement + currentCircIndex)
279279 else currentCircIndex
280- let currentMr = _throwOrReturnI(_Mr, "miniting rate not previously defined")
280+ let currentMr = match _getRegistryEntryValue(_Mr) {
281+ case t: Int =>
282+ t
283+ case _ =>
284+ throw("failed to get miniting rate")
285+ }
281286 if ((newCirculationIncrIndex == currentCircIndex))
282287 then currentMr
283288 else {
284- let newreductionFactor = (_throwOrReturnI(_percentageReductionFactor, "reduction factor not previously defined") + 10)
289+ let newreductionFactor = match _getRegistryEntryValue(_percentageReductionFactor) {
290+ case t: Int =>
291+ t
292+ case _ =>
293+ throw("failed to get percentage reduction factor")
294+ }
285295 let newCurrentMr = (currentMr - fraction(currentMr, newreductionFactor, 100))
286296 let store1 = _writeInt(_Mr, newCurrentMr)
287297 if ((store1 == store1))
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 * _unitDecimals)
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 func _getI (key) = getInteger(this, key)
7878
7979
8080 func _getS (key) = getString(this, key)
8181
8282
8383 func _getB (key) = getBoolean(this, key)
8484
8585
8686 func _getBV (key) = value(getBoolean(this, key))
8787
8888
8989 func _getIV (key) = value(getInteger(this, key))
9090
9191
9292 func _getSV (key) = value(getString(this, key))
9393
9494
9595 func _setParamVal (key,defaultVal) = match defaultVal {
9696 case defaultVal: String =>
9797 if (isDefined(_getS(key)))
9898 then _getSV(key)
9999 else defaultVal
100100 case defaultVal: Int =>
101101 if (isDefined(_getI(key)))
102102 then _getIV(key)
103103 else defaultVal
104104 case defaultVal: Boolean =>
105105 if (isDefined(_getB(key)))
106106 then _getBV(key)
107107 else defaultVal
108108 case _ =>
109109 throw(("value type not supported for " + key))
110110 }
111111
112112
113113 func _throwOrReturnS (val,error) = match val {
114114 case val: String =>
115115 val
116116 case _ =>
117117 throw(error)
118118 }
119119
120120
121121 func _throwOrReturnI (val,error) = match val {
122122 case val: Int =>
123123 val
124124 case _ =>
125125 throw(error)
126126 }
127127
128128
129129 func _throwOrReturnBool (val,error) = match val {
130130 case val: Boolean =>
131131 val
132132 case _ =>
133133 throw(error)
134134 }
135135
136136
137137 func _writeInt (key,value) = if ((0 > value))
138138 then throw(((("writing negative value " + toString(value)) + " for key ") + key))
139139 else IntegerEntry(key, value)
140140
141141
142142 func _writeStr (key,value) = if ((" " == value))
143143 then throw(("writing an empty string " + value))
144144 else StringEntry(key, value)
145145
146146
147147 func _throwIf (condition,error) = if (condition)
148148 then throw(error)
149149 else true
150150
151151
152152 func _writeGlobalParam (key,_value) = match _value {
153153 case _value: Int =>
154154 let entry = makeString(["%d", toString(_value)], SEP)
155155 _writeStr(key, entry)
156156 case _value: String =>
157157 let entry = makeString(["%s", _value], SEP)
158158 _writeStr(key, entry)
159159 case _value: Boolean =>
160160 let entry = makeString(["%b", toString(_value)], SEP)
161161 _writeStr(key, entry)
162162 case _ =>
163163 throw("type not supported")
164164 }
165165
166166
167167 func _getRegistryEntryValue (key) = {
168168 let _rawValue = _throwOrReturnS(_getS(key), "entry not found")
169169 if ((_rawValue == _rawValue))
170170 then {
171171 let x = split(_rawValue, SEP)
172172 let formatSpecifier = takeRight(x[0], 1)
173173 let _valueString = x[(size(x) - 1)]
174174 let _value = if ((formatSpecifier == "s"))
175175 then _valueString
176176 else if ((formatSpecifier == "d"))
177177 then parseIntValue(_valueString)
178178 else if ((formatSpecifier == "b"))
179179 then fromBase58String(_valueString)
180180 else throw(("could not parse registry value for " + key))
181181 _value
182182 }
183183 else throw("Strict value is not equal to itself.")
184184 }
185185
186186
187187 func _daysToMiliSec (days) = {
188188 let check = _throwIf((0 >= days), "invalid locking days!")
189189 if ((check == check))
190190 then (days * _Dt)
191191 else throw("Strict value is not equal to itself.")
192192 }
193193
194194
195195 func _writeConstString (key,value) = if (!(isDefined(_getS(key))))
196196 then _writeStr(key, value)
197197 else throw(("entry already initialized: " + key))
198198
199199
200200 func _writeConstInteger (key,value) = if (!(isDefined(_getS(key))))
201201 then _writeInt(key, value)
202202 else throw((" entry already initialized: " + key))
203203
204204
205205 func _onlyManager (i) = {
206206 let manager = match _getRegistryEntryValue(_manager) {
207207 case val: String =>
208208 val
209209 case _ =>
210210 "failed to get manager"
211211 }
212212 if ((manager == manager))
213213 then _throwIf((toBase58String(i.caller.bytes) != manager), "address not authorized")
214214 else throw("Strict value is not equal to itself.")
215215 }
216216
217217
218218 func _abs (val) = if ((0 > val))
219219 then -(val)
220220 else val
221221
222222
223223 func _validateAddress (address) = match address {
224224 case address: String =>
225225 let _address = addressFromString(address)
226226 match _address {
227227 case _address: Address =>
228228 true
229229 case _ =>
230230 throw("invalid address")
231231 }
232232 case address: ByteVector =>
233233 let _address = addressFromPublicKey(address)
234234 match _address {
235235 case _address: Address =>
236236 true
237237 case _ =>
238238 throw("invalid public key")
239239 }
240240 case _ =>
241241 throw("invalid input type")
242242 }
243243
244244
245245 func _validateAsset (assetID) = match assetInfo(fromBase58String(assetID)) {
246246 case asset: Asset =>
247247 true
248248 case _ =>
249249 throw(("invalid asset id: " + assetID))
250250 }
251251
252252
253253 func _computeMr () = {
254254 let currentCircIndex = match _getRegistryEntryValue(_circulationIncrIndex) {
255255 case t: Int =>
256256 t
257257 case _ =>
258258 throw("circulation index not previously defined")
259259 }
260260 if ((currentCircIndex == currentCircIndex))
261261 then {
262262 let stawAssetId = match _getRegistryEntryValue(_stawAssetId) {
263263 case t: String =>
264264 t
265265 case _ =>
266266 throw("asset id not previously defined")
267267 }
268268 if ((stawAssetId == stawAssetId))
269269 then {
270270 let stawCirculatingSupply = match assetInfo(fromBase58String(stawAssetId)) {
271271 case asset: Asset =>
272272 asset.quantity
273273 case _ =>
274274 throw(("asset not found for " + stawAssetId))
275275 }
276276 let unitIncrement = (_abs((stawCirculatingSupply - _incrementRef)) / _incrementRef)
277277 let newCirculationIncrIndex = if ((unitIncrement > currentCircIndex))
278278 then (unitIncrement + currentCircIndex)
279279 else currentCircIndex
280- let currentMr = _throwOrReturnI(_Mr, "miniting rate not previously defined")
280+ let currentMr = match _getRegistryEntryValue(_Mr) {
281+ case t: Int =>
282+ t
283+ case _ =>
284+ throw("failed to get miniting rate")
285+ }
281286 if ((newCirculationIncrIndex == currentCircIndex))
282287 then currentMr
283288 else {
284- let newreductionFactor = (_throwOrReturnI(_percentageReductionFactor, "reduction factor not previously defined") + 10)
289+ let newreductionFactor = match _getRegistryEntryValue(_percentageReductionFactor) {
290+ case t: Int =>
291+ t
292+ case _ =>
293+ throw("failed to get percentage reduction factor")
294+ }
285295 let newCurrentMr = (currentMr - fraction(currentMr, newreductionFactor, 100))
286296 let store1 = _writeInt(_Mr, newCurrentMr)
287297 if ((store1 == store1))
288298 then {
289299 let store2 = _writeInt(_percentageReductionFactor, newreductionFactor)
290300 if ((store2 == store2))
291301 then {
292302 let store3 = _writeInt(_circulationIncrIndex, newCirculationIncrIndex)
293303 if ((store3 == store3))
294304 then newCurrentMr
295305 else throw("Strict value is not equal to itself.")
296306 }
297307 else throw("Strict value is not equal to itself.")
298308 }
299309 else throw("Strict value is not equal to itself.")
300310 }
301311 }
302312 else throw("Strict value is not equal to itself.")
303313 }
304314 else throw("Strict value is not equal to itself.")
305315 }
306316
307317
308318 func _updateGlobalEntry (wavesAmount,stawAmount,stawPL,indexCount) = {
309319 let _newGlobalTotalWavesAmtRef = match _getRegistryEntryValue(_totalWavesRef) {
310320 case t: Int =>
311321 (t + wavesAmount)
312322 case _ =>
313323 throw("failed to get global total waves")
314324 }
315325 if ((_newGlobalTotalWavesAmtRef == _newGlobalTotalWavesAmtRef))
316326 then {
317327 let _newGlobalTotalStawMinted = match _getRegistryEntryValue(_totalStaw) {
318328 case t: Int =>
319329 (t + stawAmount)
320330 case _ =>
321331 throw("failed to get global total staw minted")
322332 }
323333 if ((_newGlobalTotalStawMinted == _newGlobalTotalStawMinted))
324334 then {
325335 let _newGlobalTotalStawPL = match _getRegistryEntryValue(_totalStawLP) {
326336 case t: Int =>
327337 (t + stawPL)
328338 case _ =>
329339 throw("failed to get global total stawpl")
330340 }
331341 if ((_newGlobalTotalStawPL == _newGlobalTotalStawPL))
332342 then {
333343 let _newGlobaIndexCount = match _getRegistryEntryValue(_globalIndexCount) {
334344 case t: Int =>
335345 (t + indexCount)
336346 case _ =>
337347 throw("failed to get global index count")
338348 }
339349 if ((_newGlobaIndexCount == _newGlobaIndexCount))
340350 then [_writeGlobalParam(_totalWavesRef, _newGlobalTotalWavesAmtRef), _writeGlobalParam(_totalStaw, _newGlobalTotalStawMinted), _writeGlobalParam(_totalStawLP, _newGlobalTotalStawPL), _writeGlobalParam(_globalIndexCount, _newGlobaIndexCount)]
341351 else throw("Strict value is not equal to itself.")
342352 }
343353 else throw("Strict value is not equal to itself.")
344354 }
345355 else throw("Strict value is not equal to itself.")
346356 }
347357 else throw("Strict value is not equal to itself.")
348358 }
349359
350360
351361 func _registerUserEntry (transactionID,userAddress,lockDuration,lockDurationInMili,lockIndex,wavesAmount,stawAmount,stawLPAmount,lockAtHeight,lockId,totalLocked,localIndexCount,leaseState) = {
352362 let _txIdKey = makeString([userAddress, transactionID, _txId], SEP)
353363 let _lockDurationKey = makeString([userAddress, transactionID, _lockDuration], SEP)
354364 let _lockIndexKey = makeString([userAddress, transactionID, _lockIndex], SEP)
355365 let _wavesAmountKey = makeString([userAddress, transactionID, _wavesAmount], SEP)
356366 let _stawAmountKey = makeString([userAddress, transactionID, _stawAmount], SEP)
357367 let _stawLPAmountKey = makeString([userAddress, transactionID, _stawLPAmount], SEP)
358368 let _lockAtHeightKey = makeString([userAddress, transactionID, _lockAtHeight], SEP)
359369 let _lockIdKey = makeString([userAddress, transactionID, _lockId], SEP)
360370 let _totalLockedKey = makeString([userAddress, _userTotalLocked], SEP)
361371 let _localLockIndexKey = makeString([userAddress, _userLocalIndexCount], SEP)
362372 let _lockPeriodInMiliSecKey = makeString([userAddress, transactionID, _lockPeriodInMiliSec], SEP)
363373 let _totalWavesClaimedKey = makeString([userAddress, transactionID, _totalWavesClaimed], SEP)
364374 let _userLeaseStateKey = makeString([userAddress, transactionID, _userLeaseState], SEP)
365375 let trxIdEntry = makeString(["%s", transactionID], SEP)
366376 let lockDurationEntry = makeString(["%d", toString(lockDuration)], SEP)
367377 let lockIndexEntry = makeString(["%d", toString(lockIndex)], SEP)
368378 let wavesAmountEntry = makeString(["%d", toString(wavesAmount)], SEP)
369379 let stawAmountEntry = makeString(["%d", toString(stawAmount)], SEP)
370380 let stawLPAmountEntry = makeString(["%d", toString(stawLPAmount)], SEP)
371381 let lockAtHeightEntry = makeString(["%d", toString(lockAtHeight)], SEP)
372382 let lockIdEntry = makeString(["%b", lockId], SEP)
373383 let totalLockedEntry = makeString(["%d", toString(totalLocked)], SEP)
374384 let userLocalIndexEntry = makeString(["%d", toString(localIndexCount)], SEP)
375385 let lockPeriodInMiliSecEntry = makeString(["%d", toString(lockDurationInMili)], SEP)
376386 let totalWavesClaimedEntry = makeString(["%d", toString(0)], SEP)
377387 let userLeaseStateEntry = makeString(["%s", leaseState], SEP)
378388 [_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)]
379389 }
380390
381391
382392 func _stawMF (lockPeriod,collateralWaves) = {
383393 let _adjustedMr = _computeMr()
384394 (fraction(_unitDecimals, (_Dt * _adjustedMr), _Ppy(lockPeriod)) * collateralWaves)
385395 }
386396
387397
388398 func _emissionRateWaves (lockPeriod,collateral) = {
389399 let extensionFactor = fraction(lockPeriod, 15, 10)
390400 ((collateral / ((lockPeriod * extensionFactor) - lockPeriod)) * _Dt)
391401 }
392402
393403
394404 func _incrTotalStawLP (amount) = {
395405 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
396406 [_writeInt(_totalStawLP, (oldStawLP + amount))]
397407 }
398408
399409
400410 func _decrTotalStawLP (amount) = {
401411 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
402412 [_writeInt(_totalStawLP, (oldStawLP - amount))]
403413 }
404414
405415
406416 func _incrTotalWavesRef (amount) = {
407417 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
408418 [_writeInt(_totalWavesRef, (oldWavesRef + amount))]
409419 }
410420
411421
412422 func _decrTotalWavesRef (amount) = {
413423 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
414424 [_writeInt(_totalWavesRef, (oldWavesRef - amount))]
415425 }
416426
417427
418428 func _getNewTimeStamp (blockHeight) = {
419429 let time = match blockInfoByHeight(blockHeight) {
420430 case timeInfo: BlockInfo =>
421431 timeInfo.timestamp
422432 case _ =>
423433 throw("counld get timestamp")
424434 }
425435 time
426436 }
427437
428438
429439 @Callable(i)
430440 func getEmission (lockPeriod,collateral) = {
431441 let check1 = _onlyManager(i)
432442 if ((check1 == check1))
433443 then $Tuple2(nil, _emissionRateWaves(lockPeriod, collateral))
434444 else throw("Strict value is not equal to itself.")
435445 }
436446
437447
438448
439449 @Callable(i)
440450 func init (manager,dfx,assetID,leaseNode) = {
441451 let managerAlreadyExists = if (isDefined(_getS(_manager)))
442452 then _onlyManager(i)
443453 else true
444454 if ((managerAlreadyExists == managerAlreadyExists))
445455 then {
446456 let check1 = _validateAddress(manager)
447457 if ((check1 == check1))
448458 then {
449459 let check2 = _validateAddress(dfx)
450460 if ((check2 == check2))
451461 then {
452462 let check3 = _validateAddress(leaseNode)
453463 if ((check3 == check3))
454464 then {
455465 let check4 = _validateAsset(assetID)
456466 if ((check4 == check4))
457467 then {
458468 let circulationIndex = _setParamVal(_circulationIncrIndex, 0)
459469 let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0)
460470 let Mr = _setParamVal(_Mr, _unitDecimals)
461471 let totalStawMinted = _setParamVal(_totalStaw, 0)
462472 let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0)
463473 let globalIndexCount = _setParamVal(_globalIndexCount, 0)
464474 let totalWavesRef = _setParamVal(_totalWavesRef, 0)
465475 [_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)]
466476 }
467477 else throw("Strict value is not equal to itself.")
468478 }
469479 else throw("Strict value is not equal to itself.")
470480 }
471481 else throw("Strict value is not equal to itself.")
472482 }
473483 else throw("Strict value is not equal to itself.")
474484 }
475485 else throw("Strict value is not equal to itself.")
476486 }
477487
478488
479489
480490 @Callable(i)
481491 func modifyGlobalParams (val) = {
482492 let check1 = _onlyManager(i)
483493 if ((check1 == check1))
484494 then {
485495 let check2 = _throwIf((size(val) == 2), "[global_key, value] pairs expected")
486496 if ((check2 == check2))
487497 then {
488498 let key = val[0]
489499 let valType = parseInt(val[1])
490500 match valType {
491501 case x: Int =>
492502 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
493503 if ((validateKey == validateKey))
494504 then [_writeGlobalParam(key, x)]
495505 else throw("Strict value is not equal to itself.")
496506 case x: Unit =>
497507 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
498508 if ((validateKey == validateKey))
499509 then {
500510 let stringValue = val[1]
501511 let refAddress = _getRegistryEntryValue(_manager)
502512 let check4 = match refAddress {
503513 case strType: String =>
504514 if ((size(strType) == size(stringValue)))
505515 then _validateAddress(stringValue)
506516 else _validateAsset(stringValue)
507517 case _ =>
508518 throw("value type not supported")
509519 }
510520 if ((check4 == check4))
511521 then [_writeGlobalParam(key, stringValue)]
512522 else throw("Strict value is not equal to itself.")
513523 }
514524 else throw("Strict value is not equal to itself.")
515525 case _ =>
516526 throw(("failed to modify " + val[0]))
517527 }
518528 }
519529 else throw("Strict value is not equal to itself.")
520530 }
521531 else throw("Strict value is not equal to itself.")
522532 }
523533
524534
525535
526536 @Callable(i)
527537 func revokeLock () = {
528538 let check1 = _onlyManager(i)
529539 if ((check1 == check1))
530540 then nil
531541 else throw("Strict value is not equal to itself.")
532542 }
533543
534544
535545
536546 @Callable(i)
537547 func claim (transactionID) = {
538548 let callerAddress = toBase58String(i.caller.bytes)
539549 let collateralKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
540550 let lockperiodKey = makeString([callerAddress, transactionID, _lockDuration], SEP)
541551 let lockIdKey = makeString([callerAddress, transactionID, _lockId], SEP)
542552 let lockperiodInMiliKey = makeString([callerAddress, transactionID, _lockPeriodInMiliSec], SEP)
543553 let totalWavesClaimedKey = makeString([callerAddress, transactionID, _totalWavesClaimed], SEP)
544554 let stawLPAmountKey = makeString([callerAddress, transactionID, _stawLPAmount], SEP)
545555 let wavesAmountKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
546556 let userTotalWavesLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
547557 let userLeaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
548558 let leaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
549559 let globalWavesRef = match _getRegistryEntryValue(_totalWavesRef) {
550560 case t: Int =>
551561 t
552562 case _ =>
553563 throw("failed to get global total waves")
554564 }
555565 if ((globalWavesRef == globalWavesRef))
556566 then {
557567 let globalStawPL = match _getRegistryEntryValue(_totalStawLP) {
558568 case t: Int =>
559569 t
560570 case _ =>
561571 throw("failed to get global total waves")
562572 }
563573 if ((globalStawPL == globalStawPL))
564574 then {
565575 let lockId = match _getRegistryEntryValue(lockIdKey) {
566576 case t: ByteVector =>
567577 t
568578 case _ =>
569579 throw("failed to get lease id")
570580 }
571581 if ((lockId == lockId))
572582 then {
573583 let userTotalWavesLocked = match _getRegistryEntryValue(userTotalWavesLockedKey) {
574584 case t: Int =>
575585 t
576586 case _ =>
577587 throw("failed to get total waves locked by this address")
578588 }
579589 if ((userTotalWavesLocked == userTotalWavesLocked))
580590 then {
581591 let wavesAmount = match _getRegistryEntryValue(wavesAmountKey) {
582592 case t: Int =>
583593 t
584594 case _ =>
585595 throw("failed to get total waves locked")
586596 }
587597 if ((wavesAmount == wavesAmount))
588598 then {
589599 let totalWavesClaimed = match _getRegistryEntryValue(totalWavesClaimedKey) {
590600 case t: Int =>
591601 t
592602 case _ =>
593603 throw("failed to get total waves claimed")
594604 }
595605 if ((totalWavesClaimed == totalWavesClaimed))
596606 then {
597607 let stawLPAmount = match _getRegistryEntryValue(stawLPAmountKey) {
598608 case t: Int =>
599609 t
600610 case _ =>
601611 throw("failed to get stawPL")
602612 }
603613 if ((stawLPAmount == stawLPAmount))
604614 then {
605615 let lockPeriodInMili = match _getRegistryEntryValue(lockperiodInMiliKey) {
606616 case t: Int =>
607617 t
608618 case _ =>
609619 throw("failed to get lock period timespam")
610620 }
611621 if ((lockPeriodInMili == lockPeriodInMili))
612622 then {
613623 let currentTimeStamp = match _getNewTimeStamp(height) {
614624 case t: Int =>
615625 t
616626 case _ =>
617627 throw("failed to get current timestamp")
618628 }
619629 if ((currentTimeStamp == currentTimeStamp))
620630 then {
621631 let collateral = match _getRegistryEntryValue(collateralKey) {
622632 case t: Int =>
623633 t
624634 case _ =>
625635 throw("failed to get collateral")
626636 }
627637 if ((collateral == collateral))
628638 then {
629639 let lockPeriod = match _getRegistryEntryValue(lockperiodKey) {
630640 case t: Int =>
631641 t
632642 case _ =>
633643 throw("failed to get lockPeriod")
634644 }
635645 if ((lockPeriod == lockPeriod))
636646 then {
637647 let currentLeaseState = match _getRegistryEntryValue(userLeaseStateKey) {
638648 case t: String =>
639649 t
640650 case _ =>
641651 throw("failed to get lease state")
642652 }
643653 if ((currentLeaseState == currentLeaseState))
644654 then {
645655 let leaseState = match _getRegistryEntryValue(leaseStateKey) {
646656 case t: String =>
647657 t
648658 case _ =>
649659 throw("failed to get lease state for user")
650660 }
651661 if ((leaseState == leaseState))
652662 then {
653663 let check1 = _throwIf((lockPeriodInMili > currentTimeStamp), "lock period for this entry has not elapsed")
654664 if ((check1 == check1))
655665 then {
656666 let leaseAction = if ((currentLeaseState == "leased"))
657667 then $Tuple2(LeaseCancel(lockId), _writeStr(userLeaseStateKey, "cancelled"))
658668 else $Tuple2(_writeStr(userLeaseStateKey, "cancelled"), _writeStr(userLeaseStateKey, "cancelled"))
659669 if ((leaseAction == leaseAction))
660670 then {
661671 let check2 = _throwIf(if ((0 == wavesAmount))
662672 then true
663673 else (0 == stawLPAmount), "all claims exhausted for this trx")
664674 if ((check2 == check2))
665675 then {
666676 let emissionValuePerDT = (_emissionRateWaves(lockPeriod, collateral) * _Dt)
667677 let claimAction = {
668678 let timeStampDiff = (currentTimeStamp - lockPeriodInMili)
669679 let daysAfterLockPeriodElasped = (timeStampDiff / _Dt)
670680 if ((daysAfterLockPeriodElasped == 0))
671681 then throw("less than 24hrs before first claim")
672682 else if (((timeStampDiff % _Dt) != 0))
673683 then throw("already claimed or less than 24hrs before next claim")
674684 else if ((daysAfterLockPeriodElasped > lockPeriod))
675685 then throw("all claims exhausted")
676686 else {
677687 let totalAmountClaimable = (daysAfterLockPeriodElasped * emissionValuePerDT)
678688 let check3_1 = _throwIf((totalAmountClaimable == totalWavesClaimed), "can only claim once in 24hrs")
679689 if ((check3_1 == check3_1))
680690 then {
681691 let check3_2 = _throwIf(((totalAmountClaimable + totalWavesClaimed) > wavesAmount), "all claims exhausted")
682692 if ((check3_2 == check3_2))
683693 then {
684694 let claimAmountToSend = if ((daysAfterLockPeriodElasped == 1))
685695 then totalAmountClaimable
686696 else (totalAmountClaimable - totalWavesClaimed)
687697 let newTotalWavesClaim = totalAmountClaimable
688698 let newWavesAmount = if ((daysAfterLockPeriodElasped == 1))
689699 then (wavesAmount - totalAmountClaimable)
690700 else (wavesAmount - (totalAmountClaimable - totalWavesClaimed))
691701 let newStawLPAmount = if ((daysAfterLockPeriodElasped == 1))
692702 then (stawLPAmount - totalAmountClaimable)
693703 else (stawLPAmount - (totalAmountClaimable - totalWavesClaimed))
694704 let newGlobalWaveRef = (globalWavesRef - newWavesAmount)
695705 let newGlobalStawPL = (globalStawPL - newStawLPAmount)
696706 let newUserTotalWavesLocked = (userTotalWavesLocked - claimAmountToSend)
697707 let wavesAmountEntry = makeString(["%d", toString(newWavesAmount)], SEP)
698708 let stawLPAmountEntry = makeString(["%d", toString(newStawLPAmount)], SEP)
699709 let totalWavesClaimedEntry = makeString(["%d", toString(newTotalWavesClaim)], SEP)
700710 let newUserTotalWavesLockedEntry = makeString(["%d", toString(newUserTotalWavesLocked)], SEP)
701711 [leaseAction._1, leaseAction._2, _writeStr(wavesAmountKey, wavesAmountEntry), _writeStr(stawLPAmountKey, stawLPAmountEntry), _writeStr(totalWavesClaimedKey, totalWavesClaimedEntry), _writeStr(userTotalWavesLockedKey, newUserTotalWavesLockedEntry), _writeGlobalParam(_totalWavesRef, newGlobalWaveRef), _writeGlobalParam(_totalStawLP, newGlobalStawPL), ScriptTransfer(Address(i.caller.bytes), claimAmountToSend, unit)]
702712 }
703713 else throw("Strict value is not equal to itself.")
704714 }
705715 else throw("Strict value is not equal to itself.")
706716 }
707717 }
708718 if ((claimAction == claimAction))
709719 then claimAction
710720 else throw("Strict value is not equal to itself.")
711721 }
712722 else throw("Strict value is not equal to itself.")
713723 }
714724 else throw("Strict value is not equal to itself.")
715725 }
716726 else throw("Strict value is not equal to itself.")
717727 }
718728 else throw("Strict value is not equal to itself.")
719729 }
720730 else throw("Strict value is not equal to itself.")
721731 }
722732 else throw("Strict value is not equal to itself.")
723733 }
724734 else throw("Strict value is not equal to itself.")
725735 }
726736 else throw("Strict value is not equal to itself.")
727737 }
728738 else throw("Strict value is not equal to itself.")
729739 }
730740 else throw("Strict value is not equal to itself.")
731741 }
732742 else throw("Strict value is not equal to itself.")
733743 }
734744 else throw("Strict value is not equal to itself.")
735745 }
736746 else throw("Strict value is not equal to itself.")
737747 }
738748 else throw("Strict value is not equal to itself.")
739749 }
740750 else throw("Strict value is not equal to itself.")
741751 }
742752 else throw("Strict value is not equal to itself.")
743753 }
744754
745755
746756
747757 @Callable(i)
748758 func mintStaw (lockPeriod) = {
749759 let callerAddress = toBase58String(i.caller.bytes)
750760 let trxID = toBase58String(i.transactionId)
751761 let check1 = _throwIf((1 != size(i.payments)), "no payments attached")
752762 if ((check1 == check1))
753763 then {
754764 let check2 = if (isDefined(i.payments[0].assetId))
755765 then throw("only waves supported")
756766 else true
757767 if ((check2 == check2))
758768 then {
759769 let amountInWaves = i.payments[0].amount
760770 let check3 = if (if ((_minLockAmount > amountInWaves))
761771 then true
762772 else (amountInWaves > _maxLockAmount))
763773 then throw("amount to lock is out of range")
764774 else true
765775 if ((check3 == check3))
766776 then {
767777 let check4 = if ((_minLockperiod > lockPeriod))
768778 then throw("minimum of 14 days lock period")
769779 else true
770780 if ((check4 == check4))
771781 then {
772782 let totalStawMint = _stawMF(lockPeriod, amountInWaves)
773783 let stawPL = amountInWaves
774784 let fee = fraction(totalStawMint, 10, 100)
775785 let userGetStawAmount = (totalStawMint - fee)
776786 let lockPeriodToMilisec = (_getNewTimeStamp(height) + _daysToMiliSec(lockPeriod))
777787 if ((lockPeriodToMilisec == lockPeriodToMilisec))
778788 then {
779789 let new_index = (_throwOrReturnI(_getI(_globalIndexCount), "global index not previously defined") + 1)
780790 if ((new_index == new_index))
781791 then {
782792 let addressFee = match _getRegistryEntryValue(_Dfx) {
783793 case t: String =>
784794 Address(fromBase58String(t))
785795 case _ =>
786796 throw("failed to get dfx address")
787797 }
788798 if ((addressFee == addressFee))
789799 then {
790800 let stawAssetId = match _getRegistryEntryValue(_stawAssetId) {
791801 case t: String =>
792802 fromBase58String(t)
793803 case _ =>
794804 throw("failed to get asset id")
795805 }
796806 if ((stawAssetId == stawAssetId))
797807 then {
798808 let lessee = match _getRegistryEntryValue(_lesseeAddress) {
799809 case t: String =>
800810 Address(fromBase58String(t))
801811 case _ =>
802812 throw("failed to get lease node address")
803813 }
804814 if ((lessee == lessee))
805815 then {
806816 let userLockIndexKey = makeString([callerAddress, _userLocalIndexCount], SEP)
807817 let userTotalLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
808818 let userIndexCount = match _getRegistryEntryValue(userLockIndexKey) {
809819 case x: Int =>
810820 (x + 1)
811821 case _ =>
812822 0
813823 }
814824 if ((userIndexCount == userIndexCount))
815825 then {
816826 let userTotalLocked = match _getRegistryEntryValue(userTotalLockedKey) {
817827 case x: Int =>
818828 (x + amountInWaves)
819829 case _ =>
820830 amountInWaves
821831 }
822832 if ((userTotalLocked == userTotalLocked))
823833 then {
824834 let leaseOut = Lease(lessee, amountInWaves)
825835 if ((leaseOut == leaseOut))
826836 then {
827837 let leaseIdStr = toBase58String(calculateLeaseId(leaseOut))
828838 if ((leaseIdStr == leaseIdStr))
829839 then (([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, stawPL, new_index))
830840 else throw("Strict value is not equal to itself.")
831841 }
832842 else throw("Strict value is not equal to itself.")
833843 }
834844 else throw("Strict value is not equal to itself.")
835845 }
836846 else throw("Strict value is not equal to itself.")
837847 }
838848 else throw("Strict value is not equal to itself.")
839849 }
840850 else throw("Strict value is not equal to itself.")
841851 }
842852 else throw("Strict value is not equal to itself.")
843853 }
844854 else throw("Strict value is not equal to itself.")
845855 }
846856 else throw("Strict value is not equal to itself.")
847857 }
848858 else throw("Strict value is not equal to itself.")
849859 }
850860 else throw("Strict value is not equal to itself.")
851861 }
852862 else throw("Strict value is not equal to itself.")
853863 }
854864 else throw("Strict value is not equal to itself.")
855865 }
856866
857867

github/deemru/w8io/169f3d6 
86.56 ms