tx · Eg2nBBkkEwv71cDbETRf7DFPMVx6HEjH7F1YJUTVUqU9

3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH:  -0.02600000 Waves

2023.03.21 15:35 [2499781] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves

{ "type": 13, "id": "Eg2nBBkkEwv71cDbETRf7DFPMVx6HEjH7F1YJUTVUqU9", "fee": 2600000, "feeAssetId": null, "timestamp": 1679402235328, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "37MTM3Q45UqEhXUgC4whHTuCPo1Te8GhQB2b9n6iYh8LXv7qdVuPPXxVNB4dw66jhmQfGZKNhTuagXbfYBnQdouK" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRgADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgDAhD0ADl9wZXJjZW50YWdlRmVlCQBrAwUNX3VuaXREZWNpbWFscwAKAGQAGl9wZXJjZW50YWdlUmVkdWN0aW9uRmFjdG9yAilDdXJyZW50X1BlcmNlbnRhZ2VSZWR1Y3Rpb25fRmFjdG9yX0Zvcl9NcgADX01yAgxNaW50aW5nX1JhdGUADF9zdGF3QXNzZXRJZAIMU3Rhd19Bc3NldElkAAhfbWFuYWdlcgIHbWFuYWdlcgAEX0RmeAIDRGZ4ABVfY2lyY3VsYXRpb25JbmNySW5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U3Rhd0Ftb3VudAUGc3Rhd1BMBQZoZWlnaHQFCmxlYXNlSWRTdHIFD3VzZXJUb3RhbExvY2tlZAUOdXNlckluZGV4Q291bnQCBmxlYXNlZAkBEl91cGRhdGVHbG9iYWxFbnRyeQQFDWFtb3VudEluV2F2ZXMIBQ10b3RhbFN0YXdNaW50Al8xBQZzdGF3UEwFCW5ld19pbmRleAgFDXRvdGFsU3Rhd01pbnQCXzIJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AnXsCHQ==", "height": 2499781, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: meEohJXz5oMDLVnnc8nHWdTgY4moNt11HSq8KWSJaqT Next: none Diff:
OldNewDifferences
407407
408408 func _emissionRateWaves (lockPeriod,collateral) = {
409409 let extensionFactor = fraction(lockPeriod, 15, 10)
410- let r = (fraction(fraction(1, 1, _Dt), collateral, (extensionFactor - lockPeriod)) / 2)
411- let emissionRate = r
410+ let emissionRate = fraction(_unitDecimals, ((collateral / ((extensionFactor - lockPeriod) * _Dt)) / 2), 1)
412411 emissionRate
413412 }
414413
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 r = (fraction(fraction(1, 1, _Dt), collateral, (extensionFactor - lockPeriod)) / 2)
411- let emissionRate = r
410+ let emissionRate = fraction(_unitDecimals, ((collateral / ((extensionFactor - lockPeriod) * _Dt)) / 2), 1)
412411 emissionRate
413412 }
414413
415414
416415 func _incrTotalStawLP (amount) = {
417416 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
418417 [_writeInt(_totalStawLP, (oldStawLP + amount))]
419418 }
420419
421420
422421 func _decrTotalStawLP (amount) = {
423422 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
424423 [_writeInt(_totalStawLP, (oldStawLP - amount))]
425424 }
426425
427426
428427 func _incrTotalWavesRef (amount) = {
429428 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
430429 [_writeInt(_totalWavesRef, (oldWavesRef + amount))]
431430 }
432431
433432
434433 func _decrTotalWavesRef (amount) = {
435434 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
436435 [_writeInt(_totalWavesRef, (oldWavesRef - amount))]
437436 }
438437
439438
440439 func _getNewTimeStamp (blockHeight) = {
441440 let time = match blockInfoByHeight(blockHeight) {
442441 case timeInfo: BlockInfo =>
443442 timeInfo.timestamp
444443 case _ =>
445444 throw("counld get timestamp")
446445 }
447446 time
448447 }
449448
450449
451450 func getAssetQuantity (assetID) = match assetInfo(fromBase58String(assetID)) {
452451 case t: Asset =>
453452 t.quantity
454453 case _ =>
455454 throw("asset not found")
456455 }
457456
458457
459458 @Callable(i)
460459 func getEmission (lockPeriod,collateral) = {
461460 let check1 = _onlyManager(i)
462461 if ((check1 == check1))
463462 then $Tuple2(nil, _emissionRateWaves(lockPeriod, collateral))
464463 else throw("Strict value is not equal to itself.")
465464 }
466465
467466
468467
469468 @Callable(i)
470469 func init (manager,dfx,assetID,leaseNode) = {
471470 let managerAlreadyExists = if (isDefined(_getS(_manager)))
472471 then _onlyManager(i)
473472 else true
474473 if ((managerAlreadyExists == managerAlreadyExists))
475474 then {
476475 let check1 = _validateAddress(manager, "invalid address")
477476 if ((check1 == check1))
478477 then {
479478 let check2 = _validateAddress(dfx, "invalid address")
480479 if ((check2 == check2))
481480 then {
482481 let check3 = _validateAddress(leaseNode, "invalid address")
483482 if ((check3 == check3))
484483 then {
485484 let check4 = if (_validateAsset(assetID, "invalid asset"))
486485 then true
487486 else throw("invalid asset Id")
488487 if ((check4 == check4))
489488 then {
490489 let circulationIndex = _setParamVal(_circulationIncrIndex, 0)
491490 let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0)
492491 let Mr = _setParamVal(_Mr, _unitDecimals)
493492 let totalStawMinted = _setParamVal(_totalStaw, 0)
494493 let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0)
495494 let globalIndexCount = _setParamVal(_globalIndexCount, 0)
496495 let totalWavesRef = _setParamVal(_totalWavesRef, 0)
497496 [_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)]
498497 }
499498 else throw("Strict value is not equal to itself.")
500499 }
501500 else throw("Strict value is not equal to itself.")
502501 }
503502 else throw("Strict value is not equal to itself.")
504503 }
505504 else throw("Strict value is not equal to itself.")
506505 }
507506 else throw("Strict value is not equal to itself.")
508507 }
509508
510509
511510
512511 @Callable(i)
513512 func modifyGlobalParams (val) = {
514513 let check1 = _onlyManager(i)
515514 if ((check1 == check1))
516515 then {
517516 let errorMsg = makeString(["got", "list size of", toString(size(val)), "but expected [global_key, value] pair"], " ")
518517 let check2 = _throwIf((size(val) != 2), errorMsg)
519518 if ((check2 == check2))
520519 then {
521520 let key = val[0]
522521 let valType = parseInt(val[1])
523522 match valType {
524523 case x: Int =>
525524 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
526525 if ((validateKey == validateKey))
527526 then {
528527 let ensureValidPairs = match _getRegistryEntryValue(key) {
529528 case t: Int =>
530529 true
531530 case _ =>
532531 throw("invalid key-value pair")
533532 }
534533 if ((ensureValidPairs == ensureValidPairs))
535534 then [_writeGlobalParam(key, x)]
536535 else throw("Strict value is not equal to itself.")
537536 }
538537 else throw("Strict value is not equal to itself.")
539538 case x: Unit =>
540539 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
541540 if ((validateKey == validateKey))
542541 then {
543542 let stringValue = val[1]
544543 let refAddress = _getRegistryEntryValue(_manager)
545544 let check4 = match refAddress {
546545 case strType: String =>
547546 if ((size(strType) == size(stringValue)))
548547 then _validateAddress(stringValue, "string type for value not supported")
549548 else _validateAsset(stringValue, "string type for value not supported")
550549 case _ =>
551550 false
552551 }
553552 if ((check4 == check4))
554553 then [_writeGlobalParam(key, stringValue)]
555554 else throw("Strict value is not equal to itself.")
556555 }
557556 else throw("Strict value is not equal to itself.")
558557 case _ =>
559558 throw(("failed to modify " + val[0]))
560559 }
561560 }
562561 else throw("Strict value is not equal to itself.")
563562 }
564563 else throw("Strict value is not equal to itself.")
565564 }
566565
567566
568567
569568 @Callable(i)
570569 func revokeLock () = {
571570 let check1 = _onlyManager(i)
572571 if ((check1 == check1))
573572 then nil
574573 else throw("Strict value is not equal to itself.")
575574 }
576575
577576
578577
579578 @Callable(i)
580579 func claim (transactionID) = {
581580 let callerAddress = toBase58String(i.caller.bytes)
582581 let collateralKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
583582 let lockperiodKey = makeString([callerAddress, transactionID, _lockDuration], SEP)
584583 let lockIdKey = makeString([callerAddress, transactionID, _lockId], SEP)
585584 let lockperiodInMiliKey = makeString([callerAddress, transactionID, _lockPeriodInMiliSec], SEP)
586585 let totalWavesClaimedKey = makeString([callerAddress, transactionID, _totalWavesClaimed], SEP)
587586 let stawLPAmountKey = makeString([callerAddress, transactionID, _stawLPAmount], SEP)
588587 let wavesAmountKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
589588 let userTotalWavesLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
590589 let userLeaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
591590 let leaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
592591 let daysAfterLockPeriodElaspedKey = makeString([callerAddress, transactionID, _daysAfterLockPeriod], SEP)
593592 let globalWavesRef = match _getRegistryEntryValue(_totalWavesRef) {
594593 case t: Int =>
595594 t
596595 case _ =>
597596 throw("failed to get global total waves")
598597 }
599598 if ((globalWavesRef == globalWavesRef))
600599 then {
601600 let globalStawPL = match _getRegistryEntryValue(_totalStawLP) {
602601 case t: Int =>
603602 t
604603 case _ =>
605604 throw("failed to get global total waves")
606605 }
607606 if ((globalStawPL == globalStawPL))
608607 then {
609608 let lockId = match _getRegistryEntryValue(lockIdKey) {
610609 case t: ByteVector =>
611610 t
612611 case _ =>
613612 throw("failed to get lease id")
614613 }
615614 if ((lockId == lockId))
616615 then {
617616 let userTotalWavesLocked = match _getRegistryEntryValue(userTotalWavesLockedKey) {
618617 case t: Int =>
619618 t
620619 case _ =>
621620 throw("failed to get total waves locked by this address")
622621 }
623622 if ((userTotalWavesLocked == userTotalWavesLocked))
624623 then {
625624 let wavesAmount = match _getRegistryEntryValue(wavesAmountKey) {
626625 case t: Int =>
627626 t
628627 case _ =>
629628 throw("failed to get total waves locked")
630629 }
631630 if ((wavesAmount == wavesAmount))
632631 then {
633632 let totalWavesClaimed = match _getRegistryEntryValue(totalWavesClaimedKey) {
634633 case t: Int =>
635634 t
636635 case _ =>
637636 throw("failed to get total waves claimed")
638637 }
639638 if ((totalWavesClaimed == totalWavesClaimed))
640639 then {
641640 let stawLPAmount = match _getRegistryEntryValue(stawLPAmountKey) {
642641 case t: Int =>
643642 t
644643 case _ =>
645644 throw("failed to get stawPL")
646645 }
647646 if ((stawLPAmount == stawLPAmount))
648647 then {
649648 let lockPeriodInMili = match _getRegistryEntryValue(lockperiodInMiliKey) {
650649 case t: Int =>
651650 t
652651 case _ =>
653652 throw("failed to get lock period timespam")
654653 }
655654 if ((lockPeriodInMili == lockPeriodInMili))
656655 then {
657656 let currentTimeStamp = match _getNewTimeStamp(height) {
658657 case t: Int =>
659658 t
660659 case _ =>
661660 throw("failed to get current timestamp")
662661 }
663662 if ((currentTimeStamp == currentTimeStamp))
664663 then {
665664 let collateral = match _getRegistryEntryValue(collateralKey) {
666665 case t: Int =>
667666 t
668667 case _ =>
669668 throw("failed to get collateral")
670669 }
671670 if ((collateral == collateral))
672671 then {
673672 let lockPeriod = match _getRegistryEntryValue(lockperiodKey) {
674673 case t: Int =>
675674 t
676675 case _ =>
677676 throw("failed to get lockPeriod")
678677 }
679678 if ((lockPeriod == lockPeriod))
680679 then {
681680 let currentLeaseState = match _getRegistryEntryValue(userLeaseStateKey) {
682681 case t: String =>
683682 t
684683 case _ =>
685684 throw("failed to get lease state")
686685 }
687686 if ((currentLeaseState == currentLeaseState))
688687 then {
689688 let leaseState = match _getRegistryEntryValue(leaseStateKey) {
690689 case t: String =>
691690 t
692691 case _ =>
693692 throw("failed to get lease state for user")
694693 }
695694 if ((leaseState == leaseState))
696695 then {
697696 let daysAfterLockPeriodElasped = match _getS(daysAfterLockPeriodElaspedKey) {
698697 case t: String =>
699698 match _getRegistryEntryValue(daysAfterLockPeriodElaspedKey) {
700699 case z: Int =>
701700 z
702701 case _ =>
703702 0
704703 }
705704 case _ =>
706705 0
707706 }
708707 if ((daysAfterLockPeriodElasped == daysAfterLockPeriodElasped))
709708 then {
710709 let check1 = _throwIf((lockPeriodInMili > currentTimeStamp), "lock period for this entry has not elapsed")
711710 if ((check1 == check1))
712711 then {
713712 let leaseAction = if ((currentLeaseState == "leased"))
714713 then $Tuple2(LeaseCancel(lockId), _writeStr(userLeaseStateKey, "cancelled"))
715714 else $Tuple2(_writeStr(userLeaseStateKey, "cancelled"), _writeStr(userLeaseStateKey, "cancelled"))
716715 let check2 = _throwIf(if ((0 == wavesAmount))
717716 then true
718717 else (0 == stawLPAmount), "all claims exhausted for this trx")
719718 if ((check2 == check2))
720719 then {
721720 let emissionValuePerDT = _emissionRateWaves(lockPeriod, collateral)
722721 let claimAction = {
723722 let timeStampDiff = (currentTimeStamp - lockPeriodInMili)
724723 let xdays = (timeStampDiff / _Dt)
725724 if ((xdays == 0))
726725 then throw("less than 24hrs before first claim")
727726 else if ((daysAfterLockPeriodElasped >= xdays))
728727 then throw("24hrs or less before next claim")
729728 else {
730729 let totalAmountClaimable = (daysAfterLockPeriodElasped * emissionValuePerDT)
731730 let check3_1 = _throwIf((totalAmountClaimable == totalWavesClaimed), "can only claim once in 24hrs")
732731 if ((check3_1 == check3_1))
733732 then {
734733 let check3_2 = _throwIf(((totalAmountClaimable + totalWavesClaimed) > wavesAmount), "all claims exhausted")
735734 if ((check3_2 == check3_2))
736735 then {
737736 let claimAmountToSend = if ((daysAfterLockPeriodElasped == 1))
738737 then totalAmountClaimable
739738 else (totalAmountClaimable - totalWavesClaimed)
740739 let newTotalWavesClaim = totalAmountClaimable
741740 let newWavesAmount = if ((daysAfterLockPeriodElasped == 1))
742741 then (wavesAmount - totalAmountClaimable)
743742 else (wavesAmount - (totalAmountClaimable - totalWavesClaimed))
744743 let newStawLPAmount = if ((daysAfterLockPeriodElasped == 1))
745744 then (stawLPAmount - totalAmountClaimable)
746745 else (stawLPAmount - (totalAmountClaimable - totalWavesClaimed))
747746 let newGlobalWaveRef = (globalWavesRef - newWavesAmount)
748747 let newGlobalStawPL = (globalStawPL - newStawLPAmount)
749748 let newUserTotalWavesLocked = (userTotalWavesLocked - claimAmountToSend)
750749 let wavesAmountEntry = makeString(["%d", toString(newWavesAmount)], SEP)
751750 let stawLPAmountEntry = makeString(["%d", toString(newStawLPAmount)], SEP)
752751 let totalWavesClaimedEntry = makeString(["%d", toString(newTotalWavesClaim)], SEP)
753752 let newUserTotalWavesLockedEntry = makeString(["%d", toString(newUserTotalWavesLocked)], SEP)
754753 let daysAfterLockPeriodElaspedEntry = makeString(["%d", toString(xdays)], SEP)
755754 [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)]
756755 }
757756 else throw("Strict value is not equal to itself.")
758757 }
759758 else throw("Strict value is not equal to itself.")
760759 }
761760 }
762761 if ((claimAction == claimAction))
763762 then claimAction
764763 else throw("Strict value is not equal to itself.")
765764 }
766765 else throw("Strict value is not equal to itself.")
767766 }
768767 else throw("Strict value is not equal to itself.")
769768 }
770769 else throw("Strict value is not equal to itself.")
771770 }
772771 else throw("Strict value is not equal to itself.")
773772 }
774773 else throw("Strict value is not equal to itself.")
775774 }
776775 else throw("Strict value is not equal to itself.")
777776 }
778777 else throw("Strict value is not equal to itself.")
779778 }
780779 else throw("Strict value is not equal to itself.")
781780 }
782781 else throw("Strict value is not equal to itself.")
783782 }
784783 else throw("Strict value is not equal to itself.")
785784 }
786785 else throw("Strict value is not equal to itself.")
787786 }
788787 else throw("Strict value is not equal to itself.")
789788 }
790789 else throw("Strict value is not equal to itself.")
791790 }
792791 else throw("Strict value is not equal to itself.")
793792 }
794793 else throw("Strict value is not equal to itself.")
795794 }
796795 else throw("Strict value is not equal to itself.")
797796 }
798797
799798
800799
801800 @Callable(i)
802801 func mintStaw (lockPeriod) = {
803802 let callerAddress = toBase58String(i.caller.bytes)
804803 let trxID = toBase58String(i.transactionId)
805804 let check1 = _throwIf((1 != size(i.payments)), "no payments attached")
806805 if ((check1 == check1))
807806 then {
808807 let check2 = if (isDefined(i.payments[0].assetId))
809808 then throw("only waves supported")
810809 else true
811810 if ((check2 == check2))
812811 then {
813812 let amountInWaves = i.payments[0].amount
814813 let check3 = if (if ((_minLockAmount > amountInWaves))
815814 then true
816815 else (amountInWaves > _maxLockAmount))
817816 then throw("lock amount out of range, minimum: 1 waves, maximum: 1000 waves")
818817 else true
819818 if ((check3 == check3))
820819 then {
821820 let check4 = if ((_minLockperiod > lockPeriod))
822821 then throw("minimum of 14 days lock period")
823822 else true
824823 if ((check4 == check4))
825824 then {
826825 let totalStawMint = _stawMF(lockPeriod, amountInWaves)
827826 let stawPL = amountInWaves
828827 let fee = fraction(totalStawMint._1, 10, 100)
829828 let userGetStawAmount = (totalStawMint._1 - fee)
830829 let lockPeriodToMilisec = (_getNewTimeStamp(height) + _daysToMiliSec(lockPeriod))
831830 if ((lockPeriodToMilisec == lockPeriodToMilisec))
832831 then {
833832 let new_index = match _getRegistryEntryValue(_globalIndexCount) {
834833 case t: Int =>
835834 (t + 1)
836835 case _ =>
837836 throw("failed to get current global index count")
838837 }
839838 if ((new_index == new_index))
840839 then {
841840 let addressFee = match _getRegistryEntryValue(_Dfx) {
842841 case t: String =>
843842 Address(fromBase58String(t))
844843 case _ =>
845844 throw("failed to get dfx address")
846845 }
847846 if ((addressFee == addressFee))
848847 then {
849848 let stawAssetId = match _getRegistryEntryValue(_stawAssetId) {
850849 case t: String =>
851850 fromBase58String(t)
852851 case _ =>
853852 throw("failed to get asset id")
854853 }
855854 if ((stawAssetId == stawAssetId))
856855 then {
857856 let lessee = match _getRegistryEntryValue(_lesseeAddress) {
858857 case t: String =>
859858 Address(fromBase58String(t))
860859 case _ =>
861860 throw("failed to get lease node address")
862861 }
863862 if ((lessee == lessee))
864863 then {
865864 let userLockIndexKey = makeString([callerAddress, _userLocalIndexCount], SEP)
866865 let userTotalLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
867866 let userIndexCount = match _getS(userLockIndexKey) {
868867 case x: String =>
869868 match _getRegistryEntryValue(userLockIndexKey) {
870869 case t: Int =>
871870 (t + 1)
872871 case _ =>
873872 1
874873 }
875874 case _ =>
876875 1
877876 }
878877 if ((userIndexCount == userIndexCount))
879878 then {
880879 let userTotalLocked = match _getS(userTotalLockedKey) {
881880 case x: String =>
882881 match _getRegistryEntryValue(userTotalLockedKey) {
883882 case t: Int =>
884883 (t + amountInWaves)
885884 case _ =>
886885 amountInWaves
887886 }
888887 case _ =>
889888 amountInWaves
890889 }
891890 if ((userTotalLocked == userTotalLocked))
892891 then {
893892 let leaseOut = Lease(lessee, amountInWaves)
894893 let leaseIdStr = toBase58String(calculateLeaseId(leaseOut))
895894 ((([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)
896895 }
897896 else throw("Strict value is not equal to itself.")
898897 }
899898 else throw("Strict value is not equal to itself.")
900899 }
901900 else throw("Strict value is not equal to itself.")
902901 }
903902 else throw("Strict value is not equal to itself.")
904903 }
905904 else throw("Strict value is not equal to itself.")
906905 }
907906 else throw("Strict value is not equal to itself.")
908907 }
909908 else throw("Strict value is not equal to itself.")
910909 }
911910 else throw("Strict value is not equal to itself.")
912911 }
913912 else throw("Strict value is not equal to itself.")
914913 }
915914 else throw("Strict value is not equal to itself.")
916915 }
917916 else throw("Strict value is not equal to itself.")
918917 }
919918
920919

github/deemru/w8io/169f3d6 
95.70 ms