tx · vzJ5yjb5uyzzNJSrnDs5r5i2qNhbuc1voTEYX3QLJts

3MqAXcQCPvqvYZuVJhaXEeJZ3Rja1MUq2LY:  -0.01200000 Waves

2023.03.17 17:18 [2494103] smart account 3MqAXcQCPvqvYZuVJhaXEeJZ3Rja1MUq2LY > SELF 0.00000000 Waves

{ "type": 13, "id": "vzJ5yjb5uyzzNJSrnDs5r5i2qNhbuc1voTEYX3QLJts", "fee": 1200000, "feeAssetId": null, "timestamp": 1679062763784, "version": 2, "chainId": 84, "sender": "3MqAXcQCPvqvYZuVJhaXEeJZ3Rja1MUq2LY", "senderPublicKey": "FfjixqhdoWY77CNzgw1CJPMaUJ1wBFaQSY4GrTetjwzH", "proofs": [ "UW7hLYNJocqkzASb3JuqRtGakTeL5EbbmpyaUpQVEswzMHGp7YDUMmWbqLurqtdrrAbeNJJZ5EFJFcYXbV4PGyU", "KFZuBZFbYVpcuBz4XmV1QUX8BUB4os1aA5fRSLKpYTxFeRpT2dSVyZDxiGk9my9kLnXaahMPov2rMba6Akw8Lw1" ], "script": "base64:BgImCAISBAoCCBgSABIAEgUKAwQBCBIAEgMKAQESAwoBARIAEgMKAQEpAAdrQWN0aXZlAgZhY3RpdmUAC2tBY3RpdmVHbG9iAhRhY3RpdmVfYWxsX2NvbnRyYWN0cwAGa0NhdXNlAg5zaHV0ZG93bl9jYXVzZQAMa1VTRE5BZGRyZXNzAhhzdGFraW5nX3VzZG5uc2J0X2FkZHJlc3MADGtFVVJOQWRkcmVzcwIUc3Rha2luZ19ldXJuX2FkZHJlc3MADGtMZWFzaW5nUG9vbAIPbGVhc2luZ19hZGRyZXNzAA5rTGVhc2luZ0Ftb3VudAIObGVhc2luZ19hbW91bnQACmtMZWFzaW5nSWQCCmxlYXNpbmdfaWQADWtBZG1pblB1YktleTECC2FkbWluX3B1Yl8xAA1rQWRtaW5QdWJLZXkyAgthZG1pbl9wdWJfMgANa0FkbWluUHViS2V5MwILYWRtaW5fcHViXzMAEmtBZG1pbkludm9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nByb29mcwACBQxhZG1pblB1YktleTMAAQAACQBnAgkAZAIJAGQCBRJhZG1pblB1YktleTFTaWduZWQFEmFkbWluUHViS2V5MlNpZ25lZAUSYWRtaW5QdWJLZXkzU2lnbmVkAAIFE211bHRpU2lnbmVkQnlBZG1pbnOCFYaH", "height": 2494103, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6VnB59uX5TJyHJFhS7Z25GErASFiQMseFDexfjd8CCEz Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "active"
55
66 let b = "active_all_contracts"
77
88 let c = "shutdown_cause"
99
1010 let d = "staking_usdnnsbt_address"
1111
1212 let e = "staking_eurn_address"
1313
1414 let f = "leasing_address"
1515
1616 let g = "leasing_amount"
1717
1818 let h = "leasing_id"
1919
2020 let i = "admin_pub_1"
2121
2222 let j = "admin_pub_2"
2323
2424 let k = "admin_pub_3"
2525
2626 let l = "admin_invoke_pub"
2727
2828 let m = "cpmm_contract"
2929
3030 let n = "usdn_asset_id"
3131
3232 let o = "eurn_asset_id"
3333
3434 let p = "staking_assets"
3535
3636 let q = "share_asset_id"
3737
3838 let r = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz')
3939
4040 func s (t) = {
4141 let u = getString(r, t)
4242 if ($isInstanceOf(u, "String"))
4343 then {
4444 let v = u
4545 fromBase58String(v)
4646 }
4747 else {
4848 let w = u
4949 throw((t + "is empty"))
5050 }
5151 }
5252
5353
5454 let x = s(i)
5555
5656 let y = s(j)
5757
5858 let z = s(k)
5959
6060 let A = s(l)
6161
6262 let B = Address(s(d))
6363
6464 let C = Address(s(e))
6565
6666 let D = Address(s(m))
6767
6868 let E = s(n)
6969
7070 let F = s(o)
7171
7272 let G = getStringValue(r, p)
7373
7474 let H = valueOrElse(getBoolean(r, b), true)
7575
7676 let I = valueOrElse(getBoolean(this, a), true)
7777
7878 func J () = if (if (I)
7979 then H
8080 else false)
8181 then unit
8282 else throw("DApp is inactive at this moment")
8383
8484
8585 func K (L) = if ((L == D))
8686 then unit
8787 else throw("Only global Contract can invoke this function")
8888
8989
9090 func M (N) = if (containsElement([x, y, z], N))
9191 then unit
9292 else throw("Only admin can call this function")
9393
9494
9595 func O (P) = [BooleanEntry(a, false), StringEntry(c, P)]
9696
9797
9898 func Q (R,S) = if (R)
9999 then if ((S == E))
100100 then $Tuple2("lockNeutrino", B)
101101 else $Tuple2("startStaking", C)
102102 else if ((S == E))
103103 then $Tuple2("unlockNeutrino", B)
104104 else $Tuple2("stopStaking", C)
105105
106106
107107 func T (R,U,S) = if (R)
108108 then {
109109 let V = Q(R, S)
110110 let W = V._1
111111 let X = V._2
112112 $Tuple4(W, X, nil, [AttachedPayment(S, U)])
113113 }
114114 else {
115115 let Y = Q(R, S)
116116 let W = Y._1
117117 let X = Y._2
118118 $Tuple4(W, X, [U, toBase58String(S)], nil)
119119 }
120120
121121
122122 func Z (aa,ab) = {
123123 let ac = aa
124124 let ad = ac._1
125125 let ae = ac._2
126126 $Tuple2((ad :+ ab.amount), (ae :+ (if ((ab.assetId == unit))
127127 then base58''
128128 else ab.assetId)))
129129 }
130130
131131
132132 func af (ag,ah) = {
133133 let u = ah
134134 if (if ($isInstanceOf(u, "Issue"))
135135 then true
136136 else if ($isInstanceOf(u, "Burn"))
137137 then true
138138 else if ($isInstanceOf(u, "Reissue"))
139139 then true
140140 else if ($isInstanceOf(u, "ScriptTransfer"))
141141 then true
142142 else if ($isInstanceOf(u, "BinaryEntry"))
143143 then true
144144 else if ($isInstanceOf(u, "BooleanEntry"))
145145 then true
146146 else if ($isInstanceOf(u, "StringEntry"))
147147 then true
148148 else $isInstanceOf(u, "IntegerEntry"))
149149 then {
150150 let ai = u
151151 (ag :+ ai)
152152 }
153153 else ag
154154 }
155155
156156
157157 func aj (ag,ah) = {
158158 let u = ah
159159 if ($isInstanceOf(u, "String"))
160160 then {
161161 let ak = u
162162 (ag :+ ak)
163163 }
164164 else if ($isInstanceOf(u, "Int"))
165165 then {
166166 let ak = u
167167 (ag :+ ak)
168168 }
169169 else if ($isInstanceOf(u, "Boolean"))
170170 then {
171171 let ak = u
172172 (ag :+ ak)
173173 }
174174 else if ($isInstanceOf(u, "ByteVector"))
175175 then {
176176 let ak = u
177177 (ag :+ ak)
178178 }
179179 else if ($isInstanceOf(u, "Unit"))
180180 then {
181181 let ak = u
182182 (ag :+ ak)
183183 }
184184 else throw()
185185 }
186186
187187
188188 func al (am,L,an,ao) = valueOrElse(J(), {
189189 let ap = {
190190 let aq = ao
191191 let ar = size(aq)
192192 let as = $Tuple2(nil, nil)
193193 func at (au,av) = if ((av >= ar))
194194 then au
195195 else Z(au, aq[av])
196196
197197 func aw (au,av) = if ((av >= ar))
198198 then au
199199 else throw("List size exceeds 10")
200200
201201 aw(at(at(at(at(at(at(at(at(at(at(as, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
202202 }
203203 let ad = ap._1
204204 let ae = ap._2
205205 let ax = if (if ((am == "replenishWithTwoTokens"))
206206 then (size(ao) == 3)
207207 else false)
208208 then [ao[2]]
209209 else if (if ((am == "replenishWithOneToken"))
210210 then (size(ao) == 2)
211211 else false)
212212 then [ao[1]]
213213 else nil
214214 let ay = {
215215 let az = reentrantInvoke(D, am, [L, an, ad, ae], ax)
216216 if ($isInstanceOf(az, "(List[Any], List[Any])"))
217217 then az
218218 else throw(($getType(az) + " couldn't be cast to (List[Any], List[Any])"))
219219 }
220220 if ((ay == ay))
221221 then {
222222 let aA = ay._2
223223 let aB = ay._1
224224 let aC = {
225225 let aq = aA
226226 let ar = size(aq)
227227 let as = nil
228228 func aD (au,av) = if ((av >= ar))
229229 then au
230230 else aj(au, aq[av])
231231
232232 func aE (au,av) = if ((av >= ar))
233233 then au
234234 else throw("List size exceeds 10")
235235
236236 aE(aD(aD(aD(aD(aD(aD(aD(aD(aD(aD(as, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
237237 }
238238 let aF = {
239239 let aq = aB
240240 let ar = size(aq)
241241 let as = nil
242242 func aG (au,av) = if ((av >= ar))
243243 then au
244244 else af(au, aq[av])
245245
246246 func aH (au,av) = if ((av >= ar))
247247 then au
248248 else throw("List size exceeds 15")
249249
250250 aH(aG(aG(aG(aG(aG(aG(aG(aG(aG(aG(aG(aG(aG(aG(aG(as, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15)
251251 }
252252 $Tuple2(aF, aC)
253253 }
254254 else throw("Strict value is not equal to itself.")
255255 })
256256
257257
258258 @Callable(aI)
259259 func callFunction (am,an) = al(am, aI.caller.bytes, an, aI.payments)
260260
261261
262262
263263 @Callable(aI)
264264 func shutdown () = valueOrElse(M(aI.callerPublicKey), if (!(I))
265265 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, c), "the cause wasn't specified")))
266266 else O("Paused by admin"))
267267
268268
269269
270270 @Callable(aI)
271271 func activate () = valueOrElse(M(aI.callerPublicKey), if (I)
272272 then throw("DApp is already active")
273273 else [BooleanEntry(a, true), DeleteEntry(c)])
274274
275275
276276
277277 @Callable(aI)
278278 func stakeUnstake (R,U,aJ) = valueOrElse(K(aI.caller), valueOrElse(J(), if ((aJ == "WAVES"))
279279 then {
280280 let aK = addressFromStringValue(valueOrErrorMessage(getString(r, f), "No leasing pool in oracle"))
281281 let aL = getBinary(this, h)
282282 let aM = valueOrElse(getInteger(this, g), 0)
283283 let aN = if (R)
284284 then (aM + U)
285285 else (aM - U)
286286 let aO = Lease(aK, aN)
287287 let aP = calculateLeaseId(aO)
288288 let aQ = [aO, BinaryEntry(h, aP), IntegerEntry(g, aN)]
289289 let u = aL
290290 if ($isInstanceOf(u, "ByteVector"))
291291 then {
292292 let aR = u
293293 ([LeaseCancel(aR)] ++ aQ)
294294 }
295295 else aQ
296296 }
297297 else {
298298 let aS = T(R, U, fromBase58String(aJ))
299299 let W = aS._1
300300 let aT = aS._2
301301 let aU = aS._3
302302 let ao = aS._4
303303 let aV = invoke(aT, W, aU, ao)
304304 if ((aV == aV))
305305 then nil
306306 else throw("Strict value is not equal to itself.")
307307 }))
308308
309309
310310
311311 @Callable(aI)
312312 func claimNetrinoRewards () = valueOrElse(K(aI.caller), valueOrElse(J(), {
313313 let aV = invoke(B, "claimRewards", nil, nil)
314314 if ((aV == aV))
315315 then $Tuple2(nil, aV)
316316 else throw("Strict value is not equal to itself.")
317317 }))
318318
319319
320320
321321 @Callable(aI)
322322 func reissueShareToken (U) = valueOrElse(K(aI.caller), valueOrElse(J(), {
323323 let aW = fromBase58String(getStringValue(this, q))
324324 [Reissue(aW, U, true), ScriptTransfer(aI.caller, U, aW)]
325325 }))
326326
327327
328328
329329 @Callable(aI)
330330 func replenishWithTwoTokens (aX) = al("replenishWithTwoTokens", aI.caller.bytes, ["false", "0"], aI.payments)
331331
332332
333333
334334 @Callable(aI)
335335 func withdraw () = al("withdraw", aI.caller.bytes, ["0"], aI.payments)
336336
337337
338338
339339 @Callable(aI)
340340 func exchange (aY) = al("exchange", aI.caller.bytes, [toString(aY)], aI.payments)
341341
342342
343343 @Verifier(aZ)
344344 func ba () = {
345345 let bb = {
346346 let bc = if (sigVerify(aZ.bodyBytes, aZ.proofs[0], x))
347347 then 1
348348 else 0
349349 let bd = if (sigVerify(aZ.bodyBytes, aZ.proofs[1], y))
350350 then 1
351351 else 0
352352 let be = if (sigVerify(aZ.bodyBytes, aZ.proofs[2], z))
353353 then 1
354354 else 0
355355 (((bc + bd) + be) >= 2)
356356 }
357357 bb
358358 }
359359

github/deemru/w8io/026f985 
45.93 ms