tx · HXwuH21ULyFcomUMquEtcPfHjeoXALnPqdLUGQm9Asyh

3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai:  -0.03200000 Waves

2022.06.22 15:39 [2107616] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves

{ "type": 13, "id": "HXwuH21ULyFcomUMquEtcPfHjeoXALnPqdLUGQm9Asyh", "fee": 3200000, "feeAssetId": null, "timestamp": 1655901562463, "version": 1, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "4i726K2mqhMffyMWnZXPddF1aaCSdvuYkAU73w6SFw4vfVo5BFvY6n6A35VXkiCUTGxogXoeGbmnm9eeiSCXNRbo" ], "script": "base64:AAIFAAAAAAAAAHMIAhIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIDCgEIEgMKAQgSABIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIAAAAVQAAAAAGU0NBTEU4AAAAAAAAAAAIAAAAAAVNVUxUOAAAAAAABfXhAAAAAAAHU0NBTEUxOAAAAAAAAAAAEgAAAAAGTVVMVDE4CQABNgAAAAEADeC2s6dkAAAAAAAADlBPT0xXRUlHSFRNVUxUBQAAAAVNVUxUOAAAAAAOR1dYdmlydHVhbFBPT0wCAAAADkdXWHZpcnR1YWxQT09MAAAAAAxsYWJlbFBvb2xzTHACAAAACFBPT0xTX0xQAAAAABFkZWNpbWFsc011bHRQcmljZQkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAAClBvb2xBY3RpdmUAAAAAAAAAAAEAAAAAD1Bvb2xQdXREaXNhYmxlZAAAAAA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ZXIJAAUUAAAAAgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAANa2V5V3hFbWlzc2lvbgAAAAIFAAAADWFtb3VudEFzc2V0SWQFAAAADHByaWNlQXNzZXRJZAUAAAADbmlsBQAAAAR1bml0CQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXn2c9qd", "chainId": 84, "height": 2107616, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5yqdofMinrJiXtMp6AV5FLq2SqtUsLaCnpmj16vUHjdd Next: 6SexXF7wVWnbysTMdDEj1CrFUSPeksDo4rUHmzKZmHeK Diff:
OldNewDifferences
270270 then true
271271 else throw("Strict value is not equal to itself.")
272272 }
273- }
274-
275-
276-func getPoolContractAddressByAssets (amountAssetId,priceAssetId) = {
277- let amountAssetInternalId = getIntOrFail(keyMappingsBaseAsset2internalId(amountAssetId))
278- let priceAssetInternalId = getIntOrFail(keyMappingsBaseAsset2internalId(priceAssetId))
279- getStringOrFail(keyMappingPoolAssetsToPoolContractAddress(amountAssetInternalId, priceAssetInternalId))
280- }
281-
282-
283-func getLpAssetByPoolContract (poolContractAddress) = getStringOrFail(keyMappingPoolContractToLPAsset(poolContractAddress))
284-
285-
286-func getPoolContractAddressAndLpAssetByAssets (amountAssetId,priceAssetId) = {
287- let poolContractAddress = getPoolContractAddressByAssets(amountAssetId, priceAssetId)
288- let lpAssetId = getLpAssetByPoolContract(poolContractAddress)
289- $Tuple2(poolContractAddress, lpAssetId)
290273 }
291274
292275
643626 }
644627
645628
646-
647-@Callable(i)
648-func getPoolContractAddressAndLpAssetByAssetsREADONLY (amountAssetId,priceAssetId) = $Tuple2(nil, getPoolContractAddressAndLpAssetByAssets(amountAssetId, priceAssetId))
649-
650-
651629 @Verifier(tx)
652630 func verify () = {
653631 let targetPublicKey = match managerPublicKeyOrUnit() {
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 keyPriceDecimals () = "%s__priceDecimals"
9898
9999
100100 func keyAllPoolsShutdown () = "%s__shutdown"
101101
102102
103103 func keyNextInternalAssetId () = "%s__nextInternalAssetId"
104104
105105
106106 func keyPoolToWeight (poolAddress) = ("%s%s__poolWeight__" + poolAddress)
107107
108108
109109 func keyPoolToWeightHistory (poolAddress,num) = ((("%s%s__poolWeight__" + poolAddress) + "__") + toString(num))
110110
111111
112112 func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset))
113113
114114
115115 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
116116
117117
118118 func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config")
119119
120120
121121 func keyMappingLpAssetToPoolAssets (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2Pool")
122122
123123
124124 func keyMappingPoolAssetsToLpasset (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + internalAmountAssetIdStr) + "__") + internalPriceAssetIdStr) + "__mappings__PoolAssets2LpAsset")
125125
126126
127127 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2PoolAssets")
128128
129129
130130 func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract")
131131
132132
133133 func keyMappingPoolContractToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
134134
135135
136136 func keyMappingPoolLPAssetToPoolContractAddress (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2PoolContract")
137137
138138
139139 func keyWxEmission (amountAssetId,priceAssetId) = ((("%s%s%s__wxEmission__" + amountAssetId) + "__") + priceAssetId)
140140
141141
142142 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key))
143143
144144
145145 func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key))
146146
147147
148148 func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key))
149149
150150
151151 let IdxFactoryCfgStakingDapp = 1
152152
153153 let IdxFactoryCfgBoostingDapp = 2
154154
155155 let IdxFactoryCfgIdoDapp = 3
156156
157157 let IdxFactoryCfgTeamDapp = 4
158158
159159 let IdxFactoryCfgEmissionDapp = 5
160160
161161 let IdxFactoryCfgRestDapp = 6
162162
163163 let IdxFactoryCfgSlippageDapp = 7
164164
165165 let IdxFactoryCfgDaoDapp = 8
166166
167167 let IdxFactoryCfgMarketingDapp = 9
168168
169169 let IdxFactoryCfgGwxRewardDapp = 10
170170
171171 let IdxFactoryCfgBirdsDapp = 11
172172
173173 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
174174
175175
176176 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
177177
178178
179179 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
180180
181181
182182 func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgGwxRewardDapp])
183183
184184
185185 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
186186 case s: String =>
187187 fromBase58String(s)
188188 case _: Unit =>
189189 unit
190190 case _ =>
191191 throw("Match error")
192192 }
193193
194194
195195 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
196196 case s: String =>
197197 fromBase58String(s)
198198 case _: Unit =>
199199 unit
200200 case _ =>
201201 throw("Match error")
202202 }
203203
204204
205205 func mustManager (i) = {
206206 let pd = throw("Permission denied")
207207 match managerPublicKeyOrUnit() {
208208 case pk: ByteVector =>
209209 if ((i.callerPublicKey == pk))
210210 then true
211211 else pd
212212 case _: Unit =>
213213 if ((i.caller == this))
214214 then true
215215 else pd
216216 case _ =>
217217 throw("Match error")
218218 }
219219 }
220220
221221
222222 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)
223223
224224
225225 func dataFactoryCfg (stakingAddress,boostingAddress,idoContract,teamContract,emissionContract,restContract,slippageContract) = makeString(["%s%s%s%s%s%s", stakingAddress, boostingAddress, idoContract, teamContract, emissionContract, restContract, slippageContract], SEP)
226226
227227
228228 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)
229229
230230
231231 func dataMappingPoolAssets (internalAmountAssetStr,internalPriceAssetStr) = makeString(["%d%d", toString(internalAmountAssetStr), toString(internalPriceAssetStr)], SEP)
232232
233233
234234 func getPoolConfig (poolAddress) = {
235235 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
236236 let amountAssetInternal = poolAssets[1]
237237 let priceAssetInternal = poolAssets[2]
238238 split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
239239 }
240240
241241
242242 func getInternalAssetIdOrCreate (assetIdStr,incrementor) = {
243243 let internalAssetId = valueOrElse(getInteger(this, keyMappingsBaseAsset2internalId(assetIdStr)), 0)
244244 let currentIndexOfInternalId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
245245 let result = if ((internalAssetId == 0))
246246 then {
247247 let newInternalAssetId = (currentIndexOfInternalId + incrementor)
248248 $Tuple3(newInternalAssetId, [IntegerEntry(keyNextInternalAssetId(), newInternalAssetId), IntegerEntry(keyMappingsBaseAsset2internalId(assetIdStr), newInternalAssetId), StringEntry(keyMappingsInternal2baseAssetId(newInternalAssetId), assetIdStr)], true)
249249 }
250250 else $Tuple3(internalAssetId, nil, false)
251251 result
252252 }
253253
254254
255255 func createLpTokensListEntry (newLpToken) = {
256256 let lpTokens = getString(this, keyLpTokensList())
257257 if (isDefined(lpTokens))
258258 then ((value(lpTokens) + SEP) + newLpToken)
259259 else newLpToken
260260 }
261261
262262
263263 func mustAdmin (i) = {
264264 let adminPKs = split(valueOrElse(getString(keyAdminPubKeys()), EMPTY), SEP)
265265 if (containsElement(adminPKs, toBase58String(i.callerPublicKey)))
266266 then true
267267 else {
268268 let isManager = mustManager(i)
269269 if ((isManager == isManager))
270270 then true
271271 else throw("Strict value is not equal to itself.")
272272 }
273- }
274-
275-
276-func getPoolContractAddressByAssets (amountAssetId,priceAssetId) = {
277- let amountAssetInternalId = getIntOrFail(keyMappingsBaseAsset2internalId(amountAssetId))
278- let priceAssetInternalId = getIntOrFail(keyMappingsBaseAsset2internalId(priceAssetId))
279- getStringOrFail(keyMappingPoolAssetsToPoolContractAddress(amountAssetInternalId, priceAssetInternalId))
280- }
281-
282-
283-func getLpAssetByPoolContract (poolContractAddress) = getStringOrFail(keyMappingPoolContractToLPAsset(poolContractAddress))
284-
285-
286-func getPoolContractAddressAndLpAssetByAssets (amountAssetId,priceAssetId) = {
287- let poolContractAddress = getPoolContractAddressByAssets(amountAssetId, priceAssetId)
288- let lpAssetId = getLpAssetByPoolContract(poolContractAddress)
289- $Tuple2(poolContractAddress, lpAssetId)
290273 }
291274
292275
293276 @Callable(i)
294277 func constructor (stakingContract,boostingContract,idoContract,teamContract,emissionContract,restContract,slpipageContract,priceDecimals) = {
295278 let checkCaller = mustManager(i)
296279 if ((checkCaller == checkCaller))
297280 then [StringEntry(keyFactoryConfig(), dataFactoryCfg(stakingContract, boostingContract, idoContract, teamContract, emissionContract, restContract, slpipageContract)), IntegerEntry(keyPriceDecimals(), priceDecimals)]
298281 else throw("Strict value is not equal to itself.")
299282 }
300283
301284
302285
303286 @Callable(i)
304287 func constructorV2 (mathcherPub58Str) = {
305288 let checkCaller = mustManager(i)
306289 if ((checkCaller == checkCaller))
307290 then {
308291 let mathcerPub = addressFromPublicKey(fromBase58String(mathcherPub58Str))
309292 if ((mathcerPub == mathcerPub))
310293 then [StringEntry(keyMatcherPub(), mathcherPub58Str)]
311294 else throw("Strict value is not equal to itself.")
312295 }
313296 else throw("Strict value is not equal to itself.")
314297 }
315298
316299
317300
318301 @Callable(i)
319302 func constructorV3 (daoContract,marketingContract,gwxRewardsContract,birdsContract) = {
320303 let checkCaller = mustManager(i)
321304 if ((checkCaller == checkCaller))
322305 then {
323306 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
324307 [StringEntry(keyFactoryConfig(), dataFactoryCfgV3(factoryCfg[1], factoryCfg[2], factoryCfg[3], factoryCfg[4], factoryCfg[5], factoryCfg[6], factoryCfg[7], daoContract, marketingContract, gwxRewardsContract, birdsContract))]
325308 }
326309 else throw("Strict value is not equal to itself.")
327310 }
328311
329312
330313
331314 @Callable(i)
332315 func constructorV4 (legacyFactoryContract,legacyPools) = {
333316 let checkCaller = mustManager(i)
334317 if ((checkCaller == checkCaller))
335318 then [StringEntry(keyLegacyFactoryContract(), legacyFactoryContract), StringEntry(keyLegacyPools(), makeString(legacyPools, SEP))]
336319 else throw("Strict value is not equal to itself.")
337320 }
338321
339322
340323
341324 @Callable(i)
342325 func constructorV5 (assetsStoreContract) = {
343326 let checkCaller = mustManager(i)
344327 if ((checkCaller == checkCaller))
345328 then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)]
346329 else throw("Strict value is not equal to itself.")
347330 }
348331
349332
350333
351334 @Callable(i)
352335 func constructorV6 (votingEmissionContract) = {
353336 let cheks = [mustManager(i), if ((addressFromString(votingEmissionContract) != unit))
354337 then true
355338 else "invalid voting emission contract address"]
356339 if ((cheks == cheks))
357340 then [StringEntry(keyVotingEmissionContract(), votingEmissionContract)]
358341 else throw("Strict value is not equal to itself.")
359342 }
360343
361344
362345
363346 @Callable(i)
364347 func setManager (pendingManagerPublicKey) = {
365348 let checkCaller = mustManager(i)
366349 if ((checkCaller == checkCaller))
367350 then {
368351 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
369352 if ((checkManagerPublicKey == checkManagerPublicKey))
370353 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
371354 else throw("Strict value is not equal to itself.")
372355 }
373356 else throw("Strict value is not equal to itself.")
374357 }
375358
376359
377360
378361 @Callable(i)
379362 func confirmManager () = {
380363 let pm = pendingManagerPublicKeyOrUnit()
381364 let hasPM = if (isDefined(pm))
382365 then true
383366 else throw("No pending manager")
384367 if ((hasPM == hasPM))
385368 then {
386369 let checkPM = if ((i.callerPublicKey == value(pm)))
387370 then true
388371 else throw("You are not pending manager")
389372 if ((checkPM == checkPM))
390373 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
391374 else throw("Strict value is not equal to itself.")
392375 }
393376 else throw("Strict value is not equal to itself.")
394377 }
395378
396379
397380
398381 @Callable(i)
399382 func setAdmins (adminPubKeys) = {
400383 let checkCaller = mustManager(i)
401384 if ((checkCaller == checkCaller))
402385 then [StringEntry(keyAdminPubKeys(), makeString(adminPubKeys, SEP))]
403386 else throw("Strict value is not equal to itself.")
404387 }
405388
406389
407390
408391 @Callable(i)
409392 func activateNewPool (poolAddress,amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight,poolType,logo) = {
410393 let checkCaller = mustAdmin(i)
411394 if ((checkCaller == checkCaller))
412395 then if (isDefined(getString(keyMappingPoolContractAddressToPoolAssets(poolAddress))))
413396 then throw((("Pool address " + poolAddress) + " already registered."))
414397 else {
415398 let internalAmountAssetData = getInternalAssetIdOrCreate(amountAssetStr, 1)
416399 let internalAmountAssetId = internalAmountAssetData._1
417400 let internalPriceAssetData = getInternalAssetIdOrCreate(priceAssetStr, if (internalAmountAssetData._3)
418401 then 2
419402 else 1)
420403 let internalPriceAssetId = internalPriceAssetData._1
421404 let poolAccountScriptHash = valueOrErrorMessage(scriptHash(addressFromStringValue(poolAddress)), ("No script has been found on pool account " + poolAddress))
422405 let ethalonPoolAccountScriptHash = getBinaryValue(keyPoolScriptHash())
423406 let poolConfig = getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)))
424407 if (isDefined(poolConfig))
425408 then throw((((("Pool " + amountAssetStr) + "/") + priceAssetStr) + " has already been activated."))
426409 else {
427410 let poolConfigValue = value(getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId))))
428411 let amountAssetsDecimals = if ((amountAssetStr == "WAVES"))
429412 then decimalsMultPrice
430413 else pow(10, 0, value(assetInfo(fromBase58String(amountAssetStr))).decimals, 0, 0, DOWN)
431414 let priceAssetsDecimals = if ((priceAssetStr == "WAVES"))
432415 then decimalsMultPrice
433416 else pow(10, 0, value(assetInfo(fromBase58String(priceAssetStr))).decimals, 0, 0, DOWN)
434417 let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true)
435418 let lpAssetId = calculateAssetId(lpAssetIssueAction)
436419 let lpAssetIdStr = toBase58String(lpAssetId)
437420 let poolActivateInvokeResult = invoke(addressFromStringValue(poolAddress), "activate", [amountAssetStr, priceAssetStr], nil)
438421 if ((poolActivateInvokeResult == poolActivateInvokeResult))
439422 then if ((poolActivateInvokeResult != "success"))
440423 then throw("Pool initialisation error happened.")
441424 else {
442425 let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract()))
443426 let createOrUpdateLpAssetInv = invoke(assetsStoreContract, "createOrUpdate", [lpAssetIdStr, lpAssetName, false], nil)
444427 if ((createOrUpdateLpAssetInv == createOrUpdateLpAssetInv))
445428 then {
446429 let addPoolsLpLabelInv = invoke(assetsStoreContract, "addLabel", [lpAssetIdStr, labelPoolsLp], nil)
447430 if ((addPoolsLpLabelInv == addPoolsLpLabelInv))
448431 then {
449432 let setLogoInv = invoke(assetsStoreContract, "setLogo", [lpAssetIdStr, logo], nil)
450433 if ((setLogoInv == setLogoInv))
451434 then {
452435 let addAssetsLinkInv = invoke(assetsStoreContract, "addAssetsLink", [amountAssetStr, priceAssetStr, lpAssetIdStr], nil)
453436 if ((addAssetsLinkInv == addAssetsLinkInv))
454437 then {
455438 let increaseAssetPoolsNumberInv = invoke(assetsStoreContract, "increaseAssetPoolsNumber", [amountAssetStr], nil)
456439 if ((increaseAssetPoolsNumberInv == increaseAssetPoolsNumberInv))
457440 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)
458441 else throw("Strict value is not equal to itself.")
459442 }
460443 else throw("Strict value is not equal to itself.")
461444 }
462445 else throw("Strict value is not equal to itself.")
463446 }
464447 else throw("Strict value is not equal to itself.")
465448 }
466449 else throw("Strict value is not equal to itself.")
467450 }
468451 else throw("Strict value is not equal to itself.")
469452 }
470453 }
471454 else throw("Strict value is not equal to itself.")
472455 }
473456
474457
475458
476459 @Callable(i)
477460 func managePool (poolAddress,newStatus) = {
478461 let checkCaller = mustManager(i)
479462 if ((checkCaller == checkCaller))
480463 then {
481464 let poolConfig = getPoolConfig(poolAddress)
482465 let poolStatus = poolConfig[idxPoolStatus]
483466 let lpAssetIdStr = poolConfig[idxPoolLPAssetId]
484467 let amountAssetStr = poolConfig[idxAmtAssetId]
485468 let priceAssetStr = poolConfig[idxPriceAssetId]
486469 let amountAssetsDecimals = parseIntValue(poolConfig[idxAmtAssetDcm])
487470 let priceAssetsDecimals = parseIntValue(poolConfig[idxPriceAssetDcm])
488471 let internalAmountAssetId = parseIntValue(poolConfig[idxIAmtAssetId])
489472 let internalPriceAssetId = parseIntValue(poolConfig[idxIPriceAssetId])
490473 let lpAssetDcm = parseIntValue(poolConfig[idxLPAssetDcm])
491474 let poolType = poolConfig[idxPoolType]
492475 [StringEntry(keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)), dataPoolCfg(poolAddress, toString(newStatus), lpAssetIdStr, amountAssetStr, priceAssetStr, amountAssetsDecimals, priceAssetsDecimals, internalAmountAssetId, internalPriceAssetId, lpAssetDcm, poolType))]
493476 }
494477 else throw("Strict value is not equal to itself.")
495478 }
496479
497480
498481
499482 @Callable(i)
500483 func emit (amountToEmit) = {
501484 let caller = i.caller
502485 let originCaller = i.originCaller
503486 let lpAssetRequested = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
504487 let lpAsset = fromBase58String(lpAssetRequested)
505488 let legacyPools = split(valueOrElse(getString(keyLegacyPools()), EMPTY), SEP)
506489 let legacyFactoryContract = addressFromStringValue(valueOrErrorMessage(getString(keyLegacyFactoryContract()), "Legacy factory contract does not exists."))
507490 if ((0 >= amountToEmit))
508491 then nil
509492 else if (containsElement(legacyPools, toString(caller)))
510493 then $Tuple2(nil, legacyFactoryContract)
511494 else $Tuple2([Reissue(lpAsset, amountToEmit, true), ScriptTransfer(i.caller, amountToEmit, lpAsset)], "success")
512495 }
513496
514497
515498
516499 @Callable(i)
517500 func burn (amountToBurn) = {
518501 let caller = i.caller
519502 let originCaller = i.originCaller
520503 let payment = value(i.payments[0])
521504 let paymentAmount = value(payment.amount)
522505 let inAmountAssetId = toBase58String(value(payment.assetId))
523506 let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
524507 if ((inAmountAssetId != lpAssetRequestedForBurning))
525508 then throw("Invalid asset passed.")
526509 else if ((amountToBurn != paymentAmount))
527510 then throw("Invalid amount passed.")
528511 else {
529512 let lpAsset = fromBase58String(lpAssetRequestedForBurning)
530513 $Tuple2([Burn(lpAsset, amountToBurn)], "success")
531514 }
532515 }
533516
534517
535518
536519 @Callable(i)
537520 func modifyWeight (lpAssetId,share) = {
538521 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionContract()), "")))
539522 then true
540523 else mustManager(i)
541524 if ((checkCaller == checkCaller))
542525 then {
543526 let poolContractAddress = getStringOrFail(keyMappingPoolLPAssetToPoolContractAddress(lpAssetId))
544527 let poolWeightKey = keyPoolToWeight(poolContractAddress)
545528 let gwxWeight = valueOrElse(getInteger(keyPoolToWeight(GWXvirtualPOOL)), 0)
546529 let poolWeight = valueOrElse(getInteger(poolWeightKey), 0)
547530 let poolWeightNew = fraction(share, (POOLWEIGHTMULT - gwxWeight), POOLWEIGHTMULT)
548531 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
549532 let stakingContract = getStakingAddressOrFail(factoryCfg)
550533 let onModifyWeightInv = invoke(stakingContract, "onModifyWeight", [lpAssetId, poolContractAddress], nil)
551534 if ((onModifyWeightInv == onModifyWeightInv))
552535 then [IntegerEntry(poolWeightKey, poolWeightNew)]
553536 else throw("Strict value is not equal to itself.")
554537 }
555538 else throw("Strict value is not equal to itself.")
556539 }
557540
558541
559542
560543 @Callable(i)
561544 func modifyWeights (btcPoolAddress,ethPoolAddress,ethBtcPoolAddress,usdcUsdtPoolAddress) = {
562545 let checkCaller = mustManager(i)
563546 if ((checkCaller == checkCaller))
564547 then {
565548 let ethBtcWeightNew = ((5 * POOLWEIGHTMULT) / 100)
566549 let usdcUsdtWeightNew = ((5 * POOLWEIGHTMULT) / 100)
567550 let weightDecrement = ((5 * POOLWEIGHTMULT) / 100)
568551 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
569552 let stakingDapp = getStakingAddressOrFail(factoryCfg)
570553 let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg)
571554 let btcWeightKEY = keyPoolToWeight(btcPoolAddress)
572555 let ethWeightKEY = keyPoolToWeight(ethPoolAddress)
573556 let ethBtcWeightKEY = keyPoolToWeight(ethBtcPoolAddress)
574557 let usdcUsdtWeightKEY = keyPoolToWeight(usdcUsdtPoolAddress)
575558 let btcWeight = getIntOrFail(btcWeightKEY)
576559 let ethWeight = getIntOrFail(ethWeightKEY)
577560 let btcWeightNew = (btcWeight - weightDecrement)
578561 let ethWeightNew = (ethWeight - weightDecrement)
579562 if ((0 >= btcWeightNew))
580563 then throw(("invalid btcWeightNew: " + toString(btcWeightNew)))
581564 else if ((0 >= ethWeightNew))
582565 then throw(("invalid ethWeightNew: " + toString(ethWeightNew)))
583566 else {
584567 let btcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(btcPoolAddress))
585568 let ethLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethPoolAddress))
586569 let ethBtcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethBtcPoolAddress))
587570 let usdcUsdtLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(usdcUsdtPoolAddress))
588571 let onModifyWeightBtc = invoke(stakingDapp, "onModifyWeight", [btcLpAssetIdStr, btcPoolAddress], nil)
589572 if ((onModifyWeightBtc == onModifyWeightBtc))
590573 then {
591574 let onModifyWeightEth = invoke(stakingDapp, "onModifyWeight", [ethLpAssetIdStr, ethPoolAddress], nil)
592575 if ((onModifyWeightEth == onModifyWeightEth))
593576 then {
594577 let onModifyWeightEthBtc = invoke(stakingDapp, "onModifyWeight", [ethBtcLpAssetIdStr, ethBtcPoolAddress], nil)
595578 if ((onModifyWeightEthBtc == onModifyWeightEthBtc))
596579 then {
597580 let onModifyWeightUsdcUsdt = invoke(stakingDapp, "onModifyWeight", [usdcUsdtLpAssetIdStr, usdcUsdtPoolAddress], nil)
598581 if ((onModifyWeightUsdcUsdt == onModifyWeightUsdcUsdt))
599582 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)]
600583 else throw("Strict value is not equal to itself.")
601584 }
602585 else throw("Strict value is not equal to itself.")
603586 }
604587 else throw("Strict value is not equal to itself.")
605588 }
606589 else throw("Strict value is not equal to itself.")
607590 }
608591 }
609592 else throw("Strict value is not equal to itself.")
610593 }
611594
612595
613596
614597 @Callable(i)
615598 func checkWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
616599 let haveLabel = match getBoolean(keyWxEmission(amountAssetId, priceAssetId)) {
617600 case b: Boolean =>
618601 b
619602 case _ =>
620603 false
621604 }
622605 $Tuple2(nil, haveLabel)
623606 }
624607
625608
626609
627610 @Callable(i)
628611 func setWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
629612 let checkCaller = mustAdmin(i)
630613 if ((checkCaller == checkCaller))
631614 then $Tuple2([BooleanEntry(keyWxEmission(amountAssetId, priceAssetId), true)], unit)
632615 else throw("Strict value is not equal to itself.")
633616 }
634617
635618
636619
637620 @Callable(i)
638621 func deleteWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
639622 let checkCaller = mustAdmin(i)
640623 if ((checkCaller == checkCaller))
641624 then $Tuple2([DeleteEntry(keyWxEmission(amountAssetId, priceAssetId))], unit)
642625 else throw("Strict value is not equal to itself.")
643626 }
644627
645628
646-
647-@Callable(i)
648-func getPoolContractAddressAndLpAssetByAssetsREADONLY (amountAssetId,priceAssetId) = $Tuple2(nil, getPoolContractAddressAndLpAssetByAssets(amountAssetId, priceAssetId))
649-
650-
651629 @Verifier(tx)
652630 func verify () = {
653631 let targetPublicKey = match managerPublicKeyOrUnit() {
654632 case pk: ByteVector =>
655633 pk
656634 case _: Unit =>
657635 tx.senderPublicKey
658636 case _ =>
659637 throw("Match error")
660638 }
661639 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
662640 }
663641

github/deemru/w8io/169f3d6 
68.93 ms