tx · 26oPx6bESHzC3t4nahpmcnDp1kZVmeCiT4geAvE8CmKU

3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh:  -0.01400000 Waves

2022.04.12 13:14 [2005227] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves

{ "type": 13, "id": "26oPx6bESHzC3t4nahpmcnDp1kZVmeCiT4geAvE8CmKU", "fee": 1400000, "feeAssetId": null, "timestamp": 1649758450804, "version": 2, "chainId": 84, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "Jf9yfKvTUQY3KXKZDGJZG8psukKHFr7KWeaZUU9n45ZZwWCxLKEw1TGtS9U7URvLdTRQDoihJcAErAKk1j1mTMs" ], "script": "base64:AAIFAAAAAAAAACsIAhIJCgcICBgYAQgBEgASBQoDCAgIEgcKBQgICAgIEgMKARgSAwoBCBIAAAAALgAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAAAAAARaW52YWxpZFByaWNlQXNzZXQCAAAAE0ludmFsaWQgcHJpY2UgYXNzZXQBAAAAB3Rocm93UEQAAAAACQAAAgAAAAECAAAAEVBlcm1pc3Npb24gZGVuaWVkAQAAABR0aHJvd0NyZWF0ZU5vdENhbGxlZAAAAAAJAAACAAAAAQIAAAAkQ3JlYXRlIGlzIG5vdCBjYWxsZWQgZm9yIGFzc2V0cyBwYWlyAQAAABF0aHJvd1lvdU5vdElzc3VlcgAAAAAJAAACAAAAAQIAAAAeWW91IGFyZSBub3QgYW1vdW50QXNzZXQgaXNzdWVyAQAAAA90aHJvd1Bvb2xFeGlzdHMAAAAACQAAAgAAAAECAAAAJFBvb2wgd2l0aCBzdWNoIGFzc2V0cyBhbHJlYWR5IGV4aXN0cwEAAAAVdGhyb3dBc3NldE5vdFZlcmlmaWVkAAAAAAkAAAIAAAABAgAAABVBc3N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 } View: original | compacted Prev: B6SERzhHhrUgsXhJxMR7EAFRJVwvrLrEyC7JTY43HRqo Next: TrRaCCk58qfzWhc2axGrmkbYVCGByZHbPxjtjoEQaFZ Diff:
OldNewDifferences
2828 func j () = throw("Invalid fee asset")
2929
3030
31-func k () = throw("Amount asset attached zero amount")
31+func k () = throw("Invalid amount asset attached")
3232
3333
3434 func l () = throw("Invalid status")
8888 func H () = makeString(["%s", "feeAmount"], a)
8989
9090
91-func I () = makeString(["%s", "priceAssetsMinPerAmountAsset"], a)
91+func I () = makeString(["%s", "amountAssetMinAmount"], a)
9292
9393
9494 func J () = makeString(["%s", "priceAssetsMinAmount"], a)
166166 }
167167
168168
169-func aa (ab) = (valueOrElse(getInteger(addressFromStringValue(s()), (("status_<" + ab) + ">")), 0) == 2)
169+func aa (ab) = (valueOrElse(getInteger(addressFromStringValue(L(s())), (("status_<" + ab) + ">")), 0) == 2)
170170
171171
172172 func ac (ad) = {
183183 func constructor (ai,aj,ak,al,am,an,ao) = {
184184 let ap = U(V)
185185 if ((ap == ap))
186- then [StringEntry(r(), ai), StringEntry(s(), aj), StringEntry(K(), makeString(ak, a)), StringEntry(J(), makeString(al, a)), StringEntry(I(), makeString(am, a)), StringEntry(G(), an), IntegerEntry(H(), ao)]
186+ then [StringEntry(r(), ai), StringEntry(s(), aj), StringEntry(K(), makeString(ak, a)), StringEntry(J(), makeString(al, a)), IntegerEntry(I(), am), StringEntry(G(), an), IntegerEntry(H(), ao)]
187187 else throw("Strict value is not equal to itself.")
188188 }
189189
213213 then true
214214 else h(), if ((getString(G()) == an))
215215 then true
216- else j(), if ((aq.amount > 0))
216+ else j(), if ((aq.amount >= getIntegerValue(I())))
217217 then true
218- else k(), (ar.amount >= value(parseInt(split(valueOrElse(getString(J()), b), a)[aA]))), (as.amount == getInteger(H()))]
218+ else k(), if ((ar.amount >= value(parseInt(split(valueOrElse(getString(J()), b), a)[aA]))))
219+ then true
220+ else throw(), if ((as.amount == getInteger(H())))
221+ then true
222+ else throw()]
219223 if ((aB == aB))
220224 then [BooleanEntry(C(u, v), true), IntegerEntry(F(u, v), height), StringEntry(t(u, v), w), IntegerEntry(D(u, v), aq.amount), IntegerEntry(E(u, v), ar.amount)]
221225 else throw("Strict value is not equal to itself.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = ""
77
88 let c = "Invalid price asset"
99
1010 func d () = throw("Permission denied")
1111
1212
1313 func e () = throw("Create is not called for assets pair")
1414
1515
1616 func f () = throw("You are not amountAsset issuer")
1717
1818
1919 func g () = throw("Pool with such assets already exists")
2020
2121
2222 func h () = throw("Asset is not verified")
2323
2424
2525 func i () = throw(c)
2626
2727
2828 func j () = throw("Invalid fee asset")
2929
3030
31-func k () = throw("Amount asset attached zero amount")
31+func k () = throw("Invalid amount asset attached")
3232
3333
3434 func l () = throw("Invalid status")
3535
3636
3737 func m () = throw("Can activate pool only in 'pending' status")
3838
3939
4040 func n () = throw("FactoryV2 returned not string")
4141
4242
4343 func o () = makeString(["%s", "managerPublicKey"], a)
4444
4545
4646 func p () = makeString(["%s", "pendingManagerPublicKey"], a)
4747
4848
4949 func q () = makeString(["%s", "adminPubKeys"], a)
5050
5151
5252 func r () = makeString(["%s", "factoryContract"], a)
5353
5454
5555 func s () = makeString(["%s", "assetsStoreContract"], a)
5656
5757
5858 func t (u,v) = makeString(["%s%s%s", "status", u, v], a)
5959
6060
6161 let w = "pending"
6262
6363 let x = "declined"
6464
6565 let y = "creating"
6666
6767 let z = "active"
6868
6969 let A = "bot_disabled"
7070
7171 let B = [w, x, y, z, A]
7272
7373 func C (u,v) = makeString(["%s%s%s", "createCalled", u, v], a)
7474
7575
7676 func D (u,v) = makeString(["%s%s%s", "amountAssetAmount", u, v], a)
7777
7878
7979 func E (u,v) = makeString(["%s%s%s", "priceAssetAmount", u, v], a)
8080
8181
8282 func F (u,v) = makeString(["%s%s%s", "height", u, v], a)
8383
8484
8585 func G () = makeString(["%s", "feeAssetId"], a)
8686
8787
8888 func H () = makeString(["%s", "feeAmount"], a)
8989
9090
91-func I () = makeString(["%s", "priceAssetsMinPerAmountAsset"], a)
91+func I () = makeString(["%s", "amountAssetMinAmount"], a)
9292
9393
9494 func J () = makeString(["%s", "priceAssetsMinAmount"], a)
9595
9696
9797 func K () = makeString(["%s", "priceAssetIds"], a)
9898
9999
100100 func L (M) = valueOrErrorMessage(getString(this, M), (M + " is not defined"))
101101
102102
103103 let N = addressFromStringValue(L(r()))
104104
105105 func O (u,v) = valueOrElse(getBoolean(C(u, v)), false)
106106
107107
108108 func P (u,v) = if (O(u, v))
109109 then true
110110 else e()
111111
112112
113113 func Q () = {
114114 let R = getString(o())
115115 if ($isInstanceOf(R, "String"))
116116 then {
117117 let S = R
118118 fromBase58String(S)
119119 }
120120 else if ($isInstanceOf(R, "Unit"))
121121 then unit
122122 else throw("Match error")
123123 }
124124
125125
126126 func T () = {
127127 let R = getString(p())
128128 if ($isInstanceOf(R, "String"))
129129 then {
130130 let S = R
131131 fromBase58String(S)
132132 }
133133 else if ($isInstanceOf(R, "Unit"))
134134 then unit
135135 else throw("Match error")
136136 }
137137
138138
139139 func U (V) = {
140140 let R = Q()
141141 if ($isInstanceOf(R, "ByteVector"))
142142 then {
143143 let W = R
144144 if ((V.callerPublicKey == W))
145145 then true
146146 else d()
147147 }
148148 else if ($isInstanceOf(R, "Unit"))
149149 then if ((V.caller == this))
150150 then true
151151 else d()
152152 else throw("Match error")
153153 }
154154
155155
156156 func X (V) = {
157157 let Y = split(valueOrElse(getString(q()), b), a)
158158 if (containsElement(Y, toBase58String(V.callerPublicKey)))
159159 then true
160160 else {
161161 let Z = U(V)
162162 if ((Z == Z))
163163 then true
164164 else throw("Strict value is not equal to itself.")
165165 }
166166 }
167167
168168
169-func aa (ab) = (valueOrElse(getInteger(addressFromStringValue(s()), (("status_<" + ab) + ">")), 0) == 2)
169+func aa (ab) = (valueOrElse(getInteger(addressFromStringValue(L(s())), (("status_<" + ab) + ">")), 0) == 2)
170170
171171
172172 func ac (ad) = {
173173 let ae = value(ad.assetId)
174174 let af = value(assetInfo(ae))
175175 $Tuple2(toBase58String(ae), af)
176176 }
177177
178178
179179 func ag (ah) = containsElement(B, ah)
180180
181181
182182 @Callable(V)
183183 func constructor (ai,aj,ak,al,am,an,ao) = {
184184 let ap = U(V)
185185 if ((ap == ap))
186- then [StringEntry(r(), ai), StringEntry(s(), aj), StringEntry(K(), makeString(ak, a)), StringEntry(J(), makeString(al, a)), StringEntry(I(), makeString(am, a)), StringEntry(G(), an), IntegerEntry(H(), ao)]
186+ then [StringEntry(r(), ai), StringEntry(s(), aj), StringEntry(K(), makeString(ak, a)), StringEntry(J(), makeString(al, a)), IntegerEntry(I(), am), StringEntry(G(), an), IntegerEntry(H(), ao)]
187187 else throw("Strict value is not equal to itself.")
188188 }
189189
190190
191191
192192 @Callable(V)
193193 func create () = {
194194 let aq = value(V.payments[0])
195195 let ar = value(V.payments[1])
196196 let as = value(V.payments[2])
197197 let at = ac(aq)
198198 let u = at._1
199199 let au = at._2
200200 let av = ac(ar)
201201 let v = av._1
202202 let aw = av._2
203203 let ax = ac(as)
204204 let an = ax._1
205205 let ay = ax._2
206206 let az = split(valueOrElse(getString(K()), b), a)
207207 let aA = valueOrErrorMessage(indexOf(az, v), c)
208208 let aB = [if (!(O(u, v)))
209209 then true
210210 else g(), if ((au.issuer == V.caller))
211211 then true
212212 else f(), if (aa(u))
213213 then true
214214 else h(), if ((getString(G()) == an))
215215 then true
216- else j(), if ((aq.amount > 0))
216+ else j(), if ((aq.amount >= getIntegerValue(I())))
217217 then true
218- else k(), (ar.amount >= value(parseInt(split(valueOrElse(getString(J()), b), a)[aA]))), (as.amount == getInteger(H()))]
218+ else k(), if ((ar.amount >= value(parseInt(split(valueOrElse(getString(J()), b), a)[aA]))))
219+ then true
220+ else throw(), if ((as.amount == getInteger(H())))
221+ then true
222+ else throw()]
219223 if ((aB == aB))
220224 then [BooleanEntry(C(u, v), true), IntegerEntry(F(u, v), height), StringEntry(t(u, v), w), IntegerEntry(D(u, v), aq.amount), IntegerEntry(E(u, v), ar.amount)]
221225 else throw("Strict value is not equal to itself.")
222226 }
223227
224228
225229
226230 @Callable(V)
227231 func setStatus (u,v,aC) = {
228232 let aB = [X(V), if (O(u, v))
229233 then true
230234 else e(), if (ag(aC))
231235 then true
232236 else l()]
233237 if ((aB == aB))
234238 then [StringEntry(t(u, v), aC)]
235239 else throw("Strict value is not equal to itself.")
236240 }
237241
238242
239243
240244 @Callable(V)
241245 func activate (aD,u,aE,v,aF) = {
242246 let aB = [U(V), if (O(u, v))
243247 then true
244248 else e(), if ((value(getString(t(u, v))) == w))
245249 then true
246250 else m()]
247251 if ((aB == aB))
248252 then {
249253 let aG = invoke(N, "activateNewPool", [aD, u, v, ((aE + aF) + "LP"), (((("WX " + aE) + "/") + aF) + " pool liquidity provider token"), 0, "VLTPOOL"], nil)
250254 if ((aG == aG))
251255 then {
252256 let aH = {
253257 let R = aG
254258 if ($isInstanceOf(R, "String"))
255259 then {
256260 let ae = R
257261 ae
258262 }
259263 else n()
260264 }
261265 if ((aH == aH))
262266 then {
263267 let aI = assetBalance(this, fromBase58String(aH))
264268 if ((aI == aI))
265269 then {
266270 let aJ = invoke(addressFromStringValue(aD), "put", [0, false], [AttachedPayment(fromBase58String(u), value(getInteger(D(u, v)))), AttachedPayment(fromBase58String(v), value(getInteger(E(u, v))))])
267271 if ((aJ == aJ))
268272 then {
269273 let aK = assetBalance(this, fromBase58String(aH))
270274 if ((aK == aK))
271275 then {
272276 let aL = value(assetInfo(fromBase58String(u))).issuer
273277 [StringEntry(t(u, v), y), ScriptTransfer(aL, (aK - aI), fromBase58String(aH))]
274278 }
275279 else throw("Strict value is not equal to itself.")
276280 }
277281 else throw("Strict value is not equal to itself.")
278282 }
279283 else throw("Strict value is not equal to itself.")
280284 }
281285 else throw("Strict value is not equal to itself.")
282286 }
283287 else throw("Strict value is not equal to itself.")
284288 }
285289 else throw("Strict value is not equal to itself.")
286290 }
287291
288292
289293
290294 @Callable(V)
291295 func setAdmins (aM) = {
292296 let ap = U(V)
293297 if ((ap == ap))
294298 then [StringEntry(q(), makeString(aM, a))]
295299 else throw("Strict value is not equal to itself.")
296300 }
297301
298302
299303
300304 @Callable(V)
301305 func setManager (aN) = {
302306 let ap = U(V)
303307 if ((ap == ap))
304308 then {
305309 let aO = fromBase58String(aN)
306310 if ((aO == aO))
307311 then [StringEntry(p(), aN)]
308312 else throw("Strict value is not equal to itself.")
309313 }
310314 else throw("Strict value is not equal to itself.")
311315 }
312316
313317
314318
315319 @Callable(V)
316320 func confirmManager () = {
317321 let aP = T()
318322 let aQ = if (isDefined(aP))
319323 then true
320324 else throw("No pending manager")
321325 if ((aQ == aQ))
322326 then {
323327 let aR = if ((V.callerPublicKey == value(aP)))
324328 then true
325329 else throw("You are not pending manager")
326330 if ((aR == aR))
327331 then [StringEntry(o(), toBase58String(value(aP))), DeleteEntry(p())]
328332 else throw("Strict value is not equal to itself.")
329333 }
330334 else throw("Strict value is not equal to itself.")
331335 }
332336
333337
334338 @Verifier(aS)
335339 func aT () = {
336340 let aU = {
337341 let R = Q()
338342 if ($isInstanceOf(R, "ByteVector"))
339343 then {
340344 let W = R
341345 W
342346 }
343347 else if ($isInstanceOf(R, "Unit"))
344348 then aS.senderPublicKey
345349 else throw("Match error")
346350 }
347351 sigVerify(aS.bodyBytes, aS.proofs[0], aU)
348352 }
349353

github/deemru/w8io/026f985 
48.38 ms