tx · 2YBijj4qkwwQCU2CJo8u76RT4A68vJ8HxSrh6opMspCr

3Mz3zcbv3p8Vjx6566CjJxMynZFn2KJvc85:  -0.01900000 Waves

2022.06.16 23:53 [2099429] smart account 3Mz3zcbv3p8Vjx6566CjJxMynZFn2KJvc85 > SELF 0.00000000 Waves

{ "type": 13, "id": "2YBijj4qkwwQCU2CJo8u76RT4A68vJ8HxSrh6opMspCr", "fee": 1900000, "feeAssetId": null, "timestamp": 1655412765729, "version": 2, "chainId": 84, "sender": "3Mz3zcbv3p8Vjx6566CjJxMynZFn2KJvc85", "senderPublicKey": "FzsBKmVJC76fKJH1jmXYtwvX3kDyWF97DYPHRo3D5gG4", "proofs": [ "4WvL5AaE6bgVmfNKx6ReNdmbdVs2Ks6jPSwci156MiTdv1EUBz6ZK6dHDZDEzZVG2MG7hzzLDsENz5EqiNz6MKtY" ], "script": "base64:AAIFAAAAAAAAAD4IAhIDCgEIEgMKAQESCAoGCAEEAQEBEgMKAQQSABIAEgASAwoBCBIGCgQICAEBEgMKAQgSAwoBCBIECgIICAAAACEAAAAAC2tleU1BY2NQS2V5AgAAAAltYXN0ZXJfcGsAAAAACHdhcnNQS2V5AgAAAAd3YXJzX3BrAQAAAAZnZXRTdHIAAAABAAAAA2tleQQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYgUAAAAHJG1hdGNoMAUAAAABYgIAAAAAAAAAAA5tQWNjUEtleVN0cmluZwkBAAAABmdldFN0cgAAAAEFAAAAC2tleU1BY2NQS2V5AAAAAAhtQWNjUEtleQkAAlkAAAABBQAAAA5tQWNjUEtleVN0cmluZwAAAAAIbUFjY0FkZHIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAACG1BY2NQS2V5AAAAAApmZWVQZXJjZW50CQEAAAARQGV4dHJOYXRpdmUoMTA1MCkAAAACBQAAAAhtQWNjQWRkc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b250cmFjdHMEAAAAFGFsbG93ZWRDb250cmFjdHNMaXN0CQAEtQAAAAIFAAAAEGFsbG93ZWRDb250cmFjdHMCAAAAATsEAAAACmRhcHBUb0NhbGwJAAQlAAAAAQkABCQAAAABCAUAAAADaW52AAAABGRBcHAJAQAAAAIhPQAAAAIJAARPAAAAAgUAAAAUYWxsb3dlZENvbnRyYWN0c0xpc3QFAAAACmRhcHBUb0NhbGwFAAAABHVuaXQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAJzcwUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAACG1BY2NQS2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACbXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAhtQWNjUEtleQeNUpO3", "height": 2099429, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BoYaRZtVhUvqBXPbiGpCmhcpTN7cxsiBujqTWYwsMk53 Next: none Diff:
OldNewDifferences
252252 let au = split(ao, ";")
253253 let av = {
254254 let aw = au
255- let ah = size(aw)
256- let ax = 0
257- func ay (F,P) = if ((P >= ah))
258- then F
259- else aq(F, aw[P])
255+ let ax = size(aw)
256+ let ay = 0
257+ func az (aA,aB) = if ((aB >= ax))
258+ then aA
259+ else aq(aA, aw[aB])
260260
261- func az (F,P) = if ((P >= ah))
262- then F
261+ func aC (aA,aB) = if ((aB >= ax))
262+ then aA
263263 else throw("List size exceeds 10")
264264
265- az(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
265+ aC(az(az(az(az(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
266266 }
267- let aA = {
267+ let aD = {
268268 let e = av
269269 if ($isInstanceOf(e, "Int"))
270270 then {
274274 else throw("_6")
275275 }
276276 let aa = C(p)
277- let aB = fraction(aA, j, 100)
278- let aC = C(x)
279- let aD = C(y)
280- let aE = (aA - aB)
281- let aF = M(invoke(this, "calculateCompoundShareAndIssue", [aE], nil))
282- if ((aF == aF))
277+ let aE = fraction(aD, j, 100)
278+ let aF = C(x)
279+ let aG = C(y)
280+ let aH = (aD - aE)
281+ let aI = M(invoke(this, "calculateCompoundShareAndIssue", [aH], nil))
282+ if ((aI == aI))
283283 then {
284- let aG = invoke(k, "topUpReward", nil, [AttachedPayment(ai, (aE - aF)), AttachedPayment(S, aF)])
285- if ((aG == aG))
286- then [IntegerEntry(p, (aa + aE)), IntegerEntry(x, (aC + aB)), IntegerEntry(y, (aD + aB))]
284+ let aJ = invoke(k, "topUpReward", nil, [AttachedPayment(ai, (aH - aI)), AttachedPayment(S, aI)])
285+ if ((aJ == aJ))
286+ then [IntegerEntry(p, (aa + aH)), IntegerEntry(x, (aF + aE)), IntegerEntry(y, (aG + aE))]
287287 else throw("Strict value is not equal to itself.")
288288 }
289289 else throw("Strict value is not equal to itself.")
292292
293293
294294 @Callable(P)
295-func claimCeoFee (aH,aI,aJ,aK) = if ((0 > aJ))
295+func claimCeoFee (aK,aL,aM,aN) = if ((0 > aM))
296296 then throw("Share 1 can't be negative")
297- else if ((0 > aK))
297+ else if ((0 > aN))
298298 then throw("Share 2 can't be negative")
299- else if (((aJ + aK) != 100))
299+ else if (((aM + aN) != 100))
300300 then throw("Sum of shares should be 100")
301301 else if ((D(w) == true))
302302 then throw("_22")
303303 else if ((P.caller == this))
304304 then {
305- let aL = C(x)
306- let aM = if ((aI == ""))
307- then aL
308- else fraction(aL, aJ, 100)
309- let aN = if ((aI == ""))
305+ let aO = C(x)
306+ let aP = if ((aL == ""))
307+ then aO
308+ else fraction(aO, aM, 100)
309+ let aQ = if ((aL == ""))
310310 then 0
311- else fraction(aL, aK, 100)
312- let aO = if ((aI == ""))
311+ else fraction(aO, aN, 100)
312+ let aR = if ((aL == ""))
313313 then nil
314- else [ScriptTransfer(addressFromStringValue(aI), aN, K())]
315- (aO ++ [ScriptTransfer(addressFromStringValue(aH), aM, K()), IntegerEntry(x, 0)])
314+ else [ScriptTransfer(addressFromStringValue(aL), aQ, K())]
315+ (aR ++ [ScriptTransfer(addressFromStringValue(aK), aP, K()), IntegerEntry(x, 0)])
316316 }
317317 else throw("Only manager can call the contract")
318318
319319
320320
321321 @Callable(P)
322-func startLiquidation (aP) = throw("_7")
322+func startLiquidation (aS) = throw("_7")
323323
324324
325325
326326 @Callable(P)
327-func voteForLiquidation (aP) = throw("_7")
327+func voteForLiquidation (aS) = throw("_7")
328328
329329
330330
331331 @Callable(P)
332-func callUnstakeProxy (aQ,aR) = if ((D(w) == true))
332+func callUnstakeProxy (aT,aU) = if ((D(w) == true))
333333 then throw("Contract is locked now")
334- else if (if ((aQ != "unstakeNFT"))
335- then (aQ != "unstakeJackpot")
334+ else if (if ((aT != "unstakeNFT"))
335+ then (aT != "unstakeJackpot")
336336 else false)
337337 then throw("Bad function name")
338338 else if ((P.caller != this))
340340 else {
341341 let ai = K()
342342 let S = L()
343- let aS = addressFromStringValue(E(i, "FARMING_DAPP"))
344- let aT = invoke(aS, aQ, [aR], nil)
345- if ((aT == aT))
343+ let aV = addressFromStringValue(E(i, "FARMING_DAPP"))
344+ let aW = invoke(aV, aT, [aU], nil)
345+ if ((aW == aW))
346346 then {
347- let aU = {
348- let e = aT
347+ let aX = {
348+ let e = aW
349349 if ($isInstanceOf(e, "Int"))
350350 then {
351351 let O = e
353353 }
354354 else throw("Error during unstaking")
355355 }
356- let aC = C(x)
357- let aD = C(y)
358- let aB = fraction(aU, j, 100)
359- let aE = (aU - aB)
360- let aV = invoke(this, "calculateCompoundShareAndIssue", [aE], nil)
361- if ((aV == aV))
356+ let aF = C(x)
357+ let aG = C(y)
358+ let aE = fraction(aX, j, 100)
359+ let aH = (aX - aE)
360+ let aY = invoke(this, "calculateCompoundShareAndIssue", [aH], nil)
361+ if ((aY == aY))
362362 then {
363- let aF = M(invoke(this, "calculateCompoundShareAndIssue", [aE], nil))
364- if ((aF == aF))
363+ let aI = M(invoke(this, "calculateCompoundShareAndIssue", [aH], nil))
364+ if ((aI == aI))
365365 then {
366- let aG = invoke(k, "topUpReward", nil, [AttachedPayment(ai, (aE - aF)), AttachedPayment(S, aF)])
367- if ((aG == aG))
368- then [IntegerEntry(x, (aC + aB)), IntegerEntry(y, (aD + aB))]
366+ let aJ = invoke(k, "topUpReward", nil, [AttachedPayment(ai, (aH - aI)), AttachedPayment(S, aI)])
367+ if ((aJ == aJ))
368+ then [IntegerEntry(x, (aF + aE)), IntegerEntry(y, (aG + aE))]
369369 else throw("Strict value is not equal to itself.")
370370 }
371371 else throw("Strict value is not equal to itself.")
376376 }
377377
378378
379-@Verifier(aW)
380-func aX () = {
381- let aY = (C(m) >= C(o))
382- let e = aW
379+@Verifier(aZ)
380+func ba () = {
381+ let bb = (C(m) >= C(o))
382+ let e = aZ
383383 if ($isInstanceOf(e, "InvokeScriptTransaction"))
384384 then {
385- let aZ = e
386- let ba = ["stakeFarmTokens", "claimReward", "withdrawFarmTokens"]
387- let bb = ["callUnstakeProxy", "claimCeoFee", "lockInvestments", "unlockInvestments"]
388- if (if ((aZ.function == "unstakeNFT"))
385+ let bc = e
386+ let bd = ["stakeFarmTokens", "claimReward", "withdrawFarmTokens"]
387+ let be = ["callUnstakeProxy", "claimCeoFee", "lockInvestments", "unlockInvestments"]
388+ if (if ((bc.function == "unstakeNFT"))
389389 then true
390- else (aZ.function == "unstakeJackpot"))
390+ else (bc.function == "unstakeJackpot"))
391391 then throw("You cannot call these functions directly")
392- else if (if (if ((addressFromRecipient(aZ.dApp) == this))
393- then (aZ.function == "initMasterKey")
392+ else if (if (if ((addressFromRecipient(bc.dApp) == this))
393+ then (bc.function == "initMasterKey")
394394 else false)
395395 then (g == "")
396396 else false)
397- then sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
398- else if ((sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) == false))
397+ then sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey)
398+ else if ((sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey) == false))
399399 then throw("_100")
400- else if ((aY == false))
400+ else if ((bb == false))
401401 then throw("_14")
402402 else if ((D(w) == true))
403403 then throw("_22")
404- else if (if ((aZ.fee > 900000))
404+ else if (if ((bc.fee > 900000))
405405 then true
406- else (aZ.feeAssetId != unit))
406+ else (bc.feeAssetId != unit))
407407 then throw("_15")
408- else if ((size(aZ.payments) > 2))
408+ else if ((size(bc.payments) > 2))
409409 then throw("_17")
410- else if (if ((addressFromRecipient(aZ.dApp) == this))
411- then containsElement(bb, aZ.function)
410+ else if (if ((addressFromRecipient(bc.dApp) == this))
411+ then containsElement(be, bc.function)
412412 else false)
413- then sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
414- else if (if ((addressFromRecipient(aZ.dApp) == addressFromStringValue(J())))
415- then (aZ.function == "callMarketplaceProxy")
413+ then sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey)
414+ else if (if ((addressFromRecipient(bc.dApp) == addressFromStringValue(J())))
415+ then (bc.function == "callMarketplaceProxy")
416416 else false)
417- then sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
418- else if (if ((addressFromRecipient(aZ.dApp) == k))
419- then containsElement(ba, aZ.function)
417+ then sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey)
418+ else if (if ((addressFromRecipient(bc.dApp) == k))
419+ then containsElement(bd, bc.function)
420420 else false)
421- then sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
421+ then sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey)
422422 else {
423- let bc = E(i, "allowed_contracts")
424- let bd = split(bc, ";")
425- let be = toString(addressFromRecipient(aZ.dApp))
426- (indexOf(bd, be) != unit)
423+ let bf = E(i, "allowed_contracts")
424+ let bg = split(bf, ";")
425+ let bh = toString(addressFromRecipient(bc.dApp))
426+ (indexOf(bg, bh) != unit)
427427 }
428428 }
429429 else if ($isInstanceOf(e, "SetScriptTransaction"))
430430 then {
431- let bf = e
432- sigVerify(aW.bodyBytes, aW.proofs[0], h)
431+ let bi = e
432+ sigVerify(aZ.bodyBytes, aZ.proofs[0], h)
433433 }
434434 else if ($isInstanceOf(e, "MassTransferTransaction"))
435435 then {
436- let bg = e
437- sigVerify(aW.bodyBytes, aW.proofs[0], h)
436+ let bj = e
437+ sigVerify(aZ.bodyBytes, aZ.proofs[0], h)
438438 }
439439 else false
440440 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "master_pk"
55
66 let b = "wars_pk"
77
88 func c (d) = {
99 let e = getString(this, d)
1010 if ($isInstanceOf(e, "String"))
1111 then {
1212 let f = e
1313 f
1414 }
1515 else ""
1616 }
1717
1818
1919 let g = c(a)
2020
2121 let h = fromBase58String(g)
2222
2323 let i = addressFromPublicKey(h)
2424
2525 let j = getIntegerValue(i, (("f_" + toString(this)) + "_fee"))
2626
2727 let k = addressFromStringValue(valueOrErrorMessage(getString(i, (("f_" + toString(this)) + "_stake_address")), (("f_" + toString(this)) + "_stake_address not defined")))
2828
2929 let l = fromBase58String(valueOrErrorMessage(getString(i, b), (b + " not defined")))
3030
3131 let m = "total_liquidity"
3232
3333 let n = "INITIALIZED"
3434
3535 let o = "LIQUIDITY_THRESHOLD"
3636
3737 let p = "total_farming_reward"
3838
3939 let q = "SHARE_ASSET_ID"
4040
4141 let r = "INCUBATOR_DAPP"
4242
4343 let s = "BREEDER_DAPP"
4444
4545 let t = "FARMING_DAPP"
4646
4747 let u = "MARKETPLACE_PROXY_DAPP"
4848
4949 let v = "AUCTION_DAPP"
5050
5151 let w = "LOCKED"
5252
5353 let x = "ceo_collected_fee"
5454
5555 let y = "ceo_fee_overall"
5656
5757 let z = "locked_investments"
5858
5959 let A = "total_compound"
6060
6161 let B = "global_staked"
6262
6363 func C (d) = {
6464 let e = getInteger(this, d)
6565 if ($isInstanceOf(e, "Int"))
6666 then {
6767 let f = e
6868 f
6969 }
7070 else 0
7171 }
7272
7373
7474 func D (d) = {
7575 let e = getBoolean(this, d)
7676 if ($isInstanceOf(e, "Boolean"))
7777 then {
7878 let f = e
7979 f
8080 }
8181 else unit
8282 }
8383
8484
8585 func E (F,G) = {
8686 let e = getString(F, G)
8787 if ($isInstanceOf(e, "String"))
8888 then {
8989 let f = e
9090 f
9191 }
9292 else ""
9393 }
9494
9595
9696 func H (I,d) = {
9797 let e = getInteger(I, d)
9898 if ($isInstanceOf(e, "Int"))
9999 then {
100100 let f = e
101101 f
102102 }
103103 else 0
104104 }
105105
106106
107107 func J () = E(i, u)
108108
109109
110110 func K () = fromBase58String(getStringValue(i, "EGG_ASSET_ID"))
111111
112112
113113 func L () = fromBase58String(c(q))
114114
115115
116116 func M (N) = {
117117 let e = N
118118 if ($isInstanceOf(e, "Int"))
119119 then {
120120 let O = e
121121 O
122122 }
123123 else throw("wrong type, expected: Int")
124124 }
125125
126126
127127 @Callable(P)
128128 func initMasterKey (Q) = if ((P.caller != this))
129129 then throw("You cannot do this action")
130130 else if ((g != ""))
131131 then throw("Master public key already set, you can't override!")
132132 else [StringEntry(a, Q)]
133133
134134
135135
136136 @Callable(P)
137137 func calculateCompoundShareAndIssue (R) = if ((P.caller != this))
138138 then throw("You cannot do this action")
139139 else if ((D(z) == true))
140140 then $Tuple2(nil, 0)
141141 else {
142142 let S = L()
143143 let T = H(k, A)
144144 let U = H(k, B)
145145 let V = (U + T)
146146 let W = fraction(R, T, V)
147147 $Tuple2([Reissue(S, W, true)], W)
148148 }
149149
150150
151151
152152 @Callable(P)
153153 func initCollectiveFarm (X,Y,Z,aa,ab,ac) = if ((g == ""))
154154 then throw("First initiatie a master public key!")
155155 else if ((P.callerPublicKey != h))
156156 then throw("_1")
157157 else if ((D(n) != unit))
158158 then throw("_2")
159159 else if (if ((Z == false))
160160 then if ((P.payments[0].amount != 10000000))
161161 then true
162162 else (P.payments[0].assetId != K())
163163 else false)
164164 then throw("_20")
165165 else {
166166 let ad = if (Z)
167167 then ac
168168 else 10000000
169169 let ae = Issue(X, (("Team token for the " + X) + " collective farm"), ad, 8, true)
170170 let af = if (Z)
171171 then ab
172172 else 10000000
173173 let ag = if (Z)
174174 then [IntegerEntry(p, aa)]
175175 else nil
176176 ([StringEntry(q, toBase58String(calculateAssetId(ae))), BooleanEntry(n, true), IntegerEntry(m, af), ae, ScriptTransfer(P.caller, ad, calculateAssetId(ae)), BooleanEntry(w, false), IntegerEntry(o, Y)] ++ ag)
177177 }
178178
179179
180180
181181 @Callable(P)
182182 func setLock (ah) = if ((P.callerPublicKey != h))
183183 then throw("_21")
184184 else [BooleanEntry(w, ah)]
185185
186186
187187
188188 @Callable(P)
189189 func lockInvestments () = if ((P.caller != this))
190190 then throw("You cannot lock this contract")
191191 else [BooleanEntry(z, true)]
192192
193193
194194
195195 @Callable(P)
196196 func unlockInvestments () = if ((P.caller != this))
197197 then throw("You cannot lock this contract")
198198 else [BooleanEntry(z, false)]
199199
200200
201201
202202 @Callable(P)
203203 func provideLiquidity () = {
204204 let ai = K()
205205 if (if (if ((P.callerPublicKey != l))
206206 then (P.callerPublicKey != h)
207207 else false)
208208 then (D(z) == true)
209209 else false)
210210 then throw("Contract is locked for investments by it's CEO. Please invest in another collective farm.")
211211 else if ((D(w) == true))
212212 then throw("_22")
213213 else if ((P.payments[0].assetId != ai))
214214 then throw("_4")
215215 else if ((1000000 > P.payments[0].amount))
216216 then throw("Min amount to invest is 0.01 EGG")
217217 else {
218218 let ab = C(m)
219219 let aj = P.payments[0].amount
220220 let ak = fromBase58String(c(q))
221221 let al = Reissue(L(), aj, true)
222222 let am = (("account_" + toString(P.caller)) + "_participated")
223223 let an = D(am)
224224 $Tuple2([al, ScriptTransfer(P.caller, aj, ak), IntegerEntry(m, (ab + value(P.payments[0].amount))), BooleanEntry(am, true)], aj)
225225 }
226226 }
227227
228228
229229
230230 @Callable(P)
231231 func claimFarmingRewardProxy (ao) = if ((P.callerPublicKey != h))
232232 then throw("_23")
233233 else {
234234 let ai = K()
235235 let S = L()
236236 let ap = addressFromStringValue(E(i, t))
237237 func aq (ar,as) = {
238238 let at = invoke(ap, "claimReward", [as], nil)
239239 if ((at == at))
240240 then {
241241 let e = at
242242 if ($isInstanceOf(e, "Int"))
243243 then {
244244 let O = e
245245 (ar + O)
246246 }
247247 else throw("_5")
248248 }
249249 else throw("Strict value is not equal to itself.")
250250 }
251251
252252 let au = split(ao, ";")
253253 let av = {
254254 let aw = au
255- let ah = size(aw)
256- let ax = 0
257- func ay (F,P) = if ((P >= ah))
258- then F
259- else aq(F, aw[P])
255+ let ax = size(aw)
256+ let ay = 0
257+ func az (aA,aB) = if ((aB >= ax))
258+ then aA
259+ else aq(aA, aw[aB])
260260
261- func az (F,P) = if ((P >= ah))
262- then F
261+ func aC (aA,aB) = if ((aB >= ax))
262+ then aA
263263 else throw("List size exceeds 10")
264264
265- az(ay(ay(ay(ay(ay(ay(ay(ay(ay(ay(ax, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
265+ aC(az(az(az(az(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
266266 }
267- let aA = {
267+ let aD = {
268268 let e = av
269269 if ($isInstanceOf(e, "Int"))
270270 then {
271271 let O = e
272272 O
273273 }
274274 else throw("_6")
275275 }
276276 let aa = C(p)
277- let aB = fraction(aA, j, 100)
278- let aC = C(x)
279- let aD = C(y)
280- let aE = (aA - aB)
281- let aF = M(invoke(this, "calculateCompoundShareAndIssue", [aE], nil))
282- if ((aF == aF))
277+ let aE = fraction(aD, j, 100)
278+ let aF = C(x)
279+ let aG = C(y)
280+ let aH = (aD - aE)
281+ let aI = M(invoke(this, "calculateCompoundShareAndIssue", [aH], nil))
282+ if ((aI == aI))
283283 then {
284- let aG = invoke(k, "topUpReward", nil, [AttachedPayment(ai, (aE - aF)), AttachedPayment(S, aF)])
285- if ((aG == aG))
286- then [IntegerEntry(p, (aa + aE)), IntegerEntry(x, (aC + aB)), IntegerEntry(y, (aD + aB))]
284+ let aJ = invoke(k, "topUpReward", nil, [AttachedPayment(ai, (aH - aI)), AttachedPayment(S, aI)])
285+ if ((aJ == aJ))
286+ then [IntegerEntry(p, (aa + aH)), IntegerEntry(x, (aF + aE)), IntegerEntry(y, (aG + aE))]
287287 else throw("Strict value is not equal to itself.")
288288 }
289289 else throw("Strict value is not equal to itself.")
290290 }
291291
292292
293293
294294 @Callable(P)
295-func claimCeoFee (aH,aI,aJ,aK) = if ((0 > aJ))
295+func claimCeoFee (aK,aL,aM,aN) = if ((0 > aM))
296296 then throw("Share 1 can't be negative")
297- else if ((0 > aK))
297+ else if ((0 > aN))
298298 then throw("Share 2 can't be negative")
299- else if (((aJ + aK) != 100))
299+ else if (((aM + aN) != 100))
300300 then throw("Sum of shares should be 100")
301301 else if ((D(w) == true))
302302 then throw("_22")
303303 else if ((P.caller == this))
304304 then {
305- let aL = C(x)
306- let aM = if ((aI == ""))
307- then aL
308- else fraction(aL, aJ, 100)
309- let aN = if ((aI == ""))
305+ let aO = C(x)
306+ let aP = if ((aL == ""))
307+ then aO
308+ else fraction(aO, aM, 100)
309+ let aQ = if ((aL == ""))
310310 then 0
311- else fraction(aL, aK, 100)
312- let aO = if ((aI == ""))
311+ else fraction(aO, aN, 100)
312+ let aR = if ((aL == ""))
313313 then nil
314- else [ScriptTransfer(addressFromStringValue(aI), aN, K())]
315- (aO ++ [ScriptTransfer(addressFromStringValue(aH), aM, K()), IntegerEntry(x, 0)])
314+ else [ScriptTransfer(addressFromStringValue(aL), aQ, K())]
315+ (aR ++ [ScriptTransfer(addressFromStringValue(aK), aP, K()), IntegerEntry(x, 0)])
316316 }
317317 else throw("Only manager can call the contract")
318318
319319
320320
321321 @Callable(P)
322-func startLiquidation (aP) = throw("_7")
322+func startLiquidation (aS) = throw("_7")
323323
324324
325325
326326 @Callable(P)
327-func voteForLiquidation (aP) = throw("_7")
327+func voteForLiquidation (aS) = throw("_7")
328328
329329
330330
331331 @Callable(P)
332-func callUnstakeProxy (aQ,aR) = if ((D(w) == true))
332+func callUnstakeProxy (aT,aU) = if ((D(w) == true))
333333 then throw("Contract is locked now")
334- else if (if ((aQ != "unstakeNFT"))
335- then (aQ != "unstakeJackpot")
334+ else if (if ((aT != "unstakeNFT"))
335+ then (aT != "unstakeJackpot")
336336 else false)
337337 then throw("Bad function name")
338338 else if ((P.caller != this))
339339 then throw("Can be called only by the account")
340340 else {
341341 let ai = K()
342342 let S = L()
343- let aS = addressFromStringValue(E(i, "FARMING_DAPP"))
344- let aT = invoke(aS, aQ, [aR], nil)
345- if ((aT == aT))
343+ let aV = addressFromStringValue(E(i, "FARMING_DAPP"))
344+ let aW = invoke(aV, aT, [aU], nil)
345+ if ((aW == aW))
346346 then {
347- let aU = {
348- let e = aT
347+ let aX = {
348+ let e = aW
349349 if ($isInstanceOf(e, "Int"))
350350 then {
351351 let O = e
352352 O
353353 }
354354 else throw("Error during unstaking")
355355 }
356- let aC = C(x)
357- let aD = C(y)
358- let aB = fraction(aU, j, 100)
359- let aE = (aU - aB)
360- let aV = invoke(this, "calculateCompoundShareAndIssue", [aE], nil)
361- if ((aV == aV))
356+ let aF = C(x)
357+ let aG = C(y)
358+ let aE = fraction(aX, j, 100)
359+ let aH = (aX - aE)
360+ let aY = invoke(this, "calculateCompoundShareAndIssue", [aH], nil)
361+ if ((aY == aY))
362362 then {
363- let aF = M(invoke(this, "calculateCompoundShareAndIssue", [aE], nil))
364- if ((aF == aF))
363+ let aI = M(invoke(this, "calculateCompoundShareAndIssue", [aH], nil))
364+ if ((aI == aI))
365365 then {
366- let aG = invoke(k, "topUpReward", nil, [AttachedPayment(ai, (aE - aF)), AttachedPayment(S, aF)])
367- if ((aG == aG))
368- then [IntegerEntry(x, (aC + aB)), IntegerEntry(y, (aD + aB))]
366+ let aJ = invoke(k, "topUpReward", nil, [AttachedPayment(ai, (aH - aI)), AttachedPayment(S, aI)])
367+ if ((aJ == aJ))
368+ then [IntegerEntry(x, (aF + aE)), IntegerEntry(y, (aG + aE))]
369369 else throw("Strict value is not equal to itself.")
370370 }
371371 else throw("Strict value is not equal to itself.")
372372 }
373373 else throw("Strict value is not equal to itself.")
374374 }
375375 else throw("Strict value is not equal to itself.")
376376 }
377377
378378
379-@Verifier(aW)
380-func aX () = {
381- let aY = (C(m) >= C(o))
382- let e = aW
379+@Verifier(aZ)
380+func ba () = {
381+ let bb = (C(m) >= C(o))
382+ let e = aZ
383383 if ($isInstanceOf(e, "InvokeScriptTransaction"))
384384 then {
385- let aZ = e
386- let ba = ["stakeFarmTokens", "claimReward", "withdrawFarmTokens"]
387- let bb = ["callUnstakeProxy", "claimCeoFee", "lockInvestments", "unlockInvestments"]
388- if (if ((aZ.function == "unstakeNFT"))
385+ let bc = e
386+ let bd = ["stakeFarmTokens", "claimReward", "withdrawFarmTokens"]
387+ let be = ["callUnstakeProxy", "claimCeoFee", "lockInvestments", "unlockInvestments"]
388+ if (if ((bc.function == "unstakeNFT"))
389389 then true
390- else (aZ.function == "unstakeJackpot"))
390+ else (bc.function == "unstakeJackpot"))
391391 then throw("You cannot call these functions directly")
392- else if (if (if ((addressFromRecipient(aZ.dApp) == this))
393- then (aZ.function == "initMasterKey")
392+ else if (if (if ((addressFromRecipient(bc.dApp) == this))
393+ then (bc.function == "initMasterKey")
394394 else false)
395395 then (g == "")
396396 else false)
397- then sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
398- else if ((sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey) == false))
397+ then sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey)
398+ else if ((sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey) == false))
399399 then throw("_100")
400- else if ((aY == false))
400+ else if ((bb == false))
401401 then throw("_14")
402402 else if ((D(w) == true))
403403 then throw("_22")
404- else if (if ((aZ.fee > 900000))
404+ else if (if ((bc.fee > 900000))
405405 then true
406- else (aZ.feeAssetId != unit))
406+ else (bc.feeAssetId != unit))
407407 then throw("_15")
408- else if ((size(aZ.payments) > 2))
408+ else if ((size(bc.payments) > 2))
409409 then throw("_17")
410- else if (if ((addressFromRecipient(aZ.dApp) == this))
411- then containsElement(bb, aZ.function)
410+ else if (if ((addressFromRecipient(bc.dApp) == this))
411+ then containsElement(be, bc.function)
412412 else false)
413- then sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
414- else if (if ((addressFromRecipient(aZ.dApp) == addressFromStringValue(J())))
415- then (aZ.function == "callMarketplaceProxy")
413+ then sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey)
414+ else if (if ((addressFromRecipient(bc.dApp) == addressFromStringValue(J())))
415+ then (bc.function == "callMarketplaceProxy")
416416 else false)
417- then sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
418- else if (if ((addressFromRecipient(aZ.dApp) == k))
419- then containsElement(ba, aZ.function)
417+ then sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey)
418+ else if (if ((addressFromRecipient(bc.dApp) == k))
419+ then containsElement(bd, bc.function)
420420 else false)
421- then sigVerify(aW.bodyBytes, aW.proofs[0], aW.senderPublicKey)
421+ then sigVerify(aZ.bodyBytes, aZ.proofs[0], aZ.senderPublicKey)
422422 else {
423- let bc = E(i, "allowed_contracts")
424- let bd = split(bc, ";")
425- let be = toString(addressFromRecipient(aZ.dApp))
426- (indexOf(bd, be) != unit)
423+ let bf = E(i, "allowed_contracts")
424+ let bg = split(bf, ";")
425+ let bh = toString(addressFromRecipient(bc.dApp))
426+ (indexOf(bg, bh) != unit)
427427 }
428428 }
429429 else if ($isInstanceOf(e, "SetScriptTransaction"))
430430 then {
431- let bf = e
432- sigVerify(aW.bodyBytes, aW.proofs[0], h)
431+ let bi = e
432+ sigVerify(aZ.bodyBytes, aZ.proofs[0], h)
433433 }
434434 else if ($isInstanceOf(e, "MassTransferTransaction"))
435435 then {
436- let bg = e
437- sigVerify(aW.bodyBytes, aW.proofs[0], h)
436+ let bj = e
437+ sigVerify(aZ.bodyBytes, aZ.proofs[0], h)
438438 }
439439 else false
440440 }
441441

github/deemru/w8io/169f3d6 
136.61 ms