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