tx · 2rtTEH34b2NH1h2mdLwnZhDGVGkRNHAqvMQXevQtSmdf 3N71u3ABocdHjemdFbjqQG4Ram64wDazEoE: -0.01000000 Waves 2021.10.04 13:50 [1731377] smart account 3N71u3ABocdHjemdFbjqQG4Ram64wDazEoE > SELF 0.00000000 Waves
{ "type": 13, "id": "2rtTEH34b2NH1h2mdLwnZhDGVGkRNHAqvMQXevQtSmdf", "fee": 1000000, "feeAssetId": null, "timestamp": 1633344633954, "version": 1, "sender": "3N71u3ABocdHjemdFbjqQG4Ram64wDazEoE", "senderPublicKey": "6fmZptHX11sC3Dvnr5nNExz4RtjnxxrYh6R65C8PNmA1", "proofs": [ "4BErMyzF5XqXb8XU91WEigxXJFw461tqUEj3AVy25TMYS1992a3PyJy6hPomor3i8cPyuqzujeYRmFEnkcPKy4hf" ], "script": "base64:AAIFAAAAAAAAACIIAhIDCgEIEgMKAQgSBAoCCAgSAwoBCBIHCgUBAQEICBIAAAAAFAAAAAAGU0NBTEU4AAAAAAAAAAAIAAAAAAVNVUxUOAAAAAAABfXhAAAAAAAHU0NBTEUxOAAAAAAAAAAAEgAAAAAGTVVMVDE4CQABNgAAAAEADeC2s6dkAAAAAAAAA1NFUAIAAAACX18BAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQiAAAAAQUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPbWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAAYZ2V0U3RyaW5nQnlBZGRyZXNzT3JGYWlsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEHQAAAAIFAAAAB2FkZHJlc3MFAAAAA2tleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAptYW5kYXRvcnkgCQAEJQAAAAEFAAAAB2FkZHJ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G9ja3MFAAAABk1VTFQxOAkAATYAAAABCQAAaAAAAAIAAAAAAAAAAB4AAAAAAAAABaAEAAAAB2NvZWZmMTgJAAE6AAAAAgkAAHYAAAAGBQAAAAltb250aGVzMTgFAAAAB1NDQUxFMTgJAAE2AAAAAQAAAAAAAAAAAgAAAAAAAAAAAAUAAAAHU0NBTEUxOAUAAAAGSEFMRlVQCQABNgAAAAEAAAAAAAAAAGQEAAAACWdXeEFtb3VudAkAATwAAAADCQABNgAAAAEFAAAADWRlbHRhV3hBbW91bnQFAAAAB2NvZWZmMTgFAAAABk1VTFQxOAkABRQAAAACBQAAAANuaWwJAAS5AAAAAgkABEwAAAACAgAAAAQlZCVkCQAETAAAAAIJAAGkAAAAAQkAAaAAAAABBQAAAAlnV3hBbW91bnQJAARMAAAAAgkAAaQAAAABBQAAAAVib29zdAUAAAADbmlsBQAAAANTRVAAAAABaQEAAAAXd3hFbWlzc2lvblN0YXRzUkVBRE9OTFkAAAAABAAAAAdPTkVNVUxUCQABpAAAAAEFAAAABU1VTFQ4BAAAAANPTkUCAAAAATEEAAAAD3RvdGFsV3hSZWxlYXNlZAAAAAAAAAAAAAQAAAANdG90YWxXeExvY2tlZAAAAAAAAAAAAAQAAAAYbG9ja3NEdXJhdGlvblN1bUluQmxvY2tzAAAAAAAAAAAABAAAAApsb2Nrc0NvdW50AAAAAAAAAAAACQAFFAAAAAIFAAAAA25pbAkABLkAAAACCQAETAAAAAICAAAACCVkJWQlZCVkCQAETAAAAAIJAAGkAAAAAQUAAAAPdG90YWxXeFJlbGVhc2VkCQAETAAAAAIJAAGkAAAAAQUAAAANdG90YWxXeExvY2tlZAkABEwAAAACCQABpAAAAAEFAAAAGGxvY2tzRHVyYXRpb25TdW1JbkJsb2NrcwkABEwAAAACCQABpAAAAAEFAAAACmxvY2tzQ291bnQFAAAAA25pbAUAAAADU0VQAAAAAAThETQ=", "chainId": 84, "height": 1731377, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = 8 | |
5 | + | ||
6 | + | let b = 100000000 | |
7 | + | ||
8 | + | let c = 18 | |
9 | + | ||
10 | + | let d = toBigInt(1000000000000000000) | |
11 | + | ||
12 | + | let e = "__" | |
13 | + | ||
14 | + | func f (g) = valueOrErrorMessage(getString(g), (("mandatory this." + g) + " is not defined")) | |
15 | + | ||
16 | + | ||
17 | + | func h (i,g) = valueOrErrorMessage(getString(i, g), (((("mandatory " + toString(i)) + ".") + g) + " is not defined")) | |
18 | + | ||
19 | + | ||
20 | + | func j (i,g) = valueOrElse(getInteger(i, g), 0) | |
21 | + | ||
22 | + | ||
23 | + | func k (i,g) = valueOrErrorMessage(getInteger(i, g), (("mandatory this." + g) + " is not defined")) | |
24 | + | ||
25 | + | ||
26 | + | func l () = "%s%s__config__factoryAddress" | |
27 | + | ||
28 | + | ||
29 | + | func m (n) = makeString(["%s%s%s", n, "mappings__lpAsset2PoolContract"], e) | |
30 | + | ||
31 | + | ||
32 | + | func o () = "%s__lpTokensList" | |
33 | + | ||
34 | + | ||
35 | + | func p () = "%s__factoryConfig" | |
36 | + | ||
37 | + | ||
38 | + | func q () = addressFromStringValue(f(l())) | |
39 | + | ||
40 | + | ||
41 | + | func r () = split(valueOrElse(getString(q(), o()), ""), e) | |
42 | + | ||
43 | + | ||
44 | + | func s () = split(h(q(), p()), e) | |
45 | + | ||
46 | + | ||
47 | + | func t (u,v) = makeString(["%s%s%s__staked", u, v], e) | |
48 | + | ||
49 | + | ||
50 | + | func w (v) = ("%s%s%s__staked__total__" + v) | |
51 | + | ||
52 | + | ||
53 | + | func x (y) = addressFromStringValue(y[1]) | |
54 | + | ||
55 | + | ||
56 | + | func z (A,B) = { | |
57 | + | let C = 0 | |
58 | + | let D = (1 * b) | |
59 | + | let E = j(A, w(B)) | |
60 | + | [C, D, E] | |
61 | + | } | |
62 | + | ||
63 | + | ||
64 | + | @Callable(F) | |
65 | + | func constructor (G) = if ((F.caller != this)) | |
66 | + | then throw("not authorized") | |
67 | + | else [StringEntry(l(), G)] | |
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | @Callable(F) | |
72 | + | func currentRewardRateREADONLY (B) = { | |
73 | + | let H = s() | |
74 | + | let A = x(H) | |
75 | + | let I = z(A, B) | |
76 | + | let C = I[0] | |
77 | + | let D = I[1] | |
78 | + | let E = I[2] | |
79 | + | $Tuple2(nil, makeString(["%d%d%d", toString(C), toString(D), toString(E)], e)) | |
80 | + | } | |
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | @Callable(F) | |
85 | + | func currentUserRewardRateREADONLY (B,J) = { | |
86 | + | let H = s() | |
87 | + | let A = x(H) | |
88 | + | let I = z(A, B) | |
89 | + | let C = I[0] | |
90 | + | let D = I[1] | |
91 | + | let E = I[2] | |
92 | + | let K = j(A, t(J, B)) | |
93 | + | let L = (1 * b) | |
94 | + | $Tuple2(nil, makeString(["%d%d%d", toString(C), toString(D), toString(E), toString(K), toString(L)], e)) | |
95 | + | } | |
96 | + | ||
97 | + | ||
98 | + | ||
99 | + | @Callable(F) | |
100 | + | func claimedRewardREADONLY (J) = { | |
101 | + | let M = r() | |
102 | + | let N = "%s%d%d%d%s" | |
103 | + | func O (P,Q) = { | |
104 | + | let R = ((toInt(fromBase58String(Q)) % 100000) + (toInt(toBytes(J)) % 100000)) | |
105 | + | let S = if ((0 > R)) | |
106 | + | then -(R) | |
107 | + | else R | |
108 | + | let T = (((S % 100) * b) + (S * (b / 100000))) | |
109 | + | let U = 0 | |
110 | + | let V = 0 | |
111 | + | let W = 0 | |
112 | + | makeString([(N + P), Q, toString(U), toString(V), toString(W), "end"], e) | |
113 | + | } | |
114 | + | ||
115 | + | let X = { | |
116 | + | let Y = M | |
117 | + | let Z = size(Y) | |
118 | + | let aa = "%s" | |
119 | + | func ab (ac,ad) = if ((ad >= Z)) | |
120 | + | then ac | |
121 | + | else O(ac, Y[ad]) | |
122 | + | ||
123 | + | func ae (ac,ad) = if ((ad >= Z)) | |
124 | + | then ac | |
125 | + | else throw("List size exceeds 10") | |
126 | + | ||
127 | + | ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
128 | + | } | |
129 | + | $Tuple2(nil, ((X + e) + J)) | |
130 | + | } | |
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | @Callable(F) | |
135 | + | func calcBoostREADONLY (af,ag,ah,ai,aj) = { | |
136 | + | let ak = if ((aj != "")) | |
137 | + | then (3 * b) | |
138 | + | else (1 * b) | |
139 | + | let al = fraction(toBigInt(ag), d, toBigInt((30 * 1440))) | |
140 | + | let am = (pow(al, c, toBigInt(2), 0, c, HALFUP) / toBigInt(100)) | |
141 | + | let an = fraction(toBigInt(af), am, d) | |
142 | + | $Tuple2(nil, makeString(["%d%d", toString(toInt(an)), toString(ak)], e)) | |
143 | + | } | |
144 | + | ||
145 | + | ||
146 | + | ||
147 | + | @Callable(F) | |
148 | + | func wxEmissionStatsREADONLY () = { | |
149 | + | let ao = toString(b) | |
150 | + | let ap = "1" | |
151 | + | let aq = 0 | |
152 | + | let ar = 0 | |
153 | + | let as = 0 | |
154 | + | let at = 0 | |
155 | + | $Tuple2(nil, makeString(["%d%d%d%d", toString(aq), toString(ar), toString(as), toString(at)], e)) | |
156 | + | } | |
157 | + | ||
158 | + |
github/deemru/w8io/026f985 18.06 ms ◑