tx · ABBiMQsDNeNtLhHUPv8n3jhEKTzTcxKbXFavqvFmUacL

3MqAT6VCwdsABD18Abytrmi7EmaLGSVzNKY:  -0.02900000 Waves

2023.02.22 17:27 [2460975] smart account 3MqAT6VCwdsABD18Abytrmi7EmaLGSVzNKY > SELF 0.00000000 Waves

{ "type": 13, "id": "ABBiMQsDNeNtLhHUPv8n3jhEKTzTcxKbXFavqvFmUacL", "fee": 2900000, "feeAssetId": null, "timestamp": 1677076118300, "version": 1, "sender": "3MqAT6VCwdsABD18Abytrmi7EmaLGSVzNKY", "senderPublicKey": "HfB4CZkBhLMntiSTYMMwjyaM3hzcfaPjay5VZ9Pe71BA", "proofs": [ "5iNV8uADnqmUYDqM675wnC4YHywgQQ8qQu7a7tr8aVJsqM6tRErHmUNg4ijrSScm6AqNL2yLJycvsgF3AqN8ouZt" ], "script": "base64:BgKNAQgCEgoKCAgICAgICAgBEgMKAQgSBgoECAgICBIECgIIGBIDCgEIEgQKAggYEgMKAQgSABIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCGQABlNDQUxFOAAIAAVNVUxUOACAwtcvAAdTQ0FMRTE4ABIABk1VTFQxOAkAtgIBAICAkLu61q3wDQAOUE9PTFdFSUdIVE1VTFQFBU1VTFQ4AA5HV1h2aXJ0dWFsUE9PTAIOR1dYdmlydHVhbFBPT0wADGxhYmVsUG9vbHNMcAIIUE9PTFNfTFAADWRlZmF1bHRTcHJlYWQAgIl6ABFkZWNpbWFsc011bHRQcmljZQkAaAIJAGgCAGQA6AcA6AcAA1NFUAICX18ABUVNUFRZAgAAClBvb2xBY3RpdmUAAQAPUG9vbFB1dERpc2FibGVkAAIAE1Bvb2xNYXRjaGVyRGlzYWJsZWQAAwAMUG9vbFNodXRkb3duAAQAEmlkeEludGVybmFsQXNzZXRJZAABAA9pZHhSZXN1dEFjdGlv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twb29sQWRkcmVzcwUDU0VQBBNhbW91bnRBc3NldEludGVybmFsCQCRAwIFCnBvb2xBc3NldHMAAQQScHJpY2VBc3NldEludGVybmFsCQCRAwIFCnBvb2xBc3NldHMAAgQDY2ZnCQC1CQIJAQ9nZXRTdHJpbmdPckZhaWwBCQENa2V5UG9vbENvbmZpZwIFE2Ftb3VudEFzc2V0SW50ZXJuYWwFEnByaWNlQXNzZXRJbnRlcm5hbAUDU0VQCQCUCgIFA25pbAkBDXBhcnNlSW50VmFsdWUBCQCRAwIFA2NmZwUNaWR4UG9vbFN0YXR1cwECdHgBBnZlcmlmeQAED3RhcmdldFB1YmxpY0tleQQHJG1hdGNoMAkBFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAwkAAQIFByRtYXRjaDACCkJ5dGVWZWN0b3IEAnBrBQckbWF0Y2gwBQJwawMJAAECBQckbWF0Y2gwAgRVbml0CAUCdHgPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD3RhcmdldFB1YmxpY0tleQudyio=", "chainId": 84, "height": 2460975, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5xxbHpLQ1J579DHTyCz9ZbVrAnvUqag8v2WQ9mpFWYLt Next: GVsQMFFRz2Aup8rcxdzD8TKzWCsCaMBRa7QNCskNEdMp Diff:
OldNewDifferences
7272 func keyAllowedLpStableAddonScriptHash () = "%s__allowedLpStableAddonScriptHash"
7373
7474
75-func swapContract () = "%s__swapContract"
76-
77-
7875 func keyFactoryConfig () = "%s__factoryConfig"
7976
8077
136133
137134
138135 func keyPoolOneTokenOperationsDisabled (assetsInternal) = {
139- let $t037003762 = assetsInternal
140- let amountAssetInternal = $t037003762._1
141- let priceAssetInternal = $t037003762._2
136+ let $t037273789 = assetsInternal
137+ let amountAssetInternal = $t037273789._1
138+ let priceAssetInternal = $t037273789._2
142139 makeString(["%d%d%s", toString(amountAssetInternal), toString(priceAssetInternal), "oneTokenOperationsDisabled"], SEP)
143140 }
144141
257254
258255 let permissionDeniedError = throw("Permission denied")
259256
260-let testError = throw("Test error here")
261-
262257 func mustThis (i) = if ((i.caller == this))
263258 then true
264259 else permissionDeniedError
323318
324319
325320 func intOrDefaultOrFallback (key,keyDefault,valueFallback) = valueOrElse(getInteger(this, key), valueOrElse(getInteger(this, keyDefault), valueFallback))
326-
327-
328-func poolExistsInternal (amountAssetId,priceAssetId) = {
329- let amountAssetInternal = getInteger(keyMappingsBaseAsset2internalId(amountAssetId))
330- let priceAssetInternal = getInteger(keyMappingsBaseAsset2internalId(priceAssetId))
331- if (if ((amountAssetInternal == unit))
332- then true
333- else (priceAssetInternal == unit))
334- then false
335- else {
336- let amAs = toString(value(amountAssetInternal))
337- let prAs = toString(value(priceAssetInternal))
338- let cfg = getString(keyPoolConfig(amAs, prAs))
339- let cfgReverse = getString(keyPoolConfig(prAs, amAs))
340- let exists = if ((cfg != unit))
341- then true
342- else (cfgReverse != unit)
343- exists
344- }
345- }
346-
347-
348-@Callable(i)
349-func getSwapContractREADONLY () = $Tuple2(nil, getStringOrFail(swapContract()))
350-
351-
352-
353-@Callable(i)
354-func getLpAssetFromPoolAssetsREADONLY (asset1,asset2) = if (if ((asset1 == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
355- then (asset2 == "WAVES")
356- else false)
357- then $Tuple2(nil, unit)
358- else {
359- let assetNum1 = value(getInteger(this, keyMappingsBaseAsset2internalId(asset1)))
360- let assetNum2 = value(getInteger(this, keyMappingsBaseAsset2internalId(asset2)))
361- let ee = getString(this, keyMappingPoolAssetsToLpasset(toString(assetNum1), toString(assetNum2)))
362- let res = if ((ee == unit))
363- then unit
364- else drop(value(ee), 4)
365- $Tuple2(nil, res)
366- }
367-
368-
369-
370-@Callable(i)
371-func getPoolAddressFromLpAssetREADONLY (lp) = $Tuple2(nil, valueOrElse(getString(this, keyMappingPoolLPAssetToPoolContractAddress(lp)), ""))
372-
373321
374322
375323 @Callable(i)
502450 let internalPriceAssetId = internalPriceAssetData._1
503451 let poolAccountScriptHash = valueOrErrorMessage(scriptHash(addressFromStringValue(poolAddress)), ("No script has been found on pool account " + poolAddress))
504452 let ethalonPoolAccountScriptHash = getBinaryValue(keyPoolScriptHash())
505- let poolExists = poolExistsInternal(amountAssetStr, priceAssetStr)
506- if (poolExists)
453+ let poolConfig = getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)))
454+ if (isDefined(poolConfig))
507455 then throw((((("Pool " + amountAssetStr) + "/") + priceAssetStr) + " has already been activated."))
508456 else {
509457 let poolConfigValue = value(getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId))))
823771 }
824772
825773
826-
827-@Callable(i)
828-func getPoolConfigREADONLY (poolAddress) = {
829- let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
830- let amountAssetInternal = poolAssets[1]
831- let priceAssetInternal = poolAssets[2]
832- let cfg = split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
833- $Tuple2(nil, cfg)
834- }
835-
836-
837-
838-@Callable(i)
839-func poolExistsREADONLY (amountAssetId,priceAssetId) = $Tuple2(nil, poolExistsInternal(amountAssetId, priceAssetId))
840-
841-
842774 @Verifier(tx)
843775 func verify () = {
844776 let targetPublicKey = match managerPublicKeyOrUnit() {
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
75-func swapContract () = "%s__swapContract"
76-
77-
7875 func keyFactoryConfig () = "%s__factoryConfig"
7976
8077
8178 func keyLpTokensList () = "%s__lpTokensList"
8279
8380
8481 func keyPoolScriptHash () = "%s%s__pool__scriptHash"
8582
8683
8784 func keyMatcherPub () = "%s%s__matcher__publicKey"
8885
8986
9087 func keyLegacyFactoryContract () = "%s__legacyFactoryContract"
9188
9289
9390 func keyLegacyPools () = "%s__legacyPools"
9491
9592
9693 func keyManagerPublicKey () = "%s__managerPublicKey"
9794
9895
9996 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
10097
10198
10299 func keyAdminPubKeys () = "%s__adminPubKeys"
103100
104101
105102 func keyAssetsStoreContract () = "%s__assetsStoreContract"
106103
107104
108105 func keyVotingEmissionContract () = "%s__votingEmissionContract"
109106
110107
111108 func keyPriceAssets () = makeString(["%s", "priceAssets"], SEP)
112109
113110
114111 func keyPriceDecimals () = "%s__priceDecimals"
115112
116113
117114 func keyAllPoolsShutdown () = "%s__shutdown"
118115
119116
120117 func keyNextInternalAssetId () = "%s__nextInternalAssetId"
121118
122119
123120 func keyPoolToWeight (poolAddress) = ("%s%s__poolWeight__" + poolAddress)
124121
125122
126123 func keyPoolToWeightHistory (poolAddress,num) = ((("%s%s__poolWeight__" + poolAddress) + "__") + toString(num))
127124
128125
129126 func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset))
130127
131128
132129 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
133130
134131
135132 func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config")
136133
137134
138135 func keyPoolOneTokenOperationsDisabled (assetsInternal) = {
139- let $t037003762 = assetsInternal
140- let amountAssetInternal = $t037003762._1
141- let priceAssetInternal = $t037003762._2
136+ let $t037273789 = assetsInternal
137+ let amountAssetInternal = $t037273789._1
138+ let priceAssetInternal = $t037273789._2
142139 makeString(["%d%d%s", toString(amountAssetInternal), toString(priceAssetInternal), "oneTokenOperationsDisabled"], SEP)
143140 }
144141
145142
146143 func keyAllPoolsOneTokenOperationsDisabled () = makeString(["%s", "oneTokenOperationsDisabled"], SEP)
147144
148145
149146 func keyMappingLpAssetToPoolAssets (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2Pool")
150147
151148
152149 func keyMappingPoolAssetsToLpasset (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + internalAmountAssetIdStr) + "__") + internalPriceAssetIdStr) + "__mappings__PoolAssets2LpAsset")
153150
154151
155152 func keyPoolSpread (poolAddress) = ("%s%s__spread__" + poolAddress)
156153
157154
158155 func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2PoolAssets")
159156
160157
161158 func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract")
162159
163160
164161 func keyMappingPoolContractToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset")
165162
166163
167164 func keyMappingPoolLPAssetToPoolContractAddress (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2PoolContract")
168165
169166
170167 func keyWxEmission (amountAssetId,priceAssetId) = ((("%s%s%s__wxEmission__" + amountAssetId) + "__") + priceAssetId)
171168
172169
173170 func keyInFee (poolAddress) = ("%s%s__inFee__" + poolAddress)
174171
175172
176173 func keyInFeeDefault () = "%s__inFeeDefault"
177174
178175
179176 func keyOutFee (poolAddress) = ("%s%s__outFee__" + poolAddress)
180177
181178
182179 func keyOutFeeDefault () = "%s__outFeeDefault"
183180
184181
185182 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key))
186183
187184
188185 func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key))
189186
190187
191188 func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key))
192189
193190
194191 let IdxFactoryCfgStakingDapp = 1
195192
196193 let IdxFactoryCfgBoostingDapp = 2
197194
198195 let IdxFactoryCfgIdoDapp = 3
199196
200197 let IdxFactoryCfgTeamDapp = 4
201198
202199 let IdxFactoryCfgEmissionDapp = 5
203200
204201 let IdxFactoryCfgRestDapp = 6
205202
206203 let IdxFactoryCfgSlippageDapp = 7
207204
208205 let IdxFactoryCfgDaoDapp = 8
209206
210207 let IdxFactoryCfgMarketingDapp = 9
211208
212209 let IdxFactoryCfgGwxRewardDapp = 10
213210
214211 let IdxFactoryCfgBirdsDapp = 11
215212
216213 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
217214
218215
219216 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
220217
221218
222219 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
223220
224221
225222 func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgGwxRewardDapp])
226223
227224
228225 func getPriceAssets () = match getString(keyPriceAssets()) {
229226 case s: String =>
230227 if ((size(s) == 0))
231228 then nil
232229 else split(s, SEP)
233230 case _ =>
234231 nil
235232 }
236233
237234
238235 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
239236 case s: String =>
240237 fromBase58String(s)
241238 case _: Unit =>
242239 unit
243240 case _ =>
244241 throw("Match error")
245242 }
246243
247244
248245 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
249246 case s: String =>
250247 fromBase58String(s)
251248 case _: Unit =>
252249 unit
253250 case _ =>
254251 throw("Match error")
255252 }
256253
257254
258255 let permissionDeniedError = throw("Permission denied")
259256
260-let testError = throw("Test error here")
261-
262257 func mustThis (i) = if ((i.caller == this))
263258 then true
264259 else permissionDeniedError
265260
266261
267262 func mustManager (i) = match managerPublicKeyOrUnit() {
268263 case pk: ByteVector =>
269264 if ((i.callerPublicKey == pk))
270265 then true
271266 else permissionDeniedError
272267 case _: Unit =>
273268 mustThis(i)
274269 case _ =>
275270 throw("Match error")
276271 }
277272
278273
279274 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)
280275
281276
282277 func dataFactoryCfg (stakingAddress,boostingAddress,idoContract,teamContract,emissionContract,restContract,slippageContract) = makeString(["%s%s%s%s%s%s", stakingAddress, boostingAddress, idoContract, teamContract, emissionContract, restContract, slippageContract], SEP)
283278
284279
285280 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)
286281
287282
288283 func dataMappingPoolAssets (internalAmountAssetStr,internalPriceAssetStr) = makeString(["%d%d", toString(internalAmountAssetStr), toString(internalPriceAssetStr)], SEP)
289284
290285
291286 func getPoolConfig (poolAddress) = {
292287 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
293288 let amountAssetInternal = poolAssets[1]
294289 let priceAssetInternal = poolAssets[2]
295290 split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
296291 }
297292
298293
299294 func getInternalAssetIdOrCreate (assetIdStr,incrementor) = {
300295 let internalAssetId = valueOrElse(getInteger(this, keyMappingsBaseAsset2internalId(assetIdStr)), 0)
301296 let currentIndexOfInternalId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
302297 let result = if ((internalAssetId == 0))
303298 then {
304299 let newInternalAssetId = (currentIndexOfInternalId + incrementor)
305300 $Tuple3(newInternalAssetId, [IntegerEntry(keyNextInternalAssetId(), newInternalAssetId), IntegerEntry(keyMappingsBaseAsset2internalId(assetIdStr), newInternalAssetId), StringEntry(keyMappingsInternal2baseAssetId(newInternalAssetId), assetIdStr)], true)
306301 }
307302 else $Tuple3(internalAssetId, nil, false)
308303 result
309304 }
310305
311306
312307 func mustAdmin (i) = {
313308 let adminPKs = split(valueOrElse(getString(keyAdminPubKeys()), EMPTY), SEP)
314309 if (containsElement(adminPKs, toBase58String(i.callerPublicKey)))
315310 then true
316311 else {
317312 let isManager = mustManager(i)
318313 if ((isManager == isManager))
319314 then true
320315 else throw("Strict value is not equal to itself.")
321316 }
322317 }
323318
324319
325320 func intOrDefaultOrFallback (key,keyDefault,valueFallback) = valueOrElse(getInteger(this, key), valueOrElse(getInteger(this, keyDefault), valueFallback))
326-
327-
328-func poolExistsInternal (amountAssetId,priceAssetId) = {
329- let amountAssetInternal = getInteger(keyMappingsBaseAsset2internalId(amountAssetId))
330- let priceAssetInternal = getInteger(keyMappingsBaseAsset2internalId(priceAssetId))
331- if (if ((amountAssetInternal == unit))
332- then true
333- else (priceAssetInternal == unit))
334- then false
335- else {
336- let amAs = toString(value(amountAssetInternal))
337- let prAs = toString(value(priceAssetInternal))
338- let cfg = getString(keyPoolConfig(amAs, prAs))
339- let cfgReverse = getString(keyPoolConfig(prAs, amAs))
340- let exists = if ((cfg != unit))
341- then true
342- else (cfgReverse != unit)
343- exists
344- }
345- }
346-
347-
348-@Callable(i)
349-func getSwapContractREADONLY () = $Tuple2(nil, getStringOrFail(swapContract()))
350-
351-
352-
353-@Callable(i)
354-func getLpAssetFromPoolAssetsREADONLY (asset1,asset2) = if (if ((asset1 == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS"))
355- then (asset2 == "WAVES")
356- else false)
357- then $Tuple2(nil, unit)
358- else {
359- let assetNum1 = value(getInteger(this, keyMappingsBaseAsset2internalId(asset1)))
360- let assetNum2 = value(getInteger(this, keyMappingsBaseAsset2internalId(asset2)))
361- let ee = getString(this, keyMappingPoolAssetsToLpasset(toString(assetNum1), toString(assetNum2)))
362- let res = if ((ee == unit))
363- then unit
364- else drop(value(ee), 4)
365- $Tuple2(nil, res)
366- }
367-
368-
369-
370-@Callable(i)
371-func getPoolAddressFromLpAssetREADONLY (lp) = $Tuple2(nil, valueOrElse(getString(this, keyMappingPoolLPAssetToPoolContractAddress(lp)), ""))
372-
373321
374322
375323 @Callable(i)
376324 func constructor (stakingContract,boostingContract,idoContract,teamContract,emissionContract,restContract,slpipageContract,priceDecimals) = {
377325 let checkCaller = mustManager(i)
378326 if ((checkCaller == checkCaller))
379327 then [StringEntry(keyFactoryConfig(), dataFactoryCfg(stakingContract, boostingContract, idoContract, teamContract, emissionContract, restContract, slpipageContract)), IntegerEntry(keyPriceDecimals(), priceDecimals)]
380328 else throw("Strict value is not equal to itself.")
381329 }
382330
383331
384332
385333 @Callable(i)
386334 func constructorV2 (mathcherPub58Str) = {
387335 let checkCaller = mustManager(i)
388336 if ((checkCaller == checkCaller))
389337 then {
390338 let mathcerPub = addressFromPublicKey(fromBase58String(mathcherPub58Str))
391339 if ((mathcerPub == mathcerPub))
392340 then [StringEntry(keyMatcherPub(), mathcherPub58Str)]
393341 else throw("Strict value is not equal to itself.")
394342 }
395343 else throw("Strict value is not equal to itself.")
396344 }
397345
398346
399347
400348 @Callable(i)
401349 func constructorV3 (daoContract,marketingContract,gwxRewardsContract,birdsContract) = {
402350 let checkCaller = mustManager(i)
403351 if ((checkCaller == checkCaller))
404352 then {
405353 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
406354 [StringEntry(keyFactoryConfig(), dataFactoryCfgV3(factoryCfg[1], factoryCfg[2], factoryCfg[3], factoryCfg[4], factoryCfg[5], factoryCfg[6], factoryCfg[7], daoContract, marketingContract, gwxRewardsContract, birdsContract))]
407355 }
408356 else throw("Strict value is not equal to itself.")
409357 }
410358
411359
412360
413361 @Callable(i)
414362 func constructorV4 (legacyFactoryContract,legacyPools) = {
415363 let checkCaller = mustManager(i)
416364 if ((checkCaller == checkCaller))
417365 then [StringEntry(keyLegacyFactoryContract(), legacyFactoryContract), StringEntry(keyLegacyPools(), makeString(legacyPools, SEP))]
418366 else throw("Strict value is not equal to itself.")
419367 }
420368
421369
422370
423371 @Callable(i)
424372 func constructorV5 (assetsStoreContract) = {
425373 let checkCaller = mustManager(i)
426374 if ((checkCaller == checkCaller))
427375 then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)]
428376 else throw("Strict value is not equal to itself.")
429377 }
430378
431379
432380
433381 @Callable(i)
434382 func constructorV6 (votingEmissionContract,priceAssets) = {
435383 let cheks = [mustManager(i), if ((addressFromString(votingEmissionContract) != unit))
436384 then true
437385 else "invalid voting emission contract address"]
438386 if ((cheks == cheks))
439387 then [StringEntry(keyVotingEmissionContract(), votingEmissionContract), StringEntry(keyPriceAssets(), makeString(priceAssets, SEP))]
440388 else throw("Strict value is not equal to itself.")
441389 }
442390
443391
444392
445393 @Callable(i)
446394 func setManager (pendingManagerPublicKey) = {
447395 let checkCaller = mustManager(i)
448396 if ((checkCaller == checkCaller))
449397 then {
450398 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
451399 if ((checkManagerPublicKey == checkManagerPublicKey))
452400 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
453401 else throw("Strict value is not equal to itself.")
454402 }
455403 else throw("Strict value is not equal to itself.")
456404 }
457405
458406
459407
460408 @Callable(i)
461409 func confirmManager () = {
462410 let pm = pendingManagerPublicKeyOrUnit()
463411 let hasPM = if (isDefined(pm))
464412 then true
465413 else throw("No pending manager")
466414 if ((hasPM == hasPM))
467415 then {
468416 let checkPM = if ((i.callerPublicKey == value(pm)))
469417 then true
470418 else throw("You are not pending manager")
471419 if ((checkPM == checkPM))
472420 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
473421 else throw("Strict value is not equal to itself.")
474422 }
475423 else throw("Strict value is not equal to itself.")
476424 }
477425
478426
479427
480428 @Callable(i)
481429 func setAdmins (adminPubKeys) = {
482430 let checkCaller = mustManager(i)
483431 if ((checkCaller == checkCaller))
484432 then [StringEntry(keyAdminPubKeys(), makeString(adminPubKeys, SEP))]
485433 else throw("Strict value is not equal to itself.")
486434 }
487435
488436
489437
490438 @Callable(i)
491439 func activateNewPool (poolAddress,amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight,poolType,logo) = {
492440 let checkCaller = mustAdmin(i)
493441 if ((checkCaller == checkCaller))
494442 then if (isDefined(getString(keyMappingPoolContractAddressToPoolAssets(poolAddress))))
495443 then throw((("Pool address " + poolAddress) + " already registered."))
496444 else {
497445 let internalAmountAssetData = getInternalAssetIdOrCreate(amountAssetStr, 1)
498446 let internalAmountAssetId = internalAmountAssetData._1
499447 let internalPriceAssetData = getInternalAssetIdOrCreate(priceAssetStr, if (internalAmountAssetData._3)
500448 then 2
501449 else 1)
502450 let internalPriceAssetId = internalPriceAssetData._1
503451 let poolAccountScriptHash = valueOrErrorMessage(scriptHash(addressFromStringValue(poolAddress)), ("No script has been found on pool account " + poolAddress))
504452 let ethalonPoolAccountScriptHash = getBinaryValue(keyPoolScriptHash())
505- let poolExists = poolExistsInternal(amountAssetStr, priceAssetStr)
506- if (poolExists)
453+ let poolConfig = getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)))
454+ if (isDefined(poolConfig))
507455 then throw((((("Pool " + amountAssetStr) + "/") + priceAssetStr) + " has already been activated."))
508456 else {
509457 let poolConfigValue = value(getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId))))
510458 let amountAssetsDecimals = if ((amountAssetStr == "WAVES"))
511459 then decimalsMultPrice
512460 else pow(10, 0, value(assetInfo(fromBase58String(amountAssetStr))).decimals, 0, 0, DOWN)
513461 let priceAssetsDecimals = if ((priceAssetStr == "WAVES"))
514462 then decimalsMultPrice
515463 else pow(10, 0, value(assetInfo(fromBase58String(priceAssetStr))).decimals, 0, 0, DOWN)
516464 let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true)
517465 let lpAssetId = calculateAssetId(lpAssetIssueAction)
518466 let lpAssetIdStr = toBase58String(lpAssetId)
519467 let poolActivateInvokeResult = invoke(addressFromStringValue(poolAddress), "activate", [amountAssetStr, priceAssetStr], nil)
520468 if ((poolActivateInvokeResult == poolActivateInvokeResult))
521469 then if ((poolActivateInvokeResult != "success"))
522470 then throw("Pool initialisation error happened.")
523471 else {
524472 let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract()))
525473 let createOrUpdateLpAssetInv = invoke(assetsStoreContract, "createOrUpdate", [lpAssetIdStr, lpAssetName, false], nil)
526474 if ((createOrUpdateLpAssetInv == createOrUpdateLpAssetInv))
527475 then {
528476 let addPoolsLpLabelInv = invoke(assetsStoreContract, "addLabel", [lpAssetIdStr, labelPoolsLp], nil)
529477 if ((addPoolsLpLabelInv == addPoolsLpLabelInv))
530478 then {
531479 let setLogoInv = invoke(assetsStoreContract, "setLogo", [lpAssetIdStr, logo], nil)
532480 if ((setLogoInv == setLogoInv))
533481 then {
534482 let addAssetsLinkInv = invoke(assetsStoreContract, "addAssetsLink", [amountAssetStr, priceAssetStr, lpAssetIdStr], nil)
535483 if ((addAssetsLinkInv == addAssetsLinkInv))
536484 then {
537485 let increaseAssetPoolsNumberInv = invoke(assetsStoreContract, "increaseAssetPoolsNumber", [amountAssetStr], nil)
538486 if ((increaseAssetPoolsNumberInv == increaseAssetPoolsNumberInv))
539487 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)
540488 else throw("Strict value is not equal to itself.")
541489 }
542490 else throw("Strict value is not equal to itself.")
543491 }
544492 else throw("Strict value is not equal to itself.")
545493 }
546494 else throw("Strict value is not equal to itself.")
547495 }
548496 else throw("Strict value is not equal to itself.")
549497 }
550498 else throw("Strict value is not equal to itself.")
551499 }
552500 }
553501 else throw("Strict value is not equal to itself.")
554502 }
555503
556504
557505
558506 @Callable(i)
559507 func managePool (poolAddress,newStatus) = {
560508 let checkCaller = mustManager(i)
561509 if ((checkCaller == checkCaller))
562510 then {
563511 let poolConfig = getPoolConfig(poolAddress)
564512 let poolStatus = poolConfig[idxPoolStatus]
565513 let lpAssetIdStr = poolConfig[idxPoolLPAssetId]
566514 let amountAssetStr = poolConfig[idxAmtAssetId]
567515 let priceAssetStr = poolConfig[idxPriceAssetId]
568516 let amountAssetsDecimals = parseIntValue(poolConfig[idxAmtAssetDcm])
569517 let priceAssetsDecimals = parseIntValue(poolConfig[idxPriceAssetDcm])
570518 let internalAmountAssetId = parseIntValue(poolConfig[idxIAmtAssetId])
571519 let internalPriceAssetId = parseIntValue(poolConfig[idxIPriceAssetId])
572520 let lpAssetDcm = parseIntValue(poolConfig[idxLPAssetDcm])
573521 let poolType = poolConfig[idxPoolType]
574522 [StringEntry(keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)), dataPoolCfg(poolAddress, toString(newStatus), lpAssetIdStr, amountAssetStr, priceAssetStr, amountAssetsDecimals, priceAssetsDecimals, internalAmountAssetId, internalPriceAssetId, lpAssetDcm, poolType))]
575523 }
576524 else throw("Strict value is not equal to itself.")
577525 }
578526
579527
580528
581529 @Callable(i)
582530 func emit (amountToEmit) = {
583531 let caller = i.caller
584532 let originCaller = i.originCaller
585533 let lpAssetRequested = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
586534 let lpAsset = fromBase58String(lpAssetRequested)
587535 let legacyPools = split(valueOrElse(getString(keyLegacyPools()), EMPTY), SEP)
588536 let legacyFactoryContract = addressFromStringValue(valueOrErrorMessage(getString(keyLegacyFactoryContract()), "Legacy factory contract does not exists."))
589537 if ((0 >= amountToEmit))
590538 then nil
591539 else if (containsElement(legacyPools, toString(caller)))
592540 then $Tuple2(nil, legacyFactoryContract)
593541 else $Tuple2([Reissue(lpAsset, amountToEmit, true), ScriptTransfer(i.caller, amountToEmit, lpAsset)], "success")
594542 }
595543
596544
597545
598546 @Callable(i)
599547 func burn (amountToBurn) = {
600548 let caller = i.caller
601549 let originCaller = i.originCaller
602550 let payment = value(i.payments[0])
603551 let paymentAmount = value(payment.amount)
604552 let inAmountAssetId = toBase58String(value(payment.assetId))
605553 let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.")
606554 if ((inAmountAssetId != lpAssetRequestedForBurning))
607555 then throw("Invalid asset passed.")
608556 else if ((amountToBurn != paymentAmount))
609557 then throw("Invalid amount passed.")
610558 else {
611559 let lpAsset = fromBase58String(lpAssetRequestedForBurning)
612560 $Tuple2([Burn(lpAsset, amountToBurn)], "success")
613561 }
614562 }
615563
616564
617565
618566 @Callable(i)
619567 func modifyWeight (lpAssetId,share) = {
620568 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionContract()), "")))
621569 then true
622570 else mustManager(i)
623571 if ((checkCaller == checkCaller))
624572 then {
625573 let poolContractAddress = getStringOrFail(keyMappingPoolLPAssetToPoolContractAddress(lpAssetId))
626574 let poolWeightKey = keyPoolToWeight(poolContractAddress)
627575 let gwxWeightKey = keyPoolToWeight(GWXvirtualPOOL)
628576 let gwxWeight = valueOrElse(getInteger(gwxWeightKey), 0)
629577 let poolWeight = valueOrElse(getInteger(poolWeightKey), 0)
630578 let poolWeightNew = share
631579 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
632580 let stakingContract = getStakingAddressOrFail(factoryCfg)
633581 let onModifyWeightInv = invoke(stakingContract, "onModifyWeight", [lpAssetId, poolContractAddress], nil)
634582 if ((onModifyWeightInv == onModifyWeightInv))
635583 then {
636584 let gwxVirtualPoolActions = if ((gwxWeight == 0))
637585 then nil
638586 else [IntegerEntry(gwxWeightKey, 0)]
639587 let poolWeightHistoryKey = keyPoolToWeightHistory(poolContractAddress, 0)
640588 let poolWeightHistoryOrUnit = getInteger(poolWeightHistoryKey)
641589 let poolWeightHistoryActions = if ((poolWeightHistoryOrUnit == unit))
642590 then nil
643591 else [DeleteEntry(poolWeightHistoryKey)]
644592 (([IntegerEntry(poolWeightKey, poolWeightNew)] ++ gwxVirtualPoolActions) ++ poolWeightHistoryActions)
645593 }
646594 else throw("Strict value is not equal to itself.")
647595 }
648596 else throw("Strict value is not equal to itself.")
649597 }
650598
651599
652600
653601 @Callable(i)
654602 func modifyWeights (btcPoolAddress,ethPoolAddress,ethBtcPoolAddress,usdcUsdtPoolAddress) = {
655603 let checkCaller = mustManager(i)
656604 if ((checkCaller == checkCaller))
657605 then {
658606 let ethBtcWeightNew = ((5 * POOLWEIGHTMULT) / 100)
659607 let usdcUsdtWeightNew = ((5 * POOLWEIGHTMULT) / 100)
660608 let weightDecrement = ((5 * POOLWEIGHTMULT) / 100)
661609 let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP)
662610 let stakingDapp = getStakingAddressOrFail(factoryCfg)
663611 let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg)
664612 let btcWeightKEY = keyPoolToWeight(btcPoolAddress)
665613 let ethWeightKEY = keyPoolToWeight(ethPoolAddress)
666614 let ethBtcWeightKEY = keyPoolToWeight(ethBtcPoolAddress)
667615 let usdcUsdtWeightKEY = keyPoolToWeight(usdcUsdtPoolAddress)
668616 let btcWeight = getIntOrFail(btcWeightKEY)
669617 let ethWeight = getIntOrFail(ethWeightKEY)
670618 let btcWeightNew = (btcWeight - weightDecrement)
671619 let ethWeightNew = (ethWeight - weightDecrement)
672620 if ((0 >= btcWeightNew))
673621 then throw(("invalid btcWeightNew: " + toString(btcWeightNew)))
674622 else if ((0 >= ethWeightNew))
675623 then throw(("invalid ethWeightNew: " + toString(ethWeightNew)))
676624 else {
677625 let btcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(btcPoolAddress))
678626 let ethLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethPoolAddress))
679627 let ethBtcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethBtcPoolAddress))
680628 let usdcUsdtLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(usdcUsdtPoolAddress))
681629 let onModifyWeightBtc = invoke(stakingDapp, "onModifyWeight", [btcLpAssetIdStr, btcPoolAddress], nil)
682630 if ((onModifyWeightBtc == onModifyWeightBtc))
683631 then {
684632 let onModifyWeightEth = invoke(stakingDapp, "onModifyWeight", [ethLpAssetIdStr, ethPoolAddress], nil)
685633 if ((onModifyWeightEth == onModifyWeightEth))
686634 then {
687635 let onModifyWeightEthBtc = invoke(stakingDapp, "onModifyWeight", [ethBtcLpAssetIdStr, ethBtcPoolAddress], nil)
688636 if ((onModifyWeightEthBtc == onModifyWeightEthBtc))
689637 then {
690638 let onModifyWeightUsdcUsdt = invoke(stakingDapp, "onModifyWeight", [usdcUsdtLpAssetIdStr, usdcUsdtPoolAddress], nil)
691639 if ((onModifyWeightUsdcUsdt == onModifyWeightUsdcUsdt))
692640 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)]
693641 else throw("Strict value is not equal to itself.")
694642 }
695643 else throw("Strict value is not equal to itself.")
696644 }
697645 else throw("Strict value is not equal to itself.")
698646 }
699647 else throw("Strict value is not equal to itself.")
700648 }
701649 }
702650 else throw("Strict value is not equal to itself.")
703651 }
704652
705653
706654
707655 @Callable(i)
708656 func checkWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
709657 let haveLabel = match getBoolean(keyWxEmission(amountAssetId, priceAssetId)) {
710658 case b: Boolean =>
711659 b
712660 case _ =>
713661 false
714662 }
715663 $Tuple2(nil, haveLabel)
716664 }
717665
718666
719667
720668 @Callable(i)
721669 func setWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
722670 let checkCaller = mustAdmin(i)
723671 if ((checkCaller == checkCaller))
724672 then $Tuple2([BooleanEntry(keyWxEmission(amountAssetId, priceAssetId), true)], unit)
725673 else throw("Strict value is not equal to itself.")
726674 }
727675
728676
729677
730678 @Callable(i)
731679 func deleteWxEmissionPoolLabel (amountAssetId,priceAssetId) = {
732680 let checkCaller = if (mustThis(i))
733681 then true
734682 else mustAdmin(i)
735683 if ((checkCaller == checkCaller))
736684 then $Tuple2([DeleteEntry(keyWxEmission(amountAssetId, priceAssetId))], unit)
737685 else throw("Strict value is not equal to itself.")
738686 }
739687
740688
741689
742690 @Callable(i)
743691 func onVerificationLoss (assetId) = {
744692 let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyAssetsStoreContract()), "")))
745693 then true
746694 else mustManager(i)
747695 if ((checkCaller == checkCaller))
748696 then {
749697 let priceAssets = getPriceAssets()
750698 let checkPriceAssetsSize = if ((size(priceAssets) > 0))
751699 then true
752700 else throw("invalid price assets")
753701 if ((checkPriceAssetsSize == checkPriceAssetsSize))
754702 then {
755703 func cb (acc,priceAsset) = {
756704 let r = invoke(this, "deleteWxEmissionPoolLabel", [assetId, priceAsset], nil)
757705 if ((r == r))
758706 then unit
759707 else throw("Strict value is not equal to itself.")
760708 }
761709
762710 let actions = {
763711 let $l = priceAssets
764712 let $s = size($l)
765713 let $acc0 = unit
766714 func $f0_1 ($a,$i) = if (($i >= $s))
767715 then $a
768716 else cb($a, $l[$i])
769717
770718 func $f0_2 ($a,$i) = if (($i >= $s))
771719 then $a
772720 else throw("List size exceeds 1")
773721
774722 $f0_2($f0_1($acc0, 0), 1)
775723 }
776724 if ((actions == actions))
777725 then $Tuple2(nil, unit)
778726 else throw("Strict value is not equal to itself.")
779727 }
780728 else throw("Strict value is not equal to itself.")
781729 }
782730 else throw("Strict value is not equal to itself.")
783731 }
784732
785733
786734
787735 @Callable(i)
788736 func isPoolOneTokenOperationsDisabledREADONLY (poolAddress) = {
789737 let poolConfig = getPoolConfig(poolAddress)
790738 let assetsInternal = $Tuple2(parseIntValue(poolConfig[idxIAmtAssetId]), parseIntValue(poolConfig[idxIPriceAssetId]))
791739 let poolOneTokenOperationsDisabled = valueOrElse(getBoolean(keyPoolOneTokenOperationsDisabled(assetsInternal)), false)
792740 let allPoolsOneTokenOperationsDisabled = valueOrElse(getBoolean(keyAllPoolsOneTokenOperationsDisabled()), false)
793741 $Tuple2(nil, if (allPoolsOneTokenOperationsDisabled)
794742 then true
795743 else poolOneTokenOperationsDisabled)
796744 }
797745
798746
799747
800748 @Callable(i)
801749 func getInFeeREADONLY (poolAddress) = {
802750 let fee = intOrDefaultOrFallback(keyInFee(poolAddress), keyInFeeDefault(), 0)
803751 $Tuple2(nil, fee)
804752 }
805753
806754
807755
808756 @Callable(i)
809757 func getOutFeeREADONLY (poolAddress) = {
810758 let fee = intOrDefaultOrFallback(keyOutFee(poolAddress), keyOutFeeDefault(), fraction(10, MULT8, 10000))
811759 $Tuple2(nil, fee)
812760 }
813761
814762
815763
816764 @Callable(i)
817765 func getPoolStatusREADONLY (poolAddress) = {
818766 let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
819767 let amountAssetInternal = poolAssets[1]
820768 let priceAssetInternal = poolAssets[2]
821769 let cfg = split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
822770 $Tuple2(nil, parseIntValue(cfg[idxPoolStatus]))
823771 }
824772
825773
826-
827-@Callable(i)
828-func getPoolConfigREADONLY (poolAddress) = {
829- let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP)
830- let amountAssetInternal = poolAssets[1]
831- let priceAssetInternal = poolAssets[2]
832- let cfg = split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP)
833- $Tuple2(nil, cfg)
834- }
835-
836-
837-
838-@Callable(i)
839-func poolExistsREADONLY (amountAssetId,priceAssetId) = $Tuple2(nil, poolExistsInternal(amountAssetId, priceAssetId))
840-
841-
842774 @Verifier(tx)
843775 func verify () = {
844776 let targetPublicKey = match managerPublicKeyOrUnit() {
845777 case pk: ByteVector =>
846778 pk
847779 case _: Unit =>
848780 tx.senderPublicKey
849781 case _ =>
850782 throw("Match error")
851783 }
852784 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
853785 }
854786

github/deemru/w8io/169f3d6 
109.30 ms