tx · 4fhdtpmrsuVQxeDULS4vr6YrEN2498WxaygNFKSWR4fs 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh: -0.01900000 Waves 2022.09.06 16:36 [2217332] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves
{ "type": 13, "id": "4fhdtpmrsuVQxeDULS4vr6YrEN2498WxaygNFKSWR4fs", "fee": 1900000, "feeAssetId": null, "timestamp": 1662471370030, "version": 1, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "2AxyiPJPM7kBDRf58dmdkLxDCTXtm9ttJjxSHBsy44EicDDWxuBESJ1WNwv5UNJ3qJJ7fgVr3ZMwkJtyPKjZ4z4b" ], "script": "base64:AAIFAAAAAAAAAC0IAhIJCgcICBgYAQgBEgASCAoGCAgICAgIEgMKARgSAwoBCBIAEgASBAoCCAgAAAA1AAAAAANTRVACAAAAAl9fAAAAAAx3YXZlc0Fzc2V0SWQCAAAABVdBVkVTAAAAABFpbnZhbGlkUHJpY2VBc3NldAIAAAATSW52YWxpZCBwcmljZSBhc3NldAEAAAAIdGhyb3dFcnIAAAABAAAAA21zZwkAAAIAAAABCQAEuQAAAAIJAARMAAAAAgIAAAAQdXNlcl9wb29scy5yaWRlOgkABEwAAAACBQAAAANtc2cFAAAAA25pbAIAAAABIAEAAAAHdGhyb3dQRAAAAAAJAQAAAAh0aHJvd0VycgAAAAECAAAAEVBlcm1pc3Npb24gZGVuaWVkAQAAABR0aHJvd0NyZWF0ZU5vdENhbGxlZAAAAAAJAQAAAAh0aHJvd0VycgAAAAECAAAAJENyZWF0ZSBpcyBub3QgY2FsbGVkIGZvciBhc3NldHMgcGFpcgEAAAARdGhyb3dZb3VOb3RJc3N1ZXIAAAAACQEAAAAIdGhyb3dFcnIAAAABAgAAAB5Zb3UgYXJlIG5vdCBhb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3B0aW9uVG9MaXN0AAAAAQkABCIAAAABCQEAAAAQa2V5UHJpY2VBc3NldElkcwAAAAAAAAABaQEAAAAOc3RhdHVzUkVBRE9OTFkAAAACAAAADWFtb3VudEFzc2V0SWQAAAAMcHJpY2VBc3NldElkBAAAAAZzdGF0dXMEAAAAByRtYXRjaDAJAAQiAAAAAQkBAAAACWtleVN0YXR1cwAAAAIFAAAADWFtb3VudEFzc2V0SWQFAAAADHByaWNlQXNzZXRJZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFzBQAAAAckbWF0Y2gwBQAAAAFzBQAAAAR1bml0CQAFFAAAAAIFAAAAA25pbAUAAAAGc3RhdHVzAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAPdGFyZ2V0UHVibGljS2V5BAAAAAckbWF0Y2gwCQEAAAAWbWFuYWdlclB1YmxpY0tleU9yVW5pdAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleT+Mrng=", "chainId": 84, "height": 2217332, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5wu3xod4TNvcZJyMMB4vYpCvFSymkqdmMTZmaFd8A17f Next: 6csLhFmjMwSie8E2HXQUoeb7AoghQ6bwYcqgvTGEapPo Diff:
Old | New | Differences | |
---|---|---|---|
237 | 237 | let aF = ak(aA) | |
238 | 238 | let av = aF._1 | |
239 | 239 | let aG = aF._2 | |
240 | - | let aH = T(getString(Q())) | |
240 | + | let aH = T(getString(X, Q())) | |
241 | 241 | let aI = 1 | |
242 | 242 | let aJ = if (ac(ad)) | |
243 | 243 | then aI |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "WAVES" | |
7 | 7 | ||
8 | 8 | let c = "Invalid price asset" | |
9 | 9 | ||
10 | 10 | func d (e) = throw(makeString(["user_pools.ride:", e], " ")) | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func f () = d("Permission denied") | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func g () = d("Create is not called for assets pair") | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func h () = d("You are not amountAsset issuer") | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func i () = d("Pool with such assets already exists") | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func j () = d("Asset is not verified") | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func k () = d(c) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func l () = d("Invalid fee asset") | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func m () = d("Invalid amount asset attached") | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func n () = d("Invalid status") | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func o () = d("Can activate pool only in 'pending' status") | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func p () = d("FactoryV2 returned not string") | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func q () = d("invalid price asset amount") | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func r () = d("invalid fee") | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func s () = makeString(["%s", "managerPublicKey"], a) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func t () = makeString(["%s", "pendingManagerPublicKey"], a) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func u () = makeString(["%s", "adminPubKeys"], a) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func v (w,x) = makeString(["%s%s%s", "status", w, x], a) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func y () = makeString(["%s", "factoryContract"], a) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func z () = makeString(["%s", "assetsStoreContract"], a) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func A (w,x) = makeString(["%s%s%s", "suffix", w, x], a) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func B () = makeString(["%s", "lastIndex"], a) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | let C = "u" | |
77 | 77 | ||
78 | 78 | let D = "pending" | |
79 | 79 | ||
80 | 80 | let E = "declined" | |
81 | 81 | ||
82 | 82 | let F = "active" | |
83 | 83 | ||
84 | 84 | let G = [D, E, F] | |
85 | 85 | ||
86 | 86 | func H (w,x) = makeString(["%s%s%s", "createCalled", w, x], a) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func I (w,x) = makeString(["%s%s%s", "createCaller", w, x], a) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func J (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func K (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func L (w,x) = makeString(["%s%s%s", "height", w, x], a) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func M () = makeString(["%s", "feeAssetId"], a) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func N () = makeString(["%s", "feeAmount"], a) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func O () = makeString(["%s", "amountAssetMinAmount"], a) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func P () = makeString(["%s", "priceAssetsMinAmount"], a) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func Q () = makeString(["%s", "priceAssetIds"], a) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func R (S) = valueOrErrorMessage(getString(this, S), (S + " is not defined")) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func T (U) = { | |
120 | 120 | let V = U | |
121 | 121 | if ($isInstanceOf(V, "String")) | |
122 | 122 | then { | |
123 | 123 | let W = V | |
124 | 124 | if ((size(W) == 0)) | |
125 | 125 | then nil | |
126 | 126 | else split(W, a) | |
127 | 127 | } | |
128 | 128 | else if ($isInstanceOf(V, "Unit")) | |
129 | 129 | then nil | |
130 | 130 | else throw("Match error") | |
131 | 131 | } | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | let X = addressFromStringValue(R(y())) | |
135 | 135 | ||
136 | 136 | func Y (w,x) = valueOrElse(getBoolean(H(w, x)), false) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func Z (w,x) = if (Y(w, x)) | |
140 | 140 | then true | |
141 | 141 | else g() | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func aa () = { | |
145 | 145 | let V = getString(s()) | |
146 | 146 | if ($isInstanceOf(V, "String")) | |
147 | 147 | then { | |
148 | 148 | let W = V | |
149 | 149 | fromBase58String(W) | |
150 | 150 | } | |
151 | 151 | else if ($isInstanceOf(V, "Unit")) | |
152 | 152 | then unit | |
153 | 153 | else throw("Match error") | |
154 | 154 | } | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func ab () = { | |
158 | 158 | let V = getString(t()) | |
159 | 159 | if ($isInstanceOf(V, "String")) | |
160 | 160 | then { | |
161 | 161 | let W = V | |
162 | 162 | fromBase58String(W) | |
163 | 163 | } | |
164 | 164 | else if ($isInstanceOf(V, "Unit")) | |
165 | 165 | then unit | |
166 | 166 | else throw("Match error") | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func ac (ad) = { | |
171 | 171 | let V = aa() | |
172 | 172 | if ($isInstanceOf(V, "ByteVector")) | |
173 | 173 | then { | |
174 | 174 | let ae = V | |
175 | 175 | (ad.callerPublicKey == ae) | |
176 | 176 | } | |
177 | 177 | else if ($isInstanceOf(V, "Unit")) | |
178 | 178 | then (ad.caller == this) | |
179 | 179 | else throw("Match error") | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func af (ad) = if (ac(ad)) | |
184 | 184 | then true | |
185 | 185 | else f() | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func ag (ad) = { | |
189 | 189 | let ah = T(getString(u())) | |
190 | 190 | if (containsElement(ah, toBase58String(ad.callerPublicKey))) | |
191 | 191 | then true | |
192 | 192 | else af(ad) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func ai (aj) = (valueOrElse(getInteger(addressFromStringValue(R(z())), (("status_<" + aj) + ">")), 0) == 2) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func ak (al) = { | |
200 | 200 | let V = al.assetId | |
201 | 201 | if ($isInstanceOf(V, "ByteVector")) | |
202 | 202 | then { | |
203 | 203 | let am = V | |
204 | 204 | let an = value(assetInfo(am)) | |
205 | 205 | $Tuple2(toBase58String(am), an) | |
206 | 206 | } | |
207 | 207 | else if ($isInstanceOf(V, "Unit")) | |
208 | 208 | then $Tuple2(b, unit) | |
209 | 209 | else throw("Match error") | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func ao (ap) = containsElement(G, ap) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | @Callable(ad) | |
217 | 217 | func constructor (aq,ar,as,at,au,av,aw) = { | |
218 | 218 | let ax = af(ad) | |
219 | 219 | if ((ax == ax)) | |
220 | 220 | then [StringEntry(y(), aq), StringEntry(z(), ar), StringEntry(Q(), makeString(as, a)), StringEntry(P(), makeString(at, a)), IntegerEntry(O(), au), StringEntry(M(), av), IntegerEntry(N(), aw)] | |
221 | 221 | else throw("Strict value is not equal to itself.") | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | ||
226 | 226 | @Callable(ad) | |
227 | 227 | func create () = { | |
228 | 228 | let ay = value(ad.payments[0]) | |
229 | 229 | let az = value(ad.payments[1]) | |
230 | 230 | let aA = value(ad.payments[2]) | |
231 | 231 | let aB = ak(ay) | |
232 | 232 | let w = aB._1 | |
233 | 233 | let aC = aB._2 | |
234 | 234 | let aD = ak(az) | |
235 | 235 | let x = aD._1 | |
236 | 236 | let aE = aD._2 | |
237 | 237 | let aF = ak(aA) | |
238 | 238 | let av = aF._1 | |
239 | 239 | let aG = aF._2 | |
240 | - | let aH = T(getString(Q())) | |
240 | + | let aH = T(getString(X, Q())) | |
241 | 241 | let aI = 1 | |
242 | 242 | let aJ = if (ac(ad)) | |
243 | 243 | then aI | |
244 | 244 | else { | |
245 | 245 | let aK = valueOrErrorMessage(indexOf(aH, x), c) | |
246 | 246 | value(parseInt(T(getString(P()))[aK])) | |
247 | 247 | } | |
248 | 248 | let aL = valueOrElse(getInteger(B()), 0) | |
249 | 249 | let aM = (aL + 1) | |
250 | 250 | let aN = [if (!(Y(w, x))) | |
251 | 251 | then true | |
252 | 252 | else i(), if (if (ac(ad)) | |
253 | 253 | then true | |
254 | 254 | else ai(w)) | |
255 | 255 | then true | |
256 | 256 | else j(), if ((getString(M()) == av)) | |
257 | 257 | then true | |
258 | 258 | else l(), if (if (ac(ad)) | |
259 | 259 | then true | |
260 | 260 | else (ay.amount >= getIntegerValue(O()))) | |
261 | 261 | then true | |
262 | 262 | else m(), if (if (ac(ad)) | |
263 | 263 | then true | |
264 | 264 | else (az.amount >= aJ)) | |
265 | 265 | then true | |
266 | 266 | else q(), if ((aA.amount == getInteger(N()))) | |
267 | 267 | then true | |
268 | 268 | else r()] | |
269 | 269 | if ((aN == aN)) | |
270 | 270 | then [BooleanEntry(H(w, x), true), StringEntry(I(w, x), toString(ad.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)] | |
271 | 271 | else throw("Strict value is not equal to itself.") | |
272 | 272 | } | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | ||
276 | 276 | @Callable(ad) | |
277 | 277 | func activate (aO,w,aP,x,aQ,aR) = { | |
278 | 278 | let aN = [ag(ad), if (Y(w, x)) | |
279 | 279 | then true | |
280 | 280 | else g(), if ((value(getString(v(w, x))) == D)) | |
281 | 281 | then true | |
282 | 282 | else o()] | |
283 | 283 | if ((aN == aN)) | |
284 | 284 | then { | |
285 | 285 | let aS = invoke(X, "activateNewPool", [aO, w, x, ((aP + aQ) + "LP"), (((aP + "/") + aQ) + " pool liquidity provider token"), 0, "VLTPOOL", aR], nil) | |
286 | 286 | if ((aS == aS)) | |
287 | 287 | then { | |
288 | 288 | let aT = { | |
289 | 289 | let V = aS | |
290 | 290 | if ($isInstanceOf(V, "String")) | |
291 | 291 | then { | |
292 | 292 | let am = V | |
293 | 293 | am | |
294 | 294 | } | |
295 | 295 | else p() | |
296 | 296 | } | |
297 | 297 | if ((aT == aT)) | |
298 | 298 | then { | |
299 | 299 | let aU = assetBalance(this, fromBase58String(aT)) | |
300 | 300 | if ((aU == aU)) | |
301 | 301 | then { | |
302 | 302 | let aV = invoke(addressFromStringValue(aO), "put", [0, false], [AttachedPayment(fromBase58String(w), value(getInteger(J(w, x)))), AttachedPayment(if ((x == "WAVES")) | |
303 | 303 | then unit | |
304 | 304 | else fromBase58String(x), value(getInteger(K(w, x))))]) | |
305 | 305 | if ((aV == aV)) | |
306 | 306 | then { | |
307 | 307 | let aW = assetBalance(this, fromBase58String(aT)) | |
308 | 308 | if ((aW == aW)) | |
309 | 309 | then { | |
310 | 310 | let aX = value(addressFromString(value(getString(I(w, x))))) | |
311 | 311 | [StringEntry(v(w, x), F), ScriptTransfer(aX, (aW - aU), fromBase58String(aT))] | |
312 | 312 | } | |
313 | 313 | else throw("Strict value is not equal to itself.") | |
314 | 314 | } | |
315 | 315 | else throw("Strict value is not equal to itself.") | |
316 | 316 | } | |
317 | 317 | else throw("Strict value is not equal to itself.") | |
318 | 318 | } | |
319 | 319 | else throw("Strict value is not equal to itself.") | |
320 | 320 | } | |
321 | 321 | else throw("Strict value is not equal to itself.") | |
322 | 322 | } | |
323 | 323 | else throw("Strict value is not equal to itself.") | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | ||
328 | 328 | @Callable(ad) | |
329 | 329 | func setAdmins (aY) = { | |
330 | 330 | let ax = af(ad) | |
331 | 331 | if ((ax == ax)) | |
332 | 332 | then [StringEntry(u(), makeString(aY, a))] | |
333 | 333 | else throw("Strict value is not equal to itself.") | |
334 | 334 | } | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | ||
338 | 338 | @Callable(ad) | |
339 | 339 | func setManager (aZ) = { | |
340 | 340 | let ax = af(ad) | |
341 | 341 | if ((ax == ax)) | |
342 | 342 | then { | |
343 | 343 | let ba = fromBase58String(aZ) | |
344 | 344 | if ((ba == ba)) | |
345 | 345 | then [StringEntry(t(), aZ)] | |
346 | 346 | else throw("Strict value is not equal to itself.") | |
347 | 347 | } | |
348 | 348 | else throw("Strict value is not equal to itself.") | |
349 | 349 | } | |
350 | 350 | ||
351 | 351 | ||
352 | 352 | ||
353 | 353 | @Callable(ad) | |
354 | 354 | func confirmManager () = { | |
355 | 355 | let bb = ab() | |
356 | 356 | let bc = if (isDefined(bb)) | |
357 | 357 | then true | |
358 | 358 | else throw("No pending manager") | |
359 | 359 | if ((bc == bc)) | |
360 | 360 | then { | |
361 | 361 | let bd = if ((ad.callerPublicKey == value(bb))) | |
362 | 362 | then true | |
363 | 363 | else throw("You are not pending manager") | |
364 | 364 | if ((bd == bd)) | |
365 | 365 | then [StringEntry(s(), toBase58String(value(bb))), DeleteEntry(t())] | |
366 | 366 | else throw("Strict value is not equal to itself.") | |
367 | 367 | } | |
368 | 368 | else throw("Strict value is not equal to itself.") | |
369 | 369 | } | |
370 | 370 | ||
371 | 371 | ||
372 | 372 | ||
373 | 373 | @Callable(ad) | |
374 | 374 | func priceAssetsREADONLY () = $Tuple2(nil, T(getString(Q()))) | |
375 | 375 | ||
376 | 376 | ||
377 | 377 | ||
378 | 378 | @Callable(ad) | |
379 | 379 | func statusREADONLY (w,x) = { | |
380 | 380 | let ap = { | |
381 | 381 | let V = getString(v(w, x)) | |
382 | 382 | if ($isInstanceOf(V, "String")) | |
383 | 383 | then { | |
384 | 384 | let W = V | |
385 | 385 | W | |
386 | 386 | } | |
387 | 387 | else unit | |
388 | 388 | } | |
389 | 389 | $Tuple2(nil, ap) | |
390 | 390 | } | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | @Verifier(be) | |
394 | 394 | func bf () = { | |
395 | 395 | let bg = { | |
396 | 396 | let V = aa() | |
397 | 397 | if ($isInstanceOf(V, "ByteVector")) | |
398 | 398 | then { | |
399 | 399 | let ae = V | |
400 | 400 | ae | |
401 | 401 | } | |
402 | 402 | else if ($isInstanceOf(V, "Unit")) | |
403 | 403 | then be.senderPublicKey | |
404 | 404 | else throw("Match error") | |
405 | 405 | } | |
406 | 406 | sigVerify(be.bodyBytes, be.proofs[0], bg) | |
407 | 407 | } | |
408 | 408 |
github/deemru/w8io/026f985 48.51 ms ◑