tx · CGEX7wrP9sPkHo3ZUuBk1iTH3nGe4sWB3s5DSWfkJiHn 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp: -0.01400000 Waves 2021.03.13 15:25 [1435909] smart account 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp > SELF 0.00000000 Waves
{ "type": 13, "id": "CGEX7wrP9sPkHo3ZUuBk1iTH3nGe4sWB3s5DSWfkJiHn", "fee": 1400000, "feeAssetId": null, "timestamp": 1615638386123, "version": 1, "sender": "3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp", "senderPublicKey": "2Ek8QRiW2SC3s4ZC79pXUmvJbmqU6agaNsjN2wmnzmSs", "proofs": [ "3NGMZnM4jrn5uPZBx1k84sPFBKpx3qX2ggsWzVGqjdPhx4fhDBJFLcGpDpjrZkpPMJaBizbcUcVnnTGrEPixMaSC" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAAAcAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAASa1VzZXJUb3RhbFZvdGVTV09QAgAAABVfdXNlcl90b3RhbF9TV09QX3ZvdGUAAAAADWtQb29sVm90ZVNXT1ACAAAACl92b3RlX1NXT1AAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAB2dvdkFkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRAR/HWw3DxHB4C9lwcyuInima35raJGzsBAAAAFGlzQ2FsbGVySW5Hb3Zlcm5hbmNlAAAAAQAAAAR1c2VyAwMJAABmAAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdnb3ZBZGRyCQABLAAAAAIJAAQlAAAAAQUAAAAEdXNlcgIAAAAMX1NXT1BfYW1vdW50AAAAAAAAAAAAAAAAAAAAAAAABgkAAGYAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkABCUAAAABB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lzdCBzaXplIGV4Y2VlZCA4AwkAAGYAAAACBQAAABR1c2VyU1dPUGluR292ZXJuYW5jZQUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQAEJQAAAAEFAAAABHRoaXMCAAAABSBoYXMgCQABpAAAAAEFAAAAFHVzZXJTV09QaW5Hb3Zlcm5hbmNlAgAAACdTV09QIGluIGdvdmVybmFuY2UuIE5ldyBTV09QIGluIHZvdGluZyAJAAGkAAAAAQUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAAROAAAAAgkABE4AAAACBQAAAA11c2VyRGF0YUVudHJ5BQAAAA1wb29sRGF0YUVudHJ5CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABJrVXNlclRvdGFsVm90ZVNXT1AFAAAAFHVzZXJUb3RhbFZvdGVTV09QTmV3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA5rVG90YWxWb3RlU1dPUAUAAAAQdG90YWxWb3RlU1dPUG5ldwUAAAADbmlsAAAAADNRgg0=", "chainId": 84, "height": 1435909, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C7Qcd2jajdsyHvfmKhVpXXwkqfPdHzpqFZ5WjwtpPQNT Next: cnjgS154pFETMTS2p15gRPc4HpEWY1z3seEneB9D63g Diff:
Old | New | Differences | |
---|---|---|---|
32 | 32 | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
33 | 33 | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
34 | 34 | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
35 | - | (accumulated + poolVoteDiffSWOP) | |
35 | + | if (true) | |
36 | + | then throw(toString(poolVoteDiffSWOP)) | |
37 | + | else (accumulated + poolVoteDiffSWOP) | |
36 | 38 | } | |
37 | 39 | ||
38 | 40 | func userVoteEntry (accumulated,poolAddress) = { | |
58 | 60 | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
59 | 61 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
60 | 62 | let userVoteDiffSWOP = { | |
61 | - | let $ | |
62 | - | let $ | |
63 | - | let $ | |
64 | - | if (($ | |
65 | - | then $ | |
63 | + | let $list29102953 = poolAddresses | |
64 | + | let $size29102953 = size($list29102953) | |
65 | + | let $acc029102953 = 0 | |
66 | + | if (($size29102953 == 0)) | |
67 | + | then $acc029102953 | |
66 | 68 | else { | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
69 | + | let $acc129102953 = calcVoteDiffSWOP($acc029102953, $list29102953[0]) | |
70 | + | if (($size29102953 == 1)) | |
71 | + | then $acc129102953 | |
70 | 72 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
73 | + | let $acc229102953 = calcVoteDiffSWOP($acc129102953, $list29102953[1]) | |
74 | + | if (($size29102953 == 2)) | |
75 | + | then $acc229102953 | |
74 | 76 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
77 | + | let $acc329102953 = calcVoteDiffSWOP($acc229102953, $list29102953[2]) | |
78 | + | if (($size29102953 == 3)) | |
79 | + | then $acc329102953 | |
78 | 80 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
81 | + | let $acc429102953 = calcVoteDiffSWOP($acc329102953, $list29102953[3]) | |
82 | + | if (($size29102953 == 4)) | |
83 | + | then $acc429102953 | |
82 | 84 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
85 | + | let $acc529102953 = calcVoteDiffSWOP($acc429102953, $list29102953[4]) | |
86 | + | if (($size29102953 == 5)) | |
87 | + | then $acc529102953 | |
86 | 88 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
89 | + | let $acc629102953 = calcVoteDiffSWOP($acc529102953, $list29102953[5]) | |
90 | + | if (($size29102953 == 6)) | |
91 | + | then $acc629102953 | |
90 | 92 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
93 | + | let $acc729102953 = calcVoteDiffSWOP($acc629102953, $list29102953[6]) | |
94 | + | if (($size29102953 == 7)) | |
95 | + | then $acc729102953 | |
94 | 96 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
97 | + | let $acc829102953 = calcVoteDiffSWOP($acc729102953, $list29102953[7]) | |
98 | + | if (($size29102953 == 8)) | |
99 | + | then $acc829102953 | |
98 | 100 | else { | |
99 | - | let $ | |
101 | + | let $acc929102953 = calcVoteDiffSWOP($acc829102953, $list29102953[8]) | |
100 | 102 | throw("List size exceed 8") | |
101 | 103 | } | |
102 | 104 | } | |
108 | 110 | } | |
109 | 111 | } | |
110 | 112 | } | |
113 | + | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
114 | + | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
111 | 115 | if (true) | |
112 | - | then throw(toString(userVoteDiffSWOP)) | |
116 | + | then throw(((((toString(totalVoteSWOPnew) + " ") + toString(totalVoteSWOP)) + " ") + toString(userVoteDiffSWOP))) | |
113 | 117 | else { | |
114 | - | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
115 | - | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
116 | - | if (true) | |
117 | - | then throw(((((toString(totalVoteSWOPnew) + " ") + toString(totalVoteSWOP)) + " ") + toString(userVoteDiffSWOP))) | |
118 | - | else { | |
119 | - | let userDataEntry = { | |
120 | - | let $list32293270 = poolAddresses | |
121 | - | let $size32293270 = size($list32293270) | |
122 | - | let $acc032293270 = nil | |
123 | - | if (($size32293270 == 0)) | |
124 | - | then $acc032293270 | |
118 | + | let userDataEntry = { | |
119 | + | let $list32333274 = poolAddresses | |
120 | + | let $size32333274 = size($list32333274) | |
121 | + | let $acc032333274 = nil | |
122 | + | if (($size32333274 == 0)) | |
123 | + | then $acc032333274 | |
124 | + | else { | |
125 | + | let $acc132333274 = userVoteEntry($acc032333274, $list32333274[0]) | |
126 | + | if (($size32333274 == 1)) | |
127 | + | then $acc132333274 | |
125 | 128 | else { | |
126 | - | let $ | |
127 | - | if (($ | |
128 | - | then $ | |
129 | + | let $acc232333274 = userVoteEntry($acc132333274, $list32333274[1]) | |
130 | + | if (($size32333274 == 2)) | |
131 | + | then $acc232333274 | |
129 | 132 | else { | |
130 | - | let $ | |
131 | - | if (($ | |
132 | - | then $ | |
133 | + | let $acc332333274 = userVoteEntry($acc232333274, $list32333274[2]) | |
134 | + | if (($size32333274 == 3)) | |
135 | + | then $acc332333274 | |
133 | 136 | else { | |
134 | - | let $ | |
135 | - | if (($ | |
136 | - | then $ | |
137 | + | let $acc432333274 = userVoteEntry($acc332333274, $list32333274[3]) | |
138 | + | if (($size32333274 == 4)) | |
139 | + | then $acc432333274 | |
137 | 140 | else { | |
138 | - | let $ | |
139 | - | if (($ | |
140 | - | then $ | |
141 | + | let $acc532333274 = userVoteEntry($acc432333274, $list32333274[4]) | |
142 | + | if (($size32333274 == 5)) | |
143 | + | then $acc532333274 | |
141 | 144 | else { | |
142 | - | let $ | |
143 | - | if (($ | |
144 | - | then $ | |
145 | + | let $acc632333274 = userVoteEntry($acc532333274, $list32333274[5]) | |
146 | + | if (($size32333274 == 6)) | |
147 | + | then $acc632333274 | |
145 | 148 | else { | |
146 | - | let $ | |
147 | - | if (($ | |
148 | - | then $ | |
149 | + | let $acc732333274 = userVoteEntry($acc632333274, $list32333274[6]) | |
150 | + | if (($size32333274 == 7)) | |
151 | + | then $acc732333274 | |
149 | 152 | else { | |
150 | - | let $ | |
151 | - | if (($ | |
152 | - | then $ | |
153 | + | let $acc832333274 = userVoteEntry($acc732333274, $list32333274[7]) | |
154 | + | if (($size32333274 == 8)) | |
155 | + | then $acc832333274 | |
153 | 156 | else { | |
154 | - | let $acc832293270 = userVoteEntry($acc732293270, $list32293270[7]) | |
155 | - | if (($size32293270 == 8)) | |
156 | - | then $acc832293270 | |
157 | - | else { | |
158 | - | let $acc932293270 = userVoteEntry($acc832293270, $list32293270[8]) | |
159 | - | throw("List size exceed 8") | |
160 | - | } | |
157 | + | let $acc932333274 = userVoteEntry($acc832333274, $list32333274[8]) | |
158 | + | throw("List size exceed 8") | |
161 | 159 | } | |
162 | 160 | } | |
163 | 161 | } | |
167 | 165 | } | |
168 | 166 | } | |
169 | 167 | } | |
170 | - | let poolDataEntry = { | |
171 | - | let $list32953336 = poolAddresses | |
172 | - | let $size32953336 = size($list32953336) | |
173 | - | let $acc032953336 = nil | |
174 | - | if (($size32953336 == 0)) | |
175 | - | then $acc032953336 | |
168 | + | } | |
169 | + | let poolDataEntry = { | |
170 | + | let $list32993340 = poolAddresses | |
171 | + | let $size32993340 = size($list32993340) | |
172 | + | let $acc032993340 = nil | |
173 | + | if (($size32993340 == 0)) | |
174 | + | then $acc032993340 | |
175 | + | else { | |
176 | + | let $acc132993340 = poolVoteEntry($acc032993340, $list32993340[0]) | |
177 | + | if (($size32993340 == 1)) | |
178 | + | then $acc132993340 | |
176 | 179 | else { | |
177 | - | let $ | |
178 | - | if (($ | |
179 | - | then $ | |
180 | + | let $acc232993340 = poolVoteEntry($acc132993340, $list32993340[1]) | |
181 | + | if (($size32993340 == 2)) | |
182 | + | then $acc232993340 | |
180 | 183 | else { | |
181 | - | let $ | |
182 | - | if (($ | |
183 | - | then $ | |
184 | + | let $acc332993340 = poolVoteEntry($acc232993340, $list32993340[2]) | |
185 | + | if (($size32993340 == 3)) | |
186 | + | then $acc332993340 | |
184 | 187 | else { | |
185 | - | let $ | |
186 | - | if (($ | |
187 | - | then $ | |
188 | + | let $acc432993340 = poolVoteEntry($acc332993340, $list32993340[3]) | |
189 | + | if (($size32993340 == 4)) | |
190 | + | then $acc432993340 | |
188 | 191 | else { | |
189 | - | let $ | |
190 | - | if (($ | |
191 | - | then $ | |
192 | + | let $acc532993340 = poolVoteEntry($acc432993340, $list32993340[4]) | |
193 | + | if (($size32993340 == 5)) | |
194 | + | then $acc532993340 | |
192 | 195 | else { | |
193 | - | let $ | |
194 | - | if (($ | |
195 | - | then $ | |
196 | + | let $acc632993340 = poolVoteEntry($acc532993340, $list32993340[5]) | |
197 | + | if (($size32993340 == 6)) | |
198 | + | then $acc632993340 | |
196 | 199 | else { | |
197 | - | let $ | |
198 | - | if (($ | |
199 | - | then $ | |
200 | + | let $acc732993340 = poolVoteEntry($acc632993340, $list32993340[6]) | |
201 | + | if (($size32993340 == 7)) | |
202 | + | then $acc732993340 | |
200 | 203 | else { | |
201 | - | let $ | |
202 | - | if (($ | |
203 | - | then $ | |
204 | + | let $acc832993340 = poolVoteEntry($acc732993340, $list32993340[7]) | |
205 | + | if (($size32993340 == 8)) | |
206 | + | then $acc832993340 | |
204 | 207 | else { | |
205 | - | let $acc832953336 = poolVoteEntry($acc732953336, $list32953336[7]) | |
206 | - | if (($size32953336 == 8)) | |
207 | - | then $acc832953336 | |
208 | - | else { | |
209 | - | let $acc932953336 = poolVoteEntry($acc832953336, $list32953336[8]) | |
210 | - | throw("List size exceed 8") | |
211 | - | } | |
208 | + | let $acc932993340 = poolVoteEntry($acc832993340, $list32993340[8]) | |
209 | + | throw("List size exceed 8") | |
212 | 210 | } | |
213 | 211 | } | |
214 | 212 | } | |
218 | 216 | } | |
219 | 217 | } | |
220 | 218 | } | |
221 | - | | |
222 | - | | |
223 | - | | |
224 | - | | |
219 | + | } | |
220 | + | if ((userSWOPinGovernance > userTotalVoteSWOPNew)) | |
221 | + | then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew))) | |
222 | + | else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)]) | |
225 | 223 | } | |
226 | 224 | } | |
227 | 225 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let kUserPoolVoteSWOP = "_vote" | |
5 | 5 | ||
6 | 6 | let kUserTotalVoteSWOP = "_user_total_SWOP_vote" | |
7 | 7 | ||
8 | 8 | let kPoolVoteSWOP = "_vote_SWOP" | |
9 | 9 | ||
10 | 10 | let kTotalVoteSWOP = "total_vote_SWOP" | |
11 | 11 | ||
12 | 12 | let govAddr = Address(base58'3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE') | |
13 | 13 | ||
14 | 14 | func isCallerInGovernance (user) = if (if ((valueOrElse(getInteger(govAddr, (toString(user) + "_SWOP_amount")), 0) > 0)) | |
15 | 15 | then true | |
16 | 16 | else (valueOrElse(getInteger(this, (toString(user) + kUserTotalVoteSWOP)), 0) > 0)) | |
17 | 17 | then true | |
18 | 18 | else false | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func isPoolInGovernance (poolAddress) = if ((valueOrElse(getInteger(govAddr, (poolAddress + "_current_pool_fraction_reward")), 0) > 0)) | |
22 | 22 | then true | |
23 | 23 | else false | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | @Callable(i) | |
27 | 27 | func votePoolWeight (poolAddresses,poolsVoteSWOPNew) = { | |
28 | 28 | func calcVoteDiffSWOP (accumulated,poolAddress) = if (!(isPoolInGovernance(poolAddress))) | |
29 | 29 | then throw("This pool has no _current_pool_fraction_reward in Governance dApp") | |
30 | 30 | else { | |
31 | 31 | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
32 | 32 | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
33 | 33 | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
34 | 34 | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
35 | - | (accumulated + poolVoteDiffSWOP) | |
35 | + | if (true) | |
36 | + | then throw(toString(poolVoteDiffSWOP)) | |
37 | + | else (accumulated + poolVoteDiffSWOP) | |
36 | 38 | } | |
37 | 39 | ||
38 | 40 | func userVoteEntry (accumulated,poolAddress) = { | |
39 | 41 | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
40 | 42 | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
41 | 43 | IntegerEntry((((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP), userPoolVoteSWOPNew) :: accumulated | |
42 | 44 | } | |
43 | 45 | ||
44 | 46 | func poolVoteEntry (accumulated,poolAddress) = { | |
45 | 47 | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
46 | 48 | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP)), 0) | |
47 | 49 | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
48 | 50 | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
49 | 51 | let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0) | |
50 | 52 | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
51 | 53 | IntegerEntry((poolAddress + kPoolVoteSWOP), poolVoteSWOPnew) :: accumulated | |
52 | 54 | } | |
53 | 55 | ||
54 | 56 | if (!(isCallerInGovernance(i.caller))) | |
55 | 57 | then throw("This address has 0 SWOP in Governance dApp") | |
56 | 58 | else { | |
57 | 59 | let totalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0) | |
58 | 60 | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
59 | 61 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
60 | 62 | let userVoteDiffSWOP = { | |
61 | - | let $ | |
62 | - | let $ | |
63 | - | let $ | |
64 | - | if (($ | |
65 | - | then $ | |
63 | + | let $list29102953 = poolAddresses | |
64 | + | let $size29102953 = size($list29102953) | |
65 | + | let $acc029102953 = 0 | |
66 | + | if (($size29102953 == 0)) | |
67 | + | then $acc029102953 | |
66 | 68 | else { | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
69 | + | let $acc129102953 = calcVoteDiffSWOP($acc029102953, $list29102953[0]) | |
70 | + | if (($size29102953 == 1)) | |
71 | + | then $acc129102953 | |
70 | 72 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
73 | + | let $acc229102953 = calcVoteDiffSWOP($acc129102953, $list29102953[1]) | |
74 | + | if (($size29102953 == 2)) | |
75 | + | then $acc229102953 | |
74 | 76 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
77 | + | let $acc329102953 = calcVoteDiffSWOP($acc229102953, $list29102953[2]) | |
78 | + | if (($size29102953 == 3)) | |
79 | + | then $acc329102953 | |
78 | 80 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
81 | + | let $acc429102953 = calcVoteDiffSWOP($acc329102953, $list29102953[3]) | |
82 | + | if (($size29102953 == 4)) | |
83 | + | then $acc429102953 | |
82 | 84 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
85 | + | let $acc529102953 = calcVoteDiffSWOP($acc429102953, $list29102953[4]) | |
86 | + | if (($size29102953 == 5)) | |
87 | + | then $acc529102953 | |
86 | 88 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
89 | + | let $acc629102953 = calcVoteDiffSWOP($acc529102953, $list29102953[5]) | |
90 | + | if (($size29102953 == 6)) | |
91 | + | then $acc629102953 | |
90 | 92 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
93 | + | let $acc729102953 = calcVoteDiffSWOP($acc629102953, $list29102953[6]) | |
94 | + | if (($size29102953 == 7)) | |
95 | + | then $acc729102953 | |
94 | 96 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
97 | + | let $acc829102953 = calcVoteDiffSWOP($acc729102953, $list29102953[7]) | |
98 | + | if (($size29102953 == 8)) | |
99 | + | then $acc829102953 | |
98 | 100 | else { | |
99 | - | let $ | |
101 | + | let $acc929102953 = calcVoteDiffSWOP($acc829102953, $list29102953[8]) | |
100 | 102 | throw("List size exceed 8") | |
101 | 103 | } | |
102 | 104 | } | |
103 | 105 | } | |
104 | 106 | } | |
105 | 107 | } | |
106 | 108 | } | |
107 | 109 | } | |
108 | 110 | } | |
109 | 111 | } | |
110 | 112 | } | |
113 | + | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
114 | + | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
111 | 115 | if (true) | |
112 | - | then throw(toString(userVoteDiffSWOP)) | |
116 | + | then throw(((((toString(totalVoteSWOPnew) + " ") + toString(totalVoteSWOP)) + " ") + toString(userVoteDiffSWOP))) | |
113 | 117 | else { | |
114 | - | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
115 | - | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
116 | - | if (true) | |
117 | - | then throw(((((toString(totalVoteSWOPnew) + " ") + toString(totalVoteSWOP)) + " ") + toString(userVoteDiffSWOP))) | |
118 | - | else { | |
119 | - | let userDataEntry = { | |
120 | - | let $list32293270 = poolAddresses | |
121 | - | let $size32293270 = size($list32293270) | |
122 | - | let $acc032293270 = nil | |
123 | - | if (($size32293270 == 0)) | |
124 | - | then $acc032293270 | |
118 | + | let userDataEntry = { | |
119 | + | let $list32333274 = poolAddresses | |
120 | + | let $size32333274 = size($list32333274) | |
121 | + | let $acc032333274 = nil | |
122 | + | if (($size32333274 == 0)) | |
123 | + | then $acc032333274 | |
124 | + | else { | |
125 | + | let $acc132333274 = userVoteEntry($acc032333274, $list32333274[0]) | |
126 | + | if (($size32333274 == 1)) | |
127 | + | then $acc132333274 | |
125 | 128 | else { | |
126 | - | let $ | |
127 | - | if (($ | |
128 | - | then $ | |
129 | + | let $acc232333274 = userVoteEntry($acc132333274, $list32333274[1]) | |
130 | + | if (($size32333274 == 2)) | |
131 | + | then $acc232333274 | |
129 | 132 | else { | |
130 | - | let $ | |
131 | - | if (($ | |
132 | - | then $ | |
133 | + | let $acc332333274 = userVoteEntry($acc232333274, $list32333274[2]) | |
134 | + | if (($size32333274 == 3)) | |
135 | + | then $acc332333274 | |
133 | 136 | else { | |
134 | - | let $ | |
135 | - | if (($ | |
136 | - | then $ | |
137 | + | let $acc432333274 = userVoteEntry($acc332333274, $list32333274[3]) | |
138 | + | if (($size32333274 == 4)) | |
139 | + | then $acc432333274 | |
137 | 140 | else { | |
138 | - | let $ | |
139 | - | if (($ | |
140 | - | then $ | |
141 | + | let $acc532333274 = userVoteEntry($acc432333274, $list32333274[4]) | |
142 | + | if (($size32333274 == 5)) | |
143 | + | then $acc532333274 | |
141 | 144 | else { | |
142 | - | let $ | |
143 | - | if (($ | |
144 | - | then $ | |
145 | + | let $acc632333274 = userVoteEntry($acc532333274, $list32333274[5]) | |
146 | + | if (($size32333274 == 6)) | |
147 | + | then $acc632333274 | |
145 | 148 | else { | |
146 | - | let $ | |
147 | - | if (($ | |
148 | - | then $ | |
149 | + | let $acc732333274 = userVoteEntry($acc632333274, $list32333274[6]) | |
150 | + | if (($size32333274 == 7)) | |
151 | + | then $acc732333274 | |
149 | 152 | else { | |
150 | - | let $ | |
151 | - | if (($ | |
152 | - | then $ | |
153 | + | let $acc832333274 = userVoteEntry($acc732333274, $list32333274[7]) | |
154 | + | if (($size32333274 == 8)) | |
155 | + | then $acc832333274 | |
153 | 156 | else { | |
154 | - | let $acc832293270 = userVoteEntry($acc732293270, $list32293270[7]) | |
155 | - | if (($size32293270 == 8)) | |
156 | - | then $acc832293270 | |
157 | - | else { | |
158 | - | let $acc932293270 = userVoteEntry($acc832293270, $list32293270[8]) | |
159 | - | throw("List size exceed 8") | |
160 | - | } | |
157 | + | let $acc932333274 = userVoteEntry($acc832333274, $list32333274[8]) | |
158 | + | throw("List size exceed 8") | |
161 | 159 | } | |
162 | 160 | } | |
163 | 161 | } | |
164 | 162 | } | |
165 | 163 | } | |
166 | 164 | } | |
167 | 165 | } | |
168 | 166 | } | |
169 | 167 | } | |
170 | - | let poolDataEntry = { | |
171 | - | let $list32953336 = poolAddresses | |
172 | - | let $size32953336 = size($list32953336) | |
173 | - | let $acc032953336 = nil | |
174 | - | if (($size32953336 == 0)) | |
175 | - | then $acc032953336 | |
168 | + | } | |
169 | + | let poolDataEntry = { | |
170 | + | let $list32993340 = poolAddresses | |
171 | + | let $size32993340 = size($list32993340) | |
172 | + | let $acc032993340 = nil | |
173 | + | if (($size32993340 == 0)) | |
174 | + | then $acc032993340 | |
175 | + | else { | |
176 | + | let $acc132993340 = poolVoteEntry($acc032993340, $list32993340[0]) | |
177 | + | if (($size32993340 == 1)) | |
178 | + | then $acc132993340 | |
176 | 179 | else { | |
177 | - | let $ | |
178 | - | if (($ | |
179 | - | then $ | |
180 | + | let $acc232993340 = poolVoteEntry($acc132993340, $list32993340[1]) | |
181 | + | if (($size32993340 == 2)) | |
182 | + | then $acc232993340 | |
180 | 183 | else { | |
181 | - | let $ | |
182 | - | if (($ | |
183 | - | then $ | |
184 | + | let $acc332993340 = poolVoteEntry($acc232993340, $list32993340[2]) | |
185 | + | if (($size32993340 == 3)) | |
186 | + | then $acc332993340 | |
184 | 187 | else { | |
185 | - | let $ | |
186 | - | if (($ | |
187 | - | then $ | |
188 | + | let $acc432993340 = poolVoteEntry($acc332993340, $list32993340[3]) | |
189 | + | if (($size32993340 == 4)) | |
190 | + | then $acc432993340 | |
188 | 191 | else { | |
189 | - | let $ | |
190 | - | if (($ | |
191 | - | then $ | |
192 | + | let $acc532993340 = poolVoteEntry($acc432993340, $list32993340[4]) | |
193 | + | if (($size32993340 == 5)) | |
194 | + | then $acc532993340 | |
192 | 195 | else { | |
193 | - | let $ | |
194 | - | if (($ | |
195 | - | then $ | |
196 | + | let $acc632993340 = poolVoteEntry($acc532993340, $list32993340[5]) | |
197 | + | if (($size32993340 == 6)) | |
198 | + | then $acc632993340 | |
196 | 199 | else { | |
197 | - | let $ | |
198 | - | if (($ | |
199 | - | then $ | |
200 | + | let $acc732993340 = poolVoteEntry($acc632993340, $list32993340[6]) | |
201 | + | if (($size32993340 == 7)) | |
202 | + | then $acc732993340 | |
200 | 203 | else { | |
201 | - | let $ | |
202 | - | if (($ | |
203 | - | then $ | |
204 | + | let $acc832993340 = poolVoteEntry($acc732993340, $list32993340[7]) | |
205 | + | if (($size32993340 == 8)) | |
206 | + | then $acc832993340 | |
204 | 207 | else { | |
205 | - | let $acc832953336 = poolVoteEntry($acc732953336, $list32953336[7]) | |
206 | - | if (($size32953336 == 8)) | |
207 | - | then $acc832953336 | |
208 | - | else { | |
209 | - | let $acc932953336 = poolVoteEntry($acc832953336, $list32953336[8]) | |
210 | - | throw("List size exceed 8") | |
211 | - | } | |
208 | + | let $acc932993340 = poolVoteEntry($acc832993340, $list32993340[8]) | |
209 | + | throw("List size exceed 8") | |
212 | 210 | } | |
213 | 211 | } | |
214 | 212 | } | |
215 | 213 | } | |
216 | 214 | } | |
217 | 215 | } | |
218 | 216 | } | |
219 | 217 | } | |
220 | 218 | } | |
221 | - | | |
222 | - | | |
223 | - | | |
224 | - | | |
219 | + | } | |
220 | + | if ((userSWOPinGovernance > userTotalVoteSWOPNew)) | |
221 | + | then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew))) | |
222 | + | else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)]) | |
225 | 223 | } | |
226 | 224 | } | |
227 | 225 | } | |
228 | 226 | ||
229 | 227 |
github/deemru/w8io/169f3d6 146.46 ms ◑