tx · H5rQEVwko8EvNg8UW1nbsjKUvaC6WAgVNYKNCCzmCB3Z

3Mp7YayxL6HjLfFJjzNYC8E3VTGjanV4bXw:  -0.01000000 Waves

2021.11.19 12:52 [1797762] smart account 3Mp7YayxL6HjLfFJjzNYC8E3VTGjanV4bXw > SELF 0.00000000 Waves

{ "type": 13, "id": "H5rQEVwko8EvNg8UW1nbsjKUvaC6WAgVNYKNCCzmCB3Z", "fee": 1000000, "feeAssetId": null, "timestamp": 1637315560877, "version": 1, "sender": "3Mp7YayxL6HjLfFJjzNYC8E3VTGjanV4bXw", "senderPublicKey": "EDfRSpmRQsE3teBhqfwCYfbjueikP1dLfdfj7kTpGP4P", "proofs": [ "5wtaxghj9TFXa28xpBZrDaobvFMn6ctAuQe8NunL7iikhhvRf33wpxsiV1rXdigsvf2tpjTRCiAFofuaEZ8BsZD6" ], "script": "base64:AAIFAAAAAAAAACAIAhIICgYICAEBAQgSAwoBARIDCgEBEgMKAQgSAwoBCAAAAEAAAAAAA1NFUAIAAAACX18AAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QABAAAAD2dldFN0cmluZ09yRmFpbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABB0AAAACBQAAAAdhZGRyZXNzBQAAAANrZXkJAAEsAAAAAgkAASwAAAACAgAAAA9tYW5kYXRvcnkgdGhpcy4FAAAAA2tleQIAAAAPIGlzIG5vdCBkZWZpbmVkAQAAAAxnZXRJbnRPclplcm8AAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADGdldEludE9yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQfAAAAAQUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQ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bgAAAAAAAAAAAAAAAAAAAAAAAAUAAAABaQkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQUAAAALdXNlckFkZHJlc3MFAAAACnVzZXJBbW91bnQFAAAAB2Fzc2V0SWQAAAABaQEAAAATZ3d4VXNlckluZm9SRUFET05MWQAAAAEAAAALdXNlckFkZHJlc3MEAAAABUVNUFRZAgAAAAVlbXB0eQQAAAASdXNlcjJOdW1NYXBwaW5nS0VZCQEAAAASa2V5VXNlcjJOdW1NYXBwaW5nAAAAAQUAAAALdXNlckFkZHJlc3MEAAAAB3VzZXJOdW0JAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQiAAAAAQUAAAASdXNlcjJOdW1NYXBwaW5nS0VZBQAAAAVFTVBUWQQAAAABawkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB8AAAABCQEAAAANa2V5TG9ja1BhcmFtSwAAAAEFAAAAB3VzZXJOdW0AAAAAAAAAAAAEAAAAAWIJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQfAAAAAQkBAAAADWtleUxvY2tQYXJhbUIAAAABBQAAAAd1c2VyTnVtAAAAAAAAAAAABAAAAA1nd3hBbW91bnRDYWxjCQAAawAAAAMJAABkAAAAAgkAAGgAAAACBQAAAAFrBQAAAAZoZWlnaHQFAAAAAWIAAAAAAAAAAAEFAAAABlNDQUxFOAQAAAAJZ3d4QW1vdW50AwkAAGYAAAACAAAAAAAAAAAABQAAAA1nd3hBbW91bnRDYWxjAAAAAAAAAAAABQAAAA1nd3hBbW91bnRDYWxjCQAFFAAAAAIFAAAAA25pbAkABEwAAAACBQAAAAlnd3hBbW91bnQFAAAAA25pbAAAAADuVCJ/", "chainId": 84, "height": 1797762, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BuLRmHEstJiEbYhei5tF5Aq93cE556sSqaNfuJfj612j Next: 8zP6zRrnr6RPd2rov9UJ6Hzy5ossHLK3heRUKjbhU3ZH Diff:
OldNewDifferences
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
5+
6+let SCALE8 = 8
7+
8+let MULT8 = 100000000
59
610 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (("mandatory this." + key) + " is not defined"))
711
326330 }
327331
328332
333+
334+@Callable(i)
335+func gwxUserInfoREADONLY (userAddress) = {
336+ let EMPTY = "empty"
337+ let user2NumMappingKEY = keyUser2NumMapping(userAddress)
338+ let userNum = valueOrElse(getString(user2NumMappingKEY), EMPTY)
339+ let k = valueOrElse(getInteger(keyLockParamK(userNum)), 0)
340+ let b = valueOrElse(getInteger(keyLockParamB(userNum)), 0)
341+ let gwxAmountCalc = fraction(((k * height) + b), 1, SCALE8)
342+ let gwxAmount = if ((0 > gwxAmountCalc))
343+ then 0
344+ else gwxAmountCalc
345+ $Tuple2(nil, [gwxAmount])
346+ }
347+
348+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
5+
6+let SCALE8 = 8
7+
8+let MULT8 = 100000000
59
610 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (("mandatory this." + key) + " is not defined"))
711
812
913 func getIntOrZero (key) = valueOrElse(getInteger(this, key), 0)
1014
1115
1216 func getIntOrFail (key) = valueOrErrorMessage(getInteger(key), (("mandatory this." + key) + " is not defined"))
1317
1418
1519 func asAnyList (val) = match val {
1620 case valAnyLyst: List[Any] =>
1721 valAnyLyst
1822 case _ =>
1923 throw("fail to cast into List[Any]")
2024 }
2125
2226
2327 func asInt (val) = match val {
2428 case valInt: Int =>
2529 valInt
2630 case _ =>
2731 throw("fail to cast into Int")
2832 }
2933
3034
3135 func keyFactoryAddress () = "%s%s__config__factoryAddress"
3236
3337
3438 let IdxFactoryCfgStakingDapp = 1
3539
3640 let IdxFactoryCfgBoostingDapp = 2
3741
3842 let IdxFactoryCfgIdoDapp = 3
3943
4044 let IdxFactoryCfgTeamDapp = 4
4145
4246 let IdxFactoryCfgEmissionDapp = 5
4347
4448 let IdxFactoryCfgRestDapp = 6
4549
4650 let IdxFactoryCfgSlippageDapp = 7
4751
4852 func keyFactoryCfg () = "%s__factoryConfig"
4953
5054
5155 func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
5256
5357
5458 func keyFactoryLpList () = "%s__lpTokensList"
5559
5660
5761 func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
5862
5963
6064 func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP)
6165
6266
6367 func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(this, keyFactoryAddress()))
6468
6569
6670 func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP)
6771
6872
6973 func readFactoryCfgOrFail (factory) = split(getStringOrFail(factory, keyFactoryCfg()), SEP)
7074
7175
7276 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
7377
7478
7579 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
7680
7781
7882 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
7983
8084
8185 let IdxCfgAssetId = 1
8286
8387 let IdxCfgMinLockAmount = 2
8488
8589 let IdxCfgMinLockDuration = 3
8690
8791 let IdxCfgMaxLockDuration = 4
8892
8993 let IdxCfgMathContract = 5
9094
9195 func keyConfig () = "%s__config"
9296
9397
9498 func readConfigArrayOrFail () = split(getStringOrFail(this, keyConfig()), SEP)
9599
96100
97101 func formatConfigS (assetId,minLockAmount,minLockDuration,maxLockDuration,mathContract) = makeString(["%s%d%d%d", assetId, minLockAmount, minLockDuration, maxLockDuration, mathContract], SEP)
98102
99103
100104 func formatConfig (assetId,minLockAmount,minLockDuration,maxLockDuration,mathContract) = formatConfigS(assetId, toString(minLockAmount), toString(minLockDuration), toString(maxLockDuration), mathContract)
101105
102106
103107 let IdxLockUserNum = 1
104108
105109 let IdxLockAmount = 2
106110
107111 let IdxLockStart = 3
108112
109113 let IdxLockDuration = 4
110114
111115 let IdxLockParamK = 5
112116
113117 let IdxLockParamB = 6
114118
115119 func keyLockParamsRecord (userAddress) = makeString(["%s%s__lock", userAddress], SEP)
116120
117121
118122 func readLockParamsRecordOrFail (userAddress) = split(getStringOrFail(this, keyLockParamsRecord(userAddress)), SEP)
119123
120124
121125 func formatLockParamsRecordS (userNum,amount,start,duration,paramK,paramB) = makeString(["%d%d%d%d%d%d", userNum, amount, start, duration, paramK, paramB], SEP)
122126
123127
124128 func formatLockParamsRecord (userNum,amount,start,duration,paramK,paramB) = formatLockParamsRecordS(userNum, toString(amount), toString(start), toString(duration), toString(paramK), toString(paramB))
125129
126130
127131 func keyNextUserNum () = "%s__nextUserNum"
128132
129133
130134 func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP)
131135
132136
133137 func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP)
134138
135139
136140 func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP)
137141
138142
139143 func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP)
140144
141145
142146 func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP)
143147
144148
145149 func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP)
146150
147151
148152 func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP)
149153
150154
151155 func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP)
152156
153157
154158 func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP)
155159
156160
157161 func keyLockParamTotalAmount () = "%s%s__stats__activeTotalLocked"
158162
159163
160164 func keyStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks"
161165
162166
163167 func keyStatsLocksCount () = "%s%s__stats__locksCount"
164168
165169
166170 func keyStatsUsersCount () = "%s%s__stats__activeUsersCount"
167171
168172
169173 func HistoryEntry (type,user,amount,lockStart,duration,k,b,i) = {
170174 let historyKEY = makeString(["%s%s%s%s__history", type, user, toBase58String(i.transactionId)], SEP)
171175 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)
172176 StringEntry(historyKEY, historyDATA)
173177 }
174178
175179
176180 func StatsEntry (totalLockedInc,durationInc,lockCountInc,usersCountInc) = {
177181 let locksDurationSumInBlocksKEY = keyStatsLocksDurationSumInBlocks()
178182 let locksCountKEY = keyStatsLocksCount()
179183 let usersCountKEY = keyStatsUsersCount()
180184 let totalAmountKEY = keyLockParamTotalAmount()
181185 let locksDurationSumInBlocks = getIntOrZero(locksCountKEY)
182186 let locksCount = getIntOrZero(locksCountKEY)
183187 let usersCount = getIntOrZero(usersCountKEY)
184188 let totalAmount = getIntOrZero(totalAmountKEY)
185189 [IntegerEntry(locksDurationSumInBlocksKEY, (locksDurationSumInBlocks + durationInc)), IntegerEntry(locksCountKEY, (locksCount + lockCountInc)), IntegerEntry(usersCountKEY, (usersCount + usersCountInc)), IntegerEntry(totalAmountKEY, (totalAmount + totalLockedInc))]
186190 }
187191
188192
189193 func LockParamsEntry (userAddress,userNum,amount,start,duration,k,b,period) = {
190194 let userAmountKEY = keyLockParamUserAmount(userNum)
191195 let startBlockKEY = keyLockParamStartBlock(userNum)
192196 let durationKEY = keyLockParamDuration(userNum)
193197 let kKEY = keyLockParamK(userNum)
194198 let bKEY = keyLockParamB(userNum)
195199 let kByPerioKEY = keyLockParamByPeriodK(userNum, period)
196200 let bByPeriodKEY = keyLockParamByPeriodB(userNum, period)
197201 [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))]
198202 }
199203
200204
201205 func extractOptionalPaymentAmountOrFail (i,expectedAssetId) = if ((size(i.payments) > 1))
202206 then throw("only one payment is allowed")
203207 else if ((size(i.payments) == 0))
204208 then 0
205209 else {
206210 let pmt = i.payments[0]
207211 if ((value(pmt.assetId) != expectedAssetId))
208212 then throw("invalid asset id in payment")
209213 else pmt.amount
210214 }
211215
212216
213217 @Callable(i)
214218 func constructor (factoryAddressStr,lockAssetIdStr,minLockAmount,minDuration,maxDuration,mathContract) = if ((this != i.caller))
215219 then throw("not authorized")
216220 else ([IntegerEntry(keyNextUserNum(), 0), StringEntry(keyConfig(), formatConfig(lockAssetIdStr, minLockAmount, minDuration, maxDuration, mathContract)), StringEntry(keyFactoryAddress(), factoryAddressStr)] ++ StatsEntry(0, 0, 0, 0))
217221
218222
219223
220224 @Callable(i)
221225 func lock (duration) = {
222226 let cfgArray = readConfigArrayOrFail()
223227 let assetIdStr = cfgArray[IdxCfgAssetId]
224228 let assetId = fromBase58String(assetIdStr)
225229 let minLockAmount = parseIntValue(cfgArray[IdxCfgMinLockAmount])
226230 let minLockDuration = parseIntValue(cfgArray[IdxCfgMinLockDuration])
227231 let maxLockDuration = parseIntValue(cfgArray[IdxCfgMaxLockDuration])
228232 let mathContract = addressFromStringValue(cfgArray[IdxCfgMathContract])
229233 if ((size(i.payments) != 1))
230234 then throw("invalid payment - exact one payment must be attached")
231235 else {
232236 let pmt = i.payments[0]
233237 let pmtAmount = pmt.amount
234238 if ((assetId != value(pmt.assetId)))
235239 then throw((("invalid asset is in payment - " + assetIdStr) + " is expected"))
236240 else {
237241 let nextUserNumKEY = keyNextUserNum()
238242 let userAddressStr = toString(i.caller)
239243 let userIsExisting = isDefined(getString(keyUser2NumMapping(userAddressStr)))
240244 let userNumStr = if (userIsExisting)
241245 then value(getString(keyUser2NumMapping(userAddressStr)))
242246 else toString(getIntOrFail(nextUserNumKEY))
243247 let userNum = parseIntValue(userNumStr)
244248 let lockStart = height
245249 let startBlockKEY = keyLockParamStartBlock(userNumStr)
246250 let durationKEY = keyLockParamDuration(userNumStr)
247251 let userAmountKEY = keyLockParamUserAmount(userNumStr)
248252 let userAmount = getIntOrZero(userAmountKEY)
249253 if ((minLockDuration > duration))
250254 then throw(("passed duration is less then minLockDuration=" + toString(minLockDuration)))
251255 else if ((duration > maxLockDuration))
252256 then throw(("passed duration is greater then maxLockDuration=" + toString(maxLockDuration)))
253257 else if (if (userIsExisting)
254258 then ((getIntOrFail(startBlockKEY) + getIntOrFail(durationKEY)) >= lockStart)
255259 else false)
256260 then throw("there is an active lock - consider to use increaseLock")
257261 else {
258262 let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [pmtAmount, lockStart, duration], nil))
259263 let k = asInt(gWxParamsResultList[0])
260264 let b = asInt(gWxParamsResultList[1])
261265 let period = toString(asInt(gWxParamsResultList[2]))
262266 let arr = if (userIsExisting)
263267 then nil
264268 else [IntegerEntry(nextUserNumKEY, (userNum + 1)), StringEntry(keyUser2NumMapping(userAddressStr), userNumStr), StringEntry(keyNum2UserMapping(userNumStr), userAddressStr)]
265269 (((arr ++ LockParamsEntry(userAddressStr, userNumStr, pmtAmount, lockStart, duration, k, b, period)) ++ StatsEntry(pmtAmount, duration, 1, if (userIsExisting)
266270 then 0
267271 else 1)) :+ HistoryEntry("lock", userAddressStr, pmtAmount, lockStart, duration, k, b, i))
268272 }
269273 }
270274 }
271275 }
272276
273277
274278
275279 @Callable(i)
276280 func increaseLock (deltaDuration) = {
277281 let cfgArray = readConfigArrayOrFail()
278282 let assetIdStr = cfgArray[IdxCfgAssetId]
279283 let assetId = fromBase58String(assetIdStr)
280284 let maxLockDuration = parseIntValue(cfgArray[IdxCfgMaxLockDuration])
281285 let mathContract = addressFromStringValue("")
282286 let pmtAmount = extractOptionalPaymentAmountOrFail(i, assetId)
283287 let userAddressStr = toString(i.caller)
284288 let k = 0
285289 let b = 0
286290 let period = "0"
287291 let userRecordArray = readLockParamsRecordOrFail(userAddressStr)
288292 let userNumStr = userRecordArray[IdxLockUserNum]
289293 let userAmount = parseIntValue(userRecordArray[IdxLockAmount])
290294 let lockStart = parseIntValue(userRecordArray[IdxLockStart])
291295 let lockDuration = parseIntValue(userRecordArray[IdxLockDuration])
292296 let lockEnd = (lockStart + lockDuration)
293297 let newAmount = (userAmount + pmtAmount)
294298 let newLockDuration = (lockDuration + deltaDuration)
295299 if ((0 > deltaDuration))
296300 then throw("duration is less then zero")
297301 else if ((newLockDuration > maxLockDuration))
298302 then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString(maxLockDuration)))
299303 else if (if ((height >= lockEnd))
300304 then (userAmount > 0)
301305 else false)
302306 then throw("there is an expired lock - need to unlock before new lock")
303307 else ((LockParamsEntry(userAddressStr, userNumStr, newAmount, lockStart, newLockDuration, k, b, period) ++ StatsEntry(pmtAmount, deltaDuration, 0, 0)) :+ HistoryEntry("lock", userAddressStr, newAmount, lockStart, newLockDuration, k, b, i))
304308 }
305309
306310
307311
308312 @Callable(i)
309313 func unlock (userAddress) = {
310314 let userRecordArray = readLockParamsRecordOrFail(userAddress)
311315 let userNumStr = userRecordArray[IdxLockUserNum]
312316 let userAmount = parseIntValue(userRecordArray[IdxLockAmount])
313317 let lockStart = parseIntValue(userRecordArray[IdxLockStart])
314318 let lockDuration = parseIntValue(userRecordArray[IdxLockDuration])
315319 let lockEnd = (lockStart + lockDuration)
316320 let cfgArray = readConfigArrayOrFail()
317321 let assetId = fromBase58String(cfgArray[IdxCfgAssetId])
318322 if ((lockEnd >= height))
319323 then throw((("wait " + toString(lockEnd)) + " to unlock"))
320324 else if ((0 >= userAmount))
321325 then throw("nothing to unlock")
322326 else {
323327 let period = "0"
324328 (((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))
325329 }
326330 }
327331
328332
333+
334+@Callable(i)
335+func gwxUserInfoREADONLY (userAddress) = {
336+ let EMPTY = "empty"
337+ let user2NumMappingKEY = keyUser2NumMapping(userAddress)
338+ let userNum = valueOrElse(getString(user2NumMappingKEY), EMPTY)
339+ let k = valueOrElse(getInteger(keyLockParamK(userNum)), 0)
340+ let b = valueOrElse(getInteger(keyLockParamB(userNum)), 0)
341+ let gwxAmountCalc = fraction(((k * height) + b), 1, SCALE8)
342+ let gwxAmount = if ((0 > gwxAmountCalc))
343+ then 0
344+ else gwxAmountCalc
345+ $Tuple2(nil, [gwxAmount])
346+ }
347+
348+

github/deemru/w8io/fabc49c 
52.27 ms