tx · 8zP6zRrnr6RPd2rov9UJ6Hzy5ossHLK3heRUKjbhU3ZH 3Mp7YayxL6HjLfFJjzNYC8E3VTGjanV4bXw: -0.01000000 Waves 2021.11.19 14:12 [1797843] smart account 3Mp7YayxL6HjLfFJjzNYC8E3VTGjanV4bXw > SELF 0.00000000 Waves
{ "type": 13, "id": "8zP6zRrnr6RPd2rov9UJ6Hzy5ossHLK3heRUKjbhU3ZH", "fee": 1000000, "feeAssetId": null, "timestamp": 1637320352121, "version": 1, "sender": "3Mp7YayxL6HjLfFJjzNYC8E3VTGjanV4bXw", "senderPublicKey": "EDfRSpmRQsE3teBhqfwCYfbjueikP1dLfdfj7kTpGP4P", "proofs": [ "3Uq4d6ivWvvYhS2jNaA4oCmHXLp38cWUyrwxJJhgGxRPEyJW4NBd2aVsUW3UaCkWcXANhji18fNgVaYo29SXdtfZ" ], "script": "base64:AAIFAAAAAAAAACAIAhIICgYICAEBAQgSAwoBARIDCgEBEgMKAQgSAwoBCAAAAEAAAAAAA1NFUAIAAAACX18AAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QABAAAAD2dldFN0cmluZ09yRmFpbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkJAAEsAAAAAgkAASwAAAACAgAAAA9tYW5kYXRvcnkgdGhpcy4FAAAAA2tleQIAAAAPIGlzIG5vdCBkZWZpbmVkAQAAAAxnZXRJbnRPclplcm8AAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADGdldEludE9yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQfAAAAAQUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaX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dGlvbgAAAAAAAAAAAAAAAAAAAAAAAAUAAAABaQkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAALdXNlckFkZHJlc3MFAAAACnVzZXJBbW91bnQFAAAAB2Fzc2V0SWQAAAABaQEAAAATZ3d4VXNlckluZm9SRUFET05MWQAAAAEAAAALdXNlckFkZHJlc3MEAAAABUVNUFRZAgAAAAVlbXB0eQQAAAASdXNlcjJOdW1NYXBwaW5nS0VZCQEAAAASa2V5VXNlcjJOdW1NYXBwaW5nAAAAAQUAAAALdXNlckFkZHJlc3MEAAAAB3VzZXJOdW0JAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQiAAAAAQUAAAASdXNlcjJOdW1NYXBwaW5nS0VZBQAAAAVFTVBUWQQAAAABawkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB8AAAABCQEAAAANa2V5TG9ja1BhcmFtSwAAAAEFAAAAB3VzZXJOdW0AAAAAAAAAAAAEAAAAAWIJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQfAAAAAQkBAAAADWtleUxvY2tQYXJhbUIAAAABBQAAAAd1c2VyTnVtAAAAAAAAAAAABAAAAA1nd3hBbW91bnRDYWxjCQAAawAAAAMJAABkAAAAAgkAAGgAAAACBQAAAAFrBQAAAAZoZWlnaHQFAAAAAWIAAAAAAAAAAAEFAAAABU1VTFQ4BAAAAAlnd3hBbW91bnQDCQAAZgAAAAIAAAAAAAAAAAAFAAAADWd3eEFtb3VudENhbGMAAAAAAAAAAAAFAAAADWd3eEFtb3VudENhbGMJAAUUAAAAAgUAAAADbmlsCQAETAAAAAIFAAAACWd3eEFtb3VudAUAAAADbmlsAAAAAJtASZU=", "chainId": 84, "height": 1797843, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H5rQEVwko8EvNg8UW1nbsjKUvaC6WAgVNYKNCCzmCB3Z Next: none Diff:
Old | New | Differences | |
---|---|---|---|
338 | 338 | let userNum = valueOrElse(getString(user2NumMappingKEY), EMPTY) | |
339 | 339 | let k = valueOrElse(getInteger(keyLockParamK(userNum)), 0) | |
340 | 340 | let b = valueOrElse(getInteger(keyLockParamB(userNum)), 0) | |
341 | - | let gwxAmountCalc = fraction(((k * height) + b), 1, | |
341 | + | let gwxAmountCalc = fraction(((k * height) + b), 1, MULT8) | |
342 | 342 | let gwxAmount = if ((0 > gwxAmountCalc)) | |
343 | 343 | then 0 | |
344 | 344 | else gwxAmountCalc |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SEP = "__" | |
5 | 5 | ||
6 | 6 | let SCALE8 = 8 | |
7 | 7 | ||
8 | 8 | let MULT8 = 100000000 | |
9 | 9 | ||
10 | 10 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (("mandatory this." + key) + " is not defined")) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func getIntOrZero (key) = valueOrElse(getInteger(this, key), 0) | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func getIntOrFail (key) = valueOrErrorMessage(getInteger(key), (("mandatory this." + key) + " is not defined")) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func asAnyList (val) = match val { | |
20 | 20 | case valAnyLyst: List[Any] => | |
21 | 21 | valAnyLyst | |
22 | 22 | case _ => | |
23 | 23 | throw("fail to cast into List[Any]") | |
24 | 24 | } | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func asInt (val) = match val { | |
28 | 28 | case valInt: Int => | |
29 | 29 | valInt | |
30 | 30 | case _ => | |
31 | 31 | throw("fail to cast into Int") | |
32 | 32 | } | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func keyFactoryAddress () = "%s%s__config__factoryAddress" | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | let IdxFactoryCfgStakingDapp = 1 | |
39 | 39 | ||
40 | 40 | let IdxFactoryCfgBoostingDapp = 2 | |
41 | 41 | ||
42 | 42 | let IdxFactoryCfgIdoDapp = 3 | |
43 | 43 | ||
44 | 44 | let IdxFactoryCfgTeamDapp = 4 | |
45 | 45 | ||
46 | 46 | let IdxFactoryCfgEmissionDapp = 5 | |
47 | 47 | ||
48 | 48 | let IdxFactoryCfgRestDapp = 6 | |
49 | 49 | ||
50 | 50 | let IdxFactoryCfgSlippageDapp = 7 | |
51 | 51 | ||
52 | 52 | func keyFactoryCfg () = "%s__factoryConfig" | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func keyFactoryLpList () = "%s__lpTokensList" | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(this, keyFactoryAddress())) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func readFactoryCfgOrFail (factory) = split(getStringOrFail(factory, keyFactoryCfg()), SEP) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp]) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp]) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp]) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | let IdxCfgAssetId = 1 | |
86 | 86 | ||
87 | 87 | let IdxCfgMinLockAmount = 2 | |
88 | 88 | ||
89 | 89 | let IdxCfgMinLockDuration = 3 | |
90 | 90 | ||
91 | 91 | let IdxCfgMaxLockDuration = 4 | |
92 | 92 | ||
93 | 93 | let IdxCfgMathContract = 5 | |
94 | 94 | ||
95 | 95 | func keyConfig () = "%s__config" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func readConfigArrayOrFail () = split(getStringOrFail(this, keyConfig()), SEP) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func formatConfigS (assetId,minLockAmount,minLockDuration,maxLockDuration,mathContract) = makeString(["%s%d%d%d", assetId, minLockAmount, minLockDuration, maxLockDuration, mathContract], SEP) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func formatConfig (assetId,minLockAmount,minLockDuration,maxLockDuration,mathContract) = formatConfigS(assetId, toString(minLockAmount), toString(minLockDuration), toString(maxLockDuration), mathContract) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | let IdxLockUserNum = 1 | |
108 | 108 | ||
109 | 109 | let IdxLockAmount = 2 | |
110 | 110 | ||
111 | 111 | let IdxLockStart = 3 | |
112 | 112 | ||
113 | 113 | let IdxLockDuration = 4 | |
114 | 114 | ||
115 | 115 | let IdxLockParamK = 5 | |
116 | 116 | ||
117 | 117 | let IdxLockParamB = 6 | |
118 | 118 | ||
119 | 119 | func keyLockParamsRecord (userAddress) = makeString(["%s%s__lock", userAddress], SEP) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func readLockParamsRecordOrFail (userAddress) = split(getStringOrFail(this, keyLockParamsRecord(userAddress)), SEP) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func formatLockParamsRecordS (userNum,amount,start,duration,paramK,paramB) = makeString(["%d%d%d%d%d%d", userNum, amount, start, duration, paramK, paramB], SEP) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func formatLockParamsRecord (userNum,amount,start,duration,paramK,paramB) = formatLockParamsRecordS(userNum, toString(amount), toString(start), toString(duration), toString(paramK), toString(paramB)) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func keyNextUserNum () = "%s__nextUserNum" | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func keyLockParamTotalAmount () = "%s%s__stats__activeTotalLocked" | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func keyStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks" | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func keyStatsLocksCount () = "%s%s__stats__locksCount" | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func keyStatsUsersCount () = "%s%s__stats__activeUsersCount" | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func HistoryEntry (type,user,amount,lockStart,duration,k,b,i) = { | |
174 | 174 | let historyKEY = makeString(["%s%s%s%s__history", type, user, toBase58String(i.transactionId)], SEP) | |
175 | 175 | let historyDATA = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(amount), toString(lockStart), toString(duration), toString(k), toString(b)], SEP) | |
176 | 176 | StringEntry(historyKEY, historyDATA) | |
177 | 177 | } | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func StatsEntry (totalLockedInc,durationInc,lockCountInc,usersCountInc) = { | |
181 | 181 | let locksDurationSumInBlocksKEY = keyStatsLocksDurationSumInBlocks() | |
182 | 182 | let locksCountKEY = keyStatsLocksCount() | |
183 | 183 | let usersCountKEY = keyStatsUsersCount() | |
184 | 184 | let totalAmountKEY = keyLockParamTotalAmount() | |
185 | 185 | let locksDurationSumInBlocks = getIntOrZero(locksCountKEY) | |
186 | 186 | let locksCount = getIntOrZero(locksCountKEY) | |
187 | 187 | let usersCount = getIntOrZero(usersCountKEY) | |
188 | 188 | let totalAmount = getIntOrZero(totalAmountKEY) | |
189 | 189 | [IntegerEntry(locksDurationSumInBlocksKEY, (locksDurationSumInBlocks + durationInc)), IntegerEntry(locksCountKEY, (locksCount + lockCountInc)), IntegerEntry(usersCountKEY, (usersCount + usersCountInc)), IntegerEntry(totalAmountKEY, (totalAmount + totalLockedInc))] | |
190 | 190 | } | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func LockParamsEntry (userAddress,userNum,amount,start,duration,k,b,period) = { | |
194 | 194 | let userAmountKEY = keyLockParamUserAmount(userNum) | |
195 | 195 | let startBlockKEY = keyLockParamStartBlock(userNum) | |
196 | 196 | let durationKEY = keyLockParamDuration(userNum) | |
197 | 197 | let kKEY = keyLockParamK(userNum) | |
198 | 198 | let bKEY = keyLockParamB(userNum) | |
199 | 199 | let kByPerioKEY = keyLockParamByPeriodK(userNum, period) | |
200 | 200 | let bByPeriodKEY = keyLockParamByPeriodB(userNum, period) | |
201 | 201 | [IntegerEntry(userAmountKEY, amount), IntegerEntry(startBlockKEY, start), IntegerEntry(durationKEY, duration), IntegerEntry(kKEY, k), IntegerEntry(bKEY, b), IntegerEntry(kByPerioKEY, k), IntegerEntry(bByPeriodKEY, b), StringEntry(keyLockParamsRecord(userAddress), formatLockParamsRecord(userNum, amount, start, duration, k, b))] | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func extractOptionalPaymentAmountOrFail (i,expectedAssetId) = if ((size(i.payments) > 1)) | |
206 | 206 | then throw("only one payment is allowed") | |
207 | 207 | else if ((size(i.payments) == 0)) | |
208 | 208 | then 0 | |
209 | 209 | else { | |
210 | 210 | let pmt = i.payments[0] | |
211 | 211 | if ((value(pmt.assetId) != expectedAssetId)) | |
212 | 212 | then throw("invalid asset id in payment") | |
213 | 213 | else pmt.amount | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | @Callable(i) | |
218 | 218 | func constructor (factoryAddressStr,lockAssetIdStr,minLockAmount,minDuration,maxDuration,mathContract) = if ((this != i.caller)) | |
219 | 219 | then throw("not authorized") | |
220 | 220 | else ([IntegerEntry(keyNextUserNum(), 0), StringEntry(keyConfig(), formatConfig(lockAssetIdStr, minLockAmount, minDuration, maxDuration, mathContract)), StringEntry(keyFactoryAddress(), factoryAddressStr)] ++ StatsEntry(0, 0, 0, 0)) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | ||
224 | 224 | @Callable(i) | |
225 | 225 | func lock (duration) = { | |
226 | 226 | let cfgArray = readConfigArrayOrFail() | |
227 | 227 | let assetIdStr = cfgArray[IdxCfgAssetId] | |
228 | 228 | let assetId = fromBase58String(assetIdStr) | |
229 | 229 | let minLockAmount = parseIntValue(cfgArray[IdxCfgMinLockAmount]) | |
230 | 230 | let minLockDuration = parseIntValue(cfgArray[IdxCfgMinLockDuration]) | |
231 | 231 | let maxLockDuration = parseIntValue(cfgArray[IdxCfgMaxLockDuration]) | |
232 | 232 | let mathContract = addressFromStringValue(cfgArray[IdxCfgMathContract]) | |
233 | 233 | if ((size(i.payments) != 1)) | |
234 | 234 | then throw("invalid payment - exact one payment must be attached") | |
235 | 235 | else { | |
236 | 236 | let pmt = i.payments[0] | |
237 | 237 | let pmtAmount = pmt.amount | |
238 | 238 | if ((assetId != value(pmt.assetId))) | |
239 | 239 | then throw((("invalid asset is in payment - " + assetIdStr) + " is expected")) | |
240 | 240 | else { | |
241 | 241 | let nextUserNumKEY = keyNextUserNum() | |
242 | 242 | let userAddressStr = toString(i.caller) | |
243 | 243 | let userIsExisting = isDefined(getString(keyUser2NumMapping(userAddressStr))) | |
244 | 244 | let userNumStr = if (userIsExisting) | |
245 | 245 | then value(getString(keyUser2NumMapping(userAddressStr))) | |
246 | 246 | else toString(getIntOrFail(nextUserNumKEY)) | |
247 | 247 | let userNum = parseIntValue(userNumStr) | |
248 | 248 | let lockStart = height | |
249 | 249 | let startBlockKEY = keyLockParamStartBlock(userNumStr) | |
250 | 250 | let durationKEY = keyLockParamDuration(userNumStr) | |
251 | 251 | let userAmountKEY = keyLockParamUserAmount(userNumStr) | |
252 | 252 | let userAmount = getIntOrZero(userAmountKEY) | |
253 | 253 | if ((minLockDuration > duration)) | |
254 | 254 | then throw(("passed duration is less then minLockDuration=" + toString(minLockDuration))) | |
255 | 255 | else if ((duration > maxLockDuration)) | |
256 | 256 | then throw(("passed duration is greater then maxLockDuration=" + toString(maxLockDuration))) | |
257 | 257 | else if (if (userIsExisting) | |
258 | 258 | then ((getIntOrFail(startBlockKEY) + getIntOrFail(durationKEY)) >= lockStart) | |
259 | 259 | else false) | |
260 | 260 | then throw("there is an active lock - consider to use increaseLock") | |
261 | 261 | else { | |
262 | 262 | let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [pmtAmount, lockStart, duration], nil)) | |
263 | 263 | let k = asInt(gWxParamsResultList[0]) | |
264 | 264 | let b = asInt(gWxParamsResultList[1]) | |
265 | 265 | let period = toString(asInt(gWxParamsResultList[2])) | |
266 | 266 | let arr = if (userIsExisting) | |
267 | 267 | then nil | |
268 | 268 | else [IntegerEntry(nextUserNumKEY, (userNum + 1)), StringEntry(keyUser2NumMapping(userAddressStr), userNumStr), StringEntry(keyNum2UserMapping(userNumStr), userAddressStr)] | |
269 | 269 | (((arr ++ LockParamsEntry(userAddressStr, userNumStr, pmtAmount, lockStart, duration, k, b, period)) ++ StatsEntry(pmtAmount, duration, 1, if (userIsExisting) | |
270 | 270 | then 0 | |
271 | 271 | else 1)) :+ HistoryEntry("lock", userAddressStr, pmtAmount, lockStart, duration, k, b, i)) | |
272 | 272 | } | |
273 | 273 | } | |
274 | 274 | } | |
275 | 275 | } | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | ||
279 | 279 | @Callable(i) | |
280 | 280 | func increaseLock (deltaDuration) = { | |
281 | 281 | let cfgArray = readConfigArrayOrFail() | |
282 | 282 | let assetIdStr = cfgArray[IdxCfgAssetId] | |
283 | 283 | let assetId = fromBase58String(assetIdStr) | |
284 | 284 | let maxLockDuration = parseIntValue(cfgArray[IdxCfgMaxLockDuration]) | |
285 | 285 | let mathContract = addressFromStringValue("") | |
286 | 286 | let pmtAmount = extractOptionalPaymentAmountOrFail(i, assetId) | |
287 | 287 | let userAddressStr = toString(i.caller) | |
288 | 288 | let k = 0 | |
289 | 289 | let b = 0 | |
290 | 290 | let period = "0" | |
291 | 291 | let userRecordArray = readLockParamsRecordOrFail(userAddressStr) | |
292 | 292 | let userNumStr = userRecordArray[IdxLockUserNum] | |
293 | 293 | let userAmount = parseIntValue(userRecordArray[IdxLockAmount]) | |
294 | 294 | let lockStart = parseIntValue(userRecordArray[IdxLockStart]) | |
295 | 295 | let lockDuration = parseIntValue(userRecordArray[IdxLockDuration]) | |
296 | 296 | let lockEnd = (lockStart + lockDuration) | |
297 | 297 | let newAmount = (userAmount + pmtAmount) | |
298 | 298 | let newLockDuration = (lockDuration + deltaDuration) | |
299 | 299 | if ((0 > deltaDuration)) | |
300 | 300 | then throw("duration is less then zero") | |
301 | 301 | else if ((newLockDuration > maxLockDuration)) | |
302 | 302 | then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString(maxLockDuration))) | |
303 | 303 | else if (if ((height >= lockEnd)) | |
304 | 304 | then (userAmount > 0) | |
305 | 305 | else false) | |
306 | 306 | then throw("there is an expired lock - need to unlock before new lock") | |
307 | 307 | else ((LockParamsEntry(userAddressStr, userNumStr, newAmount, lockStart, newLockDuration, k, b, period) ++ StatsEntry(pmtAmount, deltaDuration, 0, 0)) :+ HistoryEntry("lock", userAddressStr, newAmount, lockStart, newLockDuration, k, b, i)) | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | ||
312 | 312 | @Callable(i) | |
313 | 313 | func unlock (userAddress) = { | |
314 | 314 | let userRecordArray = readLockParamsRecordOrFail(userAddress) | |
315 | 315 | let userNumStr = userRecordArray[IdxLockUserNum] | |
316 | 316 | let userAmount = parseIntValue(userRecordArray[IdxLockAmount]) | |
317 | 317 | let lockStart = parseIntValue(userRecordArray[IdxLockStart]) | |
318 | 318 | let lockDuration = parseIntValue(userRecordArray[IdxLockDuration]) | |
319 | 319 | let lockEnd = (lockStart + lockDuration) | |
320 | 320 | let cfgArray = readConfigArrayOrFail() | |
321 | 321 | let assetId = fromBase58String(cfgArray[IdxCfgAssetId]) | |
322 | 322 | if ((lockEnd >= height)) | |
323 | 323 | then throw((("wait " + toString(lockEnd)) + " to unlock")) | |
324 | 324 | else if ((0 >= userAmount)) | |
325 | 325 | then throw("nothing to unlock") | |
326 | 326 | else { | |
327 | 327 | let period = "0" | |
328 | 328 | (((LockParamsEntry(userAddress, userNumStr, 0, lockStart, lockDuration, 0, 0, period) ++ StatsEntry(-(userAmount), 0, 0, -1)) :+ HistoryEntry("unlock", userAddress, userAmount, lockStart, lockDuration, 0, 0, i)) :+ ScriptTransfer(addressFromStringValue(userAddress), userAmount, assetId)) | |
329 | 329 | } | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | ||
334 | 334 | @Callable(i) | |
335 | 335 | func gwxUserInfoREADONLY (userAddress) = { | |
336 | 336 | let EMPTY = "empty" | |
337 | 337 | let user2NumMappingKEY = keyUser2NumMapping(userAddress) | |
338 | 338 | let userNum = valueOrElse(getString(user2NumMappingKEY), EMPTY) | |
339 | 339 | let k = valueOrElse(getInteger(keyLockParamK(userNum)), 0) | |
340 | 340 | let b = valueOrElse(getInteger(keyLockParamB(userNum)), 0) | |
341 | - | let gwxAmountCalc = fraction(((k * height) + b), 1, | |
341 | + | let gwxAmountCalc = fraction(((k * height) + b), 1, MULT8) | |
342 | 342 | let gwxAmount = if ((0 > gwxAmountCalc)) | |
343 | 343 | then 0 | |
344 | 344 | else gwxAmountCalc | |
345 | 345 | $Tuple2(nil, [gwxAmount]) | |
346 | 346 | } | |
347 | 347 | ||
348 | 348 |
github/deemru/w8io/026f985 65.98 ms ◑