tx · 6pHEfDyK2eFKThKmxf65itJpNo2Qs19aEZaGhXfv23Aa 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp: -0.01400000 Waves 2021.03.13 14:45 [1435866] smart account 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp > SELF 0.00000000 Waves
{ "type": 13, "id": "6pHEfDyK2eFKThKmxf65itJpNo2Qs19aEZaGhXfv23Aa", "fee": 1400000, "feeAssetId": null, "timestamp": 1615635955246, "version": 1, "sender": "3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp", "senderPublicKey": "2Ek8QRiW2SC3s4ZC79pXUmvJbmqU6agaNsjN2wmnzmSs", "proofs": [ "4Ks2AuEJ1nELKLPpsxDocsbTY8Jd3D2HjHi9jaFR1uiq1ppeYW3U581Hy6L8gMgtnFbmX4vYjgzjM6QWesgKSeJH" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAAAcAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAASa1VzZXJUb3RhbFZvdGVTV09QAgAAABVfdXNlcl90b3RhbF9TV09QX3ZvdGUAAAAADWtQb29sVm90ZVNXT1ACAAAACl92b3RlX1NXT1AAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAB2dvdkFkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRAR/HWw3DxHB4C9lwcyuInima35raJGzsBAAAAFGlzQ2FsbGVySW5Hb3Zlcm5hbmNlAAAAAQAAAAR1c2VyAwMJAABmAAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdnb3ZBZGRyCQABLAAAAAIJAAQlAAAAAQUAAAAEdXNlcgIAAAAMX1NXT1BfYW1vdW50AAAAAAAAAAAAAAAAAAAAAAAABgkAAGYAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkABCUAAAABBQAAAA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QAAAABBQAAABR1c2VyVG90YWxWb3RlU1dPUE5ldwkABE4AAAACCQAETgAAAAIFAAAADXVzZXJEYXRhRW50cnkFAAAADXBvb2xEYXRhRW50cnkJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAEmtVc2VyVG90YWxWb3RlU1dPUAUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAADmtUb3RhbFZvdGVTV09QBQAAABB0b3RhbFZvdGVTV09QbmV3BQAAAANuaWwAAAAAukS0zg==", "chainId": 84, "height": 1435866, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G5fneV7LBZ1Mpo3NptMCfUNmC6FZJahv8bQPQTmqsg1F Next: 6FpeLF6LdLqsnQRxCGEzUWfZBFciSUwKaSR3UVSPfpwQ Diff:
Old | New | Differences | |
---|---|---|---|
9 | 9 | ||
10 | 10 | let d = "total_vote_SWOP" | |
11 | 11 | ||
12 | - | let e = Address(base58' | |
12 | + | let e = Address(base58'3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE') | |
13 | 13 | ||
14 | 14 | func f (g) = if (if ((valueOrElse(getInteger(e, (toString(g) + "_SWOP_amount")), 0) > 0)) | |
15 | 15 | then true |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "_vote" | |
5 | 5 | ||
6 | 6 | let b = "_user_total_SWOP_vote" | |
7 | 7 | ||
8 | 8 | let c = "_vote_SWOP" | |
9 | 9 | ||
10 | 10 | let d = "total_vote_SWOP" | |
11 | 11 | ||
12 | - | let e = Address(base58' | |
12 | + | let e = Address(base58'3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE') | |
13 | 13 | ||
14 | 14 | func f (g) = if (if ((valueOrElse(getInteger(e, (toString(g) + "_SWOP_amount")), 0) > 0)) | |
15 | 15 | then true | |
16 | 16 | else (valueOrElse(getInteger(this, (toString(g) + b)), 0) > 0)) | |
17 | 17 | then true | |
18 | 18 | else false | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func h (i) = if ((valueOrElse(getInteger(e, (i + "_startHeight")), 0) > 0)) | |
22 | 22 | then true | |
23 | 23 | else false | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | @Callable(j) | |
27 | 27 | func votePoolWeight (k,l) = { | |
28 | 28 | func m (n,i) = if (!(h(i))) | |
29 | 29 | then throw("This pool has no _startHeight in Governance dApp") | |
30 | 30 | else { | |
31 | 31 | let o = value(indexOf(k, i)) | |
32 | 32 | let p = l[o] | |
33 | 33 | let q = valueOrElse(getInteger(this, (((toString(j.caller) + a) + "_") + i)), 0) | |
34 | 34 | let r = (p - q) | |
35 | 35 | (n + r) | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | func s (n,i) = { | |
39 | 39 | let o = value(indexOf(k, i)) | |
40 | 40 | let p = l[o] | |
41 | 41 | IntegerEntry((((toString(j.caller) + "_") + i) + a), p) :: n | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | func t (n,i) = { | |
45 | 45 | let o = value(indexOf(k, i)) | |
46 | 46 | let q = valueOrElse(getInteger(this, (((toString(j.caller) + a) + "_") + i)), 0) | |
47 | 47 | let p = l[o] | |
48 | 48 | let r = (p - q) | |
49 | 49 | let u = valueOrElse(getInteger(this, (i + c)), 0) | |
50 | 50 | let v = (u + r) | |
51 | 51 | IntegerEntry((i + c), v) :: n | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | if (!(f(j.caller))) | |
55 | 55 | then throw("This address has 0 SWOP in Governance dApp") | |
56 | 56 | else { | |
57 | 57 | let w = valueOrElse(getInteger(this, d), 0) | |
58 | 58 | let x = valueOrElse(getInteger(this, (toString(j.caller) + b)), 0) | |
59 | 59 | let y = getIntegerValue(e, (toString(j.caller) + "_SWOP_amount")) | |
60 | 60 | let z = { | |
61 | 61 | let A = k | |
62 | 62 | let B = size(A) | |
63 | 63 | let C = 0 | |
64 | 64 | if ((B == 0)) | |
65 | 65 | then C | |
66 | 66 | else { | |
67 | 67 | let D = m(C, A[0]) | |
68 | 68 | if ((B == 1)) | |
69 | 69 | then D | |
70 | 70 | else { | |
71 | 71 | let E = m(D, A[1]) | |
72 | 72 | if ((B == 2)) | |
73 | 73 | then E | |
74 | 74 | else { | |
75 | 75 | let F = m(E, A[2]) | |
76 | 76 | if ((B == 3)) | |
77 | 77 | then F | |
78 | 78 | else { | |
79 | 79 | let G = m(F, A[3]) | |
80 | 80 | if ((B == 4)) | |
81 | 81 | then G | |
82 | 82 | else { | |
83 | 83 | let H = m(G, A[4]) | |
84 | 84 | if ((B == 5)) | |
85 | 85 | then H | |
86 | 86 | else { | |
87 | 87 | let I = m(H, A[5]) | |
88 | 88 | if ((B == 6)) | |
89 | 89 | then I | |
90 | 90 | else { | |
91 | 91 | let J = m(I, A[6]) | |
92 | 92 | if ((B == 7)) | |
93 | 93 | then J | |
94 | 94 | else { | |
95 | 95 | let K = m(J, A[7]) | |
96 | 96 | if ((B == 8)) | |
97 | 97 | then K | |
98 | 98 | else { | |
99 | 99 | let L = m(K, A[8]) | |
100 | 100 | throw("List size exceed 8") | |
101 | 101 | } | |
102 | 102 | } | |
103 | 103 | } | |
104 | 104 | } | |
105 | 105 | } | |
106 | 106 | } | |
107 | 107 | } | |
108 | 108 | } | |
109 | 109 | } | |
110 | 110 | } | |
111 | 111 | let M = (x + z) | |
112 | 112 | let N = (w + z) | |
113 | 113 | let O = { | |
114 | 114 | let P = k | |
115 | 115 | let Q = size(P) | |
116 | 116 | let R = nil | |
117 | 117 | if ((Q == 0)) | |
118 | 118 | then R | |
119 | 119 | else { | |
120 | 120 | let S = s(R, P[0]) | |
121 | 121 | if ((Q == 1)) | |
122 | 122 | then S | |
123 | 123 | else { | |
124 | 124 | let T = s(S, P[1]) | |
125 | 125 | if ((Q == 2)) | |
126 | 126 | then T | |
127 | 127 | else { | |
128 | 128 | let U = s(T, P[2]) | |
129 | 129 | if ((Q == 3)) | |
130 | 130 | then U | |
131 | 131 | else { | |
132 | 132 | let V = s(U, P[3]) | |
133 | 133 | if ((Q == 4)) | |
134 | 134 | then V | |
135 | 135 | else { | |
136 | 136 | let W = s(V, P[4]) | |
137 | 137 | if ((Q == 5)) | |
138 | 138 | then W | |
139 | 139 | else { | |
140 | 140 | let X = s(W, P[5]) | |
141 | 141 | if ((Q == 6)) | |
142 | 142 | then X | |
143 | 143 | else { | |
144 | 144 | let Y = s(X, P[6]) | |
145 | 145 | if ((Q == 7)) | |
146 | 146 | then Y | |
147 | 147 | else { | |
148 | 148 | let Z = s(Y, P[7]) | |
149 | 149 | if ((Q == 8)) | |
150 | 150 | then Z | |
151 | 151 | else { | |
152 | 152 | let aa = s(Z, P[8]) | |
153 | 153 | throw("List size exceed 8") | |
154 | 154 | } | |
155 | 155 | } | |
156 | 156 | } | |
157 | 157 | } | |
158 | 158 | } | |
159 | 159 | } | |
160 | 160 | } | |
161 | 161 | } | |
162 | 162 | } | |
163 | 163 | } | |
164 | 164 | let ab = { | |
165 | 165 | let ac = k | |
166 | 166 | let ad = size(ac) | |
167 | 167 | let ae = nil | |
168 | 168 | if ((ad == 0)) | |
169 | 169 | then ae | |
170 | 170 | else { | |
171 | 171 | let af = t(ae, ac[0]) | |
172 | 172 | if ((ad == 1)) | |
173 | 173 | then af | |
174 | 174 | else { | |
175 | 175 | let ag = t(af, ac[1]) | |
176 | 176 | if ((ad == 2)) | |
177 | 177 | then ag | |
178 | 178 | else { | |
179 | 179 | let ah = t(ag, ac[2]) | |
180 | 180 | if ((ad == 3)) | |
181 | 181 | then ah | |
182 | 182 | else { | |
183 | 183 | let ai = t(ah, ac[3]) | |
184 | 184 | if ((ad == 4)) | |
185 | 185 | then ai | |
186 | 186 | else { | |
187 | 187 | let aj = t(ai, ac[4]) | |
188 | 188 | if ((ad == 5)) | |
189 | 189 | then aj | |
190 | 190 | else { | |
191 | 191 | let ak = t(aj, ac[5]) | |
192 | 192 | if ((ad == 6)) | |
193 | 193 | then ak | |
194 | 194 | else { | |
195 | 195 | let al = t(ak, ac[6]) | |
196 | 196 | if ((ad == 7)) | |
197 | 197 | then al | |
198 | 198 | else { | |
199 | 199 | let am = t(al, ac[7]) | |
200 | 200 | if ((ad == 8)) | |
201 | 201 | then am | |
202 | 202 | else { | |
203 | 203 | let an = t(am, ac[8]) | |
204 | 204 | throw("List size exceed 8") | |
205 | 205 | } | |
206 | 206 | } | |
207 | 207 | } | |
208 | 208 | } | |
209 | 209 | } | |
210 | 210 | } | |
211 | 211 | } | |
212 | 212 | } | |
213 | 213 | } | |
214 | 214 | } | |
215 | 215 | if ((y > M)) | |
216 | 216 | then throw(((((toString(this) + " has ") + toString(y)) + "SWOP in governance. New SWOP in voting ") + toString(M))) | |
217 | 217 | else ((O ++ ab) ++ [IntegerEntry((toString(j.caller) + b), M), IntegerEntry(d, N)]) | |
218 | 218 | } | |
219 | 219 | } | |
220 | 220 | ||
221 | 221 |
github/deemru/w8io/169f3d6 33.14 ms ◑