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