tx · 7RCbYiWejhAfGZ2VqkycHN2V787wRYo4sLWkyjaoGP6C 3MvfuRGqNjHPZjni3Xf8eZNa8yVSjy1YJwy: -0.01000000 Waves 2021.11.23 15:26 [1803666] smart account 3MvfuRGqNjHPZjni3Xf8eZNa8yVSjy1YJwy > SELF 0.00000000 Waves
{ "type": 13, "id": "7RCbYiWejhAfGZ2VqkycHN2V787wRYo4sLWkyjaoGP6C", "fee": 1000000, "feeAssetId": null, "timestamp": 1637670413123, "version": 1, "sender": "3MvfuRGqNjHPZjni3Xf8eZNa8yVSjy1YJwy", "senderPublicKey": "4G3urRLkmwczZagvu8zbJJSq387b5HcjzxE6KpDHNp5t", "proofs": [ "5DG2q1Yv8bwJLtPUzym7sxBPr5WZhp2HLP376vdkx1EjnxuHeKx2h3bNt3MvAvWxEeiyoAjkqkwwKEHeQBd6mZwN" ], "script": "base64:AAIFAAAAAAAAAC4IAhIHCgUCAQEBARIAEgASBwoFAgEBAQESABIDCgEIEgUKAwEBARIGCgQICAgBAAAAJQAAAAALcmV2aXNpb25OdW0CAAAAAAAAAAADU0VQAgAAAAJfXwAAAAAITUFYREVQVEgAAAAAAAAAABEAAAAACVVTRVJERVBUSAAAAAAAAAAAGgAAAAAFU0NBTEUAAAAAAAAAA+gBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQIAAAAAAQAAAA9nZXRTdHJpbmdPckZhaWwAAAABAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEIgAAAAEFAAAAA2tleQkAASwAAAACCQABLAAAAAICAAAAD21hbmRhdG9yeSB0aGlzLgUAAAADa2V5AgAAAA8gaXMgb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ckFkZHJlc3NTdHIAAAAaYm9vc3RpbmdDb250cmFjdEFkZHJlc3NTdHIAAAAIbWF4RGVwdGgDCQEAAAACIT0AAAACBQAAAAR0aGlzCAUAAAABaQAAAAZjYWxsZXIJAAACAAAAAQIAAAAObm90IGF1dGhvcml6ZWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkBAAAACWtleUNvbmZpZwAAAAAJAQAAAAxmb3JtYXRDb25maWcAAAAEBQAAAAx3eEFzc2V0SWRTdHIFAAAAGm1hdGNoZXJQYWNlbWFrZXJBZGRyZXNzU3RyBQAAABpib29zdGluZ0NvbnRyYWN0QWRkcmVzc1N0cgUAAAAIbWF4RGVwdGgFAAAAA25pbAAAAACFDJae", "chainId": 84, "height": 1803666, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 2uyBuruEcc67qGb4rKZfxxbyy4m8zEPTRJMH19ihgHKM Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let revisionNum = "" | |
5 | + | ||
6 | + | let SEP = "__" | |
7 | + | ||
8 | + | let MAXDEPTH = 17 | |
9 | + | ||
10 | + | let USERDEPTH = 26 | |
11 | + | ||
12 | + | let SCALE = 1000 | |
13 | + | ||
14 | + | func getNumberByKey (key) = valueOrElse(getInteger(this, key), 0) | |
15 | + | ||
16 | + | ||
17 | + | func getStringByKey (key) = valueOrElse(getString(this, key), "") | |
18 | + | ||
19 | + | ||
20 | + | func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined")) | |
21 | + | ||
22 | + | ||
23 | + | let IdxCfgAssetId = 1 | |
24 | + | ||
25 | + | let IdxCfgPacemakerAddress = 2 | |
26 | + | ||
27 | + | let IdxCfgBoostingContract = 3 | |
28 | + | ||
29 | + | let IdxCfgMaxDepth = 4 | |
30 | + | ||
31 | + | func keyConfig () = "%s__config" | |
32 | + | ||
33 | + | ||
34 | + | func readConfigArrayOrFail () = split(getStringOrFail(keyConfig()), SEP) | |
35 | + | ||
36 | + | ||
37 | + | func formatConfig (wxAssetIdStr,matcherPacemakerAddressStr,boostingContractAddressStr,maxDepth) = makeString(["%s%s%s%d", wxAssetIdStr, matcherPacemakerAddressStr, boostingContractAddressStr, toString(maxDepth)], SEP) | |
38 | + | ||
39 | + | ||
40 | + | func keyUsersCount () = "%s__nextUserNum" | |
41 | + | ||
42 | + | ||
43 | + | func keyNextProcessedUser () = "%s__nextProcessedUser" | |
44 | + | ||
45 | + | ||
46 | + | func keyLatestPeriod () = "%s__latestPeriod" | |
47 | + | ||
48 | + | ||
49 | + | func keyNextPeriod () = "%s__nextPeriod" | |
50 | + | ||
51 | + | ||
52 | + | func keyNextProcessedPeriod () = "%s__nextProcessedPeriod" | |
53 | + | ||
54 | + | ||
55 | + | func keyNextUnlaimedPeriodOfUser (userIndex) = makeString(["%s%d__nextClaimedPeriod", toString(userIndex)], SEP) | |
56 | + | ||
57 | + | ||
58 | + | func keyLastProcessedPeriodOfUser (userIndex) = makeString(["%s%d__lastProcessedPeriod", toString(userIndex)], SEP) | |
59 | + | ||
60 | + | ||
61 | + | func keyHeightForPeriod (period) = makeString(["%s%d__startHeightForPeriod", toString(period)], SEP) | |
62 | + | ||
63 | + | ||
64 | + | func keyTotalAmountForPeriod (period) = makeString(["%s%d__totalAmountForPeriod", toString(period)], SEP) | |
65 | + | ||
66 | + | ||
67 | + | func keyTotalWeightForPeriod (period) = makeString(["%s%d__totalWeightForPeriod", toString(period)], SEP) | |
68 | + | ||
69 | + | ||
70 | + | func keyUserKValueForPeriod (period,userIndex) = makeString(["%s%d%s%d__paramByPeriod", toString(userIndex), "k", toString(period)], SEP) | |
71 | + | ||
72 | + | ||
73 | + | func keyUserBValueForPeriod (period,userIndex) = makeString(["%s%d%s%d__paramByPeriod", toString(userIndex), "b", toString(period)], SEP) | |
74 | + | ||
75 | + | ||
76 | + | func HistoryEntry (type,user,amount,currentPeriod,latestPeriod,i) = { | |
77 | + | let historyKEY = makeString(["%s%s%s%s__history", type, user, toBase58String(i.transactionId)], SEP) | |
78 | + | let historyDATA = makeString(["%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(amount), toString(currentPeriod), toString(latestPeriod)], SEP) | |
79 | + | StringEntry(historyKEY, historyDATA) | |
80 | + | } | |
81 | + | ||
82 | + | ||
83 | + | func calcUserWeight (boostingContractAddress,heightForPeriod,period,userIndex) = { | |
84 | + | let kLast = keyLastProcessedPeriodOfUser(userIndex) | |
85 | + | let kKey = keyUserKValueForPeriod(period, userIndex) | |
86 | + | let kRaw = getInteger(boostingContractAddress, kKey) | |
87 | + | if (isDefined(kRaw)) | |
88 | + | then { | |
89 | + | let k = value(kRaw) | |
90 | + | let b = value(getInteger(boostingContractAddress, keyUserBValueForPeriod(period, userIndex))) | |
91 | + | let w = ((k * heightForPeriod) + b) | |
92 | + | if ((w > 0)) | |
93 | + | then $Tuple2((w / SCALE), [IntegerEntry(kLast, period)]) | |
94 | + | else $Tuple2(0, nil) | |
95 | + | } | |
96 | + | else { | |
97 | + | let p = getInteger(this, kLast) | |
98 | + | if (isDefined(p)) | |
99 | + | then { | |
100 | + | let pv = value(p) | |
101 | + | let k = value(getInteger(boostingContractAddress, keyUserKValueForPeriod(pv, userIndex))) | |
102 | + | let b = value(getInteger(boostingContractAddress, keyUserBValueForPeriod(pv, userIndex))) | |
103 | + | let w = ((k * heightForPeriod) + b) | |
104 | + | if ((w > 0)) | |
105 | + | then $Tuple2((w / SCALE), nil) | |
106 | + | else $Tuple2(0, nil) | |
107 | + | } | |
108 | + | else $Tuple2(0, nil) | |
109 | + | } | |
110 | + | } | |
111 | + | ||
112 | + | ||
113 | + | func getUserIndexByAddress (boostingContractAddressStr,userAddress) = { | |
114 | + | let key = makeString(["%s%s%s", "mapping", "user2num", userAddress], SEP) | |
115 | + | parseIntValue(valueOrErrorMessage(getString(Address(fromBase58String(boostingContractAddressStr)), key), ((("User address " + userAddress) + " is not found in boosting contract data, key=") + key))) | |
116 | + | } | |
117 | + | ||
118 | + | ||
119 | + | func nextPeriod () = getNumberByKey(keyNextPeriod()) | |
120 | + | ||
121 | + | ||
122 | + | func invokeProcess (boostingContract,period,user,depth,weight) = { | |
123 | + | let result = invoke(this, "processNextBatch", [boostingContract, period, user, depth, weight], nil) | |
124 | + | if ((result == result)) | |
125 | + | then match result { | |
126 | + | case r: (Int, Int, Int) => | |
127 | + | r | |
128 | + | case _ => | |
129 | + | throw("Incorrect invoke result") | |
130 | + | } | |
131 | + | else throw("Strict value is not equal to itself.") | |
132 | + | } | |
133 | + | ||
134 | + | ||
135 | + | func checkLastPartOfPeriod (boostingContract,currentPeriod,latestPeriod,depth,totalWeightKey,weight) = if ((latestPeriod >= (currentPeriod + 1))) | |
136 | + | then invokeProcess(boostingContract, (currentPeriod + 1), 0, (depth - 1), 0) | |
137 | + | else $Tuple3((currentPeriod + 1), 0, 0) | |
138 | + | ||
139 | + | ||
140 | + | func processNextBatchInternal (boostingContract,currentPeriod,currentUser,depth,totalWeight) = { | |
141 | + | let boostingContractAddress = Address(boostingContract) | |
142 | + | let latestPeriod = getNumberByKey(keyLatestPeriod()) | |
143 | + | let usersCount = valueOrElse(getInteger(boostingContractAddress, keyUsersCount()), 0) | |
144 | + | let totalWeightKey = keyTotalWeightForPeriod(currentPeriod) | |
145 | + | let heightForPeriod = getNumberByKey(keyHeightForPeriod(currentPeriod)) | |
146 | + | if (if ((depth > 0)) | |
147 | + | then (latestPeriod >= currentPeriod) | |
148 | + | else false) | |
149 | + | then { | |
150 | + | let t0 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, currentUser) | |
151 | + | let weight0 = (totalWeight + t0._1) | |
152 | + | if ((usersCount > (currentUser + 1))) | |
153 | + | then { | |
154 | + | let t1 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 1)) | |
155 | + | let weight1 = (weight0 + t1._1) | |
156 | + | if ((usersCount > (currentUser + 2))) | |
157 | + | then { | |
158 | + | let t2 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 2)) | |
159 | + | let weight2 = (weight1 + t2._1) | |
160 | + | if ((usersCount > (currentUser + 3))) | |
161 | + | then { | |
162 | + | let t3 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 3)) | |
163 | + | let weight3 = (weight2 + t3._1) | |
164 | + | if ((usersCount > (currentUser + 4))) | |
165 | + | then { | |
166 | + | let t4 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 4)) | |
167 | + | let weight4 = (weight3 + t4._1) | |
168 | + | if ((usersCount > (currentUser + 5))) | |
169 | + | then { | |
170 | + | let t5 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, (currentUser + 5)) | |
171 | + | let weight5 = (weight4 + t5._1) | |
172 | + | if ((usersCount > (currentUser + 6))) | |
173 | + | then { | |
174 | + | let r5 = invokeProcess(boostingContract, currentPeriod, (currentUser + 6), (depth - 1), weight5) | |
175 | + | $Tuple4((((((t0._2 ++ t1._2) ++ t2._2) ++ t3._2) ++ t4._2) ++ t5._2), r5._1, r5._2, r5._3) | |
176 | + | } | |
177 | + | else { | |
178 | + | let r5 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight5) | |
179 | + | $Tuple4((((((([IntegerEntry(totalWeightKey, weight5)] ++ t0._2) ++ t1._2) ++ t2._2) ++ t3._2) ++ t4._2) ++ t5._2), r5._1, r5._2, r5._3) | |
180 | + | } | |
181 | + | } | |
182 | + | else { | |
183 | + | let r4 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight4) | |
184 | + | $Tuple4(((((([IntegerEntry(totalWeightKey, weight4)] ++ t0._2) ++ t1._2) ++ t2._2) ++ t3._2) ++ t4._2), r4._1, r4._2, r4._3) | |
185 | + | } | |
186 | + | } | |
187 | + | else { | |
188 | + | let r3 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight3) | |
189 | + | $Tuple4((((([IntegerEntry(totalWeightKey, weight3)] ++ t0._2) ++ t1._2) ++ t2._2) ++ t3._2), r3._1, r3._2, r3._3) | |
190 | + | } | |
191 | + | } | |
192 | + | else { | |
193 | + | let r2 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight2) | |
194 | + | $Tuple4(((([IntegerEntry(totalWeightKey, weight2)] ++ t0._2) ++ t1._2) ++ t2._2), r2._1, r2._2, r2._3) | |
195 | + | } | |
196 | + | } | |
197 | + | else { | |
198 | + | let r1 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight1) | |
199 | + | $Tuple4((([IntegerEntry(totalWeightKey, weight1)] ++ t0._2) ++ t1._2), r1._1, r1._2, r1._3) | |
200 | + | } | |
201 | + | } | |
202 | + | else { | |
203 | + | let r0 = checkLastPartOfPeriod(boostingContract, currentPeriod, latestPeriod, depth, totalWeightKey, weight0) | |
204 | + | $Tuple4(([IntegerEntry(totalWeightKey, weight0)] ++ t0._2), r0._1, r0._2, r0._3) | |
205 | + | } | |
206 | + | } | |
207 | + | else if ((currentUser == 0)) | |
208 | + | then $Tuple4(nil, currentPeriod, 0, 0) | |
209 | + | else $Tuple4([IntegerEntry(totalWeightKey, totalWeight)], currentPeriod, currentUser, 0) | |
210 | + | } | |
211 | + | ||
212 | + | ||
213 | + | func invokeClaim (boostingContract,period,user,depth,total) = { | |
214 | + | let result = invoke(this, "claimNextBatch", [boostingContract, period, user, depth, total], nil) | |
215 | + | if ((result == result)) | |
216 | + | then match result { | |
217 | + | case r: (Int, Int) => | |
218 | + | r | |
219 | + | case _ => | |
220 | + | throw("Incorrect invoke result") | |
221 | + | } | |
222 | + | else throw("Strict value is not equal to itself.") | |
223 | + | } | |
224 | + | ||
225 | + | ||
226 | + | func claimInternal (boostingContract,currentPeriod,currentUser,depth,userAccumulated) = { | |
227 | + | let boostingContractAddress = Address(boostingContract) | |
228 | + | let latestPeriod = getNumberByKey(keyNextProcessedPeriod()) | |
229 | + | let totalWeight = getNumberByKey(keyTotalWeightForPeriod(currentPeriod)) | |
230 | + | let heightForPeriod = getNumberByKey(keyHeightForPeriod(currentPeriod)) | |
231 | + | let $t01069910811 = calcUserWeight(boostingContractAddress, heightForPeriod, currentPeriod, currentUser) | |
232 | + | let userWeight = $t01069910811._1 | |
233 | + | let ignored = $t01069910811._2 | |
234 | + | let userAmountForPeriod = fraction(getNumberByKey(keyTotalAmountForPeriod(currentPeriod)), userWeight, totalWeight) | |
235 | + | if (if ((0 >= depth)) | |
236 | + | then true | |
237 | + | else ((currentPeriod + 1) >= latestPeriod)) | |
238 | + | then $Tuple2((currentPeriod + 1), (userAccumulated + userAmountForPeriod)) | |
239 | + | else invokeClaim(boostingContract, (currentPeriod + 1), currentUser, (depth - 1), (userAccumulated + userAmountForPeriod)) | |
240 | + | } | |
241 | + | ||
242 | + | ||
243 | + | func commonClaimReward (userAddress) = { | |
244 | + | let cfgArray = readConfigArrayOrFail() | |
245 | + | let userIdx = getUserIndexByAddress(cfgArray[IdxCfgBoostingContract], userAddress) | |
246 | + | let currentPeriod = getNumberByKey(keyNextUnlaimedPeriodOfUser(userIdx)) | |
247 | + | let latestPeriod = getNumberByKey(keyNextProcessedPeriod()) | |
248 | + | if ((currentPeriod >= latestPeriod)) | |
249 | + | then throw("Nothing to claim") | |
250 | + | else { | |
251 | + | let boostingContract = fromBase58String(cfgArray[IdxCfgBoostingContract]) | |
252 | + | let $t01173211824 = claimInternal(boostingContract, currentPeriod, userIdx, USERDEPTH, 0) | |
253 | + | let period = $t01173211824._1 | |
254 | + | let amount = $t01173211824._2 | |
255 | + | $Tuple5(period, amount, userIdx, cfgArray, latestPeriod) | |
256 | + | } | |
257 | + | } | |
258 | + | ||
259 | + | ||
260 | + | @Callable(i) | |
261 | + | func processNextBatch (boostingContract,currentPeriod,currentUser,depth,totalWeight) = if ((i.caller != this)) | |
262 | + | then throw("Should be called by this script only") | |
263 | + | else { | |
264 | + | let tpl = processNextBatchInternal(boostingContract, currentPeriod, currentUser, depth, totalWeight) | |
265 | + | $Tuple2(tpl._1, $Tuple3(tpl._2, tpl._3, tpl._4)) | |
266 | + | } | |
267 | + | ||
268 | + | ||
269 | + | ||
270 | + | @Callable(i) | |
271 | + | func processPendingPeriodsAndUsers () = { | |
272 | + | let currentPeriod = getNumberByKey(keyNextProcessedPeriod()) | |
273 | + | if ((currentPeriod > getNumberByKey(keyLatestPeriod()))) | |
274 | + | then throw("Nothing to process") | |
275 | + | else { | |
276 | + | let cfgArray = readConfigArrayOrFail() | |
277 | + | let depth = parseIntValue(cfgArray[IdxCfgMaxDepth]) | |
278 | + | if ((depth > MAXDEPTH)) | |
279 | + | then throw("Depth exceeds MAXDEPTH") | |
280 | + | else { | |
281 | + | let boostingContract = fromBase58String(cfgArray[IdxCfgBoostingContract]) | |
282 | + | let currentUser = getNumberByKey(keyNextProcessedUser()) | |
283 | + | let totalWeight = getNumberByKey(keyTotalWeightForPeriod(currentPeriod)) | |
284 | + | let r = processNextBatchInternal(boostingContract, currentPeriod, currentUser, depth, totalWeight) | |
285 | + | ((r._1 :+ IntegerEntry(keyNextProcessedPeriod(), r._2)) :+ IntegerEntry(keyNextProcessedUser(), r._3)) | |
286 | + | } | |
287 | + | } | |
288 | + | } | |
289 | + | ||
290 | + | ||
291 | + | ||
292 | + | @Callable(i) | |
293 | + | func deposit () = { | |
294 | + | let cfgArray = readConfigArrayOrFail() | |
295 | + | if ((i.caller != Address(fromBase58String(cfgArray[IdxCfgPacemakerAddress])))) | |
296 | + | then throw("Wrong caller address") | |
297 | + | else { | |
298 | + | let assetId = value(value(i.payments[0]).assetId) | |
299 | + | if ((assetId != fromBase58String(cfgArray[IdxCfgAssetId]))) | |
300 | + | then throw("Wrong payment asset") | |
301 | + | else { | |
302 | + | let period = nextPeriod() | |
303 | + | [IntegerEntry(keyLatestPeriod(), period), IntegerEntry(keyHeightForPeriod(period), height), IntegerEntry(keyTotalAmountForPeriod(period), value(i.payments[0]).amount), IntegerEntry(keyNextPeriod(), (period + 1))] | |
304 | + | } | |
305 | + | } | |
306 | + | } | |
307 | + | ||
308 | + | ||
309 | + | ||
310 | + | @Callable(i) | |
311 | + | func claimNextBatch (boostingContract,currentPeriod,currentUser,depth,totalWeight) = if ((i.caller != this)) | |
312 | + | then throw("Should be called by this script only") | |
313 | + | else { | |
314 | + | let periodAndTotal = claimInternal(boostingContract, currentPeriod, currentUser, depth, totalWeight) | |
315 | + | $Tuple2(nil, periodAndTotal) | |
316 | + | } | |
317 | + | ||
318 | + | ||
319 | + | ||
320 | + | @Callable(i) | |
321 | + | func claimReward () = { | |
322 | + | let address = toString(i.caller) | |
323 | + | let $t01476414846 = commonClaimReward(address) | |
324 | + | let period = $t01476414846._1 | |
325 | + | let amount = $t01476414846._2 | |
326 | + | let userIdx = $t01476414846._3 | |
327 | + | let cfgArray = $t01476414846._4 | |
328 | + | let latestPeriod = $t01476414846._5 | |
329 | + | $Tuple2([IntegerEntry(keyNextUnlaimedPeriodOfUser(userIdx), period), ScriptTransfer(i.caller, amount, fromBase58String(cfgArray[IdxCfgAssetId])), HistoryEntry("claim", address, amount, period, latestPeriod, i)], amount) | |
330 | + | } | |
331 | + | ||
332 | + | ||
333 | + | ||
334 | + | @Callable(i) | |
335 | + | func claimRewardREADONLY (address) = { | |
336 | + | let claimResults = commonClaimReward(address) | |
337 | + | let amount = claimResults._2 | |
338 | + | $Tuple2(nil, amount) | |
339 | + | } | |
340 | + | ||
341 | + | ||
342 | + | ||
343 | + | @Callable(i) | |
344 | + | func calcGwxParamsREADONLY (wxAmount,lockStartHeight,lockDurationBlocks) = { | |
345 | + | let lockEndHeight = (lockStartHeight + lockDurationBlocks) | |
346 | + | let scale8ParamK = -(fraction(wxAmount, SCALE, lockDurationBlocks)) | |
347 | + | let scale8ParamB = (fraction(wxAmount, SCALE, lockDurationBlocks) * lockEndHeight) | |
348 | + | $Tuple2(nil, [scale8ParamK, scale8ParamB, nextPeriod()]) | |
349 | + | } | |
350 | + | ||
351 | + | ||
352 | + | ||
353 | + | @Callable(i) | |
354 | + | func constructor (wxAssetIdStr,matcherPacemakerAddressStr,boostingContractAddressStr,maxDepth) = if ((this != i.caller)) | |
355 | + | then throw("not authorized") | |
356 | + | else [StringEntry(keyConfig(), formatConfig(wxAssetIdStr, matcherPacemakerAddressStr, boostingContractAddressStr, maxDepth))] | |
357 | + | ||
358 | + |
github/deemru/w8io/169f3d6 32.38 ms ◑