tx · CXxydS2qDgd9Z24Wc53E2YMQHKWz6dnqWCzU7X9yr9J2

3N98Ngyaszw66EakvWRCiZ771ja2RDgNaxV:  -0.02900000 Waves

2023.05.12 10:06 [2574391] smart account 3N98Ngyaszw66EakvWRCiZ771ja2RDgNaxV > SELF 0.00000000 Waves

{ "type": 13, "id": "CXxydS2qDgd9Z24Wc53E2YMQHKWz6dnqWCzU7X9yr9J2", "fee": 2900000, "feeAssetId": null, "timestamp": 1683875249791, "version": 2, "chainId": 84, "sender": "3N98Ngyaszw66EakvWRCiZ771ja2RDgNaxV", "senderPublicKey": "F4oaTkX67vt2MEsXLJJ8a7gaURGjW7x8fkvGfdEiH5oy", "proofs": [ "5gMoJCwS8Rnh4EERyJMaVkYhhEy4yYs8i8RBXboP48B62NFv8gbPETSixQkEW6zZS6BQeurBBB54eLj6c5DVjWf4" ], "script": "base64:BgIsCAISBAoCAgESBAoCAgESBwoFCAgICAgSABIECgIICBIAEgQKAggIEgMKAQhBAAlzZXBhcmF0b3ICAl9fABJzaGFyZUFzc2V0RGVjaW1hbHMACAALd2F2ZXNTdHJpbmcCBVdBVkVTAAdzY2FsZTE4AICAkLu61q3wDQANc2NhbGUxOEJpZ0ludAkAtgIBBQdzY2FsZTE4AQd3cmFwRXJyAQNtc2cJALkJAgkAzAgCAhZscF9zdGFraW5nX3Bvb2xzLnJpZGU6CQDMCAIFA21zZwUDbmlsAgEgAQh0aHJvd0VycgEDbXNnCQACAQkBB3dyYXBFcnIBBQNtc2cBEmVycktleUlzTm90RGVmaW5lZAIHYWRkcmVzcwNrZXkJAQd3cmFwRXJyAQkAuQkCCQDMCAICCm1hbmRhdG9yeSAJAMwIAgkApQgBBQdhZGRyZXNzCQDMCAICAS4JAMwIAgUDa2V5CQDMCAICDyBpcyBub3QgZGVmaW5lZAUDbmlsAgABDGdldFN0ck9yRmFpbAIHYWRkcmVzcwNrZXkJARN2YWx1ZU9yRXJyb3JNZXNzYWdlAgkAnQgCBQdhZGRyZXNzBQNr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AJ0DAQUJbGFzdFByaWNlCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQPdGFyZ2V0UHVibGljS2V5BAckbWF0Y2gwCQEWbWFuYWdlclB1YmxpY0tleU9yVW5pdAADCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQCcGsFByRtYXRjaDAFAnBrAwkAAQIFByRtYXRjaDACBFVuaXQIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V5gLhUNg==", "height": 2574391, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EnuRAfmbkpQis4qRRLEvD8NgGJJso2JoB9EH2cfsfBVM Next: none Diff:
OldNewDifferences
122122 func keyPriceGetHistory (baseAssetId) = makeString(["%s%s%s%s%d%d", assetIdToString(baseAssetId), "price", "history", "get", toString(lastBlock.height), toString(lastBlock.timestamp)], separator)
123123
124124
125-func keyHistoryEntry (baseAssetId,operation,period,userAddress,txId) = makeString(["%s%s%s%s", "history", toUtf8String(value(baseAssetId)), operation, toString(userAddress), toBase58String(txId), toString(height)], separator)
125+func keyHistoryEntry (baseAssetId,operation,period,userAddress,txId) = makeString(["%s%s%s%s", "history", toBase58String(value(baseAssetId)), operation, toString(userAddress), toBase58String(txId), toString(height)], separator)
126126
127127
128128 func keyManagerPublicKey () = "%s__managerPublicKey"
313313 else throwErr("invalid asset")]
314314 if ((checks == checks))
315315 then {
316- let $t01112711230 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
317- let poolAddress = $t01112711230._1
318- let lpAssetId = $t01112711230._2
316+ let $t01112911232 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
317+ let poolAddress = $t01112911232._1
318+ let lpAssetId = $t01112911232._2
319319 let period = value(getInteger(keyPeriod(baseAssetId)))
320320 let userBaseAssetAmountToConvertPeriodOption = getInteger(keyUserBaseAssetAmountToConvertPeriod(baseAssetId, userAddress))
321321 let claimShareAssetInvocation = if ((userBaseAssetAmountToConvertPeriodOption == unit))
405405 if ((baseAssetId == baseAssetId))
406406 then {
407407 let userAddress = i.caller
408- let $t01564015829 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
409- let poolAddress = $t01564015829._1
410- let lpAssetId = $t01564015829._2
408+ let $t01564215831 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
409+ let poolAddress = $t01564215831._1
410+ let lpAssetId = $t01564215831._2
411411 let period = value(getInteger(keyPeriod(baseAssetId)))
412412 let userShareAssetAmountToConvertPeriodOption = getInteger(keyUserShareAssetAmountToConvertPeriod(baseAssetId, userAddress))
413413 let claimBaseAssetInvocation = if ((userShareAssetAmountToConvertPeriodOption == unit))
504504 }
505505 if ((checkDelay == checkDelay))
506506 then {
507- let $t02127021451 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
508- let poolAddress = $t02127021451._1
509- let lpAssetId = $t02127021451._2
507+ let $t02127221453 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
508+ let poolAddress = $t02127221453._1
509+ let lpAssetId = $t02127221453._2
510510 let stakingReward = valueOrErrorMessage({
511511 let @ = invoke(stakingContract, "claimWxDoNotThrow", [assetIdToString(lpAssetId)], nil)
512512 if ($isInstanceOf(@, "Int"))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "__"
55
66 let shareAssetDecimals = 8
77
88 let wavesString = "WAVES"
99
1010 let scale18 = 1000000000000000000
1111
1212 let scale18BigInt = toBigInt(scale18)
1313
1414 func wrapErr (msg) = makeString(["lp_staking_pools.ride:", msg], " ")
1515
1616
1717 func throwErr (msg) = throw(wrapErr(msg))
1818
1919
2020 func errKeyIsNotDefined (address,key) = wrapErr(makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
2121
2222
2323 func getStrOrFail (address,key) = valueOrErrorMessage(getString(address, key), errKeyIsNotDefined(address, key))
2424
2525
2626 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), errKeyIsNotDefined(address, key))
2727
2828
2929 func parseAssetId (input) = if ((input == wavesString))
3030 then unit
3131 else fromBase58String(input)
3232
3333
3434 func assetIdToString (input) = if ((input == unit))
3535 then wavesString
3636 else toBase58String(value(input))
3737
3838
3939 func ensurePositive (v) = if ((v >= 0))
4040 then v
4141 else throwErr("value should be positive")
4242
4343
4444 func keyFactoryContract () = makeString(["%s", "factoryContract"], separator)
4545
4646
4747 func keyLpStakingContract () = makeString(["%s", "lpStakingContract"], separator)
4848
4949
5050 func keyStakingContract () = makeString(["%s", "stakingContract"], separator)
5151
5252
5353 func keyBoostingContract () = makeString(["%s", "boostingContract"], separator)
5454
5555
5656 func keySwapContract () = makeString(["%s", "swapContract"], separator)
5757
5858
5959 func keyAssetsStoreContract () = makeString(["%s", "assetsStoreContract"], separator)
6060
6161
6262 func keyUsdtAssetId () = makeString(["%s", "usdtAssetId"], separator)
6363
6464
6565 func keyWxAssetId () = makeString(["%s", "wxAssetId"], separator)
6666
6767
6868 func keyShutdown () = makeString(["%s", "shutdown"], separator)
6969
7070
7171 func keyMinDelay () = makeString(["%s", "minDelay"], separator)
7272
7373
7474 func keyLockFraction () = makeString(["%s", "lockFraction"], separator)
7575
7676
7777 func keyShareAssetId (baseAssetId) = makeString(["%s%s", assetIdToString(baseAssetId), "shareAssetId"], separator)
7878
7979
8080 func keyBaseAssetId (shareAssetId) = makeString(["%s%s", assetIdToString(shareAssetId), "baseAssetId"], separator)
8181
8282
8383 func keyPeriod (baseAssetId) = makeString(["%s%s", assetIdToString(baseAssetId), "period"], separator)
8484
8585
8686 func keyPeriodStartHeight (baseAssetId,period) = makeString(["%s%s%d", assetIdToString(baseAssetId), "periodStartHeight", toString(period)], separator)
8787
8888
8989 func keyBaseAssetAmountToConvert (baseAssetId) = makeString(["%s%s", assetIdToString(baseAssetId), "baseAssetAmountToConvert"], separator)
9090
9191
9292 func keyShareAssetAmountToConvert (baseAssetId) = makeString(["%s%s", assetIdToString(baseAssetId), "shareAssetAmountToConvert"], separator)
9393
9494
9595 func keyUserBaseAssetAmountToConvert (baseAssetId,userAddress) = makeString(["%s%s%s", assetIdToString(baseAssetId), toString(userAddress), "baseAssetAmountToConvert"], separator)
9696
9797
9898 func keyUserBaseAssetAmountToConvertPeriod (baseAssetId,userAddress) = makeString(["%s%s%s%s", assetIdToString(baseAssetId), toString(userAddress), "baseAssetAmountToConvert", "period"], separator)
9999
100100
101101 func keyUserShareAssetAmountToConvert (baseAssetId,userAddress) = makeString(["%s%s%s", assetIdToString(baseAssetId), toString(userAddress), "shareAssetAmountToConvert"], separator)
102102
103103
104104 func keyUserShareAssetAmountToConvertPeriod (baseAssetId,userAddress) = makeString(["%s%s%s%s", assetIdToString(baseAssetId), toString(userAddress), "shareAssetAmountToConvert", "period"], separator)
105105
106106
107107 func keyPricePeriod (baseAssetId,period) = makeString(["%s%s%d", assetIdToString(baseAssetId), "price", toString(period)], separator)
108108
109109
110110 func keyPriceHistory (baseAssetId) = makeString(["%s%s%s%d%d", assetIdToString(baseAssetId), "price", "history", toString(lastBlock.height), toString(lastBlock.timestamp)], separator)
111111
112112
113113 func keyPricePeriodPut (baseAssetId,period) = makeString(["%s%s%d%s", assetIdToString(baseAssetId), "price", toString(period), "put"], separator)
114114
115115
116116 func keyPricePutHistory (baseAssetId) = makeString(["%s%s%s%s%d%d", assetIdToString(baseAssetId), "price", "history", "put", toString(lastBlock.height), toString(lastBlock.timestamp)], separator)
117117
118118
119119 func keyPricePeriodGet (baseAssetId,period) = makeString(["%s%s%d%s", assetIdToString(baseAssetId), "price", toString(period), "get"], separator)
120120
121121
122122 func keyPriceGetHistory (baseAssetId) = makeString(["%s%s%s%s%d%d", assetIdToString(baseAssetId), "price", "history", "get", toString(lastBlock.height), toString(lastBlock.timestamp)], separator)
123123
124124
125-func keyHistoryEntry (baseAssetId,operation,period,userAddress,txId) = makeString(["%s%s%s%s", "history", toUtf8String(value(baseAssetId)), operation, toString(userAddress), toBase58String(txId), toString(height)], separator)
125+func keyHistoryEntry (baseAssetId,operation,period,userAddress,txId) = makeString(["%s%s%s%s", "history", toBase58String(value(baseAssetId)), operation, toString(userAddress), toBase58String(txId), toString(height)], separator)
126126
127127
128128 func keyManagerPublicKey () = "%s__managerPublicKey"
129129
130130
131131 func keyManagerVaultAddress () = "%s__managerVaultAddress"
132132
133133
134134 func getManagerVaultAddressOrThis () = match getString(keyManagerVaultAddress()) {
135135 case s: String =>
136136 addressFromStringValue(s)
137137 case _ =>
138138 this
139139 }
140140
141141
142142 func managerPublicKeyOrUnit () = {
143143 let managerVaultAddress = getManagerVaultAddressOrThis()
144144 match getString(managerVaultAddress, keyManagerPublicKey()) {
145145 case s: String =>
146146 fromBase58String(s)
147147 case _: Unit =>
148148 unit
149149 case _ =>
150150 throw("Match error")
151151 }
152152 }
153153
154154
155155 let permissionDeniedError = throw("Permission denied")
156156
157157 func mustThis (i) = if ((i.caller == this))
158158 then true
159159 else permissionDeniedError
160160
161161
162162 func mustManager (i) = match managerPublicKeyOrUnit() {
163163 case pk: ByteVector =>
164164 if ((i.callerPublicKey == pk))
165165 then true
166166 else permissionDeniedError
167167 case _: Unit =>
168168 mustThis(i)
169169 case _ =>
170170 throw("Match error")
171171 }
172172
173173
174174 let shutdown = valueOrElse(getBoolean(keyShutdown()), false)
175175
176176 func shutdownCheck (i) = if (if (!(shutdown))
177177 then true
178178 else mustManager(i))
179179 then true
180180 else throw("operation is disabled")
181181
182182
183183 let factoryContract = addressFromStringValue(getStrOrFail(this, keyFactoryContract()))
184184
185185 let lpStakingContract = addressFromStringValue(getStrOrFail(this, keyLpStakingContract()))
186186
187187 let stakingContract = addressFromStringValue(getStrOrFail(this, keyStakingContract()))
188188
189189 let boostingContract = addressFromStringValue(getStrOrFail(this, keyBoostingContract()))
190190
191191 let swapContract = addressFromStringValue(getStrOrFail(this, keySwapContract()))
192192
193193 let assetsStoreContract = addressFromStringValue(getStrOrFail(this, keyAssetsStoreContract()))
194194
195195 let usdtAssetId = parseAssetId(getStrOrFail(this, keyUsdtAssetId()))
196196
197197 let wxAssetId = parseAssetId(getStrOrFail(this, keyWxAssetId()))
198198
199199 let minDelayDefault = 1440
200200
201201 let minDelay = valueOrElse(getInteger(this, keyMinDelay()), minDelayDefault)
202202
203203 let lockFractionMultiplier = 100000000
204204
205205 let lockFractionDefault = fraction(1, lockFractionMultiplier, 2)
206206
207207 let lockFraction = valueOrElse(getInteger(this, keyLockFraction()), lockFractionDefault)
208208
209209 func getPoolInfo (amountAssetId) = {
210210 let amountAssetIdStr = assetIdToString(amountAssetId)
211211 let priceAssetIdStr = assetIdToString(usdtAssetId)
212212 let poolInfoOption = {
213213 let @ = invoke(factoryContract, "poolInfoREADONLY", [amountAssetIdStr, priceAssetIdStr], nil)
214214 if ($isInstanceOf(@, "(Address, ByteVector)"))
215215 then @
216216 else unit
217217 }
218218 poolInfoOption
219219 }
220220
221221
222222 func calcPrice (lpAssetId,shareAssetId) = {
223223 let shareAssetInfo = valueOrErrorMessage(assetInfo(shareAssetId), "failed to get share asset info")
224224 let shareAssetEmission = shareAssetInfo.quantity
225225 let stakedAmount = ensurePositive(valueOrErrorMessage({
226226 let @ = invoke(stakingContract, "stakedByUserREADONLY", [assetIdToString(lpAssetId), toString(this)], nil)
227227 if ($isInstanceOf(@, "Int"))
228228 then @
229229 else unit
230230 }, wrapErr("invalid stakedByUserREADONLY result")))
231231 let price = if ((shareAssetEmission == 0))
232232 then scale18BigInt
233233 else fraction(toBigInt(stakedAmount), scale18BigInt, toBigInt(shareAssetEmission), FLOOR)
234234 price
235235 }
236236
237237
238238 @Callable(i)
239239 func emit (assetId,amount) = {
240240 let checkCaller = mustThis(i)
241241 if ((checkCaller == checkCaller))
242242 then {
243243 let isReissuable = true
244244 $Tuple2([Reissue(assetId, amount, isReissuable)], amount)
245245 }
246246 else throw("Strict value is not equal to itself.")
247247 }
248248
249249
250250
251251 @Callable(i)
252252 func burn (assetId,amount) = {
253253 let checkCaller = mustThis(i)
254254 if ((checkCaller == checkCaller))
255255 then $Tuple2([Burn(assetId, amount)], amount)
256256 else throw("Strict value is not equal to itself.")
257257 }
258258
259259
260260
261261 @Callable(i)
262262 func create (baseAssetIdStr,shareAssetIdStr,shareAssetName,shareAssetDescription,shareAssetLogo) = {
263263 let shareAssetLabel = "STAKING_LP"
264264 let baseAssetId = parseAssetId(baseAssetIdStr)
265265 let checks = [mustManager(i), if (isDefined(getPoolInfo(baseAssetId)))
266266 then true
267267 else throwErr("invalid base asset")]
268268 if ((checks == checks))
269269 then {
270270 let commonState = [IntegerEntry(keyPeriod(baseAssetId), 0)]
271271 if ((shareAssetIdStr == ""))
272272 then {
273273 let shareAssetIssueAmount = 1
274274 let shareAssetIssueAction = Issue(shareAssetName, shareAssetDescription, shareAssetIssueAmount, shareAssetDecimals, true)
275275 let calculatedShareAssetId = calculateAssetId(shareAssetIssueAction)
276276 let shareAssetBurnAction = Burn(calculatedShareAssetId, shareAssetIssueAmount)
277277 let calculatedShareAssetIdStr = toBase58String(calculatedShareAssetId)
278278 let createOrUpdate = invoke(assetsStoreContract, "createOrUpdate", [calculatedShareAssetIdStr, shareAssetLogo, false], nil)
279279 if ((createOrUpdate == createOrUpdate))
280280 then {
281281 let addLabel = invoke(assetsStoreContract, "addLabel", [calculatedShareAssetIdStr, shareAssetLabel], nil)
282282 if ((addLabel == addLabel))
283283 then $Tuple2((commonState ++ [shareAssetIssueAction, shareAssetBurnAction, StringEntry(keyShareAssetId(baseAssetId), calculatedShareAssetIdStr), StringEntry(keyBaseAssetId(calculatedShareAssetId), baseAssetIdStr)]), calculatedShareAssetIdStr)
284284 else throw("Strict value is not equal to itself.")
285285 }
286286 else throw("Strict value is not equal to itself.")
287287 }
288288 else {
289289 let shareAssetId = fromBase58String(shareAssetIdStr)
290290 let shareAssetInfo = valueOrErrorMessage(assetInfo(shareAssetId), wrapErr("invalid share asset id"))
291291 let checkIssuer = if ((shareAssetInfo.issuer == lpStakingContract))
292292 then true
293293 else throwErr("invalid share asset id issuer")
294294 if ((checkIssuer == checkIssuer))
295295 then $Tuple2((commonState ++ [StringEntry(keyShareAssetId(baseAssetId), shareAssetIdStr), StringEntry(keyBaseAssetId(shareAssetId), baseAssetIdStr)]), shareAssetIdStr)
296296 else throw("Strict value is not equal to itself.")
297297 }
298298 }
299299 else throw("Strict value is not equal to itself.")
300300 }
301301
302302
303303
304304 @Callable(i)
305305 func put () = {
306306 let pmt = if ((size(i.payments) == 1))
307307 then i.payments[0]
308308 else throwErr("exactly 1 payment is expected")
309309 let baseAssetId = pmt.assetId
310310 let userAddress = i.caller
311311 let checks = [shutdownCheck(i), if (isDefined(getString(keyShareAssetId(baseAssetId))))
312312 then true
313313 else throwErr("invalid asset")]
314314 if ((checks == checks))
315315 then {
316- let $t01112711230 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
317- let poolAddress = $t01112711230._1
318- let lpAssetId = $t01112711230._2
316+ let $t01112911232 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
317+ let poolAddress = $t01112911232._1
318+ let lpAssetId = $t01112911232._2
319319 let period = value(getInteger(keyPeriod(baseAssetId)))
320320 let userBaseAssetAmountToConvertPeriodOption = getInteger(keyUserBaseAssetAmountToConvertPeriod(baseAssetId, userAddress))
321321 let claimShareAssetInvocation = if ((userBaseAssetAmountToConvertPeriodOption == unit))
322322 then unit
323323 else {
324324 let userBaseAssetAmountToConvertPeriod = value(userBaseAssetAmountToConvertPeriodOption)
325325 if ((userBaseAssetAmountToConvertPeriod == period))
326326 then unit
327327 else invoke(this, "claimShareAsset", [assetIdToString(baseAssetId), toString(userAddress)], nil)
328328 }
329329 if ((claimShareAssetInvocation == claimShareAssetInvocation))
330330 then {
331331 let baseAssetAmountToConvert = valueOrElse(getInteger(keyBaseAssetAmountToConvert(baseAssetId)), 0)
332332 let userBaseAssetAmountToConvert = value(parseInt(split(valueOrElse(getString(keyUserBaseAssetAmountToConvert(baseAssetId, userAddress)), "%d%d%d__0__0"), separator)[1]))
333333 $Tuple2([IntegerEntry(keyBaseAssetAmountToConvert(baseAssetId), (baseAssetAmountToConvert + pmt.amount)), StringEntry(keyUserBaseAssetAmountToConvert(baseAssetId, userAddress), makeString(["%d%d%d", toString((userBaseAssetAmountToConvert + pmt.amount)), toString(lastBlock.timestamp), toString(period)], separator)), IntegerEntry(keyUserBaseAssetAmountToConvertPeriod(baseAssetId, userAddress), period), StringEntry(keyHistoryEntry(baseAssetId, "put", period, userAddress, i.transactionId), makeString(["%d%d%d", toString(pmt.amount), toString(lastBlock.timestamp), toString(userBaseAssetAmountToConvert)], separator))], unit)
334334 }
335335 else throw("Strict value is not equal to itself.")
336336 }
337337 else throw("Strict value is not equal to itself.")
338338 }
339339
340340
341341
342342 @Callable(i)
343343 func claimShareAsset (baseAssetIdStr,userAddressStr) = {
344344 let checks = [shutdownCheck(i)]
345345 if ((checks == checks))
346346 then {
347347 let userAddress = if ((userAddressStr == ""))
348348 then i.caller
349349 else {
350350 let checkCaller = mustThis(i)
351351 if ((checkCaller == checkCaller))
352352 then valueOrErrorMessage(addressFromString(userAddressStr), wrapErr("invalid user address"))
353353 else throw("Strict value is not equal to itself.")
354354 }
355355 if ((userAddress == userAddress))
356356 then {
357357 let baseAssetId = parseAssetId(baseAssetIdStr)
358358 let shareAssetId = value(parseAssetId(valueOrErrorMessage(getString(keyShareAssetId(baseAssetId)), wrapErr("invalid base asset id"))))
359359 if ((shareAssetId == shareAssetId))
360360 then {
361361 let period = valueOrErrorMessage(getInteger(keyPeriod(baseAssetId)), wrapErr("invalid period"))
362362 if ((period == period))
363363 then {
364364 let userBaseAssetAmountToConvert = value(parseInt(split(valueOrElse(getString(keyUserBaseAssetAmountToConvert(baseAssetId, userAddress)), "%d%d%d__0__0"), separator)[1]))
365365 let checkAmountToConvert = if ((userBaseAssetAmountToConvert > 0))
366366 then true
367367 else throwErr("nothing to claim")
368368 if ((checkAmountToConvert == checkAmountToConvert))
369369 then {
370370 let userBaseAssetAmountToConvertPeriod = valueOrErrorMessage(getInteger(keyUserBaseAssetAmountToConvertPeriod(baseAssetId, userAddress)), wrapErr("failed to get period"))
371371 let checkPeriod = if ((period > userBaseAssetAmountToConvertPeriod))
372372 then true
373373 else throwErr("invalid period")
374374 if ((checkPeriod == checkPeriod))
375375 then {
376376 let price = toBigInt(valueOrErrorMessage(getBinary(keyPricePeriodPut(baseAssetId, userBaseAssetAmountToConvertPeriod)), wrapErr("failed to get price")))
377377 let shareAssetAmount = toInt(fraction(toBigInt(userBaseAssetAmountToConvert), scale18BigInt, price))
378378 $Tuple2([StringEntry(keyUserBaseAssetAmountToConvert(baseAssetId, userAddress), makeString(["%d%d%d", toString(0), toString(lastBlock.timestamp), toString(period)], separator)), DeleteEntry(keyUserBaseAssetAmountToConvertPeriod(baseAssetId, userAddress)), ScriptTransfer(userAddress, shareAssetAmount, shareAssetId), StringEntry(keyHistoryEntry(baseAssetId, "claimShareAsset", period, userAddress, i.transactionId), makeString(["%d%d%d%d", toString(shareAssetAmount), toString(lastBlock.timestamp), toString(price), toString(userBaseAssetAmountToConvert)], separator))], unit)
379379 }
380380 else throw("Strict value is not equal to itself.")
381381 }
382382 else throw("Strict value is not equal to itself.")
383383 }
384384 else throw("Strict value is not equal to itself.")
385385 }
386386 else throw("Strict value is not equal to itself.")
387387 }
388388 else throw("Strict value is not equal to itself.")
389389 }
390390 else throw("Strict value is not equal to itself.")
391391 }
392392
393393
394394
395395 @Callable(i)
396396 func get () = {
397397 let checks = [shutdownCheck(i)]
398398 if ((checks == checks))
399399 then {
400400 let pmt = if ((size(i.payments) == 1))
401401 then i.payments[0]
402402 else throwErr("exactly 1 payment is expected")
403403 let shareAssetId = pmt.assetId
404404 let baseAssetId = value(parseAssetId(valueOrErrorMessage(getString(keyBaseAssetId(shareAssetId)), wrapErr("invalid share asset id"))))
405405 if ((baseAssetId == baseAssetId))
406406 then {
407407 let userAddress = i.caller
408- let $t01564015829 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
409- let poolAddress = $t01564015829._1
410- let lpAssetId = $t01564015829._2
408+ let $t01564215831 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
409+ let poolAddress = $t01564215831._1
410+ let lpAssetId = $t01564215831._2
411411 let period = value(getInteger(keyPeriod(baseAssetId)))
412412 let userShareAssetAmountToConvertPeriodOption = getInteger(keyUserShareAssetAmountToConvertPeriod(baseAssetId, userAddress))
413413 let claimBaseAssetInvocation = if ((userShareAssetAmountToConvertPeriodOption == unit))
414414 then unit
415415 else {
416416 let userShareAssetAmountToConvertPeriod = value(userShareAssetAmountToConvertPeriodOption)
417417 if ((userShareAssetAmountToConvertPeriod == period))
418418 then unit
419419 else invoke(this, "claimBaseAsset", [assetIdToString(baseAssetId), toString(userAddress)], nil)
420420 }
421421 if ((claimBaseAssetInvocation == claimBaseAssetInvocation))
422422 then {
423423 let shareAssetAmountToConvert = valueOrElse(getInteger(keyShareAssetAmountToConvert(baseAssetId)), 0)
424424 let userShareAssetAmountToConvert = value(parseInt(split(valueOrElse(getString(keyUserShareAssetAmountToConvert(baseAssetId, userAddress)), "%d%d%d__0__0"), separator)[1]))
425425 $Tuple2([IntegerEntry(keyShareAssetAmountToConvert(baseAssetId), (shareAssetAmountToConvert + pmt.amount)), StringEntry(keyUserShareAssetAmountToConvert(baseAssetId, userAddress), makeString(["%d%d%d", toString((userShareAssetAmountToConvert + pmt.amount)), toString(lastBlock.timestamp), toString(period)], separator)), IntegerEntry(keyUserShareAssetAmountToConvertPeriod(baseAssetId, userAddress), period), StringEntry(keyHistoryEntry(baseAssetId, "get", period, userAddress, i.transactionId), makeString(["%d%d%d", toString(pmt.amount), toString(lastBlock.timestamp), toString(userShareAssetAmountToConvert)], separator))], unit)
426426 }
427427 else throw("Strict value is not equal to itself.")
428428 }
429429 else throw("Strict value is not equal to itself.")
430430 }
431431 else throw("Strict value is not equal to itself.")
432432 }
433433
434434
435435
436436 @Callable(i)
437437 func claimBaseAsset (baseAssetIdStr,userAddressStr) = {
438438 let checks = [shutdownCheck(i)]
439439 if ((checks == checks))
440440 then {
441441 let userAddress = if ((userAddressStr == ""))
442442 then i.caller
443443 else {
444444 let checkCaller = mustThis(i)
445445 if ((checkCaller == checkCaller))
446446 then valueOrErrorMessage(addressFromString(userAddressStr), wrapErr("invalid user address"))
447447 else throw("Strict value is not equal to itself.")
448448 }
449449 if ((userAddress == userAddress))
450450 then {
451451 let baseAssetId = parseAssetId(baseAssetIdStr)
452452 let shareAssetId = value(parseAssetId(valueOrErrorMessage(getString(keyShareAssetId(baseAssetId)), wrapErr("invalid base asset id"))))
453453 if ((shareAssetId == shareAssetId))
454454 then {
455455 let period = valueOrErrorMessage(getInteger(keyPeriod(baseAssetId)), wrapErr("invalid period"))
456456 if ((period == period))
457457 then {
458458 let userShareAssetAmountToConvert = value(parseInt(split(valueOrElse(getString(keyUserShareAssetAmountToConvert(baseAssetId, userAddress)), "%d%d%d__0__0"), separator)[1]))
459459 let userShareAssetAmountToConvertPeriod = valueOrErrorMessage(getInteger(keyUserShareAssetAmountToConvertPeriod(baseAssetId, userAddress)), wrapErr("failed to get period"))
460460 let checkPeriod = if ((period > userShareAssetAmountToConvertPeriod))
461461 then true
462462 else throwErr("invalid period")
463463 if ((checkPeriod == checkPeriod))
464464 then {
465465 let price = toBigInt(valueOrErrorMessage(getBinary(keyPricePeriodGet(baseAssetId, userShareAssetAmountToConvertPeriod)), wrapErr("failed to get price")))
466466 let baseAssetAmount = toInt(fraction(toBigInt(userShareAssetAmountToConvert), price, scale18BigInt))
467467 $Tuple2([StringEntry(keyUserShareAssetAmountToConvert(baseAssetId, userAddress), makeString(["%d%d%d", toString(0), toString(lastBlock.timestamp), toString(period)], separator)), DeleteEntry(keyUserShareAssetAmountToConvertPeriod(baseAssetId, userAddress)), ScriptTransfer(userAddress, baseAssetAmount, baseAssetId), StringEntry(keyHistoryEntry(baseAssetId, "claimBaseAsset", period, userAddress, i.transactionId), makeString(["%d%d%d%d", toString(baseAssetAmount), toString(lastBlock.timestamp), toString(price), toString(userShareAssetAmountToConvertPeriod)], separator))], unit)
468468 }
469469 else throw("Strict value is not equal to itself.")
470470 }
471471 else throw("Strict value is not equal to itself.")
472472 }
473473 else throw("Strict value is not equal to itself.")
474474 }
475475 else throw("Strict value is not equal to itself.")
476476 }
477477 else throw("Strict value is not equal to itself.")
478478 }
479479
480480
481481
482482 @Callable(i)
483483 func finalize (baseAssetIdStr) = {
484484 let checks = [shutdownCheck(i)]
485485 if ((checks == checks))
486486 then {
487487 let baseAssetId = parseAssetId(baseAssetIdStr)
488488 let shareAssetId = value(parseAssetId(valueOrErrorMessage(getString(keyShareAssetId(baseAssetId)), wrapErr("invalid base asset id"))))
489489 if ((shareAssetId == shareAssetId))
490490 then {
491491 let shareAssetInfo = valueOrErrorMessage(assetInfo(shareAssetId), wrapErr("invalid share asset id"))
492492 let period = valueOrErrorMessage(getInteger(keyPeriod(baseAssetId)), wrapErr("invalid period"))
493493 if ((period == period))
494494 then {
495495 let periodStartHeightOption = getInteger(keyPeriodStartHeight(baseAssetId, period))
496496 let checkDelay = if ((periodStartHeightOption == unit))
497497 then unit
498498 else {
499499 let delay = (height - value(periodStartHeightOption))
500500 let blocksToWait = max([0, (minDelay - delay)])
501501 if ((blocksToWait == 0))
502502 then unit
503503 else throwErr(makeString(["finalization will be possible in ", toString(blocksToWait), " blocks"], ""))
504504 }
505505 if ((checkDelay == checkDelay))
506506 then {
507- let $t02127021451 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
508- let poolAddress = $t02127021451._1
509- let lpAssetId = $t02127021451._2
507+ let $t02127221453 = valueOrErrorMessage(getPoolInfo(baseAssetId), wrapErr("invalid asset"))
508+ let poolAddress = $t02127221453._1
509+ let lpAssetId = $t02127221453._2
510510 let stakingReward = valueOrErrorMessage({
511511 let @ = invoke(stakingContract, "claimWxDoNotThrow", [assetIdToString(lpAssetId)], nil)
512512 if ($isInstanceOf(@, "Int"))
513513 then @
514514 else unit
515515 }, wrapErr("invalid claimWx result"))
516516 if ((stakingReward == stakingReward))
517517 then {
518518 let baseAssetAmountToConvert = valueOrElse(getInteger(keyBaseAssetAmountToConvert(baseAssetId)), 0)
519519 let shareAssetAmountToConvert = valueOrElse(getInteger(keyShareAssetAmountToConvert(baseAssetId)), 0)
520520 let checkFinalizationIsRequired = {
521521 let isFinalizationRequired = if (if ((stakingReward > 0))
522522 then true
523523 else (baseAssetAmountToConvert > 0))
524524 then true
525525 else (shareAssetAmountToConvert > 0)
526526 if (isFinalizationRequired)
527527 then true
528528 else throwErr("nothing to finalize")
529529 }
530530 if ((checkFinalizationIsRequired == checkFinalizationIsRequired))
531531 then {
532532 let useStakingReward = if ((stakingReward > 0))
533533 then {
534534 let lockPart = fraction(stakingReward, lockFraction, lockFractionMultiplier)
535535 let convertPart = (stakingReward - lockPart)
536536 let r = invoke(boostingContract, "userMaxDurationREADONLY", [toString(this)], nil)
537537 let lock = if ((lockPart > 0))
538538 then match r {
539539 case _ =>
540540 if (if (if ($isInstanceOf($match0._1, "String"))
541541 then $isInstanceOf($match0._2, "Int")
542542 else false)
543543 then $isInstanceOf($match0, "(String, Int)")
544544 else false)
545545 then {
546546 let function = $match0._1
547547 let duration = $match0._2
548548 if ((lockPart > 0))
549549 then invoke(boostingContract, function, [duration], [AttachedPayment(wxAssetId, lockPart)])
550550 else unit
551551 }
552552 else throwErr("invalid lock params")
553553 }
554554 else unit
555555 if ((lock == lock))
556556 then {
557557 let convertedAmount = if ((convertPart > 0))
558558 then {
559559 let inAssetId = wxAssetId
560560 let minimumToReceive = 0
561561 let outAssetIdStr = assetIdToString(usdtAssetId)
562562 let targetAddress = toString(this)
563563 valueOrErrorMessage({
564564 let @ = invoke(swapContract, "swap", [minimumToReceive, outAssetIdStr, targetAddress], [AttachedPayment(inAssetId, convertPart)])
565565 if ($isInstanceOf(@, "Int"))
566566 then @
567567 else unit
568568 }, wrapErr("invalid swap result"))
569569 }
570570 else 0
571571 if ((convertedAmount == convertedAmount))
572572 then {
573573 let lpAssetAmount = if ((convertedAmount > 0))
574574 then {
575575 let minOutAmount = 0
576576 let autoStake = true
577577 valueOrErrorMessage({
578578 let @ = invoke(poolAddress, "putOneTknV2", [minOutAmount, autoStake], [AttachedPayment(usdtAssetId, convertedAmount)])
579579 if ($isInstanceOf(@, "Int"))
580580 then @
581581 else unit
582582 }, wrapErr("invalid putOneTknV2 result"))
583583 }
584584 else 0
585585 if ((lpAssetAmount == lpAssetAmount))
586586 then lpAssetAmount
587587 else throw("Strict value is not equal to itself.")
588588 }
589589 else throw("Strict value is not equal to itself.")
590590 }
591591 else throw("Strict value is not equal to itself.")
592592 }
593593 else unit
594594 if ((useStakingReward == useStakingReward))
595595 then {
596596 let getActions = if ((shareAssetAmountToConvert > 0))
597597 then {
598598 let price = calcPrice(lpAssetId, shareAssetId)
599599 if ((price == price))
600600 then {
601601 let unstakeAmount = toInt(fraction(toBigInt(shareAssetAmountToConvert), price, scale18BigInt, FLOOR))
602602 let baseAssetAmount = {
603603 let outAssetId = baseAssetId
604604 let minOutAmount = 0
605605 valueOrErrorMessage({
606606 let @ = invoke(poolAddress, "unstakeAndGetOneTknV2", [unstakeAmount, assetIdToString(outAssetId), minOutAmount], nil)
607607 if ($isInstanceOf(@, "Int"))
608608 then @
609609 else unit
610610 }, wrapErr("invalid unstakeAndGetOneTknV2 result"))
611611 }
612612 if ((baseAssetAmount == baseAssetAmount))
613613 then {
614614 let shareAssetBurn = if ((shareAssetInfo.issuer == this))
615615 then invoke(this, "burn", [shareAssetId, shareAssetAmountToConvert], nil)
616616 else throwErr("invalid share asset issuer")
617617 if ((shareAssetBurn == shareAssetBurn))
618618 then {
619619 let priceGet = fraction(toBigInt(baseAssetAmount), scale18BigInt, toBigInt(shareAssetAmountToConvert), FLOOR)
620620 let priceGetUpdateActions = [BinaryEntry(keyPricePeriodGet(baseAssetId, period), toBytes(priceGet)), StringEntry(keyPriceGetHistory(baseAssetId), toString(priceGet))]
621621 priceGetUpdateActions
622622 }
623623 else throw("Strict value is not equal to itself.")
624624 }
625625 else throw("Strict value is not equal to itself.")
626626 }
627627 else throw("Strict value is not equal to itself.")
628628 }
629629 else nil
630630 if ((getActions == getActions))
631631 then {
632632 let putActions = if ((baseAssetAmountToConvert > 0))
633633 then {
634634 let lpAssetAmount = {
635635 let minOutAmount = 0
636636 let autoStake = true
637637 valueOrErrorMessage({
638638 let @ = invoke(poolAddress, "putOneTknV2", [minOutAmount, autoStake], [AttachedPayment(baseAssetId, baseAssetAmountToConvert)])
639639 if ($isInstanceOf(@, "Int"))
640640 then @
641641 else unit
642642 }, wrapErr("invalid putOneTknV2 result"))
643643 }
644644 if ((lpAssetAmount == lpAssetAmount))
645645 then {
646646 let price = calcPrice(lpAssetId, shareAssetId)
647647 if ((price == price))
648648 then {
649649 let checkPrice = if ((value(toInt(price)) != 0))
650650 then true
651651 else throw("price is ZERO")
652652 if ((checkPrice == checkPrice))
653653 then {
654654 let shareAssetAmount = toInt(fraction(toBigInt(lpAssetAmount), scale18BigInt, price, FLOOR))
655655 let checkShareAssetAmount = if ((value(toInt(price)) != 0))
656656 then true
657657 else throw("shareAssetAmount is ZERO")
658658 if ((checkShareAssetAmount == checkShareAssetAmount))
659659 then {
660660 let shareAssetReissue = if ((shareAssetInfo.issuer == this))
661661 then invoke(this, "emit", [shareAssetId, shareAssetAmount], nil)
662662 else throwErr("invalid share asset issuer")
663663 if ((shareAssetReissue == shareAssetReissue))
664664 then {
665665 let pricePut = fraction(toBigInt(baseAssetAmountToConvert), scale18BigInt, toBigInt(shareAssetAmount))
666666 let pricePutUpdateActions = [BinaryEntry(keyPricePeriodPut(baseAssetId, period), toBytes(pricePut)), StringEntry(keyPricePutHistory(baseAssetId), toString(pricePut))]
667667 pricePutUpdateActions
668668 }
669669 else throw("Strict value is not equal to itself.")
670670 }
671671 else throw("Strict value is not equal to itself.")
672672 }
673673 else throw("Strict value is not equal to itself.")
674674 }
675675 else throw("Strict value is not equal to itself.")
676676 }
677677 else throw("Strict value is not equal to itself.")
678678 }
679679 else nil
680680 if ((putActions == putActions))
681681 then {
682682 let newPeriod = (period + 1)
683683 let lastPrice = calcPrice(lpAssetId, shareAssetId)
684684 let actions = (([IntegerEntry(keyPeriod(baseAssetId), newPeriod), IntegerEntry(keyPeriodStartHeight(baseAssetId, newPeriod), height), IntegerEntry(keyShareAssetAmountToConvert(baseAssetId), 0), IntegerEntry(keyBaseAssetAmountToConvert(baseAssetId), 0), BinaryEntry(keyPricePeriod(baseAssetId, period), toBytes(lastPrice)), StringEntry(keyPriceHistory(baseAssetId), toString(lastPrice))] ++ putActions) ++ getActions)
685685 $Tuple2(actions, toBytes(lastPrice))
686686 }
687687 else throw("Strict value is not equal to itself.")
688688 }
689689 else throw("Strict value is not equal to itself.")
690690 }
691691 else throw("Strict value is not equal to itself.")
692692 }
693693 else throw("Strict value is not equal to itself.")
694694 }
695695 else throw("Strict value is not equal to itself.")
696696 }
697697 else throw("Strict value is not equal to itself.")
698698 }
699699 else throw("Strict value is not equal to itself.")
700700 }
701701 else throw("Strict value is not equal to itself.")
702702 }
703703 else throw("Strict value is not equal to itself.")
704704 }
705705
706706
707707 @Verifier(tx)
708708 func verify () = {
709709 let targetPublicKey = match managerPublicKeyOrUnit() {
710710 case pk: ByteVector =>
711711 pk
712712 case _: Unit =>
713713 tx.senderPublicKey
714714 case _ =>
715715 throw("Match error")
716716 }
717717 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
718718 }
719719

github/deemru/w8io/026f985 
82.66 ms