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