tx · HozvSqyDpnn1UGBUT6SR7TZrLxqGjDL1q68ALrmd3Gnd 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai: -0.02800000 Waves 2022.12.16 16:26 [2362919] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves
{ "type": 13, "id": "HozvSqyDpnn1UGBUT6SR7TZrLxqGjDL1q68ALrmd3Gnd", "fee": 2800000, "feeAssetId": null, "timestamp": 1671197230569, "version": 1, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "3yLoPistZUhEoUcKNYtP5mAvEn2ZiijWomjEJoNzB4Sja1WcUbgdv3JZo4HU4HxvoMNBhgbdpEwcfi3eVCYQ7Ge6" ], "script": "base64:AAIFAAAAAAAAEggIAhIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIECgIIGBIDCgEIEgASAwoBGBIKCggICAgICAEICBIECgIIARIDCgEBEgMKAQESBAoCCAESBgoECAgICBIECgIICBIECgIICBIECgIICBIDCgEIEgMKAQgiBlNDQUxFOCIFTVVMVDgiB1NDQUxFMTgiBk1VTFQxOCIOUE9PTFdFSUdIVE1VTFQiDkdXWHZpcnR1YWxQT09MIgxsYWJlbFBvb2xzTHAiDWRlZmF1bHRTcHJlYWQiEWRlY2ltYWxzTXVsdFByaWNlIgNTRVAiBUVNUFRZIgpQb29sQWN0aXZlIg9Qb29sUHV0RGlzYWJsZWQiE1Bvb2xNYXRjaGVyRGlzYWJsZWQiDFBvb2xTaHV0ZG93biISaWR4SW50ZXJuYWxBc3NldElkIg9pZHhSZXN1dEFjdGlvbnMiIGlkeElmQXNzZXRJZENhbGN1bGF0aW9uUGVyZm9ybWVkIg5pZHhQb29sQWRkcmVzcyINaWR4UG9vbFN0YXR1cyIQaWR4UG9vbExQQXNzZXRJZCINaWR4QW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": 2362919, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C41xFuWK6c5wFiDWJGDc5MiP9h4uVavxmMmwsBpKk3XJ Next: 25FCUmaz4GWcxCXxuXqdZRE7VM5ioDA6T2qUFor4jRL1 Diff:
Old | New | Differences | |
---|---|---|---|
167 | 167 | func keyWxEmission (amountAssetId,priceAssetId) = ((("%s%s%s__wxEmission__" + amountAssetId) + "__") + priceAssetId) | |
168 | 168 | ||
169 | 169 | ||
170 | - | func keyInFee (poolAddress) = ("%s%s__inFee__" + poolAddress) | |
171 | - | ||
172 | - | ||
173 | - | func keyInFeeDefault () = "%s__inFeeDefault" | |
174 | - | ||
175 | - | ||
176 | - | func keyOutFee (poolAddress) = ("%s%s__outFee__" + poolAddress) | |
177 | - | ||
178 | - | ||
179 | - | func keyOutFeeDefault () = "%s__outFeeDefault" | |
180 | - | ||
181 | - | ||
182 | 170 | func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key)) | |
183 | 171 | ||
184 | 172 | ||
315 | 303 | else throw("Strict value is not equal to itself.") | |
316 | 304 | } | |
317 | 305 | } | |
318 | - | ||
319 | - | ||
320 | - | func intOrDefaultOrFallback (key,keyDefault,valueFallback) = valueOrElse(getInteger(this, key), valueOrElse(getInteger(this, keyDefault), valueFallback)) | |
321 | 306 | ||
322 | 307 | ||
323 | 308 | @Callable(i) | |
744 | 729 | } | |
745 | 730 | ||
746 | 731 | ||
747 | - | ||
748 | - | @Callable(i) | |
749 | - | func getInFeeREADONLY (poolAddress) = { | |
750 | - | let fee = intOrDefaultOrFallback(keyInFee(poolAddress), keyInFeeDefault(), 0) | |
751 | - | $Tuple2(nil, fee) | |
752 | - | } | |
753 | - | ||
754 | - | ||
755 | - | ||
756 | - | @Callable(i) | |
757 | - | func getOutFeeREADONLY (poolAddress) = { | |
758 | - | let fee = intOrDefaultOrFallback(keyOutFee(poolAddress), keyOutFeeDefault(), fraction(10, MULT8, 10000)) | |
759 | - | $Tuple2(nil, fee) | |
760 | - | } | |
761 | - | ||
762 | - | ||
763 | 732 | @Verifier(tx) | |
764 | 733 | func verify () = { | |
765 | 734 | let targetPublicKey = match managerPublicKeyOrUnit() { |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SCALE8 = 8 | |
5 | 5 | ||
6 | 6 | let MULT8 = 100000000 | |
7 | 7 | ||
8 | 8 | let SCALE18 = 18 | |
9 | 9 | ||
10 | 10 | let MULT18 = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let POOLWEIGHTMULT = MULT8 | |
13 | 13 | ||
14 | 14 | let GWXvirtualPOOL = "GWXvirtualPOOL" | |
15 | 15 | ||
16 | 16 | let labelPoolsLp = "POOLS_LP" | |
17 | 17 | ||
18 | 18 | let defaultSpread = 2000000 | |
19 | 19 | ||
20 | 20 | let decimalsMultPrice = ((100 * 1000) * 1000) | |
21 | 21 | ||
22 | 22 | let SEP = "__" | |
23 | 23 | ||
24 | 24 | let EMPTY = "" | |
25 | 25 | ||
26 | 26 | let PoolActive = 1 | |
27 | 27 | ||
28 | 28 | let PoolPutDisabled = 2 | |
29 | 29 | ||
30 | 30 | let PoolMatcherDisabled = 3 | |
31 | 31 | ||
32 | 32 | let PoolShutdown = 4 | |
33 | 33 | ||
34 | 34 | let idxInternalAssetId = 1 | |
35 | 35 | ||
36 | 36 | let idxResutActions = 2 | |
37 | 37 | ||
38 | 38 | let idxIfAssetIdCalculationPerformed = 3 | |
39 | 39 | ||
40 | 40 | let idxPoolAddress = 1 | |
41 | 41 | ||
42 | 42 | let idxPoolStatus = 2 | |
43 | 43 | ||
44 | 44 | let idxPoolLPAssetId = 3 | |
45 | 45 | ||
46 | 46 | let idxAmtAssetId = 4 | |
47 | 47 | ||
48 | 48 | let idxPriceAssetId = 5 | |
49 | 49 | ||
50 | 50 | let idxAmtAssetDcm = 6 | |
51 | 51 | ||
52 | 52 | let idxPriceAssetDcm = 7 | |
53 | 53 | ||
54 | 54 | let idxIAmtAssetId = 8 | |
55 | 55 | ||
56 | 56 | let idxIPriceAssetId = 9 | |
57 | 57 | ||
58 | 58 | let idxLPAssetDcm = 10 | |
59 | 59 | ||
60 | 60 | let idxPoolType = 11 | |
61 | 61 | ||
62 | 62 | let poolLabelWxEmission = "WX_EMISSION" | |
63 | 63 | ||
64 | 64 | let validPoolLabels = [poolLabelWxEmission] | |
65 | 65 | ||
66 | 66 | func keyAllowedLpScriptHash () = "%s__allowedLpScriptHash" | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func keyAllowedLpStableScriptHash () = "%s__allowedLpStableScriptHash" | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func keyAllowedLpStableAddonScriptHash () = "%s__allowedLpStableAddonScriptHash" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func keyFactoryConfig () = "%s__factoryConfig" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func keyLpTokensList () = "%s__lpTokensList" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func keyPoolScriptHash () = "%s%s__pool__scriptHash" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func keyMatcherPub () = "%s%s__matcher__publicKey" | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func keyLegacyFactoryContract () = "%s__legacyFactoryContract" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func keyLegacyPools () = "%s__legacyPools" | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func keyManagerPublicKey () = "%s__managerPublicKey" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func keyAdminPubKeys () = "%s__adminPubKeys" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func keyAssetsStoreContract () = "%s__assetsStoreContract" | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func keyVotingEmissionContract () = "%s__votingEmissionContract" | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func keyPriceAssets () = makeString(["%s", "priceAssets"], SEP) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func keyPriceDecimals () = "%s__priceDecimals" | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func keyAllPoolsShutdown () = "%s__shutdown" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func keyNextInternalAssetId () = "%s__nextInternalAssetId" | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func keyPoolToWeight (poolAddress) = ("%s%s__poolWeight__" + poolAddress) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func keyPoolToWeightHistory (poolAddress,num) = ((("%s%s__poolWeight__" + poolAddress) + "__") + toString(num)) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset)) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func keyPoolConfig (amountAssetInternal,priceAssetInternal) = (((("%d%d%s__" + amountAssetInternal) + "__") + priceAssetInternal) + "__config") | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func keyPoolOneTokenOperationsDisabled (assetsInternal) = { | |
136 | 136 | let $t036323694 = assetsInternal | |
137 | 137 | let amountAssetInternal = $t036323694._1 | |
138 | 138 | let priceAssetInternal = $t036323694._2 | |
139 | 139 | makeString(["%d%d%s", toString(amountAssetInternal), toString(priceAssetInternal), "oneTokenOperationsDisabled"], SEP) | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func keyAllPoolsOneTokenOperationsDisabled () = makeString(["%s", "oneTokenOperationsDisabled"], SEP) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func keyMappingLpAssetToPoolAssets (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2Pool") | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func keyMappingPoolAssetsToLpasset (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + internalAmountAssetIdStr) + "__") + internalPriceAssetIdStr) + "__mappings__PoolAssets2LpAsset") | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func keyPoolSpread (poolAddress) = ("%s%s__spread__" + poolAddress) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func keyMappingPoolContractAddressToPoolAssets (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2PoolAssets") | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func keyMappingPoolAssetsToPoolContractAddress (internalAmountAssetIdStr,internalPriceAssetIdStr) = (((("%d%d%s%s__" + toString(internalAmountAssetIdStr)) + "__") + toString(internalPriceAssetIdStr)) + "__mappings__poolAssets2PoolContract") | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func keyMappingPoolContractToLPAsset (poolContractAddress) = (("%s%s%s__" + poolContractAddress) + "__mappings__poolContract2LpAsset") | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func keyMappingPoolLPAssetToPoolContractAddress (lpAssetStr) = (("%s%s%s__" + lpAssetStr) + "__mappings__lpAsset2PoolContract") | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func keyWxEmission (amountAssetId,priceAssetId) = ((("%s%s%s__wxEmission__" + amountAssetId) + "__") + priceAssetId) | |
168 | 168 | ||
169 | 169 | ||
170 | - | func keyInFee (poolAddress) = ("%s%s__inFee__" + poolAddress) | |
171 | - | ||
172 | - | ||
173 | - | func keyInFeeDefault () = "%s__inFeeDefault" | |
174 | - | ||
175 | - | ||
176 | - | func keyOutFee (poolAddress) = ("%s%s__outFee__" + poolAddress) | |
177 | - | ||
178 | - | ||
179 | - | func keyOutFeeDefault () = "%s__outFeeDefault" | |
180 | - | ||
181 | - | ||
182 | 170 | func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key)) | |
183 | 171 | ||
184 | 172 | ||
185 | 173 | func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key)) | |
186 | 174 | ||
187 | 175 | ||
188 | 176 | func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key)) | |
189 | 177 | ||
190 | 178 | ||
191 | 179 | let IdxFactoryCfgStakingDapp = 1 | |
192 | 180 | ||
193 | 181 | let IdxFactoryCfgBoostingDapp = 2 | |
194 | 182 | ||
195 | 183 | let IdxFactoryCfgIdoDapp = 3 | |
196 | 184 | ||
197 | 185 | let IdxFactoryCfgTeamDapp = 4 | |
198 | 186 | ||
199 | 187 | let IdxFactoryCfgEmissionDapp = 5 | |
200 | 188 | ||
201 | 189 | let IdxFactoryCfgRestDapp = 6 | |
202 | 190 | ||
203 | 191 | let IdxFactoryCfgSlippageDapp = 7 | |
204 | 192 | ||
205 | 193 | let IdxFactoryCfgDaoDapp = 8 | |
206 | 194 | ||
207 | 195 | let IdxFactoryCfgMarketingDapp = 9 | |
208 | 196 | ||
209 | 197 | let IdxFactoryCfgGwxRewardDapp = 10 | |
210 | 198 | ||
211 | 199 | let IdxFactoryCfgBirdsDapp = 11 | |
212 | 200 | ||
213 | 201 | func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp]) | |
214 | 202 | ||
215 | 203 | ||
216 | 204 | func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp]) | |
217 | 205 | ||
218 | 206 | ||
219 | 207 | func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp]) | |
220 | 208 | ||
221 | 209 | ||
222 | 210 | func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgGwxRewardDapp]) | |
223 | 211 | ||
224 | 212 | ||
225 | 213 | func getPriceAssets () = match getString(keyPriceAssets()) { | |
226 | 214 | case s: String => | |
227 | 215 | if ((size(s) == 0)) | |
228 | 216 | then nil | |
229 | 217 | else split(s, SEP) | |
230 | 218 | case _ => | |
231 | 219 | nil | |
232 | 220 | } | |
233 | 221 | ||
234 | 222 | ||
235 | 223 | func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) { | |
236 | 224 | case s: String => | |
237 | 225 | fromBase58String(s) | |
238 | 226 | case _: Unit => | |
239 | 227 | unit | |
240 | 228 | case _ => | |
241 | 229 | throw("Match error") | |
242 | 230 | } | |
243 | 231 | ||
244 | 232 | ||
245 | 233 | func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) { | |
246 | 234 | case s: String => | |
247 | 235 | fromBase58String(s) | |
248 | 236 | case _: Unit => | |
249 | 237 | unit | |
250 | 238 | case _ => | |
251 | 239 | throw("Match error") | |
252 | 240 | } | |
253 | 241 | ||
254 | 242 | ||
255 | 243 | let permissionDeniedError = throw("Permission denied") | |
256 | 244 | ||
257 | 245 | func mustThis (i) = if ((i.caller == this)) | |
258 | 246 | then true | |
259 | 247 | else permissionDeniedError | |
260 | 248 | ||
261 | 249 | ||
262 | 250 | func mustManager (i) = match managerPublicKeyOrUnit() { | |
263 | 251 | case pk: ByteVector => | |
264 | 252 | if ((i.callerPublicKey == pk)) | |
265 | 253 | then true | |
266 | 254 | else permissionDeniedError | |
267 | 255 | case _: Unit => | |
268 | 256 | mustThis(i) | |
269 | 257 | case _ => | |
270 | 258 | throw("Match error") | |
271 | 259 | } | |
272 | 260 | ||
273 | 261 | ||
274 | 262 | 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) | |
275 | 263 | ||
276 | 264 | ||
277 | 265 | func dataFactoryCfg (stakingAddress,boostingAddress,idoContract,teamContract,emissionContract,restContract,slippageContract) = makeString(["%s%s%s%s%s%s", stakingAddress, boostingAddress, idoContract, teamContract, emissionContract, restContract, slippageContract], SEP) | |
278 | 266 | ||
279 | 267 | ||
280 | 268 | 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) | |
281 | 269 | ||
282 | 270 | ||
283 | 271 | func dataMappingPoolAssets (internalAmountAssetStr,internalPriceAssetStr) = makeString(["%d%d", toString(internalAmountAssetStr), toString(internalPriceAssetStr)], SEP) | |
284 | 272 | ||
285 | 273 | ||
286 | 274 | func getPoolConfig (poolAddress) = { | |
287 | 275 | let poolAssets = split(getStringOrFail(keyMappingPoolContractAddressToPoolAssets(poolAddress)), SEP) | |
288 | 276 | let amountAssetInternal = poolAssets[1] | |
289 | 277 | let priceAssetInternal = poolAssets[2] | |
290 | 278 | split(getStringOrFail(keyPoolConfig(amountAssetInternal, priceAssetInternal)), SEP) | |
291 | 279 | } | |
292 | 280 | ||
293 | 281 | ||
294 | 282 | func getInternalAssetIdOrCreate (assetIdStr,incrementor) = { | |
295 | 283 | let internalAssetId = valueOrElse(getInteger(this, keyMappingsBaseAsset2internalId(assetIdStr)), 0) | |
296 | 284 | let currentIndexOfInternalId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0) | |
297 | 285 | let result = if ((internalAssetId == 0)) | |
298 | 286 | then { | |
299 | 287 | let newInternalAssetId = (currentIndexOfInternalId + incrementor) | |
300 | 288 | $Tuple3(newInternalAssetId, [IntegerEntry(keyNextInternalAssetId(), newInternalAssetId), IntegerEntry(keyMappingsBaseAsset2internalId(assetIdStr), newInternalAssetId), StringEntry(keyMappingsInternal2baseAssetId(newInternalAssetId), assetIdStr)], true) | |
301 | 289 | } | |
302 | 290 | else $Tuple3(internalAssetId, nil, false) | |
303 | 291 | result | |
304 | 292 | } | |
305 | 293 | ||
306 | 294 | ||
307 | 295 | func mustAdmin (i) = { | |
308 | 296 | let adminPKs = split(valueOrElse(getString(keyAdminPubKeys()), EMPTY), SEP) | |
309 | 297 | if (containsElement(adminPKs, toBase58String(i.callerPublicKey))) | |
310 | 298 | then true | |
311 | 299 | else { | |
312 | 300 | let isManager = mustManager(i) | |
313 | 301 | if ((isManager == isManager)) | |
314 | 302 | then true | |
315 | 303 | else throw("Strict value is not equal to itself.") | |
316 | 304 | } | |
317 | 305 | } | |
318 | - | ||
319 | - | ||
320 | - | func intOrDefaultOrFallback (key,keyDefault,valueFallback) = valueOrElse(getInteger(this, key), valueOrElse(getInteger(this, keyDefault), valueFallback)) | |
321 | 306 | ||
322 | 307 | ||
323 | 308 | @Callable(i) | |
324 | 309 | func constructor (stakingContract,boostingContract,idoContract,teamContract,emissionContract,restContract,slpipageContract,priceDecimals) = { | |
325 | 310 | let checkCaller = mustManager(i) | |
326 | 311 | if ((checkCaller == checkCaller)) | |
327 | 312 | then [StringEntry(keyFactoryConfig(), dataFactoryCfg(stakingContract, boostingContract, idoContract, teamContract, emissionContract, restContract, slpipageContract)), IntegerEntry(keyPriceDecimals(), priceDecimals)] | |
328 | 313 | else throw("Strict value is not equal to itself.") | |
329 | 314 | } | |
330 | 315 | ||
331 | 316 | ||
332 | 317 | ||
333 | 318 | @Callable(i) | |
334 | 319 | func constructorV2 (mathcherPub58Str) = { | |
335 | 320 | let checkCaller = mustManager(i) | |
336 | 321 | if ((checkCaller == checkCaller)) | |
337 | 322 | then { | |
338 | 323 | let mathcerPub = addressFromPublicKey(fromBase58String(mathcherPub58Str)) | |
339 | 324 | if ((mathcerPub == mathcerPub)) | |
340 | 325 | then [StringEntry(keyMatcherPub(), mathcherPub58Str)] | |
341 | 326 | else throw("Strict value is not equal to itself.") | |
342 | 327 | } | |
343 | 328 | else throw("Strict value is not equal to itself.") | |
344 | 329 | } | |
345 | 330 | ||
346 | 331 | ||
347 | 332 | ||
348 | 333 | @Callable(i) | |
349 | 334 | func constructorV3 (daoContract,marketingContract,gwxRewardsContract,birdsContract) = { | |
350 | 335 | let checkCaller = mustManager(i) | |
351 | 336 | if ((checkCaller == checkCaller)) | |
352 | 337 | then { | |
353 | 338 | let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP) | |
354 | 339 | [StringEntry(keyFactoryConfig(), dataFactoryCfgV3(factoryCfg[1], factoryCfg[2], factoryCfg[3], factoryCfg[4], factoryCfg[5], factoryCfg[6], factoryCfg[7], daoContract, marketingContract, gwxRewardsContract, birdsContract))] | |
355 | 340 | } | |
356 | 341 | else throw("Strict value is not equal to itself.") | |
357 | 342 | } | |
358 | 343 | ||
359 | 344 | ||
360 | 345 | ||
361 | 346 | @Callable(i) | |
362 | 347 | func constructorV4 (legacyFactoryContract,legacyPools) = { | |
363 | 348 | let checkCaller = mustManager(i) | |
364 | 349 | if ((checkCaller == checkCaller)) | |
365 | 350 | then [StringEntry(keyLegacyFactoryContract(), legacyFactoryContract), StringEntry(keyLegacyPools(), makeString(legacyPools, SEP))] | |
366 | 351 | else throw("Strict value is not equal to itself.") | |
367 | 352 | } | |
368 | 353 | ||
369 | 354 | ||
370 | 355 | ||
371 | 356 | @Callable(i) | |
372 | 357 | func constructorV5 (assetsStoreContract) = { | |
373 | 358 | let checkCaller = mustManager(i) | |
374 | 359 | if ((checkCaller == checkCaller)) | |
375 | 360 | then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)] | |
376 | 361 | else throw("Strict value is not equal to itself.") | |
377 | 362 | } | |
378 | 363 | ||
379 | 364 | ||
380 | 365 | ||
381 | 366 | @Callable(i) | |
382 | 367 | func constructorV6 (votingEmissionContract,priceAssets) = { | |
383 | 368 | let cheks = [mustManager(i), if ((addressFromString(votingEmissionContract) != unit)) | |
384 | 369 | then true | |
385 | 370 | else "invalid voting emission contract address"] | |
386 | 371 | if ((cheks == cheks)) | |
387 | 372 | then [StringEntry(keyVotingEmissionContract(), votingEmissionContract), StringEntry(keyPriceAssets(), makeString(priceAssets, SEP))] | |
388 | 373 | else throw("Strict value is not equal to itself.") | |
389 | 374 | } | |
390 | 375 | ||
391 | 376 | ||
392 | 377 | ||
393 | 378 | @Callable(i) | |
394 | 379 | func setManager (pendingManagerPublicKey) = { | |
395 | 380 | let checkCaller = mustManager(i) | |
396 | 381 | if ((checkCaller == checkCaller)) | |
397 | 382 | then { | |
398 | 383 | let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey) | |
399 | 384 | if ((checkManagerPublicKey == checkManagerPublicKey)) | |
400 | 385 | then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)] | |
401 | 386 | else throw("Strict value is not equal to itself.") | |
402 | 387 | } | |
403 | 388 | else throw("Strict value is not equal to itself.") | |
404 | 389 | } | |
405 | 390 | ||
406 | 391 | ||
407 | 392 | ||
408 | 393 | @Callable(i) | |
409 | 394 | func confirmManager () = { | |
410 | 395 | let pm = pendingManagerPublicKeyOrUnit() | |
411 | 396 | let hasPM = if (isDefined(pm)) | |
412 | 397 | then true | |
413 | 398 | else throw("No pending manager") | |
414 | 399 | if ((hasPM == hasPM)) | |
415 | 400 | then { | |
416 | 401 | let checkPM = if ((i.callerPublicKey == value(pm))) | |
417 | 402 | then true | |
418 | 403 | else throw("You are not pending manager") | |
419 | 404 | if ((checkPM == checkPM)) | |
420 | 405 | then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())] | |
421 | 406 | else throw("Strict value is not equal to itself.") | |
422 | 407 | } | |
423 | 408 | else throw("Strict value is not equal to itself.") | |
424 | 409 | } | |
425 | 410 | ||
426 | 411 | ||
427 | 412 | ||
428 | 413 | @Callable(i) | |
429 | 414 | func setAdmins (adminPubKeys) = { | |
430 | 415 | let checkCaller = mustManager(i) | |
431 | 416 | if ((checkCaller == checkCaller)) | |
432 | 417 | then [StringEntry(keyAdminPubKeys(), makeString(adminPubKeys, SEP))] | |
433 | 418 | else throw("Strict value is not equal to itself.") | |
434 | 419 | } | |
435 | 420 | ||
436 | 421 | ||
437 | 422 | ||
438 | 423 | @Callable(i) | |
439 | 424 | func activateNewPool (poolAddress,amountAssetStr,priceAssetStr,lpAssetName,lpAssetDescr,poolWeight,poolType,logo) = { | |
440 | 425 | let checkCaller = mustAdmin(i) | |
441 | 426 | if ((checkCaller == checkCaller)) | |
442 | 427 | then if (isDefined(getString(keyMappingPoolContractAddressToPoolAssets(poolAddress)))) | |
443 | 428 | then throw((("Pool address " + poolAddress) + " already registered.")) | |
444 | 429 | else { | |
445 | 430 | let internalAmountAssetData = getInternalAssetIdOrCreate(amountAssetStr, 1) | |
446 | 431 | let internalAmountAssetId = internalAmountAssetData._1 | |
447 | 432 | let internalPriceAssetData = getInternalAssetIdOrCreate(priceAssetStr, if (internalAmountAssetData._3) | |
448 | 433 | then 2 | |
449 | 434 | else 1) | |
450 | 435 | let internalPriceAssetId = internalPriceAssetData._1 | |
451 | 436 | let poolAccountScriptHash = valueOrErrorMessage(scriptHash(addressFromStringValue(poolAddress)), ("No script has been found on pool account " + poolAddress)) | |
452 | 437 | let ethalonPoolAccountScriptHash = getBinaryValue(keyPoolScriptHash()) | |
453 | 438 | let poolConfig = getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId))) | |
454 | 439 | if (isDefined(poolConfig)) | |
455 | 440 | then throw((((("Pool " + amountAssetStr) + "/") + priceAssetStr) + " has already been activated.")) | |
456 | 441 | else { | |
457 | 442 | let poolConfigValue = value(getString(this, keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)))) | |
458 | 443 | let amountAssetsDecimals = if ((amountAssetStr == "WAVES")) | |
459 | 444 | then decimalsMultPrice | |
460 | 445 | else pow(10, 0, value(assetInfo(fromBase58String(amountAssetStr))).decimals, 0, 0, DOWN) | |
461 | 446 | let priceAssetsDecimals = if ((priceAssetStr == "WAVES")) | |
462 | 447 | then decimalsMultPrice | |
463 | 448 | else pow(10, 0, value(assetInfo(fromBase58String(priceAssetStr))).decimals, 0, 0, DOWN) | |
464 | 449 | let lpAssetIssueAction = Issue(lpAssetName, lpAssetDescr, 1, 8, true) | |
465 | 450 | let lpAssetId = calculateAssetId(lpAssetIssueAction) | |
466 | 451 | let lpAssetIdStr = toBase58String(lpAssetId) | |
467 | 452 | let poolActivateInvokeResult = invoke(addressFromStringValue(poolAddress), "activate", [amountAssetStr, priceAssetStr], nil) | |
468 | 453 | if ((poolActivateInvokeResult == poolActivateInvokeResult)) | |
469 | 454 | then if ((poolActivateInvokeResult != "success")) | |
470 | 455 | then throw("Pool initialisation error happened.") | |
471 | 456 | else { | |
472 | 457 | let assetsStoreContract = addressFromStringValue(getStringOrFail(keyAssetsStoreContract())) | |
473 | 458 | let createOrUpdateLpAssetInv = invoke(assetsStoreContract, "createOrUpdate", [lpAssetIdStr, lpAssetName, false], nil) | |
474 | 459 | if ((createOrUpdateLpAssetInv == createOrUpdateLpAssetInv)) | |
475 | 460 | then { | |
476 | 461 | let addPoolsLpLabelInv = invoke(assetsStoreContract, "addLabel", [lpAssetIdStr, labelPoolsLp], nil) | |
477 | 462 | if ((addPoolsLpLabelInv == addPoolsLpLabelInv)) | |
478 | 463 | then { | |
479 | 464 | let setLogoInv = invoke(assetsStoreContract, "setLogo", [lpAssetIdStr, logo], nil) | |
480 | 465 | if ((setLogoInv == setLogoInv)) | |
481 | 466 | then { | |
482 | 467 | let addAssetsLinkInv = invoke(assetsStoreContract, "addAssetsLink", [amountAssetStr, priceAssetStr, lpAssetIdStr], nil) | |
483 | 468 | if ((addAssetsLinkInv == addAssetsLinkInv)) | |
484 | 469 | then { | |
485 | 470 | let increaseAssetPoolsNumberInv = invoke(assetsStoreContract, "increaseAssetPoolsNumber", [amountAssetStr], nil) | |
486 | 471 | if ((increaseAssetPoolsNumberInv == increaseAssetPoolsNumberInv)) | |
487 | 472 | 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) | |
488 | 473 | else throw("Strict value is not equal to itself.") | |
489 | 474 | } | |
490 | 475 | else throw("Strict value is not equal to itself.") | |
491 | 476 | } | |
492 | 477 | else throw("Strict value is not equal to itself.") | |
493 | 478 | } | |
494 | 479 | else throw("Strict value is not equal to itself.") | |
495 | 480 | } | |
496 | 481 | else throw("Strict value is not equal to itself.") | |
497 | 482 | } | |
498 | 483 | else throw("Strict value is not equal to itself.") | |
499 | 484 | } | |
500 | 485 | } | |
501 | 486 | else throw("Strict value is not equal to itself.") | |
502 | 487 | } | |
503 | 488 | ||
504 | 489 | ||
505 | 490 | ||
506 | 491 | @Callable(i) | |
507 | 492 | func managePool (poolAddress,newStatus) = { | |
508 | 493 | let checkCaller = mustManager(i) | |
509 | 494 | if ((checkCaller == checkCaller)) | |
510 | 495 | then { | |
511 | 496 | let poolConfig = getPoolConfig(poolAddress) | |
512 | 497 | let poolStatus = poolConfig[idxPoolStatus] | |
513 | 498 | let lpAssetIdStr = poolConfig[idxPoolLPAssetId] | |
514 | 499 | let amountAssetStr = poolConfig[idxAmtAssetId] | |
515 | 500 | let priceAssetStr = poolConfig[idxPriceAssetId] | |
516 | 501 | let amountAssetsDecimals = parseIntValue(poolConfig[idxAmtAssetDcm]) | |
517 | 502 | let priceAssetsDecimals = parseIntValue(poolConfig[idxPriceAssetDcm]) | |
518 | 503 | let internalAmountAssetId = parseIntValue(poolConfig[idxIAmtAssetId]) | |
519 | 504 | let internalPriceAssetId = parseIntValue(poolConfig[idxIPriceAssetId]) | |
520 | 505 | let lpAssetDcm = parseIntValue(poolConfig[idxLPAssetDcm]) | |
521 | 506 | let poolType = poolConfig[idxPoolType] | |
522 | 507 | [StringEntry(keyPoolConfig(toString(internalAmountAssetId), toString(internalPriceAssetId)), dataPoolCfg(poolAddress, toString(newStatus), lpAssetIdStr, amountAssetStr, priceAssetStr, amountAssetsDecimals, priceAssetsDecimals, internalAmountAssetId, internalPriceAssetId, lpAssetDcm, poolType))] | |
523 | 508 | } | |
524 | 509 | else throw("Strict value is not equal to itself.") | |
525 | 510 | } | |
526 | 511 | ||
527 | 512 | ||
528 | 513 | ||
529 | 514 | @Callable(i) | |
530 | 515 | func emit (amountToEmit) = { | |
531 | 516 | let caller = i.caller | |
532 | 517 | let originCaller = i.originCaller | |
533 | 518 | let lpAssetRequested = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.") | |
534 | 519 | let lpAsset = fromBase58String(lpAssetRequested) | |
535 | 520 | let legacyPools = split(valueOrElse(getString(keyLegacyPools()), EMPTY), SEP) | |
536 | 521 | let legacyFactoryContract = addressFromStringValue(valueOrErrorMessage(getString(keyLegacyFactoryContract()), "Legacy factory contract does not exists.")) | |
537 | 522 | if ((0 >= amountToEmit)) | |
538 | 523 | then nil | |
539 | 524 | else if (containsElement(legacyPools, toString(caller))) | |
540 | 525 | then $Tuple2(nil, legacyFactoryContract) | |
541 | 526 | else $Tuple2([Reissue(lpAsset, amountToEmit, true), ScriptTransfer(i.caller, amountToEmit, lpAsset)], "success") | |
542 | 527 | } | |
543 | 528 | ||
544 | 529 | ||
545 | 530 | ||
546 | 531 | @Callable(i) | |
547 | 532 | func burn (amountToBurn) = { | |
548 | 533 | let caller = i.caller | |
549 | 534 | let originCaller = i.originCaller | |
550 | 535 | let payment = value(i.payments[0]) | |
551 | 536 | let paymentAmount = value(payment.amount) | |
552 | 537 | let inAmountAssetId = toBase58String(value(payment.assetId)) | |
553 | 538 | let lpAssetRequestedForBurning = valueOrErrorMessage(getString(keyMappingPoolContractToLPAsset(toString(caller))), "Invalid LP address called me.") | |
554 | 539 | if ((inAmountAssetId != lpAssetRequestedForBurning)) | |
555 | 540 | then throw("Invalid asset passed.") | |
556 | 541 | else if ((amountToBurn != paymentAmount)) | |
557 | 542 | then throw("Invalid amount passed.") | |
558 | 543 | else { | |
559 | 544 | let lpAsset = fromBase58String(lpAssetRequestedForBurning) | |
560 | 545 | $Tuple2([Burn(lpAsset, amountToBurn)], "success") | |
561 | 546 | } | |
562 | 547 | } | |
563 | 548 | ||
564 | 549 | ||
565 | 550 | ||
566 | 551 | @Callable(i) | |
567 | 552 | func modifyWeight (lpAssetId,share) = { | |
568 | 553 | let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyVotingEmissionContract()), ""))) | |
569 | 554 | then true | |
570 | 555 | else mustManager(i) | |
571 | 556 | if ((checkCaller == checkCaller)) | |
572 | 557 | then { | |
573 | 558 | let poolContractAddress = getStringOrFail(keyMappingPoolLPAssetToPoolContractAddress(lpAssetId)) | |
574 | 559 | let poolWeightKey = keyPoolToWeight(poolContractAddress) | |
575 | 560 | let gwxWeightKey = keyPoolToWeight(GWXvirtualPOOL) | |
576 | 561 | let gwxWeight = valueOrElse(getInteger(gwxWeightKey), 0) | |
577 | 562 | let poolWeight = valueOrElse(getInteger(poolWeightKey), 0) | |
578 | 563 | let poolWeightNew = share | |
579 | 564 | let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP) | |
580 | 565 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
581 | 566 | let onModifyWeightInv = invoke(stakingContract, "onModifyWeight", [lpAssetId, poolContractAddress], nil) | |
582 | 567 | if ((onModifyWeightInv == onModifyWeightInv)) | |
583 | 568 | then { | |
584 | 569 | let gwxVirtualPoolActions = if ((gwxWeight == 0)) | |
585 | 570 | then nil | |
586 | 571 | else [IntegerEntry(gwxWeightKey, 0)] | |
587 | 572 | let poolWeightHistoryKey = keyPoolToWeightHistory(poolContractAddress, 0) | |
588 | 573 | let poolWeightHistoryOrUnit = getInteger(poolWeightHistoryKey) | |
589 | 574 | let poolWeightHistoryActions = if ((poolWeightHistoryOrUnit == unit)) | |
590 | 575 | then nil | |
591 | 576 | else [DeleteEntry(poolWeightHistoryKey)] | |
592 | 577 | (([IntegerEntry(poolWeightKey, poolWeightNew)] ++ gwxVirtualPoolActions) ++ poolWeightHistoryActions) | |
593 | 578 | } | |
594 | 579 | else throw("Strict value is not equal to itself.") | |
595 | 580 | } | |
596 | 581 | else throw("Strict value is not equal to itself.") | |
597 | 582 | } | |
598 | 583 | ||
599 | 584 | ||
600 | 585 | ||
601 | 586 | @Callable(i) | |
602 | 587 | func modifyWeights (btcPoolAddress,ethPoolAddress,ethBtcPoolAddress,usdcUsdtPoolAddress) = { | |
603 | 588 | let checkCaller = mustManager(i) | |
604 | 589 | if ((checkCaller == checkCaller)) | |
605 | 590 | then { | |
606 | 591 | let ethBtcWeightNew = ((5 * POOLWEIGHTMULT) / 100) | |
607 | 592 | let usdcUsdtWeightNew = ((5 * POOLWEIGHTMULT) / 100) | |
608 | 593 | let weightDecrement = ((5 * POOLWEIGHTMULT) / 100) | |
609 | 594 | let factoryCfg = split(getStringOrFail(keyFactoryConfig()), SEP) | |
610 | 595 | let stakingDapp = getStakingAddressOrFail(factoryCfg) | |
611 | 596 | let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg) | |
612 | 597 | let btcWeightKEY = keyPoolToWeight(btcPoolAddress) | |
613 | 598 | let ethWeightKEY = keyPoolToWeight(ethPoolAddress) | |
614 | 599 | let ethBtcWeightKEY = keyPoolToWeight(ethBtcPoolAddress) | |
615 | 600 | let usdcUsdtWeightKEY = keyPoolToWeight(usdcUsdtPoolAddress) | |
616 | 601 | let btcWeight = getIntOrFail(btcWeightKEY) | |
617 | 602 | let ethWeight = getIntOrFail(ethWeightKEY) | |
618 | 603 | let btcWeightNew = (btcWeight - weightDecrement) | |
619 | 604 | let ethWeightNew = (ethWeight - weightDecrement) | |
620 | 605 | if ((0 >= btcWeightNew)) | |
621 | 606 | then throw(("invalid btcWeightNew: " + toString(btcWeightNew))) | |
622 | 607 | else if ((0 >= ethWeightNew)) | |
623 | 608 | then throw(("invalid ethWeightNew: " + toString(ethWeightNew))) | |
624 | 609 | else { | |
625 | 610 | let btcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(btcPoolAddress)) | |
626 | 611 | let ethLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethPoolAddress)) | |
627 | 612 | let ethBtcLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(ethBtcPoolAddress)) | |
628 | 613 | let usdcUsdtLpAssetIdStr = getStringOrFail(keyMappingPoolContractToLPAsset(usdcUsdtPoolAddress)) | |
629 | 614 | let onModifyWeightBtc = invoke(stakingDapp, "onModifyWeight", [btcLpAssetIdStr, btcPoolAddress], nil) | |
630 | 615 | if ((onModifyWeightBtc == onModifyWeightBtc)) | |
631 | 616 | then { | |
632 | 617 | let onModifyWeightEth = invoke(stakingDapp, "onModifyWeight", [ethLpAssetIdStr, ethPoolAddress], nil) | |
633 | 618 | if ((onModifyWeightEth == onModifyWeightEth)) | |
634 | 619 | then { | |
635 | 620 | let onModifyWeightEthBtc = invoke(stakingDapp, "onModifyWeight", [ethBtcLpAssetIdStr, ethBtcPoolAddress], nil) | |
636 | 621 | if ((onModifyWeightEthBtc == onModifyWeightEthBtc)) | |
637 | 622 | then { | |
638 | 623 | let onModifyWeightUsdcUsdt = invoke(stakingDapp, "onModifyWeight", [usdcUsdtLpAssetIdStr, usdcUsdtPoolAddress], nil) | |
639 | 624 | if ((onModifyWeightUsdcUsdt == onModifyWeightUsdcUsdt)) | |
640 | 625 | 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)] | |
641 | 626 | else throw("Strict value is not equal to itself.") | |
642 | 627 | } | |
643 | 628 | else throw("Strict value is not equal to itself.") | |
644 | 629 | } | |
645 | 630 | else throw("Strict value is not equal to itself.") | |
646 | 631 | } | |
647 | 632 | else throw("Strict value is not equal to itself.") | |
648 | 633 | } | |
649 | 634 | } | |
650 | 635 | else throw("Strict value is not equal to itself.") | |
651 | 636 | } | |
652 | 637 | ||
653 | 638 | ||
654 | 639 | ||
655 | 640 | @Callable(i) | |
656 | 641 | func checkWxEmissionPoolLabel (amountAssetId,priceAssetId) = { | |
657 | 642 | let haveLabel = match getBoolean(keyWxEmission(amountAssetId, priceAssetId)) { | |
658 | 643 | case b: Boolean => | |
659 | 644 | b | |
660 | 645 | case _ => | |
661 | 646 | false | |
662 | 647 | } | |
663 | 648 | $Tuple2(nil, haveLabel) | |
664 | 649 | } | |
665 | 650 | ||
666 | 651 | ||
667 | 652 | ||
668 | 653 | @Callable(i) | |
669 | 654 | func setWxEmissionPoolLabel (amountAssetId,priceAssetId) = { | |
670 | 655 | let checkCaller = mustAdmin(i) | |
671 | 656 | if ((checkCaller == checkCaller)) | |
672 | 657 | then $Tuple2([BooleanEntry(keyWxEmission(amountAssetId, priceAssetId), true)], unit) | |
673 | 658 | else throw("Strict value is not equal to itself.") | |
674 | 659 | } | |
675 | 660 | ||
676 | 661 | ||
677 | 662 | ||
678 | 663 | @Callable(i) | |
679 | 664 | func deleteWxEmissionPoolLabel (amountAssetId,priceAssetId) = { | |
680 | 665 | let checkCaller = if (mustThis(i)) | |
681 | 666 | then true | |
682 | 667 | else mustAdmin(i) | |
683 | 668 | if ((checkCaller == checkCaller)) | |
684 | 669 | then $Tuple2([DeleteEntry(keyWxEmission(amountAssetId, priceAssetId))], unit) | |
685 | 670 | else throw("Strict value is not equal to itself.") | |
686 | 671 | } | |
687 | 672 | ||
688 | 673 | ||
689 | 674 | ||
690 | 675 | @Callable(i) | |
691 | 676 | func onVerificationLoss (assetId) = { | |
692 | 677 | let checkCaller = if ((toBase58String(i.caller.bytes) == valueOrElse(getString(this, keyAssetsStoreContract()), ""))) | |
693 | 678 | then true | |
694 | 679 | else mustManager(i) | |
695 | 680 | if ((checkCaller == checkCaller)) | |
696 | 681 | then { | |
697 | 682 | let priceAssets = getPriceAssets() | |
698 | 683 | let checkPriceAssetsSize = if ((size(priceAssets) > 0)) | |
699 | 684 | then true | |
700 | 685 | else throw("invalid price assets") | |
701 | 686 | if ((checkPriceAssetsSize == checkPriceAssetsSize)) | |
702 | 687 | then { | |
703 | 688 | func cb (acc,priceAsset) = { | |
704 | 689 | let r = invoke(this, "deleteWxEmissionPoolLabel", [assetId, priceAsset], nil) | |
705 | 690 | if ((r == r)) | |
706 | 691 | then unit | |
707 | 692 | else throw("Strict value is not equal to itself.") | |
708 | 693 | } | |
709 | 694 | ||
710 | 695 | let actions = { | |
711 | 696 | let $l = priceAssets | |
712 | 697 | let $s = size($l) | |
713 | 698 | let $acc0 = unit | |
714 | 699 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
715 | 700 | then $a | |
716 | 701 | else cb($a, $l[$i]) | |
717 | 702 | ||
718 | 703 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
719 | 704 | then $a | |
720 | 705 | else throw("List size exceeds 3") | |
721 | 706 | ||
722 | 707 | $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3) | |
723 | 708 | } | |
724 | 709 | if ((actions == actions)) | |
725 | 710 | then $Tuple2(nil, unit) | |
726 | 711 | else throw("Strict value is not equal to itself.") | |
727 | 712 | } | |
728 | 713 | else throw("Strict value is not equal to itself.") | |
729 | 714 | } | |
730 | 715 | else throw("Strict value is not equal to itself.") | |
731 | 716 | } | |
732 | 717 | ||
733 | 718 | ||
734 | 719 | ||
735 | 720 | @Callable(i) | |
736 | 721 | func isPoolOneTokenOperationsDisabledREADONLY (poolAddress) = { | |
737 | 722 | let poolConfig = getPoolConfig(poolAddress) | |
738 | 723 | let assetsInternal = $Tuple2(parseIntValue(poolConfig[idxIAmtAssetId]), parseIntValue(poolConfig[idxIPriceAssetId])) | |
739 | 724 | let poolOneTokenOperationsDisabled = valueOrElse(getBoolean(keyPoolOneTokenOperationsDisabled(assetsInternal)), false) | |
740 | 725 | let allPoolsOneTokenOperationsDisabled = valueOrElse(getBoolean(keyAllPoolsOneTokenOperationsDisabled()), false) | |
741 | 726 | $Tuple2(nil, if (allPoolsOneTokenOperationsDisabled) | |
742 | 727 | then true | |
743 | 728 | else poolOneTokenOperationsDisabled) | |
744 | 729 | } | |
745 | 730 | ||
746 | 731 | ||
747 | - | ||
748 | - | @Callable(i) | |
749 | - | func getInFeeREADONLY (poolAddress) = { | |
750 | - | let fee = intOrDefaultOrFallback(keyInFee(poolAddress), keyInFeeDefault(), 0) | |
751 | - | $Tuple2(nil, fee) | |
752 | - | } | |
753 | - | ||
754 | - | ||
755 | - | ||
756 | - | @Callable(i) | |
757 | - | func getOutFeeREADONLY (poolAddress) = { | |
758 | - | let fee = intOrDefaultOrFallback(keyOutFee(poolAddress), keyOutFeeDefault(), fraction(10, MULT8, 10000)) | |
759 | - | $Tuple2(nil, fee) | |
760 | - | } | |
761 | - | ||
762 | - | ||
763 | 732 | @Verifier(tx) | |
764 | 733 | func verify () = { | |
765 | 734 | let targetPublicKey = match managerPublicKeyOrUnit() { | |
766 | 735 | case pk: ByteVector => | |
767 | 736 | pk | |
768 | 737 | case _: Unit => | |
769 | 738 | tx.senderPublicKey | |
770 | 739 | case _ => | |
771 | 740 | throw("Match error") | |
772 | 741 | } | |
773 | 742 | sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey) | |
774 | 743 | } | |
775 | 744 |
github/deemru/w8io/026f985 89.83 ms ◑