tx · 6BSd8JiJrFHfk31qb713HJUFZd3Cz1XRBBuPMcGxUTfC

3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai:  -0.04200000 Waves

2024.02.21 11:09 [2985740] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves

{ "type": 13, "id": "6BSd8JiJrFHfk31qb713HJUFZd3Cz1XRBBuPMcGxUTfC", "fee": 4200000, "feeAssetId": null, "timestamp": 1708502969429, "version": 2, "chainId": 84, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "wQNJW75VKNJsk1Vbgd1Jogu6kGeqkhqhM6Xwr2U4XdUJRKfQkM9ZU3V1F64cCQK9c5qPxQT1YWaoK8xxnQR5GH8" ], "script": "base64:BgLXAQgCEgASBAoCCAgSBAoCCAgSAwoBCBIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIECgIIGBIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCBIDCgEIhgEABlNDQUxFOAAIAAVNVUxUOACAwtcvAAZNVUxUMTIAgKCUpY0dAAdTQ0FMRTE4ABIABk1VTFQxOAkAtgIBAICAkLu61q3wDQAOUE9PTFdFSUdIVE1VTFQFBU1VTFQ4AA5HV1h2aXJ0dWFsUE9PTAIOR1dYdmlydHVhbFBPT0wADGxhYmVsUG9vbHNMcAIIUE9PTFNfTFAADWRlZmF1bHRTcHJlYWQAgIl6AAt3YXZlc1N0cmluZwIFV0FWRVMAEGNvbnRyYWN0RmlsZW5hbWUCD2ZhY3Rvc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uY2VXcmFwcGVyUkVBRE9OTFkJAMwIAgUPcHJpY2VBc3NldElkU3RyBQNuaWwFA25pbAMJAAECBQFAAgNJbnQFAUAJAAIBCQCsAgIJAAMBBQFAAhggY291bGRuJ3QgYmUgY2FzdCB0byBJbnQEFmFtb3VudEFzc2V0QmFsYW5jZUlzT2sJAGcCBRJhbW91bnRBc3NldEJhbGFuY2UJAGkCBRRhbW91bnRBc3NldE1pbkFtb3VudAACBBVwcmljZUFzc2V0QmFsYW5jZUlzT2sJAGcCBRFwcmljZUFzc2V0QmFsYW5jZQkAaQIFE3ByaWNlQXNzZXRNaW5BbW91bnQAAgQLYmFsYW5jZUlzT2sDBRZhbW91bnRBc3NldEJhbGFuY2VJc09rBRVwcmljZUFzc2V0QmFsYW5jZUlzT2sHCQCUCgIFA25pbAULYmFsYW5jZUlzT2sBAnR4AQZ2ZXJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXm+agdY", "height": 2985740, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5Lj4xDo3LTXdfCyCUJVTgtzYjcj7PrPBnHzuU7tW4oKE Next: HjqtFmehXKdA6RFVXN35LMqvtRRfSksAXjkyedHMMfMF Diff:
OldNewDifferences
359359 }
360360
361361
362+func isManager (i) = match managerPublicKeyOrUnit() {
363+ case pk: ByteVector =>
364+ (i.callerPublicKey == pk)
365+ case _: Unit =>
366+ (i.caller == this)
367+ case _ =>
368+ throw("Match error")
369+}
370+
371+
362372 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)
363373
364374
397407 if (containsElement(adminPKs, toBase58String(i.callerPublicKey)))
398408 then true
399409 else {
400- let isManager = mustManager(i)
401- if ((isManager == isManager))
410+ let ch = mustManager(i)
411+ if ((ch == ch))
402412 then true
403413 else throw("Strict value is not equal to itself.")
404414 }
445455
446456
447457 func getPoolCreator (poolContractAddress) = {
448- let $t01610316240 = getAssetsDataFromPoolAddress(poolContractAddress)
449- let amountAssetId = $t01610316240._1
450- let priceAssetId = $t01610316240._2
451- let lpAssetId = $t01610316240._3
452- let amountAssetInternal = $t01610316240._4
453- let priceAssetInternal = $t01610316240._5
458+ let $t01626216399 = getAssetsDataFromPoolAddress(poolContractAddress)
459+ let amountAssetId = $t01626216399._1
460+ let priceAssetId = $t01626216399._2
461+ let lpAssetId = $t01626216399._3
462+ let amountAssetInternal = $t01626216399._4
463+ let priceAssetInternal = $t01626216399._5
454464 let userPoolsContract = addressFromStringValue(getStringValue(keyUserPoolsContract()))
455465 let poolCreator = invoke(userPoolsContract, "getPoolCreatorREADONLY", [amountAssetId, priceAssetId], nil)
456466 poolCreator
469479
470480
471481 func isPoolEmpty (poolContractAddress) = {
472- let $t01681516952 = getAssetsDataFromPoolAddress(poolContractAddress)
473- let amountAssetId = $t01681516952._1
474- let priceAssetId = $t01681516952._2
475- let lpAssetId = $t01681516952._3
476- let amountAssetInternal = $t01681516952._4
477- let priceAssetInternal = $t01681516952._5
482+ let $t01697417111 = getAssetsDataFromPoolAddress(poolContractAddress)
483+ let amountAssetId = $t01697417111._1
484+ let priceAssetId = $t01697417111._2
485+ let lpAssetId = $t01697417111._3
486+ let amountAssetInternal = $t01697417111._4
487+ let priceAssetInternal = $t01697417111._5
478488 if ((getAddressBalance(poolContractAddress, amountAssetId) == 0))
479489 then (getAddressBalance(poolContractAddress, priceAssetId) == 0)
480490 else false
488498
489499 @Callable(i)
490500 func getPoolLeaseConfigREADONLY (poolAddress,assetId) = {
491- let $t01726717571 = match getInteger(this, keyLeasedRatio(poolAddress, assetId)) {
501+ let $t01742617730 = match getInteger(this, keyLeasedRatio(poolAddress, assetId)) {
492502 case r: Int =>
493503 $Tuple2(true, min([100, max([0, r])]))
494504 case _ =>
499509 $Tuple2(false, 0)
500510 }
501511 }
502- let isLeasable = $t01726717571._1
503- let leasedRatio = $t01726717571._2
512+ let isLeasable = $t01742617730._1
513+ let leasedRatio = $t01742617730._2
504514 let minBalance = match getInteger(this, keyMinBalance(poolAddress, assetId)) {
505515 case b: Int =>
506516 max([0, b])
512522 0
513523 }
514524 }
515- let $t01783718061 = if ((assetId == "WAVES"))
525+ let $t01799618220 = if ((assetId == "WAVES"))
516526 then $Tuple3(valueOrElse(getString(this, keySWavesProxyAddress()), ""), getString(this, valueOrElse(keySWavesAssetId(), "")), MULT12)
517527 else $Tuple3("", "", 0)
518- let proxyAddress = $t01783718061._1
519- let proxyAssetId = $t01783718061._2
520- let proxyRateMul = $t01783718061._3
528+ let proxyAddress = $t01799618220._1
529+ let proxyAssetId = $t01799618220._2
530+ let proxyRateMul = $t01799618220._3
521531 let stakingProfitAddress = valueOrElse(getString(this, keyStakingProfitAddress()), "")
522532 $Tuple2(nil, $Tuple7(isLeasable, leasedRatio, minBalance, proxyAddress, proxyAssetId, proxyRateMul, stakingProfitAddress))
523533 }
10671077 @Callable(i)
10681078 func deletePool (poolContractAddress) = {
10691079 let poolConfig = getPoolConfig(poolContractAddress)
1070- let checkCaller = if ((toString(i.caller) == getPoolCreator(poolContractAddress)))
1071- then if (isPoolEmpty(poolContractAddress))
1072- then true
1073- else throwErr("Pool is not empty")
1074- else mustManager(i)
1080+ let checkCaller = [if (if (isManager(i))
1081+ then true
1082+ else if ((toString(i.caller) == getPoolCreator(poolContractAddress)))
1083+ then isPoolEmpty(poolContractAddress)
1084+ else false)
1085+ then true
1086+ else throwErr("Pool is not empty")]
10751087 if ((checkCaller == checkCaller))
10761088 then {
10771089 let checkWeight = if ((valueOrElse(getInteger(keyPoolToWeight(poolContractAddress)), 0) == 0))
10841096 else throwErr("Pool must be SHUTDOWN (4)")
10851097 if ((checkStatus == checkStatus))
10861098 then {
1087- let $t04091641053 = getAssetsDataFromPoolAddress(poolContractAddress)
1088- let amountAssetId = $t04091641053._1
1089- let priceAssetId = $t04091641053._2
1090- let lpAssetId = $t04091641053._3
1091- let amountAssetInternal = $t04091641053._4
1092- let priceAssetInternal = $t04091641053._5
1099+ let $t04105641193 = getAssetsDataFromPoolAddress(poolContractAddress)
1100+ let amountAssetId = $t04105641193._1
1101+ let priceAssetId = $t04105641193._2
1102+ let lpAssetId = $t04105641193._3
1103+ let amountAssetInternal = $t04105641193._4
1104+ let priceAssetInternal = $t04105641193._5
10931105 let userPoolsContract = addressFromStringValue(getStringValue(keyUserPoolsContract()))
10941106 let userPoolsInvoke = invoke(userPoolsContract, "deletePool", [amountAssetId, priceAssetId], nil)
10951107 if ((userPoolsInvoke == userPoolsInvoke))
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 MULT12 = 1000000000000
99
1010 let SCALE18 = 18
1111
1212 let MULT18 = toBigInt(1000000000000000000)
1313
1414 let POOLWEIGHTMULT = MULT8
1515
1616 let GWXvirtualPOOL = "GWXvirtualPOOL"
1717
1818 let labelPoolsLp = "POOLS_LP"
1919
2020 let defaultSpread = 2000000
2121
2222 let wavesString = "WAVES"
2323
2424 let contractFilename = "factory_v2.ride"
2525
2626 let decimalsMultPrice = ((100 * 1000) * 1000)
2727
2828 let SEP = "__"
2929
3030 let EMPTY = ""
3131
3232 let PoolActive = 1
3333
3434 let PoolPutDisabled = 2
3535
3636 let PoolMatcherDisabled = 3
3737
3838 let PoolShutdown = 4
3939
4040 let idxInternalAssetId = 1
4141
4242 let idxResutActions = 2
4343
4444 let idxIfAssetIdCalculationPerformed = 3
4545
4646 let idxPoolAddress = 1
4747
4848 let idxPoolStatus = 2
4949
5050 let idxPoolLPAssetId = 3
5151
5252 let idxAmtAssetId = 4
5353
5454 let idxPriceAssetId = 5
5555
5656 let idxAmtAssetDcm = 6
5757
5858 let idxPriceAssetDcm = 7
5959
6060 let idxIAmtAssetId = 8
6161
6262 let idxIPriceAssetId = 9
6363
6464 let idxLPAssetDcm = 10
6565
6666 let idxPoolType = 11
6767
6868 let poolLabelWxEmission = "WX_EMISSION"
6969
7070 let validPoolLabels = [poolLabelWxEmission]
7171
7272 func wrapErr (msg) = makeString([contractFilename, ": ", msg], "")
7373
7474
7575 func throwErr (msg) = throw(wrapErr(msg))
7676
7777
7878 func keyAllowedLpScriptHash () = "%s__allowedLpScriptHash"
7979
8080
8181 func keyAllowedLpStableScriptHash () = "%s__allowedLpStableScriptHash"
8282
8383
8484 func swapContract () = "%s__swapContract"
8585
8686
8787 func keyFactoryConfig () = "%s__factoryConfig"
8888
8989
9090 func keyLpTokensList () = "%s__lpTokensList"
9191
9292
9393 func keyPoolScriptHash () = "%s%s__pool__scriptHash"
9494
9595
9696 func keyMatcherPub () = "%s%s__matcher__publicKey"
9797
9898
9999 func keyLegacyFactoryContract () = "%s__legacyFactoryContract"
100100
101101
102102 func keyLegacyPools () = "%s__legacyPools"
103103
104104
105105 func keyManagerPublicKey () = "%s__managerPublicKey"
106106
107107
108108 func keyManagerVaultAddress () = "%s__managerVaultAddress"
109109
110110
111111 func keyAdminPubKeys () = "%s__adminPubKeys"
112112
113113
114114 func keyAssetsStoreContract () = "%s__assetsStoreContract"
115115
116116
117117 func keyVotingEmissionContract () = "%s__votingEmissionContract"
118118
119119
120120 func keyUserPoolsContract () = "%s__userPoolsContract"
121121
122122
123123 func keyPriceAssets () = makeString(["%s", "priceAssets"], SEP)
124124
125125
126126 func keyPriceDecimals () = "%s__priceDecimals"
127127
128128
129129 func keyAllPoolsShutdown () = "%s__shutdown"
130130
131131
132132 func keyNextInternalAssetId () = "%s__nextInternalAssetId"
133133
134134
135135 func keyPoolToWeight (poolAddress) = ("%s%s__poolWeight__" + poolAddress)
136136
137137
138138 func keyPoolToWeightHistory (poolAddress,num) = ((("%s%s__poolWeight__" + poolAddress) + "__") + toString(num))
139139
140140
141141 func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset))
142142
143143
144144 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
145145
146146
147147 func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config")
148148
149149
150150 func keyPoolOneTokenOperationsDisabled (assetsInternal) = {
151151 let $t038783940 = assetsInternal
152152 let amountAssetInternal = $t038783940._1
153153 let priceAssetInternal = $t038783940._2
154154 makeString(["%d%d%s", toString(amountAssetInternal), toString(priceAssetInternal), "oneTokenOperationsDisabled"], SEP)
155155 }
156156
157157
158158 func keyAllPoolsOneTokenOperationsDisabled () = makeString(["%s", "oneTokenOperationsDisabled"], SEP)
159159
160160
161161 func keyPoolSwapDisabled (assetsInternal) = {
162162 let $t042324294 = assetsInternal
163163 let amountAssetInternal = $t042324294._1
164164 let priceAssetInternal = $t042324294._2
165165 makeString(["%d%d%s", toString(amountAssetInternal), toString(priceAssetInternal), "swapDisabled"], SEP)
166166 }
167167
168168
169169 func keyAllPoolsSwapDisabled () = makeString(["%s", "swapDisabled"], SEP)
170170
171171
172172 func keyMappingLpAssetToPoolAssets (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2Pool")
173173
174174
175175 func keyMappingPoolAssetsToLpasset (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + internalAmountAssetIdStr) + "__") + internalPriceAssetIdStr) + "__mappings__PoolAssets2LpAsset")
176176
177177
178178 func keyPoolSpread (poolAddress) = ("%s%s__spread__" + poolAddress)
179179
180180
181181 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2PoolAssets")
182182
183183
184184 func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract")
185185
186186
187187 func keyMappingPoolContractToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
188188
189189
190190 func keyMappingPoolLPAssetToPoolContractAddress (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2PoolContract")
191191
192192
193193 func keyWxEmission (amountAssetId,priceAssetId) = ((("%s%s%s__wxEmission__" + amountAssetId) + "__") + priceAssetId)
194194
195195
196196 func keyInFee (poolAddress) = ("%s%s__inFee__" + poolAddress)
197197
198198
199199 func keyInFeeDefault () = "%s__inFeeDefault"
200200
201201
202202 func keySwapFee (poolAddress) = ("%s%s__swapFee__" + poolAddress)
203203
204204
205205 func keyOutFee (poolAddress) = ("%s%s__outFee__" + poolAddress)
206206
207207
208208 func keyOutFeeDefault () = "%s__outFeeDefault"
209209
210210
211211 func keyPoolAssetDefaultMinAmount () = makeString(["%s", "poolAssetDefaultMinAmount"], SEP)
212212
213213
214214 func keyPoolAssetsMinAmount (assetId) = makeString(["%s%s", "poolAssetMinAmount", assetId], SEP)
215215
216216
217217 func keySkipOrderValidation (poolAddress) = ("%s%s__skipOrderValidation__" + poolAddress)
218218
219219
220220 func keyChangeAmpDelay (poolAddress) = ("%s%s__changeAmpDelay__" + poolAddress)
221221
222222
223223 func keyChangeAmpDelta (poolAddress) = ("%s%s__changeAmpDelta__" + poolAddress)
224224
225225
226226 func keyChangeAmpTarget (poolAddress) = ("%s%s__changeAmpTarget__" + poolAddress)
227227
228228
229229 func keySWavesProxyAddress () = "%s__sWavesProxyAddress"
230230
231231
232232 func keySWavesAssetId () = "%s__sWavesAssetId"
233233
234234
235235 func keyStakingProfitAddress () = "%s__stakingProfitAddress"
236236
237237
238238 func keyLeasedRatio (poolAddress,assetId) = makeString(["%s%s%s", "leasedRatio", poolAddress, assetId], SEP)
239239
240240
241241 func keyLeasedRatioDefault (assetId) = makeString(["%s%s", "leasedRatioDefault", assetId], SEP)
242242
243243
244244 func keyLeasedRatioTolerance (poolAddress,assetId) = makeString(["%s%s%s", "leasedRatioTolerance", poolAddress, assetId], SEP)
245245
246246
247247 func keyMinBalance (poolAddress,assetId) = makeString(["%s%s%s", "minBalance", poolAddress, assetId], SEP)
248248
249249
250250 func keyMinBalanceDefault (assetId) = makeString(["%s%s", "minBalanceDefault", assetId], SEP)
251251
252252
253253 func keyAddressWhitelisted (address) = makeString(["%s%s", "whitelisted", toString(address)], SEP)
254254
255255
256256 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key))
257257
258258
259259 func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key))
260260
261261
262262 func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key))
263263
264264
265265 func parseAssetId (input) = if ((input == wavesString))
266266 then unit
267267 else fromBase58String(input)
268268
269269
270270 func getManagerVaultAddressOrThis () = match getString(keyManagerVaultAddress()) {
271271 case s: String =>
272272 addressFromStringValue(s)
273273 case _ =>
274274 this
275275 }
276276
277277
278278 func toX18 (origVal,origScaleMult) = fraction(toBigInt(origVal), MULT18, toBigInt(origScaleMult))
279279
280280
281281 func fromX18 (val,resultScaleMult) = toInt(fraction(val, toBigInt(resultScaleMult), MULT18))
282282
283283
284284 let IdxFactoryCfgStakingDapp = 1
285285
286286 let IdxFactoryCfgBoostingDapp = 2
287287
288288 let IdxFactoryCfgIdoDapp = 3
289289
290290 let IdxFactoryCfgTeamDapp = 4
291291
292292 let IdxFactoryCfgEmissionDapp = 5
293293
294294 let IdxFactoryCfgRestDapp = 6
295295
296296 let IdxFactoryCfgSlippageDapp = 7
297297
298298 let IdxFactoryCfgDaoDapp = 8
299299
300300 let IdxFactoryCfgMarketingDapp = 9
301301
302302 let IdxFactoryCfgGwxRewardDapp = 10
303303
304304 let IdxFactoryCfgBirdsDapp = 11
305305
306306 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
307307
308308
309309 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
310310
311311
312312 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
313313
314314
315315 func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgGwxRewardDapp])
316316
317317
318318 func getPriceAssets () = match getString(keyPriceAssets()) {
319319 case s: String =>
320320 if ((size(s) == 0))
321321 then nil
322322 else split_4C(s, SEP)
323323 case _ =>
324324 nil
325325 }
326326
327327
328328 func managerPublicKeyOrUnit () = {
329329 let managerVaultAddress = getManagerVaultAddressOrThis()
330330 match getString(managerVaultAddress, keyManagerPublicKey()) {
331331 case s: String =>
332332 fromBase58String(s)
333333 case _: Unit =>
334334 unit
335335 case _ =>
336336 throw("Match error")
337337 }
338338 }
339339
340340
341341 let permissionDeniedError = throwErr("Permission denied")
342342
343343 let testError = throwErr("Test error here")
344344
345345 func mustThis (i) = if ((i.caller == this))
346346 then true
347347 else permissionDeniedError
348348
349349
350350 func mustManager (i) = match managerPublicKeyOrUnit() {
351351 case pk: ByteVector =>
352352 if ((i.callerPublicKey == pk))
353353 then true
354354 else permissionDeniedError
355355 case _: Unit =>
356356 mustThis(i)
357357 case _ =>
358358 throw("Match error")
359359 }
360360
361361
362+func isManager (i) = match managerPublicKeyOrUnit() {
363+ case pk: ByteVector =>
364+ (i.callerPublicKey == pk)
365+ case _: Unit =>
366+ (i.caller == this)
367+ case _ =>
368+ throw("Match error")
369+}
370+
371+
362372 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)
363373
364374
365375 func dataFactoryCfg (stakingAddress,boostingAddress,idoContract,teamContract,emissionContract,restContract,slippageContract) = makeString(["%s%s%s%s%s%s", stakingAddress, boostingAddress, idoContract, teamContract, emissionContract, restContract, slippageContract], SEP)
366376
367377
368378 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)
369379
370380
371381 func dataMappingPoolAssets (internalAmountAssetStr,internalPriceAssetStr) = makeString(["%d%d", toString(internalAmountAssetStr), toString(internalPriceAssetStr)], SEP)
372382
373383
374384 func getPoolConfig (poolAddress) = {
375385 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
376386 let amountAssetInternal = poolAssets[1]
377387 let priceAssetInternal = poolAssets[2]
378388 split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
379389 }
380390
381391
382392 func getInternalAssetIdOrCreate (assetIdStr,incrementor) = {
383393 let internalAssetId = valueOrElse(getInteger(this, keyMappingsBaseAsset2internalId(assetIdStr)), 0)
384394 let currentIndexOfInternalId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
385395 let result = if ((internalAssetId == 0))
386396 then {
387397 let newInternalAssetId = (currentIndexOfInternalId + incrementor)
388398 $Tuple3(newInternalAssetId, [IntegerEntry(keyNextInternalAssetId(), newInternalAssetId), IntegerEntry(keyMappingsBaseAsset2internalId(assetIdStr), newInternalAssetId), StringEntry(keyMappingsInternal2baseAssetId(newInternalAssetId), assetIdStr)], true)
389399 }
390400 else $Tuple3(internalAssetId, nil, false)
391401 result
392402 }
393403
394404
395405 func mustAdmin (i) = {
396406 let adminPKs = split(valueOrElse(getString(keyAdminPubKeys()), EMPTY), SEP)
397407 if (containsElement(adminPKs, toBase58String(i.callerPublicKey)))
398408 then true
399409 else {
400- let isManager = mustManager(i)
401- if ((isManager == isManager))
410+ let ch = mustManager(i)
411+ if ((ch == ch))
402412 then true
403413 else throw("Strict value is not equal to itself.")
404414 }
405415 }
406416
407417
408418 func intOrDefaultOrFallback (key,keyDefault,valueFallback) = valueOrElse(getInteger(this, key), valueOrElse(getInteger(this, keyDefault), valueFallback))
409419
410420
411421 func poolExistsInternal (amountAssetId,priceAssetId) = {
412422 let amountAssetInternal = getInteger(keyMappingsBaseAsset2internalId(amountAssetId))
413423 let priceAssetInternal = getInteger(keyMappingsBaseAsset2internalId(priceAssetId))
414424 if (if ((amountAssetInternal == unit))
415425 then true
416426 else (priceAssetInternal == unit))
417427 then false
418428 else {
419429 let amAs = toString(value(amountAssetInternal))
420430 let prAs = toString(value(priceAssetInternal))
421431 let cfg = getString(keyPoolConfig(amAs, prAs))
422432 let cfgReverse = getString(keyPoolConfig(prAs, amAs))
423433 let exists = if ((cfg != unit))
424434 then true
425435 else (cfgReverse != unit)
426436 exists
427437 }
428438 }
429439
430440
431441 func getAssetsDataFromPoolAddress (poolContractAddress) = {
432442 let poolAssets = match getString(keyMappingPoolContractAddressToPoolAssets(poolContractAddress)) {
433443 case s: String =>
434444 split(s, SEP)
435445 case _ =>
436446 throwErr(makeString([poolContractAddress, "pool is not found"], " "))
437447 }
438448 let amountAssetInternal = parseIntValue(poolAssets[1])
439449 let priceAssetInternal = parseIntValue(poolAssets[2])
440450 let amountAssetId = getStringValue(keyMappingsInternal2baseAssetId(amountAssetInternal))
441451 let priceAssetId = getStringValue(keyMappingsInternal2baseAssetId(priceAssetInternal))
442452 let lpAssetId = getStringValue(keyMappingPoolContractToLPAsset(poolContractAddress))
443453 $Tuple5(amountAssetId, priceAssetId, lpAssetId, amountAssetInternal, priceAssetInternal)
444454 }
445455
446456
447457 func getPoolCreator (poolContractAddress) = {
448- let $t01610316240 = getAssetsDataFromPoolAddress(poolContractAddress)
449- let amountAssetId = $t01610316240._1
450- let priceAssetId = $t01610316240._2
451- let lpAssetId = $t01610316240._3
452- let amountAssetInternal = $t01610316240._4
453- let priceAssetInternal = $t01610316240._5
458+ let $t01626216399 = getAssetsDataFromPoolAddress(poolContractAddress)
459+ let amountAssetId = $t01626216399._1
460+ let priceAssetId = $t01626216399._2
461+ let lpAssetId = $t01626216399._3
462+ let amountAssetInternal = $t01626216399._4
463+ let priceAssetInternal = $t01626216399._5
454464 let userPoolsContract = addressFromStringValue(getStringValue(keyUserPoolsContract()))
455465 let poolCreator = invoke(userPoolsContract, "getPoolCreatorREADONLY", [amountAssetId, priceAssetId], nil)
456466 poolCreator
457467 }
458468
459469
460470 func getAddressBalance (addressString,assetIdString) = {
461471 let address = addressFromStringValue(addressString)
462472 if ((assetIdString == "WAVES"))
463473 then wavesBalance(address).regular
464474 else {
465475 let assetId = fromBase58String(assetIdString)
466476 assetBalance(address, assetId)
467477 }
468478 }
469479
470480
471481 func isPoolEmpty (poolContractAddress) = {
472- let $t01681516952 = getAssetsDataFromPoolAddress(poolContractAddress)
473- let amountAssetId = $t01681516952._1
474- let priceAssetId = $t01681516952._2
475- let lpAssetId = $t01681516952._3
476- let amountAssetInternal = $t01681516952._4
477- let priceAssetInternal = $t01681516952._5
482+ let $t01697417111 = getAssetsDataFromPoolAddress(poolContractAddress)
483+ let amountAssetId = $t01697417111._1
484+ let priceAssetId = $t01697417111._2
485+ let lpAssetId = $t01697417111._3
486+ let amountAssetInternal = $t01697417111._4
487+ let priceAssetInternal = $t01697417111._5
478488 if ((getAddressBalance(poolContractAddress, amountAssetId) == 0))
479489 then (getAddressBalance(poolContractAddress, priceAssetId) == 0)
480490 else false
481491 }
482492
483493
484494 @Callable(i)
485495 func getSwapContractREADONLY () = $Tuple2(nil, getStringOrFail(swapContract()))
486496
487497
488498
489499 @Callable(i)
490500 func getPoolLeaseConfigREADONLY (poolAddress,assetId) = {
491- let $t01726717571 = match getInteger(this, keyLeasedRatio(poolAddress, assetId)) {
501+ let $t01742617730 = match getInteger(this, keyLeasedRatio(poolAddress, assetId)) {
492502 case r: Int =>
493503 $Tuple2(true, min([100, max([0, r])]))
494504 case _ =>
495505 match getInteger(this, keyLeasedRatioDefault(assetId)) {
496506 case rd: Int =>
497507 $Tuple2(true, min([100, max([0, rd])]))
498508 case _ =>
499509 $Tuple2(false, 0)
500510 }
501511 }
502- let isLeasable = $t01726717571._1
503- let leasedRatio = $t01726717571._2
512+ let isLeasable = $t01742617730._1
513+ let leasedRatio = $t01742617730._2
504514 let minBalance = match getInteger(this, keyMinBalance(poolAddress, assetId)) {
505515 case b: Int =>
506516 max([0, b])
507517 case _ =>
508518 match getInteger(this, keyMinBalanceDefault(assetId)) {
509519 case bd: Int =>
510520 max([0, bd])
511521 case _ =>
512522 0
513523 }
514524 }
515- let $t01783718061 = if ((assetId == "WAVES"))
525+ let $t01799618220 = if ((assetId == "WAVES"))
516526 then $Tuple3(valueOrElse(getString(this, keySWavesProxyAddress()), ""), getString(this, valueOrElse(keySWavesAssetId(), "")), MULT12)
517527 else $Tuple3("", "", 0)
518- let proxyAddress = $t01783718061._1
519- let proxyAssetId = $t01783718061._2
520- let proxyRateMul = $t01783718061._3
528+ let proxyAddress = $t01799618220._1
529+ let proxyAssetId = $t01799618220._2
530+ let proxyRateMul = $t01799618220._3
521531 let stakingProfitAddress = valueOrElse(getString(this, keyStakingProfitAddress()), "")
522532 $Tuple2(nil, $Tuple7(isLeasable, leasedRatio, minBalance, proxyAddress, proxyAssetId, proxyRateMul, stakingProfitAddress))
523533 }
524534
525535
526536
527537 @Callable(i)
528538 func getLpAssetFromPoolAssetsREADONLY (asset1,asset2) = if (if ((asset1 == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
529539 then (asset2 == "WAVES")
530540 else false)
531541 then $Tuple2(nil, unit)
532542 else {
533543 let assetNum1 = value(getInteger(this, keyMappingsBaseAsset2internalId(asset1)))
534544 let assetNum2 = value(getInteger(this, keyMappingsBaseAsset2internalId(asset2)))
535545 let ee = getString(this, keyMappingPoolAssetsToLpasset(toString(assetNum1), toString(assetNum2)))
536546 let res = if ((ee == unit))
537547 then unit
538548 else drop(value(ee), 4)
539549 $Tuple2(nil, res)
540550 }
541551
542552
543553
544554 @Callable(i)
545555 func getPoolAddressFromLpAssetREADONLY (lp) = $Tuple2(nil, valueOrElse(getString(this, keyMappingPoolLPAssetToPoolContractAddress(lp)), ""))
546556
547557
548558
549559 @Callable(i)
550560 func constructor (stakingContract,boostingContract,idoContract,teamContract,emissionContract,restContract,slpipageContract,priceDecimals) = {
551561 let checkCaller = mustManager(i)
552562 if ((checkCaller == checkCaller))
553563 then [StringEntry(keyFactoryConfig(), dataFactoryCfg(stakingContract, boostingContract, idoContract, teamContract, emissionContract, restContract, slpipageContract)), IntegerEntry(keyPriceDecimals(), priceDecimals)]
554564 else throw("Strict value is not equal to itself.")
555565 }
556566
557567
558568
559569 @Callable(i)
560570 func constructorV2 (mathcherPub58Str) = {
561571 let checkCaller = mustManager(i)
562572 if ((checkCaller == checkCaller))
563573 then {
564574 let mathcerPub = addressFromPublicKey(fromBase58String(mathcherPub58Str))
565575 if ((mathcerPub == mathcerPub))
566576 then [StringEntry(keyMatcherPub(), mathcherPub58Str)]
567577 else throw("Strict value is not equal to itself.")
568578 }
569579 else throw("Strict value is not equal to itself.")
570580 }
571581
572582
573583
574584 @Callable(i)
575585 func constructorV3 (daoContract,marketingContract,gwxRewardsContract,birdsContract) = {
576586 let checkCaller = mustManager(i)
577587 if ((checkCaller == checkCaller))
578588 then {
579589 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
580590 [StringEntry(keyFactoryConfig(), dataFactoryCfgV3(factoryCfg[1], factoryCfg[2], factoryCfg[3], factoryCfg[4], factoryCfg[5], factoryCfg[6], factoryCfg[7], daoContract, marketingContract, gwxRewardsContract, birdsContract))]
581591 }
582592 else throw("Strict value is not equal to itself.")
583593 }
584594
585595
586596
587597 @Callable(i)
588598 func constructorV4 (legacyFactoryContract,legacyPools) = {
589599 let checkCaller = mustManager(i)
590600 if ((checkCaller == checkCaller))
591601 then [StringEntry(keyLegacyFactoryContract(), legacyFactoryContract), StringEntry(keyLegacyPools(), makeString(legacyPools, SEP))]
592602 else throw("Strict value is not equal to itself.")
593603 }
594604
595605
596606
597607 @Callable(i)
598608 func constructorV5 (assetsStoreContract) = {
599609 let checkCaller = mustManager(i)
600610 if ((checkCaller == checkCaller))
601611 then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)]
602612 else throw("Strict value is not equal to itself.")
603613 }
604614
605615
606616
607617 @Callable(i)
608618 func constructorV6 (votingEmissionContract,priceAssets) = {
609619 let cheks = [mustManager(i), if ((addressFromString(votingEmissionContract) != unit))
610620 then true
611621 else "invalid voting emission contract address"]
612622 if ((cheks == cheks))
613623 then [StringEntry(keyVotingEmissionContract(), votingEmissionContract), StringEntry(keyPriceAssets(), makeString(priceAssets, SEP))]
614624 else throw("Strict value is not equal to itself.")
615625 }
616626
617627
618628
619629 @Callable(i)
620630 func setAdmins (adminPubKeys) = {
621631 let checkCaller = mustManager(i)
622632 if ((checkCaller == checkCaller))
623633 then [StringEntry(keyAdminPubKeys(), makeString(adminPubKeys, SEP))]
624634 else throw("Strict value is not equal to itself.")
625635 }
626636
627637
628638
629639 @Callable(i)
630640 func activateNewPool (poolAddress,amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight,poolType,logo) = {
631641 let checkCaller = mustAdmin(i)
632642 if ((checkCaller == checkCaller))
633643 then if (isDefined(getString(keyMappingPoolContractAddressToPoolAssets(poolAddress))))
634644 then throwErr((("Pool address " + poolAddress) + " already registered."))
635645 else {
636646 let internalAmountAssetData = getInternalAssetIdOrCreate(amountAssetStr, 1)
637647 let internalAmountAssetId = internalAmountAssetData._1
638648 let internalPriceAssetData = getInternalAssetIdOrCreate(priceAssetStr, if (internalAmountAssetData._3)
639649 then 2
640650 else 1)
641651 let internalPriceAssetId = internalPriceAssetData._1
642652 let poolAccountScriptHash = valueOrErrorMessage(scriptHash(addressFromStringValue(poolAddress)), ("No script has been found on pool account " + poolAddress))
643653 let ethalonPoolAccountScriptHash = getBinaryValue(keyPoolScriptHash())
644654 let poolExists = poolExistsInternal(amountAssetStr, priceAssetStr)
645655 if (poolExists)
646656 then throwErr((((("Pool " + amountAssetStr) + "/") + priceAssetStr) + " has already been activated."))
647657 else {
648658 let poolConfigValue = value(getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId))))
649659 let amountAssetsDecimals = if ((amountAssetStr == "WAVES"))
650660 then decimalsMultPrice
651661 else pow(10, 0, value(assetInfo(fromBase58String(amountAssetStr))).decimals, 0, 0, DOWN)
652662 let priceAssetsDecimals = if ((priceAssetStr == "WAVES"))
653663 then decimalsMultPrice
654664 else pow(10, 0, value(assetInfo(fromBase58String(priceAssetStr))).decimals, 0, 0, DOWN)
655665 let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true)
656666 let lpAssetId = calculateAssetId(lpAssetIssueAction)
657667 let lpAssetIdStr = toBase58String(lpAssetId)
658668 let poolActivateInvokeResult = invoke(addressFromStringValue(poolAddress), "activate", [amountAssetStr, priceAssetStr], nil)
659669 if ((poolActivateInvokeResult == poolActivateInvokeResult))
660670 then if ((poolActivateInvokeResult != "success"))
661671 then throwErr("Pool initialisation error happened.")
662672 else {
663673 let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract()))
664674 let createOrUpdateLpAssetInv = invoke(assetsStoreContract, "createOrUpdate", [lpAssetIdStr, lpAssetName, false], nil)
665675 if ((createOrUpdateLpAssetInv == createOrUpdateLpAssetInv))
666676 then {
667677 let addPoolsLpLabelInv = invoke(assetsStoreContract, "addLabel", [lpAssetIdStr, labelPoolsLp], nil)
668678 if ((addPoolsLpLabelInv == addPoolsLpLabelInv))
669679 then {
670680 let setLogoInv = invoke(assetsStoreContract, "setLogo", [lpAssetIdStr, logo], nil)
671681 if ((setLogoInv == setLogoInv))
672682 then {
673683 let addAssetsLinkInv = invoke(assetsStoreContract, "addAssetsLink", [amountAssetStr, priceAssetStr, lpAssetIdStr], nil)
674684 if ((addAssetsLinkInv == addAssetsLinkInv))
675685 then {
676686 let increaseAssetPoolsNumberInv = invoke(assetsStoreContract, "increaseAssetPoolsNumber", [amountAssetStr], nil)
677687 if ((increaseAssetPoolsNumberInv == increaseAssetPoolsNumberInv))
678688 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)
679689 else throw("Strict value is not equal to itself.")
680690 }
681691 else throw("Strict value is not equal to itself.")
682692 }
683693 else throw("Strict value is not equal to itself.")
684694 }
685695 else throw("Strict value is not equal to itself.")
686696 }
687697 else throw("Strict value is not equal to itself.")
688698 }
689699 else throw("Strict value is not equal to itself.")
690700 }
691701 }
692702 else throw("Strict value is not equal to itself.")
693703 }
694704
695705
696706
697707 @Callable(i)
698708 func managePool (poolAddress,newStatus) = {
699709 let checkCaller = mustManager(i)
700710 if ((checkCaller == checkCaller))
701711 then {
702712 let poolConfig = getPoolConfig(poolAddress)
703713 let poolStatus = poolConfig[idxPoolStatus]
704714 let lpAssetIdStr = poolConfig[idxPoolLPAssetId]
705715 let amountAssetStr = poolConfig[idxAmtAssetId]
706716 let priceAssetStr = poolConfig[idxPriceAssetId]
707717 let amountAssetsDecimals = parseIntValue(poolConfig[idxAmtAssetDcm])
708718 let priceAssetsDecimals = parseIntValue(poolConfig[idxPriceAssetDcm])
709719 let internalAmountAssetId = parseIntValue(poolConfig[idxIAmtAssetId])
710720 let internalPriceAssetId = parseIntValue(poolConfig[idxIPriceAssetId])
711721 let lpAssetDcm = parseIntValue(poolConfig[idxLPAssetDcm])
712722 let poolType = poolConfig[idxPoolType]
713723 [StringEntry(keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)), dataPoolCfg(poolAddress, toString(newStatus), lpAssetIdStr, amountAssetStr, priceAssetStr, amountAssetsDecimals, priceAssetsDecimals, internalAmountAssetId, internalPriceAssetId, lpAssetDcm, poolType))]
714724 }
715725 else throw("Strict value is not equal to itself.")
716726 }
717727
718728
719729
720730 @Callable(i)
721731 func emit (amountToEmit) = {
722732 let caller = i.caller
723733 let originCaller = i.originCaller
724734 let lpAssetRequested = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
725735 let lpAsset = fromBase58String(lpAssetRequested)
726736 let legacyPools = split(valueOrElse(getString(keyLegacyPools()), EMPTY), SEP)
727737 let legacyFactoryContract = addressFromStringValue(valueOrErrorMessage(getString(keyLegacyFactoryContract()), "Legacy factory contract does not exists."))
728738 if ((0 >= amountToEmit))
729739 then nil
730740 else if (containsElement(legacyPools, toString(caller)))
731741 then $Tuple2(nil, legacyFactoryContract)
732742 else $Tuple2([Reissue(lpAsset, amountToEmit, true), ScriptTransfer(i.caller, amountToEmit, lpAsset)], "success")
733743 }
734744
735745
736746
737747 @Callable(i)
738748 func burn (amountToBurn) = {
739749 let caller = i.caller
740750 let originCaller = i.originCaller
741751 let payment = value(i.payments[0])
742752 let paymentAmount = value(payment.amount)
743753 let inAmountAssetId = toBase58String(value(payment.assetId))
744754 let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
745755 if ((inAmountAssetId != lpAssetRequestedForBurning))
746756 then throwErr("Invalid asset passed.")
747757 else if ((amountToBurn != paymentAmount))
748758 then throwErr("Invalid amount passed.")
749759 else {
750760 let lpAsset = fromBase58String(lpAssetRequestedForBurning)
751761 $Tuple2([Burn(lpAsset, amountToBurn)], "success")
752762 }
753763 }
754764
755765
756766
757767 @Callable(i)
758768 func modifyWeight (lpAssetId,share) = {
759769 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionContract()), "")))
760770 then true
761771 else mustManager(i)
762772 if ((checkCaller == checkCaller))
763773 then {
764774 let poolContractAddress = getStringOrFail(keyMappingPoolLPAssetToPoolContractAddress(lpAssetId))
765775 let poolWeightKey = keyPoolToWeight(poolContractAddress)
766776 let gwxWeightKey = keyPoolToWeight(GWXvirtualPOOL)
767777 let gwxWeight = valueOrElse(getInteger(gwxWeightKey), 0)
768778 let poolWeight = valueOrElse(getInteger(poolWeightKey), 0)
769779 let poolWeightNew = share
770780 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
771781 let stakingContract = getStakingAddressOrFail(factoryCfg)
772782 let onModifyWeightInv = invoke(stakingContract, "onModifyWeight", [lpAssetId, poolContractAddress], nil)
773783 if ((onModifyWeightInv == onModifyWeightInv))
774784 then {
775785 let gwxVirtualPoolActions = if ((gwxWeight == 0))
776786 then nil
777787 else [IntegerEntry(gwxWeightKey, 0)]
778788 let poolWeightHistoryKey = keyPoolToWeightHistory(poolContractAddress, 0)
779789 let poolWeightHistoryOrUnit = getInteger(poolWeightHistoryKey)
780790 let poolWeightHistoryActions = if ((poolWeightHistoryOrUnit == unit))
781791 then nil
782792 else [DeleteEntry(poolWeightHistoryKey)]
783793 (([IntegerEntry(poolWeightKey, poolWeightNew)] ++ gwxVirtualPoolActions) ++ poolWeightHistoryActions)
784794 }
785795 else throw("Strict value is not equal to itself.")
786796 }
787797 else throw("Strict value is not equal to itself.")
788798 }
789799
790800
791801
792802 @Callable(i)
793803 func modifyWeights (btcPoolAddress,ethPoolAddress,ethBtcPoolAddress,usdcUsdtPoolAddress) = {
794804 let checkCaller = mustManager(i)
795805 if ((checkCaller == checkCaller))
796806 then {
797807 let ethBtcWeightNew = ((5 * POOLWEIGHTMULT) / 100)
798808 let usdcUsdtWeightNew = ((5 * POOLWEIGHTMULT) / 100)
799809 let weightDecrement = ((5 * POOLWEIGHTMULT) / 100)
800810 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
801811 let stakingDapp = getStakingAddressOrFail(factoryCfg)
802812 let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg)
803813 let btcWeightKEY = keyPoolToWeight(btcPoolAddress)
804814 let ethWeightKEY = keyPoolToWeight(ethPoolAddress)
805815 let ethBtcWeightKEY = keyPoolToWeight(ethBtcPoolAddress)
806816 let usdcUsdtWeightKEY = keyPoolToWeight(usdcUsdtPoolAddress)
807817 let btcWeight = getIntOrFail(btcWeightKEY)
808818 let ethWeight = getIntOrFail(ethWeightKEY)
809819 let btcWeightNew = (btcWeight - weightDecrement)
810820 let ethWeightNew = (ethWeight - weightDecrement)
811821 if ((0 >= btcWeightNew))
812822 then throwErr(("invalid btcWeightNew: " + toString(btcWeightNew)))
813823 else if ((0 >= ethWeightNew))
814824 then throwErr(("invalid ethWeightNew: " + toString(ethWeightNew)))
815825 else {
816826 let btcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(btcPoolAddress))
817827 let ethLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethPoolAddress))
818828 let ethBtcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethBtcPoolAddress))
819829 let usdcUsdtLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(usdcUsdtPoolAddress))
820830 let onModifyWeightBtc = invoke(stakingDapp, "onModifyWeight", [btcLpAssetIdStr, btcPoolAddress], nil)
821831 if ((onModifyWeightBtc == onModifyWeightBtc))
822832 then {
823833 let onModifyWeightEth = invoke(stakingDapp, "onModifyWeight", [ethLpAssetIdStr, ethPoolAddress], nil)
824834 if ((onModifyWeightEth == onModifyWeightEth))
825835 then {
826836 let onModifyWeightEthBtc = invoke(stakingDapp, "onModifyWeight", [ethBtcLpAssetIdStr, ethBtcPoolAddress], nil)
827837 if ((onModifyWeightEthBtc == onModifyWeightEthBtc))
828838 then {
829839 let onModifyWeightUsdcUsdt = invoke(stakingDapp, "onModifyWeight", [usdcUsdtLpAssetIdStr, usdcUsdtPoolAddress], nil)
830840 if ((onModifyWeightUsdcUsdt == onModifyWeightUsdcUsdt))
831841 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)]
832842 else throw("Strict value is not equal to itself.")
833843 }
834844 else throw("Strict value is not equal to itself.")
835845 }
836846 else throw("Strict value is not equal to itself.")
837847 }
838848 else throw("Strict value is not equal to itself.")
839849 }
840850 }
841851 else throw("Strict value is not equal to itself.")
842852 }
843853
844854
845855
846856 @Callable(i)
847857 func checkWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
848858 let haveLabel = match getBoolean(keyWxEmission(amountAssetId, priceAssetId)) {
849859 case b: Boolean =>
850860 b
851861 case _ =>
852862 false
853863 }
854864 $Tuple2(nil, haveLabel)
855865 }
856866
857867
858868
859869 @Callable(i)
860870 func setWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
861871 let checkCaller = mustAdmin(i)
862872 if ((checkCaller == checkCaller))
863873 then $Tuple2([BooleanEntry(keyWxEmission(amountAssetId, priceAssetId), true)], unit)
864874 else throw("Strict value is not equal to itself.")
865875 }
866876
867877
868878
869879 @Callable(i)
870880 func deleteWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
871881 let checkCaller = if ((i.caller == this))
872882 then true
873883 else mustAdmin(i)
874884 if ((checkCaller == checkCaller))
875885 then $Tuple2([DeleteEntry(keyWxEmission(amountAssetId, priceAssetId))], unit)
876886 else throw("Strict value is not equal to itself.")
877887 }
878888
879889
880890
881891 @Callable(i)
882892 func onVerificationLoss (assetId) = {
883893 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyAssetsStoreContract()), "")))
884894 then true
885895 else mustManager(i)
886896 if ((checkCaller == checkCaller))
887897 then {
888898 let priceAssets = getPriceAssets()
889899 let checkPriceAssetsSize = if ((size(priceAssets) > 0))
890900 then true
891901 else throwErr("invalid price assets")
892902 if ((checkPriceAssetsSize == checkPriceAssetsSize))
893903 then {
894904 func cb (acc,priceAsset) = {
895905 let r = invoke(this, "deleteWxEmissionPoolLabel", [assetId, priceAsset], nil)
896906 if ((r == r))
897907 then unit
898908 else throw("Strict value is not equal to itself.")
899909 }
900910
901911 let actions = {
902912 let $l = priceAssets
903913 let $s = size($l)
904914 let $acc0 = unit
905915 func $f0_1 ($a,$i) = if (($i >= $s))
906916 then $a
907917 else cb($a, $l[$i])
908918
909919 func $f0_2 ($a,$i) = if (($i >= $s))
910920 then $a
911921 else throw("List size exceeds 13")
912922
913923 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13)
914924 }
915925 if ((actions == actions))
916926 then $Tuple2(nil, unit)
917927 else throw("Strict value is not equal to itself.")
918928 }
919929 else throw("Strict value is not equal to itself.")
920930 }
921931 else throw("Strict value is not equal to itself.")
922932 }
923933
924934
925935
926936 @Callable(i)
927937 func isPoolOneTokenOperationsDisabledREADONLY (poolAddress) = {
928938 let poolConfig = getPoolConfig(poolAddress)
929939 let assetsInternal = $Tuple2(parseIntValue(poolConfig[idxIAmtAssetId]), parseIntValue(poolConfig[idxIPriceAssetId]))
930940 let poolOneTokenOperationsDisabled = valueOrElse(getBoolean(keyPoolOneTokenOperationsDisabled(assetsInternal)), false)
931941 let allPoolsOneTokenOperationsDisabled = valueOrElse(getBoolean(keyAllPoolsOneTokenOperationsDisabled()), false)
932942 $Tuple2(nil, if (allPoolsOneTokenOperationsDisabled)
933943 then true
934944 else poolOneTokenOperationsDisabled)
935945 }
936946
937947
938948
939949 @Callable(i)
940950 func isPoolSwapDisabledREADONLY (poolAddress) = {
941951 let poolConfig = getPoolConfig(poolAddress)
942952 let assetsInternal = $Tuple2(parseIntValue(poolConfig[idxIAmtAssetId]), parseIntValue(poolConfig[idxIPriceAssetId]))
943953 let poolSwapDisabled = valueOrElse(getBoolean(keyPoolSwapDisabled(assetsInternal)), false)
944954 let allPoolsSwapDisabled = valueOrElse(getBoolean(keyAllPoolsSwapDisabled()), false)
945955 $Tuple2(nil, if (allPoolsSwapDisabled)
946956 then true
947957 else poolSwapDisabled)
948958 }
949959
950960
951961
952962 @Callable(i)
953963 func getInFeeREADONLY (poolAddress) = {
954964 let fee = intOrDefaultOrFallback(keyInFee(poolAddress), keyInFeeDefault(), 0)
955965 $Tuple2(nil, fee)
956966 }
957967
958968
959969
960970 @Callable(i)
961971 func getOutFeeREADONLY (poolAddress) = {
962972 let fee = intOrDefaultOrFallback(keyOutFee(poolAddress), keyOutFeeDefault(), fraction(10, MULT8, 10000))
963973 $Tuple2(nil, fee)
964974 }
965975
966976
967977
968978 @Callable(i)
969979 func getSwapFeeREADONLY (poolAddressStr) = {
970980 let feeOption = match getString(this, keySwapFee(poolAddressStr)) {
971981 case s: String =>
972982 let parts = split(s, SEP)
973983 let poolFee = parseIntValue(parts[1])
974984 let protocolFee = parseIntValue(parts[2])
975985 $Tuple2(poolFee, protocolFee)
976986 case _: Unit =>
977987 unit
978988 case _ =>
979989 throw("Match error")
980990 }
981991 $Tuple2(nil, feeOption)
982992 }
983993
984994
985995
986996 @Callable(i)
987997 func poolInfoREADONLY (amountAssetIdStr,priceAssetIdStr) = {
988998 let amountAssetInternalIdOption = getInteger(this, keyMappingsBaseAsset2internalId(amountAssetIdStr))
989999 let priceAssetInternalIdOption = getInteger(this, keyMappingsBaseAsset2internalId(priceAssetIdStr))
9901000 let poolContractAddressOption = getString(this, keyMappingPoolAssetsToPoolContractAddress(value(amountAssetInternalIdOption), value(priceAssetInternalIdOption)))
9911001 let lpAssetIdOption = getString(this, keyMappingPoolContractToLPAsset(value(poolContractAddressOption)))
9921002 let poolExists = if (if (isDefined(amountAssetInternalIdOption))
9931003 then isDefined(priceAssetInternalIdOption)
9941004 else false)
9951005 then isDefined(poolContractAddressOption)
9961006 else false
9971007 let poolInfo = if (poolExists)
9981008 then $Tuple2(addressFromStringValue(value(poolContractAddressOption)), parseAssetId(value(lpAssetIdOption)))
9991009 else unit
10001010 $Tuple2(nil, poolInfo)
10011011 }
10021012
10031013
10041014
10051015 @Callable(i)
10061016 func getPoolStatusREADONLY (poolAddress) = {
10071017 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
10081018 let amountAssetInternal = poolAssets[1]
10091019 let priceAssetInternal = poolAssets[2]
10101020 let cfg = split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
10111021 $Tuple2(nil, parseIntValue(cfg[idxPoolStatus]))
10121022 }
10131023
10141024
10151025
10161026 @Callable(i)
10171027 func getPoolConfigREADONLY (poolAddress) = {
10181028 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
10191029 let amountAssetInternal = poolAssets[1]
10201030 let priceAssetInternal = poolAssets[2]
10211031 let cfg = split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
10221032 $Tuple2(nil, cfg)
10231033 }
10241034
10251035
10261036
10271037 @Callable(i)
10281038 func getPoolConfigByLpAssetIdREADONLY (lpAssetIdStr) = {
10291039 let poolAssets = split(getStringOrFail(keyMappingLpAssetToPoolAssets(lpAssetIdStr)), SEP)
10301040 let amountAssetInternal = poolAssets[1]
10311041 let priceAssetInternal = poolAssets[2]
10321042 let cfg = split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
10331043 $Tuple2(nil, cfg)
10341044 }
10351045
10361046
10371047
10381048 @Callable(i)
10391049 func poolExistsREADONLY (amountAssetId,priceAssetId) = $Tuple2(nil, poolExistsInternal(amountAssetId, priceAssetId))
10401050
10411051
10421052
10431053 @Callable(i)
10441054 func skipOrderValidationREADONLY (poolAddress) = $Tuple2(nil, valueOrElse(getBoolean(keySkipOrderValidation(poolAddress)), false))
10451055
10461056
10471057
10481058 @Callable(i)
10491059 func getChangeAmpConfigREADONLY (poolAddress) = {
10501060 let delay = getIntegerValue(keyChangeAmpDelay(poolAddress))
10511061 let delta = getIntegerValue(keyChangeAmpDelta(poolAddress))
10521062 let target = getIntegerValue(keyChangeAmpTarget(poolAddress))
10531063 $Tuple2(nil, [delay, delta, target])
10541064 }
10551065
10561066
10571067
10581068 @Callable(i)
10591069 func getPoolWeightREADONLY (lpAssetId) = {
10601070 let poolAddress = getStringOrFail(keyMappingPoolLPAssetToPoolContractAddress(lpAssetId))
10611071 let weight = valueOrElse(getInteger(keyPoolToWeight(poolAddress)), 0)
10621072 $Tuple2(nil, weight)
10631073 }
10641074
10651075
10661076
10671077 @Callable(i)
10681078 func deletePool (poolContractAddress) = {
10691079 let poolConfig = getPoolConfig(poolContractAddress)
1070- let checkCaller = if ((toString(i.caller) == getPoolCreator(poolContractAddress)))
1071- then if (isPoolEmpty(poolContractAddress))
1072- then true
1073- else throwErr("Pool is not empty")
1074- else mustManager(i)
1080+ let checkCaller = [if (if (isManager(i))
1081+ then true
1082+ else if ((toString(i.caller) == getPoolCreator(poolContractAddress)))
1083+ then isPoolEmpty(poolContractAddress)
1084+ else false)
1085+ then true
1086+ else throwErr("Pool is not empty")]
10751087 if ((checkCaller == checkCaller))
10761088 then {
10771089 let checkWeight = if ((valueOrElse(getInteger(keyPoolToWeight(poolContractAddress)), 0) == 0))
10781090 then true
10791091 else throwErr("Pool weight is not Zero")
10801092 if ((checkWeight == checkWeight))
10811093 then {
10821094 let checkStatus = if ((poolConfig[idxPoolStatus] == toString(PoolShutdown)))
10831095 then true
10841096 else throwErr("Pool must be SHUTDOWN (4)")
10851097 if ((checkStatus == checkStatus))
10861098 then {
1087- let $t04091641053 = getAssetsDataFromPoolAddress(poolContractAddress)
1088- let amountAssetId = $t04091641053._1
1089- let priceAssetId = $t04091641053._2
1090- let lpAssetId = $t04091641053._3
1091- let amountAssetInternal = $t04091641053._4
1092- let priceAssetInternal = $t04091641053._5
1099+ let $t04105641193 = getAssetsDataFromPoolAddress(poolContractAddress)
1100+ let amountAssetId = $t04105641193._1
1101+ let priceAssetId = $t04105641193._2
1102+ let lpAssetId = $t04105641193._3
1103+ let amountAssetInternal = $t04105641193._4
1104+ let priceAssetInternal = $t04105641193._5
10931105 let userPoolsContract = addressFromStringValue(getStringValue(keyUserPoolsContract()))
10941106 let userPoolsInvoke = invoke(userPoolsContract, "deletePool", [amountAssetId, priceAssetId], nil)
10951107 if ((userPoolsInvoke == userPoolsInvoke))
10961108 then {
10971109 let votingEmissionContract = addressFromStringValue(getStringValue(keyVotingEmissionContract()))
10981110 let votingEmissionInvoke = invoke(votingEmissionContract, "deletePool", [amountAssetId, priceAssetId], nil)
10991111 if ((votingEmissionInvoke == votingEmissionInvoke))
11001112 then {
11011113 let assetsStoreContract = addressFromStringValue(getStringValue(keyAssetsStoreContract()))
11021114 let assetsStoreInvoke = invoke(assetsStoreContract, "deletePool", [amountAssetId, priceAssetId], nil)
11031115 if ((assetsStoreInvoke == assetsStoreInvoke))
11041116 then [DeleteEntry(keyMappingPoolContractToLPAsset(poolContractAddress)), DeleteEntry(keyMappingPoolContractAddressToPoolAssets(poolContractAddress)), DeleteEntry(keyMappingPoolAssetsToLpasset(toString(amountAssetInternal), toString(priceAssetInternal))), DeleteEntry(keyMappingPoolAssetsToPoolContractAddress(amountAssetInternal, priceAssetInternal)), DeleteEntry(keyPoolConfig(toString(amountAssetInternal), toString(priceAssetInternal))), DeleteEntry(keyMappingLpAssetToPoolAssets(lpAssetId)), DeleteEntry(keyMappingPoolLPAssetToPoolContractAddress(lpAssetId)), DeleteEntry(keyWxEmission(amountAssetId, priceAssetId)), DeleteEntry(keyPoolToWeight(poolContractAddress)), DeleteEntry(keyPoolSpread(poolContractAddress)), DeleteEntry(keyInFee(poolContractAddress)), DeleteEntry(keyOutFee(poolContractAddress)), DeleteEntry(keySkipOrderValidation(poolContractAddress)), DeleteEntry(keyChangeAmpDelay(poolContractAddress)), DeleteEntry(keyChangeAmpDelta(poolContractAddress)), DeleteEntry(keyChangeAmpTarget(poolContractAddress))]
11051117 else throw("Strict value is not equal to itself.")
11061118 }
11071119 else throw("Strict value is not equal to itself.")
11081120 }
11091121 else throw("Strict value is not equal to itself.")
11101122 }
11111123 else throw("Strict value is not equal to itself.")
11121124 }
11131125 else throw("Strict value is not equal to itself.")
11141126 }
11151127 else throw("Strict value is not equal to itself.")
11161128 }
11171129
11181130
11191131
11201132 @Callable(i)
11211133 func getPrice (poolAddressStr) = {
11221134 let poolAddress = addressFromStringValue(poolAddressStr)
11231135 let cfg = getPoolConfig(poolAddressStr)
11241136 let lpAssetId = fromBase58String(cfg[idxPoolLPAssetId])
11251137 let amtAssetId = cfg[idxAmtAssetId]
11261138 let priceAssetId = cfg[idxPriceAssetId]
11271139 let poolLpBalance = value(assetInfo(lpAssetId)).quantity
11281140 let accAmtAssetBalance = {
11291141 let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil)
11301142 if ($isInstanceOf(@, "Int"))
11311143 then @
11321144 else throw(($getType(@) + " couldn't be cast to Int"))
11331145 }
11341146 let accPriceAssetBalance = {
11351147 let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil)
11361148 if ($isInstanceOf(@, "Int"))
11371149 then @
11381150 else throw(($getType(@) + " couldn't be cast to Int"))
11391151 }
11401152 let price = if ((poolLpBalance == 0))
11411153 then 0
11421154 else {
11431155 let @ = ({
11441156 let @ = invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLpBalance], nil)
11451157 if ($isInstanceOf(@, "List[Any]"))
11461158 then @
11471159 else throw(($getType(@) + " couldn't be cast to List[Any]"))
11481160 })[0]
11491161 if ($isInstanceOf(@, "String"))
11501162 then @
11511163 else throw(($getType(@) + " couldn't be cast to String"))
11521164 }
11531165 $Tuple2(nil, price)
11541166 }
11551167
11561168
11571169
11581170 @Callable(i)
11591171 func checkBalance (lpAssetIdStr) = {
11601172 let poolAddressStr = getStringOrFail(keyMappingPoolLPAssetToPoolContractAddress(lpAssetIdStr))
11611173 let poolAddress = addressFromStringValue(poolAddressStr)
11621174 let cfg = getPoolConfig(poolAddressStr)
11631175 let amountAssetIdStr = cfg[idxAmtAssetId]
11641176 let priceAssetIdStr = cfg[idxPriceAssetId]
11651177 let assetMinAmountDefault = getIntegerValue(this, keyPoolAssetDefaultMinAmount())
11661178 let amountAssetMinAmount = valueOrElse(getInteger(this, keyPoolAssetsMinAmount(amountAssetIdStr)), assetMinAmountDefault)
11671179 let priceAssetMinAmount = valueOrElse(getInteger(this, keyPoolAssetsMinAmount(priceAssetIdStr)), assetMinAmountDefault)
11681180 let amountAssetBalance = {
11691181 let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amountAssetIdStr], nil)
11701182 if ($isInstanceOf(@, "Int"))
11711183 then @
11721184 else throw(($getType(@) + " couldn't be cast to Int"))
11731185 }
11741186 let priceAssetBalance = {
11751187 let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetIdStr], nil)
11761188 if ($isInstanceOf(@, "Int"))
11771189 then @
11781190 else throw(($getType(@) + " couldn't be cast to Int"))
11791191 }
11801192 let amountAssetBalanceIsOk = (amountAssetBalance >= (amountAssetMinAmount / 2))
11811193 let priceAssetBalanceIsOk = (priceAssetBalance >= (priceAssetMinAmount / 2))
11821194 let balanceIsOk = if (amountAssetBalanceIsOk)
11831195 then priceAssetBalanceIsOk
11841196 else false
11851197 $Tuple2(nil, balanceIsOk)
11861198 }
11871199
11881200
11891201 @Verifier(tx)
11901202 func verify () = {
11911203 let targetPublicKey = match managerPublicKeyOrUnit() {
11921204 case pk: ByteVector =>
11931205 pk
11941206 case _: Unit =>
11951207 tx.senderPublicKey
11961208 case _ =>
11971209 throw("Match error")
11981210 }
11991211 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
12001212 }
12011213

github/deemru/w8io/026f985 
156.81 ms