tx · DJqgWymHhWR3G38fmnauftfiCkT71md7FeD7zUR76Anv

3N1apjRXSenyrYENF5TY5C5VXPk8uNqqoD6:  -0.05000000 Waves

2023.04.25 16:37 [2550142] smart account 3N1apjRXSenyrYENF5TY5C5VXPk8uNqqoD6 > SELF 0.00000000 Waves

{ "type": 13, "id": "DJqgWymHhWR3G38fmnauftfiCkT71md7FeD7zUR76Anv", "fee": 5000000, "feeAssetId": null, "timestamp": 1682429850489, "version": 2, "chainId": 84, "sender": "3N1apjRXSenyrYENF5TY5C5VXPk8uNqqoD6", "senderPublicKey": "CwWnWqDeyiaB6qUxUt9uL74cypvX9BhoJFrsLRtoS8KN", "proofs": [ "4nMoeFjfMKpCfAgJfUM1BdQb8qsGNZDV6HJPGeaU2rKrKuaSTBj5mWA3AapJURigHgcgXZvrTUFyuLqSRVvoSyHc" ], "script": "base64:BgIWCAISAwoBCBIDCgEBEgMKAQgSAwoBCHMAA1NFUAICX18ABUVNUFRZAgAACVBSRUNJU0lPTgCAoJSljR0ACERFQ0lNQUxTAIDC1y8AFERFRkFVTFRfTUFYX1NMSVBQQUdFCQBoAgkAaQIFCVBSRUNJU0lPTgAUABMAA0RBWQkAaAIJAGgCADwAPAAYAARZRUFSCQBoAgUDREFZAO0CAA9PUkFDTEVfREVDSU1BTFMAwIQ9AAhJTkZJTklUWQD//////////38AEE1JTl9BTU9VTlRfREVMVEEA6AcAFU1BWF9SQVRFX0hFSUdIVF9ERUxUQQAFABFMSVFVSURBVElPTl9CT05VUwkAaAIJAGkCBQlQUkVDSVNJT04AZAAFABhMSVFVSURBVElPTl9QUk9UT0NPTF9GRUUJAGgCCQBpAgUJUFJFQ0lTSU9OAGQAAgAUTUFYX0xJUVVJREFUSU9OX1BBUlQJAGgCCQBpAgUJUFJFQ0lTSU9OAGQAMgANU1RBQklMSVRZX0ZFRQkAaQIFCVBSRUNJU0lPTgBkAAdFTkFCTEVEAgdFTkFCTEVEAAhESVNBQkxFRAIIRElTQUJMRUQAEklkeFZ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QgZXF1YWwgdG8gaXRzZWxmLgFpAQ1yZW1vdmVBZGRyZXNzAQhfYWRkcmVzcwQGY2hlY2tzCQDMCAIJAQ9tdXN0SW5pdGlhbGl6ZWQACQDMCAIJAQhtdXN0U2VsZgEFAWkJAMwIAgkBDGNoZWNrQWRkcmVzcwEFCF9hZGRyZXNzCQDMCAIJARNjaGVja0FkZHJlc3NFbmFibGVkAQUIX2FkZHJlc3MFA25pbAMJAAACBQZjaGVja3MFBmNoZWNrcwkAzAgCCQEMQm9vbGVhbkVudHJ5AgkBEWtleUFsbG93ZWRBZGRyZXNzAQUIX2FkZHJlc3MHBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABAckbWF0Y2gwCQEIdmVyaWZpZXIAAwkAAQIFByRtYXRjaDACBlN0cmluZwQHYWRkcmVzcwUHJG1hdGNoMAkBC3ZhbHVlT3JFbHNlAgkAmwgCCQERQGV4dHJOYXRpdmUoMTA2MikBBQdhZGRyZXNzCQEJa2V5U2lnbmVkAgkApQgBBQR0aGlzCQDYBAEIBQJ0eAJpZAcJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXnMj7Jf", "height": 2550142, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = "__"
5+
6+let b = ""
7+
8+let c = 1000000000000
9+
10+let d = 100000000
11+
12+let e = ((c / 20) * 19)
13+
14+let f = ((60 * 60) * 24)
15+
16+let g = (f * 365)
17+
18+let h = 1000000
19+
20+let i = 9223372036854775807
21+
22+let j = 1000
23+
24+let k = 5
25+
26+let l = ((c / 100) * 5)
27+
28+let m = ((c / 100) * 2)
29+
30+let n = ((c / 100) * 50)
31+
32+let o = (c / 100)
33+
34+let p = "ENABLED"
35+
36+let q = "DISABLED"
37+
38+let r = 1
39+
40+let s = 2
41+
42+let t = 3
43+
44+let u = 1
45+
46+let v = 2
47+
48+let w = 3
49+
50+let x = 4
51+
52+let y = 5
53+
54+let z = "Invocation error"
55+
56+func A (B,C) = fraction(B, d, C, HALFEVEN)
57+
58+
59+func D (B,C) = fraction(B, C, d, HALFEVEN)
60+
61+
62+func E (B,C) = fraction(B, c, C, HALFEVEN)
63+
64+
65+func F (B,C) = fraction(B, C, c, HALFEVEN)
66+
67+
68+func G (H) = makeString(H, a)
69+
70+
71+func I () = G(["%s", "initialized"])
72+
73+
74+func J () = G(["%s", "coordinatorAddress"])
75+
76+
77+func K () = G(["%s", "verifierAddress"])
78+
79+
80+func L () = G(["%s", "serviceAddress"])
81+
82+
83+func M () = G(["%s", "frontendAddress"])
84+
85+
86+func N () = G(["%s", "minterAddress"])
87+
88+
89+func O () = G(["%s", "treasuryAddress"])
90+
91+
92+func P () = G(["%s", "backendAddress"])
93+
94+
95+func Q () = G(["%s", "eastStakingAddress"])
96+
97+
98+func R () = G(["%s", "oracleAddress"])
99+
100+
101+func S () = G(["%s", "exchangeAddress"])
102+
103+
104+func T () = G(["%s", "eastAsset"])
105+
106+
107+func U () = G(["%s", "stEastAsset"])
108+
109+
110+func V () = "A_asset_balance"
111+
112+
113+func W () = "B_asset_balance"
114+
115+
116+func X (Y,Z) = G(["%s%s%s", "vault", Y, Z])
117+
118+
119+func aa (Y) = G(["%s%s", "vault", Y])
120+
121+
122+func ab () = G(["%s", "precision"])
123+
124+
125+func ac () = G(["%s", "backingRatio"])
126+
127+
128+func ad () = G(["%s", "liquidationRatio"])
129+
130+
131+func ae () = G(["%s", "liquidationBonus"])
132+
133+
134+func af () = G(["%s", "liquidationProtocolFee"])
135+
136+
137+func ag () = G(["%s", "stabilityFee"])
138+
139+
140+func ah () = G(["%s", "minAmountDelta"])
141+
142+
143+func ai () = G(["%s", "ticker"])
144+
145+
146+func aj () = G(["%s", "maxRateHeightDelta"])
147+
148+
149+func ak () = G(["%s", "contractAssetId"])
150+
151+
152+func al (am) = G(["%s%s", "price", am])
153+
154+
155+func an (am) = G(["%s%s", "lastHeight", am])
156+
157+
158+func ao (ap,aq) = G(["%s%s%s", "signed", ap, aq])
159+
160+
161+func ar () = G(["%s", "protocolActive"])
162+
163+
164+func as () = valueOrElse(getBoolean(this, I()), false)
165+
166+
167+func at () = if (!(as()))
168+ then throw("Not initialized")
169+ else unit
170+
171+
172+func au () = if (as())
173+ then throw("Already initialized")
174+ else unit
175+
176+
177+func av (aw) = if ((aw.caller != this))
178+ then throw("Only self invocation allowed.")
179+ else unit
180+
181+
182+func ax () = addressFromStringValue(valueOrErrorMessage(getString(J()), "Coordinator is not set"))
183+
184+
185+func ay () = {
186+ let az = getString(J())
187+ if ($isInstanceOf(az, "String"))
188+ then {
189+ let aA = az
190+ getString(addressFromStringValue(aA), K())
191+ }
192+ else if ($isInstanceOf(az, "Unit"))
193+ then unit
194+ else throw("Match error")
195+ }
196+
197+
198+func aB (aC,aD) = addressFromStringValue(valueOrErrorMessage(getString(ax(), aC), aD))
199+
200+
201+func aE () = aB(N(), "Minter is not set")
202+
203+
204+func aF () = aB(M(), "Frontend is not set")
205+
206+
207+func aG () = aB(O(), "Treasury is not set")
208+
209+
210+func aH () = aB(P(), "Backend is not set")
211+
212+
213+func aI () = aB(R(), "Oracle is not set")
214+
215+
216+func aJ () = aB(Q(), "East staking is not set")
217+
218+
219+func aK (aw) = (aw.caller != aG())
220+
221+
222+func aL () = valueOrElse(getInteger(ax(), ah()), j)
223+
224+
225+func aM () = valueOrElse(getInteger(ax(), aj()), k)
226+
227+
228+func aN () = valueOrElse(getInteger(ax(), ae()), l)
229+
230+
231+func aO () = valueOrElse(getInteger(ax(), af()), m)
232+
233+
234+func aP () = valueOrElse(getInteger(ax(), ag()), o)
235+
236+
237+func aQ () = getStringValue(ak())
238+
239+
240+func aR () = valueOrErrorMessage(getString(ax(), T()), "East asset is not set")
241+
242+
243+func aS () = fromBase58String(aR())
244+
245+
246+func aT () = valueOrElse(getBoolean(ax(), ar()), false)
247+
248+
249+func aU () = if (if (!(aT()))
250+ then true
251+ else !(as()))
252+ then throw("Protocol is disabled. Please contact support.")
253+ else unit
254+
255+
256+func aV (aw) = if ((aw.caller != aF()))
257+ then throw("Not allowed")
258+ else unit
259+
260+
261+func aW (aw) = if ((aw.caller != aH()))
262+ then throw("Not allowed")
263+ else unit
264+
265+
266+func aX (aw,Y) = if ((toBase58String(aw.caller.bytes) == Y))
267+ then throw("Self invocation not allowed.")
268+ else unit
269+
270+
271+func aY (aw) = if ((size(aw.payments) != 1))
272+ then throw("Only one payment allowed.")
273+ else unit
274+
275+
276+func aZ (aw) = if ((size(aw.payments) != 0))
277+ then throw("No payment allowed.")
278+ else unit
279+
280+
281+func ba (aw) = (size(aw.payments) == 1)
282+
283+
284+func bb (bc) = if ((0 >= bc))
285+ then throw("Attribute should be positive or zero.")
286+ else unit
287+
288+
289+func bd (bc) = if ((0 > bc))
290+ then throw("Attribute should be positive.")
291+ else unit
292+
293+
294+func be (Y,Z) = getString(X(Y, Z))
295+
296+
297+func bf (Y,Z) = valueOrErrorMessage(be(Y, Z), "Vault not exists")
298+
299+
300+func bg (bh) = {
301+ let az = bh.assetId
302+ if ($isInstanceOf(az, "ByteVector"))
303+ then {
304+ let bi = az
305+ toBase58String(bi)
306+ }
307+ else if ($isInstanceOf(az, "Unit"))
308+ then "WAVES"
309+ else throw("Match error")
310+ }
311+
312+
313+func bj (bi) = if ((bi == "WAVES"))
314+ then unit
315+ else fromBase58String(bi)
316+
317+
318+func bk (bh,bl) = {
319+ let bi = {
320+ let az = bl
321+ if ($isInstanceOf(az, "ByteVector"))
322+ then {
323+ let bm = az
324+ bm
325+ }
326+ else if ($isInstanceOf(az, "String"))
327+ then {
328+ let aA = az
329+ bj(aA)
330+ }
331+ else if ($isInstanceOf(az, "Unit"))
332+ then unit
333+ else throw("Match error")
334+ }
335+ let az = bi
336+ if ($isInstanceOf(az, "ByteVector"))
337+ then {
338+ let bm = az
339+ let bn = {
340+ let bo = assetInfo(bm)
341+ if ($isInstanceOf(bo, "Asset"))
342+ then {
343+ let Z = bo
344+ Z.name
345+ }
346+ else if ($isInstanceOf(bo, "Unit"))
347+ then throw(("Can't find asset " + toBase58String(bm)))
348+ else throw("Match error")
349+ }
350+ let aD = throw(("Attached payment asset is not " + bn))
351+ let bo = bh.assetId
352+ if ($isInstanceOf(bo, "ByteVector"))
353+ then {
354+ let bp = bo
355+ if ((bp != bi))
356+ then aD
357+ else unit
358+ }
359+ else if ($isInstanceOf(bo, "Unit"))
360+ then aD
361+ else throw("Match error")
362+ }
363+ else if ($isInstanceOf(az, "Unit"))
364+ then if ((bh.assetId != unit))
365+ then throw("Attached payment asset is not WAVES")
366+ else unit
367+ else throw("Match error")
368+ }
369+
370+
371+func bq () = valueOrErrorMessage(getInteger(ac()), "Backing ratio is not set")
372+
373+
374+func br () = valueOrErrorMessage(getInteger(ad()), "Liquidation ratio is not set")
375+
376+
377+func bs (ap) = {
378+ let az = addressFromString(ap)
379+ if ($isInstanceOf(az, "Address"))
380+ then {
381+ let Y = az
382+ true
383+ }
384+ else if ($isInstanceOf(az, "Unit"))
385+ then throw("Invalid address")
386+ else throw("Match error")
387+ }
388+
389+
390+func bt (bu) = (size(fromBase58String(bu)) == 32)
391+
392+
393+func bv () = (lastBlock.timestamp / 1000)
394+
395+
396+func bw (aw) = {
397+ let bx = aY(aw)
398+ if ((bx == bx))
399+ then {
400+ let by = aw.payments[0].assetId
401+ let az = by
402+ if ($isInstanceOf(az, "Unit"))
403+ then {
404+ let bz = az
405+ unit
406+ }
407+ else throw("Only WAVES accepted")
408+ }
409+ else throw("Strict value is not equal to itself.")
410+ }
411+
412+
413+func bA (bi) = {
414+ let az = bi
415+ if ($isInstanceOf(az, "ByteVector"))
416+ then {
417+ let bB = az
418+ let bC = toBase58String(bB)
419+ let bD = valueOrErrorMessage(assetInfo(bB), (("Asset " + bC) + " doesn't exist"))
420+ $Tuple3(bC, bD.name, bD.decimals)
421+ }
422+ else if ($isInstanceOf(az, "Unit"))
423+ then {
424+ let bE = az
425+ $Tuple3("WAVES", "WAVES", 8)
426+ }
427+ else throw("Match error")
428+ }
429+
430+
431+func bF (bG) = {
432+ let bH = aM()
433+ let bI = (lastBlock.height - bG)
434+ if ((bH >= bI))
435+ then unit
436+ else throw("Large price delta.")
437+ }
438+
439+
440+func bJ () = {
441+ let am = getStringValue(this, ai())
442+ let bK = aI()
443+ let bG = getIntegerValue(bK, an(am))
444+ let bL = bF(bG)
445+ if ((bL == bL))
446+ then {
447+ let bM = getIntegerValue(bK, al(am))
448+ fraction(bM, c, h)
449+ }
450+ else throw("Strict value is not equal to itself.")
451+ }
452+
453+
454+let bN = "EAST"
455+
456+let bO = "EAST — Enterprise Algorithmic Stable Token built on the Waves Enterprise and Waves mainnet. Ensured both by significant overcollateralization and well-defined liquidation mechanisms. https://east.finance/"
457+
458+func bP (ap) = G(["%s%s", "allowedAddress", ap])
459+
460+
461+func bQ (ap) = valueOrElse(getBoolean(this, bP(ap)), false)
462+
463+
464+func bR (aw) = {
465+ let bS = toBase58String(aw.caller.bytes)
466+ let bT = bQ(bS)
467+ if (bT)
468+ then unit
469+ else throw(((("Unknown caller address. " + toString(aw.caller)) + " ") + toBase58String(aw.caller.bytes)))
470+ }
471+
472+
473+func bU (ap) = if (bQ(ap))
474+ then unit
475+ else throw("Address already disabled")
476+
477+
478+func bV (ap) = if (bQ(ap))
479+ then throw("Address already enabled")
480+ else unit
481+
482+
483+@Callable(aw)
484+func initialize (bW) = {
485+ let bX = [au(), bs(bW)]
486+ if ((bX == bX))
487+ then {
488+ let bY = Issue(bN, bO, 0, 8, true, unit, 0)
489+ let bZ = calculateAssetId(bY)
490+[StringEntry(J(), bW), StringEntry(T(), toBase58String(bZ)), BooleanEntry(I(), true), bY]
491+ }
492+ else throw("Strict value is not equal to itself.")
493+ }
494+
495+
496+
497+@Callable(aw)
498+func issue (ca) = {
499+ let bX = [aU(), bR(aw)]
500+ if ((bX == bX))
501+ then {
502+ let cb = aS()
503+[Reissue(cb, ca, true), ScriptTransfer(aw.caller, ca, cb)]
504+ }
505+ else throw("Strict value is not equal to itself.")
506+ }
507+
508+
509+
510+@Callable(aw)
511+func addAddress (ap) = {
512+ let bX = [at(), av(aw), bs(ap), bV(ap)]
513+ if ((bX == bX))
514+ then [BooleanEntry(bP(ap), true)]
515+ else throw("Strict value is not equal to itself.")
516+ }
517+
518+
519+
520+@Callable(aw)
521+func removeAddress (ap) = {
522+ let bX = [at(), av(aw), bs(ap), bU(ap)]
523+ if ((bX == bX))
524+ then [BooleanEntry(bP(ap), false)]
525+ else throw("Strict value is not equal to itself.")
526+ }
527+
528+
529+@Verifier(cc)
530+func cd () = {
531+ let az = ay()
532+ if ($isInstanceOf(az, "String"))
533+ then {
534+ let Y = az
535+ valueOrElse(getBoolean(addressFromStringValue(Y), ao(toString(this), toBase58String(cc.id))), false)
536+ }
537+ else sigVerify(cc.bodyBytes, cc.proofs[0], cc.senderPublicKey)
538+ }
539+

github/deemru/w8io/169f3d6 
43.43 ms