tx · EfsJf4MuUXHmR1YJAQVuChcZJwWAWpy8cKqEsFtMKLrU 3MwMkR5hVFyhNZxWAe6FxCDkhmoXoKEVhzd: -0.01400000 Waves 2021.04.11 15:35 [1477801] smart account 3MwMkR5hVFyhNZxWAe6FxCDkhmoXoKEVhzd > SELF 0.00000000 Waves
{ "type": 13, "id": "EfsJf4MuUXHmR1YJAQVuChcZJwWAWpy8cKqEsFtMKLrU", "fee": 1400000, "feeAssetId": null, "timestamp": 1618144566456, "version": 1, "sender": "3MwMkR5hVFyhNZxWAe6FxCDkhmoXoKEVhzd", "senderPublicKey": "23XGBncz2epvJgDLJ5nLGMKB3XvDivE1eivCe8G2W1gV", "proofs": [ "5XrSwyvxPk6g4FN3bxvUkumwrjC9N9j3B4RDAB2Uao7m3xt1497vyisRRbLq3a2Gjz6Zaz9j4niGDoFXAokHxka7" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIIAQAAAB0AAAAADGFkbWluUHViS2V5MQEAAAAgugnXO4lZpNFdoP/xuzPQquE5aQ/L4r2R1jvuT16o4BMAAAAADGFkbWluUHViS2V5MgEAAAAgwpFEmbPSsLQNIqWRWL2IvKE3uwjL/92M5pTvWxYOfkAAAAAADGFkbWluUHViS2V5MwEAAAAgjh4XLnixBzv0SE56Myhgdih3/JnlkjCjIMLPqKvpDlUAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAATa1VzZXJQb29sQWN0aXZlU1dPUAIAAAAMX2FjdGl2ZV92b3RlAAAAABNrVXNlclBvb2xGcmVlemVTV09QAgAAAAxfZnJlZXplX3ZvdGUAAAAAEmtVc2VyVG90YWxWb3RlU1dPUAIAAAAVX3VzZXJfdG90YWxfU1dPUF92b3RlAAAAABNrVXNlclBvb2xWb3RlUGVyaW9kAgAAAAdfcGVyaW9kAAAAAAxrVXNlclVudm90ZWQCAAAACF91bnZvdGVkAAAAABJrVXNlclVudm90ZWRQZXJpb2QCAAAAD191bnZvdGVkX3BlcmlvZA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vdGFsVm90ZVNXT1AFAAAAD3RvdGFsRnJlZXplU1dPUAQAAAAKdG90YWxFbnRyeQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAMa1RvdGFsUGVyaW9kBQAAAApjdXJyUGVyaW9kCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAABBrVG90YWxGcmVlemVTV09QBQAAABJ0b3RhbEZyZWV6ZVNXT1BuZXcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAEGtUb3RhbEFjdGl2ZVNXT1AFAAAAFnRvdGFsQWN0aXZlVm90ZVNXT1BuZXcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAADmtUb3RhbFZvdGVTV09QBQAAABB0b3RhbFZvdGVTV09QbmV3BQAAAANuaWwJAAROAAAAAgkABE4AAAACBQAAAAl1c2VyRW50cnkFAAAACXBvb2xFbnRyeQUAAAAKdG90YWxFbnRyeQAAAABa5mvK", "chainId": 84, "height": 1477801, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'DXDY2itiEcYBtGkVLnkpHtDFyWQUkoLJz79uJ7ECbMrA' | |
5 | + | ||
6 | + | let b = base58'E6Wa1SGoktYcjHjsKrvjMiqJY3SWmGKcD8Q5L8kxSPS7' | |
7 | + | ||
8 | + | let c = base58'AZmWJtuy4GeVrMmJH4hfFBRApe1StvhJSk4jcbT6bArQ' | |
9 | + | ||
10 | + | let d = "_vote" | |
11 | + | ||
12 | + | let e = "_active_vote" | |
13 | + | ||
14 | + | let f = "_freeze_vote" | |
15 | + | ||
16 | + | let g = "_user_total_SWOP_vote" | |
17 | + | ||
18 | + | let h = "_period" | |
19 | + | ||
20 | + | let i = "_unvoted" | |
21 | + | ||
22 | + | let j = "_unvoted_period" | |
23 | + | ||
24 | + | let k = "_vote_SWOP" | |
25 | + | ||
26 | + | let l = "_active_vote_SWOP" | |
27 | + | ||
28 | + | let m = "_vote_SWOP_freeze" | |
29 | + | ||
30 | + | let n = "_pool_period" | |
31 | + | ||
32 | + | let o = "total_vote_SWOP" | |
33 | + | ||
34 | + | let p = "total_active_vote_SWOP" | |
35 | + | ||
36 | + | let q = "total_vote_SWOP_freeze" | |
37 | + | ||
38 | + | let r = "total_pool_period" | |
39 | + | ||
40 | + | let s = 0 | |
41 | + | ||
42 | + | let t = (1477797 - 3000) | |
43 | + | ||
44 | + | let u = 10102 | |
45 | + | ||
46 | + | let v = 100000000 | |
47 | + | ||
48 | + | let w = 2880 | |
49 | + | ||
50 | + | let x = 10000000 | |
51 | + | ||
52 | + | let y = Address(base58'3N8gfDJc5N53ePx2qBn3oQXbnhbz3Z7WFNj') | |
53 | + | ||
54 | + | let z = (s + ((height - t) / u)) | |
55 | + | ||
56 | + | func A (B) = if (if ((valueOrElse(getInteger(y, (toString(B) + "_SWOP_amount")), 0) > 0)) | |
57 | + | then true | |
58 | + | else (valueOrElse(getInteger(this, (toString(B) + g)), 0) > 0)) | |
59 | + | then true | |
60 | + | else false | |
61 | + | ||
62 | + | ||
63 | + | func C (D) = isDefined(getInteger(y, (D + "_current_pool_fraction_reward"))) | |
64 | + | ||
65 | + | ||
66 | + | func E () = { | |
67 | + | let F = (height - (t + (z * u))) | |
68 | + | if ((w > F)) | |
69 | + | then v | |
70 | + | else { | |
71 | + | let G = w | |
72 | + | let H = v | |
73 | + | let I = u | |
74 | + | let J = x | |
75 | + | let K = (((J - H) * v) / (I - G)) | |
76 | + | let L = ((H * v) - (K * G)) | |
77 | + | (((F * K) / v) + (L / v)) | |
78 | + | } | |
79 | + | } | |
80 | + | ||
81 | + | ||
82 | + | @Callable(M) | |
83 | + | func votePoolWeight (D,N) = { | |
84 | + | let O = valueOrElse(getInteger(this, (toString(M.caller) + g)), 0) | |
85 | + | let P = valueOrElse(getInteger(this, (((toString(M.caller) + "_") + D) + d)), 0) | |
86 | + | let Q = valueOrElse(getInteger(this, (((toString(M.caller) + "_") + D) + h)), 0) | |
87 | + | let R = valueOrElse(getInteger(this, (((toString(M.caller) + "_") + D) + e)), 0) | |
88 | + | let S = valueOrElse(getInteger(this, (((toString(M.caller) + "_") + D) + f)), 0) | |
89 | + | let T = valueOrElse(getInteger(this, ((toString(M.caller) + "_") + i)), 0) | |
90 | + | let U = valueOrElse(getInteger(this, ((toString(M.caller) + "_") + j)), 0) | |
91 | + | let V = getIntegerValue(y, (toString(M.caller) + "_SWOP_amount")) | |
92 | + | let W = valueOrElse(getInteger(this, (D + k)), 0) | |
93 | + | let X = valueOrElse(getInteger(this, (D + l)), 0) | |
94 | + | let Y = valueOrElse(getInteger(this, (D + m)), 0) | |
95 | + | let Z = valueOrElse(getInteger(this, (D + n)), 0) | |
96 | + | let aa = valueOrElse(getInteger(this, o), 0) | |
97 | + | let ab = valueOrElse(getInteger(this, p), 0) | |
98 | + | let ac = valueOrElse(getInteger(this, q), 0) | |
99 | + | let ad = valueOrElse(getInteger(this, r), 0) | |
100 | + | let ae = (N - P) | |
101 | + | let af = (aa + ae) | |
102 | + | if (!(A(M.caller))) | |
103 | + | then throw("This address has 0 SWOP in Governance dApp") | |
104 | + | else if ((af > V)) | |
105 | + | then throw(((((toString(this) + " has ") + toString(V)) + " SWOP in governance. New SWOP in voting ") + toString(af))) | |
106 | + | else if ((N >= P)) | |
107 | + | then { | |
108 | + | let ag = E() | |
109 | + | let ah = if ((Q == z)) | |
110 | + | then (R + ((ae * ag) / v)) | |
111 | + | else (P + ((ae * ag) / v)) | |
112 | + | let ai = if ((Q == z)) | |
113 | + | then S | |
114 | + | else P | |
115 | + | let aj = if ((T == z)) | |
116 | + | then T | |
117 | + | else max([0, (T - ae)]) | |
118 | + | let ak = [IntegerEntry((((toString(M.caller) + "_") + D) + h), z), IntegerEntry((((toString(M.caller) + "_") + D) + e), ah), IntegerEntry((((toString(M.caller) + "_") + D) + f), ai), IntegerEntry((((toString(M.caller) + "_") + D) + d), N), IntegerEntry((((toString(M.caller) + "_") + D) + g), af), IntegerEntry(((toString(M.caller) + "_") + i), aj)] | |
119 | + | let al = (W + ae) | |
120 | + | let am = if ((Z == z)) | |
121 | + | then (X + ((ae * ag) / v)) | |
122 | + | else (W + ((ae * ag) / v)) | |
123 | + | let an = if ((Z == z)) | |
124 | + | then Y | |
125 | + | else W | |
126 | + | let ao = [IntegerEntry((D + n), z), IntegerEntry((D + l), am), IntegerEntry((D + m), an), IntegerEntry((D + k), al)] | |
127 | + | let ap = (aa + ae) | |
128 | + | let aq = if ((ad == z)) | |
129 | + | then (ab + ((ae * ag) / v)) | |
130 | + | else (aa + ((ae * ag) / v)) | |
131 | + | let ar = if ((Z == z)) | |
132 | + | then ac | |
133 | + | else aa | |
134 | + | let as = [IntegerEntry(r, z), IntegerEntry(p, am), IntegerEntry(q, an), IntegerEntry(o, al)] | |
135 | + | ((ak ++ ao) ++ as) | |
136 | + | } | |
137 | + | else { | |
138 | + | let at = -(ae) | |
139 | + | let ai = if ((Q == z)) | |
140 | + | then min([S, N]) | |
141 | + | else N | |
142 | + | let ah = if (((P - S) == 0)) | |
143 | + | then 0 | |
144 | + | else (ai + (((R - S) * (N - ai)) / (P - S))) | |
145 | + | let au = max([0, (at - (if ((U == z)) | |
146 | + | then (P - S) | |
147 | + | else 0))]) | |
148 | + | let aj = if ((U == z)) | |
149 | + | then T | |
150 | + | else (0 + au) | |
151 | + | let av = if ((au > 0)) | |
152 | + | then z | |
153 | + | else U | |
154 | + | let ak = [IntegerEntry((((toString(M.caller) + "_") + D) + h), z), IntegerEntry((((toString(M.caller) + "_") + D) + f), ai), IntegerEntry((((toString(M.caller) + "_") + D) + e), ah), IntegerEntry((((toString(M.caller) + "_") + D) + d), N), IntegerEntry((((toString(M.caller) + "_") + D) + g), af), IntegerEntry((((toString(M.caller) + "_") + D) + i), aj), IntegerEntry((((toString(M.caller) + "_") + D) + j), U)] | |
155 | + | let al = (W - at) | |
156 | + | let an = if ((Z == z)) | |
157 | + | then min([Y, al]) | |
158 | + | else al | |
159 | + | let aw = if (((W - Y) == 0)) | |
160 | + | then 0 | |
161 | + | else (an + (((X - Y) * (al - an)) / (W - Y))) | |
162 | + | let ao = [IntegerEntry((D + n), z), IntegerEntry((D + m), an), IntegerEntry((D + l), aw), IntegerEntry((D + k), al)] | |
163 | + | let ap = (aa - at) | |
164 | + | let ar = if ((ad == z)) | |
165 | + | then min([ac, ap]) | |
166 | + | else ap | |
167 | + | let ax = if (((aa - ac) == 0)) | |
168 | + | then 0 | |
169 | + | else (ar + (((ab - ac) * (ap - ar)) / (aa - ac))) | |
170 | + | let as = [IntegerEntry(r, z), IntegerEntry(q, ar), IntegerEntry(p, ax), IntegerEntry(o, ap)] | |
171 | + | ((ak ++ ao) ++ as) | |
172 | + | } | |
173 | + | } | |
174 | + | ||
175 | + |
github/deemru/w8io/026f985 22.57 ms ◑