tx · 722Er5Ax6WFtFhRSi8v18qXPrrmvLwBJJhDabQYzNrmi

3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph:  -0.01400000 Waves

2022.01.13 21:11 [1877525] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves

{ "type": 13, "id": "722Er5Ax6WFtFhRSi8v18qXPrrmvLwBJJhDabQYzNrmi", "fee": 1400000, "feeAssetId": null, "timestamp": 1642097549114, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "5EYcgVuwwmevvqooZmMk4i17ksoZiZYCrR4VD5RhPGTxow31N8iofRTdyBMsN1etKGryXbEdLUr5BT4BGrnEgzHP", "5CnXF4Dc6W1YeDwaTKC1WmMLkaSVQGW2nbLscLoWwRvCgkNneEa1PLCuTZZJTrepQfhdiKYZgqBHaRk8Fag2bVoq", "bTPncYAQSdaGZa7Posv7jsRv9BHq2ZKqfhEifk6Pgwy9MV8rGotM5GWqHqLS4Gi7DYq2kvfZZ98rN8wV94BV5Ri" ], "script": "base64:AAIFAAAAAAAAB58IAhIGCgQYGBgREgMKARgSBgoECAgBARIAEgMKAQgSAwoBCBIECgIYFBoMCgFBEgdhc3NldElkGhUKAUISEGRBcHBTdGFrZWRUb2tlbnMaFAoBQxIPYXNzZXRJZFF1YW50aXR5GgoKAUQSBWFzc2V0GgYKAUUSAWkaCgoBRhIFcG9vbHMaFAoBRxIPbGlxdWlkaXR5VG9rZW5zGhIKAUgSDXNlcnZpY2VUb2tlbnMaGwoBSRIWbGlxdWlkaXR5VG9rZW5EZWNpbWFscxoVCgFKEhBnZW5lcmF0ZVBvb2xLZXlzGhAKAUsSC2FjY3VtdWxhdGVkGiMKAUwSHmdlbmVyYXRlUG9vbExpcXVpZGl0eVRva2VuS2V5cxoOCgFNEglwb29sSW5kZX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ADCAUAAAACYU4AAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJhTgAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJhTgAAAA9zZW5kZXJQdWJsaWNLZXkDAwUAAAACYVEGBQAAAAJhVQUAAAACYVYHBAAAAAJhVwMJAAH0AAAAAwgFAAAAAmFOAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYU4AAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAFkAAAAAAAAAAABAAAAAAAAAAAABAAAAAJhWAMJAAH0AAAAAwgFAAAAAmFOAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYU4AAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAFlAAAAAAAAAAABAAAAAAAAAAAABAAAAAJhWQMJAAH0AAAAAwgFAAAAAmFOAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYU4AAAAGcHJvb2ZzAAAAAAAAAAACBQAAAAFmAAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIJAABkAAAAAgkAAGQAAAACBQAAAAJhVwUAAAACYVgFAAAAAmFZAAAAAAAAAAAClwByHQ==", "height": 1877525, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 92UeVfdK9qV1W98iLsT1qgEfesEDdVVmAhSiwixn4h1x Next: 3pzzP2TTTo7kdYMXmWeisHxHHh1Y5dZEfNt9NqYr4pb9 Diff:
OldNewDifferences
1515
1616 let adminPubKey4 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC'
1717
18-let govermanceAddress = Address(base58'3PKoJ7GHwmidFPX6NiqKZdq8Zj2auPMNPnE')
18+let govermanceAddress = Address(base58'3N7ExjwfofPYTvNBv2zqtAtLcMxqjTxS7iL')
1919
2020 let farmingAddress = Address(base58'3NBTuZhn2CwAgWGL99qpGDjZQ4Wtbg56iDL')
2121
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let depositFee = 1000
55
66 let controllerFee = 10000
77
88 let platformFee = 10000
99
1010 let adminPubKey1 = base58'68Po1k24uP6goKr7RDmXPg4QkMiKuyTMEirao14rif8s'
1111
1212 let adminPubKey2 = base58'Bze4aurT9WmLgBT6swA9CajaZFtUwhtwCri6XGAjnAkt'
1313
1414 let adminPubKey3 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC'
1515
1616 let adminPubKey4 = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC'
1717
18-let govermanceAddress = Address(base58'3PKoJ7GHwmidFPX6NiqKZdq8Zj2auPMNPnE')
18+let govermanceAddress = Address(base58'3N7ExjwfofPYTvNBv2zqtAtLcMxqjTxS7iL')
1919
2020 let farmingAddress = Address(base58'3NBTuZhn2CwAgWGL99qpGDjZQ4Wtbg56iDL')
2121
2222 let swopFiPools = ["3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1", "3PKy2mZqnvT2EtpwDim9Mgs6YvCRe4s85nX", "3P27S9V36kw2McjWRZ37AxTx8iwkd7HXw6W"]
2323
2424 let swopFiFunctions = ["replenishWithTwoTokens", "exchange"]
2525
2626 func isPoolActive (pool) = {
2727 let kActive = (pool + "_active")
2828 let isActive = match getBoolean(this, kActive) {
2929 case boolean: Boolean =>
3030 boolean
3131 case _ =>
3232 throw("Pool is not active!")
3333 }
3434 isActive
3535 }
3636
3737
3838 func getDAppAssetAddress (pool) = match getString((pool + "_service_token")) {
3939 case string: String =>
4040 string
4141 case nothing =>
4242 throw("You try to deposit on unsupported pool")
4343 }
4444
4545
4646 func getLiquidutyAssetAddress (pool) = match getString((pool + "_liquidity_token")) {
4747 case string: String =>
4848 string
4949 case nothing =>
5050 throw("You try to withdraw from unsupported pool")
5151 }
5252
5353
5454 func getStakedAmount (poolAddress) = match getInteger(farmingAddress, (((poolAddress + "_") + toString(this)) + "_share_tokens_locked")) {
5555 case staked: Int =>
5656 staked
5757 case nothing: Unit =>
5858 0
5959 case _ =>
6060 throw("Match error")
6161 }
6262
6363
6464 func transferToUser (amount,assetId,poolAddress) = {
6565 let dAppStakedTokens = getStakedAmount(poolAddress)
6666 let assetIdQuantity = match assetInfo(assetId) {
6767 case asset: Asset =>
6868 asset.quantity
6969 case _ =>
7070 throw("Can't find asset")
7171 }
7272 fraction(amount, dAppStakedTokens, assetIdQuantity)
7373 }
7474
7575
7676 @Callable(i)
7777 func addPools (pools,liquidityTokens,serviceTokens,liquidityTokenDecimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
7878 then {
7979 func generatePoolKeys (accumulated,pool) = IntegerEntry((pool + "_asset_balance"), 0) :: accumulated
8080
8181 func generatePoolLiquidityTokenKeys (accumulated,pool) = {
8282 let poolIndex = value(indexOf(pools, pool))
8383 let liquidityToken = liquidityTokens[poolIndex]
8484 StringEntry((pool + "_liquidity_token"), liquidityToken) :: accumulated
8585 }
8686
8787 func generatePoolServiceTokenKeys (accumulated,pool) = {
8888 let poolIndex = value(indexOf(pools, pool))
8989 let liquidityToken = serviceTokens[poolIndex]
9090 StringEntry((pool + "_service_token"), liquidityToken) :: accumulated
9191 }
9292
9393 func generatePoolLiquidityTokenDecimalKeys (accumulated,pool) = {
9494 let poolIndex = value(indexOf(pools, pool))
9595 let liquidityToken = liquidityTokenDecimals[poolIndex]
9696 IntegerEntry((pool + "_service_token_decimal"), liquidityToken) :: accumulated
9797 }
9898
9999 func generatePoolActiveKeys (accumulated,pool) = BooleanEntry((pool + "_active"), true) :: accumulated
100100
101101 let poolBalanceKeys = {
102102 let $l = pools
103103 let $s = size($l)
104104 let $acc0 = nil
105105 func $f0_1 ($a,$i) = if (($i >= $s))
106106 then $a
107107 else generatePoolKeys($a, $l[$i])
108108
109109 func $f0_2 ($a,$i) = if (($i >= $s))
110110 then $a
111111 else throw("List size exceeds 20")
112112
113113 $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)
114114 }
115115 let poolLiquidityTokenKeys = {
116116 let $l = pools
117117 let $s = size($l)
118118 let $acc0 = nil
119119 func $f1_1 ($a,$i) = if (($i >= $s))
120120 then $a
121121 else generatePoolLiquidityTokenKeys($a, $l[$i])
122122
123123 func $f1_2 ($a,$i) = if (($i >= $s))
124124 then $a
125125 else throw("List size exceeds 20")
126126
127127 $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)
128128 }
129129 let poolServiceTokenKeys = {
130130 let $l = pools
131131 let $s = size($l)
132132 let $acc0 = nil
133133 func $f2_1 ($a,$i) = if (($i >= $s))
134134 then $a
135135 else generatePoolServiceTokenKeys($a, $l[$i])
136136
137137 func $f2_2 ($a,$i) = if (($i >= $s))
138138 then $a
139139 else throw("List size exceeds 20")
140140
141141 $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)
142142 }
143143 let poolLiquidityTokenDecimalKeys = {
144144 let $l = pools
145145 let $s = size($l)
146146 let $acc0 = nil
147147 func $f3_1 ($a,$i) = if (($i >= $s))
148148 then $a
149149 else generatePoolLiquidityTokenDecimalKeys($a, $l[$i])
150150
151151 func $f3_2 ($a,$i) = if (($i >= $s))
152152 then $a
153153 else throw("List size exceeds 20")
154154
155155 $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)
156156 }
157157 let poolActiveKeys = {
158158 let $l = pools
159159 let $s = size($l)
160160 let $acc0 = nil
161161 func $f4_1 ($a,$i) = if (($i >= $s))
162162 then $a
163163 else generatePoolActiveKeys($a, $l[$i])
164164
165165 func $f4_2 ($a,$i) = if (($i >= $s))
166166 then $a
167167 else throw("List size exceeds 20")
168168
169169 $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)
170170 }
171171 ((((poolBalanceKeys ++ poolLiquidityTokenKeys) ++ poolServiceTokenKeys) ++ poolLiquidityTokenDecimalKeys) ++ poolActiveKeys)
172172 }
173173 else throw("Only admin can call this function")
174174
175175
176176
177177 @Callable(i)
178178 func deleteDepositLockRecords (records) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
179179 then {
180180 func generateDeletingKeys (accumulated,record) = DeleteEntry((record + "_locked")) :: accumulated
181181
182182 let deleteKeys = {
183183 let $l = records
184184 let $s = size($l)
185185 let $acc0 = nil
186186 func $f0_1 ($a,$i) = if (($i >= $s))
187187 then $a
188188 else generateDeletingKeys($a, $l[$i])
189189
190190 func $f0_2 ($a,$i) = if (($i >= $s))
191191 then $a
192192 else throw("List size exceeds 100")
193193
194194 $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)
195195 }
196196 deleteKeys
197197 }
198198 else throw("Only admin can call this function")
199199
200200
201201
202202 @Callable(i)
203203 func issueToken (name,description,quantity,decimals) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
204204 then [Issue(name, description, quantity, decimals, true, unit, 0)]
205205 else throw("Only admin can call this function")
206206
207207
208208
209209 @Callable(a8)
210210 func call () = [DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3N5viYFhnu1ew4FRZ9nujme9edr918FkT1a_current_reward")]
211211
212212
213213
214214 @Callable(i)
215215 func deposit (pool) = if ((size(i.payments) != 1))
216216 then throw("One attached payment expected")
217217 else {
218218 let amount = i.payments[0].amount
219219 let assetId = i.payments[0].assetId
220220 let assetIdString = match assetId {
221221 case id: ByteVector =>
222222 toBase58String(id)
223223 case _ =>
224224 throw("Match error")
225225 }
226226 if ((0 >= amount))
227227 then throw(("Deposit amount must be positive. Actual: " + toString(amount)))
228228 else {
229229 let poolAmountKey = (pool + "_asset_balance")
230230 let userAddress = toString(i.caller)
231231 let userPoolAmountKey = (((pool + "_") + userAddress) + "_asset_balance")
232232 let dAppAssetAddress = getDAppAssetAddress(pool)
233233 let liquidutyAssetAddress = match getString((pool + "_liquidity_token")) {
234234 case string: String =>
235235 string
236236 case nothing =>
237237 throw("You try to deposit on unsupported pool")
238238 }
239239 if (isPoolActive(pool))
240240 then {
241241 let liquidityTokenDecimal = match assetInfo(fromBase58String(liquidutyAssetAddress)) {
242242 case asset: Asset =>
243243 asset.decimals
244244 case _ =>
245245 throw("Can't find asset")
246246 }
247247 if ((liquidutyAssetAddress != assetIdString))
248248 then throw("You attached wrong liquidity token from Swop.fi")
249249 else {
250250 let poolAmount = getIntegerValue(this, poolAmountKey)
251251 let userAmount = match getInteger(userPoolAmountKey) {
252252 case int: Int =>
253253 int
254254 case nothing =>
255255 0
256256 }
257257 let userAmountWithoutFee = ((amount - fraction(amount, 1, depositFee, HALFUP)) - fraction(amount, 1, controllerFee, HALFUP))
258258 let transferToUserAmount = transferToUser(userAmountWithoutFee, fromBase58String(assetIdString), pool)
259259 let fee = (amount - userAmountWithoutFee)
260260 let newPoolAmount = ((poolAmount + amount) - fee)
261261 let newUserPoolAmount = (userAmount + transferToUserAmount)
262262 let lockTokensKey = (((((pool + "_") + userAddress) + "_") + toBase58String(i.transactionId)) + "_locked")
263263 [Reissue(fromBase58String(dAppAssetAddress), transferToUserAmount, true), ScriptTransfer(i.caller, userAmountWithoutFee, fromBase58String(dAppAssetAddress)), ScriptTransfer(govermanceAddress, fee, fromBase58String(liquidutyAssetAddress)), IntegerEntry(lockTokensKey, userAmountWithoutFee), IntegerEntry(poolAmountKey, newPoolAmount), IntegerEntry(userPoolAmountKey, newUserPoolAmount)]
264264 }
265265 }
266266 else throw("Pool is not active!")
267267 }
268268 }
269269
270270
271271
272272 @Callable(i)
273273 func withdraw (pool) = if ((size(i.payments) != 1))
274274 then throw("One attached payment expected")
275275 else {
276276 let amount = i.payments[0].amount
277277 let assetId = i.payments[0].assetId
278278 let assetIdString = match assetId {
279279 case id: ByteVector =>
280280 toBase58String(id)
281281 case _ =>
282282 throw("Match error")
283283 }
284284 if ((0 >= amount))
285285 then throw(("Deposit amount must be positive. Actual: " + toString(amount)))
286286 else if (isPoolActive(pool))
287287 then {
288288 let poolAmountKey = (pool + "_asset_balance")
289289 let userAddress = toString(i.caller)
290290 let userPoolAmountKey = (((pool + "_") + userAddress) + "_asset_balance")
291291 let userAmount = match getInteger(userPoolAmountKey) {
292292 case int: Int =>
293293 int
294294 case nothing =>
295295 0
296296 }
297297 let dAppAssetAddress = getDAppAssetAddress(pool)
298298 let liquidutyAssetAddress = getLiquidutyAssetAddress(pool)
299299 let poolAmount = getIntegerValue(this, poolAmountKey)
300300 let userAmountWithoutFee = ((amount - fraction(amount, 1, platformFee, HALFUP)) - fraction(amount, 1, controllerFee, HALFUP))
301301 let transferToUserAmount = transferToUser(userAmountWithoutFee, fromBase58String(assetIdString), pool)
302302 let newPoolAmount = (poolAmount - userAmountWithoutFee)
303303 let fee = (amount - userAmountWithoutFee)
304304 let newUserPoolAmount = (userAmount - amount)
305305 [Burn(fromBase58String(dAppAssetAddress), transferToUserAmount), ScriptTransfer(i.caller, transferToUserAmount, fromBase58String(liquidutyAssetAddress)), ScriptTransfer(govermanceAddress, fee, fromBase58String(liquidutyAssetAddress)), IntegerEntry(poolAmountKey, newPoolAmount), IntegerEntry(userPoolAmountKey, newUserPoolAmount)]
306306 }
307307 else throw("Pool is not active!")
308308 }
309309
310310
311311
312312 @Callable(i)
313313 func poolActivating (pools,statuses) = if (containsElement([adminPubKey1, adminPubKey2, adminPubKey3], i.callerPublicKey))
314314 then {
315315 func generatePoolActiveKeys (accumulated,pool) = {
316316 let poolIndex = value(indexOf(pools, pool))
317317 let status = statuses[poolIndex]
318318 BooleanEntry((pool + "_active"), status) :: accumulated
319319 }
320320
321321 let poolActiveKeys = {
322322 let $l = pools
323323 let $s = size($l)
324324 let $acc0 = nil
325325 func $f0_1 ($a,$i) = if (($i >= $s))
326326 then $a
327327 else generatePoolActiveKeys($a, $l[$i])
328328
329329 func $f0_2 ($a,$i) = if (($i >= $s))
330330 then $a
331331 else throw("List size exceeds 100")
332332
333333 $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)
334334 }
335335 poolActiveKeys
336336 }
337337 else throw("Only admin can call this function")
338338
339339
340340 @Verifier(tx)
341341 func verify () = match tx {
342342 case inv: InvokeScriptTransaction =>
343343 let lockShareTokens = if ((inv.dApp == farmingAddress))
344344 then if (if ((inv.function == "lockShareTokens"))
345345 then true
346346 else (inv.function == "claim"))
347347 then true
348348 else (inv.function == "withdrawShareTokens")
349349 else false
350350 let dAppAddress = match inv.dApp {
351351 case dApp: Address =>
352352 toString(dApp)
353353 case _ =>
354354 throw("Transaction must have only address")
355355 }
356356 let poolFunctions = if (containsElement(swopFiPools, dAppAddress))
357357 then containsElement(swopFiFunctions, inv.function)
358358 else false
359359 let signedByAdmin = if (if (if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
360360 then true
361361 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey2))
362362 then true
363363 else sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey4))
364364 then true
365365 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
366366 if (if (lockShareTokens)
367367 then true
368368 else poolFunctions)
369369 then signedByAdmin
370370 else false
371371 case _ =>
372372 let adm1Signed = if (sigVerify(tx.bodyBytes, tx.proofs[0], adminPubKey1))
373373 then 1
374374 else 0
375375 let adm2Signed = if (sigVerify(tx.bodyBytes, tx.proofs[1], adminPubKey2))
376376 then 1
377377 else 0
378378 let adm3Signed = if (sigVerify(tx.bodyBytes, tx.proofs[2], adminPubKey3))
379379 then 1
380380 else 0
381381 (((adm1Signed + adm2Signed) + adm3Signed) >= 2)
382382 }
383383

github/deemru/w8io/169f3d6 
89.42 ms