tx · BrD3yKLCRSTm1M2QvaYNxdP5oXiDN4K79ZVw6yghUNrx 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH: -0.02300000 Waves 2023.03.14 23:47 [2490219] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves
{ "type": 13, "id": "BrD3yKLCRSTm1M2QvaYNxdP5oXiDN4K79ZVw6yghUNrx", "fee": 2300000, "feeAssetId": null, "timestamp": 1678826875132, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "2bAPLWJbAcJgtnGxudWKZ7UWV5FfVXAhacvjUAoB5R2a52D8YzZZRKFGNXKsHQLLw2kJVAfnsahPHP87sTkt7mDY" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRAADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgkAaAIAwIQ9BQ1fdW5pdERlY2ltYWxzAA5fcGVyY2VudGFnZUZlZQkAawMFDV91bml0RGVjaW1hbHMACgBkABpfcGVyY2VudGFnZVJlZHVjdGlvbkZhY3RvcgIpQ3VycmVudF9QZXJjZW50YWdlUmVkdWN0aW9uX0ZhY3Rvcl9Gb3JfTXIAA19NcgIMTWludGluZ19SYXRlAAxfc3Rhd0Fzc2V0SWQCDFN0YXdfQXNzZXRJZAAIX21hbmFnZXICB21hbmFnZXIABF9EZngCA0RmeAAVX2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xdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AJxJXkQ==", "height": 2490219, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CEAU4AETXpN3kKocb6qY3BTECyLTM9JC17jHvzNbSvhf Next: 3F7vGhAhryCexmY6UEx2JvptGAn2849TUBDXxUjqV8Az Diff:
Old | New | Differences | |
---|---|---|---|
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | + | func _validateAsset (assetID) = match assetInfo(fromBase58String(assetID)) { | |
221 | + | case asset: Asset => | |
222 | + | true | |
223 | + | case _ => | |
224 | + | throw(("invalid asset id: " + assetID)) | |
225 | + | } | |
226 | + | ||
227 | + | ||
220 | 228 | func _computeMr () = { | |
221 | 229 | let currentCircIndex = _throwOrReturnI(_getI(_circulationIncrIndex), "increment index not previously defined") | |
222 | 230 | if ((currentCircIndex == currentCircIndex)) | |
395 | 403 | let check3 = _validateAddress(leaseNode) | |
396 | 404 | if ((check3 == check3)) | |
397 | 405 | then { | |
398 | - | let circulationIndex = _setParamVal(_circulationIncrIndex, 0) | |
399 | - | let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0) | |
400 | - | let Mr = _setParamVal(_Mr, _unitDecimals) | |
401 | - | let totalStawMinted = _setParamVal(_totalStaw, 0) | |
402 | - | let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0) | |
403 | - | let globalIndexCount = _setParamVal(_globalIndexCount, 0) | |
404 | - | let totalWavesRef = _setParamVal(_totalWavesRef, 0) | |
406 | + | let check4 = _validateAsset(assetID) | |
407 | + | if ((check4 == check4)) | |
408 | + | then { | |
409 | + | let circulationIndex = _setParamVal(_circulationIncrIndex, 0) | |
410 | + | let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0) | |
411 | + | let Mr = _setParamVal(_Mr, _unitDecimals) | |
412 | + | let totalStawMinted = _setParamVal(_totalStaw, 0) | |
413 | + | let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0) | |
414 | + | let globalIndexCount = _setParamVal(_globalIndexCount, 0) | |
415 | + | let totalWavesRef = _setParamVal(_totalWavesRef, 0) | |
405 | 416 | [_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)] | |
417 | + | } | |
418 | + | else throw("Strict value is not equal to itself.") | |
406 | 419 | } | |
407 | 420 | else throw("Strict value is not equal to itself.") | |
408 | 421 | } | |
435 | 448 | let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized")) | |
436 | 449 | if ((validateKey == validateKey)) | |
437 | 450 | then { | |
438 | - | let validateAddress = _validateAddress(val[1]) | |
439 | - | if ((validateAddress == validateAddress)) | |
440 | - | then [_writeGlobalParam(key, val[1])] | |
451 | + | let stringValue = val[1] | |
452 | + | let refAddress = _getRegistryEntryValue("_manager") | |
453 | + | let check4 = match refAddress { | |
454 | + | case strType: String => | |
455 | + | if ((size(strType) == size(stringValue))) | |
456 | + | then _validateAddress(stringValue) | |
457 | + | else _validateAsset(stringValue) | |
458 | + | case _ => | |
459 | + | throw("value type not supported") | |
460 | + | } | |
461 | + | if ((check4 == check4)) | |
462 | + | then [_writeGlobalParam(key, stringValue)] | |
441 | 463 | else throw("Strict value is not equal to itself.") | |
442 | 464 | } | |
443 | 465 | else throw("Strict value is not equal to itself.") | |
444 | 466 | case _ => | |
445 | - | | |
467 | + | throw(("failed to modify " + val[0])) | |
446 | 468 | } | |
447 | 469 | } | |
448 | 470 | else throw("Strict value is not equal to itself.") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SEP = "_" | |
5 | 5 | ||
6 | 6 | let _minLockperiod = 1 | |
7 | 7 | ||
8 | 8 | let _unitDecimals = 100000000 | |
9 | 9 | ||
10 | 10 | let _minLockAmount = (1 * _unitDecimals) | |
11 | 11 | ||
12 | 12 | let _maxLockAmount = (1000 * _unitDecimals) | |
13 | 13 | ||
14 | 14 | let _Dt = 86400000 | |
15 | 15 | ||
16 | 16 | func _Ppy (lockPeriod) = fraction(_unitDecimals, 365, lockPeriod) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | let _incrementRef = (1000000 * _unitDecimals) | |
20 | 20 | ||
21 | 21 | let _percentageFee = fraction(_unitDecimals, 10, 100) | |
22 | 22 | ||
23 | 23 | let _percentageReductionFactor = "Current_PercentageReduction_Factor_For_Mr" | |
24 | 24 | ||
25 | 25 | let _Mr = "Minting_Rate" | |
26 | 26 | ||
27 | 27 | let _stawAssetId = "Staw_AssetId" | |
28 | 28 | ||
29 | 29 | let _manager = "manager" | |
30 | 30 | ||
31 | 31 | let _Dfx = "Dfx" | |
32 | 32 | ||
33 | 33 | let _circulationIncrIndex = "CirculationIncrementIndex" | |
34 | 34 | ||
35 | 35 | let _lesseeAddress = "LeaseNode" | |
36 | 36 | ||
37 | 37 | let _userEmissionAmountClaimed = "EmissionAmountClaimed" | |
38 | 38 | ||
39 | 39 | let _userCanClaimEmissionAmount = "CanClaimEmissionAmount" | |
40 | 40 | ||
41 | 41 | let _userAddress = "WalletAddress" | |
42 | 42 | ||
43 | 43 | let _userLocalIndexCount = "TotalEntryIndexCount" | |
44 | 44 | ||
45 | 45 | let _userTotalLocked = "TotalLocked" | |
46 | 46 | ||
47 | 47 | let _lockDuration = "LockDuration" | |
48 | 48 | ||
49 | 49 | let _lockIndex = "GlobalLockIndex" | |
50 | 50 | ||
51 | 51 | let _lockId = "LockIdentifier" | |
52 | 52 | ||
53 | 53 | let _wavesAmount = "AmountInWaves" | |
54 | 54 | ||
55 | 55 | let _stawAmount = "AmountInStaw" | |
56 | 56 | ||
57 | 57 | let _stawLPAmount = "AmountInStawLP" | |
58 | 58 | ||
59 | 59 | let _txId = "TXID" | |
60 | 60 | ||
61 | 61 | let _lockAtHeight = "LockAtHeight" | |
62 | 62 | ||
63 | 63 | let _lockPeriodInMiliSec = "LocKPeriodInMilliSec" | |
64 | 64 | ||
65 | 65 | let _totalWavesClaimed = "TotalWavesClaimed" | |
66 | 66 | ||
67 | 67 | let _userLeaseState = "LeaseState" | |
68 | 68 | ||
69 | 69 | let _totalStaw = "TotalStawMinted" | |
70 | 70 | ||
71 | 71 | let _totalWavesRef = "TotalWavesLocked" | |
72 | 72 | ||
73 | 73 | let _totalStawLP = "TotalStawLP" | |
74 | 74 | ||
75 | 75 | let _globalIndexCount = "IndexCount" | |
76 | 76 | ||
77 | 77 | func _getI (key) = getInteger(this, key) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func _getS (key) = getString(this, key) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func _getB (key) = getBoolean(this, key) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func _getBV (key) = value(getBoolean(this, key)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func _getIV (key) = value(getInteger(this, key)) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func _getSV (key) = value(getString(this, key)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func _setParamVal (key,defaultVal) = match defaultVal { | |
96 | 96 | case defaultVal: String => | |
97 | 97 | if (isDefined(_getS(key))) | |
98 | 98 | then _getSV(key) | |
99 | 99 | else defaultVal | |
100 | 100 | case defaultVal: Int => | |
101 | 101 | if (isDefined(_getI(key))) | |
102 | 102 | then _getIV(key) | |
103 | 103 | else defaultVal | |
104 | 104 | case defaultVal: Boolean => | |
105 | 105 | if (isDefined(_getB(key))) | |
106 | 106 | then _getBV(key) | |
107 | 107 | else defaultVal | |
108 | 108 | case _ => | |
109 | 109 | throw(("value type not supported for " + key)) | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func _throwOrReturnS (val,error) = match val { | |
114 | 114 | case val: String => | |
115 | 115 | val | |
116 | 116 | case _ => | |
117 | 117 | throw(error) | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func _throwOrReturnI (val,error) = match val { | |
122 | 122 | case val: Int => | |
123 | 123 | val | |
124 | 124 | case _ => | |
125 | 125 | throw(error) | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func _throwOrReturnBool (val,error) = match val { | |
130 | 130 | case val: Boolean => | |
131 | 131 | val | |
132 | 132 | case _ => | |
133 | 133 | throw(error) | |
134 | 134 | } | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func _writeInt (key,value) = if ((0 > value)) | |
138 | 138 | then throw(((("writing negative value " + toString(value)) + " for key ") + key)) | |
139 | 139 | else IntegerEntry(key, value) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func _writeStr (key,value) = if ((" " == value)) | |
143 | 143 | then throw(("writing an empty string " + value)) | |
144 | 144 | else StringEntry(key, value) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func _throwIf (condition,error) = if (condition) | |
148 | 148 | then throw(error) | |
149 | 149 | else true | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func _writeGlobalParam (key,_value) = match _value { | |
153 | 153 | case _value: Int => | |
154 | 154 | let entry = makeString(["%d", toString(_value)], SEP) | |
155 | 155 | _writeStr(key, entry) | |
156 | 156 | case _value: String => | |
157 | 157 | let entry = makeString(["%s", _value], SEP) | |
158 | 158 | _writeStr(key, entry) | |
159 | 159 | case _value: Boolean => | |
160 | 160 | let entry = makeString(["%b", toString(_value)], SEP) | |
161 | 161 | _writeStr(key, entry) | |
162 | 162 | case _ => | |
163 | 163 | throw("type not supported") | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func _daysToMiliSec (days) = { | |
168 | 168 | let check = _throwIf((days >= 0), "invalid locking days!") | |
169 | 169 | if ((check == check)) | |
170 | 170 | then (days * _Dt) | |
171 | 171 | else throw("Strict value is not equal to itself.") | |
172 | 172 | } | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func _writeConstString (key,value) = if (!(isDefined(_getS(key)))) | |
176 | 176 | then _writeStr(key, value) | |
177 | 177 | else throw(("entry already initialized: " + key)) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func _writeConstInteger (key,value) = if (!(isDefined(_getS(key)))) | |
181 | 181 | then _writeInt(key, value) | |
182 | 182 | else throw((" entry already initialized: " + key)) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func _onlyManager (i) = { | |
186 | 186 | let manager = _throwOrReturnS(_getS(_manager), "manager not found") | |
187 | 187 | if ((manager == manager)) | |
188 | 188 | then _throwIf((toBase58String(i.caller.bytes) != manager), "address not authorized") | |
189 | 189 | else throw("Strict value is not equal to itself.") | |
190 | 190 | } | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func _abs (val) = if ((0 > val)) | |
194 | 194 | then -(val) | |
195 | 195 | else val | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func _validateAddress (address) = match address { | |
199 | 199 | case address: String => | |
200 | 200 | let _address = addressFromString(address) | |
201 | 201 | match _address { | |
202 | 202 | case _address: Address => | |
203 | 203 | true | |
204 | 204 | case _ => | |
205 | 205 | throw("invalid address") | |
206 | 206 | } | |
207 | 207 | case address: ByteVector => | |
208 | 208 | let _address = addressFromPublicKey(address) | |
209 | 209 | match _address { | |
210 | 210 | case _address: Address => | |
211 | 211 | true | |
212 | 212 | case _ => | |
213 | 213 | throw("invalid public key") | |
214 | 214 | } | |
215 | 215 | case _ => | |
216 | 216 | throw("invalid input type") | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | + | func _validateAsset (assetID) = match assetInfo(fromBase58String(assetID)) { | |
221 | + | case asset: Asset => | |
222 | + | true | |
223 | + | case _ => | |
224 | + | throw(("invalid asset id: " + assetID)) | |
225 | + | } | |
226 | + | ||
227 | + | ||
220 | 228 | func _computeMr () = { | |
221 | 229 | let currentCircIndex = _throwOrReturnI(_getI(_circulationIncrIndex), "increment index not previously defined") | |
222 | 230 | if ((currentCircIndex == currentCircIndex)) | |
223 | 231 | then { | |
224 | 232 | let stawAssetId = _throwOrReturnS(_getS(_stawAssetId), "asset id not previouly defined") | |
225 | 233 | if ((stawAssetId == stawAssetId)) | |
226 | 234 | then { | |
227 | 235 | let stawCirculatingSupply = match assetInfo(fromBase58String(stawAssetId)) { | |
228 | 236 | case asset: Asset => | |
229 | 237 | asset.quantity | |
230 | 238 | case _ => | |
231 | 239 | throw(("asset not found for " + stawAssetId)) | |
232 | 240 | } | |
233 | 241 | let unitIncrement = (_abs((stawCirculatingSupply - _incrementRef)) / _incrementRef) | |
234 | 242 | let newCirculationIncrIndex = if ((unitIncrement > currentCircIndex)) | |
235 | 243 | then (unitIncrement + currentCircIndex) | |
236 | 244 | else currentCircIndex | |
237 | 245 | let currentMr = _throwOrReturnI(_Mr, "miniting rate not previously defined") | |
238 | 246 | if ((newCirculationIncrIndex == currentCircIndex)) | |
239 | 247 | then currentMr | |
240 | 248 | else { | |
241 | 249 | let newreductionFactor = (_throwOrReturnI(_percentageReductionFactor, "reduction factor not previously defined") + 10) | |
242 | 250 | let newCurrentMr = (currentMr - fraction(currentMr, newreductionFactor, 100)) | |
243 | 251 | let store1 = _writeInt(_Mr, newCurrentMr) | |
244 | 252 | if ((store1 == store1)) | |
245 | 253 | then { | |
246 | 254 | let store2 = _writeInt(_percentageReductionFactor, newreductionFactor) | |
247 | 255 | if ((store2 == store2)) | |
248 | 256 | then { | |
249 | 257 | let store3 = _writeInt(_circulationIncrIndex, newCirculationIncrIndex) | |
250 | 258 | if ((store3 == store3)) | |
251 | 259 | then newCurrentMr | |
252 | 260 | else throw("Strict value is not equal to itself.") | |
253 | 261 | } | |
254 | 262 | else throw("Strict value is not equal to itself.") | |
255 | 263 | } | |
256 | 264 | else throw("Strict value is not equal to itself.") | |
257 | 265 | } | |
258 | 266 | } | |
259 | 267 | else throw("Strict value is not equal to itself.") | |
260 | 268 | } | |
261 | 269 | else throw("Strict value is not equal to itself.") | |
262 | 270 | } | |
263 | 271 | ||
264 | 272 | ||
265 | 273 | func _getRegistryEntryValue (key) = { | |
266 | 274 | let _rawValue = _throwOrReturnS(_getS(key), "entry not found") | |
267 | 275 | if ((_rawValue == _rawValue)) | |
268 | 276 | then { | |
269 | 277 | let x = split(_rawValue, SEP) | |
270 | 278 | let formatSpecifier = takeRight(x[0], 1) | |
271 | 279 | let _valueString = x[(size(x) - 1)] | |
272 | 280 | let _value = if ((formatSpecifier == "s")) | |
273 | 281 | then _valueString | |
274 | 282 | else if ((formatSpecifier == "d")) | |
275 | 283 | then parseIntValue(_valueString) | |
276 | 284 | else if ((formatSpecifier == "b")) | |
277 | 285 | then fromBase58String(_valueString) | |
278 | 286 | else throw(("could not parse registry value for " + key)) | |
279 | 287 | _value | |
280 | 288 | } | |
281 | 289 | else throw("Strict value is not equal to itself.") | |
282 | 290 | } | |
283 | 291 | ||
284 | 292 | ||
285 | 293 | func _updateGlobalEntry (wavesAmount,stawAmount,stawPL,indexCount) = { | |
286 | 294 | let _newGlobalTotalWavesAmtRef = (_throwOrReturnI(_getI(_totalWavesRef), "global waves sum not previously defined") + wavesAmount) | |
287 | 295 | let _newGlobalTotalStawMinted = (_throwOrReturnI(_getI(_totalStaw), "gobal staw minted not previously defined") + stawAmount) | |
288 | 296 | let _newGlobalTotalStawPL = (_throwOrReturnI(_getI(_totalStawLP), "global stawPL not previously defined") + stawPL) | |
289 | 297 | let _newGlobaIndexCount = (_throwOrReturnI(_getI(_globalIndexCount), "global index count not previously defined") + indexCount) | |
290 | 298 | [_writeInt(_totalWavesRef, _newGlobalTotalWavesAmtRef), _writeInt(_totalStaw, _newGlobalTotalStawMinted), _writeInt(_totalStawLP, _newGlobalTotalStawPL), _writeInt(_globalIndexCount, _newGlobaIndexCount)] | |
291 | 299 | } | |
292 | 300 | ||
293 | 301 | ||
294 | 302 | func _registerUserEntry (transactionID,userAddress,lockDuration,lockDurationInMili,lockIndex,wavesAmount,stawAmount,stawLPAmount,lockAtHeight,lockId,totalLocked,localIndexCount,leaseState) = { | |
295 | 303 | let _txIdKey = makeString([userAddress, transactionID, _txId], SEP) | |
296 | 304 | let _lockDurationKey = makeString([userAddress, transactionID, _lockDuration], SEP) | |
297 | 305 | let _lockIndexKey = makeString([userAddress, transactionID, _lockIndex], SEP) | |
298 | 306 | let _wavesAmountKey = makeString([userAddress, transactionID, _wavesAmount], SEP) | |
299 | 307 | let _stawAmountKey = makeString([userAddress, transactionID, _stawAmount], SEP) | |
300 | 308 | let _stawLPAmountKey = makeString([userAddress, transactionID, _stawLPAmount], SEP) | |
301 | 309 | let _lockAtHeightKey = makeString([userAddress, transactionID, _lockAtHeight], SEP) | |
302 | 310 | let _lockIdKey = makeString([userAddress, transactionID, _lockId], SEP) | |
303 | 311 | let _totalLockedKey = makeString([userAddress, _userTotalLocked], SEP) | |
304 | 312 | let _localLockIndexKey = makeString([userAddress, _userLocalIndexCount], SEP) | |
305 | 313 | let _lockPeriodInMiliSecKey = makeString([userAddress, transactionID, _lockPeriodInMiliSec], SEP) | |
306 | 314 | let _totalWavesClaimedKey = makeString([userAddress, transactionID, _totalWavesClaimed], SEP) | |
307 | 315 | let _userLeaseStateKey = makeString([userAddress, transactionID, _userLeaseState], SEP) | |
308 | 316 | let trxIdEntry = makeString(["%s", transactionID], SEP) | |
309 | 317 | let lockDurationEntry = makeString(["%d", toString(lockDuration)], SEP) | |
310 | 318 | let lockIndexEntry = makeString(["%d", toString(lockIndex)], SEP) | |
311 | 319 | let wavesAmountEntry = makeString(["%d", toString(wavesAmount)], SEP) | |
312 | 320 | let stawAmountEntry = makeString(["%d", toString(stawAmount)], SEP) | |
313 | 321 | let stawLPAmountEntry = makeString(["%d", toString(stawLPAmount)], SEP) | |
314 | 322 | let lockAtHeightEntry = makeString(["%d", toString(lockAtHeight)], SEP) | |
315 | 323 | let lockIdEntry = makeString(["%b", lockId], SEP) | |
316 | 324 | let totalLockedEntry = makeString(["%d", toString(totalLocked)], SEP) | |
317 | 325 | let userLocalIndexEntry = makeString(["%d", toString(localIndexCount)], SEP) | |
318 | 326 | let lockPeriodInMiliSecEntry = makeString(["%d", toString(lockDurationInMili)], SEP) | |
319 | 327 | let totalWavesClaimedEntry = makeString(["%d", toString(0)], SEP) | |
320 | 328 | let userLeaseStateEntry = makeString(["%s", leaseState], SEP) | |
321 | 329 | [_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)] | |
322 | 330 | } | |
323 | 331 | ||
324 | 332 | ||
325 | 333 | func _stawMF (lockPeriod,collateralWaves) = { | |
326 | 334 | let _adjustedMr = _computeMr() | |
327 | 335 | (fraction(_unitDecimals, (_Dt * _adjustedMr), _Ppy(lockPeriod)) * collateralWaves) | |
328 | 336 | } | |
329 | 337 | ||
330 | 338 | ||
331 | 339 | func _emissionRateWaves (lockPeriod,collateral) = { | |
332 | 340 | let extensionFactor = fraction(lockPeriod, 15, 10) | |
333 | 341 | ((collateral / ((lockPeriod * extensionFactor) - lockPeriod)) * _Dt) | |
334 | 342 | } | |
335 | 343 | ||
336 | 344 | ||
337 | 345 | func _incrTotalStawLP (amount) = { | |
338 | 346 | let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP") | |
339 | 347 | [_writeInt(_totalStawLP, (oldStawLP + amount))] | |
340 | 348 | } | |
341 | 349 | ||
342 | 350 | ||
343 | 351 | func _decrTotalStawLP (amount) = { | |
344 | 352 | let oldStawLP = _throwOrReturnI(_getI(_totalStawLP), "could not get the running StawLP") | |
345 | 353 | [_writeInt(_totalStawLP, (oldStawLP - amount))] | |
346 | 354 | } | |
347 | 355 | ||
348 | 356 | ||
349 | 357 | func _incrTotalWavesRef (amount) = { | |
350 | 358 | let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves") | |
351 | 359 | [_writeInt(_totalWavesRef, (oldWavesRef + amount))] | |
352 | 360 | } | |
353 | 361 | ||
354 | 362 | ||
355 | 363 | func _decrTotalWavesRef (amount) = { | |
356 | 364 | let oldWavesRef = _throwOrReturnI(_getI(_totalWavesRef), "could not get total locked waves") | |
357 | 365 | [_writeInt(_totalWavesRef, (oldWavesRef - amount))] | |
358 | 366 | } | |
359 | 367 | ||
360 | 368 | ||
361 | 369 | func _getNewTimeStamp (blockHeight) = { | |
362 | 370 | let time = match blockInfoByHeight(blockHeight) { | |
363 | 371 | case timeInfo: BlockInfo => | |
364 | 372 | timeInfo.timestamp | |
365 | 373 | case _ => | |
366 | 374 | throw("counld get timestamp") | |
367 | 375 | } | |
368 | 376 | time | |
369 | 377 | } | |
370 | 378 | ||
371 | 379 | ||
372 | 380 | @Callable(i) | |
373 | 381 | func getEmission (lockPeriod,collateral) = { | |
374 | 382 | let check1 = _onlyManager(i) | |
375 | 383 | if ((check1 == check1)) | |
376 | 384 | then $Tuple2(nil, _emissionRateWaves(lockPeriod, collateral)) | |
377 | 385 | else throw("Strict value is not equal to itself.") | |
378 | 386 | } | |
379 | 387 | ||
380 | 388 | ||
381 | 389 | ||
382 | 390 | @Callable(i) | |
383 | 391 | func init (manager,dfx,assetID,leaseNode) = { | |
384 | 392 | let managerAlreadyExists = if (isDefined(_getS(_manager))) | |
385 | 393 | then _onlyManager(i) | |
386 | 394 | else true | |
387 | 395 | if ((managerAlreadyExists == managerAlreadyExists)) | |
388 | 396 | then { | |
389 | 397 | let check1 = _validateAddress(manager) | |
390 | 398 | if ((check1 == check1)) | |
391 | 399 | then { | |
392 | 400 | let check2 = _validateAddress(dfx) | |
393 | 401 | if ((check2 == check2)) | |
394 | 402 | then { | |
395 | 403 | let check3 = _validateAddress(leaseNode) | |
396 | 404 | if ((check3 == check3)) | |
397 | 405 | then { | |
398 | - | let circulationIndex = _setParamVal(_circulationIncrIndex, 0) | |
399 | - | let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0) | |
400 | - | let Mr = _setParamVal(_Mr, _unitDecimals) | |
401 | - | let totalStawMinted = _setParamVal(_totalStaw, 0) | |
402 | - | let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0) | |
403 | - | let globalIndexCount = _setParamVal(_globalIndexCount, 0) | |
404 | - | let totalWavesRef = _setParamVal(_totalWavesRef, 0) | |
406 | + | let check4 = _validateAsset(assetID) | |
407 | + | if ((check4 == check4)) | |
408 | + | then { | |
409 | + | let circulationIndex = _setParamVal(_circulationIncrIndex, 0) | |
410 | + | let percentageReductionInMr = _setParamVal(_percentageReductionFactor, 0) | |
411 | + | let Mr = _setParamVal(_Mr, _unitDecimals) | |
412 | + | let totalStawMinted = _setParamVal(_totalStaw, 0) | |
413 | + | let totalStawLPInCirculation = _setParamVal(_totalStawLP, 0) | |
414 | + | let globalIndexCount = _setParamVal(_globalIndexCount, 0) | |
415 | + | let totalWavesRef = _setParamVal(_totalWavesRef, 0) | |
405 | 416 | [_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)] | |
417 | + | } | |
418 | + | else throw("Strict value is not equal to itself.") | |
406 | 419 | } | |
407 | 420 | else throw("Strict value is not equal to itself.") | |
408 | 421 | } | |
409 | 422 | else throw("Strict value is not equal to itself.") | |
410 | 423 | } | |
411 | 424 | else throw("Strict value is not equal to itself.") | |
412 | 425 | } | |
413 | 426 | else throw("Strict value is not equal to itself.") | |
414 | 427 | } | |
415 | 428 | ||
416 | 429 | ||
417 | 430 | ||
418 | 431 | @Callable(i) | |
419 | 432 | func modifyGlobalParams (val) = { | |
420 | 433 | let check1 = _onlyManager(i) | |
421 | 434 | if ((check1 == check1)) | |
422 | 435 | then { | |
423 | 436 | let check2 = _throwIf((size(val) == 2), "[global_key, value] pairs expected") | |
424 | 437 | if ((check2 == check2)) | |
425 | 438 | then { | |
426 | 439 | let key = val[0] | |
427 | 440 | let valType = parseInt(val[1]) | |
428 | 441 | match valType { | |
429 | 442 | case x: Int => | |
430 | 443 | let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized")) | |
431 | 444 | if ((validateKey == validateKey)) | |
432 | 445 | then [_writeGlobalParam(key, x)] | |
433 | 446 | else throw("Strict value is not equal to itself.") | |
434 | 447 | case x: Unit => | |
435 | 448 | let validateKey = _throwIf((_getS(key) == unit), (("key " + key) + " not recognized")) | |
436 | 449 | if ((validateKey == validateKey)) | |
437 | 450 | then { | |
438 | - | let validateAddress = _validateAddress(val[1]) | |
439 | - | if ((validateAddress == validateAddress)) | |
440 | - | then [_writeGlobalParam(key, val[1])] | |
451 | + | let stringValue = val[1] | |
452 | + | let refAddress = _getRegistryEntryValue("_manager") | |
453 | + | let check4 = match refAddress { | |
454 | + | case strType: String => | |
455 | + | if ((size(strType) == size(stringValue))) | |
456 | + | then _validateAddress(stringValue) | |
457 | + | else _validateAsset(stringValue) | |
458 | + | case _ => | |
459 | + | throw("value type not supported") | |
460 | + | } | |
461 | + | if ((check4 == check4)) | |
462 | + | then [_writeGlobalParam(key, stringValue)] | |
441 | 463 | else throw("Strict value is not equal to itself.") | |
442 | 464 | } | |
443 | 465 | else throw("Strict value is not equal to itself.") | |
444 | 466 | case _ => | |
445 | - | | |
467 | + | throw(("failed to modify " + val[0])) | |
446 | 468 | } | |
447 | 469 | } | |
448 | 470 | else throw("Strict value is not equal to itself.") | |
449 | 471 | } | |
450 | 472 | else throw("Strict value is not equal to itself.") | |
451 | 473 | } | |
452 | 474 | ||
453 | 475 | ||
454 | 476 | ||
455 | 477 | @Callable(i) | |
456 | 478 | func revokeLock () = { | |
457 | 479 | let check1 = _onlyManager(i) | |
458 | 480 | if ((check1 == check1)) | |
459 | 481 | then nil | |
460 | 482 | else throw("Strict value is not equal to itself.") | |
461 | 483 | } | |
462 | 484 | ||
463 | 485 | ||
464 | 486 | ||
465 | 487 | @Callable(i) | |
466 | 488 | func claim (transactionID) = { | |
467 | 489 | let callerAddress = toBase58String(i.caller.bytes) | |
468 | 490 | let collateralKey = makeString([callerAddress, transactionID, _wavesAmount], SEP) | |
469 | 491 | let lockperiodKey = makeString([callerAddress, transactionID, _lockDuration], SEP) | |
470 | 492 | let lockIdKey = makeString([callerAddress, transactionID, _lockId], SEP) | |
471 | 493 | let lockperiodInMiliKey = makeString([callerAddress, transactionID, _lockPeriodInMiliSec], SEP) | |
472 | 494 | let totalWavesClaimedKey = makeString([callerAddress, transactionID, _totalWavesClaimed], SEP) | |
473 | 495 | let stawLPAmountKey = makeString([callerAddress, transactionID, _stawLPAmount], SEP) | |
474 | 496 | let wavesAmountKey = makeString([callerAddress, transactionID, _wavesAmount], SEP) | |
475 | 497 | let userTotalWavesLockedKey = makeString([callerAddress, _userTotalLocked], SEP) | |
476 | 498 | let userLeaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP) | |
477 | 499 | let leaseStateKey = makeString([callerAddress, transactionID, _userLeaseState], SEP) | |
478 | 500 | let globalWavesRef = _getIV(_totalWavesRef) | |
479 | 501 | if ((globalWavesRef == globalWavesRef)) | |
480 | 502 | then { | |
481 | 503 | let globalStawPL = _getIV(_totalStawLP) | |
482 | 504 | if ((globalStawPL == globalStawPL)) | |
483 | 505 | then { | |
484 | 506 | let lockId = match _getRegistryEntryValue(lockIdKey) { | |
485 | 507 | case t: ByteVector => | |
486 | 508 | t | |
487 | 509 | case _ => | |
488 | 510 | throw("failed to get lease id") | |
489 | 511 | } | |
490 | 512 | if ((lockId == lockId)) | |
491 | 513 | then { | |
492 | 514 | let userTotalWavesLocked = match _getRegistryEntryValue(userTotalWavesLockedKey) { | |
493 | 515 | case t: Int => | |
494 | 516 | t | |
495 | 517 | case _ => | |
496 | 518 | throw("failed to get total waves locked by this address") | |
497 | 519 | } | |
498 | 520 | if ((userTotalWavesLocked == userTotalWavesLocked)) | |
499 | 521 | then { | |
500 | 522 | let wavesAmount = match _getRegistryEntryValue(wavesAmountKey) { | |
501 | 523 | case t: Int => | |
502 | 524 | t | |
503 | 525 | case _ => | |
504 | 526 | throw("failed to get total waves locked") | |
505 | 527 | } | |
506 | 528 | if ((wavesAmount == wavesAmount)) | |
507 | 529 | then { | |
508 | 530 | let totalWavesClaimed = match _getRegistryEntryValue(totalWavesClaimedKey) { | |
509 | 531 | case t: Int => | |
510 | 532 | t | |
511 | 533 | case _ => | |
512 | 534 | throw("failed to get total waves claimed") | |
513 | 535 | } | |
514 | 536 | if ((totalWavesClaimed == totalWavesClaimed)) | |
515 | 537 | then { | |
516 | 538 | let stawLPAmount = match _getRegistryEntryValue(stawLPAmountKey) { | |
517 | 539 | case t: Int => | |
518 | 540 | t | |
519 | 541 | case _ => | |
520 | 542 | throw("failed to get stawPL") | |
521 | 543 | } | |
522 | 544 | if ((stawLPAmount == stawLPAmount)) | |
523 | 545 | then { | |
524 | 546 | let lockPeriodInMili = match _getRegistryEntryValue(lockperiodInMiliKey) { | |
525 | 547 | case t: Int => | |
526 | 548 | t | |
527 | 549 | case _ => | |
528 | 550 | throw("failed to get lock period timespam") | |
529 | 551 | } | |
530 | 552 | if ((lockPeriodInMili == lockPeriodInMili)) | |
531 | 553 | then { | |
532 | 554 | let currentTimeStamp = match _getNewTimeStamp(height) { | |
533 | 555 | case t: Int => | |
534 | 556 | t | |
535 | 557 | case _ => | |
536 | 558 | throw("failed to get current timestamp") | |
537 | 559 | } | |
538 | 560 | if ((currentTimeStamp == currentTimeStamp)) | |
539 | 561 | then { | |
540 | 562 | let collateral = match _getRegistryEntryValue(collateralKey) { | |
541 | 563 | case t: Int => | |
542 | 564 | t | |
543 | 565 | case _ => | |
544 | 566 | throw("failed to get collateral") | |
545 | 567 | } | |
546 | 568 | if ((collateral == collateral)) | |
547 | 569 | then { | |
548 | 570 | let lockPeriod = match _getRegistryEntryValue(lockperiodKey) { | |
549 | 571 | case t: Int => | |
550 | 572 | t | |
551 | 573 | case _ => | |
552 | 574 | throw("failed to get lockPeriod") | |
553 | 575 | } | |
554 | 576 | if ((lockPeriod == lockPeriod)) | |
555 | 577 | then { | |
556 | 578 | let currentLeaseState = match _getRegistryEntryValue(userLeaseStateKey) { | |
557 | 579 | case t: String => | |
558 | 580 | t | |
559 | 581 | case _ => | |
560 | 582 | throw("failed to get lease state") | |
561 | 583 | } | |
562 | 584 | if ((currentLeaseState == currentLeaseState)) | |
563 | 585 | then { | |
564 | 586 | let leaseState = match _getRegistryEntryValue(leaseStateKey) { | |
565 | 587 | case t: String => | |
566 | 588 | t | |
567 | 589 | case _ => | |
568 | 590 | throw("failed to get lease state for user") | |
569 | 591 | } | |
570 | 592 | if ((leaseState == leaseState)) | |
571 | 593 | then { | |
572 | 594 | let check1 = _throwIf((lockPeriodInMili > currentTimeStamp), "lock period for this entry has not elapsed") | |
573 | 595 | if ((check1 == check1)) | |
574 | 596 | then { | |
575 | 597 | let leaseAction = if ((currentLeaseState == "leased")) | |
576 | 598 | then $Tuple2(LeaseCancel(lockId), _writeStr(userLeaseStateKey, "cancelled")) | |
577 | 599 | else $Tuple2(_writeStr(userLeaseStateKey, "cancelled"), _writeStr(userLeaseStateKey, "cancelled")) | |
578 | 600 | if ((leaseAction == leaseAction)) | |
579 | 601 | then { | |
580 | 602 | let check2 = _throwIf(if ((0 == wavesAmount)) | |
581 | 603 | then true | |
582 | 604 | else (0 == stawLPAmount), "all claims exhausted for this trx") | |
583 | 605 | if ((check2 == check2)) | |
584 | 606 | then { | |
585 | 607 | let emissionValuePerDT = (_emissionRateWaves(lockPeriod, collateral) * _Dt) | |
586 | 608 | let claimAction = { | |
587 | 609 | let timeStampDiff = (currentTimeStamp - lockPeriodInMili) | |
588 | 610 | let daysAfterLockPeriodElasped = (timeStampDiff / _Dt) | |
589 | 611 | if ((daysAfterLockPeriodElasped == 0)) | |
590 | 612 | then throw("less than 24hrs before first claim") | |
591 | 613 | else if (((timeStampDiff % _Dt) != 0)) | |
592 | 614 | then throw("already claimed or less than 24hrs before next claim") | |
593 | 615 | else if ((daysAfterLockPeriodElasped > lockPeriod)) | |
594 | 616 | then throw("all claims exhausted") | |
595 | 617 | else { | |
596 | 618 | let totalAmountClaimable = (daysAfterLockPeriodElasped * emissionValuePerDT) | |
597 | 619 | let check3_1 = _throwIf((totalAmountClaimable == totalWavesClaimed), "can only claim once in 24hrs") | |
598 | 620 | if ((check3_1 == check3_1)) | |
599 | 621 | then { | |
600 | 622 | let check3_2 = _throwIf(((totalAmountClaimable + totalWavesClaimed) > wavesAmount), "all claims exhausted") | |
601 | 623 | if ((check3_2 == check3_2)) | |
602 | 624 | then { | |
603 | 625 | let claimAmountToSend = if ((daysAfterLockPeriodElasped == 1)) | |
604 | 626 | then totalAmountClaimable | |
605 | 627 | else (totalAmountClaimable - totalWavesClaimed) | |
606 | 628 | let newTotalWavesClaim = totalAmountClaimable | |
607 | 629 | let newWavesAmount = if ((daysAfterLockPeriodElasped == 1)) | |
608 | 630 | then (wavesAmount - totalAmountClaimable) | |
609 | 631 | else (wavesAmount - (totalAmountClaimable - totalWavesClaimed)) | |
610 | 632 | let newStawLPAmount = if ((daysAfterLockPeriodElasped == 1)) | |
611 | 633 | then (stawLPAmount - totalAmountClaimable) | |
612 | 634 | else (stawLPAmount - (totalAmountClaimable - totalWavesClaimed)) | |
613 | 635 | let newGlobalWaveRef = (globalWavesRef - newWavesAmount) | |
614 | 636 | let newGlobalStawPL = (globalStawPL - newStawLPAmount) | |
615 | 637 | let newUserTotalWavesLocked = (userTotalWavesLocked - claimAmountToSend) | |
616 | 638 | let wavesAmountEntry = makeString(["%d", toString(newWavesAmount)], SEP) | |
617 | 639 | let stawLPAmountEntry = makeString(["%d", toString(newStawLPAmount)], SEP) | |
618 | 640 | let totalWavesClaimedEntry = makeString(["%d", toString(newTotalWavesClaim)], SEP) | |
619 | 641 | let newUserTotalWavesLockedEntry = makeString(["%d", toString(newUserTotalWavesLocked)], SEP) | |
620 | 642 | [leaseAction._1, leaseAction._2, _writeStr(wavesAmountKey, wavesAmountEntry), _writeStr(stawLPAmountKey, stawLPAmountEntry), _writeStr(totalWavesClaimedKey, totalWavesClaimedEntry), _writeStr(userTotalWavesLockedKey, newUserTotalWavesLockedEntry), _writeInt(_totalWavesRef, newGlobalWaveRef), _writeInt(_totalStawLP, newGlobalStawPL), ScriptTransfer(Address(i.caller.bytes), claimAmountToSend, unit)] | |
621 | 643 | } | |
622 | 644 | else throw("Strict value is not equal to itself.") | |
623 | 645 | } | |
624 | 646 | else throw("Strict value is not equal to itself.") | |
625 | 647 | } | |
626 | 648 | } | |
627 | 649 | if ((claimAction == claimAction)) | |
628 | 650 | then claimAction | |
629 | 651 | else throw("Strict value is not equal to itself.") | |
630 | 652 | } | |
631 | 653 | else throw("Strict value is not equal to itself.") | |
632 | 654 | } | |
633 | 655 | else throw("Strict value is not equal to itself.") | |
634 | 656 | } | |
635 | 657 | else throw("Strict value is not equal to itself.") | |
636 | 658 | } | |
637 | 659 | else throw("Strict value is not equal to itself.") | |
638 | 660 | } | |
639 | 661 | else throw("Strict value is not equal to itself.") | |
640 | 662 | } | |
641 | 663 | else throw("Strict value is not equal to itself.") | |
642 | 664 | } | |
643 | 665 | else throw("Strict value is not equal to itself.") | |
644 | 666 | } | |
645 | 667 | else throw("Strict value is not equal to itself.") | |
646 | 668 | } | |
647 | 669 | else throw("Strict value is not equal to itself.") | |
648 | 670 | } | |
649 | 671 | else throw("Strict value is not equal to itself.") | |
650 | 672 | } | |
651 | 673 | else throw("Strict value is not equal to itself.") | |
652 | 674 | } | |
653 | 675 | else throw("Strict value is not equal to itself.") | |
654 | 676 | } | |
655 | 677 | else throw("Strict value is not equal to itself.") | |
656 | 678 | } | |
657 | 679 | else throw("Strict value is not equal to itself.") | |
658 | 680 | } | |
659 | 681 | else throw("Strict value is not equal to itself.") | |
660 | 682 | } | |
661 | 683 | else throw("Strict value is not equal to itself.") | |
662 | 684 | } | |
663 | 685 | ||
664 | 686 | ||
665 | 687 | ||
666 | 688 | @Callable(i) | |
667 | 689 | func mintStaw (lockPeriod) = { | |
668 | 690 | let callerAddress = toBase58String(i.caller.bytes) | |
669 | 691 | let trxID = toBase58String(i.transactionId) | |
670 | 692 | let check1 = _throwIf((1 != size(i.payments)), "no payments attached") | |
671 | 693 | if ((check1 == check1)) | |
672 | 694 | then { | |
673 | 695 | let check2 = if (isDefined(i.payments[0].assetId)) | |
674 | 696 | then throw("only waves supported") | |
675 | 697 | else true | |
676 | 698 | if ((check2 == check2)) | |
677 | 699 | then { | |
678 | 700 | let amountInWaves = i.payments[0].amount | |
679 | 701 | let check3 = if (if ((_minLockAmount > amountInWaves)) | |
680 | 702 | then true | |
681 | 703 | else (amountInWaves > _maxLockAmount)) | |
682 | 704 | then throw("amount to lock is out of range") | |
683 | 705 | else true | |
684 | 706 | if ((check3 == check3)) | |
685 | 707 | then { | |
686 | 708 | let check4 = if ((_minLockperiod > lockPeriod)) | |
687 | 709 | then throw("minimum of 14 days lock period") | |
688 | 710 | else true | |
689 | 711 | if ((check4 == check4)) | |
690 | 712 | then { | |
691 | 713 | let totalStawMint = _stawMF(lockPeriod, amountInWaves) | |
692 | 714 | let stawPL = amountInWaves | |
693 | 715 | let fee = fraction(totalStawMint, 10, 100) | |
694 | 716 | let userGetStawAmount = (totalStawMint - fee) | |
695 | 717 | let lockPeriodToMilisec = (_getNewTimeStamp(height) + _daysToMiliSec(lockPeriod)) | |
696 | 718 | if ((lockPeriodToMilisec == lockPeriodToMilisec)) | |
697 | 719 | then { | |
698 | 720 | let new_index = (_throwOrReturnI(_getI(_globalIndexCount), "global index not previously defined") + 1) | |
699 | 721 | if ((new_index == new_index)) | |
700 | 722 | then { | |
701 | 723 | let addressFee = Address(fromBase58String(_throwOrReturnS(_getS(_Dfx), "dfx not previously defined"))) | |
702 | 724 | if ((addressFee == addressFee)) | |
703 | 725 | then { | |
704 | 726 | let stawAssetId = fromBase58String(_throwOrReturnS(_getS(_stawAssetId), "asset id not previously defined")) | |
705 | 727 | if ((stawAssetId == stawAssetId)) | |
706 | 728 | then { | |
707 | 729 | let lessee = Address(fromBase58String(_throwOrReturnS(_getS(_lesseeAddress), "lease node not previously defined"))) | |
708 | 730 | if ((lessee == lessee)) | |
709 | 731 | then { | |
710 | 732 | let userLockIndexKey = makeString([callerAddress, _userLocalIndexCount], SEP) | |
711 | 733 | let userTotalLockedKey = makeString([callerAddress, _userTotalLocked], SEP) | |
712 | 734 | let userIndexCount = match _getRegistryEntryValue(userLockIndexKey) { | |
713 | 735 | case x: Int => | |
714 | 736 | (x + 1) | |
715 | 737 | case _ => | |
716 | 738 | 0 | |
717 | 739 | } | |
718 | 740 | if ((userIndexCount == userIndexCount)) | |
719 | 741 | then { | |
720 | 742 | let userTotalLocked = match _getRegistryEntryValue(userTotalLockedKey) { | |
721 | 743 | case x: Int => | |
722 | 744 | (x + amountInWaves) | |
723 | 745 | case _ => | |
724 | 746 | amountInWaves | |
725 | 747 | } | |
726 | 748 | if ((userTotalLocked == userTotalLocked)) | |
727 | 749 | then { | |
728 | 750 | let leaseOut = Lease(lessee, amountInWaves) | |
729 | 751 | if ((leaseOut == leaseOut)) | |
730 | 752 | then { | |
731 | 753 | let leaseIdStr = toBase58String(calculateLeaseId(leaseOut)) | |
732 | 754 | if ((leaseIdStr == leaseIdStr)) | |
733 | 755 | 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)) | |
734 | 756 | else throw("Strict value is not equal to itself.") | |
735 | 757 | } | |
736 | 758 | else throw("Strict value is not equal to itself.") | |
737 | 759 | } | |
738 | 760 | else throw("Strict value is not equal to itself.") | |
739 | 761 | } | |
740 | 762 | else throw("Strict value is not equal to itself.") | |
741 | 763 | } | |
742 | 764 | else throw("Strict value is not equal to itself.") | |
743 | 765 | } | |
744 | 766 | else throw("Strict value is not equal to itself.") | |
745 | 767 | } | |
746 | 768 | else throw("Strict value is not equal to itself.") | |
747 | 769 | } | |
748 | 770 | else throw("Strict value is not equal to itself.") | |
749 | 771 | } | |
750 | 772 | else throw("Strict value is not equal to itself.") | |
751 | 773 | } | |
752 | 774 | else throw("Strict value is not equal to itself.") | |
753 | 775 | } | |
754 | 776 | else throw("Strict value is not equal to itself.") | |
755 | 777 | } | |
756 | 778 | else throw("Strict value is not equal to itself.") | |
757 | 779 | } | |
758 | 780 | else throw("Strict value is not equal to itself.") | |
759 | 781 | } | |
760 | 782 | ||
761 | 783 |
github/deemru/w8io/169f3d6 80.44 ms ◑