tx · Ggpv3t9Htx8aKByWxe3Uv8TDqbFu75cmmZRTB7bVv88J 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph: -0.01400000 Waves 2022.02.09 18:53 [1916293] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves
{ "type": 13, "id": "Ggpv3t9Htx8aKByWxe3Uv8TDqbFu75cmmZRTB7bVv88J", "fee": 1400000, "feeAssetId": null, "timestamp": 1644422040688, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "2VZvQb2HC3Fc9kD395ZfnTzAq8kZzrV6Dd9p47XXb2w19Shfiudz6cwRW2fagkQPQtDXGCkcLoCMC99N27uaQK4o", "2uaqf2jXCsjGrZtC5vhqqLXwNRzMsjcQpTXHWyjm2MiQAGSsD3qPDKNsQLeDAXXSaivahcCgRvpjGgY6Z3zfZs5V", "2mXUqqi2hhmM5wxE78LnTwWJC7tpx3pGJx5uH148Ek4itz324kZPBgLrRpVwQE3kYaVyScYb6ybVNhZ1MnLSSjxH" ], "script": "base64:AAIFAAAAAAAAADIIAhIGCgQYGBgREgMKARgSBgoECAgBARIAEgMKAQgSAwoBCBIFCgMICAgSBAoCGBQSAAAAABkAAAAACmRlcG9zaXRGZWUAAAAAAAAAA+gAAAAADWNvbnRyb2xsZXJGZWUAAAAAAAAAJxAAAAAAC3BsYXRmb3JtRmVlAAAAAAAAACcQAAAAAAxhZG1pblB1YktleTEBAAAAIEwvRdV86hRhnS7nBV5a0WPGXpXnXQT7cggRVXwSOVB4AAAAAAxhZG1pblB1YktleTIBAAAAIKNY4ZyvC53Z2TeeJDtpRS+31kZVSLjrrbWqfndSxAQ9AAAAAAxhZG1pblB1YktleTMBAAAAIIrQtPkwSxrxVLV2azl3dj8A0awIYxMwmN3U5WpkpB8pAAAAAAxhZG1p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CeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTQGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQMDAwUAAAAPbG9ja1NoYXJlVG9rZW5zBgUAAAANcG9vbEZ1bmN0aW9ucwYFAAAACGxvY2tTd29wBQAAAA1zaWduZWRCeUFkbWluBwQAAAAKYWRtMVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAxhZG1pblB1YktleTEAAAAAAAAAAAEAAAAAAAAAAAAEAAAACmFkbTJTaWduZWQDCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAAMYWRtaW5QdWJLZXkyAAAAAAAAAAABAAAAAAAAAAAABAAAAAphZG0zU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGFkbWluUHViS2V5MwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAAKYWRtMVNpZ25lZAUAAAAKYWRtMlNpZ25lZAUAAAAKYWRtM1NpZ25lZAAAAAAAAAAAAn1EdD8=", "height": 1916293, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 42DmXwKtw7jDJaxKPyvRhQ77FhKbMSayuCzeLkjiz2uR Next: 3dfGN3LweHhApjoNpoCAqPestiAnopjwocgktdKVWGft Diff:
Old | New | Differences | |
---|---|---|---|
413 | 413 | else throw("Only admin can call this function") | |
414 | 414 | ||
415 | 415 | ||
416 | + | ||
417 | + | @Callable(i) | |
418 | + | func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
419 | + | then [DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_1KJhUn8pPPGxmWzXK4PvF6FkFEXeLuHpXwpH6rwE88s_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_1KJhUn8pPPGxmWzXK4PvF6FkFEXeLuHpXwpH6rwE88s_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_4dy5fU6frRsxWbBePyz7Lvr2EAyrfiqQ3yXVFPK18FaY_locked"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5UizWQabC3mNaadrfhEUnAUS6Dswm6HS7fsV5PseU3qE_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5UizWQabC3mNaadrfhEUnAUS6Dswm6HS7fsV5PseU3qE_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5ZdQDkvLPYKNMbyy5AXwvHA1CkAt84jmvFmwd37KfSsg_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5ZdQDkvLPYKNMbyy5AXwvHA1CkAt84jmvFmwd37KfSsg_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_DmtL6XjezCEr6MWwZ2eGJBeVdsCVEfaLkENBZpHVhunj_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_DmtL6XjezCEr6MWwZ2eGJBeVdsCVEfaLkENBZpHVhunj_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_F8NVWYmkUES4JgFUREvrGUCfvnbkbqNkhS8SikCgawYd_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_TzMDdFEKvA3AsYuvYkAeyv5opH1XsPGsvUn1AgZQuxA_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_TzMDdFEKvA3AsYuvYkAeyv5opH1XsPGsvUn1AgZQuxA_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5ZdQDkvLPYKNMbyy5AXwvHA1CkAt84jmvFmwd37KfSsg_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_Yq8oJc7ZLMWexDMxuU2RzVZ8Tr921WTJHpBgczbgL3t_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_asset_balance"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3NBTuZhn2CwAgWGL99qpGDjZQ4Wtbg56iDL_asset_balance"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK13MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS13oR8W2p7AkgpBLaPnPEHkbb7bp7Z4H1z3nBWKMkm5hW"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_28FWsndD3wToMYh7MPJPkCCLkDi842ugScQcosLTPCKP_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_2DkS8AfuXBKJk5yz9TZqk9BH3QmxTzHtXU2Cepc13FAn_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_61F85pVcZAuAuzrkEzu7k7HW324hfYmKPb4A8cqPM1rr_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_6tYJC9ycmhPRJBs13cajy64X8xzF8FLwF5pvUsmckVS5_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_7Q9xaARyVWbFbabaCLw6XDmaF5f7YTHRZxV3nEidZSgW_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_7vukDJ9ePhPvxhmeXE8a7kKmWZNGExZ8T89AWCZU75Ge_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_CYqj8horQLQ7tAGJ31qTVSbAAPBjUN4C8Ehnedxr4b8a_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_asset_balance"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_current_reward"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_earned")] | |
420 | + | else throw("Only admin can call this function") | |
421 | + | ||
422 | + | ||
416 | 423 | @Verifier(tx) | |
417 | 424 | func verify () = match tx { | |
418 | 425 | case inv: InvokeScriptTransaction => |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let depositFee = 1000 | |
5 | 5 | ||
6 | 6 | let controllerFee = 10000 | |
7 | 7 | ||
8 | 8 | let platformFee = 10000 | |
9 | 9 | ||
10 | 10 | let adminPubKey1 = base58'68Po1k24uP6goKr7RDmXPg4QkMiKuyTMEirao14rif8s' | |
11 | 11 | ||
12 | 12 | let adminPubKey2 = base58'Bze4aurT9WmLgBT6swA9CajaZFtUwhtwCri6XGAjnAkt' | |
13 | 13 | ||
14 | 14 | let adminPubKey3 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC' | |
15 | 15 | ||
16 | 16 | let adminPubKey4 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC' | |
17 | 17 | ||
18 | 18 | let govermanceAddress = Address(base58'3N7ExjwfofPYTvNBv2zqtAtLcMxqjTxS7iL') | |
19 | 19 | ||
20 | 20 | let swopFiGovermanceAddress = Address(base58'3PLHVWCqA9DJPDbadUofTohnCULLauiDWhS') | |
21 | 21 | ||
22 | 22 | let farmingAddress = Address(base58'3NBTuZhn2CwAgWGL99qpGDjZQ4Wtbg56iDL') | |
23 | 23 | ||
24 | 24 | let keySWOPid = "SWOP_id" | |
25 | 25 | ||
26 | 26 | let SWOP = fromBase58String(getStringValue(farmingAddress, keySWOPid)) | |
27 | 27 | ||
28 | 28 | let depositType = "deposit" | |
29 | 29 | ||
30 | 30 | let withdrawType = "withdraw" | |
31 | 31 | ||
32 | 32 | let swopFiPools = ["3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1", "3PKy2mZqnvT2EtpwDim9Mgs6YvCRe4s85nX", "3P27S9V36kw2McjWRZ37AxTx8iwkd7HXw6W"] | |
33 | 33 | ||
34 | 34 | let swopFiFunctions = ["replenishWithTwoTokens", "exchange"] | |
35 | 35 | ||
36 | 36 | func isPoolActive (pool) = { | |
37 | 37 | let kActive = (pool + "_active") | |
38 | 38 | let isActive = match getBoolean(this, kActive) { | |
39 | 39 | case boolean: Boolean => | |
40 | 40 | boolean | |
41 | 41 | case _ => | |
42 | 42 | throw("Pool is not active!") | |
43 | 43 | } | |
44 | 44 | isActive | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func getDAppAssetAddress (pool) = match getString((pool + "_service_token")) { | |
49 | 49 | case string: String => | |
50 | 50 | string | |
51 | 51 | case nothing => | |
52 | 52 | throw("You try to deposit on unsupported pool") | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func getLiquidutyAssetAddress (pool) = match getString((pool + "_liquidity_token")) { | |
57 | 57 | case string: String => | |
58 | 58 | string | |
59 | 59 | case nothing => | |
60 | 60 | throw("You try to withdraw from unsupported pool") | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func getStakedAmount (poolAddress) = if ((poolAddress == toBase58String(SWOP))) | |
65 | 65 | then match getInteger(swopFiGovermanceAddress, (toString(this) + "_SWOP_amount")) { | |
66 | 66 | case staked: Int => | |
67 | 67 | staked | |
68 | 68 | case nothing: Unit => | |
69 | 69 | 0 | |
70 | 70 | case _ => | |
71 | 71 | throw("Match error") | |
72 | 72 | } | |
73 | 73 | else match getInteger(farmingAddress, (((poolAddress + "_") + toString(this)) + "_share_tokens_locked")) { | |
74 | 74 | case staked: Int => | |
75 | 75 | staked | |
76 | 76 | case nothing: Unit => | |
77 | 77 | 0 | |
78 | 78 | case _ => | |
79 | 79 | throw("Match error") | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func transferToUser (amount,assetId,poolAddress,type) = { | |
84 | 84 | let dAppStakedTokens = getStakedAmount(poolAddress) | |
85 | 85 | let assetIdQuantity = match assetInfo(assetId) { | |
86 | 86 | case asset: Asset => | |
87 | 87 | asset.quantity | |
88 | 88 | case _ => | |
89 | 89 | throw("Can't find asset") | |
90 | 90 | } | |
91 | 91 | if ((dAppStakedTokens == 0)) | |
92 | 92 | then amount | |
93 | 93 | else if ((type == depositType)) | |
94 | 94 | then { | |
95 | 95 | let transferToUserAmount = fraction(amount, assetIdQuantity, dAppStakedTokens) | |
96 | 96 | transferToUserAmount | |
97 | 97 | } | |
98 | 98 | else { | |
99 | 99 | let transferToUserAmount = fraction(amount, dAppStakedTokens, assetIdQuantity) | |
100 | 100 | transferToUserAmount | |
101 | 101 | } | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func userWithdrawKey (pool,userAddress,transactionId) = (((((pool + "_") + userAddress) + "_") + transactionId) + "_withdraw") | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func userWithdrawBurnTokensKey (pool,userAddress,transactionId) = (((((pool + "_") + userAddress) + "_") + transactionId) + "_withdraw_burn_token") | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func getUserTotalLockedKey (pool,userAddress) = (((pool + "_") + userAddress) + "_service_token_total_locked") | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func getUserTotalLocked (key) = match getInteger(key) { | |
115 | 115 | case int: Int => | |
116 | 116 | int | |
117 | 117 | case nothing => | |
118 | 118 | 0 | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | @Callable(i) | |
123 | 123 | func addPools (pools,liquidityTokens,serviceTokens,liquidityTokenDecimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
124 | 124 | then { | |
125 | 125 | func generatePoolKeys (accumulated,pool) = IntegerEntry((pool + "_asset_balance"), 0) :: accumulated | |
126 | 126 | ||
127 | 127 | func generatePoolLiquidityTokenKeys (accumulated,pool) = { | |
128 | 128 | let poolIndex = value(indexOf(pools, pool)) | |
129 | 129 | let liquidityToken = liquidityTokens[poolIndex] | |
130 | 130 | StringEntry((pool + "_liquidity_token"), liquidityToken) :: accumulated | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | func generatePoolServiceTokenKeys (accumulated,pool) = { | |
134 | 134 | let poolIndex = value(indexOf(pools, pool)) | |
135 | 135 | let liquidityToken = serviceTokens[poolIndex] | |
136 | 136 | StringEntry((pool + "_service_token"), liquidityToken) :: accumulated | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | func generatePoolLiquidityTokenDecimalKeys (accumulated,pool) = { | |
140 | 140 | let poolIndex = value(indexOf(pools, pool)) | |
141 | 141 | let liquidityToken = liquidityTokenDecimals[poolIndex] | |
142 | 142 | IntegerEntry((pool + "_service_token_decimal"), liquidityToken) :: accumulated | |
143 | 143 | } | |
144 | 144 | ||
145 | 145 | func generatePoolActiveKeys (accumulated,pool) = BooleanEntry((pool + "_active"), true) :: accumulated | |
146 | 146 | ||
147 | 147 | let poolBalanceKeys = { | |
148 | 148 | let $l = pools | |
149 | 149 | let $s = size($l) | |
150 | 150 | let $acc0 = nil | |
151 | 151 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
152 | 152 | then $a | |
153 | 153 | else generatePoolKeys($a, $l[$i]) | |
154 | 154 | ||
155 | 155 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
156 | 156 | then $a | |
157 | 157 | else throw("List size exceeds 20") | |
158 | 158 | ||
159 | 159 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
160 | 160 | } | |
161 | 161 | let poolLiquidityTokenKeys = { | |
162 | 162 | let $l = pools | |
163 | 163 | let $s = size($l) | |
164 | 164 | let $acc0 = nil | |
165 | 165 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
166 | 166 | then $a | |
167 | 167 | else generatePoolLiquidityTokenKeys($a, $l[$i]) | |
168 | 168 | ||
169 | 169 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
170 | 170 | then $a | |
171 | 171 | else throw("List size exceeds 20") | |
172 | 172 | ||
173 | 173 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
174 | 174 | } | |
175 | 175 | let poolServiceTokenKeys = { | |
176 | 176 | let $l = pools | |
177 | 177 | let $s = size($l) | |
178 | 178 | let $acc0 = nil | |
179 | 179 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
180 | 180 | then $a | |
181 | 181 | else generatePoolServiceTokenKeys($a, $l[$i]) | |
182 | 182 | ||
183 | 183 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
184 | 184 | then $a | |
185 | 185 | else throw("List size exceeds 20") | |
186 | 186 | ||
187 | 187 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
188 | 188 | } | |
189 | 189 | let poolLiquidityTokenDecimalKeys = { | |
190 | 190 | let $l = pools | |
191 | 191 | let $s = size($l) | |
192 | 192 | let $acc0 = nil | |
193 | 193 | func $f3_1 ($a,$i) = if (($i >= $s)) | |
194 | 194 | then $a | |
195 | 195 | else generatePoolLiquidityTokenDecimalKeys($a, $l[$i]) | |
196 | 196 | ||
197 | 197 | func $f3_2 ($a,$i) = if (($i >= $s)) | |
198 | 198 | then $a | |
199 | 199 | else throw("List size exceeds 20") | |
200 | 200 | ||
201 | 201 | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
202 | 202 | } | |
203 | 203 | let poolActiveKeys = { | |
204 | 204 | let $l = pools | |
205 | 205 | let $s = size($l) | |
206 | 206 | let $acc0 = nil | |
207 | 207 | func $f4_1 ($a,$i) = if (($i >= $s)) | |
208 | 208 | then $a | |
209 | 209 | else generatePoolActiveKeys($a, $l[$i]) | |
210 | 210 | ||
211 | 211 | func $f4_2 ($a,$i) = if (($i >= $s)) | |
212 | 212 | then $a | |
213 | 213 | else throw("List size exceeds 20") | |
214 | 214 | ||
215 | 215 | $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
216 | 216 | } | |
217 | 217 | ((((poolBalanceKeys ++ poolLiquidityTokenKeys) ++ poolServiceTokenKeys) ++ poolLiquidityTokenDecimalKeys) ++ poolActiveKeys) | |
218 | 218 | } | |
219 | 219 | else throw("Only admin can call this function") | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | ||
223 | 223 | @Callable(i) | |
224 | 224 | func deleteDepositLockRecords (records) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
225 | 225 | then { | |
226 | 226 | func generateDeletingKeys (accumulated,record) = DeleteEntry((record + "_locked")) :: accumulated | |
227 | 227 | ||
228 | 228 | let deleteKeys = { | |
229 | 229 | let $l = records | |
230 | 230 | let $s = size($l) | |
231 | 231 | let $acc0 = nil | |
232 | 232 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
233 | 233 | then $a | |
234 | 234 | else generateDeletingKeys($a, $l[$i]) | |
235 | 235 | ||
236 | 236 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
237 | 237 | then $a | |
238 | 238 | else throw("List size exceeds 100") | |
239 | 239 | ||
240 | 240 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
241 | 241 | } | |
242 | 242 | deleteKeys | |
243 | 243 | } | |
244 | 244 | else throw("Only admin can call this function") | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | ||
248 | 248 | @Callable(i) | |
249 | 249 | func issueToken (name,description,quantity,decimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
250 | 250 | then [Issue(name, description, quantity, decimals, true, unit, 0)] | |
251 | 251 | else throw("Only admin can call this function") | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | ||
255 | 255 | @Callable(a8) | |
256 | 256 | func call () = [DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3N5viYFhnu1ew4FRZ9nujme9edr918FkT1a_current_reward")] | |
257 | 257 | ||
258 | 258 | ||
259 | 259 | ||
260 | 260 | @Callable(i) | |
261 | 261 | func deposit (pool) = if ((size(i.payments) != 1)) | |
262 | 262 | then throw("One attached payment expected") | |
263 | 263 | else { | |
264 | 264 | let amount = i.payments[0].amount | |
265 | 265 | let assetId = i.payments[0].assetId | |
266 | 266 | let assetIdString = match assetId { | |
267 | 267 | case id: ByteVector => | |
268 | 268 | toBase58String(id) | |
269 | 269 | case _ => | |
270 | 270 | throw("Match error") | |
271 | 271 | } | |
272 | 272 | if ((0 >= amount)) | |
273 | 273 | then throw(("Deposit amount must be positive. Actual: " + toString(amount))) | |
274 | 274 | else { | |
275 | 275 | let poolAmountKey = (pool + "_asset_balance") | |
276 | 276 | let userAddress = toString(i.caller) | |
277 | 277 | let userPoolAmountKey = (((pool + "_") + userAddress) + "_asset_balance") | |
278 | 278 | let dAppAssetAddress = getDAppAssetAddress(pool) | |
279 | 279 | let liquidutyAssetAddress = match getString((pool + "_liquidity_token")) { | |
280 | 280 | case string: String => | |
281 | 281 | string | |
282 | 282 | case nothing => | |
283 | 283 | throw("You try to deposit on unsupported pool") | |
284 | 284 | } | |
285 | 285 | if (isPoolActive(pool)) | |
286 | 286 | then { | |
287 | 287 | let liquidityTokenDecimal = match assetInfo(fromBase58String(liquidutyAssetAddress)) { | |
288 | 288 | case asset: Asset => | |
289 | 289 | asset.decimals | |
290 | 290 | case _ => | |
291 | 291 | throw("Can't find asset") | |
292 | 292 | } | |
293 | 293 | if ((liquidutyAssetAddress != assetIdString)) | |
294 | 294 | then throw("You attached wrong liquidity token from Swop.fi") | |
295 | 295 | else { | |
296 | 296 | let poolAmount = getIntegerValue(this, poolAmountKey) | |
297 | 297 | let userAmount = match getInteger(userPoolAmountKey) { | |
298 | 298 | case int: Int => | |
299 | 299 | int | |
300 | 300 | case nothing => | |
301 | 301 | 0 | |
302 | 302 | } | |
303 | 303 | let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress) | |
304 | 304 | let userTotalLocked = getUserTotalLocked(userTotalLockedKey) | |
305 | 305 | let userAmountWithoutFee = ((amount - fraction(amount, 1, depositFee, HALFUP)) - fraction(amount, 1, controllerFee, HALFUP)) | |
306 | 306 | let transferToUserAmount = transferToUser(userAmountWithoutFee, fromBase58String(dAppAssetAddress), pool, depositType) | |
307 | 307 | let fee = (amount - userAmountWithoutFee) | |
308 | 308 | let newPoolAmount = ((poolAmount + amount) - fee) | |
309 | 309 | let newUserPoolAmount = (userAmount + transferToUserAmount) | |
310 | 310 | let newUserTotalLocked = (userTotalLocked + transferToUserAmount) | |
311 | 311 | let lockTokensKey = (((((pool + "_") + userAddress) + "_") + toBase58String(i.transactionId)) + "_locked") | |
312 | 312 | [Reissue(fromBase58String(dAppAssetAddress), transferToUserAmount, true), ScriptTransfer(i.caller, transferToUserAmount, fromBase58String(dAppAssetAddress)), ScriptTransfer(govermanceAddress, fee, fromBase58String(liquidutyAssetAddress)), IntegerEntry(lockTokensKey, userAmountWithoutFee), IntegerEntry(poolAmountKey, newPoolAmount), IntegerEntry(userPoolAmountKey, newUserPoolAmount), IntegerEntry(userTotalLockedKey, newUserTotalLocked)] | |
313 | 313 | } | |
314 | 314 | } | |
315 | 315 | else throw("Pool is not active!") | |
316 | 316 | } | |
317 | 317 | } | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | ||
321 | 321 | @Callable(i) | |
322 | 322 | func initWithdraw (pool) = if ((size(i.payments) != 1)) | |
323 | 323 | then throw("One attached payment expected") | |
324 | 324 | else { | |
325 | 325 | let amount = i.payments[0].amount | |
326 | 326 | let assetId = i.payments[0].assetId | |
327 | 327 | let assetIdString = match assetId { | |
328 | 328 | case id: ByteVector => | |
329 | 329 | toBase58String(id) | |
330 | 330 | case _ => | |
331 | 331 | throw("Match error") | |
332 | 332 | } | |
333 | 333 | let assetIdByteVector = match assetId { | |
334 | 334 | case id: ByteVector => | |
335 | 335 | id | |
336 | 336 | case _ => | |
337 | 337 | throw("Match error") | |
338 | 338 | } | |
339 | 339 | if ((0 >= amount)) | |
340 | 340 | then throw(("Withraw amount must be positive. Actual: " + toString(amount))) | |
341 | 341 | else if (isPoolActive(pool)) | |
342 | 342 | then { | |
343 | 343 | let userAddress = toString(i.caller) | |
344 | 344 | let userTotalLockedKey = getUserTotalLockedKey(pool, userAddress) | |
345 | 345 | let userTotalLocked = getUserTotalLocked(userTotalLockedKey) | |
346 | 346 | let userTotalBalance = assetBalance(i.caller, assetIdByteVector) | |
347 | 347 | let nonLockedBalance = (userTotalBalance - userTotalLocked) | |
348 | 348 | if ((amount > nonLockedBalance)) | |
349 | 349 | then throw("You have a locked tokens. Wait a time for unlock or try to withdrraw less") | |
350 | 350 | else { | |
351 | 351 | let transferToUserAmount = transferToUser(amount, fromBase58String(assetIdString), pool, withdrawType) | |
352 | 352 | let userRecordKey = userWithdrawKey(pool, userAddress, toBase58String(i.transactionId)) | |
353 | 353 | let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, toBase58String(i.transactionId)) | |
354 | 354 | [IntegerEntry(userRecordKey, transferToUserAmount), IntegerEntry(userWithdrawBurnTokenKey, amount)] | |
355 | 355 | } | |
356 | 356 | } | |
357 | 357 | else throw("Pool is not active!") | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | ||
362 | 362 | @Callable(i) | |
363 | 363 | func withdraw (pool,userAddress,transactionId) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
364 | 364 | then { | |
365 | 365 | let userRecordKey = userWithdrawKey(pool, userAddress, transactionId) | |
366 | 366 | let userWithdrawBurnTokenKey = userWithdrawBurnTokensKey(pool, userAddress, transactionId) | |
367 | 367 | let sendUserAmount = getIntegerValue(this, userRecordKey) | |
368 | 368 | let burnTokenAmount = getIntegerValue(this, userWithdrawBurnTokenKey) | |
369 | 369 | let poolAmountKey = (pool + "_asset_balance") | |
370 | 370 | let userPoolAmountKey = (((pool + "_") + userAddress) + "_asset_balance") | |
371 | 371 | let userAmount = match getInteger(userPoolAmountKey) { | |
372 | 372 | case int: Int => | |
373 | 373 | int | |
374 | 374 | case nothing => | |
375 | 375 | 0 | |
376 | 376 | } | |
377 | 377 | let dAppAssetAddress = getDAppAssetAddress(pool) | |
378 | 378 | let liquidutyAssetAddress = getLiquidutyAssetAddress(pool) | |
379 | 379 | let poolAmount = getIntegerValue(this, poolAmountKey) | |
380 | 380 | let newPoolAmount = (poolAmount - sendUserAmount) | |
381 | 381 | let newUserPoolAmount = (userAmount - sendUserAmount) | |
382 | 382 | [Burn(fromBase58String(dAppAssetAddress), burnTokenAmount), ScriptTransfer(i.caller, sendUserAmount, fromBase58String(liquidutyAssetAddress)), IntegerEntry(poolAmountKey, newPoolAmount), IntegerEntry(userPoolAmountKey, newUserPoolAmount), DeleteEntry(userRecordKey), DeleteEntry(userWithdrawBurnTokenKey)] | |
383 | 383 | } | |
384 | 384 | else throw("Only admin can call this function") | |
385 | 385 | ||
386 | 386 | ||
387 | 387 | ||
388 | 388 | @Callable(i) | |
389 | 389 | func poolActivating (pools,statuses) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
390 | 390 | then { | |
391 | 391 | func generatePoolActiveKeys (accumulated,pool) = { | |
392 | 392 | let poolIndex = value(indexOf(pools, pool)) | |
393 | 393 | let status = statuses[poolIndex] | |
394 | 394 | BooleanEntry((pool + "_active"), status) :: accumulated | |
395 | 395 | } | |
396 | 396 | ||
397 | 397 | let poolActiveKeys = { | |
398 | 398 | let $l = pools | |
399 | 399 | let $s = size($l) | |
400 | 400 | let $acc0 = nil | |
401 | 401 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
402 | 402 | then $a | |
403 | 403 | else generatePoolActiveKeys($a, $l[$i]) | |
404 | 404 | ||
405 | 405 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
406 | 406 | then $a | |
407 | 407 | else throw("List size exceeds 100") | |
408 | 408 | ||
409 | 409 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
410 | 410 | } | |
411 | 411 | poolActiveKeys | |
412 | 412 | } | |
413 | 413 | else throw("Only admin can call this function") | |
414 | 414 | ||
415 | 415 | ||
416 | + | ||
417 | + | @Callable(i) | |
418 | + | func deleteUnsedData () = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey)) | |
419 | + | then [DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_1KJhUn8pPPGxmWzXK4PvF6FkFEXeLuHpXwpH6rwE88s_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_1KJhUn8pPPGxmWzXK4PvF6FkFEXeLuHpXwpH6rwE88s_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_4dy5fU6frRsxWbBePyz7Lvr2EAyrfiqQ3yXVFPK18FaY_locked"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5UizWQabC3mNaadrfhEUnAUS6Dswm6HS7fsV5PseU3qE_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5UizWQabC3mNaadrfhEUnAUS6Dswm6HS7fsV5PseU3qE_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5ZdQDkvLPYKNMbyy5AXwvHA1CkAt84jmvFmwd37KfSsg_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5ZdQDkvLPYKNMbyy5AXwvHA1CkAt84jmvFmwd37KfSsg_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_DmtL6XjezCEr6MWwZ2eGJBeVdsCVEfaLkENBZpHVhunj_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_DmtL6XjezCEr6MWwZ2eGJBeVdsCVEfaLkENBZpHVhunj_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_F8NVWYmkUES4JgFUREvrGUCfvnbkbqNkhS8SikCgawYd_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_TzMDdFEKvA3AsYuvYkAeyv5opH1XsPGsvUn1AgZQuxA_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_TzMDdFEKvA3AsYuvYkAeyv5opH1XsPGsvUn1AgZQuxA_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_5ZdQDkvLPYKNMbyy5AXwvHA1CkAt84jmvFmwd37KfSsg_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_Yq8oJc7ZLMWexDMxuU2RzVZ8Tr921WTJHpBgczbgL3t_withdraw_burn_token"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_asset_balance"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_withdraw"), DeleteEntry("3PEeJQRJT4v4XvSUBPmxhdWKz439nae7KtQ_3NBTuZhn2CwAgWGL99qpGDjZQ4Wtbg56iDL_asset_balance"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK13MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS13oR8W2p7AkgpBLaPnPEHkbb7bp7Z4H1z3nBWKMkm5hW"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_28FWsndD3wToMYh7MPJPkCCLkDi842ugScQcosLTPCKP_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_2DkS8AfuXBKJk5yz9TZqk9BH3QmxTzHtXU2Cepc13FAn_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_61F85pVcZAuAuzrkEzu7k7HW324hfYmKPb4A8cqPM1rr_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_6tYJC9ycmhPRJBs13cajy64X8xzF8FLwF5pvUsmckVS5_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_7Q9xaARyVWbFbabaCLw6XDmaF5f7YTHRZxV3nEidZSgW_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_7vukDJ9ePhPvxhmeXE8a7kKmWZNGExZ8T89AWCZU75Ge_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_CYqj8horQLQ7tAGJ31qTVSbAAPBjUN4C8Ehnedxr4b8a_locked"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_asset_balance"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_current_reward"), DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3MthsuC5EDyehGoKvyzwhZvMENroHPsgaXS_earned")] | |
420 | + | else throw("Only admin can call this function") | |
421 | + | ||
422 | + | ||
416 | 423 | @Verifier(tx) | |
417 | 424 | func verify () = match tx { | |
418 | 425 | case inv: InvokeScriptTransaction => | |
419 | 426 | let lockShareTokens = if ((inv.dApp == farmingAddress)) | |
420 | 427 | then if (if ((inv.function == "lockShareTokens")) | |
421 | 428 | then true | |
422 | 429 | else (inv.function == "claim")) | |
423 | 430 | then true | |
424 | 431 | else (inv.function == "withdrawShareTokens") | |
425 | 432 | else false | |
426 | 433 | let lockSwop = if ((inv.dApp == swopFiGovermanceAddress)) | |
427 | 434 | then if ((inv.function == "lockSWOP")) | |
428 | 435 | then true | |
429 | 436 | else (inv.function == "withdrawSWOP") | |
430 | 437 | else false | |
431 | 438 | let dAppAddress = match inv.dApp { | |
432 | 439 | case dApp: Address => | |
433 | 440 | toString(dApp) | |
434 | 441 | case _ => | |
435 | 442 | throw("Transaction must have only address") | |
436 | 443 | } | |
437 | 444 | let poolFunctions = if (containsElement(swopFiPools, dAppAddress)) | |
438 | 445 | then containsElement(swopFiFunctions, inv.function) | |
439 | 446 | else false | |
440 | 447 | let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
441 | 448 | then true | |
442 | 449 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2)) | |
443 | 450 | then true | |
444 | 451 | else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey4)) | |
445 | 452 | then true | |
446 | 453 | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
447 | 454 | if (if (if (lockShareTokens) | |
448 | 455 | then true | |
449 | 456 | else poolFunctions) | |
450 | 457 | then true | |
451 | 458 | else lockSwop) | |
452 | 459 | then signedByAdmin | |
453 | 460 | else false | |
454 | 461 | case _ => | |
455 | 462 | let adm1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1)) | |
456 | 463 | then 1 | |
457 | 464 | else 0 | |
458 | 465 | let adm2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2)) | |
459 | 466 | then 1 | |
460 | 467 | else 0 | |
461 | 468 | let adm3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3)) | |
462 | 469 | then 1 | |
463 | 470 | else 0 | |
464 | 471 | (((adm1Signed + adm2Signed) + adm3Signed) >= 2) | |
465 | 472 | } | |
466 | 473 |
github/deemru/w8io/03bedc9 87.89 ms ◑![]()