tx · 9zrDiHfXJxSauVKf986CU25CeC3mD3DsZxBfXP1vvyFH 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp: -0.01000000 Waves 2021.11.30 13:32 [1813651] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves
{ "type": 13, "id": "9zrDiHfXJxSauVKf986CU25CeC3mD3DsZxBfXP1vvyFH", "fee": 1000000, "feeAssetId": null, "timestamp": 1638268355264, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "2t3mwyXZL5p7TKfpG1bLAe4M5n7ui2q2LEhG2GSRJNDxCXrfXUopsWAvfBEVWWzbaGUZ88EMhKbiuKY2NLXjFM9S" ], "script": "base64:AAIFAAAAAAAAACwIAhIDCgEIEgMKAQgSBAoCCAgSAwoBCBIHCgUBAQEICBIAEgMKAQgSAwoBCAAAAEwAAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgAAAAADmlkeFBvb2xBZGRyZXNzAAAAAAAAAAABAAAAAA1pZHhQb29sU3RhdHVzAAAAAAAAAAACAAAAABBpZHhQb29sTFBBc3NldElkAAAAAAAAAAADAAAAAA1pZHhBbXRBc3NldElkAAAAAAAAAAAEAAAAAA9pZHhQcmljZUFzc2V0SWQAAAAAAAAAAAUAAAAADmlkeEFtdEFzc2V0RGNtAAAAAAAAAAAGAAAAABBpZHhQcmljZUFzc2V0RGNtAAAAAAAAAAAHAAAAAA5pZHhJQW10QXNzZXRJZAAAAAAAAAAACAAAAAAQaWR4SVByaWNlQXNzZXRJZAAAAAAAAAAACQAAAAANaWR4TFBB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bnkgdG8gTGlzdFtBbnldBAAAAAlnd3hBbW91bnQDCQAAAQAAAAIJAAGRAAAAAgUAAAAPZ3d4VXNlckluZm9MSVNUAAAAAAAAAAAAAgAAAANJbnQJAAGRAAAAAgUAAAAPZ3d4VXNlckluZm9MSVNUAAAAAAAAAAAACQAAAgAAAAECAAAAGENvdWxkbid0IGNhc3QgQW55IHRvIEludAkABRQAAAACBQAAAANuaWwJAAS5AAAAAgkABEwAAAACAgAAAAIlZAkABEwAAAACCQABpAAAAAEFAAAACWd3eEFtb3VudAUAAAADbmlsBQAAAANTRVAAAAAAbb8k6w==", "chainId": 84, "height": 1813651, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: RxTfn3PL835aykYPidHixau6fjxTaBKTqRUm1C1qioi Next: 67eJL4J3x63KFkPka7q5KMtv3XYom5pX4tk5xjD3p5pU Diff:
Old | New | Differences | |
---|---|---|---|
10 | 10 | let MULT18 = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let SEP = "__" | |
13 | + | ||
14 | + | let POOLWEIGHTMULT = MULT8 | |
13 | 15 | ||
14 | 16 | let idxPoolAddress = 1 | |
15 | 17 | ||
43 | 45 | func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined")) | |
44 | 46 | ||
45 | 47 | ||
48 | + | func asAnyList (val) = match val { | |
49 | + | case valAnyLyst: List[Any] => | |
50 | + | valAnyLyst | |
51 | + | case _ => | |
52 | + | throw("fail to cast into List[Any]") | |
53 | + | } | |
54 | + | ||
55 | + | ||
56 | + | func asInt (val) = match val { | |
57 | + | case valInt: Int => | |
58 | + | valInt | |
59 | + | case _ => | |
60 | + | throw("fail to cast into Int") | |
61 | + | } | |
62 | + | ||
63 | + | ||
64 | + | func asString (val) = match val { | |
65 | + | case valStr: String => | |
66 | + | valStr | |
67 | + | case _ => | |
68 | + | throw("fail to cast into String") | |
69 | + | } | |
70 | + | ||
71 | + | ||
46 | 72 | func keyFactoryAddress () = "%s%s__config__factoryAddress" | |
47 | 73 | ||
48 | 74 | ||
59 | 85 | let IdxFactoryCfgRestDapp = 6 | |
60 | 86 | ||
61 | 87 | let IdxFactoryCfgSlippageDapp = 7 | |
88 | + | ||
89 | + | let IdxFactoryCfgGwxRewardDapp = 8 | |
62 | 90 | ||
63 | 91 | func keyFactoryCfg () = "%s__factoryConfig" | |
64 | 92 | ||
91 | 119 | ||
92 | 120 | ||
93 | 121 | func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp]) | |
122 | + | ||
123 | + | ||
124 | + | func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue("3PH83bJCZraJoEzFefz4p8UXZD9YazNnj1n") | |
94 | 125 | ||
95 | 126 | ||
96 | 127 | func keyBoostCfg () = "%s__config" | |
135 | 166 | func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP) | |
136 | 167 | ||
137 | 168 | ||
169 | + | func keyUserBoostEmissionLastINTEGRAL (userNum) = makeString(["%s%d__userBoostEmissionLastInt", userNum], SEP) | |
170 | + | ||
171 | + | ||
172 | + | func keyUserMaxBoostINTEGRAL (userNum) = makeString(["%s%d__maxBoostInt", userNum], SEP) | |
173 | + | ||
174 | + | ||
175 | + | func keyTotalMaxBoostINTEGRAL () = "%s%s__maxBoostInt__total" | |
176 | + | ||
177 | + | ||
178 | + | func keyUserBoostAvalaibleToClaimTotal (userNum) = makeString(["%s%d__userBoostAvaliableToClaimTotal", userNum], SEP) | |
179 | + | ||
180 | + | ||
181 | + | func keyUserBoostClaimed (userNum) = makeString(["%s%d__userBoostClaimed", userNum], SEP) | |
182 | + | ||
183 | + | ||
138 | 184 | func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP) | |
139 | 185 | ||
140 | 186 | ||
148 | 194 | ||
149 | 195 | ||
150 | 196 | func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP) | |
197 | + | ||
198 | + | ||
199 | + | func readStaked (stakingDapp,key) = valueOrElse(getInteger(stakingDapp, key), 0) | |
151 | 200 | ||
152 | 201 | ||
153 | 202 | func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current" | |
176 | 225 | let maxFactor = (3 * MULT8) | |
177 | 226 | let totalLpStaked = getIntOrZero(stakingContract, keyStakedTotal(lpAssetId)) | |
178 | 227 | [poolWxEmissionPerBlock, maxFactor, totalLpStaked] | |
228 | + | } | |
229 | + | ||
230 | + | ||
231 | + | func calcGwxAmountStartREADONLY (lockAmount,lockDuration,maxLockDuration) = { | |
232 | + | let coeffX8 = fraction(lockDuration, MULT8, maxLockDuration) | |
233 | + | let gWxAmountStart = fraction(lockAmount, coeffX8, MULT8) | |
234 | + | [gWxAmountStart] | |
179 | 235 | } | |
180 | 236 | ||
181 | 237 | ||
212 | 268 | let maxFactor = rewardData[1] | |
213 | 269 | let totalLpStaked = rewardData[2] | |
214 | 270 | let lpStakedByUser = getIntOrZero(stakingContract, keyStakedByUser(userAddress, lpAssetId)) | |
215 | - | let boostingPower = (1 * MULT8) | |
216 | - | $Tuple2(nil, makeString(["%d%d%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower)], SEP)) | |
271 | + | let userClaimInfo = split(asString(invoke(stakingContract, "claimWxREADONLY", [lpAssetId, userAddress], nil)), SEP) | |
272 | + | let minRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[5]), "couldn't parse minRewardPart") | |
273 | + | let boostRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[6]), "couldn't parse boostRewardPart") | |
274 | + | let debug = userClaimInfo[7] | |
275 | + | let boostingPower = if ((boostRewardPart == 0)) | |
276 | + | then (1 * MULT8) | |
277 | + | else fraction((minRewardPart + boostRewardPart), MULT8, minRewardPart) | |
278 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower), debug], SEP)) | |
217 | 279 | } | |
218 | 280 | ||
219 | 281 | ||
258 | 320 | let factoryContract = readFactoryAddressOrFail() | |
259 | 321 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
260 | 322 | let boostingContract = getBoostingAddressOrFail(factoryCfg) | |
323 | + | let mathContract = getGwxRewardAddressOrFail(factoryCfg) | |
324 | + | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
325 | + | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
261 | 326 | let EMPTYSTR = "empty" | |
262 | 327 | let maxLockDurationInBlocks = parseIntValue(split(getStringByAddressOrFail(boostingContract, keyBoostCfg()), SEP)[4]) | |
263 | - | let userNum = valueOrElse(getString(boostingContract, keyUser2NumMapping(userAddressOpt)), EMPTYSTR) | |
264 | - | let userAmount = valueOrElse(getInteger(boostingContract, keyLockParamUserAmount(userNum)), 0) | |
265 | - | let lockStart = valueOrElse(getInteger(boostingContract, keyLockParamStartBlock(userNum)), height) | |
266 | - | let lockDuration = valueOrElse(getInteger(boostingContract, keyLockParamDuration(userNum)), 0) | |
328 | + | let lpAssetIdStr = if ((lpAssetIdOpt == "")) | |
329 | + | then EMPTYSTR | |
330 | + | else lpAssetIdOpt | |
331 | + | let userAddressStr = if ((userAddressOpt == "")) | |
332 | + | then EMPTYSTR | |
333 | + | else userAddressOpt | |
334 | + | let userNumStr = valueOrElse(getString(boostingContract, keyUser2NumMapping(userAddressOpt)), EMPTYSTR) | |
335 | + | let userAmount = valueOrElse(getInteger(boostingContract, keyLockParamUserAmount(userNumStr)), 0) | |
336 | + | let lockStart = valueOrElse(getInteger(boostingContract, keyLockParamStartBlock(userNumStr)), height) | |
337 | + | let lockDuration = valueOrElse(getInteger(boostingContract, keyLockParamDuration(userNumStr)), 0) | |
267 | 338 | let lockEnd = (lockStart + lockDuration) | |
268 | 339 | let remainingDuration = max([(lockEnd - height), 0]) | |
269 | - | let boost = if ((userAddressOpt != "")) | |
270 | - | then (3 * MULT8) | |
271 | - | else (1 * MULT8) | |
272 | - | let SCALE = 1000 | |
273 | 340 | let userAmountNew = (userAmount + deltaWxAmount) | |
274 | 341 | let lockDurationNew = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks]) | |
275 | - | let coeffX8 = fraction(lockDurationNew, MULT8, maxLockDurationInBlocks) | |
276 | - | let wxAmountStart = fraction(userAmountNew, coeffX8, MULT8) | |
277 | - | let lockEndHeight = (height + lockDurationNew) | |
278 | - | let scale8ParamK = -(fraction(wxAmountStart, SCALE, lockDurationNew)) | |
279 | - | let scale8ParamB = (fraction(wxAmountStart, SCALE, lockDurationNew) * lockEndHeight) | |
280 | - | let gWxAmount = (((scale8ParamK * height) + scale8ParamB) / SCALE) | |
281 | - | $Tuple2(nil, makeString(["%d%d", toString(gWxAmount), toString(boost)], SEP)) | |
342 | + | let gWxAmountStart = calcGwxAmountStartREADONLY(userAmountNew, lockDurationNew, maxLockDurationInBlocks)[0] | |
343 | + | let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [gWxAmountStart, height, lockDurationNew], nil)) | |
344 | + | let k = asInt(gWxParamsResultList[0]) | |
345 | + | let b = asInt(gWxParamsResultList[1]) | |
346 | + | let period = toString(asInt(gWxParamsResultList[2])) | |
347 | + | let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL() | |
348 | + | let userMaxBoostIntNew = ((gWxAmountStart * lockDurationNew) / 2) | |
349 | + | let totalMaxBoostInt = getIntOrZero(boostingContract, totalMaxBoostIntegralKEY) | |
350 | + | let MULT3 = 1000 | |
351 | + | let wxEmissionPerBlockX3 = (getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) * MULT3) | |
352 | + | let boostEmissionPerBlockX3 = ((wxEmissionPerBlockX3 * 2) / 3) | |
353 | + | let tmpUserBoostPerBlockX3 = fraction(userMaxBoostIntNew, boostEmissionPerBlockX3, totalMaxBoostInt) | |
354 | + | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
355 | + | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
356 | + | let stakedByUser = readStaked(stakingContract, stakedByUserKEY) | |
357 | + | let stakedTotal = readStaked(stakingContract, stakedTotalKEY) | |
358 | + | let stakedByUserNew = (stakedByUser + deltaLpAmount) | |
359 | + | let stakedTotalNew = (stakedTotal + deltaLpAmount) | |
360 | + | let poolWeight = if ((lpAssetIdStr != EMPTYSTR)) | |
361 | + | then { | |
362 | + | let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr)) | |
363 | + | getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr)) | |
364 | + | } | |
365 | + | else 0 | |
366 | + | let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3)) | |
367 | + | let wxPerLpX3 = if ((stakedTotalNew != 0)) | |
368 | + | then fraction(poolWxEmissionPerBlockX3, MULT8, stakedTotalNew) | |
369 | + | else 0 | |
370 | + | let userWxPerBlockX3 = fraction(wxPerLpX3, stakedByUserNew, MULT8) | |
371 | + | let userBoostPerBlockX3 = min([tmpUserBoostPerBlockX3, (userWxPerBlockX3 * 2)]) | |
372 | + | let boostCoeff = if ((userWxPerBlockX3 == 0)) | |
373 | + | then (1 * MULT8) | |
374 | + | else fraction((userBoostPerBlockX3 + userWxPerBlockX3), MULT8, userWxPerBlockX3) | |
375 | + | let debug = makeString([("lpAssetIdStr=" + lpAssetIdStr), ("userAddressStr=" + userAddressStr), ("userNumStr=" + userNumStr), ("userAmount=" + toString(userAmount)), ("userAmountNew=" + toString(userAmountNew)), ("lockDurationNew=" + toString(lockDurationNew)), ("gWxAmountStart=" + toString(gWxAmountStart)), ("userMaxBoostIntNew=" + toString(userMaxBoostIntNew)), ("totalMaxBoostInt=" + toString(totalMaxBoostInt)), ("tmpUserBoostPerBlockX3=" + toString(tmpUserBoostPerBlockX3)), ("stakedByUserNew=" + toString(stakedByUserNew)), ("stakedTotalNew=" + toString(stakedTotalNew)), ("poolWeight=" + toString(poolWeight)), ("wxPerLpX3=" + toString(wxPerLpX3)), ("poolWxEmissionPerBlockX3=" + toString(poolWxEmissionPerBlockX3)), ("userWxPerBlockX3=" + toString(userWxPerBlockX3))], "::") | |
376 | + | $Tuple2(nil, makeString(["%d%d%s", toString(gWxAmountStart), toString(boostCoeff), debug], SEP)) | |
282 | 377 | } | |
283 | 378 | ||
284 | 379 |
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 SEP = "__" | |
13 | + | ||
14 | + | let POOLWEIGHTMULT = MULT8 | |
13 | 15 | ||
14 | 16 | let idxPoolAddress = 1 | |
15 | 17 | ||
16 | 18 | let idxPoolStatus = 2 | |
17 | 19 | ||
18 | 20 | let idxPoolLPAssetId = 3 | |
19 | 21 | ||
20 | 22 | let idxAmtAssetId = 4 | |
21 | 23 | ||
22 | 24 | let idxPriceAssetId = 5 | |
23 | 25 | ||
24 | 26 | let idxAmtAssetDcm = 6 | |
25 | 27 | ||
26 | 28 | let idxPriceAssetDcm = 7 | |
27 | 29 | ||
28 | 30 | let idxIAmtAssetId = 8 | |
29 | 31 | ||
30 | 32 | let idxIPriceAssetId = 9 | |
31 | 33 | ||
32 | 34 | let idxLPAssetDcm = 10 | |
33 | 35 | ||
34 | 36 | func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined")) | |
35 | 37 | ||
36 | 38 | ||
37 | 39 | func getStringByAddressOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined")) | |
38 | 40 | ||
39 | 41 | ||
40 | 42 | func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0) | |
41 | 43 | ||
42 | 44 | ||
43 | 45 | func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined")) | |
44 | 46 | ||
45 | 47 | ||
48 | + | func asAnyList (val) = match val { | |
49 | + | case valAnyLyst: List[Any] => | |
50 | + | valAnyLyst | |
51 | + | case _ => | |
52 | + | throw("fail to cast into List[Any]") | |
53 | + | } | |
54 | + | ||
55 | + | ||
56 | + | func asInt (val) = match val { | |
57 | + | case valInt: Int => | |
58 | + | valInt | |
59 | + | case _ => | |
60 | + | throw("fail to cast into Int") | |
61 | + | } | |
62 | + | ||
63 | + | ||
64 | + | func asString (val) = match val { | |
65 | + | case valStr: String => | |
66 | + | valStr | |
67 | + | case _ => | |
68 | + | throw("fail to cast into String") | |
69 | + | } | |
70 | + | ||
71 | + | ||
46 | 72 | func keyFactoryAddress () = "%s%s__config__factoryAddress" | |
47 | 73 | ||
48 | 74 | ||
49 | 75 | let IdxFactoryCfgStakingDapp = 1 | |
50 | 76 | ||
51 | 77 | let IdxFactoryCfgBoostingDapp = 2 | |
52 | 78 | ||
53 | 79 | let IdxFactoryCfgIdoDapp = 3 | |
54 | 80 | ||
55 | 81 | let IdxFactoryCfgTeamDapp = 4 | |
56 | 82 | ||
57 | 83 | let IdxFactoryCfgEmissionDapp = 5 | |
58 | 84 | ||
59 | 85 | let IdxFactoryCfgRestDapp = 6 | |
60 | 86 | ||
61 | 87 | let IdxFactoryCfgSlippageDapp = 7 | |
88 | + | ||
89 | + | let IdxFactoryCfgGwxRewardDapp = 8 | |
62 | 90 | ||
63 | 91 | func keyFactoryCfg () = "%s__factoryConfig" | |
64 | 92 | ||
65 | 93 | ||
66 | 94 | func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
67 | 95 | ||
68 | 96 | ||
69 | 97 | func keyFactoryLpList () = "%s__lpTokensList" | |
70 | 98 | ||
71 | 99 | ||
72 | 100 | func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
73 | 101 | ||
74 | 102 | ||
75 | 103 | func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP) | |
76 | 104 | ||
77 | 105 | ||
78 | 106 | func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(keyFactoryAddress())) | |
79 | 107 | ||
80 | 108 | ||
81 | 109 | func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP) | |
82 | 110 | ||
83 | 111 | ||
84 | 112 | func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP) | |
85 | 113 | ||
86 | 114 | ||
87 | 115 | func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp]) | |
88 | 116 | ||
89 | 117 | ||
90 | 118 | func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp]) | |
91 | 119 | ||
92 | 120 | ||
93 | 121 | func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp]) | |
122 | + | ||
123 | + | ||
124 | + | func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue("3PH83bJCZraJoEzFefz4p8UXZD9YazNnj1n") | |
94 | 125 | ||
95 | 126 | ||
96 | 127 | func keyBoostCfg () = "%s__config" | |
97 | 128 | ||
98 | 129 | ||
99 | 130 | func keyBoostingLockParamTotalAmount () = "%s%s__stats__activeTotalLocked" | |
100 | 131 | ||
101 | 132 | ||
102 | 133 | func keyBoostingStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks" | |
103 | 134 | ||
104 | 135 | ||
105 | 136 | func keyBoostingStatsLocksCount () = "%s%s__stats__locksCount" | |
106 | 137 | ||
107 | 138 | ||
108 | 139 | func keyBoostingStatsUsersCount () = "%s%s__stats__activeUsersCount" | |
109 | 140 | ||
110 | 141 | ||
111 | 142 | func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP) | |
112 | 143 | ||
113 | 144 | ||
114 | 145 | func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP) | |
115 | 146 | ||
116 | 147 | ||
117 | 148 | func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP) | |
118 | 149 | ||
119 | 150 | ||
120 | 151 | func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP) | |
121 | 152 | ||
122 | 153 | ||
123 | 154 | func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP) | |
124 | 155 | ||
125 | 156 | ||
126 | 157 | func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP) | |
127 | 158 | ||
128 | 159 | ||
129 | 160 | func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP) | |
130 | 161 | ||
131 | 162 | ||
132 | 163 | func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP) | |
133 | 164 | ||
134 | 165 | ||
135 | 166 | func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP) | |
136 | 167 | ||
137 | 168 | ||
169 | + | func keyUserBoostEmissionLastINTEGRAL (userNum) = makeString(["%s%d__userBoostEmissionLastInt", userNum], SEP) | |
170 | + | ||
171 | + | ||
172 | + | func keyUserMaxBoostINTEGRAL (userNum) = makeString(["%s%d__maxBoostInt", userNum], SEP) | |
173 | + | ||
174 | + | ||
175 | + | func keyTotalMaxBoostINTEGRAL () = "%s%s__maxBoostInt__total" | |
176 | + | ||
177 | + | ||
178 | + | func keyUserBoostAvalaibleToClaimTotal (userNum) = makeString(["%s%d__userBoostAvaliableToClaimTotal", userNum], SEP) | |
179 | + | ||
180 | + | ||
181 | + | func keyUserBoostClaimed (userNum) = makeString(["%s%d__userBoostClaimed", userNum], SEP) | |
182 | + | ||
183 | + | ||
138 | 184 | func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP) | |
139 | 185 | ||
140 | 186 | ||
141 | 187 | func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr) | |
142 | 188 | ||
143 | 189 | ||
144 | 190 | func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP) | |
145 | 191 | ||
146 | 192 | ||
147 | 193 | func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP) | |
148 | 194 | ||
149 | 195 | ||
150 | 196 | func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP) | |
197 | + | ||
198 | + | ||
199 | + | func readStaked (stakingDapp,key) = valueOrElse(getInteger(stakingDapp, key), 0) | |
151 | 200 | ||
152 | 201 | ||
153 | 202 | func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current" | |
154 | 203 | ||
155 | 204 | ||
156 | 205 | func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current" | |
157 | 206 | ||
158 | 207 | ||
159 | 208 | func keyEmissionStartBlock () = "%s%s__emission__startBlock" | |
160 | 209 | ||
161 | 210 | ||
162 | 211 | func keyEmissionDurationInBlocks () = "%s%s__emission__duration" | |
163 | 212 | ||
164 | 213 | ||
165 | 214 | func keyEmissionEndBlock () = "%s%s__emission__endBlock" | |
166 | 215 | ||
167 | 216 | ||
168 | 217 | func internalCurrentRewardRate (factoryContract,stakingContract,emissionContract,lpAssetId) = { | |
169 | 218 | let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetId)) | |
170 | 219 | let poolWeightMult = MULT8 | |
171 | 220 | let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr)) | |
172 | 221 | let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) | |
173 | 222 | let wxEmissionPerBlockMax = getIntOrFail(emissionContract, keyEmissionRatePerBlockMaxCurrent()) | |
174 | 223 | let poolWxEmissionPerBlock = fraction(wxEmissionPerBlock, poolWeight, poolWeightMult) | |
175 | 224 | let poolWxEmissionPerBlockMax = fraction(wxEmissionPerBlockMax, poolWeight, poolWeightMult) | |
176 | 225 | let maxFactor = (3 * MULT8) | |
177 | 226 | let totalLpStaked = getIntOrZero(stakingContract, keyStakedTotal(lpAssetId)) | |
178 | 227 | [poolWxEmissionPerBlock, maxFactor, totalLpStaked] | |
228 | + | } | |
229 | + | ||
230 | + | ||
231 | + | func calcGwxAmountStartREADONLY (lockAmount,lockDuration,maxLockDuration) = { | |
232 | + | let coeffX8 = fraction(lockDuration, MULT8, maxLockDuration) | |
233 | + | let gWxAmountStart = fraction(lockAmount, coeffX8, MULT8) | |
234 | + | [gWxAmountStart] | |
179 | 235 | } | |
180 | 236 | ||
181 | 237 | ||
182 | 238 | @Callable(i) | |
183 | 239 | func constructor (factoryAddress) = if ((i.caller != this)) | |
184 | 240 | then throw("not authorized") | |
185 | 241 | else [StringEntry(keyFactoryAddress(), factoryAddress)] | |
186 | 242 | ||
187 | 243 | ||
188 | 244 | ||
189 | 245 | @Callable(i) | |
190 | 246 | func currentRewardRateREADONLY (lpAssetId) = { | |
191 | 247 | let factoryContract = readFactoryAddressOrFail() | |
192 | 248 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
193 | 249 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
194 | 250 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
195 | 251 | let rewardData = internalCurrentRewardRate(factoryContract, stakingContract, emissionContract, lpAssetId) | |
196 | 252 | let wxEmissionPerBlock = rewardData[0] | |
197 | 253 | let maxFactor = rewardData[1] | |
198 | 254 | let totalLpStaked = rewardData[2] | |
199 | 255 | $Tuple2(nil, makeString(["%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked)], SEP)) | |
200 | 256 | } | |
201 | 257 | ||
202 | 258 | ||
203 | 259 | ||
204 | 260 | @Callable(i) | |
205 | 261 | func currentUserRewardRateREADONLY (lpAssetId,userAddress) = { | |
206 | 262 | let factoryContract = readFactoryAddressOrFail() | |
207 | 263 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
208 | 264 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
209 | 265 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
210 | 266 | let rewardData = internalCurrentRewardRate(factoryContract, stakingContract, emissionContract, lpAssetId) | |
211 | 267 | let wxEmissionPerBlock = rewardData[0] | |
212 | 268 | let maxFactor = rewardData[1] | |
213 | 269 | let totalLpStaked = rewardData[2] | |
214 | 270 | let lpStakedByUser = getIntOrZero(stakingContract, keyStakedByUser(userAddress, lpAssetId)) | |
215 | - | let boostingPower = (1 * MULT8) | |
216 | - | $Tuple2(nil, makeString(["%d%d%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower)], SEP)) | |
271 | + | let userClaimInfo = split(asString(invoke(stakingContract, "claimWxREADONLY", [lpAssetId, userAddress], nil)), SEP) | |
272 | + | let minRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[5]), "couldn't parse minRewardPart") | |
273 | + | let boostRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[6]), "couldn't parse boostRewardPart") | |
274 | + | let debug = userClaimInfo[7] | |
275 | + | let boostingPower = if ((boostRewardPart == 0)) | |
276 | + | then (1 * MULT8) | |
277 | + | else fraction((minRewardPart + boostRewardPart), MULT8, minRewardPart) | |
278 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower), debug], SEP)) | |
217 | 279 | } | |
218 | 280 | ||
219 | 281 | ||
220 | 282 | ||
221 | 283 | @Callable(i) | |
222 | 284 | func claimedRewardREADONLY (userAddress) = { | |
223 | 285 | let factoryContract = readFactoryAddressOrFail() | |
224 | 286 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
225 | 287 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
226 | 288 | let lpList = readLpList() | |
227 | 289 | let prefix = "%s%d%d%d%s" | |
228 | 290 | func claimedRewardByLpAggregator (resultStr,nextLp) = { | |
229 | 291 | let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(nextLp, userAddress) | |
230 | 292 | let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(nextLp, userAddress) | |
231 | 293 | let minRewardClaimed = valueOrElse(getInteger(stakingContract, claimedByUserMinRewardKEY), 0) | |
232 | 294 | let boostRewardClaimed = valueOrElse(getInteger(stakingContract, claimedByUserBoostRewardKEY), 0) | |
233 | 295 | let gFeeClaimed = 0 | |
234 | 296 | makeString([(prefix + resultStr), nextLp, toString(minRewardClaimed), toString(boostRewardClaimed), toString(gFeeClaimed), "end"], SEP) | |
235 | 297 | } | |
236 | 298 | ||
237 | 299 | let result = { | |
238 | 300 | let $l = lpList | |
239 | 301 | let $s = size($l) | |
240 | 302 | let $acc0 = "%s" | |
241 | 303 | func 1 ($a,$i) = if (($i >= $s)) | |
242 | 304 | then $a | |
243 | 305 | else claimedRewardByLpAggregator($a, $l[$i]) | |
244 | 306 | ||
245 | 307 | func 2 ($a,$i) = if (($i >= $s)) | |
246 | 308 | then $a | |
247 | 309 | else throw("List size exceeds 10") | |
248 | 310 | ||
249 | 311 | 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
250 | 312 | } | |
251 | 313 | $Tuple2(nil, ((result + SEP) + userAddress)) | |
252 | 314 | } | |
253 | 315 | ||
254 | 316 | ||
255 | 317 | ||
256 | 318 | @Callable(i) | |
257 | 319 | func calcBoostREADONLY (deltaWxAmount,deltaLockPeriodInBlocks,deltaLpAmount,lpAssetIdOpt,userAddressOpt) = { | |
258 | 320 | let factoryContract = readFactoryAddressOrFail() | |
259 | 321 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
260 | 322 | let boostingContract = getBoostingAddressOrFail(factoryCfg) | |
323 | + | let mathContract = getGwxRewardAddressOrFail(factoryCfg) | |
324 | + | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
325 | + | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
261 | 326 | let EMPTYSTR = "empty" | |
262 | 327 | let maxLockDurationInBlocks = parseIntValue(split(getStringByAddressOrFail(boostingContract, keyBoostCfg()), SEP)[4]) | |
263 | - | let userNum = valueOrElse(getString(boostingContract, keyUser2NumMapping(userAddressOpt)), EMPTYSTR) | |
264 | - | let userAmount = valueOrElse(getInteger(boostingContract, keyLockParamUserAmount(userNum)), 0) | |
265 | - | let lockStart = valueOrElse(getInteger(boostingContract, keyLockParamStartBlock(userNum)), height) | |
266 | - | let lockDuration = valueOrElse(getInteger(boostingContract, keyLockParamDuration(userNum)), 0) | |
328 | + | let lpAssetIdStr = if ((lpAssetIdOpt == "")) | |
329 | + | then EMPTYSTR | |
330 | + | else lpAssetIdOpt | |
331 | + | let userAddressStr = if ((userAddressOpt == "")) | |
332 | + | then EMPTYSTR | |
333 | + | else userAddressOpt | |
334 | + | let userNumStr = valueOrElse(getString(boostingContract, keyUser2NumMapping(userAddressOpt)), EMPTYSTR) | |
335 | + | let userAmount = valueOrElse(getInteger(boostingContract, keyLockParamUserAmount(userNumStr)), 0) | |
336 | + | let lockStart = valueOrElse(getInteger(boostingContract, keyLockParamStartBlock(userNumStr)), height) | |
337 | + | let lockDuration = valueOrElse(getInteger(boostingContract, keyLockParamDuration(userNumStr)), 0) | |
267 | 338 | let lockEnd = (lockStart + lockDuration) | |
268 | 339 | let remainingDuration = max([(lockEnd - height), 0]) | |
269 | - | let boost = if ((userAddressOpt != "")) | |
270 | - | then (3 * MULT8) | |
271 | - | else (1 * MULT8) | |
272 | - | let SCALE = 1000 | |
273 | 340 | let userAmountNew = (userAmount + deltaWxAmount) | |
274 | 341 | let lockDurationNew = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks]) | |
275 | - | let coeffX8 = fraction(lockDurationNew, MULT8, maxLockDurationInBlocks) | |
276 | - | let wxAmountStart = fraction(userAmountNew, coeffX8, MULT8) | |
277 | - | let lockEndHeight = (height + lockDurationNew) | |
278 | - | let scale8ParamK = -(fraction(wxAmountStart, SCALE, lockDurationNew)) | |
279 | - | let scale8ParamB = (fraction(wxAmountStart, SCALE, lockDurationNew) * lockEndHeight) | |
280 | - | let gWxAmount = (((scale8ParamK * height) + scale8ParamB) / SCALE) | |
281 | - | $Tuple2(nil, makeString(["%d%d", toString(gWxAmount), toString(boost)], SEP)) | |
342 | + | let gWxAmountStart = calcGwxAmountStartREADONLY(userAmountNew, lockDurationNew, maxLockDurationInBlocks)[0] | |
343 | + | let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [gWxAmountStart, height, lockDurationNew], nil)) | |
344 | + | let k = asInt(gWxParamsResultList[0]) | |
345 | + | let b = asInt(gWxParamsResultList[1]) | |
346 | + | let period = toString(asInt(gWxParamsResultList[2])) | |
347 | + | let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL() | |
348 | + | let userMaxBoostIntNew = ((gWxAmountStart * lockDurationNew) / 2) | |
349 | + | let totalMaxBoostInt = getIntOrZero(boostingContract, totalMaxBoostIntegralKEY) | |
350 | + | let MULT3 = 1000 | |
351 | + | let wxEmissionPerBlockX3 = (getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) * MULT3) | |
352 | + | let boostEmissionPerBlockX3 = ((wxEmissionPerBlockX3 * 2) / 3) | |
353 | + | let tmpUserBoostPerBlockX3 = fraction(userMaxBoostIntNew, boostEmissionPerBlockX3, totalMaxBoostInt) | |
354 | + | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
355 | + | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
356 | + | let stakedByUser = readStaked(stakingContract, stakedByUserKEY) | |
357 | + | let stakedTotal = readStaked(stakingContract, stakedTotalKEY) | |
358 | + | let stakedByUserNew = (stakedByUser + deltaLpAmount) | |
359 | + | let stakedTotalNew = (stakedTotal + deltaLpAmount) | |
360 | + | let poolWeight = if ((lpAssetIdStr != EMPTYSTR)) | |
361 | + | then { | |
362 | + | let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr)) | |
363 | + | getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr)) | |
364 | + | } | |
365 | + | else 0 | |
366 | + | let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3)) | |
367 | + | let wxPerLpX3 = if ((stakedTotalNew != 0)) | |
368 | + | then fraction(poolWxEmissionPerBlockX3, MULT8, stakedTotalNew) | |
369 | + | else 0 | |
370 | + | let userWxPerBlockX3 = fraction(wxPerLpX3, stakedByUserNew, MULT8) | |
371 | + | let userBoostPerBlockX3 = min([tmpUserBoostPerBlockX3, (userWxPerBlockX3 * 2)]) | |
372 | + | let boostCoeff = if ((userWxPerBlockX3 == 0)) | |
373 | + | then (1 * MULT8) | |
374 | + | else fraction((userBoostPerBlockX3 + userWxPerBlockX3), MULT8, userWxPerBlockX3) | |
375 | + | let debug = makeString([("lpAssetIdStr=" + lpAssetIdStr), ("userAddressStr=" + userAddressStr), ("userNumStr=" + userNumStr), ("userAmount=" + toString(userAmount)), ("userAmountNew=" + toString(userAmountNew)), ("lockDurationNew=" + toString(lockDurationNew)), ("gWxAmountStart=" + toString(gWxAmountStart)), ("userMaxBoostIntNew=" + toString(userMaxBoostIntNew)), ("totalMaxBoostInt=" + toString(totalMaxBoostInt)), ("tmpUserBoostPerBlockX3=" + toString(tmpUserBoostPerBlockX3)), ("stakedByUserNew=" + toString(stakedByUserNew)), ("stakedTotalNew=" + toString(stakedTotalNew)), ("poolWeight=" + toString(poolWeight)), ("wxPerLpX3=" + toString(wxPerLpX3)), ("poolWxEmissionPerBlockX3=" + toString(poolWxEmissionPerBlockX3)), ("userWxPerBlockX3=" + toString(userWxPerBlockX3))], "::") | |
376 | + | $Tuple2(nil, makeString(["%d%d%s", toString(gWxAmountStart), toString(boostCoeff), debug], SEP)) | |
282 | 377 | } | |
283 | 378 | ||
284 | 379 | ||
285 | 380 | ||
286 | 381 | @Callable(i) | |
287 | 382 | func wxEmissionStatsREADONLY () = { | |
288 | 383 | let ONEMULT = toString(MULT8) | |
289 | 384 | let ONE = "1" | |
290 | 385 | let factoryContract = readFactoryAddressOrFail() | |
291 | 386 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
292 | 387 | let boostingContract = getBoostingAddressOrFail(factoryCfg) | |
293 | 388 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
294 | 389 | let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) | |
295 | 390 | let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock()) | |
296 | 391 | let passedBlocks = if ((emissionStartBlock > height)) | |
297 | 392 | then 0 | |
298 | 393 | else (height - emissionStartBlock) | |
299 | 394 | let teamEmDuration = (1440 * 365) | |
300 | 395 | let teamEmMax = (201000000 * MULT8) | |
301 | 396 | let teamEm = if ((passedBlocks > teamEmDuration)) | |
302 | 397 | then teamEmMax | |
303 | 398 | else fraction(teamEmMax, passedBlocks, teamEmDuration) | |
304 | 399 | let totalWxReleased = ((wxEmissionPerBlock * passedBlocks) + teamEm) | |
305 | 400 | let totalWxLocked = getIntOrZero(boostingContract, keyBoostingLockParamTotalAmount()) | |
306 | 401 | let locksDurationSumInBlocks = getIntOrZero(boostingContract, keyBoostingStatsLocksDurationSumInBlocks()) | |
307 | 402 | let locksCount = getIntOrZero(boostingContract, keyBoostingStatsLocksCount()) | |
308 | 403 | $Tuple2(nil, makeString(["%d%d%d%d", toString(totalWxReleased), toString(totalWxLocked), toString(locksDurationSumInBlocks), toString(locksCount)], SEP)) | |
309 | 404 | } | |
310 | 405 | ||
311 | 406 | ||
312 | 407 | ||
313 | 408 | @Callable(i) | |
314 | 409 | func lpStatsREADONLY (lpAsset) = { | |
315 | 410 | let factoryAddress = readFactoryAddressOrFail() | |
316 | 411 | let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryAddress, keyFactoryLpAssetToPoolContractAddress(lpAsset))) | |
317 | 412 | let cfg = if ($isInstanceOf(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil), "List[Any]")) | |
318 | 413 | then invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil) | |
319 | 414 | else throw("Couldn't cast Any to List[Any]") | |
320 | 415 | let lpAssetId = fromBase58String(if ($isInstanceOf(cfg[idxPoolLPAssetId], "String")) | |
321 | 416 | then cfg[idxPoolLPAssetId] | |
322 | 417 | else throw("Couldn't cast Any to String")) | |
323 | 418 | let amtAssetId = if ($isInstanceOf(cfg[idxAmtAssetId], "String")) | |
324 | 419 | then cfg[idxAmtAssetId] | |
325 | 420 | else throw("Couldn't cast Any to String") | |
326 | 421 | let priceAssetId = if ($isInstanceOf(cfg[idxPriceAssetId], "String")) | |
327 | 422 | then cfg[idxPriceAssetId] | |
328 | 423 | else throw("Couldn't cast Any to String") | |
329 | 424 | let iAmtAssetId = if ($isInstanceOf(cfg[idxIAmtAssetId], "String")) | |
330 | 425 | then cfg[idxIAmtAssetId] | |
331 | 426 | else throw("Couldn't cast Any to String") | |
332 | 427 | let iPriceAssetId = if ($isInstanceOf(cfg[idxIPriceAssetId], "String")) | |
333 | 428 | then cfg[idxIPriceAssetId] | |
334 | 429 | else throw("Couldn't cast Any to String") | |
335 | 430 | let amtAssetDcm = parseIntValue(if ($isInstanceOf(cfg[idxAmtAssetDcm], "String")) | |
336 | 431 | then cfg[idxAmtAssetDcm] | |
337 | 432 | else throw("Couldn't cast Any to String")) | |
338 | 433 | let priceAssetDcm = parseIntValue(if ($isInstanceOf(cfg[idxPriceAssetDcm], "String")) | |
339 | 434 | then cfg[idxPriceAssetDcm] | |
340 | 435 | else throw("Couldn't cast Any to String")) | |
341 | 436 | let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity | |
342 | 437 | let accAmtAssetBalance = if ($isInstanceOf(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil), "Int")) | |
343 | 438 | then invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil) | |
344 | 439 | else throw("Couldn't cast Any to Int") | |
345 | 440 | let accPriceAssetBalance = if ($isInstanceOf(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil), "Int")) | |
346 | 441 | then invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil) | |
347 | 442 | else throw("Couldn't cast Any to Int") | |
348 | 443 | let pricesList = if ($isInstanceOf(invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil), "List[Any]")) | |
349 | 444 | then invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil) | |
350 | 445 | else throw("Couldn't cast Any to List[Any]") | |
351 | 446 | let curPrice = 0 | |
352 | 447 | let lpAmtAssetShare = if ($isInstanceOf(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil), "Int")) | |
353 | 448 | then invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil) | |
354 | 449 | else throw("Couldn't cast Any to Int") | |
355 | 450 | let lpPriceAssetShare = if ($isInstanceOf(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil), "Int")) | |
356 | 451 | then invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil) | |
357 | 452 | else throw("Couldn't cast Any to Int") | |
358 | 453 | let poolWeight = getIntegerValue(factoryAddress, keyFactoryPoolWeight(toString(poolAddress))) | |
359 | 454 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(accAmtAssetBalance), toString(accPriceAssetBalance), toString(poolLPBalance), toString(curPrice), toString(lpAmtAssetShare), toString(lpPriceAssetShare), toString(poolWeight)], SEP)) | |
360 | 455 | } | |
361 | 456 | ||
362 | 457 | ||
363 | 458 | ||
364 | 459 | @Callable(i) | |
365 | 460 | func gwxUserInfoREADONLY (userAddress) = { | |
366 | 461 | let factoryContract = readFactoryAddressOrFail() | |
367 | 462 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
368 | 463 | let boostingContract = getBoostingAddressOrFail(factoryCfg) | |
369 | 464 | let gwxUserInfoLIST = if ($isInstanceOf(invoke(boostingContract, "gwxUserInfoREADONLY", [userAddress], nil), "List[Any]")) | |
370 | 465 | then invoke(boostingContract, "gwxUserInfoREADONLY", [userAddress], nil) | |
371 | 466 | else throw("Couldn't cast Any to List[Any]") | |
372 | 467 | let gwxAmount = if ($isInstanceOf(gwxUserInfoLIST[0], "Int")) | |
373 | 468 | then gwxUserInfoLIST[0] | |
374 | 469 | else throw("Couldn't cast Any to Int") | |
375 | 470 | $Tuple2(nil, makeString(["%d", toString(gwxAmount)], SEP)) | |
376 | 471 | } | |
377 | 472 | ||
378 | 473 |
github/deemru/w8io/169f3d6 123.51 ms ◑