tx · 4yXfjSSarLD8uh6M7PToadP8M1dxa27NyuSQDnv33Dkw

3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai:  -0.03400000 Waves

2022.06.27 10:08 [2114525] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves

{ "type": 13, "id": "4yXfjSSarLD8uh6M7PToadP8M1dxa27NyuSQDnv33Dkw", "fee": 3400000, "feeAssetId": null, "timestamp": 1656313703228, "version": 1, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "2hyHRGy91XXTKQdzZPoa6vWfrWSg6YDhZ8Zb3Uxr2Z6KDUbA6HPUv7aWrHRLXyPNgKnqsMoEpbUG8xH9g9aRHkkc" ], "script": "base64:AAIFAAAAAAAAAHkIAhIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIECgIIGBIDCgEIEgASAwoBGBIKCggICAgICAEICBIECgIIARIDCgEBEgMKAQESBAoCCAESBgoECAgICBIECgIICBIECgIICBIECgIICBIDCgEIAAAAWQAAAAAGU0NBTEU4AAAAAAAAAAAIAAAAAAVNVUxUOAAAAAAABfXhAAAAAAAHU0NBTEUxOAAAAAAAAAAAEgAAAAAGTVVMVDE4CQABNgAAAAEADeC2s6dkAAAAAAAADlBPT0xXRUlHSFRNVUxUBQAAAAVNVUxUOAAAAAAOR1dYdmlydHVhbFBPT0wCAAAADkdXWHZpcnR1YWxQT09MAAAAAAxsYWJlbFBvb2xzTHACAAAACFBPT0xTX0xQAAAAABFkZWNpbWFsc011bHRQcmljZQkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAAClBvb2xBY3RpdmUAAAAAAAAAAAEAAAAAD1Bvb2xQdXREaXN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AAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkBAAAAAmNiAAAAAgUAAAACJGEJAAGRAAAAAgUAAAACJGwFAAAAAiRpCgEAAAAFJGYwXzIAAAACAAAAAiRhAAAAAiRpAwkAAGcAAAACBQAAAAIkaQUAAAACJHMFAAAAAiRhCQAAAgAAAAECAAAAE0xpc3Qgc2l6ZSBleGNlZWRzIDEJAQAAAAUkZjBfMgAAAAIJAQAAAAUkZjBfMQAAAAIFAAAABSRhY2MwAAAAAAAAAAAAAAAAAAAAAAABAwkAAAAAAAACBQAAAAdhY3Rpb25zBQAAAAdhY3Rpb25zCQAFFAAAAAIFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXmdOl/0", "chainId": 84, "height": 2114525, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 75CRMbjDscinSAFNsttv3r4uV3degzvv94eGx4DKRpp8 Next: 5HZq1Rw8TtX9fBZiMap5APUgo8qFzG2uEUGJ4RGL3WbX Diff:
OldNewDifferences
542542 let poolWeightKey = keyPoolToWeight(poolContractAddress)
543543 let gwxWeight = valueOrElse(getInteger(keyPoolToWeight(GWXvirtualPOOL)), 0)
544544 let poolWeight = valueOrElse(getInteger(poolWeightKey), 0)
545- let poolWeightNew = fraction(share, (POOLWEIGHTMULT - gwxWeight), POOLWEIGHTMULT)
545+ let poolWeightNew = share
546546 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
547547 let stakingContract = getStakingAddressOrFail(factoryCfg)
548548 let onModifyWeightInv = invoke(stakingContract, "onModifyWeight", [lpAssetId, poolContractAddress], nil)
549549 if ((onModifyWeightInv == onModifyWeightInv))
550- then [IntegerEntry(poolWeightKey, poolWeightNew)]
550+ then {
551+ let gwxVirtualPoolActions = if ((gwxWeight == 0))
552+ then nil
553+ else [DeleteEntry(keyPoolToWeight(GWXvirtualPOOL))]
554+ ([IntegerEntry(poolWeightKey, poolWeightNew)] ++ gwxVirtualPoolActions)
555+ }
551556 else throw("Strict value is not equal to itself.")
552557 }
553558 else throw("Strict value is not equal to itself.")
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 labelPoolsLp = "POOLS_LP"
1717
1818 let decimalsMultPrice = ((100 * 1000) * 1000)
1919
2020 let SEP = "__"
2121
2222 let EMPTY = ""
2323
2424 let PoolActive = 1
2525
2626 let PoolPutDisabled = 2
2727
2828 let PoolMatcherDisabled = 3
2929
3030 let PoolShutdown = 4
3131
3232 let idxInternalAssetId = 1
3333
3434 let idxResutActions = 2
3535
3636 let idxIfAssetIdCalculationPerformed = 3
3737
3838 let idxPoolAddress = 1
3939
4040 let idxPoolStatus = 2
4141
4242 let idxPoolLPAssetId = 3
4343
4444 let idxAmtAssetId = 4
4545
4646 let idxPriceAssetId = 5
4747
4848 let idxAmtAssetDcm = 6
4949
5050 let idxPriceAssetDcm = 7
5151
5252 let idxIAmtAssetId = 8
5353
5454 let idxIPriceAssetId = 9
5555
5656 let idxLPAssetDcm = 10
5757
5858 let idxPoolType = 11
5959
6060 let poolLabelWxEmission = "WX_EMISSION"
6161
6262 let validPoolLabels = [poolLabelWxEmission]
6363
6464 func keyFactoryConfig () = "%s__factoryConfig"
6565
6666
6767 func keyLpTokensList () = "%s__lpTokensList"
6868
6969
7070 func keyPoolScriptHash () = "%s%s__pool__scriptHash"
7171
7272
7373 func keyMatcherPub () = "%s%s__matcher__publicKey"
7474
7575
7676 func keyLegacyFactoryContract () = "%s__legacyFactoryContract"
7777
7878
7979 func keyLegacyPools () = "%s__legacyPools"
8080
8181
8282 func keyManagerPublicKey () = "%s__managerPublicKey"
8383
8484
8585 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
8686
8787
8888 func keyAdminPubKeys () = "%s__adminPubKeys"
8989
9090
9191 func keyAssetsStoreContract () = "%s__assetsStoreContract"
9292
9393
9494 func keyVotingEmissionContract () = "%s__votingEmissionContract"
9595
9696
9797 func keyPriceAssets () = makeString(["%s", "priceAssets"], SEP)
9898
9999
100100 func keyPriceDecimals () = "%s__priceDecimals"
101101
102102
103103 func keyAllPoolsShutdown () = "%s__shutdown"
104104
105105
106106 func keyNextInternalAssetId () = "%s__nextInternalAssetId"
107107
108108
109109 func keyPoolToWeight (poolAddress) = ("%s%s__poolWeight__" + poolAddress)
110110
111111
112112 func keyPoolToWeightHistory (poolAddress,num) = ((("%s%s__poolWeight__" + poolAddress) + "__") + toString(num))
113113
114114
115115 func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset))
116116
117117
118118 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
119119
120120
121121 func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config")
122122
123123
124124 func keyMappingLpAssetToPoolAssets (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2Pool")
125125
126126
127127 func keyMappingPoolAssetsToLpasset (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + internalAmountAssetIdStr) + "__") + internalPriceAssetIdStr) + "__mappings__PoolAssets2LpAsset")
128128
129129
130130 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2PoolAssets")
131131
132132
133133 func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract")
134134
135135
136136 func keyMappingPoolContractToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
137137
138138
139139 func keyMappingPoolLPAssetToPoolContractAddress (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2PoolContract")
140140
141141
142142 func keyWxEmission (amountAssetId,priceAssetId) = ((("%s%s%s__wxEmission__" + amountAssetId) + "__") + priceAssetId)
143143
144144
145145 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key))
146146
147147
148148 func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key))
149149
150150
151151 func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key))
152152
153153
154154 let IdxFactoryCfgStakingDapp = 1
155155
156156 let IdxFactoryCfgBoostingDapp = 2
157157
158158 let IdxFactoryCfgIdoDapp = 3
159159
160160 let IdxFactoryCfgTeamDapp = 4
161161
162162 let IdxFactoryCfgEmissionDapp = 5
163163
164164 let IdxFactoryCfgRestDapp = 6
165165
166166 let IdxFactoryCfgSlippageDapp = 7
167167
168168 let IdxFactoryCfgDaoDapp = 8
169169
170170 let IdxFactoryCfgMarketingDapp = 9
171171
172172 let IdxFactoryCfgGwxRewardDapp = 10
173173
174174 let IdxFactoryCfgBirdsDapp = 11
175175
176176 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
177177
178178
179179 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
180180
181181
182182 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
183183
184184
185185 func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgGwxRewardDapp])
186186
187187
188188 func getPriceAssets () = match getString(keyPriceAssets()) {
189189 case s: String =>
190190 if ((size(s) == 0))
191191 then nil
192192 else split(s, SEP)
193193 case _ =>
194194 nil
195195 }
196196
197197
198198 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
199199 case s: String =>
200200 fromBase58String(s)
201201 case _: Unit =>
202202 unit
203203 case _ =>
204204 throw("Match error")
205205 }
206206
207207
208208 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
209209 case s: String =>
210210 fromBase58String(s)
211211 case _: Unit =>
212212 unit
213213 case _ =>
214214 throw("Match error")
215215 }
216216
217217
218218 let permissionDeniedError = throw("Permission denied")
219219
220220 func mustThis (i) = if ((i.caller == this))
221221 then true
222222 else permissionDeniedError
223223
224224
225225 func mustManager (i) = match managerPublicKeyOrUnit() {
226226 case pk: ByteVector =>
227227 if ((i.callerPublicKey == pk))
228228 then true
229229 else permissionDeniedError
230230 case _: Unit =>
231231 mustThis(i)
232232 case _ =>
233233 throw("Match error")
234234 }
235235
236236
237237 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)
238238
239239
240240 func dataFactoryCfg (stakingAddress,boostingAddress,idoContract,teamContract,emissionContract,restContract,slippageContract) = makeString(["%s%s%s%s%s%s", stakingAddress, boostingAddress, idoContract, teamContract, emissionContract, restContract, slippageContract], SEP)
241241
242242
243243 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)
244244
245245
246246 func dataMappingPoolAssets (internalAmountAssetStr,internalPriceAssetStr) = makeString(["%d%d", toString(internalAmountAssetStr), toString(internalPriceAssetStr)], SEP)
247247
248248
249249 func getPoolConfig (poolAddress) = {
250250 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
251251 let amountAssetInternal = poolAssets[1]
252252 let priceAssetInternal = poolAssets[2]
253253 split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
254254 }
255255
256256
257257 func getInternalAssetIdOrCreate (assetIdStr,incrementor) = {
258258 let internalAssetId = valueOrElse(getInteger(this, keyMappingsBaseAsset2internalId(assetIdStr)), 0)
259259 let currentIndexOfInternalId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
260260 let result = if ((internalAssetId == 0))
261261 then {
262262 let newInternalAssetId = (currentIndexOfInternalId + incrementor)
263263 $Tuple3(newInternalAssetId, [IntegerEntry(keyNextInternalAssetId(), newInternalAssetId), IntegerEntry(keyMappingsBaseAsset2internalId(assetIdStr), newInternalAssetId), StringEntry(keyMappingsInternal2baseAssetId(newInternalAssetId), assetIdStr)], true)
264264 }
265265 else $Tuple3(internalAssetId, nil, false)
266266 result
267267 }
268268
269269
270270 func createLpTokensListEntry (newLpToken) = {
271271 let lpTokens = getString(this, keyLpTokensList())
272272 if (isDefined(lpTokens))
273273 then ((value(lpTokens) + SEP) + newLpToken)
274274 else newLpToken
275275 }
276276
277277
278278 func mustAdmin (i) = {
279279 let adminPKs = split(valueOrElse(getString(keyAdminPubKeys()), EMPTY), SEP)
280280 if (containsElement(adminPKs, toBase58String(i.callerPublicKey)))
281281 then true
282282 else {
283283 let isManager = mustManager(i)
284284 if ((isManager == isManager))
285285 then true
286286 else throw("Strict value is not equal to itself.")
287287 }
288288 }
289289
290290
291291 @Callable(i)
292292 func constructor (stakingContract,boostingContract,idoContract,teamContract,emissionContract,restContract,slpipageContract,priceDecimals) = {
293293 let checkCaller = mustManager(i)
294294 if ((checkCaller == checkCaller))
295295 then [StringEntry(keyFactoryConfig(), dataFactoryCfg(stakingContract, boostingContract, idoContract, teamContract, emissionContract, restContract, slpipageContract)), IntegerEntry(keyPriceDecimals(), priceDecimals)]
296296 else throw("Strict value is not equal to itself.")
297297 }
298298
299299
300300
301301 @Callable(i)
302302 func constructorV2 (mathcherPub58Str) = {
303303 let checkCaller = mustManager(i)
304304 if ((checkCaller == checkCaller))
305305 then {
306306 let mathcerPub = addressFromPublicKey(fromBase58String(mathcherPub58Str))
307307 if ((mathcerPub == mathcerPub))
308308 then [StringEntry(keyMatcherPub(), mathcherPub58Str)]
309309 else throw("Strict value is not equal to itself.")
310310 }
311311 else throw("Strict value is not equal to itself.")
312312 }
313313
314314
315315
316316 @Callable(i)
317317 func constructorV3 (daoContract,marketingContract,gwxRewardsContract,birdsContract) = {
318318 let checkCaller = mustManager(i)
319319 if ((checkCaller == checkCaller))
320320 then {
321321 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
322322 [StringEntry(keyFactoryConfig(), dataFactoryCfgV3(factoryCfg[1], factoryCfg[2], factoryCfg[3], factoryCfg[4], factoryCfg[5], factoryCfg[6], factoryCfg[7], daoContract, marketingContract, gwxRewardsContract, birdsContract))]
323323 }
324324 else throw("Strict value is not equal to itself.")
325325 }
326326
327327
328328
329329 @Callable(i)
330330 func constructorV4 (legacyFactoryContract,legacyPools) = {
331331 let checkCaller = mustManager(i)
332332 if ((checkCaller == checkCaller))
333333 then [StringEntry(keyLegacyFactoryContract(), legacyFactoryContract), StringEntry(keyLegacyPools(), makeString(legacyPools, SEP))]
334334 else throw("Strict value is not equal to itself.")
335335 }
336336
337337
338338
339339 @Callable(i)
340340 func constructorV5 (assetsStoreContract) = {
341341 let checkCaller = mustManager(i)
342342 if ((checkCaller == checkCaller))
343343 then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)]
344344 else throw("Strict value is not equal to itself.")
345345 }
346346
347347
348348
349349 @Callable(i)
350350 func constructorV6 (votingEmissionContract,priceAssets) = {
351351 let cheks = [mustManager(i), if ((addressFromString(votingEmissionContract) != unit))
352352 then true
353353 else "invalid voting emission contract address"]
354354 if ((cheks == cheks))
355355 then [StringEntry(keyVotingEmissionContract(), votingEmissionContract), StringEntry(keyPriceAssets(), makeString(priceAssets, SEP))]
356356 else throw("Strict value is not equal to itself.")
357357 }
358358
359359
360360
361361 @Callable(i)
362362 func setManager (pendingManagerPublicKey) = {
363363 let checkCaller = mustManager(i)
364364 if ((checkCaller == checkCaller))
365365 then {
366366 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
367367 if ((checkManagerPublicKey == checkManagerPublicKey))
368368 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
369369 else throw("Strict value is not equal to itself.")
370370 }
371371 else throw("Strict value is not equal to itself.")
372372 }
373373
374374
375375
376376 @Callable(i)
377377 func confirmManager () = {
378378 let pm = pendingManagerPublicKeyOrUnit()
379379 let hasPM = if (isDefined(pm))
380380 then true
381381 else throw("No pending manager")
382382 if ((hasPM == hasPM))
383383 then {
384384 let checkPM = if ((i.callerPublicKey == value(pm)))
385385 then true
386386 else throw("You are not pending manager")
387387 if ((checkPM == checkPM))
388388 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
389389 else throw("Strict value is not equal to itself.")
390390 }
391391 else throw("Strict value is not equal to itself.")
392392 }
393393
394394
395395
396396 @Callable(i)
397397 func setAdmins (adminPubKeys) = {
398398 let checkCaller = mustManager(i)
399399 if ((checkCaller == checkCaller))
400400 then [StringEntry(keyAdminPubKeys(), makeString(adminPubKeys, SEP))]
401401 else throw("Strict value is not equal to itself.")
402402 }
403403
404404
405405
406406 @Callable(i)
407407 func activateNewPool (poolAddress,amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight,poolType,logo) = {
408408 let checkCaller = mustAdmin(i)
409409 if ((checkCaller == checkCaller))
410410 then if (isDefined(getString(keyMappingPoolContractAddressToPoolAssets(poolAddress))))
411411 then throw((("Pool address " + poolAddress) + " already registered."))
412412 else {
413413 let internalAmountAssetData = getInternalAssetIdOrCreate(amountAssetStr, 1)
414414 let internalAmountAssetId = internalAmountAssetData._1
415415 let internalPriceAssetData = getInternalAssetIdOrCreate(priceAssetStr, if (internalAmountAssetData._3)
416416 then 2
417417 else 1)
418418 let internalPriceAssetId = internalPriceAssetData._1
419419 let poolAccountScriptHash = valueOrErrorMessage(scriptHash(addressFromStringValue(poolAddress)), ("No script has been found on pool account " + poolAddress))
420420 let ethalonPoolAccountScriptHash = getBinaryValue(keyPoolScriptHash())
421421 let poolConfig = getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)))
422422 if (isDefined(poolConfig))
423423 then throw((((("Pool " + amountAssetStr) + "/") + priceAssetStr) + " has already been activated."))
424424 else {
425425 let poolConfigValue = value(getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId))))
426426 let amountAssetsDecimals = if ((amountAssetStr == "WAVES"))
427427 then decimalsMultPrice
428428 else pow(10, 0, value(assetInfo(fromBase58String(amountAssetStr))).decimals, 0, 0, DOWN)
429429 let priceAssetsDecimals = if ((priceAssetStr == "WAVES"))
430430 then decimalsMultPrice
431431 else pow(10, 0, value(assetInfo(fromBase58String(priceAssetStr))).decimals, 0, 0, DOWN)
432432 let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true)
433433 let lpAssetId = calculateAssetId(lpAssetIssueAction)
434434 let lpAssetIdStr = toBase58String(lpAssetId)
435435 let poolActivateInvokeResult = invoke(addressFromStringValue(poolAddress), "activate", [amountAssetStr, priceAssetStr], nil)
436436 if ((poolActivateInvokeResult == poolActivateInvokeResult))
437437 then if ((poolActivateInvokeResult != "success"))
438438 then throw("Pool initialisation error happened.")
439439 else {
440440 let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract()))
441441 let createOrUpdateLpAssetInv = invoke(assetsStoreContract, "createOrUpdate", [lpAssetIdStr, lpAssetName, false], nil)
442442 if ((createOrUpdateLpAssetInv == createOrUpdateLpAssetInv))
443443 then {
444444 let addPoolsLpLabelInv = invoke(assetsStoreContract, "addLabel", [lpAssetIdStr, labelPoolsLp], nil)
445445 if ((addPoolsLpLabelInv == addPoolsLpLabelInv))
446446 then {
447447 let setLogoInv = invoke(assetsStoreContract, "setLogo", [lpAssetIdStr, logo], nil)
448448 if ((setLogoInv == setLogoInv))
449449 then {
450450 let addAssetsLinkInv = invoke(assetsStoreContract, "addAssetsLink", [amountAssetStr, priceAssetStr, lpAssetIdStr], nil)
451451 if ((addAssetsLinkInv == addAssetsLinkInv))
452452 then {
453453 let increaseAssetPoolsNumberInv = invoke(assetsStoreContract, "increaseAssetPoolsNumber", [amountAssetStr], nil)
454454 if ((increaseAssetPoolsNumberInv == increaseAssetPoolsNumberInv))
455455 then $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(keyMappingPoolContractToLPAsset(poolAddress), lpAssetIdStr), IntegerEntry(keyPoolToWeight(poolAddress), poolWeight), StringEntry(keyLpTokensList(), createLpTokensListEntry(lpAssetIdStr))]), lpAssetIdStr)
456456 else throw("Strict value is not equal to itself.")
457457 }
458458 else throw("Strict value is not equal to itself.")
459459 }
460460 else throw("Strict value is not equal to itself.")
461461 }
462462 else throw("Strict value is not equal to itself.")
463463 }
464464 else throw("Strict value is not equal to itself.")
465465 }
466466 else throw("Strict value is not equal to itself.")
467467 }
468468 }
469469 else throw("Strict value is not equal to itself.")
470470 }
471471
472472
473473
474474 @Callable(i)
475475 func managePool (poolAddress,newStatus) = {
476476 let checkCaller = mustManager(i)
477477 if ((checkCaller == checkCaller))
478478 then {
479479 let poolConfig = getPoolConfig(poolAddress)
480480 let poolStatus = poolConfig[idxPoolStatus]
481481 let lpAssetIdStr = poolConfig[idxPoolLPAssetId]
482482 let amountAssetStr = poolConfig[idxAmtAssetId]
483483 let priceAssetStr = poolConfig[idxPriceAssetId]
484484 let amountAssetsDecimals = parseIntValue(poolConfig[idxAmtAssetDcm])
485485 let priceAssetsDecimals = parseIntValue(poolConfig[idxPriceAssetDcm])
486486 let internalAmountAssetId = parseIntValue(poolConfig[idxIAmtAssetId])
487487 let internalPriceAssetId = parseIntValue(poolConfig[idxIPriceAssetId])
488488 let lpAssetDcm = parseIntValue(poolConfig[idxLPAssetDcm])
489489 let poolType = poolConfig[idxPoolType]
490490 [StringEntry(keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)), dataPoolCfg(poolAddress, toString(newStatus), lpAssetIdStr, amountAssetStr, priceAssetStr, amountAssetsDecimals, priceAssetsDecimals, internalAmountAssetId, internalPriceAssetId, lpAssetDcm, poolType))]
491491 }
492492 else throw("Strict value is not equal to itself.")
493493 }
494494
495495
496496
497497 @Callable(i)
498498 func emit (amountToEmit) = {
499499 let caller = i.caller
500500 let originCaller = i.originCaller
501501 let lpAssetRequested = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
502502 let lpAsset = fromBase58String(lpAssetRequested)
503503 let legacyPools = split(valueOrElse(getString(keyLegacyPools()), EMPTY), SEP)
504504 let legacyFactoryContract = addressFromStringValue(valueOrErrorMessage(getString(keyLegacyFactoryContract()), "Legacy factory contract does not exists."))
505505 if ((0 >= amountToEmit))
506506 then nil
507507 else if (containsElement(legacyPools, toString(caller)))
508508 then $Tuple2(nil, legacyFactoryContract)
509509 else $Tuple2([Reissue(lpAsset, amountToEmit, true), ScriptTransfer(i.caller, amountToEmit, lpAsset)], "success")
510510 }
511511
512512
513513
514514 @Callable(i)
515515 func burn (amountToBurn) = {
516516 let caller = i.caller
517517 let originCaller = i.originCaller
518518 let payment = value(i.payments[0])
519519 let paymentAmount = value(payment.amount)
520520 let inAmountAssetId = toBase58String(value(payment.assetId))
521521 let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
522522 if ((inAmountAssetId != lpAssetRequestedForBurning))
523523 then throw("Invalid asset passed.")
524524 else if ((amountToBurn != paymentAmount))
525525 then throw("Invalid amount passed.")
526526 else {
527527 let lpAsset = fromBase58String(lpAssetRequestedForBurning)
528528 $Tuple2([Burn(lpAsset, amountToBurn)], "success")
529529 }
530530 }
531531
532532
533533
534534 @Callable(i)
535535 func modifyWeight (lpAssetId,share) = {
536536 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionContract()), "")))
537537 then true
538538 else mustManager(i)
539539 if ((checkCaller == checkCaller))
540540 then {
541541 let poolContractAddress = getStringOrFail(keyMappingPoolLPAssetToPoolContractAddress(lpAssetId))
542542 let poolWeightKey = keyPoolToWeight(poolContractAddress)
543543 let gwxWeight = valueOrElse(getInteger(keyPoolToWeight(GWXvirtualPOOL)), 0)
544544 let poolWeight = valueOrElse(getInteger(poolWeightKey), 0)
545- let poolWeightNew = fraction(share, (POOLWEIGHTMULT - gwxWeight), POOLWEIGHTMULT)
545+ let poolWeightNew = share
546546 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
547547 let stakingContract = getStakingAddressOrFail(factoryCfg)
548548 let onModifyWeightInv = invoke(stakingContract, "onModifyWeight", [lpAssetId, poolContractAddress], nil)
549549 if ((onModifyWeightInv == onModifyWeightInv))
550- then [IntegerEntry(poolWeightKey, poolWeightNew)]
550+ then {
551+ let gwxVirtualPoolActions = if ((gwxWeight == 0))
552+ then nil
553+ else [DeleteEntry(keyPoolToWeight(GWXvirtualPOOL))]
554+ ([IntegerEntry(poolWeightKey, poolWeightNew)] ++ gwxVirtualPoolActions)
555+ }
551556 else throw("Strict value is not equal to itself.")
552557 }
553558 else throw("Strict value is not equal to itself.")
554559 }
555560
556561
557562
558563 @Callable(i)
559564 func modifyWeights (btcPoolAddress,ethPoolAddress,ethBtcPoolAddress,usdcUsdtPoolAddress) = {
560565 let checkCaller = mustManager(i)
561566 if ((checkCaller == checkCaller))
562567 then {
563568 let ethBtcWeightNew = ((5 * POOLWEIGHTMULT) / 100)
564569 let usdcUsdtWeightNew = ((5 * POOLWEIGHTMULT) / 100)
565570 let weightDecrement = ((5 * POOLWEIGHTMULT) / 100)
566571 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
567572 let stakingDapp = getStakingAddressOrFail(factoryCfg)
568573 let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg)
569574 let btcWeightKEY = keyPoolToWeight(btcPoolAddress)
570575 let ethWeightKEY = keyPoolToWeight(ethPoolAddress)
571576 let ethBtcWeightKEY = keyPoolToWeight(ethBtcPoolAddress)
572577 let usdcUsdtWeightKEY = keyPoolToWeight(usdcUsdtPoolAddress)
573578 let btcWeight = getIntOrFail(btcWeightKEY)
574579 let ethWeight = getIntOrFail(ethWeightKEY)
575580 let btcWeightNew = (btcWeight - weightDecrement)
576581 let ethWeightNew = (ethWeight - weightDecrement)
577582 if ((0 >= btcWeightNew))
578583 then throw(("invalid btcWeightNew: " + toString(btcWeightNew)))
579584 else if ((0 >= ethWeightNew))
580585 then throw(("invalid ethWeightNew: " + toString(ethWeightNew)))
581586 else {
582587 let btcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(btcPoolAddress))
583588 let ethLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethPoolAddress))
584589 let ethBtcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethBtcPoolAddress))
585590 let usdcUsdtLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(usdcUsdtPoolAddress))
586591 let onModifyWeightBtc = invoke(stakingDapp, "onModifyWeight", [btcLpAssetIdStr, btcPoolAddress], nil)
587592 if ((onModifyWeightBtc == onModifyWeightBtc))
588593 then {
589594 let onModifyWeightEth = invoke(stakingDapp, "onModifyWeight", [ethLpAssetIdStr, ethPoolAddress], nil)
590595 if ((onModifyWeightEth == onModifyWeightEth))
591596 then {
592597 let onModifyWeightEthBtc = invoke(stakingDapp, "onModifyWeight", [ethBtcLpAssetIdStr, ethBtcPoolAddress], nil)
593598 if ((onModifyWeightEthBtc == onModifyWeightEthBtc))
594599 then {
595600 let onModifyWeightUsdcUsdt = invoke(stakingDapp, "onModifyWeight", [usdcUsdtLpAssetIdStr, usdcUsdtPoolAddress], nil)
596601 if ((onModifyWeightUsdcUsdt == onModifyWeightUsdcUsdt))
597602 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)]
598603 else throw("Strict value is not equal to itself.")
599604 }
600605 else throw("Strict value is not equal to itself.")
601606 }
602607 else throw("Strict value is not equal to itself.")
603608 }
604609 else throw("Strict value is not equal to itself.")
605610 }
606611 }
607612 else throw("Strict value is not equal to itself.")
608613 }
609614
610615
611616
612617 @Callable(i)
613618 func checkWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
614619 let haveLabel = match getBoolean(keyWxEmission(amountAssetId, priceAssetId)) {
615620 case b: Boolean =>
616621 b
617622 case _ =>
618623 false
619624 }
620625 $Tuple2(nil, haveLabel)
621626 }
622627
623628
624629
625630 @Callable(i)
626631 func setWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
627632 let checkCaller = mustAdmin(i)
628633 if ((checkCaller == checkCaller))
629634 then $Tuple2([BooleanEntry(keyWxEmission(amountAssetId, priceAssetId), true)], unit)
630635 else throw("Strict value is not equal to itself.")
631636 }
632637
633638
634639
635640 @Callable(i)
636641 func deleteWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
637642 let checkCaller = if (mustThis(i))
638643 then true
639644 else mustAdmin(i)
640645 if ((checkCaller == checkCaller))
641646 then $Tuple2([DeleteEntry(keyWxEmission(amountAssetId, priceAssetId))], unit)
642647 else throw("Strict value is not equal to itself.")
643648 }
644649
645650
646651
647652 @Callable(i)
648653 func onVerificationLoss (assetId) = {
649654 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyAssetsStoreContract()), "")))
650655 then true
651656 else mustManager(i)
652657 if ((checkCaller == checkCaller))
653658 then {
654659 let priceAssets = getPriceAssets()
655660 let checkPriceAssetsSize = if ((size(priceAssets) > 0))
656661 then true
657662 else throw("invalid price assets")
658663 if ((checkPriceAssetsSize == checkPriceAssetsSize))
659664 then {
660665 func cb (acc,priceAsset) = {
661666 let r = invoke(this, "deleteWxEmissionPoolLabel", [assetId, priceAsset], nil)
662667 if ((r == r))
663668 then unit
664669 else throw("Strict value is not equal to itself.")
665670 }
666671
667672 let actions = {
668673 let $l = priceAssets
669674 let $s = size($l)
670675 let $acc0 = unit
671676 func $f0_1 ($a,$i) = if (($i >= $s))
672677 then $a
673678 else cb($a, $l[$i])
674679
675680 func $f0_2 ($a,$i) = if (($i >= $s))
676681 then $a
677682 else throw("List size exceeds 1")
678683
679684 $f0_2($f0_1($acc0, 0), 1)
680685 }
681686 if ((actions == actions))
682687 then $Tuple2(nil, unit)
683688 else throw("Strict value is not equal to itself.")
684689 }
685690 else throw("Strict value is not equal to itself.")
686691 }
687692 else throw("Strict value is not equal to itself.")
688693 }
689694
690695
691696 @Verifier(tx)
692697 func verify () = {
693698 let targetPublicKey = match managerPublicKeyOrUnit() {
694699 case pk: ByteVector =>
695700 pk
696701 case _: Unit =>
697702 tx.senderPublicKey
698703 case _ =>
699704 throw("Match error")
700705 }
701706 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
702707 }
703708

github/deemru/w8io/169f3d6 
75.08 ms