tx · FL4GFfYompWgLu5cUb7HaMBJZrR8ZLzHqKjbMUJTaTXM 3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN: -0.01400000 Waves 2021.04.14 14:05 [1482032] smart account 3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN > SELF 0.00000000 Waves
{ "type": 13, "id": "FL4GFfYompWgLu5cUb7HaMBJZrR8ZLzHqKjbMUJTaTXM", "fee": 1400000, "feeAssetId": null, "timestamp": 1618398342385, "version": 2, "chainId": 84, "sender": "3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN", "senderPublicKey": "9NDcimsSfq5LxxqoVoq2nbMd1zPqZhFvr6mVUiXWwtM1", "proofs": [ "2ZXh1FDrKHpUiexeH2su2suHJEgJkXMSdGjdyjgx3swrysXQnHBnDYbJXZqAXwcnRkHy5Xb3qd5tVCVL2PQkE1XV" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIIAQAAABwAAAAADGFkbWluUHViS2V5MQEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAADGFkbWluUHViS2V5MgEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAADGFkbWluUHViS2V5MwEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAAOa1VzZXJQb29sU3RydWMCAAAAEF91c2VyX3Bvb2xfc3RydWMAAAAAEmtVc2VyVG90YWxWb3RlU1dPUAIAAAAVX3VzZXJfdG90YWxfU1dPUF92b3RlAAAAAA9rVXNlclRvdGFsU3RydWMCAAAAEV91c2VyX3RvdGFsX3N0cnVjAAAAAA1rUG9vbFZvdGVTV09QAgAAAApfdm90ZV9TV09QAAAAAAprUG9vbFN0cnVjAgAAAAtfcG9vbF9zdHJ1YwAAAAAOa1RvdGFsVm90ZVNXT1ACAAAAD3RvdGF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AAAC3Bvb2xBZGRyZXNzBQAAABN1c2VyUG9vbFZvdGVTV09QbmV3AAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmfMU9p", "height": 1482032, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FjzehcvbdDcf6ktFTQ4MCg9Fp75k2ieQkvSSuhRsQ8Km Next: CFHhdqK7k3xQvapGkFYrXE9SuGJczFVYnKcRJ8t2MbHX Diff:
Old | New | Differences | |
---|---|---|---|
106 | 106 | let X = T._2 | |
107 | 107 | let Y = T._3 | |
108 | 108 | let Z = T._4 | |
109 | - | let aa = if (isDefined(getString(this, (toString(R.caller) + g)))) | |
110 | - | then { | |
111 | - | let U = split(valueOrErrorMessage(getString(this, (toString(R.caller) + g)), "Empty kUserTotalStruc"), "_") | |
112 | - | $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2])) | |
113 | - | } | |
114 | - | else { | |
115 | - | let ab = valueOrElse(getInteger(this, (toString(R.caller) + f)), 0) | |
116 | - | $Tuple3(ab, 0, x) | |
117 | - | } | |
118 | - | let ac = aa._1 | |
119 | - | let ad = aa._2 | |
120 | - | let ae = aa._3 | |
121 | - | let af = if (isDefined(getString(this, (B + i)))) | |
122 | - | then { | |
123 | - | let U = split(valueOrErrorMessage(getString(this, (B + i)), "Empty kPoolStruc"), "_") | |
124 | - | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
125 | - | } | |
126 | - | else { | |
127 | - | let V = valueOrElse(getInteger(this, (B + h)), 0) | |
128 | - | $Tuple4(V, V, 0, 0) | |
129 | - | } | |
130 | - | let ag = af._1 | |
131 | - | let ah = af._2 | |
132 | - | let ai = af._3 | |
133 | - | let aj = af._4 | |
134 | - | let ak = if (isDefined(getString(this, k))) | |
135 | - | then { | |
136 | - | let U = split(valueOrErrorMessage(getString(this, k), "Empty kTotalStruc"), "_") | |
137 | - | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
138 | - | } | |
139 | - | else { | |
140 | - | let al = valueOrElse(getInteger(this, j), 0) | |
141 | - | $Tuple4(al, al, 0, 0) | |
142 | - | } | |
143 | - | let am = ak._1 | |
144 | - | let an = ak._2 | |
145 | - | let ao = ak._3 | |
146 | - | let ap = ak._4 | |
147 | 109 | if (true) | |
148 | 110 | then throw(toString(M)) | |
149 | 111 | else { | |
112 | + | let aa = if (isDefined(getString(this, (toString(R.caller) + g)))) | |
113 | + | then { | |
114 | + | let U = split(valueOrErrorMessage(getString(this, (toString(R.caller) + g)), "Empty kUserTotalStruc"), "_") | |
115 | + | $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2])) | |
116 | + | } | |
117 | + | else { | |
118 | + | let ab = valueOrElse(getInteger(this, (toString(R.caller) + f)), 0) | |
119 | + | $Tuple3(ab, 0, x) | |
120 | + | } | |
121 | + | let ac = aa._1 | |
122 | + | let ad = aa._2 | |
123 | + | let ae = aa._3 | |
124 | + | let af = if (isDefined(getString(this, (B + i)))) | |
125 | + | then { | |
126 | + | let U = split(valueOrErrorMessage(getString(this, (B + i)), "Empty kPoolStruc"), "_") | |
127 | + | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
128 | + | } | |
129 | + | else { | |
130 | + | let V = valueOrElse(getInteger(this, (B + h)), 0) | |
131 | + | $Tuple4(V, V, 0, 0) | |
132 | + | } | |
133 | + | let ag = af._1 | |
134 | + | let ah = af._2 | |
135 | + | let ai = af._3 | |
136 | + | let aj = af._4 | |
137 | + | let ak = if (isDefined(getString(this, k))) | |
138 | + | then { | |
139 | + | let U = split(valueOrErrorMessage(getString(this, k), "Empty kTotalStruc"), "_") | |
140 | + | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
141 | + | } | |
142 | + | else { | |
143 | + | let al = valueOrElse(getInteger(this, j), 0) | |
144 | + | $Tuple4(al, al, 0, 0) | |
145 | + | } | |
146 | + | let am = ak._1 | |
147 | + | let an = ak._2 | |
148 | + | let ao = ak._3 | |
149 | + | let ap = ak._4 | |
150 | 150 | let aq = (M - W) | |
151 | 151 | let ar = (ac + aq) | |
152 | 152 | if (!(y(R.caller))) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
5 | 5 | ||
6 | 6 | let b = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
7 | 7 | ||
8 | 8 | let c = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
9 | 9 | ||
10 | 10 | let d = "_vote" | |
11 | 11 | ||
12 | 12 | let e = "_user_pool_struc" | |
13 | 13 | ||
14 | 14 | let f = "_user_total_SWOP_vote" | |
15 | 15 | ||
16 | 16 | let g = "_user_total_struc" | |
17 | 17 | ||
18 | 18 | let h = "_vote_SWOP" | |
19 | 19 | ||
20 | 20 | let i = "_pool_struc" | |
21 | 21 | ||
22 | 22 | let j = "total_vote_SWOP" | |
23 | 23 | ||
24 | 24 | let k = "total_struc" | |
25 | 25 | ||
26 | 26 | let l = "start_height" | |
27 | 27 | ||
28 | 28 | let m = "base_period" | |
29 | 29 | ||
30 | 30 | let n = "period_length" | |
31 | 31 | ||
32 | 32 | let o = "duration_full_vote_power" | |
33 | 33 | ||
34 | 34 | let p = "min_vote_power" | |
35 | 35 | ||
36 | 36 | let q = 100000000 | |
37 | 37 | ||
38 | 38 | let r = valueOrErrorMessage(getInteger(this, m), "Empty kBasePeriod") | |
39 | 39 | ||
40 | 40 | let s = valueOrErrorMessage(getInteger(this, l), "Empty kStartHeight") | |
41 | 41 | ||
42 | 42 | let t = valueOrErrorMessage(getInteger(this, n), "Empty kPeriodLength") | |
43 | 43 | ||
44 | 44 | let u = valueOrErrorMessage(getInteger(this, o), "Empty kDurationFullVotePower") | |
45 | 45 | ||
46 | 46 | let v = valueOrErrorMessage(getInteger(this, p), "Empty kMinVotePower") | |
47 | 47 | ||
48 | 48 | let w = Address(base58'3MzJZEn6jzxCPaHEfkrXd7FhbjTyVjdRPLS') | |
49 | 49 | ||
50 | 50 | let x = (r + ((height - s) / t)) | |
51 | 51 | ||
52 | 52 | func y (z) = if ((valueOrElse(getInteger(w, (toString(z) + "_SWOP_amount")), 0) > 0)) | |
53 | 53 | then true | |
54 | 54 | else false | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func A (B) = isDefined(getInteger(w, (B + "_current_pool_fraction_reward"))) | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func C () = { | |
61 | 61 | let D = (height - (s + (x * t))) | |
62 | 62 | if ((u > D)) | |
63 | 63 | then q | |
64 | 64 | else { | |
65 | 65 | let E = u | |
66 | 66 | let F = q | |
67 | 67 | let G = t | |
68 | 68 | let H = v | |
69 | 69 | let I = (((H - F) * q) / (G - E)) | |
70 | 70 | let J = ((F * q) - (I * E)) | |
71 | 71 | (((D * I) / q) + (J / q)) | |
72 | 72 | } | |
73 | 73 | } | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func K (L,B,M) = { | |
77 | 77 | let N = if (isDefined(getInteger(this, (((L + "_") + B) + d)))) | |
78 | 78 | then DeleteEntry((((L + "_") + B) + d)) | |
79 | 79 | else DeleteEntry(".") | |
80 | 80 | let O = if (isDefined(getInteger(this, (L + f)))) | |
81 | 81 | then DeleteEntry((L + f)) | |
82 | 82 | else DeleteEntry(".") | |
83 | 83 | let P = if (isDefined(getInteger(this, (B + h)))) | |
84 | 84 | then DeleteEntry((B + h)) | |
85 | 85 | else DeleteEntry(".") | |
86 | 86 | let Q = if (isDefined(getInteger(this, j))) | |
87 | 87 | then DeleteEntry(j) | |
88 | 88 | else DeleteEntry(".") | |
89 | 89 | [N, O, P, Q] | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | @Callable(R) | |
94 | 94 | func votePoolWeight (B,M) = { | |
95 | 95 | let S = valueOrErrorMessage(getInteger(w, (toString(R.caller) + "_SWOP_amount")), "Empty _SWOP_amount at gov. address") | |
96 | 96 | let T = if (isDefined(getString(this, (((toString(R.caller) + "_") + B) + e)))) | |
97 | 97 | then { | |
98 | 98 | let U = split(valueOrErrorMessage(getString(this, (((toString(R.caller) + "_") + B) + e)), "Empty kUserPoolStruc"), "_") | |
99 | 99 | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
100 | 100 | } | |
101 | 101 | else { | |
102 | 102 | let V = valueOrElse(getInteger(this, (((toString(R.caller) + "_") + B) + d)), 0) | |
103 | 103 | $Tuple4(V, V, x, 0) | |
104 | 104 | } | |
105 | 105 | let W = T._1 | |
106 | 106 | let X = T._2 | |
107 | 107 | let Y = T._3 | |
108 | 108 | let Z = T._4 | |
109 | - | let aa = if (isDefined(getString(this, (toString(R.caller) + g)))) | |
110 | - | then { | |
111 | - | let U = split(valueOrErrorMessage(getString(this, (toString(R.caller) + g)), "Empty kUserTotalStruc"), "_") | |
112 | - | $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2])) | |
113 | - | } | |
114 | - | else { | |
115 | - | let ab = valueOrElse(getInteger(this, (toString(R.caller) + f)), 0) | |
116 | - | $Tuple3(ab, 0, x) | |
117 | - | } | |
118 | - | let ac = aa._1 | |
119 | - | let ad = aa._2 | |
120 | - | let ae = aa._3 | |
121 | - | let af = if (isDefined(getString(this, (B + i)))) | |
122 | - | then { | |
123 | - | let U = split(valueOrErrorMessage(getString(this, (B + i)), "Empty kPoolStruc"), "_") | |
124 | - | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
125 | - | } | |
126 | - | else { | |
127 | - | let V = valueOrElse(getInteger(this, (B + h)), 0) | |
128 | - | $Tuple4(V, V, 0, 0) | |
129 | - | } | |
130 | - | let ag = af._1 | |
131 | - | let ah = af._2 | |
132 | - | let ai = af._3 | |
133 | - | let aj = af._4 | |
134 | - | let ak = if (isDefined(getString(this, k))) | |
135 | - | then { | |
136 | - | let U = split(valueOrErrorMessage(getString(this, k), "Empty kTotalStruc"), "_") | |
137 | - | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
138 | - | } | |
139 | - | else { | |
140 | - | let al = valueOrElse(getInteger(this, j), 0) | |
141 | - | $Tuple4(al, al, 0, 0) | |
142 | - | } | |
143 | - | let am = ak._1 | |
144 | - | let an = ak._2 | |
145 | - | let ao = ak._3 | |
146 | - | let ap = ak._4 | |
147 | 109 | if (true) | |
148 | 110 | then throw(toString(M)) | |
149 | 111 | else { | |
112 | + | let aa = if (isDefined(getString(this, (toString(R.caller) + g)))) | |
113 | + | then { | |
114 | + | let U = split(valueOrErrorMessage(getString(this, (toString(R.caller) + g)), "Empty kUserTotalStruc"), "_") | |
115 | + | $Tuple3(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2])) | |
116 | + | } | |
117 | + | else { | |
118 | + | let ab = valueOrElse(getInteger(this, (toString(R.caller) + f)), 0) | |
119 | + | $Tuple3(ab, 0, x) | |
120 | + | } | |
121 | + | let ac = aa._1 | |
122 | + | let ad = aa._2 | |
123 | + | let ae = aa._3 | |
124 | + | let af = if (isDefined(getString(this, (B + i)))) | |
125 | + | then { | |
126 | + | let U = split(valueOrErrorMessage(getString(this, (B + i)), "Empty kPoolStruc"), "_") | |
127 | + | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
128 | + | } | |
129 | + | else { | |
130 | + | let V = valueOrElse(getInteger(this, (B + h)), 0) | |
131 | + | $Tuple4(V, V, 0, 0) | |
132 | + | } | |
133 | + | let ag = af._1 | |
134 | + | let ah = af._2 | |
135 | + | let ai = af._3 | |
136 | + | let aj = af._4 | |
137 | + | let ak = if (isDefined(getString(this, k))) | |
138 | + | then { | |
139 | + | let U = split(valueOrErrorMessage(getString(this, k), "Empty kTotalStruc"), "_") | |
140 | + | $Tuple4(parseIntValue(U[0]), parseIntValue(U[1]), parseIntValue(U[2]), parseIntValue(U[3])) | |
141 | + | } | |
142 | + | else { | |
143 | + | let al = valueOrElse(getInteger(this, j), 0) | |
144 | + | $Tuple4(al, al, 0, 0) | |
145 | + | } | |
146 | + | let am = ak._1 | |
147 | + | let an = ak._2 | |
148 | + | let ao = ak._3 | |
149 | + | let ap = ak._4 | |
150 | 150 | let aq = (M - W) | |
151 | 151 | let ar = (ac + aq) | |
152 | 152 | if (!(y(R.caller))) | |
153 | 153 | then throw("This address has 0 SWOP in Governance dApp") | |
154 | 154 | else if (false) | |
155 | 155 | then throw((((" has " + toString(S)) + " SWOP in governance. New SWOP in voting ") + toString(ar))) | |
156 | 156 | else if (true) | |
157 | 157 | then throw(toString(aq)) | |
158 | 158 | else if (true) | |
159 | 159 | then throw("line 121") | |
160 | 160 | else if ((M >= W)) | |
161 | 161 | then { | |
162 | 162 | let as = C() | |
163 | 163 | let at = if ((Y == x)) | |
164 | 164 | then (X + ((aq * as) / q)) | |
165 | 165 | else (W + ((aq * as) / q)) | |
166 | 166 | let au = if ((Y == x)) | |
167 | 167 | then Z | |
168 | 168 | else W | |
169 | 169 | let av = if ((ad == x)) | |
170 | 170 | then ad | |
171 | 171 | else max([0, (ad - aq)]) | |
172 | 172 | let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au)) | |
173 | 173 | let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)] | |
174 | 174 | let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x)) | |
175 | 175 | let az = [StringEntry((toString(R.caller) + g), ay)] | |
176 | 176 | let aA = (ag + aq) | |
177 | 177 | let aB = if ((ai == x)) | |
178 | 178 | then (ah + ((aq * as) / q)) | |
179 | 179 | else (ag + ((aq * as) / q)) | |
180 | 180 | let aC = if ((ai == x)) | |
181 | 181 | then aj | |
182 | 182 | else ag | |
183 | 183 | let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC)) | |
184 | 184 | let aE = [StringEntry((B + i), aD)] | |
185 | 185 | let aF = (am + aq) | |
186 | 186 | let aG = if ((ao == x)) | |
187 | 187 | then (an + ((aq * as) / q)) | |
188 | 188 | else (am + ((aq * as) / q)) | |
189 | 189 | let aH = if ((ai == x)) | |
190 | 190 | then ap | |
191 | 191 | else am | |
192 | 192 | let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH)) | |
193 | 193 | let aJ = [StringEntry(k, aI)] | |
194 | 194 | ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M)) | |
195 | 195 | } | |
196 | 196 | else { | |
197 | 197 | let aK = -(aq) | |
198 | 198 | let au = if ((Y == x)) | |
199 | 199 | then min([Z, M]) | |
200 | 200 | else M | |
201 | 201 | let at = if (((W - Z) == 0)) | |
202 | 202 | then 0 | |
203 | 203 | else (au + (((X - Z) * (M - au)) / (W - Z))) | |
204 | 204 | let aL = max([0, (aK - (if ((ae == x)) | |
205 | 205 | then (W - Z) | |
206 | 206 | else 0))]) | |
207 | 207 | let av = if ((ae == x)) | |
208 | 208 | then ad | |
209 | 209 | else (0 + aL) | |
210 | 210 | let aM = if ((aL > 0)) | |
211 | 211 | then x | |
212 | 212 | else ae | |
213 | 213 | let aw = ((((((toString(M) + "_") + toString(at)) + "_") + toString(x)) + "_") + toString(au)) | |
214 | 214 | let ax = [StringEntry((((toString(R.caller) + "_") + B) + e), aw)] | |
215 | 215 | let ay = ((((toString(ar) + "_") + toString(av)) + "_") + toString(x)) | |
216 | 216 | let az = [StringEntry((toString(R.caller) + g), ay)] | |
217 | 217 | let aA = (ag - aK) | |
218 | 218 | let aC = if ((ai == x)) | |
219 | 219 | then min([aj, aA]) | |
220 | 220 | else aA | |
221 | 221 | let aB = if (((ag - aj) == 0)) | |
222 | 222 | then 0 | |
223 | 223 | else (aC + (((ah - aj) * (aA - aC)) / (ag - aj))) | |
224 | 224 | let aD = ((((((toString(aA) + "_") + toString(aB)) + "_") + toString(x)) + "_") + toString(aC)) | |
225 | 225 | let aE = [StringEntry((B + i), aD)] | |
226 | 226 | let aF = (am - aK) | |
227 | 227 | let aH = if ((ao == x)) | |
228 | 228 | then min([ap, aF]) | |
229 | 229 | else aF | |
230 | 230 | let aG = if (((am - ap) == 0)) | |
231 | 231 | then 0 | |
232 | 232 | else (aH + (((an - ap) * (aF - aH)) / (am - ap))) | |
233 | 233 | let aI = ((((((toString(aF) + "_") + toString(aG)) + "_") + toString(ao)) + "_") + toString(aH)) | |
234 | 234 | let aJ = [StringEntry(k, aI)] | |
235 | 235 | ((((ax ++ az) ++ aE) ++ aJ) ++ K(toString(R.caller), B, M)) | |
236 | 236 | } | |
237 | 237 | } | |
238 | 238 | } | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | @Verifier(aN) | |
242 | 242 | func aO () = sigVerify(aN.bodyBytes, aN.proofs[0], aN.senderPublicKey) | |
243 | 243 |
github/deemru/w8io/fabc49c 43.14 ms ◑