tx · HJ6hBzhyoMfDoWDHjvt4EXj2AnfnGFeYYvdEReK5kAn7 3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN: -0.01400000 Waves 2021.04.15 20:06 [1483829] smart account 3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN > SELF 0.00000000 Waves
{ "type": 13, "id": "HJ6hBzhyoMfDoWDHjvt4EXj2AnfnGFeYYvdEReK5kAn7", "fee": 1400000, "feeAssetId": null, "timestamp": 1618506427872, "version": 2, "chainId": 84, "sender": "3N6CYoCsxrcXKe75pQvvV3JqJrwJjm1t4QN", "senderPublicKey": "9NDcimsSfq5LxxqoVoq2nbMd1zPqZhFvr6mVUiXWwtM1", "proofs": [ "3aoHbJhYtTaLXC8nrFmHbswfjntjxAMUXffWHHsQ6FkSoDipBdqu7YidjmimyQxnQrkdJyCHCfxVun24cCVEPZVx" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAABwAAAAADGFkbWluUHViS2V5MQEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAADGFkbWluUHViS2V5MgEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAADGFkbWluUHViS2V5MwEAAAAgBM915WTQwQ9OZ7kfE2TEGg3qhCRCMX0zkF1AWAqdk0oAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAAOa1VzZXJQb29sU3RydWMCAAAAEF91c2VyX3Bvb2xfc3RydWMAAAAAEmtVc2VyVG90YWxWb3RlU1dPUAIAAAAVX3VzZXJfdG90YWxfU1dPUF92b3RlAAAAAA9rVXNlclRvdGFsU3RydWMCAAAAEV91c2VyX3RvdGFsX3N0cnVjAAAAAA1rUG9vbFZvdGVTV09QAgAAAApfdm90ZV9TV09QAAAAAAprUG9vbFN0cnVjAgAAAAtfcG9vbF9zdHJ1YwAAAAAOa1RvdGFsVm90ZVNXT1ACAAAAD3RvdGFsX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3RhbEVudHJ5CQEAAAAPY2FsY0RlbGV0ZUVudHJ5AAAAAwkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAC3Bvb2xBZGRyZXNzBQAAABN1c2VyUG9vbFZvdGVTV09QbmV3AAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkFkEo6", "height": 1483829, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AQEwDpn5YGc5fFoHfHvh4XkZH7KpfdVBuQorjYBgesv2 Next: 7gQCpdrVA9weexAzjbEUFJK1xZCzb4NhPYJABhe3GveQ Diff:
Old | New | Differences | |
---|---|---|---|
192 | 192 | let aJ = if ((ak == x)) | |
193 | 193 | then ar | |
194 | 194 | else ao | |
195 | - | let aK = ((((((toString(aH) + "_") + toString(aI)) + "_") + toString( | |
195 | + | let aK = ((((((toString(aH) + "_") + toString(aI)) + "_") + toString(x)) + "_") + toString(aJ)) | |
196 | 196 | let aL = [StringEntry(k, aK)] | |
197 | 197 | ((((az ++ aB) ++ aG) ++ aL) ++ K(toString(R.caller), B, M)) | |
198 | 198 | } | |
233 | 233 | let aI = if (((ao - ar) == 0)) | |
234 | 234 | then 0 | |
235 | 235 | else (aJ + (((ap - ar) * (aH - aJ)) / (ao - ar))) | |
236 | - | let aK = ((((((toString(aH) + "_") + toString(aI)) + "_") + toString( | |
236 | + | let aK = ((((((toString(aH) + "_") + toString(aI)) + "_") + toString(x)) + "_") + toString(aJ)) | |
237 | 237 | let aL = [StringEntry(k, aK)] | |
238 | 238 | let aP = [x, aw, av, aw, ax, aO, aC, aE, aD, aH, aJ, aI] | |
239 | 239 | if ((0 > min(aP))) |
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 (S,T) = if (if ((size(S) > 1)) | |
95 | 95 | then true | |
96 | 96 | else (size(T) > 1)) | |
97 | 97 | then throw(" poolAddressesL.size > 1 or poolsVoteSWOPNewL.size >") | |
98 | 98 | else { | |
99 | 99 | let B = S[0] | |
100 | 100 | let M = T[0] | |
101 | 101 | let U = valueOrErrorMessage(getInteger(w, (toString(R.caller) + "_SWOP_amount")), "Empty _SWOP_amount at gov. address") | |
102 | 102 | let V = if (isDefined(getString(this, (((toString(R.caller) + "_") + B) + e)))) | |
103 | 103 | then { | |
104 | 104 | let W = split(valueOrErrorMessage(getString(this, (((toString(R.caller) + "_") + B) + e)), "Empty kUserPoolStruc"), "_") | |
105 | 105 | $Tuple4(parseIntValue(W[0]), parseIntValue(W[1]), parseIntValue(W[2]), parseIntValue(W[3])) | |
106 | 106 | } | |
107 | 107 | else { | |
108 | 108 | let X = valueOrElse(getInteger(this, (((toString(R.caller) + "_") + B) + d)), 0) | |
109 | 109 | $Tuple4(X, X, 0, 0) | |
110 | 110 | } | |
111 | 111 | let Y = V._1 | |
112 | 112 | let Z = V._2 | |
113 | 113 | let aa = V._3 | |
114 | 114 | let ab = V._4 | |
115 | 115 | let ac = if (isDefined(getString(this, (toString(R.caller) + g)))) | |
116 | 116 | then { | |
117 | 117 | let W = split(valueOrErrorMessage(getString(this, (toString(R.caller) + g)), "Empty kUserTotalStruc"), "_") | |
118 | 118 | $Tuple3(parseIntValue(W[0]), parseIntValue(W[1]), parseIntValue(W[2])) | |
119 | 119 | } | |
120 | 120 | else { | |
121 | 121 | let ad = valueOrElse(getInteger(this, (toString(R.caller) + f)), 0) | |
122 | 122 | $Tuple3(ad, 0, 0) | |
123 | 123 | } | |
124 | 124 | let ae = ac._1 | |
125 | 125 | let af = ac._2 | |
126 | 126 | let ag = ac._3 | |
127 | 127 | let ah = if (isDefined(getString(this, (B + i)))) | |
128 | 128 | then { | |
129 | 129 | let W = split(valueOrErrorMessage(getString(this, (B + i)), "Empty kPoolStruc"), "_") | |
130 | 130 | $Tuple4(parseIntValue(W[0]), parseIntValue(W[1]), parseIntValue(W[2]), parseIntValue(W[3])) | |
131 | 131 | } | |
132 | 132 | else { | |
133 | 133 | let X = valueOrElse(getInteger(this, (B + h)), 0) | |
134 | 134 | $Tuple4(X, X, 0, 0) | |
135 | 135 | } | |
136 | 136 | let ai = ah._1 | |
137 | 137 | let aj = ah._2 | |
138 | 138 | let ak = ah._3 | |
139 | 139 | let al = ah._4 | |
140 | 140 | let am = if (isDefined(getString(this, k))) | |
141 | 141 | then { | |
142 | 142 | let W = split(valueOrErrorMessage(getString(this, k), "Empty kTotalStruc"), "_") | |
143 | 143 | $Tuple4(parseIntValue(W[0]), parseIntValue(W[1]), parseIntValue(W[2]), parseIntValue(W[3])) | |
144 | 144 | } | |
145 | 145 | else { | |
146 | 146 | let an = valueOrElse(getInteger(this, j), 0) | |
147 | 147 | $Tuple4(an, an, 0, 0) | |
148 | 148 | } | |
149 | 149 | let ao = am._1 | |
150 | 150 | let ap = am._2 | |
151 | 151 | let aq = am._3 | |
152 | 152 | let ar = am._4 | |
153 | 153 | let as = (M - Y) | |
154 | 154 | let at = (ae + as) | |
155 | 155 | if (!(y(R.caller))) | |
156 | 156 | then throw("This address has 0 SWOP in Governance dApp") | |
157 | 157 | else if ((at > U)) | |
158 | 158 | then throw(((((toString(this) + " has ") + toString(U)) + " SWOP in governance. New SWOP in voting ") + toString(at))) | |
159 | 159 | else if ((0 > at)) | |
160 | 160 | then throw("New userTotalVoteSWOPnew < 0") | |
161 | 161 | else if ((0 > M)) | |
162 | 162 | then throw("New userPoolVoteSWOPnew < 0") | |
163 | 163 | else if ((M >= Y)) | |
164 | 164 | then { | |
165 | 165 | let au = C() | |
166 | 166 | let av = if ((aa == x)) | |
167 | 167 | then (Z + ((as * au) / q)) | |
168 | 168 | else (Y + ((as * au) / q)) | |
169 | 169 | let aw = if ((aa == x)) | |
170 | 170 | then ab | |
171 | 171 | else Y | |
172 | 172 | let ax = if ((af == x)) | |
173 | 173 | then af | |
174 | 174 | else max([0, (af - as)]) | |
175 | 175 | let ay = ((((((toString(M) + "_") + toString(av)) + "_") + toString(x)) + "_") + toString(aw)) | |
176 | 176 | let az = [StringEntry((((toString(R.caller) + "_") + B) + e), ay)] | |
177 | 177 | let aA = ((((toString(at) + "_") + toString(ax)) + "_") + toString(x)) | |
178 | 178 | let aB = [StringEntry((toString(R.caller) + g), aA)] | |
179 | 179 | let aC = (ai + as) | |
180 | 180 | let aD = if ((ak == x)) | |
181 | 181 | then (aj + ((as * au) / q)) | |
182 | 182 | else (ai + ((as * au) / q)) | |
183 | 183 | let aE = if ((ak == x)) | |
184 | 184 | then al | |
185 | 185 | else ai | |
186 | 186 | let aF = ((((((toString(aC) + "_") + toString(aD)) + "_") + toString(x)) + "_") + toString(aE)) | |
187 | 187 | let aG = [StringEntry((B + i), aF)] | |
188 | 188 | let aH = (ao + as) | |
189 | 189 | let aI = if ((aq == x)) | |
190 | 190 | then (ap + ((as * au) / q)) | |
191 | 191 | else (ao + ((as * au) / q)) | |
192 | 192 | let aJ = if ((ak == x)) | |
193 | 193 | then ar | |
194 | 194 | else ao | |
195 | - | let aK = ((((((toString(aH) + "_") + toString(aI)) + "_") + toString( | |
195 | + | let aK = ((((((toString(aH) + "_") + toString(aI)) + "_") + toString(x)) + "_") + toString(aJ)) | |
196 | 196 | let aL = [StringEntry(k, aK)] | |
197 | 197 | ((((az ++ aB) ++ aG) ++ aL) ++ K(toString(R.caller), B, M)) | |
198 | 198 | } | |
199 | 199 | else { | |
200 | 200 | let aM = -(as) | |
201 | 201 | let aw = if ((aa == x)) | |
202 | 202 | then min([ab, M]) | |
203 | 203 | else M | |
204 | 204 | let av = if (((Y - ab) == 0)) | |
205 | 205 | then 0 | |
206 | 206 | else (aw + (((Z - ab) * (M - aw)) / (Y - ab))) | |
207 | 207 | let aN = max([0, (aM - (if ((ag == x)) | |
208 | 208 | then (Y - ab) | |
209 | 209 | else 0))]) | |
210 | 210 | let ax = if ((ag == x)) | |
211 | 211 | then af | |
212 | 212 | else (0 + aN) | |
213 | 213 | let aO = if ((aN > 0)) | |
214 | 214 | then x | |
215 | 215 | else ag | |
216 | 216 | let ay = ((((((toString(M) + "_") + toString(av)) + "_") + toString(x)) + "_") + toString(aw)) | |
217 | 217 | let az = [StringEntry((((toString(R.caller) + "_") + B) + e), ay)] | |
218 | 218 | let aA = ((((toString(at) + "_") + toString(ax)) + "_") + toString(x)) | |
219 | 219 | let aB = [StringEntry((toString(R.caller) + g), aA)] | |
220 | 220 | let aC = (ai - aM) | |
221 | 221 | let aE = if ((ak == x)) | |
222 | 222 | then min([al, aC]) | |
223 | 223 | else aC | |
224 | 224 | let aD = if (((ai - al) == 0)) | |
225 | 225 | then 0 | |
226 | 226 | else (aE + (((aj - al) * (aC - aE)) / (ai - al))) | |
227 | 227 | let aF = ((((((toString(aC) + "_") + toString(aD)) + "_") + toString(x)) + "_") + toString(aE)) | |
228 | 228 | let aG = [StringEntry((B + i), aF)] | |
229 | 229 | let aH = (ao - aM) | |
230 | 230 | let aJ = if ((aq == x)) | |
231 | 231 | then min([ar, aH]) | |
232 | 232 | else aH | |
233 | 233 | let aI = if (((ao - ar) == 0)) | |
234 | 234 | then 0 | |
235 | 235 | else (aJ + (((ap - ar) * (aH - aJ)) / (ao - ar))) | |
236 | - | let aK = ((((((toString(aH) + "_") + toString(aI)) + "_") + toString( | |
236 | + | let aK = ((((((toString(aH) + "_") + toString(aI)) + "_") + toString(x)) + "_") + toString(aJ)) | |
237 | 237 | let aL = [StringEntry(k, aK)] | |
238 | 238 | let aP = [x, aw, av, aw, ax, aO, aC, aE, aD, aH, aJ, aI] | |
239 | 239 | if ((0 > min(aP))) | |
240 | 240 | then throw("One or more values are negative") | |
241 | 241 | else ((((az ++ aB) ++ aG) ++ aL) ++ K(toString(R.caller), B, M)) | |
242 | 242 | } | |
243 | 243 | } | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | @Verifier(aQ) | |
247 | 247 | func aR () = sigVerify(aQ.bodyBytes, aQ.proofs[0], aQ.senderPublicKey) | |
248 | 248 |
github/deemru/w8io/169f3d6 54.92 ms ◑