tx · 2xBXLq3BhTVoBWxSLd7zx4FvsjeQumZ4kgJFyTa5824w 3N1TdY92brvvrQyVdkpHNK2aRbAsx9dYUKc: -0.01000000 Waves 2022.05.23 09:42 [2063986] smart account 3N1TdY92brvvrQyVdkpHNK2aRbAsx9dYUKc > SELF 0.00000000 Waves
{ "type": 13, "id": "2xBXLq3BhTVoBWxSLd7zx4FvsjeQumZ4kgJFyTa5824w", "fee": 1000000, "feeAssetId": null, "timestamp": 1653288187590, "version": 2, "chainId": 84, "sender": "3N1TdY92brvvrQyVdkpHNK2aRbAsx9dYUKc", "senderPublicKey": "3N3TSucEwKCeSJy32W5m6LB2taq7FG7aQ7XxiXvJGdCk", "proofs": [ "63Z79vJir751Lesr1CFTFfUw3rJs65bvWHiAm8BGe6EeNYpLNQMtagLzCUJnftkm5yar15ipaAozCERUeFe95Bkg" ], "script": "base64:AAIFAAAAAAAAAFUIAhIHCgUCAgICARIFCgMCAgESBQoDCAgBEgQKAgICEgUKAwICAhIICgYCAgECAgISBAoCCAISAwoBAhIDCgECEgASABIECgICARIDCgEBEgQKAgIEAAAAKgAAAAAPa2V5QXNzZXRBZGRyZXNzAgAAAANfYWEAAAAADGtleUFzc2V0VHlwZQIAAAADX2F0AAAAABFrZXlBc3NldFByZWNpc2lvbgIAAAADX2FwAAAAAA5rZXlBc3NldE1pbkZlZQIAAAAEX2FtZgAAAAAQa2V5QXNzZXRJc0FjdGl2ZQIAAAAEX2FpYQAAAAAQa2V5QmFzZUZlZVJhdGVCUAIAAAAEX2JmcgAAAAAMa2V5VmFsaWRhdG9yAgAAAAJfdgAAAAAPa2V5RmVlQ29sbGVjdG9yAgAAAANfZmMAAAAAD2tleVVubG9ja1NpZ25lcgIAAAADX3VzAAAAAAtrZXlJc0FjdGl2ZQIAAAADX2lhAAAAAAprZXlNYW5hZ2VyAgAAAAJfbQAAAAAOQlJJREdFX01BTkFHRVICAAAADkJSSURHRV9NQU5BR0VSAAAAAA1BU1NFVF9NQU5BR0VSAgAA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3NldElzQWN0aXZlBQAAAAVzdGF0ZQUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAACr4Gwe", "height": 2063986, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 9wWnRUe4hJ9Q2Q4HuC4Kg7efGpPsfjQuZYk6S6ES2RZ3 Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = "_aa" | |
5 | + | ||
6 | + | let b = "_at" | |
7 | + | ||
8 | + | let c = "_ap" | |
9 | + | ||
10 | + | let d = "_amf" | |
11 | + | ||
12 | + | let e = "_aia" | |
13 | + | ||
14 | + | let f = "_bfr" | |
15 | + | ||
16 | + | let g = "_v" | |
17 | + | ||
18 | + | let h = "_fc" | |
19 | + | ||
20 | + | let i = "_us" | |
21 | + | ||
22 | + | let j = "_ia" | |
23 | + | ||
24 | + | let k = "_m" | |
25 | + | ||
26 | + | let l = "BRIDGE_MANAGER" | |
27 | + | ||
28 | + | let m = "ASSET_MANAGER" | |
29 | + | ||
30 | + | let n = "STOP_MANAGER" | |
31 | + | ||
32 | + | let o = base58'fRpRFUxiLXbzAaAT3sfi1oTFa8n4X8b9FUaQHyT5MkdXYpGZV' | |
33 | + | ||
34 | + | let p = base58'6scFjhFGDfpmYySMKQ9vDbZuH8aMRWsUQJAHXzm1FsJo' | |
35 | + | ||
36 | + | let q = base58'3EMsPJ' | |
37 | + | ||
38 | + | let r = 10000 | |
39 | + | ||
40 | + | let s = 9 | |
41 | + | ||
42 | + | let t = "unauthorized" | |
43 | + | ||
44 | + | let u = "uninitialized" | |
45 | + | ||
46 | + | let v = "initialized" | |
47 | + | ||
48 | + | let w = "exists" | |
49 | + | ||
50 | + | let x = "not exists" | |
51 | + | ||
52 | + | let y = "invalid values" | |
53 | + | ||
54 | + | let z = "not one payment" | |
55 | + | ||
56 | + | let A = "asset not found" | |
57 | + | ||
58 | + | let B = "not enough balance" | |
59 | + | ||
60 | + | let C = "pow value too big" | |
61 | + | ||
62 | + | let D = "bridge is disabled" | |
63 | + | ||
64 | + | let E = "asset is disabled" | |
65 | + | ||
66 | + | let F = "wrong destination chain" | |
67 | + | ||
68 | + | let G = 0 | |
69 | + | ||
70 | + | let H = 1 | |
71 | + | ||
72 | + | let I = 2 | |
73 | + | ||
74 | + | func J (K,L) = { | |
75 | + | let M = getBinary((L + k)) | |
76 | + | if ($isInstanceOf(M, "ByteVector")) | |
77 | + | then { | |
78 | + | let N = M | |
79 | + | if ((N != K.caller.bytes)) | |
80 | + | then throw(t) | |
81 | + | else unit | |
82 | + | } | |
83 | + | else throw(u) | |
84 | + | } | |
85 | + | ||
86 | + | ||
87 | + | func O () = if (!(valueOrElse(getBoolean(j), false))) | |
88 | + | then throw(D) | |
89 | + | else unit | |
90 | + | ||
91 | + | ||
92 | + | func P (Q) = { | |
93 | + | let M = getBoolean((Q + e)) | |
94 | + | if ($isInstanceOf(M, "Boolean")) | |
95 | + | then { | |
96 | + | let R = M | |
97 | + | if (R) | |
98 | + | then unit | |
99 | + | else throw(E) | |
100 | + | } | |
101 | + | else throw(A) | |
102 | + | } | |
103 | + | ||
104 | + | ||
105 | + | func S (T,Q) = { | |
106 | + | let U = valueOrErrorMessage(getInteger(f), u) | |
107 | + | let V = valueOrErrorMessage(getInteger((Q + d)), A) | |
108 | + | let W = ((T * U) / r) | |
109 | + | if ((V > W)) | |
110 | + | then V | |
111 | + | else W | |
112 | + | } | |
113 | + | ||
114 | + | ||
115 | + | func X (Y,Z) = { | |
116 | + | let aa = if ((0 > Z)) | |
117 | + | then -(Z) | |
118 | + | else Z | |
119 | + | let ab = if ((aa == 0)) | |
120 | + | then 1 | |
121 | + | else if ((aa == 1)) | |
122 | + | then 10 | |
123 | + | else if ((aa == 2)) | |
124 | + | then 100 | |
125 | + | else if ((aa == 3)) | |
126 | + | then 1000 | |
127 | + | else if ((aa == 4)) | |
128 | + | then 10000 | |
129 | + | else if ((aa == 5)) | |
130 | + | then 100000 | |
131 | + | else if ((aa == 6)) | |
132 | + | then 1000000 | |
133 | + | else if ((aa == 7)) | |
134 | + | then 10000000 | |
135 | + | else if ((aa == 8)) | |
136 | + | then 100000000 | |
137 | + | else if ((aa == 9)) | |
138 | + | then 1000000000 | |
139 | + | else throw(C) | |
140 | + | if ((0 > Z)) | |
141 | + | then (Y / ab) | |
142 | + | else (Y * ab) | |
143 | + | } | |
144 | + | ||
145 | + | ||
146 | + | func ac (T,ad) = X(T, (s - ad)) | |
147 | + | ||
148 | + | ||
149 | + | func ae (T,ad) = X(T, (ad - s)) | |
150 | + | ||
151 | + | ||
152 | + | @Callable(K) | |
153 | + | func init (af,ag,ah,ai,U) = if (isDefined(getBinary((l + k)))) | |
154 | + | then throw(v) | |
155 | + | else [BinaryEntry((l + k), af), BinaryEntry(g, ag), BinaryEntry(h, ah), BinaryEntry(i, ai), IntegerEntry(f, U), BooleanEntry(j, true)] | |
156 | + | ||
157 | + | ||
158 | + | ||
159 | + | @Callable(K) | |
160 | + | func addAsset (aj,ak,V) = { | |
161 | + | let al = J(K, m) | |
162 | + | if ((al == al)) | |
163 | + | then { | |
164 | + | let am = if ((ak == p)) | |
165 | + | then if ((aj != o)) | |
166 | + | then throw(y) | |
167 | + | else $Tuple2(G, 8) | |
168 | + | else { | |
169 | + | let an = valueOrErrorMessage(assetInfo(ak), A) | |
170 | + | let ao = if ((an.issuer == this)) | |
171 | + | then I | |
172 | + | else H | |
173 | + | $Tuple2(ao, an.decimals) | |
174 | + | } | |
175 | + | let ao = am._1 | |
176 | + | let ad = am._2 | |
177 | + | let Q = toBase64String(ak) | |
178 | + | let ap = (toBase64String(aj) + a) | |
179 | + | let aq = (Q + a) | |
180 | + | if (if (isDefined(getBinary(ap))) | |
181 | + | then true | |
182 | + | else isDefined(getBinary(aq))) | |
183 | + | then throw(w) | |
184 | + | else [BinaryEntry(ap, ak), BinaryEntry(aq, aj), IntegerEntry((Q + b), ao), IntegerEntry((Q + c), ad), IntegerEntry((Q + d), V), BooleanEntry((Q + e), true)] | |
185 | + | } | |
186 | + | else throw("Strict value is not equal to itself.") | |
187 | + | } | |
188 | + | ||
189 | + | ||
190 | + | ||
191 | + | @Callable(K) | |
192 | + | func issue (ar,as,ad) = { | |
193 | + | let al = J(K, m) | |
194 | + | if ((al == al)) | |
195 | + | then [Issue(ar, as, 0, ad, true)] | |
196 | + | else throw("Strict value is not equal to itself.") | |
197 | + | } | |
198 | + | ||
199 | + | ||
200 | + | ||
201 | + | @Callable(K) | |
202 | + | func removeAsset (aj,at) = { | |
203 | + | let al = J(K, m) | |
204 | + | if ((al == al)) | |
205 | + | then { | |
206 | + | let ap = (toBase64String(aj) + a) | |
207 | + | let ak = valueOrErrorMessage(getBinary(ap), x) | |
208 | + | let Q = toBase64String(ak) | |
209 | + | let ao = valueOrErrorMessage(getInteger((Q + b)), x) | |
210 | + | let au = if ((ao == G)) | |
211 | + | then { | |
212 | + | let av = wavesBalance(this) | |
213 | + | if ((av.available > 0)) | |
214 | + | then [ScriptTransfer(Address(at), av.available, unit)] | |
215 | + | else nil | |
216 | + | } | |
217 | + | else if ((ao == H)) | |
218 | + | then { | |
219 | + | let av = assetBalance(this, ak) | |
220 | + | if ((av > 0)) | |
221 | + | then [ScriptTransfer(Address(at), av, ak)] | |
222 | + | else nil | |
223 | + | } | |
224 | + | else if ((ao == I)) | |
225 | + | then nil | |
226 | + | else throw(y) | |
227 | + | (au ++ [DeleteEntry(ap), DeleteEntry((Q + a)), DeleteEntry((Q + b)), DeleteEntry((Q + c)), DeleteEntry((Q + d)), DeleteEntry((Q + e))]) | |
228 | + | } | |
229 | + | else throw("Strict value is not equal to itself.") | |
230 | + | } | |
231 | + | ||
232 | + | ||
233 | + | ||
234 | + | @Callable(K) | |
235 | + | func lock (aw,ax,ay) = { | |
236 | + | let az = O() | |
237 | + | if ((az == az)) | |
238 | + | then if ((ay == q)) | |
239 | + | then throw(F) | |
240 | + | else if ((size(K.payments) != 1)) | |
241 | + | then throw(z) | |
242 | + | else { | |
243 | + | let ak = valueOrElse(K.payments[0].assetId, p) | |
244 | + | let Q = toBase64String(ak) | |
245 | + | let aA = P(Q) | |
246 | + | if ((aA == aA)) | |
247 | + | then { | |
248 | + | let T = K.payments[0].amount | |
249 | + | let ag = valueOrErrorMessage(getBinary(g), u) | |
250 | + | let W = S(T, Q) | |
251 | + | let aB = (T - W) | |
252 | + | if ((0 >= aB)) | |
253 | + | then throw(B) | |
254 | + | else { | |
255 | + | let aj = valueOrErrorMessage(getBinary((Q + a)), A) | |
256 | + | let ao = valueOrErrorMessage(getInteger((Q + b)), A) | |
257 | + | let ad = valueOrErrorMessage(getInteger((Q + c)), A) | |
258 | + | let ah = valueOrErrorMessage(getBinary(h), u) | |
259 | + | let aC = invoke(Address(ag), "createLock", [aw, ax, ac(aB, ad), ay, aj], nil) | |
260 | + | if ((aC == aC)) | |
261 | + | then if ((ao == G)) | |
262 | + | then [ScriptTransfer(Address(ah), W, unit)] | |
263 | + | else if ((ao == H)) | |
264 | + | then [ScriptTransfer(Address(ah), W, ak)] | |
265 | + | else if ((ao == I)) | |
266 | + | then [Burn(ak, aB), ScriptTransfer(Address(ah), W, ak)] | |
267 | + | else throw(y) | |
268 | + | else throw("Strict value is not equal to itself.") | |
269 | + | } | |
270 | + | } | |
271 | + | else throw("Strict value is not equal to itself.") | |
272 | + | } | |
273 | + | else throw("Strict value is not equal to itself.") | |
274 | + | } | |
275 | + | ||
276 | + | ||
277 | + | ||
278 | + | @Callable(K) | |
279 | + | func unlock (aw,ax,T,aD,aj,aE) = { | |
280 | + | let az = O() | |
281 | + | if ((az == az)) | |
282 | + | then { | |
283 | + | let ak = valueOrErrorMessage(getBinary((toBase64String(aj) + a)), A) | |
284 | + | let Q = toBase64String(ak) | |
285 | + | let ao = valueOrErrorMessage(getInteger((Q + b)), A) | |
286 | + | let ad = valueOrErrorMessage(getInteger((Q + c)), A) | |
287 | + | let ag = valueOrErrorMessage(getBinary(g), u) | |
288 | + | let ai = valueOrErrorMessage(getBinary(i), u) | |
289 | + | let ah = valueOrErrorMessage(getBinary(h), u) | |
290 | + | let aF = invoke(Address(ag), "createUnlock", [aw, ax, T, aD, aj, aE], nil) | |
291 | + | if ((aF == aF)) | |
292 | + | then { | |
293 | + | let aG = { | |
294 | + | let M = aF | |
295 | + | if ($isInstanceOf(M, "Boolean")) | |
296 | + | then { | |
297 | + | let aH = M | |
298 | + | aH | |
299 | + | } | |
300 | + | else false | |
301 | + | } | |
302 | + | if (!(aG)) | |
303 | + | then throw(y) | |
304 | + | else { | |
305 | + | let W = if ((ai == K.caller.bytes)) | |
306 | + | then valueOrErrorMessage(getInteger((Q + d)), A) | |
307 | + | else 0 | |
308 | + | let aI = ae(T, ad) | |
309 | + | let aJ = (aI - W) | |
310 | + | if ((0 >= aJ)) | |
311 | + | then throw(B) | |
312 | + | else if ((ao == G)) | |
313 | + | then ([ScriptTransfer(Address(ax), aJ, unit)] ++ (if ((W > 0)) | |
314 | + | then [ScriptTransfer(Address(ah), W, unit)] | |
315 | + | else nil)) | |
316 | + | else if ((ao == H)) | |
317 | + | then ([ScriptTransfer(Address(ax), aJ, ak)] ++ (if ((W > 0)) | |
318 | + | then [ScriptTransfer(Address(ah), W, ak)] | |
319 | + | else nil)) | |
320 | + | else if ((ao == I)) | |
321 | + | then ([Reissue(ak, aI, true), ScriptTransfer(Address(ax), aJ, ak)] ++ (if ((W > 0)) | |
322 | + | then [ScriptTransfer(Address(ah), W, ak)] | |
323 | + | else nil)) | |
324 | + | else throw(y) | |
325 | + | } | |
326 | + | } | |
327 | + | else throw("Strict value is not equal to itself.") | |
328 | + | } | |
329 | + | else throw("Strict value is not equal to itself.") | |
330 | + | } | |
331 | + | ||
332 | + | ||
333 | + | ||
334 | + | @Callable(K) | |
335 | + | func setManager (L,aK) = { | |
336 | + | let al = J(K, l) | |
337 | + | if ((al == al)) | |
338 | + | then [BinaryEntry((L + k), aK)] | |
339 | + | else throw("Strict value is not equal to itself.") | |
340 | + | } | |
341 | + | ||
342 | + | ||
343 | + | ||
344 | + | @Callable(K) | |
345 | + | func setFeeCollector (ah) = { | |
346 | + | let al = J(K, l) | |
347 | + | if ((al == al)) | |
348 | + | then [BinaryEntry(h, ah)] | |
349 | + | else throw("Strict value is not equal to itself.") | |
350 | + | } | |
351 | + | ||
352 | + | ||
353 | + | ||
354 | + | @Callable(K) | |
355 | + | func setValidator (aL) = { | |
356 | + | let al = J(K, l) | |
357 | + | if ((al == al)) | |
358 | + | then [BinaryEntry(g, aL)] | |
359 | + | else throw("Strict value is not equal to itself.") | |
360 | + | } | |
361 | + | ||
362 | + | ||
363 | + | ||
364 | + | @Callable(K) | |
365 | + | func startBridge () = { | |
366 | + | let al = J(K, l) | |
367 | + | if ((al == al)) | |
368 | + | then [BooleanEntry(j, true)] | |
369 | + | else throw("Strict value is not equal to itself.") | |
370 | + | } | |
371 | + | ||
372 | + | ||
373 | + | ||
374 | + | @Callable(K) | |
375 | + | func stopBridge () = { | |
376 | + | let al = J(K, n) | |
377 | + | if ((al == al)) | |
378 | + | then [BooleanEntry(j, false)] | |
379 | + | else throw("Strict value is not equal to itself.") | |
380 | + | } | |
381 | + | ||
382 | + | ||
383 | + | ||
384 | + | @Callable(K) | |
385 | + | func setMinFee (ak,V) = { | |
386 | + | let al = J(K, m) | |
387 | + | if ((al == al)) | |
388 | + | then { | |
389 | + | let Q = toBase64String(ak) | |
390 | + | [IntegerEntry((Q + d), V)] | |
391 | + | } | |
392 | + | else throw("Strict value is not equal to itself.") | |
393 | + | } | |
394 | + | ||
395 | + | ||
396 | + | ||
397 | + | @Callable(K) | |
398 | + | func setBaseFeeRate (U) = { | |
399 | + | let al = J(K, m) | |
400 | + | if ((al == al)) | |
401 | + | then [IntegerEntry(f, U)] | |
402 | + | else throw("Strict value is not equal to itself.") | |
403 | + | } | |
404 | + | ||
405 | + | ||
406 | + | ||
407 | + | @Callable(K) | |
408 | + | func setAssetState (ak,aM) = { | |
409 | + | let al = J(K, m) | |
410 | + | if ((al == al)) | |
411 | + | then { | |
412 | + | let Q = toBase64String(ak) | |
413 | + | [BooleanEntry((Q + e), aM)] | |
414 | + | } | |
415 | + | else throw("Strict value is not equal to itself.") | |
416 | + | } | |
417 | + | ||
418 | + |
github/deemru/w8io/169f3d6 31.13 ms ◑