tx · 3QubTwyB1NSoeqBGvQkcPkcbpT6ejUeQx5e2VjLfBnVa

3MqAT6VCwdsABD18Abytrmi7EmaLGSVzNKY:  -0.02900000 Waves

2023.03.01 12:15 [2470811] smart account 3MqAT6VCwdsABD18Abytrmi7EmaLGSVzNKY > SELF 0.00000000 Waves

{ "type": 13, "id": "3QubTwyB1NSoeqBGvQkcPkcbpT6ejUeQx5e2VjLfBnVa", "fee": 2900000, "feeAssetId": null, "timestamp": 1677662165158, "version": 1, "sender": "3MqAT6VCwdsABD18Abytrmi7EmaLGSVzNKY", "senderPublicKey": "HfB4CZkBhLMntiSTYMMwjyaM3hzcfaPjay5VZ9Pe71BA", "proofs": [ "356CJA72MjUjio4koUmEQ6P9viv9FeLRd8XR3N7oBgMgyNzbQMCSSSZPCJzcDeFEqMgSaWpddUGVmJkPqRRgngmQ" ], "script": "base64:BgKNAQgCEgoKCAgICAgICAgBEgMKAQgSBgoECAgICBIECgIIGBIDCgEIEgQKAggYEgMKAQgSABIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCGQABlNDQUxFOAAIAAVNVUxUOACAwtcvAAdTQ0FMRTE4ABIABk1VTFQxOAkAtgIBAICAkLu61q3wDQAOUE9PTFdFSUdIVE1VTFQFBU1VTFQ4AA5HV1h2aXJ0dWFsUE9PTAIOR1dYdmlydHVhbFBPT0wADGxhYmVsUG9vbHNMcAIIUE9PTFNfTFAADWRlZmF1bHRTcHJlYWQAgIl6ABFkZWNpbWFsc011bHRQcmljZQkAaAIJAGgCAGQA6AcA6AcAA1NFUAICX18ABUVNUFRZAgAAClBvb2xBY3RpdmUAAQAPUG9vbFB1dERpc2FibGVkAAIAE1Bvb2xNYXRjaGVyRGlzYWJsZWQAAwAMUG9vbFNodXRkb3duAAQAEmlkeEludGVybmFsQXNzZXRJZAABAA9pZHhSZXN1dEFjd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BBQtwb29sQWRkcmVzcwUDU0VQBBNhbW91bnRBc3NldEludGVybmFsCQCRAwIFCnBvb2xBc3NldHMAAQQScHJpY2VBc3NldEludGVybmFsCQCRAwIFCnBvb2xBc3NldHMAAgQDY2ZnCQC1CQIJAQ9nZXRTdHJpbmdPckZhaWwBCQENa2V5UG9vbENvbmZpZwIFE2Ftb3VudEFzc2V0SW50ZXJuYWwFEnByaWNlQXNzZXRJbnRlcm5hbAUDU0VQCQCUCgIFA25pbAkBDXBhcnNlSW50VmFsdWUBCQCRAwIFA2NmZwUNaWR4UG9vbFN0YXR1cwECdHgBBnZlcmlmeQAED3RhcmdldFB1YmxpY0tleQQHJG1hdGNoMAkBFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAwkAAQIFByRtYXRjaDACCkJ5dGVWZWN0b3IEAnBrBQckbWF0Y2gwBQJwawMJAAECBQckbWF0Y2gwAgRVbml0CAUCdHgPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD3RhcmdldFB1YmxpY0tleQudyio=", "chainId": 84, "height": 2470811, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5PtT2BVedCZ3YAtr6iZ8NgL1SqF3y8AQsQhNe7UAAQaa Next: DidHUwXYsBu32tbJvWKGxfPm1omoFRNa5RKBhZE1cQQk Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
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 defaultSpread = 2000000
1919
2020 let decimalsMultPrice = ((100 * 1000) * 1000)
2121
2222 let SEP = "__"
2323
2424 let EMPTY = ""
2525
2626 let PoolActive = 1
2727
2828 let PoolPutDisabled = 2
2929
3030 let PoolMatcherDisabled = 3
3131
3232 let PoolShutdown = 4
3333
3434 let idxInternalAssetId = 1
3535
3636 let idxResutActions = 2
3737
3838 let idxIfAssetIdCalculationPerformed = 3
3939
4040 let idxPoolAddress = 1
4141
4242 let idxPoolStatus = 2
4343
4444 let idxPoolLPAssetId = 3
4545
4646 let idxAmtAssetId = 4
4747
4848 let idxPriceAssetId = 5
4949
5050 let idxAmtAssetDcm = 6
5151
5252 let idxPriceAssetDcm = 7
5353
5454 let idxIAmtAssetId = 8
5555
5656 let idxIPriceAssetId = 9
5757
5858 let idxLPAssetDcm = 10
5959
6060 let idxPoolType = 11
6161
6262 let poolLabelWxEmission = "WX_EMISSION"
6363
6464 let validPoolLabels = [poolLabelWxEmission]
6565
6666 func keyAllowedLpScriptHash () = "%s__allowedLpScriptHash"
6767
6868
6969 func keyAllowedLpStableScriptHash () = "%s__allowedLpStableScriptHash"
7070
7171
7272 func keyAllowedLpStableAddonScriptHash () = "%s__allowedLpStableAddonScriptHash"
7373
7474
7575 func keyFactoryConfig () = "%s__factoryConfig"
7676
7777
7878 func keyLpTokensList () = "%s__lpTokensList"
7979
8080
8181 func keyPoolScriptHash () = "%s%s__pool__scriptHash"
8282
8383
8484 func keyMatcherPub () = "%s%s__matcher__publicKey"
8585
8686
8787 func keyLegacyFactoryContract () = "%s__legacyFactoryContract"
8888
8989
9090 func keyLegacyPools () = "%s__legacyPools"
9191
9292
9393 func keyManagerPublicKey () = "%s__managerPublicKey"
9494
9595
9696 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
9797
9898
9999 func keyAdminPubKeys () = "%s__adminPubKeys"
100100
101101
102102 func keyAssetsStoreContract () = "%s__assetsStoreContract"
103103
104104
105105 func keyVotingEmissionContract () = "%s__votingEmissionContract"
106106
107107
108108 func keyPriceAssets () = makeString(["%s", "priceAssets"], SEP)
109109
110110
111111 func keyPriceDecimals () = "%s__priceDecimals"
112112
113113
114114 func keyAllPoolsShutdown () = "%s__shutdown"
115115
116116
117117 func keyNextInternalAssetId () = "%s__nextInternalAssetId"
118118
119119
120120 func keyPoolToWeight (poolAddress) = ("%s%s__poolWeight__" + poolAddress)
121121
122122
123123 func keyPoolToWeightHistory (poolAddress,num) = ((("%s%s__poolWeight__" + poolAddress) + "__") + toString(num))
124124
125125
126126 func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset))
127127
128128
129129 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
130130
131131
132132 func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config")
133133
134134
135135 func keyPoolOneTokenOperationsDisabled (assetsInternal) = {
136136 let $t037273789 = assetsInternal
137137 let amountAssetInternal = $t037273789._1
138138 let priceAssetInternal = $t037273789._2
139139 makeString(["%d%d%s", toString(amountAssetInternal), toString(priceAssetInternal), "oneTokenOperationsDisabled"], SEP)
140140 }
141141
142142
143143 func keyAllPoolsOneTokenOperationsDisabled () = makeString(["%s", "oneTokenOperationsDisabled"], SEP)
144144
145145
146146 func keyMappingLpAssetToPoolAssets (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2Pool")
147147
148148
149149 func keyMappingPoolAssetsToLpasset (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + internalAmountAssetIdStr) + "__") + internalPriceAssetIdStr) + "__mappings__PoolAssets2LpAsset")
150150
151151
152152 func keyPoolSpread (poolAddress) = ("%s%s__spread__" + poolAddress)
153153
154154
155155 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2PoolAssets")
156156
157157
158158 func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract")
159159
160160
161161 func keyMappingPoolContractToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
162162
163163
164164 func keyMappingPoolLPAssetToPoolContractAddress (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2PoolContract")
165165
166166
167167 func keyWxEmission (amountAssetId,priceAssetId) = ((("%s%s%s__wxEmission__" + amountAssetId) + "__") + priceAssetId)
168168
169169
170170 func keyInFee (poolAddress) = ("%s%s__inFee__" + poolAddress)
171171
172172
173173 func keyInFeeDefault () = "%s__inFeeDefault"
174174
175175
176176 func keyOutFee (poolAddress) = ("%s%s__outFee__" + poolAddress)
177177
178178
179179 func keyOutFeeDefault () = "%s__outFeeDefault"
180180
181181
182182 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key))
183183
184184
185185 func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key))
186186
187187
188188 func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key))
189189
190190
191191 let IdxFactoryCfgStakingDapp = 1
192192
193193 let IdxFactoryCfgBoostingDapp = 2
194194
195195 let IdxFactoryCfgIdoDapp = 3
196196
197197 let IdxFactoryCfgTeamDapp = 4
198198
199199 let IdxFactoryCfgEmissionDapp = 5
200200
201201 let IdxFactoryCfgRestDapp = 6
202202
203203 let IdxFactoryCfgSlippageDapp = 7
204204
205205 let IdxFactoryCfgDaoDapp = 8
206206
207207 let IdxFactoryCfgMarketingDapp = 9
208208
209209 let IdxFactoryCfgGwxRewardDapp = 10
210210
211211 let IdxFactoryCfgBirdsDapp = 11
212212
213213 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
214214
215215
216216 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
217217
218218
219219 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
220220
221221
222222 func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgGwxRewardDapp])
223223
224224
225225 func getPriceAssets () = match getString(keyPriceAssets()) {
226226 case s: String =>
227227 if ((size(s) == 0))
228228 then nil
229229 else split(s, SEP)
230230 case _ =>
231231 nil
232232 }
233233
234234
235235 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
236236 case s: String =>
237237 fromBase58String(s)
238238 case _: Unit =>
239239 unit
240240 case _ =>
241241 throw("Match error")
242242 }
243243
244244
245245 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
246246 case s: String =>
247247 fromBase58String(s)
248248 case _: Unit =>
249249 unit
250250 case _ =>
251251 throw("Match error")
252252 }
253253
254254
255255 let permissionDeniedError = throw("Permission denied")
256256
257257 func mustThis (i) = if ((i.caller == this))
258258 then true
259259 else permissionDeniedError
260260
261261
262262 func mustManager (i) = match managerPublicKeyOrUnit() {
263263 case pk: ByteVector =>
264264 if ((i.callerPublicKey == pk))
265265 then true
266266 else permissionDeniedError
267267 case _: Unit =>
268268 mustThis(i)
269269 case _ =>
270270 throw("Match error")
271271 }
272272
273273
274274 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)
275275
276276
277277 func dataFactoryCfg (stakingAddress,boostingAddress,idoContract,teamContract,emissionContract,restContract,slippageContract) = makeString(["%s%s%s%s%s%s", stakingAddress, boostingAddress, idoContract, teamContract, emissionContract, restContract, slippageContract], SEP)
278278
279279
280280 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)
281281
282282
283283 func dataMappingPoolAssets (internalAmountAssetStr,internalPriceAssetStr) = makeString(["%d%d", toString(internalAmountAssetStr), toString(internalPriceAssetStr)], SEP)
284284
285285
286286 func getPoolConfig (poolAddress) = {
287287 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
288288 let amountAssetInternal = poolAssets[1]
289289 let priceAssetInternal = poolAssets[2]
290290 split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
291291 }
292292
293293
294294 func getInternalAssetIdOrCreate (assetIdStr,incrementor) = {
295295 let internalAssetId = valueOrElse(getInteger(this, keyMappingsBaseAsset2internalId(assetIdStr)), 0)
296296 let currentIndexOfInternalId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
297297 let result = if ((internalAssetId == 0))
298298 then {
299299 let newInternalAssetId = (currentIndexOfInternalId + incrementor)
300300 $Tuple3(newInternalAssetId, [IntegerEntry(keyNextInternalAssetId(), newInternalAssetId), IntegerEntry(keyMappingsBaseAsset2internalId(assetIdStr), newInternalAssetId), StringEntry(keyMappingsInternal2baseAssetId(newInternalAssetId), assetIdStr)], true)
301301 }
302302 else $Tuple3(internalAssetId, nil, false)
303303 result
304304 }
305305
306306
307307 func mustAdmin (i) = {
308308 let adminPKs = split(valueOrElse(getString(keyAdminPubKeys()), EMPTY), SEP)
309309 if (containsElement(adminPKs, toBase58String(i.callerPublicKey)))
310310 then true
311311 else {
312312 let isManager = mustManager(i)
313313 if ((isManager == isManager))
314314 then true
315315 else throw("Strict value is not equal to itself.")
316316 }
317317 }
318318
319319
320320 func intOrDefaultOrFallback (key,keyDefault,valueFallback) = valueOrElse(getInteger(this, key), valueOrElse(getInteger(this, keyDefault), valueFallback))
321321
322322
323323 @Callable(i)
324324 func constructor (stakingContract,boostingContract,idoContract,teamContract,emissionContract,restContract,slpipageContract,priceDecimals) = {
325325 let checkCaller = mustManager(i)
326326 if ((checkCaller == checkCaller))
327327 then [StringEntry(keyFactoryConfig(), dataFactoryCfg(stakingContract, boostingContract, idoContract, teamContract, emissionContract, restContract, slpipageContract)), IntegerEntry(keyPriceDecimals(), priceDecimals)]
328328 else throw("Strict value is not equal to itself.")
329329 }
330330
331331
332332
333333 @Callable(i)
334334 func constructorV2 (mathcherPub58Str) = {
335335 let checkCaller = mustManager(i)
336336 if ((checkCaller == checkCaller))
337337 then {
338338 let mathcerPub = addressFromPublicKey(fromBase58String(mathcherPub58Str))
339339 if ((mathcerPub == mathcerPub))
340340 then [StringEntry(keyMatcherPub(), mathcherPub58Str)]
341341 else throw("Strict value is not equal to itself.")
342342 }
343343 else throw("Strict value is not equal to itself.")
344344 }
345345
346346
347347
348348 @Callable(i)
349349 func constructorV3 (daoContract,marketingContract,gwxRewardsContract,birdsContract) = {
350350 let checkCaller = mustManager(i)
351351 if ((checkCaller == checkCaller))
352352 then {
353353 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
354354 [StringEntry(keyFactoryConfig(), dataFactoryCfgV3(factoryCfg[1], factoryCfg[2], factoryCfg[3], factoryCfg[4], factoryCfg[5], factoryCfg[6], factoryCfg[7], daoContract, marketingContract, gwxRewardsContract, birdsContract))]
355355 }
356356 else throw("Strict value is not equal to itself.")
357357 }
358358
359359
360360
361361 @Callable(i)
362362 func constructorV4 (legacyFactoryContract,legacyPools) = {
363363 let checkCaller = mustManager(i)
364364 if ((checkCaller == checkCaller))
365365 then [StringEntry(keyLegacyFactoryContract(), legacyFactoryContract), StringEntry(keyLegacyPools(), makeString(legacyPools, SEP))]
366366 else throw("Strict value is not equal to itself.")
367367 }
368368
369369
370370
371371 @Callable(i)
372372 func constructorV5 (assetsStoreContract) = {
373373 let checkCaller = mustManager(i)
374374 if ((checkCaller == checkCaller))
375375 then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)]
376376 else throw("Strict value is not equal to itself.")
377377 }
378378
379379
380380
381381 @Callable(i)
382382 func constructorV6 (votingEmissionContract,priceAssets) = {
383383 let cheks = [mustManager(i), if ((addressFromString(votingEmissionContract) != unit))
384384 then true
385385 else "invalid voting emission contract address"]
386386 if ((cheks == cheks))
387387 then [StringEntry(keyVotingEmissionContract(), votingEmissionContract), StringEntry(keyPriceAssets(), makeString(priceAssets, SEP))]
388388 else throw("Strict value is not equal to itself.")
389389 }
390390
391391
392392
393393 @Callable(i)
394394 func setManager (pendingManagerPublicKey) = {
395395 let checkCaller = mustManager(i)
396396 if ((checkCaller == checkCaller))
397397 then {
398398 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
399399 if ((checkManagerPublicKey == checkManagerPublicKey))
400400 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
401401 else throw("Strict value is not equal to itself.")
402402 }
403403 else throw("Strict value is not equal to itself.")
404404 }
405405
406406
407407
408408 @Callable(i)
409409 func confirmManager () = {
410410 let pm = pendingManagerPublicKeyOrUnit()
411411 let hasPM = if (isDefined(pm))
412412 then true
413413 else throw("No pending manager")
414414 if ((hasPM == hasPM))
415415 then {
416416 let checkPM = if ((i.callerPublicKey == value(pm)))
417417 then true
418418 else throw("You are not pending manager")
419419 if ((checkPM == checkPM))
420420 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
421421 else throw("Strict value is not equal to itself.")
422422 }
423423 else throw("Strict value is not equal to itself.")
424424 }
425425
426426
427427
428428 @Callable(i)
429429 func setAdmins (adminPubKeys) = {
430430 let checkCaller = mustManager(i)
431431 if ((checkCaller == checkCaller))
432432 then [StringEntry(keyAdminPubKeys(), makeString(adminPubKeys, SEP))]
433433 else throw("Strict value is not equal to itself.")
434434 }
435435
436436
437437
438438 @Callable(i)
439439 func activateNewPool (poolAddress,amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight,poolType,logo) = {
440440 let checkCaller = mustAdmin(i)
441441 if ((checkCaller == checkCaller))
442442 then if (isDefined(getString(keyMappingPoolContractAddressToPoolAssets(poolAddress))))
443443 then throw((("Pool address " + poolAddress) + " already registered."))
444444 else {
445445 let internalAmountAssetData = getInternalAssetIdOrCreate(amountAssetStr, 1)
446446 let internalAmountAssetId = internalAmountAssetData._1
447447 let internalPriceAssetData = getInternalAssetIdOrCreate(priceAssetStr, if (internalAmountAssetData._3)
448448 then 2
449449 else 1)
450450 let internalPriceAssetId = internalPriceAssetData._1
451451 let poolAccountScriptHash = valueOrErrorMessage(scriptHash(addressFromStringValue(poolAddress)), ("No script has been found on pool account " + poolAddress))
452452 let ethalonPoolAccountScriptHash = getBinaryValue(keyPoolScriptHash())
453453 let poolConfig = getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)))
454454 if (isDefined(poolConfig))
455455 then throw((((("Pool " + amountAssetStr) + "/") + priceAssetStr) + " has already been activated."))
456456 else {
457457 let poolConfigValue = value(getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId))))
458458 let amountAssetsDecimals = if ((amountAssetStr == "WAVES"))
459459 then decimalsMultPrice
460460 else pow(10, 0, value(assetInfo(fromBase58String(amountAssetStr))).decimals, 0, 0, DOWN)
461461 let priceAssetsDecimals = if ((priceAssetStr == "WAVES"))
462462 then decimalsMultPrice
463463 else pow(10, 0, value(assetInfo(fromBase58String(priceAssetStr))).decimals, 0, 0, DOWN)
464464 let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true)
465465 let lpAssetId = calculateAssetId(lpAssetIssueAction)
466466 let lpAssetIdStr = toBase58String(lpAssetId)
467467 let poolActivateInvokeResult = invoke(addressFromStringValue(poolAddress), "activate", [amountAssetStr, priceAssetStr], nil)
468468 if ((poolActivateInvokeResult == poolActivateInvokeResult))
469469 then if ((poolActivateInvokeResult != "success"))
470470 then throw("Pool initialisation error happened.")
471471 else {
472472 let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract()))
473473 let createOrUpdateLpAssetInv = invoke(assetsStoreContract, "createOrUpdate", [lpAssetIdStr, lpAssetName, false], nil)
474474 if ((createOrUpdateLpAssetInv == createOrUpdateLpAssetInv))
475475 then {
476476 let addPoolsLpLabelInv = invoke(assetsStoreContract, "addLabel", [lpAssetIdStr, labelPoolsLp], nil)
477477 if ((addPoolsLpLabelInv == addPoolsLpLabelInv))
478478 then {
479479 let setLogoInv = invoke(assetsStoreContract, "setLogo", [lpAssetIdStr, logo], nil)
480480 if ((setLogoInv == setLogoInv))
481481 then {
482482 let addAssetsLinkInv = invoke(assetsStoreContract, "addAssetsLink", [amountAssetStr, priceAssetStr, lpAssetIdStr], nil)
483483 if ((addAssetsLinkInv == addAssetsLinkInv))
484484 then {
485485 let increaseAssetPoolsNumberInv = invoke(assetsStoreContract, "increaseAssetPoolsNumber", [amountAssetStr], nil)
486486 if ((increaseAssetPoolsNumberInv == increaseAssetPoolsNumberInv))
487487 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), IntegerEntry(keyPoolSpread(poolAddress), defaultSpread)]), lpAssetIdStr)
488488 else throw("Strict value is not equal to itself.")
489489 }
490490 else throw("Strict value is not equal to itself.")
491491 }
492492 else throw("Strict value is not equal to itself.")
493493 }
494494 else throw("Strict value is not equal to itself.")
495495 }
496496 else throw("Strict value is not equal to itself.")
497497 }
498498 else throw("Strict value is not equal to itself.")
499499 }
500500 }
501501 else throw("Strict value is not equal to itself.")
502502 }
503503
504504
505505
506506 @Callable(i)
507507 func managePool (poolAddress,newStatus) = {
508508 let checkCaller = mustManager(i)
509509 if ((checkCaller == checkCaller))
510510 then {
511511 let poolConfig = getPoolConfig(poolAddress)
512512 let poolStatus = poolConfig[idxPoolStatus]
513513 let lpAssetIdStr = poolConfig[idxPoolLPAssetId]
514514 let amountAssetStr = poolConfig[idxAmtAssetId]
515515 let priceAssetStr = poolConfig[idxPriceAssetId]
516516 let amountAssetsDecimals = parseIntValue(poolConfig[idxAmtAssetDcm])
517517 let priceAssetsDecimals = parseIntValue(poolConfig[idxPriceAssetDcm])
518518 let internalAmountAssetId = parseIntValue(poolConfig[idxIAmtAssetId])
519519 let internalPriceAssetId = parseIntValue(poolConfig[idxIPriceAssetId])
520520 let lpAssetDcm = parseIntValue(poolConfig[idxLPAssetDcm])
521521 let poolType = poolConfig[idxPoolType]
522522 [StringEntry(keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)), dataPoolCfg(poolAddress, toString(newStatus), lpAssetIdStr, amountAssetStr, priceAssetStr, amountAssetsDecimals, priceAssetsDecimals, internalAmountAssetId, internalPriceAssetId, lpAssetDcm, poolType))]
523523 }
524524 else throw("Strict value is not equal to itself.")
525525 }
526526
527527
528528
529529 @Callable(i)
530530 func emit (amountToEmit) = {
531531 let caller = i.caller
532532 let originCaller = i.originCaller
533533 let lpAssetRequested = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
534534 let lpAsset = fromBase58String(lpAssetRequested)
535535 let legacyPools = split(valueOrElse(getString(keyLegacyPools()), EMPTY), SEP)
536536 let legacyFactoryContract = addressFromStringValue(valueOrErrorMessage(getString(keyLegacyFactoryContract()), "Legacy factory contract does not exists."))
537537 if ((0 >= amountToEmit))
538538 then nil
539539 else if (containsElement(legacyPools, toString(caller)))
540540 then $Tuple2(nil, legacyFactoryContract)
541541 else $Tuple2([Reissue(lpAsset, amountToEmit, true), ScriptTransfer(i.caller, amountToEmit, lpAsset)], "success")
542542 }
543543
544544
545545
546546 @Callable(i)
547547 func burn (amountToBurn) = {
548548 let caller = i.caller
549549 let originCaller = i.originCaller
550550 let payment = value(i.payments[0])
551551 let paymentAmount = value(payment.amount)
552552 let inAmountAssetId = toBase58String(value(payment.assetId))
553553 let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
554554 if ((inAmountAssetId != lpAssetRequestedForBurning))
555555 then throw("Invalid asset passed.")
556556 else if ((amountToBurn != paymentAmount))
557557 then throw("Invalid amount passed.")
558558 else {
559559 let lpAsset = fromBase58String(lpAssetRequestedForBurning)
560560 $Tuple2([Burn(lpAsset, amountToBurn)], "success")
561561 }
562562 }
563563
564564
565565
566566 @Callable(i)
567567 func modifyWeight (lpAssetId,share) = {
568568 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionContract()), "")))
569569 then true
570570 else mustManager(i)
571571 if ((checkCaller == checkCaller))
572572 then {
573573 let poolContractAddress = getStringOrFail(keyMappingPoolLPAssetToPoolContractAddress(lpAssetId))
574574 let poolWeightKey = keyPoolToWeight(poolContractAddress)
575575 let gwxWeightKey = keyPoolToWeight(GWXvirtualPOOL)
576576 let gwxWeight = valueOrElse(getInteger(gwxWeightKey), 0)
577577 let poolWeight = valueOrElse(getInteger(poolWeightKey), 0)
578578 let poolWeightNew = share
579579 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
580580 let stakingContract = getStakingAddressOrFail(factoryCfg)
581581 let onModifyWeightInv = invoke(stakingContract, "onModifyWeight", [lpAssetId, poolContractAddress], nil)
582582 if ((onModifyWeightInv == onModifyWeightInv))
583583 then {
584584 let gwxVirtualPoolActions = if ((gwxWeight == 0))
585585 then nil
586586 else [IntegerEntry(gwxWeightKey, 0)]
587587 let poolWeightHistoryKey = keyPoolToWeightHistory(poolContractAddress, 0)
588588 let poolWeightHistoryOrUnit = getInteger(poolWeightHistoryKey)
589589 let poolWeightHistoryActions = if ((poolWeightHistoryOrUnit == unit))
590590 then nil
591591 else [DeleteEntry(poolWeightHistoryKey)]
592592 (([IntegerEntry(poolWeightKey, poolWeightNew)] ++ gwxVirtualPoolActions) ++ poolWeightHistoryActions)
593593 }
594594 else throw("Strict value is not equal to itself.")
595595 }
596596 else throw("Strict value is not equal to itself.")
597597 }
598598
599599
600600
601601 @Callable(i)
602602 func modifyWeights (btcPoolAddress,ethPoolAddress,ethBtcPoolAddress,usdcUsdtPoolAddress) = {
603603 let checkCaller = mustManager(i)
604604 if ((checkCaller == checkCaller))
605605 then {
606606 let ethBtcWeightNew = ((5 * POOLWEIGHTMULT) / 100)
607607 let usdcUsdtWeightNew = ((5 * POOLWEIGHTMULT) / 100)
608608 let weightDecrement = ((5 * POOLWEIGHTMULT) / 100)
609609 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
610610 let stakingDapp = getStakingAddressOrFail(factoryCfg)
611611 let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg)
612612 let btcWeightKEY = keyPoolToWeight(btcPoolAddress)
613613 let ethWeightKEY = keyPoolToWeight(ethPoolAddress)
614614 let ethBtcWeightKEY = keyPoolToWeight(ethBtcPoolAddress)
615615 let usdcUsdtWeightKEY = keyPoolToWeight(usdcUsdtPoolAddress)
616616 let btcWeight = getIntOrFail(btcWeightKEY)
617617 let ethWeight = getIntOrFail(ethWeightKEY)
618618 let btcWeightNew = (btcWeight - weightDecrement)
619619 let ethWeightNew = (ethWeight - weightDecrement)
620620 if ((0 >= btcWeightNew))
621621 then throw(("invalid btcWeightNew: " + toString(btcWeightNew)))
622622 else if ((0 >= ethWeightNew))
623623 then throw(("invalid ethWeightNew: " + toString(ethWeightNew)))
624624 else {
625625 let btcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(btcPoolAddress))
626626 let ethLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethPoolAddress))
627627 let ethBtcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethBtcPoolAddress))
628628 let usdcUsdtLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(usdcUsdtPoolAddress))
629629 let onModifyWeightBtc = invoke(stakingDapp, "onModifyWeight", [btcLpAssetIdStr, btcPoolAddress], nil)
630630 if ((onModifyWeightBtc == onModifyWeightBtc))
631631 then {
632632 let onModifyWeightEth = invoke(stakingDapp, "onModifyWeight", [ethLpAssetIdStr, ethPoolAddress], nil)
633633 if ((onModifyWeightEth == onModifyWeightEth))
634634 then {
635635 let onModifyWeightEthBtc = invoke(stakingDapp, "onModifyWeight", [ethBtcLpAssetIdStr, ethBtcPoolAddress], nil)
636636 if ((onModifyWeightEthBtc == onModifyWeightEthBtc))
637637 then {
638638 let onModifyWeightUsdcUsdt = invoke(stakingDapp, "onModifyWeight", [usdcUsdtLpAssetIdStr, usdcUsdtPoolAddress], nil)
639639 if ((onModifyWeightUsdcUsdt == onModifyWeightUsdcUsdt))
640640 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)]
641641 else throw("Strict value is not equal to itself.")
642642 }
643643 else throw("Strict value is not equal to itself.")
644644 }
645645 else throw("Strict value is not equal to itself.")
646646 }
647647 else throw("Strict value is not equal to itself.")
648648 }
649649 }
650650 else throw("Strict value is not equal to itself.")
651651 }
652652
653653
654654
655655 @Callable(i)
656656 func checkWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
657657 let haveLabel = match getBoolean(keyWxEmission(amountAssetId, priceAssetId)) {
658658 case b: Boolean =>
659659 b
660660 case _ =>
661661 false
662662 }
663663 $Tuple2(nil, haveLabel)
664664 }
665665
666666
667667
668668 @Callable(i)
669669 func setWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
670670 let checkCaller = mustAdmin(i)
671671 if ((checkCaller == checkCaller))
672672 then $Tuple2([BooleanEntry(keyWxEmission(amountAssetId, priceAssetId), true)], unit)
673673 else throw("Strict value is not equal to itself.")
674674 }
675675
676676
677677
678678 @Callable(i)
679679 func deleteWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
680680 let checkCaller = if (mustThis(i))
681681 then true
682682 else mustAdmin(i)
683683 if ((checkCaller == checkCaller))
684684 then $Tuple2([DeleteEntry(keyWxEmission(amountAssetId, priceAssetId))], unit)
685685 else throw("Strict value is not equal to itself.")
686686 }
687687
688688
689689
690690 @Callable(i)
691691 func onVerificationLoss (assetId) = {
692692 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyAssetsStoreContract()), "")))
693693 then true
694694 else mustManager(i)
695695 if ((checkCaller == checkCaller))
696696 then {
697697 let priceAssets = getPriceAssets()
698698 let checkPriceAssetsSize = if ((size(priceAssets) > 0))
699699 then true
700700 else throw("invalid price assets")
701701 if ((checkPriceAssetsSize == checkPriceAssetsSize))
702702 then {
703703 func cb (acc,priceAsset) = {
704704 let r = invoke(this, "deleteWxEmissionPoolLabel", [assetId, priceAsset], nil)
705705 if ((r == r))
706706 then unit
707707 else throw("Strict value is not equal to itself.")
708708 }
709709
710710 let actions = {
711711 let $l = priceAssets
712712 let $s = size($l)
713713 let $acc0 = unit
714714 func $f0_1 ($a,$i) = if (($i >= $s))
715715 then $a
716716 else cb($a, $l[$i])
717717
718718 func $f0_2 ($a,$i) = if (($i >= $s))
719719 then $a
720720 else throw("List size exceeds 1")
721721
722722 $f0_2($f0_1($acc0, 0), 1)
723723 }
724724 if ((actions == actions))
725725 then $Tuple2(nil, unit)
726726 else throw("Strict value is not equal to itself.")
727727 }
728728 else throw("Strict value is not equal to itself.")
729729 }
730730 else throw("Strict value is not equal to itself.")
731731 }
732732
733733
734734
735735 @Callable(i)
736736 func isPoolOneTokenOperationsDisabledREADONLY (poolAddress) = {
737737 let poolConfig = getPoolConfig(poolAddress)
738738 let assetsInternal = $Tuple2(parseIntValue(poolConfig[idxIAmtAssetId]), parseIntValue(poolConfig[idxIPriceAssetId]))
739739 let poolOneTokenOperationsDisabled = valueOrElse(getBoolean(keyPoolOneTokenOperationsDisabled(assetsInternal)), false)
740740 let allPoolsOneTokenOperationsDisabled = valueOrElse(getBoolean(keyAllPoolsOneTokenOperationsDisabled()), false)
741741 $Tuple2(nil, if (allPoolsOneTokenOperationsDisabled)
742742 then true
743743 else poolOneTokenOperationsDisabled)
744744 }
745745
746746
747747
748748 @Callable(i)
749749 func getInFeeREADONLY (poolAddress) = {
750750 let fee = intOrDefaultOrFallback(keyInFee(poolAddress), keyInFeeDefault(), 0)
751751 $Tuple2(nil, fee)
752752 }
753753
754754
755755
756756 @Callable(i)
757757 func getOutFeeREADONLY (poolAddress) = {
758758 let fee = intOrDefaultOrFallback(keyOutFee(poolAddress), keyOutFeeDefault(), fraction(10, MULT8, 10000))
759759 $Tuple2(nil, fee)
760760 }
761761
762762
763763
764764 @Callable(i)
765765 func getPoolStatusREADONLY (poolAddress) = {
766766 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
767767 let amountAssetInternal = poolAssets[1]
768768 let priceAssetInternal = poolAssets[2]
769769 let cfg = split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
770770 $Tuple2(nil, parseIntValue(cfg[idxPoolStatus]))
771771 }
772772
773773
774774 @Verifier(tx)
775775 func verify () = {
776776 let targetPublicKey = match managerPublicKeyOrUnit() {
777777 case pk: ByteVector =>
778778 pk
779779 case _: Unit =>
780780 tx.senderPublicKey
781781 case _ =>
782782 throw("Match error")
783783 }
784784 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
785785 }
786786

github/deemru/w8io/169f3d6 
64.15 ms