tx · 4UVbEFEj1Eji37zVRuxKutfbCVxWQs5m8f2jZ4Xc87hc

3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh:  -0.01600000 Waves

2023.01.19 12:48 [2411648] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves

{ "type": 13, "id": "4UVbEFEj1Eji37zVRuxKutfbCVxWQs5m8f2jZ4Xc87hc", "fee": 1600000, "feeAssetId": null, "timestamp": 1674121745703, "version": 1, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "3VYpYkYTzZPWrhzRosF1PNeSMciQ1aPW48sew783jp8D3TcQuwxLuDymFNdGyCStf2msoLU4BZjyZ5Ky92LV7KpC" ], "script": "base64:AAIFAAAAAAAABrcIAhIICgYICBgBCAESABIICgYICAgICAgSAwoBGBIDCgEIEgASABIECgIICCIDU0VQIgx3YXZlc0Fzc2V0SWQiEWludmFsaWRQcmljZUFzc2V0Igh0aHJvd0VyciIDbXNnIgd0aHJvd1BEIhR0aHJvd0NyZWF0ZU5vdENhbGxlZCIRdGhyb3dZb3VOb3RJc3N1ZXIiD3Rocm93UG9vbEV4aXN0cyIVdGhyb3dBc3NldE5vdFZlcmlmaWVkIhZ0aHJvd0ludmFsaWRQcmljZUFzc2V0IhR0aHJvd0ludmFsaWRGZWVBc3NldCIXdGhyb3dJbnZhbGlkQW1vdW50QXNzZXQiEnRocm93SW52YWxpZFN0YXR1cyIfdGhyb3dDYW5BY3RpdmF0ZU9ubHlQZW5kaW5nUG9vbCIddGhyb3dGYWN0b3J5UmV0dXJuZWROb3RTdHJpbmciHHRocm93SW52YWxpZFByaWNlQXNzZXRBbW91bnQiD3Rocm93SW52YWxpZEZlZSITa2V5TWFuYWdlclB1YmxpY0tleSIaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkiD2tleUFkb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AAApCeXRlVmVjdG9yBAAAAAJhZQUAAAABVgUAAAACYWUDCQAAAQAAAAIFAAAAAVYCAAAABFVuaXQIBQAAAAJiZAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAmJkAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYmQAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJiZq2zsJg=", "chainId": 84, "height": 2411648, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5VyiDTUwoBk1r5BhpGBRCuc8iPCsmoZg9rjkNLjkvdZ3 Next: Hf4YaRjYCMrET2TH9NNQd74rREezKQy14AvBogayrsr3 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 () = makeString(["%s", "feeAssetId"], a)
102102
103103
104104 func N () = makeString(["%s", "feeAmount"], a)
105105
106106
107107 func O () = makeString(["%s", "amountAssetMinAmount"], a)
108108
109109
110110 func P () = makeString(["%s", "priceAssetsMinAmount"], a)
111111
112112
113113 func Q () = makeString(["%s", "priceAssets"], a)
114114
115115
116116 func R (S) = valueOrErrorMessage(getString(this, S), (S + " is not defined"))
117117
118118
119119 func T (U) = {
120120 let V = U
121121 if ($isInstanceOf(V, "String"))
122122 then {
123123 let W = V
124124 if ((size(W) == 0))
125125 then nil
126126 else split(W, a)
127127 }
128128 else if ($isInstanceOf(V, "Unit"))
129129 then nil
130130 else throw("Match error")
131131 }
132132
133133
134134 let X = addressFromStringValue(R(y()))
135135
136136 func Y (w,x) = valueOrElse(getBoolean(H(w, x)), false)
137137
138138
139139 func Z (w,x) = if (Y(w, x))
140140 then true
141141 else g()
142142
143143
144144 func aa () = {
145145 let V = getString(s())
146146 if ($isInstanceOf(V, "String"))
147147 then {
148148 let W = V
149149 fromBase58String(W)
150150 }
151151 else if ($isInstanceOf(V, "Unit"))
152152 then unit
153153 else throw("Match error")
154154 }
155155
156156
157157 func ab () = {
158158 let V = getString(t())
159159 if ($isInstanceOf(V, "String"))
160160 then {
161161 let W = V
162162 fromBase58String(W)
163163 }
164164 else if ($isInstanceOf(V, "Unit"))
165165 then unit
166166 else throw("Match error")
167167 }
168168
169169
170170 func ac (ad) = {
171171 let V = aa()
172172 if ($isInstanceOf(V, "ByteVector"))
173173 then {
174174 let ae = V
175175 (ad.callerPublicKey == ae)
176176 }
177177 else if ($isInstanceOf(V, "Unit"))
178178 then (ad.caller == this)
179179 else throw("Match error")
180180 }
181181
182182
183183 func af (ad) = if (ac(ad))
184184 then true
185185 else f()
186186
187187
188188 func ag (ad) = {
189189 let ah = T(getString(u()))
190190 if (containsElement(ah, toBase58String(ad.callerPublicKey)))
191191 then true
192192 else af(ad)
193193 }
194194
195195
196196 func ai (aj) = (valueOrElse(getInteger(addressFromStringValue(R(z())), (("status_<" + aj) + ">")), 0) == 2)
197197
198198
199199 func ak (al) = {
200200 let V = al.assetId
201201 if ($isInstanceOf(V, "ByteVector"))
202202 then {
203203 let am = V
204204 let an = value(assetInfo(am))
205205 $Tuple2(toBase58String(am), an)
206206 }
207207 else if ($isInstanceOf(V, "Unit"))
208208 then $Tuple2(b, unit)
209209 else throw("Match error")
210210 }
211211
212212
213213 func ao (ap) = containsElement(G, ap)
214214
215215
216216 @Callable(ad)
217217 func constructor (aq,ar,as,at,au,av) = {
218218 let aw = af(ad)
219219 if ((aw == aw))
220220 then [StringEntry(y(), aq), StringEntry(z(), ar), StringEntry(P(), makeString(as, a)), IntegerEntry(O(), at), StringEntry(M(), au), IntegerEntry(N(), av)]
221221 else throw("Strict value is not equal to itself.")
222222 }
223223
224224
225225
226226 @Callable(ad)
227227 func create () = {
228228 let ax = value(ad.payments[0])
229229 let ay = value(ad.payments[1])
230230 let az = value(ad.payments[2])
231231 let aA = ak(ax)
232232 let w = aA._1
233233 let aB = aA._2
234234 let aC = ak(ay)
235235 let x = aC._1
236236 let aD = aC._2
237237 let aE = ak(az)
238238 let au = aE._1
239239 let aF = aE._2
240240 let aG = T(getString(X, Q()))
241241 let aH = 1
242242 let aI = if (ac(ad))
243243 then aH
244244 else {
245245 let aJ = valueOrErrorMessage(indexOf(aG, x), c)
246246 value(parseInt(T(getString(P()))[aJ]))
247247 }
248248 let aK = valueOrElse(getInteger(B()), 0)
249249 let aL = (aK + 1)
250250 let aM = [if (!(Y(w, x)))
251251 then true
252252 else i(), if (if (ac(ad))
253253 then true
254254 else ai(w))
255255 then true
256256 else j(), if ((getString(M()) == au))
257257 then true
258258 else l(), if (if (ac(ad))
259259 then true
260260 else (ax.amount >= getIntegerValue(O())))
261261 then true
262262 else m(), if (if (ac(ad))
263263 then true
264264 else (ay.amount >= aI))
265265 then true
266266 else q(), if ((az.amount == getInteger(N())))
267267 then true
268268 else r()]
269269 if ((aM == aM))
270270 then [BooleanEntry(H(w, x), true), StringEntry(I(w, x), toString(ad.caller)), IntegerEntry(B(), aL), StringEntry(A(w, x), (toString(aL) + C)), IntegerEntry(L(w, x), height), StringEntry(v(w, x), D), IntegerEntry(J(w, x), ax.amount), IntegerEntry(K(w, x), ay.amount)]
271271 else throw("Strict value is not equal to itself.")
272272 }
273273
274274
275275
276276 @Callable(ad)
277277 func activate (aN,w,aO,x,aP,aQ) = {
278278 let aM = [ag(ad), if (Y(w, x))
279279 then true
280280 else g(), if ((value(getString(v(w, x))) == D))
281281 then true
282282 else o()]
283283 if ((aM == aM))
284284 then {
285285 let aR = invoke(X, "activateNewPool", [aN, w, x, ((aO + aP) + "LP"), (((aO + "/") + aP) + " pool liquidity provider token"), 0, "VLTPOOL", aQ], nil)
286286 if ((aR == aR))
287287 then {
288288 let aS = {
289289 let V = aR
290290 if ($isInstanceOf(V, "String"))
291291 then {
292292 let am = V
293293 am
294294 }
295295 else p()
296296 }
297297 if ((aS == aS))
298298 then {
299299 let aT = assetBalance(this, fromBase58String(aS))
300300 if ((aT == aT))
301301 then {
302302 let aU = invoke(addressFromStringValue(aN), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
303303 then unit
304304 else fromBase58String(w), value(getInteger(J(w, x)))), AttachedPayment(if ((x == "WAVES"))
305305 then unit
306306 else fromBase58String(x), value(getInteger(K(w, x))))])
307307 if ((aU == aU))
308308 then {
309309 let aV = assetBalance(this, fromBase58String(aS))
310310 if ((aV == aV))
311311 then {
312312 let aW = value(addressFromString(value(getString(I(w, x)))))
313313 [StringEntry(v(w, x), F), ScriptTransfer(aW, (aV - aT), fromBase58String(aS))]
314314 }
315315 else throw("Strict value is not equal to itself.")
316316 }
317317 else throw("Strict value is not equal to itself.")
318318 }
319319 else throw("Strict value is not equal to itself.")
320320 }
321321 else throw("Strict value is not equal to itself.")
322322 }
323323 else throw("Strict value is not equal to itself.")
324324 }
325325 else throw("Strict value is not equal to itself.")
326326 }
327327
328328
329329
330330 @Callable(ad)
331331 func setAdmins (aX) = {
332332 let aw = af(ad)
333333 if ((aw == aw))
334334 then [StringEntry(u(), makeString(aX, a))]
335335 else throw("Strict value is not equal to itself.")
336336 }
337337
338338
339339
340340 @Callable(ad)
341341 func setManager (aY) = {
342342 let aw = af(ad)
343343 if ((aw == aw))
344344 then {
345345 let aZ = fromBase58String(aY)
346346 if ((aZ == aZ))
347347 then [StringEntry(t(), aY)]
348348 else throw("Strict value is not equal to itself.")
349349 }
350350 else throw("Strict value is not equal to itself.")
351351 }
352352
353353
354354
355355 @Callable(ad)
356356 func confirmManager () = {
357357 let ba = ab()
358358 let bb = if (isDefined(ba))
359359 then true
360360 else throw("No pending manager")
361361 if ((bb == bb))
362362 then {
363363 let bc = if ((ad.callerPublicKey == value(ba)))
364364 then true
365365 else throw("You are not pending manager")
366366 if ((bc == bc))
367367 then [StringEntry(s(), toBase58String(value(ba))), DeleteEntry(t())]
368368 else throw("Strict value is not equal to itself.")
369369 }
370370 else throw("Strict value is not equal to itself.")
371371 }
372372
373373
374374
375375 @Callable(ad)
376376 func priceAssetsREADONLY () = $Tuple2(nil, T(getString(Q())))
377377
378378
379379
380380 @Callable(ad)
381381 func statusREADONLY (w,x) = {
382382 let ap = {
383383 let V = getString(v(w, x))
384384 if ($isInstanceOf(V, "String"))
385385 then {
386386 let W = V
387387 W
388388 }
389389 else unit
390390 }
391391 $Tuple2(nil, ap)
392392 }
393393
394394
395395 @Verifier(bd)
396396 func be () = {
397397 let bf = {
398398 let V = aa()
399399 if ($isInstanceOf(V, "ByteVector"))
400400 then {
401401 let ae = V
402402 ae
403403 }
404404 else if ($isInstanceOf(V, "Unit"))
405405 then bd.senderPublicKey
406406 else throw("Match error")
407407 }
408408 sigVerify(bd.bodyBytes, bd.proofs[0], bf)
409409 }
410410

github/deemru/w8io/026f985 
52.83 ms