tx · EpVdmF2w9bPsvaoq4LeXWzMaMTfKvoFBVThjYx6vF4N3

3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH:  -0.02600000 Waves

2023.03.21 15:11 [2499761] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves

{ "type": 13, "id": "EpVdmF2w9bPsvaoq4LeXWzMaMTfKvoFBVThjYx6vF4N3", "fee": 2600000, "feeAssetId": null, "timestamp": 1679400718896, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "36ZV6sn371fBiC4AC1aQtRM3FC6QuRVvUyqFUHNKW5L2j1z8HNwLZyXqFRpf9sC6Kn75yPpAHdEBLEdpLTcyiniW" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRgADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgDAhD0ADl9wZXJjZW50YWdlRmVlCQBrAwUNX3VuaXREZWNpbWFscwAKAGQAGl9wZXJjZW50YWdlUmVkdWN0aW9uRmFjdG9yAilDdXJyZW50X1BlcmNlbnRhZ2VSZWR1Y3Rpb25fRmFjdG9yX0Zvcl9NcgADX01yAgxNaW50aW5nX1JhdGUADF9zdGF3QXNzZXRJZAIMU3Rhd19Bc3NldElkAAhfbWFuYWdlcgIHbWFuYWdlcgAEX0RmeAIDRGZ4ABVfY2lyY3VsYXRpb25JbmNyS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hbW91bnRJbldhdmVzBRF1c2VyR2V0U3Rhd0Ftb3VudAUGc3Rhd1BMBQZoZWlnaHQFCmxlYXNlSWRTdHIFD3VzZXJUb3RhbExvY2tlZAUOdXNlckluZGV4Q291bnQCBmxlYXNlZAkBEl91cGRhdGVHbG9iYWxFbnRyeQQFDWFtb3VudEluV2F2ZXMIBQ10b3RhbFN0YXdNaW50Al8xBQZzdGF3UEwFCW5ld19pbmRleAgFDXRvdGFsU3Rhd01pbnQCXzIJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4Ah4u5iw==", "height": 2499761, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7rtbxYgbhN4YGr1Qx7SoXzSstDRQ2bJQSYnXHtpm9KJP Next: 89BvCeFYBQokQWxnR2LjsG8tV5deDHdfmQa3sRZzP1ds Diff:
OldNewDifferences
407407
408408 func _emissionRateWaves (lockPeriod,collateral) = {
409409 let extensionFactor = fraction(lockPeriod, 15, 10)
410- let emissionRate = (fraction(_unitDecimals, ((collateral / ((extensionFactor - lockPeriod) * _Dt)) / 2), 1) * _Dt)
410+ let emissionRate = ((fraction(_unitDecimals, ((collateral / ((extensionFactor - lockPeriod) * _Dt)) / 2), 1) * _Dt) * _Dt)
411411 emissionRate
412412 }
413413
453453 case _ =>
454454 throw("asset not found")
455455 }
456-
457-
458-func _getEmission (lockPeriod,collateral) = $Tuple2(nil, _emissionRateWaves(lockPeriod, collateral))
459456
460457
461458 @Callable(i)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "_"
55
66 let _minLockperiod = 1
77
88 let _unitDecimals = 100000000
99
1010 let _minLockAmount = (1 * _unitDecimals)
1111
1212 let _maxLockAmount = (1000 * _unitDecimals)
1313
1414 let _Dt = 86400000
1515
1616 func _Ppy (lockPeriod) = fraction(_unitDecimals, 365, lockPeriod)
1717
1818
1919 let _incrementRef = 1000000
2020
2121 let _percentageFee = fraction(_unitDecimals, 10, 100)
2222
2323 let _percentageReductionFactor = "Current_PercentageReduction_Factor_For_Mr"
2424
2525 let _Mr = "Minting_Rate"
2626
2727 let _stawAssetId = "Staw_AssetId"
2828
2929 let _manager = "manager"
3030
3131 let _Dfx = "Dfx"
3232
3333 let _circulationIncrIndex = "CirculationIncrementIndex"
3434
3535 let _lesseeAddress = "LeaseNode"
3636
3737 let _userEmissionAmountClaimed = "EmissionAmountClaimed"
3838
3939 let _userCanClaimEmissionAmount = "CanClaimEmissionAmount"
4040
4141 let _userAddress = "WalletAddress"
4242
4343 let _userLocalIndexCount = "TotalEntryIndexCount"
4444
4545 let _userTotalLocked = "TotalLocked"
4646
4747 let _lockDuration = "LockDuration"
4848
4949 let _lockIndex = "GlobalLockIndex"
5050
5151 let _lockId = "LockIdentifier"
5252
5353 let _wavesAmount = "AmountInWaves"
5454
5555 let _stawAmount = "AmountInStaw"
5656
5757 let _stawLPAmount = "AmountInStawLP"
5858
5959 let _txId = "TXID"
6060
6161 let _lockAtHeight = "LockAtHeight"
6262
6363 let _lockPeriodInMiliSec = "LocKPeriodInMilliSec"
6464
6565 let _totalWavesClaimed = "TotalWavesClaimed"
6666
6767 let _userLeaseState = "LeaseState"
6868
6969 let _totalStaw = "TotalStawMinted"
7070
7171 let _totalWavesRef = "TotalWavesLocked"
7272
7373 let _totalStawLP = "TotalStawLP"
7474
7575 let _globalIndexCount = "IndexCount"
7676
7777 let _daysAfterLockPeriod = "DaysAfterLockPeriodElasped"
7878
7979 func _getI (key) = getInteger(this, key)
8080
8181
8282 func _getS (key) = getString(this, key)
8383
8484
8585 func _getB (key) = getBoolean(this, key)
8686
8787
8888 func _getBV (key) = value(getBoolean(this, key))
8989
9090
9191 func _getIV (key) = value(getInteger(this, key))
9292
9393
9494 func _getSV (key) = value(getString(this, key))
9595
9696
9797 func _setParamVal (key,defaultVal) = match defaultVal {
9898 case defaultVal: String =>
9999 if (isDefined(_getS(key)))
100100 then _getSV(key)
101101 else defaultVal
102102 case defaultVal: Int =>
103103 if (isDefined(_getI(key)))
104104 then _getIV(key)
105105 else defaultVal
106106 case defaultVal: Boolean =>
107107 if (isDefined(_getB(key)))
108108 then _getBV(key)
109109 else defaultVal
110110 case _ =>
111111 throw(("value type not supported for " + key))
112112 }
113113
114114
115115 func _throwOrReturnS (val,error) = match val {
116116 case val: String =>
117117 val
118118 case _ =>
119119 throw(error)
120120 }
121121
122122
123123 func _throwOrReturnI (val,error) = match val {
124124 case val: Int =>
125125 val
126126 case _ =>
127127 throw(error)
128128 }
129129
130130
131131 func _throwOrReturnBool (val,error) = match val {
132132 case val: Boolean =>
133133 val
134134 case _ =>
135135 throw(error)
136136 }
137137
138138
139139 func _writeInt (key,value) = if ((0 > value))
140140 then throw(((("writing negative value " + toString(value)) + " for key ") + key))
141141 else IntegerEntry(key, value)
142142
143143
144144 func _writeStr (key,value) = if ((" " == value))
145145 then throw(("writing an empty string " + value))
146146 else StringEntry(key, value)
147147
148148
149149 func _throwIf (condition,error) = if (condition)
150150 then throw(error)
151151 else true
152152
153153
154154 func _writeGlobalParam (key,_value) = match _value {
155155 case _value: Int =>
156156 let entry = makeString(["%d", toString(_value)], SEP)
157157 _writeStr(key, entry)
158158 case _value: String =>
159159 let entry = makeString(["%s", _value], SEP)
160160 _writeStr(key, entry)
161161 case _value: Boolean =>
162162 let entry = makeString(["%b", toString(_value)], SEP)
163163 _writeStr(key, entry)
164164 case _ =>
165165 throw("type not supported")
166166 }
167167
168168
169169 func _getRegistryEntryValue (key) = {
170170 let _rawValue = _throwOrReturnS(_getS(key), ("entry not found for " + key))
171171 if ((_rawValue == _rawValue))
172172 then {
173173 let x = split(_rawValue, SEP)
174174 let formatSpecifier = takeRight(x[0], 1)
175175 let _valueString = x[(size(x) - 1)]
176176 let _value = if ((formatSpecifier == "s"))
177177 then _valueString
178178 else if ((formatSpecifier == "d"))
179179 then parseIntValue(_valueString)
180180 else if ((formatSpecifier == "b"))
181181 then fromBase58String(_valueString)
182182 else throw(("could not parse registry value for " + key))
183183 _value
184184 }
185185 else throw("Strict value is not equal to itself.")
186186 }
187187
188188
189189 func _daysToMiliSec (days) = {
190190 let check = _throwIf((0 >= days), "invalid locking days!")
191191 if ((check == check))
192192 then (days * _Dt)
193193 else throw("Strict value is not equal to itself.")
194194 }
195195
196196
197197 func _writeConstString (key,value) = if (!(isDefined(_getS(key))))
198198 then _writeStr(key, value)
199199 else throw(("entry already initialized: " + key))
200200
201201
202202 func _writeConstInteger (key,value) = if (!(isDefined(_getS(key))))
203203 then _writeInt(key, value)
204204 else throw((" entry already initialized: " + key))
205205
206206
207207 func _onlyManager (i) = {
208208 let manager = match _getRegistryEntryValue(_manager) {
209209 case val: String =>
210210 val
211211 case _ =>
212212 "failed to get manager"
213213 }
214214 if ((manager == manager))
215215 then _throwIf((toBase58String(i.caller.bytes) != manager), "address not authorized")
216216 else throw("Strict value is not equal to itself.")
217217 }
218218
219219
220220 func _abs (val) = if ((0 > val))
221221 then -(val)
222222 else val
223223
224224
225225 func _validateAddress (address,errorMsg) = match address {
226226 case address: String =>
227227 let _address = addressFromString(address)
228228 match _address {
229229 case _address: Address =>
230230 true
231231 case _ =>
232232 match errorMsg {
233233 case msg: String =>
234234 throw(msg)
235235 case _ =>
236236 false
237237 }
238238 }
239239 case address: ByteVector =>
240240 let _address = addressFromPublicKey(address)
241241 match _address {
242242 case _address: Address =>
243243 true
244244 case _ =>
245245 match errorMsg {
246246 case msg: String =>
247247 throw(msg)
248248 case _ =>
249249 false
250250 }
251251 }
252252 case _ =>
253253 throw("invalid input type")
254254 }
255255
256256
257257 func _validateAsset (assetID,errorMsg) = match assetInfo(fromBase58String(assetID)) {
258258 case asset: Asset =>
259259 true
260260 case _ =>
261261 match errorMsg {
262262 case msg: String =>
263263 throw(msg)
264264 case _ =>
265265 false
266266 }
267267 }
268268
269269
270270 func _computeMr () = {
271271 let currentCircIndex = match _getRegistryEntryValue(_circulationIncrIndex) {
272272 case t: Int =>
273273 t
274274 case _ =>
275275 throw("circulation index not previously defined")
276276 }
277277 if ((currentCircIndex == currentCircIndex))
278278 then {
279279 let stawAssetId = match _getRegistryEntryValue(_stawAssetId) {
280280 case t: String =>
281281 t
282282 case _ =>
283283 throw("asset id not previously defined")
284284 }
285285 if ((stawAssetId == stawAssetId))
286286 then {
287287 let stawCirculatingSupply = match assetInfo(fromBase58String(stawAssetId)) {
288288 case asset: Asset =>
289289 (asset.quantity / _unitDecimals)
290290 case _ =>
291291 throw(("asset not found for " + stawAssetId))
292292 }
293293 let unitIncrement = (_abs((stawCirculatingSupply - _incrementRef)) / _incrementRef)
294294 let newCirculationIncrIndex = if ((unitIncrement > currentCircIndex))
295295 then (unitIncrement + currentCircIndex)
296296 else currentCircIndex
297297 let currentMr = match _getRegistryEntryValue(_Mr) {
298298 case t: Int =>
299299 t
300300 case _ =>
301301 throw("failed to get miniting rate")
302302 }
303303 if ((newCirculationIncrIndex == currentCircIndex))
304304 then $Tuple2(currentMr, nil)
305305 else {
306306 let newreductionFactor = match _getRegistryEntryValue(_percentageReductionFactor) {
307307 case t: Int =>
308308 (t + 10)
309309 case _ =>
310310 throw("failed to get percentage reduction factor")
311311 }
312312 let newCurrentMr = (currentMr - fraction(currentMr, newreductionFactor, 100))
313313 let store1 = _writeGlobalParam(_Mr, newCurrentMr)
314314 let store2 = _writeGlobalParam(_percentageReductionFactor, newreductionFactor)
315315 let store3 = _writeGlobalParam(_circulationIncrIndex, newCirculationIncrIndex)
316316 $Tuple2(newCurrentMr, [store1, store2, store3])
317317 }
318318 }
319319 else throw("Strict value is not equal to itself.")
320320 }
321321 else throw("Strict value is not equal to itself.")
322322 }
323323
324324
325325 func _updateGlobalEntry (wavesAmount,stawAmount,stawPL,indexCount) = {
326326 let _newGlobalTotalWavesAmtRef = match _getRegistryEntryValue(_totalWavesRef) {
327327 case t: Int =>
328328 (t + wavesAmount)
329329 case _ =>
330330 throw("failed to get global total waves")
331331 }
332332 if ((_newGlobalTotalWavesAmtRef == _newGlobalTotalWavesAmtRef))
333333 then {
334334 let _newGlobalTotalStawMinted = match _getRegistryEntryValue(_totalStaw) {
335335 case t: Int =>
336336 (t + stawAmount)
337337 case _ =>
338338 throw("failed to get global total staw minted")
339339 }
340340 if ((_newGlobalTotalStawMinted == _newGlobalTotalStawMinted))
341341 then {
342342 let _newGlobalTotalStawPL = match _getRegistryEntryValue(_totalStawLP) {
343343 case t: Int =>
344344 (t + stawPL)
345345 case _ =>
346346 throw("failed to get global total stawpl")
347347 }
348348 if ((_newGlobalTotalStawPL == _newGlobalTotalStawPL))
349349 then {
350350 let _newGlobaIndexCount = match _getRegistryEntryValue(_globalIndexCount) {
351351 case t: Int =>
352352 (t + indexCount)
353353 case _ =>
354354 throw("failed to get global index count")
355355 }
356356 if ((_newGlobaIndexCount == _newGlobaIndexCount))
357357 then [_writeGlobalParam(_totalWavesRef, _newGlobalTotalWavesAmtRef), _writeGlobalParam(_totalStaw, _newGlobalTotalStawMinted), _writeGlobalParam(_totalStawLP, _newGlobalTotalStawPL), _writeGlobalParam(_globalIndexCount, _newGlobaIndexCount)]
358358 else throw("Strict value is not equal to itself.")
359359 }
360360 else throw("Strict value is not equal to itself.")
361361 }
362362 else throw("Strict value is not equal to itself.")
363363 }
364364 else throw("Strict value is not equal to itself.")
365365 }
366366
367367
368368 func _registerUserEntry (transactionID,userAddress,lockDuration,lockDurationInMili,lockIndex,wavesAmount,stawAmount,stawLPAmount,lockAtHeight,lockId,totalLocked,localIndexCount,leaseState) = {
369369 let _txIdKey = makeString([userAddress, transactionID, _txId], SEP)
370370 let _lockDurationKey = makeString([userAddress, transactionID, _lockDuration], SEP)
371371 let _lockIndexKey = makeString([userAddress, transactionID, _lockIndex], SEP)
372372 let _wavesAmountKey = makeString([userAddress, transactionID, _wavesAmount], SEP)
373373 let _stawAmountKey = makeString([userAddress, transactionID, _stawAmount], SEP)
374374 let _stawLPAmountKey = makeString([userAddress, transactionID, _stawLPAmount], SEP)
375375 let _lockAtHeightKey = makeString([userAddress, transactionID, _lockAtHeight], SEP)
376376 let _lockIdKey = makeString([userAddress, transactionID, _lockId], SEP)
377377 let _totalLockedKey = makeString([userAddress, _userTotalLocked], SEP)
378378 let _localLockIndexKey = makeString([userAddress, _userLocalIndexCount], SEP)
379379 let _lockPeriodInMiliSecKey = makeString([userAddress, transactionID, _lockPeriodInMiliSec], SEP)
380380 let _totalWavesClaimedKey = makeString([userAddress, transactionID, _totalWavesClaimed], SEP)
381381 let _userLeaseStateKey = makeString([userAddress, transactionID, _userLeaseState], SEP)
382382 let trxIdEntry = makeString(["%s", transactionID], SEP)
383383 let lockDurationEntry = makeString(["%d", toString(lockDuration)], SEP)
384384 let lockIndexEntry = makeString(["%d", toString(lockIndex)], SEP)
385385 let wavesAmountEntry = makeString(["%d", toString(wavesAmount)], SEP)
386386 let stawAmountEntry = makeString(["%d", toString(stawAmount)], SEP)
387387 let stawLPAmountEntry = makeString(["%d", toString(stawLPAmount)], SEP)
388388 let lockAtHeightEntry = makeString(["%d", toString(lockAtHeight)], SEP)
389389 let lockIdEntry = makeString(["%b", lockId], SEP)
390390 let totalLockedEntry = makeString(["%d", toString(totalLocked)], SEP)
391391 let userLocalIndexEntry = makeString(["%d", toString(localIndexCount)], SEP)
392392 let lockPeriodInMiliSecEntry = makeString(["%d", toString(lockDurationInMili)], SEP)
393393 let totalWavesClaimedEntry = makeString(["%d", toString(0)], SEP)
394394 let userLeaseStateEntry = makeString(["%s", leaseState], SEP)
395395 [_writeConstString(_txIdKey, trxIdEntry), _writeConstString(_lockIndexKey, lockIndexEntry), _writeStr(_localLockIndexKey, userLocalIndexEntry), _writeStr(_totalLockedKey, totalLockedEntry), _writeConstString(_lockDurationKey, lockDurationEntry), _writeConstString(_lockPeriodInMiliSecKey, lockPeriodInMiliSecEntry), _writeConstString(_wavesAmountKey, wavesAmountEntry), _writeConstString(_stawAmountKey, stawAmountEntry), _writeStr(_stawLPAmountKey, stawLPAmountEntry), _writeStr(_totalWavesClaimedKey, totalWavesClaimedEntry), _writeConstString(_lockAtHeightKey, lockAtHeightEntry), _writeConstString(_lockIdKey, lockIdEntry), _writeStr(_userLeaseStateKey, userLeaseStateEntry)]
396396 }
397397
398398
399399 func _stawMF (lockPeriod,collateralWaves) = {
400400 let _adjustedMr = _computeMr()
401401 let ret = (fraction(collateralWaves, (_Dt * _adjustedMr._1), _Ppy(lockPeriod)) / _unitDecimals)
402402 if ((size(_adjustedMr._2) == 0))
403403 then $Tuple2(ret, nil)
404404 else $Tuple2(ret, _adjustedMr._2)
405405 }
406406
407407
408408 func _emissionRateWaves (lockPeriod,collateral) = {
409409 let extensionFactor = fraction(lockPeriod, 15, 10)
410- let emissionRate = (fraction(_unitDecimals, ((collateral / ((extensionFactor - lockPeriod) * _Dt)) / 2), 1) * _Dt)
410+ let emissionRate = ((fraction(_unitDecimals, ((collateral / ((extensionFactor - lockPeriod) * _Dt)) / 2), 1) * _Dt) * _Dt)
411411 emissionRate
412412 }
413413
414414
415415 func _incrTotalStawLP (amount) = {
416416 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
417417 [_writeInt(_totalStawLP, (oldStawLP + amount))]
418418 }
419419
420420
421421 func _decrTotalStawLP (amount) = {
422422 let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP")
423423 [_writeInt(_totalStawLP, (oldStawLP - amount))]
424424 }
425425
426426
427427 func _incrTotalWavesRef (amount) = {
428428 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
429429 [_writeInt(_totalWavesRef, (oldWavesRef + amount))]
430430 }
431431
432432
433433 func _decrTotalWavesRef (amount) = {
434434 let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves")
435435 [_writeInt(_totalWavesRef, (oldWavesRef - amount))]
436436 }
437437
438438
439439 func _getNewTimeStamp (blockHeight) = {
440440 let time = match blockInfoByHeight(blockHeight) {
441441 case timeInfo: BlockInfo =>
442442 timeInfo.timestamp
443443 case _ =>
444444 throw("counld get timestamp")
445445 }
446446 time
447447 }
448448
449449
450450 func getAssetQuantity (assetID) = match assetInfo(fromBase58String(assetID)) {
451451 case t: Asset =>
452452 t.quantity
453453 case _ =>
454454 throw("asset not found")
455455 }
456-
457-
458-func _getEmission (lockPeriod,collateral) = $Tuple2(nil, _emissionRateWaves(lockPeriod, collateral))
459456
460457
461458 @Callable(i)
462459 func getEmission (lockPeriod,collateral) = {
463460 let check1 = _onlyManager(i)
464461 if ((check1 == check1))
465462 then $Tuple2(nil, _emissionRateWaves(lockPeriod, collateral))
466463 else throw("Strict value is not equal to itself.")
467464 }
468465
469466
470467
471468 @Callable(i)
472469 func init (manager,dfx,assetID,leaseNode) = {
473470 let managerAlreadyExists = if (isDefined(_getS(_manager)))
474471 then _onlyManager(i)
475472 else true
476473 if ((managerAlreadyExists == managerAlreadyExists))
477474 then {
478475 let check1 = _validateAddress(manager, "invalid address")
479476 if ((check1 == check1))
480477 then {
481478 let check2 = _validateAddress(dfx, "invalid address")
482479 if ((check2 == check2))
483480 then {
484481 let check3 = _validateAddress(leaseNode, "invalid address")
485482 if ((check3 == check3))
486483 then {
487484 let check4 = if (_validateAsset(assetID, "invalid asset"))
488485 then true
489486 else throw("invalid asset Id")
490487 if ((check4 == check4))
491488 then {
492489 let circulationIndex = _setParamVal(_circulationIncrIndex, 0)
493490 let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0)
494491 let Mr = _setParamVal(_Mr, _unitDecimals)
495492 let totalStawMinted = _setParamVal(_totalStaw, 0)
496493 let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0)
497494 let globalIndexCount = _setParamVal(_globalIndexCount, 0)
498495 let totalWavesRef = _setParamVal(_totalWavesRef, 0)
499496 [_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)]
500497 }
501498 else throw("Strict value is not equal to itself.")
502499 }
503500 else throw("Strict value is not equal to itself.")
504501 }
505502 else throw("Strict value is not equal to itself.")
506503 }
507504 else throw("Strict value is not equal to itself.")
508505 }
509506 else throw("Strict value is not equal to itself.")
510507 }
511508
512509
513510
514511 @Callable(i)
515512 func modifyGlobalParams (val) = {
516513 let check1 = _onlyManager(i)
517514 if ((check1 == check1))
518515 then {
519516 let errorMsg = makeString(["got", "list size of", toString(size(val)), "but expected [global_key, value] pair"], " ")
520517 let check2 = _throwIf((size(val) != 2), errorMsg)
521518 if ((check2 == check2))
522519 then {
523520 let key = val[0]
524521 let valType = parseInt(val[1])
525522 match valType {
526523 case x: Int =>
527524 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
528525 if ((validateKey == validateKey))
529526 then {
530527 let ensureValidPairs = match _getRegistryEntryValue(key) {
531528 case t: Int =>
532529 true
533530 case _ =>
534531 throw("invalid key-value pair")
535532 }
536533 if ((ensureValidPairs == ensureValidPairs))
537534 then [_writeGlobalParam(key, x)]
538535 else throw("Strict value is not equal to itself.")
539536 }
540537 else throw("Strict value is not equal to itself.")
541538 case x: Unit =>
542539 let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized"))
543540 if ((validateKey == validateKey))
544541 then {
545542 let stringValue = val[1]
546543 let refAddress = _getRegistryEntryValue(_manager)
547544 let check4 = match refAddress {
548545 case strType: String =>
549546 if ((size(strType) == size(stringValue)))
550547 then _validateAddress(stringValue, "string type for value not supported")
551548 else _validateAsset(stringValue, "string type for value not supported")
552549 case _ =>
553550 false
554551 }
555552 if ((check4 == check4))
556553 then [_writeGlobalParam(key, stringValue)]
557554 else throw("Strict value is not equal to itself.")
558555 }
559556 else throw("Strict value is not equal to itself.")
560557 case _ =>
561558 throw(("failed to modify " + val[0]))
562559 }
563560 }
564561 else throw("Strict value is not equal to itself.")
565562 }
566563 else throw("Strict value is not equal to itself.")
567564 }
568565
569566
570567
571568 @Callable(i)
572569 func revokeLock () = {
573570 let check1 = _onlyManager(i)
574571 if ((check1 == check1))
575572 then nil
576573 else throw("Strict value is not equal to itself.")
577574 }
578575
579576
580577
581578 @Callable(i)
582579 func claim (transactionID) = {
583580 let callerAddress = toBase58String(i.caller.bytes)
584581 let collateralKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
585582 let lockperiodKey = makeString([callerAddress, transactionID, _lockDuration], SEP)
586583 let lockIdKey = makeString([callerAddress, transactionID, _lockId], SEP)
587584 let lockperiodInMiliKey = makeString([callerAddress, transactionID, _lockPeriodInMiliSec], SEP)
588585 let totalWavesClaimedKey = makeString([callerAddress, transactionID, _totalWavesClaimed], SEP)
589586 let stawLPAmountKey = makeString([callerAddress, transactionID, _stawLPAmount], SEP)
590587 let wavesAmountKey = makeString([callerAddress, transactionID, _wavesAmount], SEP)
591588 let userTotalWavesLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
592589 let userLeaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
593590 let leaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP)
594591 let daysAfterLockPeriodElaspedKey = makeString([callerAddress, transactionID, _daysAfterLockPeriod], SEP)
595592 let globalWavesRef = match _getRegistryEntryValue(_totalWavesRef) {
596593 case t: Int =>
597594 t
598595 case _ =>
599596 throw("failed to get global total waves")
600597 }
601598 if ((globalWavesRef == globalWavesRef))
602599 then {
603600 let globalStawPL = match _getRegistryEntryValue(_totalStawLP) {
604601 case t: Int =>
605602 t
606603 case _ =>
607604 throw("failed to get global total waves")
608605 }
609606 if ((globalStawPL == globalStawPL))
610607 then {
611608 let lockId = match _getRegistryEntryValue(lockIdKey) {
612609 case t: ByteVector =>
613610 t
614611 case _ =>
615612 throw("failed to get lease id")
616613 }
617614 if ((lockId == lockId))
618615 then {
619616 let userTotalWavesLocked = match _getRegistryEntryValue(userTotalWavesLockedKey) {
620617 case t: Int =>
621618 t
622619 case _ =>
623620 throw("failed to get total waves locked by this address")
624621 }
625622 if ((userTotalWavesLocked == userTotalWavesLocked))
626623 then {
627624 let wavesAmount = match _getRegistryEntryValue(wavesAmountKey) {
628625 case t: Int =>
629626 t
630627 case _ =>
631628 throw("failed to get total waves locked")
632629 }
633630 if ((wavesAmount == wavesAmount))
634631 then {
635632 let totalWavesClaimed = match _getRegistryEntryValue(totalWavesClaimedKey) {
636633 case t: Int =>
637634 t
638635 case _ =>
639636 throw("failed to get total waves claimed")
640637 }
641638 if ((totalWavesClaimed == totalWavesClaimed))
642639 then {
643640 let stawLPAmount = match _getRegistryEntryValue(stawLPAmountKey) {
644641 case t: Int =>
645642 t
646643 case _ =>
647644 throw("failed to get stawPL")
648645 }
649646 if ((stawLPAmount == stawLPAmount))
650647 then {
651648 let lockPeriodInMili = match _getRegistryEntryValue(lockperiodInMiliKey) {
652649 case t: Int =>
653650 t
654651 case _ =>
655652 throw("failed to get lock period timespam")
656653 }
657654 if ((lockPeriodInMili == lockPeriodInMili))
658655 then {
659656 let currentTimeStamp = match _getNewTimeStamp(height) {
660657 case t: Int =>
661658 t
662659 case _ =>
663660 throw("failed to get current timestamp")
664661 }
665662 if ((currentTimeStamp == currentTimeStamp))
666663 then {
667664 let collateral = match _getRegistryEntryValue(collateralKey) {
668665 case t: Int =>
669666 t
670667 case _ =>
671668 throw("failed to get collateral")
672669 }
673670 if ((collateral == collateral))
674671 then {
675672 let lockPeriod = match _getRegistryEntryValue(lockperiodKey) {
676673 case t: Int =>
677674 t
678675 case _ =>
679676 throw("failed to get lockPeriod")
680677 }
681678 if ((lockPeriod == lockPeriod))
682679 then {
683680 let currentLeaseState = match _getRegistryEntryValue(userLeaseStateKey) {
684681 case t: String =>
685682 t
686683 case _ =>
687684 throw("failed to get lease state")
688685 }
689686 if ((currentLeaseState == currentLeaseState))
690687 then {
691688 let leaseState = match _getRegistryEntryValue(leaseStateKey) {
692689 case t: String =>
693690 t
694691 case _ =>
695692 throw("failed to get lease state for user")
696693 }
697694 if ((leaseState == leaseState))
698695 then {
699696 let daysAfterLockPeriodElasped = match _getS(daysAfterLockPeriodElaspedKey) {
700697 case t: String =>
701698 match _getRegistryEntryValue(daysAfterLockPeriodElaspedKey) {
702699 case z: Int =>
703700 z
704701 case _ =>
705702 0
706703 }
707704 case _ =>
708705 0
709706 }
710707 if ((daysAfterLockPeriodElasped == daysAfterLockPeriodElasped))
711708 then {
712709 let check1 = _throwIf((lockPeriodInMili > currentTimeStamp), "lock period for this entry has not elapsed")
713710 if ((check1 == check1))
714711 then {
715712 let leaseAction = if ((currentLeaseState == "leased"))
716713 then $Tuple2(LeaseCancel(lockId), _writeStr(userLeaseStateKey, "cancelled"))
717714 else $Tuple2(_writeStr(userLeaseStateKey, "cancelled"), _writeStr(userLeaseStateKey, "cancelled"))
718715 let check2 = _throwIf(if ((0 == wavesAmount))
719716 then true
720717 else (0 == stawLPAmount), "all claims exhausted for this trx")
721718 if ((check2 == check2))
722719 then {
723720 let emissionValuePerDT = _emissionRateWaves(lockPeriod, collateral)
724721 let claimAction = {
725722 let timeStampDiff = (currentTimeStamp - lockPeriodInMili)
726723 let xdays = (timeStampDiff / _Dt)
727724 if ((xdays == 0))
728725 then throw("less than 24hrs before first claim")
729726 else if ((daysAfterLockPeriodElasped >= xdays))
730727 then throw("24hrs or less before next claim")
731728 else {
732729 let totalAmountClaimable = (daysAfterLockPeriodElasped * emissionValuePerDT)
733730 let check3_1 = _throwIf((totalAmountClaimable == totalWavesClaimed), "can only claim once in 24hrs")
734731 if ((check3_1 == check3_1))
735732 then {
736733 let check3_2 = _throwIf(((totalAmountClaimable + totalWavesClaimed) > wavesAmount), "all claims exhausted")
737734 if ((check3_2 == check3_2))
738735 then {
739736 let claimAmountToSend = if ((daysAfterLockPeriodElasped == 1))
740737 then totalAmountClaimable
741738 else (totalAmountClaimable - totalWavesClaimed)
742739 let newTotalWavesClaim = totalAmountClaimable
743740 let newWavesAmount = if ((daysAfterLockPeriodElasped == 1))
744741 then (wavesAmount - totalAmountClaimable)
745742 else (wavesAmount - (totalAmountClaimable - totalWavesClaimed))
746743 let newStawLPAmount = if ((daysAfterLockPeriodElasped == 1))
747744 then (stawLPAmount - totalAmountClaimable)
748745 else (stawLPAmount - (totalAmountClaimable - totalWavesClaimed))
749746 let newGlobalWaveRef = (globalWavesRef - newWavesAmount)
750747 let newGlobalStawPL = (globalStawPL - newStawLPAmount)
751748 let newUserTotalWavesLocked = (userTotalWavesLocked - claimAmountToSend)
752749 let wavesAmountEntry = makeString(["%d", toString(newWavesAmount)], SEP)
753750 let stawLPAmountEntry = makeString(["%d", toString(newStawLPAmount)], SEP)
754751 let totalWavesClaimedEntry = makeString(["%d", toString(newTotalWavesClaim)], SEP)
755752 let newUserTotalWavesLockedEntry = makeString(["%d", toString(newUserTotalWavesLocked)], SEP)
756753 let daysAfterLockPeriodElaspedEntry = makeString(["%d", toString(xdays)], SEP)
757754 [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)]
758755 }
759756 else throw("Strict value is not equal to itself.")
760757 }
761758 else throw("Strict value is not equal to itself.")
762759 }
763760 }
764761 if ((claimAction == claimAction))
765762 then claimAction
766763 else throw("Strict value is not equal to itself.")
767764 }
768765 else throw("Strict value is not equal to itself.")
769766 }
770767 else throw("Strict value is not equal to itself.")
771768 }
772769 else throw("Strict value is not equal to itself.")
773770 }
774771 else throw("Strict value is not equal to itself.")
775772 }
776773 else throw("Strict value is not equal to itself.")
777774 }
778775 else throw("Strict value is not equal to itself.")
779776 }
780777 else throw("Strict value is not equal to itself.")
781778 }
782779 else throw("Strict value is not equal to itself.")
783780 }
784781 else throw("Strict value is not equal to itself.")
785782 }
786783 else throw("Strict value is not equal to itself.")
787784 }
788785 else throw("Strict value is not equal to itself.")
789786 }
790787 else throw("Strict value is not equal to itself.")
791788 }
792789 else throw("Strict value is not equal to itself.")
793790 }
794791 else throw("Strict value is not equal to itself.")
795792 }
796793 else throw("Strict value is not equal to itself.")
797794 }
798795 else throw("Strict value is not equal to itself.")
799796 }
800797
801798
802799
803800 @Callable(i)
804801 func mintStaw (lockPeriod) = {
805802 let callerAddress = toBase58String(i.caller.bytes)
806803 let trxID = toBase58String(i.transactionId)
807804 let check1 = _throwIf((1 != size(i.payments)), "no payments attached")
808805 if ((check1 == check1))
809806 then {
810807 let check2 = if (isDefined(i.payments[0].assetId))
811808 then throw("only waves supported")
812809 else true
813810 if ((check2 == check2))
814811 then {
815812 let amountInWaves = i.payments[0].amount
816813 let check3 = if (if ((_minLockAmount > amountInWaves))
817814 then true
818815 else (amountInWaves > _maxLockAmount))
819816 then throw("lock amount out of range, minimum: 1 waves, maximum: 1000 waves")
820817 else true
821818 if ((check3 == check3))
822819 then {
823820 let check4 = if ((_minLockperiod > lockPeriod))
824821 then throw("minimum of 14 days lock period")
825822 else true
826823 if ((check4 == check4))
827824 then {
828825 let totalStawMint = _stawMF(lockPeriod, amountInWaves)
829826 let stawPL = amountInWaves
830827 let fee = fraction(totalStawMint._1, 10, 100)
831828 let userGetStawAmount = (totalStawMint._1 - fee)
832829 let lockPeriodToMilisec = (_getNewTimeStamp(height) + _daysToMiliSec(lockPeriod))
833830 if ((lockPeriodToMilisec == lockPeriodToMilisec))
834831 then {
835832 let new_index = match _getRegistryEntryValue(_globalIndexCount) {
836833 case t: Int =>
837834 (t + 1)
838835 case _ =>
839836 throw("failed to get current global index count")
840837 }
841838 if ((new_index == new_index))
842839 then {
843840 let addressFee = match _getRegistryEntryValue(_Dfx) {
844841 case t: String =>
845842 Address(fromBase58String(t))
846843 case _ =>
847844 throw("failed to get dfx address")
848845 }
849846 if ((addressFee == addressFee))
850847 then {
851848 let stawAssetId = match _getRegistryEntryValue(_stawAssetId) {
852849 case t: String =>
853850 fromBase58String(t)
854851 case _ =>
855852 throw("failed to get asset id")
856853 }
857854 if ((stawAssetId == stawAssetId))
858855 then {
859856 let lessee = match _getRegistryEntryValue(_lesseeAddress) {
860857 case t: String =>
861858 Address(fromBase58String(t))
862859 case _ =>
863860 throw("failed to get lease node address")
864861 }
865862 if ((lessee == lessee))
866863 then {
867864 let userLockIndexKey = makeString([callerAddress, _userLocalIndexCount], SEP)
868865 let userTotalLockedKey = makeString([callerAddress, _userTotalLocked], SEP)
869866 let userIndexCount = match _getS(userLockIndexKey) {
870867 case x: String =>
871868 match _getRegistryEntryValue(userLockIndexKey) {
872869 case t: Int =>
873870 (t + 1)
874871 case _ =>
875872 1
876873 }
877874 case _ =>
878875 1
879876 }
880877 if ((userIndexCount == userIndexCount))
881878 then {
882879 let userTotalLocked = match _getS(userTotalLockedKey) {
883880 case x: String =>
884881 match _getRegistryEntryValue(userTotalLockedKey) {
885882 case t: Int =>
886883 (t + amountInWaves)
887884 case _ =>
888885 amountInWaves
889886 }
890887 case _ =>
891888 amountInWaves
892889 }
893890 if ((userTotalLocked == userTotalLocked))
894891 then {
895892 let leaseOut = Lease(lessee, amountInWaves)
896893 let leaseIdStr = toBase58String(calculateLeaseId(leaseOut))
897894 ((([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)
898895 }
899896 else throw("Strict value is not equal to itself.")
900897 }
901898 else throw("Strict value is not equal to itself.")
902899 }
903900 else throw("Strict value is not equal to itself.")
904901 }
905902 else throw("Strict value is not equal to itself.")
906903 }
907904 else throw("Strict value is not equal to itself.")
908905 }
909906 else throw("Strict value is not equal to itself.")
910907 }
911908 else throw("Strict value is not equal to itself.")
912909 }
913910 else throw("Strict value is not equal to itself.")
914911 }
915912 else throw("Strict value is not equal to itself.")
916913 }
917914 else throw("Strict value is not equal to itself.")
918915 }
919916 else throw("Strict value is not equal to itself.")
920917 }
921918
922919

github/deemru/w8io/169f3d6 
102.43 ms