tx · CN4sDsfc51TABLKSWNPuWtCrFD6MfxDpeEqAWC7npzjC

3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai:  -0.01400000 Waves

2022.04.15 12:39 [2009502] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves

{ "type": 13, "id": "CN4sDsfc51TABLKSWNPuWtCrFD6MfxDpeEqAWC7npzjC", "fee": 1400000, "feeAssetId": null, "timestamp": 1650015600641, "version": 1, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "2ZDWLxV8W7eeuzPeWiPshkkakanHaUHUehNvhQWGEWnMi15K5woBhXrY2fnJFrASboNHTAkMGD9RUBh6GjzGd6Pc" ], "script": "base64:AAIFAAAAAAAAAFAIAhIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIAEgkKBwgICAgIAQgSBAoCCAESAwoBARIDCgEBEgMKAQESBgoECAgICAAAAE0AAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgAAAAADkdXWHZpcnR1YWxQT09MAgAAAA5HV1h2aXJ0dWFsUE9PTAAAAAARZGVjaW1hbHNNdWx0UHJpY2UJAABoAAAAAgkAAGgAAAACAAAAAAAAAABkAAAAAAAAAAPoAAAAAAAAAAPoAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAApQb29sQWN0aXZlAAAAAAAAAAABAAAAAA9Qb29sUHV0RGlzYWJsZWQAAAAAAAAAAAIAAAAAE1Bvb2xNYXRjaGVyRGlzYWJsZWQAAAAAAAAAAAMAAAAADFBvb2xTaHV0ZG93bgAAAAA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AAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleejuMzM=", "chainId": 84, "height": 2009502, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3i9ZTQ6pvbZsJDxZxhjcj1gQX7wrYfW2KvMgMxAsqXAq Next: F1SK7dg4DNo4JgPHTmVLgx5ovnZShKmYFnFWpk7YTBUY Diff:
OldNewDifferences
428428
429429
430430 @Callable(i)
431+func burn222 (amountToBurn) = {
432+ let caller = i.caller
433+ let originCaller = i.originCaller
434+ let payment = value(i.payments[0])
435+ let paymentAmount = value(payment.amount)
436+ let inAmountAssetId = toBase58String(value(payment.assetId))
437+ let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContracToLPAsset(toString(caller))), "Invalid LP address called me.")
438+ if ((inAmountAssetId != lpAssetRequestedForBurning))
439+ then throw("Invalid asset passed.")
440+ else if ((amountToBurn != paymentAmount))
441+ then throw("Invalid amount passed.")
442+ else {
443+ let lpAsset = fromBase58String(lpAssetRequestedForBurning)
444+ $Tuple2([Burn(lpAsset, amountToBurn)], "success")
445+ }
446+ }
447+
448+
449+
450+@Callable(i)
431451 func modifyWeights (btcPoolAddress,ethPoolAddress,ethBtcPoolAddress,usdcUsdtPoolAddress) = {
432452 let checkCaller = mustManager(i)
433453 if ((checkCaller == checkCaller))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SCALE8 = 8
55
66 let MULT8 = 100000000
77
88 let SCALE18 = 18
99
1010 let MULT18 = toBigInt(1000000000000000000)
1111
1212 let POOLWEIGHTMULT = MULT8
1313
1414 let GWXvirtualPOOL = "GWXvirtualPOOL"
1515
1616 let decimalsMultPrice = ((100 * 1000) * 1000)
1717
1818 let SEP = "__"
1919
2020 let EMPTY = ""
2121
2222 let PoolActive = 1
2323
2424 let PoolPutDisabled = 2
2525
2626 let PoolMatcherDisabled = 3
2727
2828 let PoolShutdown = 4
2929
3030 let idxInternalAssetId = 1
3131
3232 let idxResutActions = 2
3333
3434 let idxIfAssetIdCalculationPerformed = 3
3535
3636 let idxPoolAddress = 1
3737
3838 let idxPoolStatus = 2
3939
4040 let idxPoolLPAssetId = 3
4141
4242 let idxAmtAssetId = 4
4343
4444 let idxPriceAssetId = 5
4545
4646 let idxAmtAssetDcm = 6
4747
4848 let idxPriceAssetDcm = 7
4949
5050 let idxIAmtAssetId = 8
5151
5252 let idxIPriceAssetId = 9
5353
5454 let idxLPAssetDcm = 10
5555
5656 let idxPoolType = 11
5757
5858 func keyFactoryConfig () = "%s__factoryConfig"
5959
6060
6161 func keyLpTokensList () = "%s__lpTokensList"
6262
6363
6464 func keyPoolScriptHash () = "%s%s__pool__scriptHash"
6565
6666
6767 func keyMatcherPub () = "%s%s__matcher__publicKey"
6868
6969
7070 func keyLegacyFactoryContract () = "%s__legacyFactoryContract"
7171
7272
7373 func keyLegacyPools () = "%s__legacyPools"
7474
7575
7676 func keyManagerPublicKey () = "%s__managerPublicKey"
7777
7878
7979 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
8080
8181
8282 func keyPriceDecimals () = "%s__priceDecimals"
8383
8484
8585 func keyAllPoolsShutdown () = "%s__shutdown"
8686
8787
8888 func keyNextInternalAssetId () = "%s__nextInternalAssetId"
8989
9090
9191 func keyPoolToWeight (poolAddress) = ("%s%s__poolWeight__" + poolAddress)
9292
9393
9494 func keyPoolToWeightHistory (poolAddress,num) = ((("%s%s__poolWeight__" + poolAddress) + "__") + toString(num))
9595
9696
9797 func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset))
9898
9999
100100 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
101101
102102
103103 func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config")
104104
105105
106106 func keyMappingLpAssetToPoolAssets (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2Pool")
107107
108108
109109 func keyMappingPoolAssetsToLpasset (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + internalAmountAssetIdStr) + "__") + internalPriceAssetIdStr) + "__mappings__PoolAssets2LpAsset")
110110
111111
112112 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2PoolAssets")
113113
114114
115115 func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract")
116116
117117
118118 func keyMappingPoolContracToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
119119
120120
121121 func keyMappingPoolLPAssetToPoolContractAddress (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2PoolContract")
122122
123123
124124 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key))
125125
126126
127127 func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key))
128128
129129
130130 func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key))
131131
132132
133133 let IdxFactoryCfgStakingDapp = 1
134134
135135 let IdxFactoryCfgBoostingDapp = 2
136136
137137 let IdxFactoryCfgIdoDapp = 3
138138
139139 let IdxFactoryCfgTeamDapp = 4
140140
141141 let IdxFactoryCfgEmissionDapp = 5
142142
143143 let IdxFactoryCfgRestDapp = 6
144144
145145 let IdxFactoryCfgSlippageDapp = 7
146146
147147 let IdxFactoryCfgDaoDapp = 8
148148
149149 let IdxFactoryCfgMarketingDapp = 9
150150
151151 let IdxFactoryCfgGwxRewardDapp = 10
152152
153153 let IdxFactoryCfgBirdsDapp = 11
154154
155155 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
156156
157157
158158 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
159159
160160
161161 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
162162
163163
164164 func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgGwxRewardDapp])
165165
166166
167167 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
168168 case s: String =>
169169 fromBase58String(s)
170170 case _: Unit =>
171171 unit
172172 case _ =>
173173 throw("Match error")
174174 }
175175
176176
177177 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
178178 case s: String =>
179179 fromBase58String(s)
180180 case _: Unit =>
181181 unit
182182 case _ =>
183183 throw("Match error")
184184 }
185185
186186
187187 func mustManager (i) = {
188188 let pd = throw("Permission denied")
189189 match managerPublicKeyOrUnit() {
190190 case pk: ByteVector =>
191191 if ((i.callerPublicKey == pk))
192192 then true
193193 else pd
194194 case _: Unit =>
195195 if ((i.caller == this))
196196 then true
197197 else pd
198198 case _ =>
199199 throw("Match error")
200200 }
201201 }
202202
203203
204204 func dataFactoryCfgV3 (stakingAddress,boostingAddress,idoContract,teamContract,emissionContract,restContract,slippageContract,daoContract,marketingContract,gwxRewardsContract,birdsContract) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", stakingAddress, boostingAddress, idoContract, teamContract, emissionContract, restContract, slippageContract, daoContract, marketingContract, gwxRewardsContract, birdsContract], SEP)
205205
206206
207207 func dataFactoryCfg (stakingAddress,boostingAddress,idoContract,teamContract,emissionContract,restContract,slippageContract) = makeString(["%s%s%s%s%s%s", stakingAddress, boostingAddress, idoContract, teamContract, emissionContract, restContract, slippageContract], SEP)
208208
209209
210210 func dataPoolCfg (poolAddress,poolStatus,lpAssetId,amountAssetStr,priceAssetStr,amountAssetDecimals,priceAssetDecimals,amountAssetInternalId,priceAssetInternalId,lpAssetDecimals,poolType) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", poolAddress, poolStatus, lpAssetId, amountAssetStr, priceAssetStr, toString(amountAssetDecimals), toString(priceAssetDecimals), toString(amountAssetInternalId), toString(priceAssetInternalId), toString(lpAssetDecimals), poolType], SEP)
211211
212212
213213 func dataMappingPoolAssets (internalAmountAssetStr,internalPriceAssetStr) = makeString(["%d%d", toString(internalAmountAssetStr), toString(internalPriceAssetStr)], SEP)
214214
215215
216216 func getPoolConfig (poolAddress) = {
217217 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
218218 let amountAssetInternal = poolAssets[1]
219219 let priceAssetInternal = poolAssets[2]
220220 split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
221221 }
222222
223223
224224 func getInternalAssetIdOrCreate (assetIdStr,incrementor) = {
225225 let internalAssetId = valueOrElse(getInteger(this, keyMappingsBaseAsset2internalId(assetIdStr)), 0)
226226 let currentIndexOfInternalId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
227227 let result = if ((internalAssetId == 0))
228228 then {
229229 let newInternalAssetId = (currentIndexOfInternalId + incrementor)
230230 $Tuple3(newInternalAssetId, [IntegerEntry(keyNextInternalAssetId(), newInternalAssetId), IntegerEntry(keyMappingsBaseAsset2internalId(assetIdStr), newInternalAssetId), StringEntry(keyMappingsInternal2baseAssetId(newInternalAssetId), assetIdStr)], true)
231231 }
232232 else $Tuple3(internalAssetId, nil, false)
233233 result
234234 }
235235
236236
237237 func createLpTokensListEntry (newLpToken) = {
238238 let lpTokens = getString(this, keyLpTokensList())
239239 if (isDefined(lpTokens))
240240 then ((value(lpTokens) + SEP) + newLpToken)
241241 else newLpToken
242242 }
243243
244244
245245 @Callable(i)
246246 func constructor (stakingContract,boostingContract,idoContract,teamContract,emissionContract,restContract,slpipageContract,priceDecimals) = {
247247 let checkCaller = mustManager(i)
248248 if ((checkCaller == checkCaller))
249249 then [StringEntry(keyFactoryConfig(), dataFactoryCfg(stakingContract, boostingContract, idoContract, teamContract, emissionContract, restContract, slpipageContract)), IntegerEntry(keyPriceDecimals(), priceDecimals)]
250250 else throw("Strict value is not equal to itself.")
251251 }
252252
253253
254254
255255 @Callable(i)
256256 func constructorV2 (mathcherPub58Str) = {
257257 let checkCaller = mustManager(i)
258258 if ((checkCaller == checkCaller))
259259 then {
260260 let mathcerPub = addressFromPublicKey(fromBase58String(mathcherPub58Str))
261261 if ((mathcerPub == mathcerPub))
262262 then [StringEntry(keyMatcherPub(), mathcherPub58Str)]
263263 else throw("Strict value is not equal to itself.")
264264 }
265265 else throw("Strict value is not equal to itself.")
266266 }
267267
268268
269269
270270 @Callable(i)
271271 func constructorV3 (daoContract,marketingContract,gwxRewardsContract,birdsContract) = {
272272 let checkCaller = mustManager(i)
273273 if ((checkCaller == checkCaller))
274274 then {
275275 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
276276 [StringEntry(keyFactoryConfig(), dataFactoryCfgV3(factoryCfg[1], factoryCfg[2], factoryCfg[3], factoryCfg[4], factoryCfg[5], factoryCfg[6], factoryCfg[7], daoContract, marketingContract, gwxRewardsContract, birdsContract))]
277277 }
278278 else throw("Strict value is not equal to itself.")
279279 }
280280
281281
282282
283283 @Callable(i)
284284 func constructorV4 (legacyFactoryContract,legacyPools) = {
285285 let checkCaller = mustManager(i)
286286 if ((checkCaller == checkCaller))
287287 then [StringEntry(keyLegacyFactoryContract(), legacyFactoryContract), StringEntry(keyLegacyPools(), makeString(legacyPools, SEP))]
288288 else throw("Strict value is not equal to itself.")
289289 }
290290
291291
292292
293293 @Callable(i)
294294 func setManager (pendingManagerPublicKey) = {
295295 let checkCaller = mustManager(i)
296296 if ((checkCaller == checkCaller))
297297 then {
298298 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
299299 if ((checkManagerPublicKey == checkManagerPublicKey))
300300 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
301301 else throw("Strict value is not equal to itself.")
302302 }
303303 else throw("Strict value is not equal to itself.")
304304 }
305305
306306
307307
308308 @Callable(i)
309309 func confirmManager () = {
310310 let pm = pendingManagerPublicKeyOrUnit()
311311 let hasPM = if (isDefined(pm))
312312 then true
313313 else throw("No pending manager")
314314 if ((hasPM == hasPM))
315315 then {
316316 let checkPM = if ((i.callerPublicKey == value(pm)))
317317 then true
318318 else throw("You are not pending manager")
319319 if ((checkPM == checkPM))
320320 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
321321 else throw("Strict value is not equal to itself.")
322322 }
323323 else throw("Strict value is not equal to itself.")
324324 }
325325
326326
327327
328328 @Callable(i)
329329 func activateNewPool (poolAddress,amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight,poolType) = {
330330 let checkCaller = mustManager(i)
331331 if ((checkCaller == checkCaller))
332332 then if (isDefined(getString(keyMappingPoolContractAddressToPoolAssets(poolAddress))))
333333 then throw((("Pool address " + poolAddress) + " already registered."))
334334 else {
335335 let internalAmountAssetData = getInternalAssetIdOrCreate(amountAssetStr, 1)
336336 let internalAmountAssetId = internalAmountAssetData._1
337337 let internalPriceAssetData = getInternalAssetIdOrCreate(priceAssetStr, if (internalAmountAssetData._3)
338338 then 2
339339 else 1)
340340 let internalPriceAssetId = internalPriceAssetData._1
341341 let poolAccountScriptHash = valueOrErrorMessage(scriptHash(addressFromStringValue(poolAddress)), ("No script has been found on pool account " + poolAddress))
342342 let ethalonPoolAccountScriptHash = getBinaryValue(keyPoolScriptHash())
343343 let poolConfig = getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)))
344344 if (isDefined(poolConfig))
345345 then throw((((("Pool " + amountAssetStr) + "/") + priceAssetStr) + " has already been activated."))
346346 else {
347347 let poolConfigValue = value(getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId))))
348348 let amountAssetsDecimals = if ((amountAssetStr == "WAVES"))
349349 then decimalsMultPrice
350350 else pow(10, 0, value(assetInfo(fromBase58String(amountAssetStr))).decimals, 0, 0, DOWN)
351351 let priceAssetsDecimals = if ((priceAssetStr == "WAVES"))
352352 then decimalsMultPrice
353353 else pow(10, 0, value(assetInfo(fromBase58String(priceAssetStr))).decimals, 0, 0, DOWN)
354354 let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true)
355355 let lpAssetId = calculateAssetId(lpAssetIssueAction)
356356 let lpAssetIdStr = toBase58String(lpAssetId)
357357 let poolActivateInvokeResult = invoke(addressFromStringValue(poolAddress), "activate", [amountAssetStr, priceAssetStr], nil)
358358 if ((poolActivateInvokeResult == poolActivateInvokeResult))
359359 then if ((poolActivateInvokeResult != "success"))
360360 then throw("Pool initialisation error happened.")
361361 else $Tuple2(((internalAmountAssetData._2 ++ internalPriceAssetData._2) ++ [lpAssetIssueAction, Burn(lpAssetId, 1), StringEntry(keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)), dataPoolCfg(poolAddress, toString(PoolActive), lpAssetIdStr, amountAssetStr, priceAssetStr, amountAssetsDecimals, priceAssetsDecimals, internalAmountAssetId, internalPriceAssetId, decimalsMultPrice, poolType)), StringEntry(keyMappingLpAssetToPoolAssets(lpAssetIdStr), dataMappingPoolAssets(internalAmountAssetId, internalPriceAssetId)), StringEntry(keyMappingPoolAssetsToLpasset(toString(internalAmountAssetId), toString(internalPriceAssetId)), ("%s__" + lpAssetIdStr)), StringEntry(keyMappingPoolContractAddressToPoolAssets(poolAddress), dataMappingPoolAssets(internalAmountAssetId, internalPriceAssetId)), StringEntry(keyMappingPoolAssetsToPoolContractAddress(internalAmountAssetId, internalPriceAssetId), poolAddress), StringEntry(keyMappingPoolLPAssetToPoolContractAddress(lpAssetIdStr), poolAddress), StringEntry(keyMappingPoolContracToLPAsset(poolAddress), lpAssetIdStr), IntegerEntry(keyPoolToWeight(poolAddress), poolWeight), StringEntry(keyLpTokensList(), createLpTokensListEntry(lpAssetIdStr))]), "success")
362362 else throw("Strict value is not equal to itself.")
363363 }
364364 }
365365 else throw("Strict value is not equal to itself.")
366366 }
367367
368368
369369
370370 @Callable(i)
371371 func managePool (poolAddress,newStatus) = {
372372 let checkCaller = mustManager(i)
373373 if ((checkCaller == checkCaller))
374374 then {
375375 let poolConfig = getPoolConfig(poolAddress)
376376 let poolStatus = poolConfig[idxPoolStatus]
377377 let lpAssetIdStr = poolConfig[idxPoolLPAssetId]
378378 let amountAssetStr = poolConfig[idxAmtAssetId]
379379 let priceAssetStr = poolConfig[idxPriceAssetId]
380380 let amountAssetsDecimals = parseIntValue(poolConfig[idxAmtAssetDcm])
381381 let priceAssetsDecimals = parseIntValue(poolConfig[idxPriceAssetDcm])
382382 let internalAmountAssetId = parseIntValue(poolConfig[idxIAmtAssetId])
383383 let internalPriceAssetId = parseIntValue(poolConfig[idxIPriceAssetId])
384384 let lpAssetDcm = parseIntValue(poolConfig[idxLPAssetDcm])
385385 let poolType = poolConfig[idxPoolType]
386386 [StringEntry(keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)), dataPoolCfg(poolAddress, toString(newStatus), lpAssetIdStr, amountAssetStr, priceAssetStr, amountAssetsDecimals, priceAssetsDecimals, internalAmountAssetId, internalPriceAssetId, lpAssetDcm, poolType))]
387387 }
388388 else throw("Strict value is not equal to itself.")
389389 }
390390
391391
392392
393393 @Callable(i)
394394 func emit (amountToEmit) = {
395395 let caller = i.caller
396396 let originCaller = i.originCaller
397397 let lpAssetRequested = valueOrErrorMessage(getString(keyMappingPoolContracToLPAsset(toString(caller))), "Invalid LP address called me.")
398398 let lpAsset = fromBase58String(lpAssetRequested)
399399 let legacyPools = split(valueOrElse(getString(keyLegacyPools()), EMPTY), SEP)
400400 let legacyFactoryContract = addressFromStringValue(valueOrErrorMessage(getString(keyLegacyFactoryContract()), "Legacy factory contract does not exists."))
401401 if ((0 >= amountToEmit))
402402 then nil
403403 else if (containsElement(legacyPools, toString(caller)))
404404 then $Tuple2(nil, legacyFactoryContract)
405405 else $Tuple2([Reissue(lpAsset, amountToEmit, true), ScriptTransfer(i.caller, amountToEmit, lpAsset)], "success")
406406 }
407407
408408
409409
410410 @Callable(i)
411411 func burn (amountToBurn) = {
412412 let caller = i.caller
413413 let originCaller = i.originCaller
414414 let payment = value(i.payments[0])
415415 let paymentAmount = value(payment.amount)
416416 let inAmountAssetId = toBase58String(value(payment.assetId))
417417 let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContracToLPAsset(toString(caller))), "Invalid LP address called me.")
418418 if ((inAmountAssetId != lpAssetRequestedForBurning))
419419 then throw("Invalid asset passed.")
420420 else if ((amountToBurn != paymentAmount))
421421 then throw("Invalid amount passed.")
422422 else {
423423 let lpAsset = fromBase58String(lpAssetRequestedForBurning)
424424 $Tuple2([Burn(lpAsset, amountToBurn)], "success")
425425 }
426426 }
427427
428428
429429
430430 @Callable(i)
431+func burn222 (amountToBurn) = {
432+ let caller = i.caller
433+ let originCaller = i.originCaller
434+ let payment = value(i.payments[0])
435+ let paymentAmount = value(payment.amount)
436+ let inAmountAssetId = toBase58String(value(payment.assetId))
437+ let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContracToLPAsset(toString(caller))), "Invalid LP address called me.")
438+ if ((inAmountAssetId != lpAssetRequestedForBurning))
439+ then throw("Invalid asset passed.")
440+ else if ((amountToBurn != paymentAmount))
441+ then throw("Invalid amount passed.")
442+ else {
443+ let lpAsset = fromBase58String(lpAssetRequestedForBurning)
444+ $Tuple2([Burn(lpAsset, amountToBurn)], "success")
445+ }
446+ }
447+
448+
449+
450+@Callable(i)
431451 func modifyWeights (btcPoolAddress,ethPoolAddress,ethBtcPoolAddress,usdcUsdtPoolAddress) = {
432452 let checkCaller = mustManager(i)
433453 if ((checkCaller == checkCaller))
434454 then {
435455 let ethBtcWeightNew = ((5 * POOLWEIGHTMULT) / 100)
436456 let usdcUsdtWeightNew = ((5 * POOLWEIGHTMULT) / 100)
437457 let weightDecrement = ((5 * POOLWEIGHTMULT) / 100)
438458 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
439459 let stakingDapp = getStakingAddressOrFail(factoryCfg)
440460 let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg)
441461 let btcWeightKEY = keyPoolToWeight(btcPoolAddress)
442462 let ethWeightKEY = keyPoolToWeight(ethPoolAddress)
443463 let ethBtcWeightKEY = keyPoolToWeight(ethBtcPoolAddress)
444464 let usdcUsdtWeightKEY = keyPoolToWeight(usdcUsdtPoolAddress)
445465 let btcWeight = getIntOrFail(btcWeightKEY)
446466 let ethWeight = getIntOrFail(ethWeightKEY)
447467 let btcWeightNew = (btcWeight - weightDecrement)
448468 let ethWeightNew = (ethWeight - weightDecrement)
449469 if ((0 >= btcWeightNew))
450470 then throw(("invalid btcWeightNew: " + toString(btcWeightNew)))
451471 else if ((0 >= ethWeightNew))
452472 then throw(("invalid ethWeightNew: " + toString(ethWeightNew)))
453473 else {
454474 let btcLpAssetIdStr = getStringOrFail(keyMappingPoolContracToLPAsset(btcPoolAddress))
455475 let ethLpAssetIdStr = getStringOrFail(keyMappingPoolContracToLPAsset(ethPoolAddress))
456476 let ethBtcLpAssetIdStr = getStringOrFail(keyMappingPoolContracToLPAsset(ethBtcPoolAddress))
457477 let usdcUsdtLpAssetIdStr = getStringOrFail(keyMappingPoolContracToLPAsset(usdcUsdtPoolAddress))
458478 let onModifyWeightBtc = invoke(stakingDapp, "onModifyWeight", [btcLpAssetIdStr, btcPoolAddress], nil)
459479 if ((onModifyWeightBtc == onModifyWeightBtc))
460480 then {
461481 let onModifyWeightEth = invoke(stakingDapp, "onModifyWeight", [ethLpAssetIdStr, ethPoolAddress], nil)
462482 if ((onModifyWeightEth == onModifyWeightEth))
463483 then {
464484 let onModifyWeightEthBtc = invoke(stakingDapp, "onModifyWeight", [ethBtcLpAssetIdStr, ethBtcPoolAddress], nil)
465485 if ((onModifyWeightEthBtc == onModifyWeightEthBtc))
466486 then {
467487 let onModifyWeightUsdcUsdt = invoke(stakingDapp, "onModifyWeight", [usdcUsdtLpAssetIdStr, usdcUsdtPoolAddress], nil)
468488 if ((onModifyWeightUsdcUsdt == onModifyWeightUsdcUsdt))
469489 then [IntegerEntry(btcWeightKEY, btcWeightNew), IntegerEntry(ethWeightKEY, ethWeightNew), IntegerEntry(ethBtcWeightKEY, ethBtcWeightNew), IntegerEntry(usdcUsdtWeightKEY, usdcUsdtWeightNew), IntegerEntry(keyPoolToWeightHistory(btcPoolAddress, 0), btcWeight), IntegerEntry(keyPoolToWeightHistory(ethPoolAddress, 0), ethWeight), IntegerEntry(keyPoolToWeightHistory(ethBtcPoolAddress, 0), ethBtcWeightNew), IntegerEntry(keyPoolToWeightHistory(usdcUsdtPoolAddress, 0), usdcUsdtWeightNew)]
470490 else throw("Strict value is not equal to itself.")
471491 }
472492 else throw("Strict value is not equal to itself.")
473493 }
474494 else throw("Strict value is not equal to itself.")
475495 }
476496 else throw("Strict value is not equal to itself.")
477497 }
478498 }
479499 else throw("Strict value is not equal to itself.")
480500 }
481501
482502
483503 @Verifier(tx)
484504 func verify () = {
485505 let targetPublicKey = match managerPublicKeyOrUnit() {
486506 case pk: ByteVector =>
487507 pk
488508 case _: Unit =>
489509 tx.senderPublicKey
490510 case _ =>
491511 throw("Match error")
492512 }
493513 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
494514 }
495515

github/deemru/w8io/169f3d6 
99.98 ms