tx · FxDtQrHW7jpL4M9L5Sn3c8mNWMFGrgakQD5KGtXBxT1s 3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV: -0.01400000 Waves 2022.05.30 11:44 [2074173] smart account 3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV > SELF 0.00000000 Waves
{ "type": 13, "id": "FxDtQrHW7jpL4M9L5Sn3c8mNWMFGrgakQD5KGtXBxT1s", "fee": 1400000, "feeAssetId": null, "timestamp": 1653900328853, "version": 1, "sender": "3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV", "senderPublicKey": "8KXPjDuC8ffL9qjNuDBLnkvJKbMojhZYcnm2o75UCyun", "proofs": [ "3roTThu9yBWjcWRhPWtp83xjPvFdHCJ8FPCJLZ33nDV6Cv5e5CgP6epWdNHGENESGSxpio3Azq4wSZFmdZL2LZH4" ], "script": "base64:AAIFAAAAAAAAACwIAhIDCgEIEgMKAQgSABIDCgEYEggKBgEBAQEIARIDCgEIEgMKAQgSAwoBCAAAACIAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAADmlkeFBvb2xBZGRyZXNzAAAAAAAAAAABAAAAAAlpZHhMUEFzSWQAAAAAAAAAAAMAAAAACWlkeEFtQXNJZAAAAAAAAAAABAAAAAAJaWR4UHJBc0lkAAAAAAAAAAAFAAAAAA9pZHhGYWN0U3Rha0NudHIAAAAAAAAAAAEAAAAABWRlbGF5AgAAAAklc19fZGVsYXkBAAAAC2tleUZhY3RDbnRyAAAAAAIAAAATJXNfX2ZhY3RvcnlDb250cmFjdAEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAACAAAAFCVzX19tYW5hZ2VyUHVibGljS2V5AQAAABprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleQAAAAACAAAAGyVzX19wZW5kaW5nTWFuYWdlclB1YmxpY0tleQEAAAALa2V5UG9vbEFkZHIAAAAAAgAAAA8lc19fcG9vbEFkZHJlc3MBAAAAC2tleUFtdEFzc2V0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AgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5Kf3N7w==", "chainId": 84, "height": 2074173, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HZEWWY89hpcMXw9tU8GWDC67og9VKo657WKHxm8aWDEG Next: 6FUJKpscEYNtgMSt11ouvqs2JqrerY66acpXF6GKGCgP Diff:
Old | New | Differences | |
---|---|---|---|
283 | 283 | then { | |
284 | 284 | let aw = N | |
285 | 285 | let ax = (aw + value(getInteger(F, h))) | |
286 | - | if ((ax == ax)) | |
287 | - | then { | |
288 | - | let aB = throw("test") | |
289 | - | if ((aB == aB)) | |
290 | - | then { | |
291 | - | let aC = (ax >= height) | |
292 | - | let az = (ax - height) | |
293 | - | if (aC) | |
294 | - | then true | |
295 | - | else throw(makeString(["wait for", toString(az), "block(s) more"], " ")) | |
296 | - | } | |
297 | - | else throw("Strict value is not equal to itself.") | |
298 | - | } | |
299 | - | else throw("Strict value is not equal to itself.") | |
286 | + | let aB = (ax >= height) | |
287 | + | let az = (ax - height) | |
288 | + | if (aB) | |
289 | + | then true | |
290 | + | else throw(makeString(["wait for", toString(az), "block(s) more"], " ")) | |
300 | 291 | } | |
301 | 292 | else true | |
302 | 293 | } | |
309 | 300 | } | |
310 | 301 | ||
311 | 302 | ||
312 | - | @Verifier( | |
313 | - | func | |
314 | - | let | |
303 | + | @Verifier(aC) | |
304 | + | func aD () = { | |
305 | + | let aE = { | |
315 | 306 | let N = M() | |
316 | 307 | if ($isInstanceOf(N, "ByteVector")) | |
317 | 308 | then { | |
319 | 310 | T | |
320 | 311 | } | |
321 | 312 | else if ($isInstanceOf(N, "Unit")) | |
322 | - | then | |
313 | + | then aC.senderPublicKey | |
323 | 314 | else throw("Match error") | |
324 | 315 | } | |
325 | - | sigVerify( | |
316 | + | sigVerify(aC.bodyBytes, aC.proofs[0], aE) | |
326 | 317 | } | |
327 | 318 |
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__lastGetOneTknCall", t], a) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func u (t) = makeString(["%s%s__lastPutOneTknCall", t], a) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func v () = "%s__factoryConfig" | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func w (x,y) = (((("%d%d%s__" + x) + "__") + y) + "__config") | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func z (A) = ("%s%s%s__mappings__baseAsset2internalId__" + A) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func B (C,D) = valueOrErrorMessage(getString(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], "")) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func E (C,D) = valueOrErrorMessage(getInteger(C, D), makeString(["mandatory ", toString(C), ".", D, " not defined"], "")) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | let F = addressFromStringValue(B(this, l())) | |
69 | 69 | ||
70 | 70 | let G = addressFromStringValue(B(F, i())) | |
71 | 71 | ||
72 | 72 | func H () = { | |
73 | 73 | let I = B(F, m()) | |
74 | 74 | let J = B(F, n()) | |
75 | 75 | let K = E(G, z(J)) | |
76 | 76 | let x = E(G, z(I)) | |
77 | 77 | split(B(G, w(toString(x), toString(K))), a) | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func L () = split(B(G, v()), a) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func M () = { | |
85 | 85 | let N = getString(j()) | |
86 | 86 | if ($isInstanceOf(N, "String")) | |
87 | 87 | then { | |
88 | 88 | let O = N | |
89 | 89 | fromBase58String(O) | |
90 | 90 | } | |
91 | 91 | else if ($isInstanceOf(N, "Unit")) | |
92 | 92 | then unit | |
93 | 93 | else throw("Match error") | |
94 | 94 | } | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func P () = { | |
98 | 98 | let N = getString(k()) | |
99 | 99 | if ($isInstanceOf(N, "String")) | |
100 | 100 | then { | |
101 | 101 | let O = N | |
102 | 102 | fromBase58String(O) | |
103 | 103 | } | |
104 | 104 | else if ($isInstanceOf(N, "Unit")) | |
105 | 105 | then unit | |
106 | 106 | else throw("Match error") | |
107 | 107 | } | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func Q (R) = { | |
111 | 111 | let S = throw("Permission denied addon") | |
112 | 112 | let N = M() | |
113 | 113 | if ($isInstanceOf(N, "ByteVector")) | |
114 | 114 | then { | |
115 | 115 | let T = N | |
116 | 116 | if ((R.callerPublicKey == T)) | |
117 | 117 | then true | |
118 | 118 | else S | |
119 | 119 | } | |
120 | 120 | else if ($isInstanceOf(N, "Unit")) | |
121 | 121 | then if ((R.caller == this)) | |
122 | 122 | then true | |
123 | 123 | else S | |
124 | 124 | else throw("Match error") | |
125 | 125 | } | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func U () = { | |
129 | 129 | let N = getString(o()) | |
130 | 130 | if ($isInstanceOf(N, "String")) | |
131 | 131 | then { | |
132 | 132 | let O = N | |
133 | 133 | if ((size(O) == 0)) | |
134 | 134 | then nil | |
135 | 135 | else split(O, a) | |
136 | 136 | } | |
137 | 137 | else nil | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func V (R) = if (containsElement(U(), toBase58String(R.callerPublicKey))) | |
142 | 142 | then true | |
143 | 143 | else Q(R) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func W (R) = if ((R.caller == F)) | |
147 | 147 | then true | |
148 | 148 | else throw("caller must be the pool") | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | @Callable(R) | |
152 | 152 | func constructor (X) = { | |
153 | 153 | let Y = Q(R) | |
154 | 154 | if ((Y == Y)) | |
155 | 155 | then [StringEntry(l(), X)] | |
156 | 156 | else throw("Strict value is not equal to itself.") | |
157 | 157 | } | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | ||
161 | 161 | @Callable(R) | |
162 | 162 | func setManager (Z) = { | |
163 | 163 | let Y = Q(R) | |
164 | 164 | if ((Y == Y)) | |
165 | 165 | then { | |
166 | 166 | let aa = fromBase58String(Z) | |
167 | 167 | if ((aa == aa)) | |
168 | 168 | then [StringEntry(k(), Z)] | |
169 | 169 | else throw("Strict value is not equal to itself.") | |
170 | 170 | } | |
171 | 171 | else throw("Strict value is not equal to itself.") | |
172 | 172 | } | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | ||
176 | 176 | @Callable(R) | |
177 | 177 | func confirmManager () = { | |
178 | 178 | let ab = P() | |
179 | 179 | let ac = if (isDefined(ab)) | |
180 | 180 | then true | |
181 | 181 | else throw("No pending manager") | |
182 | 182 | if ((ac == ac)) | |
183 | 183 | then { | |
184 | 184 | let ad = if ((R.callerPublicKey == value(ab))) | |
185 | 185 | then true | |
186 | 186 | else throw("You are not pending manager") | |
187 | 187 | if ((ad == ad)) | |
188 | 188 | then [StringEntry(j(), toBase58String(value(ab))), DeleteEntry(k())] | |
189 | 189 | else throw("Strict value is not equal to itself.") | |
190 | 190 | } | |
191 | 191 | else throw("Strict value is not equal to itself.") | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | ||
196 | 196 | @Callable(R) | |
197 | 197 | func setAdmins (ae) = { | |
198 | 198 | let Y = Q(R) | |
199 | 199 | if ((Y == Y)) | |
200 | 200 | then [StringEntry(o(), makeString(ae, a))] | |
201 | 201 | else throw("Strict value is not equal to itself.") | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | ||
206 | 206 | @Callable(R) | |
207 | 207 | func unstakeAndGetOneTkn (af,ag,ah,ai,aj,ak) = { | |
208 | 208 | let al = if ((size(R.payments) != 0)) | |
209 | 209 | then throw("No pmnts expd") | |
210 | 210 | else true | |
211 | 211 | if ((al == al)) | |
212 | 212 | then { | |
213 | 213 | let am = H() | |
214 | 214 | let an = L() | |
215 | 215 | let ao = fromBase58String(am[d]) | |
216 | 216 | let ap = valueOrErrorMessage(addressFromString(an[g]), "Wr st addr") | |
217 | 217 | let aq = invoke(ap, "unstake", [toBase58String(ao), af], nil) | |
218 | 218 | if ((aq == aq)) | |
219 | 219 | then { | |
220 | 220 | let ar = invoke(F, "getOneTkn", [ag, ah, ai, aj, ak], [AttachedPayment(ao, af)]) | |
221 | 221 | if ((ar == ar)) | |
222 | 222 | then nil | |
223 | 223 | else throw("Strict value is not equal to itself.") | |
224 | 224 | } | |
225 | 225 | else throw("Strict value is not equal to itself.") | |
226 | 226 | } | |
227 | 227 | else throw("Strict value is not equal to itself.") | |
228 | 228 | } | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | ||
232 | 232 | @Callable(R) | |
233 | 233 | func setAmp (as) = { | |
234 | 234 | let Y = V(R) | |
235 | 235 | if ((Y == Y)) | |
236 | 236 | then { | |
237 | 237 | let at = invoke(F, "setS", [p(), as], nil) | |
238 | 238 | let au = invoke(F, "setS", [q(height), as], nil) | |
239 | 239 | $Tuple2(nil, $Tuple2(at, au)) | |
240 | 240 | } | |
241 | 241 | else throw("Strict value is not equal to itself.") | |
242 | 242 | } | |
243 | 243 | ||
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Callable(R) | |
247 | 247 | func ensureCanGetOneTkn (t) = { | |
248 | 248 | let Y = W(R) | |
249 | 249 | if ((Y == Y)) | |
250 | 250 | then { | |
251 | 251 | let av = { | |
252 | 252 | let N = getInteger(F, s(t)) | |
253 | 253 | if ($isInstanceOf(N, "Int")) | |
254 | 254 | then { | |
255 | 255 | let aw = N | |
256 | 256 | let ax = (aw + value(getInteger(F, h))) | |
257 | 257 | let ay = (ax >= height) | |
258 | 258 | let az = (ax - height) | |
259 | 259 | if (ay) | |
260 | 260 | then true | |
261 | 261 | else throw(makeString(["wait for", toString(az), "block(s) more"], " ")) | |
262 | 262 | } | |
263 | 263 | else true | |
264 | 264 | } | |
265 | 265 | let aA = invoke(F, "setI", [s(t), height], nil) | |
266 | 266 | if ((aA == aA)) | |
267 | 267 | then $Tuple2(nil, av) | |
268 | 268 | else throw("Strict value is not equal to itself.") | |
269 | 269 | } | |
270 | 270 | else throw("Strict value is not equal to itself.") | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | ||
275 | 275 | @Callable(R) | |
276 | 276 | func ensureCanPutOneTkn (t) = { | |
277 | 277 | let Y = W(R) | |
278 | 278 | if ((Y == Y)) | |
279 | 279 | then { | |
280 | 280 | let av = { | |
281 | 281 | let N = getInteger(F, u(t)) | |
282 | 282 | if ($isInstanceOf(N, "Int")) | |
283 | 283 | then { | |
284 | 284 | let aw = N | |
285 | 285 | let ax = (aw + value(getInteger(F, h))) | |
286 | - | if ((ax == ax)) | |
287 | - | then { | |
288 | - | let aB = throw("test") | |
289 | - | if ((aB == aB)) | |
290 | - | then { | |
291 | - | let aC = (ax >= height) | |
292 | - | let az = (ax - height) | |
293 | - | if (aC) | |
294 | - | then true | |
295 | - | else throw(makeString(["wait for", toString(az), "block(s) more"], " ")) | |
296 | - | } | |
297 | - | else throw("Strict value is not equal to itself.") | |
298 | - | } | |
299 | - | else throw("Strict value is not equal to itself.") | |
286 | + | let aB = (ax >= height) | |
287 | + | let az = (ax - height) | |
288 | + | if (aB) | |
289 | + | then true | |
290 | + | else throw(makeString(["wait for", toString(az), "block(s) more"], " ")) | |
300 | 291 | } | |
301 | 292 | else true | |
302 | 293 | } | |
303 | 294 | let aA = invoke(F, "setI", [u(t), height], nil) | |
304 | 295 | if ((aA == aA)) | |
305 | 296 | then $Tuple2(nil, av) | |
306 | 297 | else throw("Strict value is not equal to itself.") | |
307 | 298 | } | |
308 | 299 | else throw("Strict value is not equal to itself.") | |
309 | 300 | } | |
310 | 301 | ||
311 | 302 | ||
312 | - | @Verifier( | |
313 | - | func | |
314 | - | let | |
303 | + | @Verifier(aC) | |
304 | + | func aD () = { | |
305 | + | let aE = { | |
315 | 306 | let N = M() | |
316 | 307 | if ($isInstanceOf(N, "ByteVector")) | |
317 | 308 | then { | |
318 | 309 | let T = N | |
319 | 310 | T | |
320 | 311 | } | |
321 | 312 | else if ($isInstanceOf(N, "Unit")) | |
322 | - | then | |
313 | + | then aC.senderPublicKey | |
323 | 314 | else throw("Match error") | |
324 | 315 | } | |
325 | - | sigVerify( | |
316 | + | sigVerify(aC.bodyBytes, aC.proofs[0], aE) | |
326 | 317 | } | |
327 | 318 |
github/deemru/w8io/169f3d6 118.22 ms ◑