tx · 7f7TxeMTTzyjK1QE2hKyixPERsZqy5AfcHNUKdCMgzRz

3N1t2Tceg7c1bUKSQrULmKfcwsRcfWLcKMb:  -0.00700000 Waves

2022.08.31 13:06 [2208480] smart account 3N1t2Tceg7c1bUKSQrULmKfcwsRcfWLcKMb > SELF 0.00000000 Waves

{ "type": 13, "id": "7f7TxeMTTzyjK1QE2hKyixPERsZqy5AfcHNUKdCMgzRz", "fee": 700000, "feeAssetId": null, "timestamp": 1661940368743, "version": 2, "chainId": 84, "sender": "3N1t2Tceg7c1bUKSQrULmKfcwsRcfWLcKMb", "senderPublicKey": "GZsxXpx7zQgu32JSqbonBhSRcbEkLfD1B2ZSFDUoD8N9", "proofs": [ "skyZ47H2LcoEcQStRWTVHorY4mvMMiQV3xzMGeLXu63Lj85cQGZkiNzFCrTCg5GWUVFvq6BdXhTW7adEHrmbogA" ], "script": "base64:AAIFAAAAAAAAACIIAhIDCgEIEgMKAQgSABIDCgEYEggKBgEBAQEIARIDCgEIAAAAHwAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAAAAAAOaWR4UG9vbEFkZHJlc3MAAAAAAAAAAAEAAAAACWlkeExQQXNJZAAAAAAAAAAAAwAAAAAJaWR4QW1Bc0lkAAAAAAAAAAAEAAAAAAlpZHhQckFzSWQAAAAAAAAAAAUAAAAAD2lkeEZhY3RTdGFrQ250cgAAAAAAAAAAAQEAAAALa2V5RmFjdENudHIAAAAAAgAAABMlc19fZmFjdG9yeUNvbnRyYWN0AQAAABNrZXlNYW5hZ2VyUHVibGljS2V5AAAAAAIAAAAUJXNfX21hbmFnZXJQdWJsaWNLZXkBAAAAGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAAAAAIAAAAbJXNfX3BlbmRpbmdNYW5hZ2VyUHVibGljS2V5AQAAAAtrZXlQb29sQWRkcgAAAAACAAAADyVzX19wb29sQWRkcmVzcwEAAAALa2V5QW10QXNzZXQAAAAAAgAAAA8lc19fYW1vdW50QXNz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kABEwAAAACCQEAAAAGa2V5QW1wAAAAAAkABEwAAAACBQAAAANhbXAFAAAAA25pbAUAAAADbmlsBAAAAARyZXMyCQAD/AAAAAQFAAAADHBvb2xDb250cmFjdAIAAAAEc2V0UwkABEwAAAACCQEAAAANa2V5QW1wSGlzdG9yeQAAAAEFAAAABmhlaWdodAkABEwAAAACBQAAAANhbXAFAAAAA25pbAUAAAADbmlsCQAFFAAAAAIFAAAAA25pbAkABRQAAAACBQAAAARyZXMxBQAAAARyZXMyCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAD3RhcmdldFB1YmxpY0tleQQAAAAHJG1hdGNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXmJkpk6", "height": 2208480, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "__"
5+
6+let b = ""
7+
8+let c = 1
9+
10+let d = 3
11+
12+let e = 4
13+
14+let f = 5
15+
16+let g = 1
17+
18+func h () = "%s__factoryContract"
19+
20+
21+func i () = "%s__managerPublicKey"
22+
23+
24+func j () = "%s__pendingManagerPublicKey"
25+
26+
27+func k () = "%s__poolAddress"
28+
29+
30+func l () = "%s__amountAsset"
31+
32+
33+func m () = "%s__priceAsset"
34+
35+
36+func n () = "%s__adminPubKeys"
37+
38+
39+func o () = "%s__amp"
40+
41+
42+func p (q) = ("%s%d__amp__" + toString(q))
43+
44+
45+func r () = "%s__factoryConfig"
46+
47+
48+func s (t,u) = (((("%d%d%s__" + t) + "__") + u) + "__config")
49+
50+
51+func v (w) = ("%s%s%s__mappings__baseAsset2internalId__" + w)
52+
53+
54+func x (y,z) = valueOrErrorMessage(getString(y, z), makeString(["mandatory ", toString(y), ".", z, " not defined"], ""))
55+
56+
57+func A (y,z) = valueOrErrorMessage(getInteger(y, z), makeString(["mandatory ", toString(y), ".", z, " not defined"], ""))
58+
59+
60+let B = addressFromStringValue(x(this, k()))
61+
62+let C = addressFromStringValue(x(B, h()))
63+
64+func D () = {
65+ let E = x(B, l())
66+ let F = x(B, m())
67+ let G = A(C, v(F))
68+ let t = A(C, v(E))
69+ split(x(C, s(toString(t), toString(G))), a)
70+ }
71+
72+
73+func H () = split(x(C, r()), a)
74+
75+
76+func I () = {
77+ let J = getString(i())
78+ if ($isInstanceOf(J, "String"))
79+ then {
80+ let K = J
81+ fromBase58String(K)
82+ }
83+ else if ($isInstanceOf(J, "Unit"))
84+ then unit
85+ else throw("Match error")
86+ }
87+
88+
89+func L () = {
90+ let J = getString(j())
91+ if ($isInstanceOf(J, "String"))
92+ then {
93+ let K = J
94+ fromBase58String(K)
95+ }
96+ else if ($isInstanceOf(J, "Unit"))
97+ then unit
98+ else throw("Match error")
99+ }
100+
101+
102+func M (N) = {
103+ let O = throw("Permission denied")
104+ let J = I()
105+ if ($isInstanceOf(J, "ByteVector"))
106+ then {
107+ let P = J
108+ if ((N.callerPublicKey == P))
109+ then true
110+ else O
111+ }
112+ else if ($isInstanceOf(J, "Unit"))
113+ then if ((N.caller == this))
114+ then true
115+ else O
116+ else throw("Match error")
117+ }
118+
119+
120+func Q () = {
121+ let J = getString(n())
122+ if ($isInstanceOf(J, "String"))
123+ then {
124+ let K = J
125+ if ((size(K) == 0))
126+ then nil
127+ else split(K, a)
128+ }
129+ else nil
130+ }
131+
132+
133+func R (N) = if (containsElement(Q(), toBase58String(N.callerPublicKey)))
134+ then true
135+ else M(N)
136+
137+
138+func S (N) = if ((N.caller == B))
139+ then true
140+ else throw("caller must be the pool")
141+
142+
143+@Callable(N)
144+func constructor (T) = {
145+ let U = M(N)
146+ if ((U == U))
147+ then [StringEntry(k(), T)]
148+ else throw("Strict value is not equal to itself.")
149+ }
150+
151+
152+
153+@Callable(N)
154+func setManager (V) = {
155+ let U = M(N)
156+ if ((U == U))
157+ then {
158+ let W = fromBase58String(V)
159+ if ((W == W))
160+ then [StringEntry(j(), V)]
161+ else throw("Strict value is not equal to itself.")
162+ }
163+ else throw("Strict value is not equal to itself.")
164+ }
165+
166+
167+
168+@Callable(N)
169+func confirmManager () = {
170+ let X = L()
171+ let Y = if (isDefined(X))
172+ then true
173+ else throw("No pending manager")
174+ if ((Y == Y))
175+ then {
176+ let Z = if ((N.callerPublicKey == value(X)))
177+ then true
178+ else throw("You are not pending manager")
179+ if ((Z == Z))
180+ then [StringEntry(i(), toBase58String(value(X))), DeleteEntry(j())]
181+ else throw("Strict value is not equal to itself.")
182+ }
183+ else throw("Strict value is not equal to itself.")
184+ }
185+
186+
187+
188+@Callable(N)
189+func setAdmins (aa) = {
190+ let U = M(N)
191+ if ((U == U))
192+ then [StringEntry(n(), makeString(aa, a))]
193+ else throw("Strict value is not equal to itself.")
194+ }
195+
196+
197+
198+@Callable(N)
199+func unstakeAndGetOneTkn (ab,ac,ad,ae,af,ag) = {
200+ let ah = if ((size(N.payments) != 0))
201+ then throw("No pmnts expd")
202+ else true
203+ if ((ah == ah))
204+ then {
205+ let ai = D()
206+ let aj = H()
207+ let ak = fromBase58String(ai[d])
208+ let al = valueOrErrorMessage(addressFromString(aj[g]), "Wr st addr")
209+ let am = invoke(al, "unstake", [toBase58String(ak), ab], nil)
210+ if ((am == am))
211+ then {
212+ let an = invoke(B, "getOneTkn", [ac, ad, ae, af, ag], [AttachedPayment(ak, ab)])
213+ if ((an == an))
214+ then nil
215+ else throw("Strict value is not equal to itself.")
216+ }
217+ else throw("Strict value is not equal to itself.")
218+ }
219+ else throw("Strict value is not equal to itself.")
220+ }
221+
222+
223+
224+@Callable(N)
225+func setAmp (ao) = {
226+ let U = R(N)
227+ if ((U == U))
228+ then {
229+ let ap = invoke(B, "setS", [o(), ao], nil)
230+ let aq = invoke(B, "setS", [p(height), ao], nil)
231+ $Tuple2(nil, $Tuple2(ap, aq))
232+ }
233+ else throw("Strict value is not equal to itself.")
234+ }
235+
236+
237+@Verifier(ar)
238+func as () = {
239+ let at = {
240+ let J = I()
241+ if ($isInstanceOf(J, "ByteVector"))
242+ then {
243+ let P = J
244+ P
245+ }
246+ else if ($isInstanceOf(J, "Unit"))
247+ then ar.senderPublicKey
248+ else throw("Match error")
249+ }
250+ sigVerify(ar.bodyBytes, ar.proofs[0], at)
251+ }
252+

github/deemru/w8io/026f985 
21.48 ms