tx · 9MPg21ihVjKQ2HcmzsbcUEZVWz5NefAx4MLixL75bmBv 3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV: -0.01400000 Waves 2022.05.30 18:21 [2074556] smart account 3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV > SELF 0.00000000 Waves
{ "type": 13, "id": "9MPg21ihVjKQ2HcmzsbcUEZVWz5NefAx4MLixL75bmBv", "fee": 1400000, "feeAssetId": null, "timestamp": 1653924102996, "version": 1, "sender": "3N8bnD2caKnxdcTqvrJUEkDe3XebgfwWjSV", "senderPublicKey": "8KXPjDuC8ffL9qjNuDBLnkvJKbMojhZYcnm2o75UCyun", "proofs": [ "5GxwGpW7ncKnYjKyGS4sJrqZM8qJTdtnnByrHBjyYteBSchkTkJAy9q7LGCYhFhgysgQ5NeVk7mzQwhxEoQmakS9" ], "script": "base64:AAIFAAAAAAAAACwIAhIDCgEIEgMKAQgSABIDCgEYEggKBgEBAQEIARIDCgEIEgMKAQgSAwoBCAAAACIAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAADmlkeFBvb2xBZGRyZXNzAAAAAAAAAAABAAAAAAlpZHhMUEFzSWQAAAAAAAAAAAMAAAAACWlkeEFtQXNJZAAAAAAAAAAABAAAAAAJaWR4UHJBc0lkAAAAAAAAAAAFAAAAAA9pZHhGYWN0U3Rha0NudHIAAAAAAAAAAAEAAAAABWRlbGF5AgAAAAklc19fZGVsYXkBAAAAC2tleUZhY3RDbnRyAAAAAAIAAAATJXNfX2ZhY3RvcnlDb250cmFjdAEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAACAAAAFCVzX19tYW5hZ2VyUHVibGljS2V5AQAAABprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleQAAAAACAAAAGyVzX19wZW5kaW5nTWFuYWdlclB1YmxpY0tleQEAAAALa2V5UG9vbEFkZHIAAAAAAgAAAA8lc19fcG9vbEFkZHJlc3MBAAAAC2tleUFtdEFzc2V0AAAA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BAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXncjX10", "chainId": 84, "height": 2074556, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HLsfhTqaCddi1yMqoYVAxutBRWGacy7YRQb2kjiN8yt8 Next: E5Ka2RuSZjVrDtTtGiLJM3RsZDBKP3zojnuK7bUHpTp3 Diff:
Old | New | Differences | |
---|---|---|---|
254 | 254 | then { | |
255 | 255 | let aw = N | |
256 | 256 | let ax = (aw + value(getInteger(F, h))) | |
257 | - | let ay = ( | |
257 | + | let ay = (height >= ax) | |
258 | 258 | let az = (ax - height) | |
259 | 259 | if (ay) | |
260 | 260 | then true | |
262 | 262 | } | |
263 | 263 | else true | |
264 | 264 | } | |
265 | - | let aA = invoke(F, "setI", [s(t), height], nil) | |
266 | - | if ((aA == aA)) | |
267 | - | then $Tuple2(nil, av) | |
265 | + | if ((av == av)) | |
266 | + | then { | |
267 | + | let aA = invoke(F, "setI", [s(t), height], nil) | |
268 | + | if ((aA == aA)) | |
269 | + | then nil | |
270 | + | else throw("Strict value is not equal to itself.") | |
271 | + | } | |
268 | 272 | else throw("Strict value is not equal to itself.") | |
269 | 273 | } | |
270 | 274 | else throw("Strict value is not equal to itself.") | |
283 | 287 | then { | |
284 | 288 | let aw = N | |
285 | 289 | let ax = (aw + value(getInteger(F, h))) | |
286 | - | let aB = ( | |
290 | + | let aB = (height >= ax) | |
287 | 291 | let az = (ax - height) | |
288 | 292 | if (aB) | |
289 | 293 | then true | |
295 | 299 | then { | |
296 | 300 | let aA = invoke(F, "setI", [u(t), height], nil) | |
297 | 301 | if ((aA == aA)) | |
298 | - | then | |
302 | + | then nil | |
299 | 303 | else throw("Strict value is not equal to itself.") | |
300 | 304 | } | |
301 | 305 | else throw("Strict value is not equal to itself.") |
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 | - | let ay = ( | |
257 | + | let ay = (height >= ax) | |
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 | - | let aA = invoke(F, "setI", [s(t), height], nil) | |
266 | - | if ((aA == aA)) | |
267 | - | then $Tuple2(nil, av) | |
265 | + | if ((av == av)) | |
266 | + | then { | |
267 | + | let aA = invoke(F, "setI", [s(t), height], nil) | |
268 | + | if ((aA == aA)) | |
269 | + | then nil | |
270 | + | else throw("Strict value is not equal to itself.") | |
271 | + | } | |
268 | 272 | else throw("Strict value is not equal to itself.") | |
269 | 273 | } | |
270 | 274 | else throw("Strict value is not equal to itself.") | |
271 | 275 | } | |
272 | 276 | ||
273 | 277 | ||
274 | 278 | ||
275 | 279 | @Callable(R) | |
276 | 280 | func ensureCanPutOneTkn (t) = { | |
277 | 281 | let Y = W(R) | |
278 | 282 | if ((Y == Y)) | |
279 | 283 | then { | |
280 | 284 | let av = { | |
281 | 285 | let N = getInteger(F, u(t)) | |
282 | 286 | if ($isInstanceOf(N, "Int")) | |
283 | 287 | then { | |
284 | 288 | let aw = N | |
285 | 289 | let ax = (aw + value(getInteger(F, h))) | |
286 | - | let aB = ( | |
290 | + | let aB = (height >= ax) | |
287 | 291 | let az = (ax - height) | |
288 | 292 | if (aB) | |
289 | 293 | then true | |
290 | 294 | else throw(makeString(["wait for", toString(az), "block(s) more"], " ")) | |
291 | 295 | } | |
292 | 296 | else true | |
293 | 297 | } | |
294 | 298 | if ((av == av)) | |
295 | 299 | then { | |
296 | 300 | let aA = invoke(F, "setI", [u(t), height], nil) | |
297 | 301 | if ((aA == aA)) | |
298 | - | then | |
302 | + | then nil | |
299 | 303 | else throw("Strict value is not equal to itself.") | |
300 | 304 | } | |
301 | 305 | else throw("Strict value is not equal to itself.") | |
302 | 306 | } | |
303 | 307 | else throw("Strict value is not equal to itself.") | |
304 | 308 | } | |
305 | 309 | ||
306 | 310 | ||
307 | 311 | @Verifier(aC) | |
308 | 312 | func aD () = { | |
309 | 313 | let aE = { | |
310 | 314 | let N = M() | |
311 | 315 | if ($isInstanceOf(N, "ByteVector")) | |
312 | 316 | then { | |
313 | 317 | let T = N | |
314 | 318 | T | |
315 | 319 | } | |
316 | 320 | else if ($isInstanceOf(N, "Unit")) | |
317 | 321 | then aC.senderPublicKey | |
318 | 322 | else throw("Match error") | |
319 | 323 | } | |
320 | 324 | sigVerify(aC.bodyBytes, aC.proofs[0], aE) | |
321 | 325 | } | |
322 | 326 |
github/deemru/w8io/169f3d6 60.62 ms ◑