tx · 4cp5ScUehZXBHKV1vyDdHvnFHvK6tKJCUHmNQ48C3TqH

3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh:  -0.01600000 Waves

2022.10.20 11:14 [2280469] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves

{ "type": 13, "id": "4cp5ScUehZXBHKV1vyDdHvnFHvK6tKJCUHmNQ48C3TqH", "fee": 1600000, "feeAssetId": null, "timestamp": 1666253779984, "version": 1, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "3ChhFsxo9JENkwjEjQKL1A94NUhYYrFTEhBUoKKatxGt7CrAYCVVSCVsdMHKtCxEhNZwMhszGgMfUxMLxeJioCVC" ], "script": "base64:AAIFAAAAAAAABswIAhIICgYICBgBCAESABIICgYICAgICAgSAwoBGBIDCgEIEgASABIECgIICCIDU0VQIgx3YXZlc0Fzc2V0SWQiEWludmFsaWRQcmljZUFzc2V0Igh0aHJvd0VyciIDbXNnIgd0aHJvd1BEIhR0aHJvd0NyZWF0ZU5vdENhbGxlZCIRdGhyb3dZb3VOb3RJc3N1ZXIiD3Rocm93UG9vbEV4aXN0cyIVdGhyb3dBc3NldE5vdFZlcmlmaWVkIhZ0aHJvd0ludmFsaWRQcmljZUFzc2V0IhR0aHJvd0ludmFsaWRGZWVBc3NldCIXdGhyb3dJbnZhbGlkQW1vdW50QXNzZXQiEnRocm93SW52YWxpZFN0YXR1cyIfdGhyb3dDYW5BY3RpdmF0ZU9ubHlQZW5kaW5nUG9vbCIddGhyb3dGYWN0b3J5UmV0dXJuZWROb3RTdHJpbmciHHRocm93SW52YWxpZFByaWNlQXNzZXRBbW91bnQiD3Rocm93SW52YWxpZEZlZSITa2V5TWFuYWdlclB1YmxpY0tleSIaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkiD2tleUFk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JAAQiAAAAAQkBAAAAAXYAAAACBQAAAAF3BQAAAAF4AwkAAAEAAAACBQAAAAFXAgAAAAZTdHJpbmcEAAAAAVgFAAAAAVcFAAAAAVgFAAAABHVuaXQJAAUUAAAAAgUAAAADbmlsBQAAAAJhcQAAAAEAAAACYmUBAAAAAmJmAAAAAAQAAAACYmcEAAAAAVcJAQAAAAJhYgAAAAADCQAAAQAAAAIFAAAAAVcCAAAACkJ5dGVWZWN0b3IEAAAAAmFmBQAAAAFXBQAAAAJhZgMJAAABAAAAAgUAAAABVwIAAAAEVW5pdAgFAAAAAmJlAAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACYmUAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJiZQAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmJnLok93A==", "chainId": 84, "height": 2280469, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FUA7PhACYC7M5uqTsFWxKN1bzPZ3hNEjcn1342abDsSV Next: FSYWcXjXHxVUJ1d4mhRfPzGRVajwwpqPCCzFVdBmfX1Y Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = "WAVES"
77
88 let c = "Invalid price asset"
99
1010 func d (e) = throw(makeString(["user_pools.ride:", e], " "))
1111
1212
1313 func f () = d("Permission denied")
1414
1515
1616 func g () = d("Create is not called for assets pair")
1717
1818
1919 func h () = d("You are not amountAsset issuer")
2020
2121
2222 func i () = d("Pool with such assets already exists")
2323
2424
2525 func j () = d("Asset is not verified")
2626
2727
2828 func k () = d(c)
2929
3030
3131 func l () = d("Invalid fee asset")
3232
3333
3434 func m () = d("Invalid amount asset attached")
3535
3636
3737 func n () = d("Invalid status")
3838
3939
4040 func o () = d("Can activate pool only in 'pending' status")
4141
4242
4343 func p () = d("FactoryV2 returned not string")
4444
4545
4646 func q () = d("invalid price asset amount")
4747
4848
4949 func r () = d("invalid fee")
5050
5151
5252 func s () = makeString(["%s", "managerPublicKey"], a)
5353
5454
5555 func t () = makeString(["%s", "pendingManagerPublicKey"], a)
5656
5757
5858 func u () = makeString(["%s", "adminPubKeys"], a)
5959
6060
6161 func v (w,x) = makeString(["%s%s%s", "status", w, x], a)
6262
6363
6464 func y () = makeString(["%s", "factoryContract"], a)
6565
6666
6767 func z () = makeString(["%s", "assetsStoreContract"], a)
6868
6969
7070 func A (w,x) = makeString(["%s%s%s", "suffix", w, x], a)
7171
7272
7373 func B () = makeString(["%s", "lastIndex"], a)
7474
7575
7676 let C = "u"
7777
7878 let D = "pending"
7979
8080 let E = "declined"
8181
8282 let F = "active"
8383
8484 let G = [D, E, F]
8585
8686 func H (w,x) = makeString(["%s%s%s", "createCalled", w, x], a)
8787
8888
8989 func I (w,x) = makeString(["%s%s%s", "createCaller", w, x], a)
9090
9191
9292 func J (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a)
9393
9494
9595 func K (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a)
9696
9797
9898 func L (w,x) = makeString(["%s%s%s", "height", w, x], a)
9999
100100
101101 func M (w,x) = makeString(["%s%s%s", "activationHeight", w, x], a)
102102
103103
104104 func N () = makeString(["%s", "feeAssetId"], a)
105105
106106
107107 func O () = makeString(["%s", "feeAmount"], a)
108108
109109
110110 func P () = makeString(["%s", "amountAssetMinAmount"], a)
111111
112112
113113 func Q () = makeString(["%s", "priceAssetsMinAmount"], a)
114114
115115
116116 func R () = makeString(["%s", "priceAssets"], a)
117117
118118
119119 func S (T) = valueOrErrorMessage(getString(this, T), (T + " is not defined"))
120120
121121
122122 func U (V) = {
123123 let W = V
124124 if ($isInstanceOf(W, "String"))
125125 then {
126126 let X = W
127127 if ((size(X) == 0))
128128 then nil
129129 else split(X, a)
130130 }
131131 else if ($isInstanceOf(W, "Unit"))
132132 then nil
133133 else throw("Match error")
134134 }
135135
136136
137137 let Y = addressFromStringValue(S(y()))
138138
139139 func Z (w,x) = valueOrElse(getBoolean(H(w, x)), false)
140140
141141
142142 func aa (w,x) = if (Z(w, x))
143143 then true
144144 else g()
145145
146146
147147 func ab () = {
148148 let W = getString(s())
149149 if ($isInstanceOf(W, "String"))
150150 then {
151151 let X = W
152152 fromBase58String(X)
153153 }
154154 else if ($isInstanceOf(W, "Unit"))
155155 then unit
156156 else throw("Match error")
157157 }
158158
159159
160160 func ac () = {
161161 let W = getString(t())
162162 if ($isInstanceOf(W, "String"))
163163 then {
164164 let X = W
165165 fromBase58String(X)
166166 }
167167 else if ($isInstanceOf(W, "Unit"))
168168 then unit
169169 else throw("Match error")
170170 }
171171
172172
173173 func ad (ae) = {
174174 let W = ab()
175175 if ($isInstanceOf(W, "ByteVector"))
176176 then {
177177 let af = W
178178 (ae.callerPublicKey == af)
179179 }
180180 else if ($isInstanceOf(W, "Unit"))
181181 then (ae.caller == this)
182182 else throw("Match error")
183183 }
184184
185185
186186 func ag (ae) = if (ad(ae))
187187 then true
188188 else f()
189189
190190
191191 func ah (ae) = {
192192 let ai = U(getString(u()))
193193 if (containsElement(ai, toBase58String(ae.callerPublicKey)))
194194 then true
195195 else ag(ae)
196196 }
197197
198198
199199 func aj (ak) = (valueOrElse(getInteger(addressFromStringValue(S(z())), (("status_<" + ak) + ">")), 0) == 2)
200200
201201
202202 func al (am) = {
203203 let W = am.assetId
204204 if ($isInstanceOf(W, "ByteVector"))
205205 then {
206206 let an = W
207207 let ao = value(assetInfo(an))
208208 $Tuple2(toBase58String(an), ao)
209209 }
210210 else if ($isInstanceOf(W, "Unit"))
211211 then $Tuple2(b, unit)
212212 else throw("Match error")
213213 }
214214
215215
216216 func ap (aq) = containsElement(G, aq)
217217
218218
219219 @Callable(ae)
220220 func constructor (ar,as,at,au,av,aw) = {
221221 let ax = ag(ae)
222222 if ((ax == ax))
223223 then [StringEntry(y(), ar), StringEntry(z(), as), StringEntry(Q(), makeString(at, a)), IntegerEntry(P(), au), StringEntry(N(), av), IntegerEntry(O(), aw)]
224224 else throw("Strict value is not equal to itself.")
225225 }
226226
227227
228228
229229 @Callable(ae)
230230 func create () = {
231231 let ay = value(ae.payments[0])
232232 let az = value(ae.payments[1])
233233 let aA = value(ae.payments[2])
234234 let aB = al(ay)
235235 let w = aB._1
236236 let aC = aB._2
237237 let aD = al(az)
238238 let x = aD._1
239239 let aE = aD._2
240240 let aF = al(aA)
241241 let av = aF._1
242242 let aG = aF._2
243243 let aH = U(getString(Y, R()))
244244 let aI = 1
245245 let aJ = if (ad(ae))
246246 then aI
247247 else {
248248 let aK = valueOrErrorMessage(indexOf(aH, x), c)
249249 value(parseInt(U(getString(Q()))[aK]))
250250 }
251251 let aL = valueOrElse(getInteger(B()), 0)
252252 let aM = (aL + 1)
253253 let aN = [if (!(Z(w, x)))
254254 then true
255255 else i(), if (if (ad(ae))
256256 then true
257257 else aj(w))
258258 then true
259259 else j(), if ((getString(N()) == av))
260260 then true
261261 else l(), if (if (ad(ae))
262262 then true
263263 else (ay.amount >= getIntegerValue(P())))
264264 then true
265265 else m(), if (if (ad(ae))
266266 then true
267267 else (az.amount >= aJ))
268268 then true
269269 else q(), if ((aA.amount == getInteger(O())))
270270 then true
271271 else r()]
272272 if ((aN == aN))
273273 then [BooleanEntry(H(w, x), true), StringEntry(I(w, x), toString(ae.caller)), IntegerEntry(B(), aM), StringEntry(A(w, x), (toString(aM) + C)), IntegerEntry(L(w, x), height), StringEntry(v(w, x), D), IntegerEntry(J(w, x), ay.amount), IntegerEntry(K(w, x), az.amount)]
274274 else throw("Strict value is not equal to itself.")
275275 }
276276
277277
278278
279279 @Callable(ae)
280280 func activate (aO,w,aP,x,aQ,aR) = {
281281 let aN = [ah(ae), if (Z(w, x))
282282 then true
283283 else g(), if ((value(getString(v(w, x))) == D))
284284 then true
285285 else o()]
286286 if ((aN == aN))
287287 then {
288288 let aS = invoke(Y, "activateNewPool", [aO, w, x, ((aP + aQ) + "LP"), (((aP + "/") + aQ) + " pool liquidity provider token"), 0, "VLTPOOL", aR], nil)
289289 if ((aS == aS))
290290 then {
291291 let aT = {
292292 let W = aS
293293 if ($isInstanceOf(W, "String"))
294294 then {
295295 let an = W
296296 an
297297 }
298298 else p()
299299 }
300300 if ((aT == aT))
301301 then {
302302 let aU = assetBalance(this, fromBase58String(aT))
303303 if ((aU == aU))
304304 then {
305305 let aV = invoke(addressFromStringValue(aO), "put", [0, false], [AttachedPayment(fromBase58String(w), value(getInteger(J(w, x)))), AttachedPayment(if ((x == "WAVES"))
306306 then unit
307307 else fromBase58String(x), value(getInteger(K(w, x))))])
308308 if ((aV == aV))
309309 then {
310310 let aW = assetBalance(this, fromBase58String(aT))
311311 if ((aW == aW))
312312 then {
313313 let aX = value(addressFromString(value(getString(I(w, x)))))
314314 [StringEntry(v(w, x), F), IntegerEntry(M(w, x), height), ScriptTransfer(aX, (aW - aU), fromBase58String(aT))]
315315 }
316316 else throw("Strict value is not equal to itself.")
317317 }
318318 else throw("Strict value is not equal to itself.")
319319 }
320320 else throw("Strict value is not equal to itself.")
321321 }
322322 else throw("Strict value is not equal to itself.")
323323 }
324324 else throw("Strict value is not equal to itself.")
325325 }
326326 else throw("Strict value is not equal to itself.")
327327 }
328328
329329
330330
331331 @Callable(ae)
332332 func setAdmins (aY) = {
333333 let ax = ag(ae)
334334 if ((ax == ax))
335335 then [StringEntry(u(), makeString(aY, a))]
336336 else throw("Strict value is not equal to itself.")
337337 }
338338
339339
340340
341341 @Callable(ae)
342342 func setManager (aZ) = {
343343 let ax = ag(ae)
344344 if ((ax == ax))
345345 then {
346346 let ba = fromBase58String(aZ)
347347 if ((ba == ba))
348348 then [StringEntry(t(), aZ)]
349349 else throw("Strict value is not equal to itself.")
350350 }
351351 else throw("Strict value is not equal to itself.")
352352 }
353353
354354
355355
356356 @Callable(ae)
357357 func confirmManager () = {
358358 let bb = ac()
359359 let bc = if (isDefined(bb))
360360 then true
361361 else throw("No pending manager")
362362 if ((bc == bc))
363363 then {
364364 let bd = if ((ae.callerPublicKey == value(bb)))
365365 then true
366366 else throw("You are not pending manager")
367367 if ((bd == bd))
368368 then [StringEntry(s(), toBase58String(value(bb))), DeleteEntry(t())]
369369 else throw("Strict value is not equal to itself.")
370370 }
371371 else throw("Strict value is not equal to itself.")
372372 }
373373
374374
375375
376376 @Callable(ae)
377377 func priceAssetsREADONLY () = $Tuple2(nil, U(getString(R())))
378378
379379
380380
381381 @Callable(ae)
382382 func statusREADONLY (w,x) = {
383383 let aq = {
384384 let W = getString(v(w, x))
385385 if ($isInstanceOf(W, "String"))
386386 then {
387387 let X = W
388388 X
389389 }
390390 else unit
391391 }
392392 $Tuple2(nil, aq)
393393 }
394394
395395
396396 @Verifier(be)
397397 func bf () = {
398398 let bg = {
399399 let W = ab()
400400 if ($isInstanceOf(W, "ByteVector"))
401401 then {
402402 let af = W
403403 af
404404 }
405405 else if ($isInstanceOf(W, "Unit"))
406406 then be.senderPublicKey
407407 else throw("Match error")
408408 }
409409 sigVerify(be.bodyBytes, be.proofs[0], bg)
410410 }
411411

github/deemru/w8io/026f985 
42.07 ms