tx · 6FpeLF6LdLqsnQRxCGEzUWfZBFciSUwKaSR3UVSPfpwQ 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp: -0.01400000 Waves 2021.03.13 14:46 [1435867] smart account 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp > SELF 0.00000000 Waves
{ "type": 13, "id": "6FpeLF6LdLqsnQRxCGEzUWfZBFciSUwKaSR3UVSPfpwQ", "fee": 1400000, "feeAssetId": null, "timestamp": 1615636067959, "version": 1, "sender": "3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp", "senderPublicKey": "2Ek8QRiW2SC3s4ZC79pXUmvJbmqU6agaNsjN2wmnzmSs", "proofs": [ "4qLcjNYx88jBCUfZhduvV39ribKMRkZpav3w9t4k9HAfca8AMJMBJbFFPh1rneYNBZCjWLnu4UXNT5JWKn6Q7pmo" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAAAcAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAASa1VzZXJUb3RhbFZvdGVTV09QAgAAABVfdXNlcl90b3RhbF9TV09QX3ZvdGUAAAAADWtQb29sVm90ZVNXT1ACAAAACl92b3RlX1NXT1AAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAB2dvdkFkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRAR/HWw3DxHB4C9lwcyuInima35raJGzsBAAAAFGlzQ2FsbGVySW5Hb3Zlcm5hbmNlAAAAAQAAAAR1c2VyAwMJAABmAAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdnb3ZBZGRyCQABLAAAAAIJAAQlAAAAAQUAAAAEdXNlcgIAAAAMX1NXT1BfYW1vdW50AAAAAAAAAAAAAAAAAAAAAAAABgkAAGYAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkABCUAAAABBQAAA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IGluIGdvdmVybmFuY2UuIE5ldyBTV09QIGluIHZvdGluZyAJAAGkAAAAAQUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAAROAAAAAgkABE4AAAACBQAAAA11c2VyRGF0YUVudHJ5BQAAAA1wb29sRGF0YUVudHJ5CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABJrVXNlclRvdGFsVm90ZVNXT1AFAAAAFHVzZXJUb3RhbFZvdGVTV09QTmV3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA5rVG90YWxWb3RlU1dPUAUAAAAQdG90YWxWb3RlU1dPUG5ldwUAAAADbmlsAAAAANm22hY=", "chainId": 84, "height": 1435867, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6pHEfDyK2eFKThKmxf65itJpNo2Qs19aEZaGhXfv23Aa Next: 3maxV4TtsB1ByVpTjswfPGsStwExyhQg235DzmHSDJrk Diff:
Old | New | Differences | |
---|---|---|---|
18 | 18 | else false | |
19 | 19 | ||
20 | 20 | ||
21 | - | func isPoolInGovernance (poolAddress) = if ((valueOrElse(getInteger(govAddr, (poolAddress + "_ | |
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 | ||
26 | 26 | @Callable(i) | |
27 | 27 | func votePoolWeight (poolAddresses,poolsVoteSWOPNew) = { | |
28 | 28 | func calcVoteDiffSWOP (accumulated,poolAddress) = if (!(isPoolInGovernance(poolAddress))) | |
29 | - | then throw("This pool has no _ | |
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] | |
58 | 58 | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
59 | 59 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
60 | 60 | let userVoteDiffSWOP = { | |
61 | - | let $ | |
62 | - | let $ | |
63 | - | let $ | |
64 | - | if (($ | |
65 | - | then $ | |
61 | + | let $list28482891 = poolAddresses | |
62 | + | let $size28482891 = size($list28482891) | |
63 | + | let $acc028482891 = 0 | |
64 | + | if (($size28482891 == 0)) | |
65 | + | then $acc028482891 | |
66 | 66 | else { | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
67 | + | let $acc128482891 = calcVoteDiffSWOP($acc028482891, $list28482891[0]) | |
68 | + | if (($size28482891 == 1)) | |
69 | + | then $acc128482891 | |
70 | 70 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
71 | + | let $acc228482891 = calcVoteDiffSWOP($acc128482891, $list28482891[1]) | |
72 | + | if (($size28482891 == 2)) | |
73 | + | then $acc228482891 | |
74 | 74 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
75 | + | let $acc328482891 = calcVoteDiffSWOP($acc228482891, $list28482891[2]) | |
76 | + | if (($size28482891 == 3)) | |
77 | + | then $acc328482891 | |
78 | 78 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
79 | + | let $acc428482891 = calcVoteDiffSWOP($acc328482891, $list28482891[3]) | |
80 | + | if (($size28482891 == 4)) | |
81 | + | then $acc428482891 | |
82 | 82 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
83 | + | let $acc528482891 = calcVoteDiffSWOP($acc428482891, $list28482891[4]) | |
84 | + | if (($size28482891 == 5)) | |
85 | + | then $acc528482891 | |
86 | 86 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
87 | + | let $acc628482891 = calcVoteDiffSWOP($acc528482891, $list28482891[5]) | |
88 | + | if (($size28482891 == 6)) | |
89 | + | then $acc628482891 | |
90 | 90 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
91 | + | let $acc728482891 = calcVoteDiffSWOP($acc628482891, $list28482891[6]) | |
92 | + | if (($size28482891 == 7)) | |
93 | + | then $acc728482891 | |
94 | 94 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
95 | + | let $acc828482891 = calcVoteDiffSWOP($acc728482891, $list28482891[7]) | |
96 | + | if (($size28482891 == 8)) | |
97 | + | then $acc828482891 | |
98 | 98 | else { | |
99 | - | let $ | |
99 | + | let $acc928482891 = calcVoteDiffSWOP($acc828482891, $list28482891[8]) | |
100 | 100 | throw("List size exceed 8") | |
101 | 101 | } | |
102 | 102 | } | |
111 | 111 | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
112 | 112 | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
113 | 113 | let userDataEntry = { | |
114 | - | let $ | |
115 | - | let $ | |
116 | - | let $ | |
117 | - | if (($ | |
118 | - | then $ | |
114 | + | let $list30463087 = poolAddresses | |
115 | + | let $size30463087 = size($list30463087) | |
116 | + | let $acc030463087 = nil | |
117 | + | if (($size30463087 == 0)) | |
118 | + | then $acc030463087 | |
119 | 119 | else { | |
120 | - | let $ | |
121 | - | if (($ | |
122 | - | then $ | |
120 | + | let $acc130463087 = userVoteEntry($acc030463087, $list30463087[0]) | |
121 | + | if (($size30463087 == 1)) | |
122 | + | then $acc130463087 | |
123 | 123 | else { | |
124 | - | let $ | |
125 | - | if (($ | |
126 | - | then $ | |
124 | + | let $acc230463087 = userVoteEntry($acc130463087, $list30463087[1]) | |
125 | + | if (($size30463087 == 2)) | |
126 | + | then $acc230463087 | |
127 | 127 | else { | |
128 | - | let $ | |
129 | - | if (($ | |
130 | - | then $ | |
128 | + | let $acc330463087 = userVoteEntry($acc230463087, $list30463087[2]) | |
129 | + | if (($size30463087 == 3)) | |
130 | + | then $acc330463087 | |
131 | 131 | else { | |
132 | - | let $ | |
133 | - | if (($ | |
134 | - | then $ | |
132 | + | let $acc430463087 = userVoteEntry($acc330463087, $list30463087[3]) | |
133 | + | if (($size30463087 == 4)) | |
134 | + | then $acc430463087 | |
135 | 135 | else { | |
136 | - | let $ | |
137 | - | if (($ | |
138 | - | then $ | |
136 | + | let $acc530463087 = userVoteEntry($acc430463087, $list30463087[4]) | |
137 | + | if (($size30463087 == 5)) | |
138 | + | then $acc530463087 | |
139 | 139 | else { | |
140 | - | let $ | |
141 | - | if (($ | |
142 | - | then $ | |
140 | + | let $acc630463087 = userVoteEntry($acc530463087, $list30463087[5]) | |
141 | + | if (($size30463087 == 6)) | |
142 | + | then $acc630463087 | |
143 | 143 | else { | |
144 | - | let $ | |
145 | - | if (($ | |
146 | - | then $ | |
144 | + | let $acc730463087 = userVoteEntry($acc630463087, $list30463087[6]) | |
145 | + | if (($size30463087 == 7)) | |
146 | + | then $acc730463087 | |
147 | 147 | else { | |
148 | - | let $ | |
149 | - | if (($ | |
150 | - | then $ | |
148 | + | let $acc830463087 = userVoteEntry($acc730463087, $list30463087[7]) | |
149 | + | if (($size30463087 == 8)) | |
150 | + | then $acc830463087 | |
151 | 151 | else { | |
152 | - | let $ | |
152 | + | let $acc930463087 = userVoteEntry($acc830463087, $list30463087[8]) | |
153 | 153 | throw("List size exceed 8") | |
154 | 154 | } | |
155 | 155 | } | |
162 | 162 | } | |
163 | 163 | } | |
164 | 164 | let poolDataEntry = { | |
165 | - | let $ | |
166 | - | let $ | |
167 | - | let $ | |
168 | - | if (($ | |
169 | - | then $ | |
165 | + | let $list31123153 = poolAddresses | |
166 | + | let $size31123153 = size($list31123153) | |
167 | + | let $acc031123153 = nil | |
168 | + | if (($size31123153 == 0)) | |
169 | + | then $acc031123153 | |
170 | 170 | else { | |
171 | - | let $ | |
172 | - | if (($ | |
173 | - | then $ | |
171 | + | let $acc131123153 = poolVoteEntry($acc031123153, $list31123153[0]) | |
172 | + | if (($size31123153 == 1)) | |
173 | + | then $acc131123153 | |
174 | 174 | else { | |
175 | - | let $ | |
176 | - | if (($ | |
177 | - | then $ | |
175 | + | let $acc231123153 = poolVoteEntry($acc131123153, $list31123153[1]) | |
176 | + | if (($size31123153 == 2)) | |
177 | + | then $acc231123153 | |
178 | 178 | else { | |
179 | - | let $ | |
180 | - | if (($ | |
181 | - | then $ | |
179 | + | let $acc331123153 = poolVoteEntry($acc231123153, $list31123153[2]) | |
180 | + | if (($size31123153 == 3)) | |
181 | + | then $acc331123153 | |
182 | 182 | else { | |
183 | - | let $ | |
184 | - | if (($ | |
185 | - | then $ | |
183 | + | let $acc431123153 = poolVoteEntry($acc331123153, $list31123153[3]) | |
184 | + | if (($size31123153 == 4)) | |
185 | + | then $acc431123153 | |
186 | 186 | else { | |
187 | - | let $ | |
188 | - | if (($ | |
189 | - | then $ | |
187 | + | let $acc531123153 = poolVoteEntry($acc431123153, $list31123153[4]) | |
188 | + | if (($size31123153 == 5)) | |
189 | + | then $acc531123153 | |
190 | 190 | else { | |
191 | - | let $ | |
192 | - | if (($ | |
193 | - | then $ | |
191 | + | let $acc631123153 = poolVoteEntry($acc531123153, $list31123153[5]) | |
192 | + | if (($size31123153 == 6)) | |
193 | + | then $acc631123153 | |
194 | 194 | else { | |
195 | - | let $ | |
196 | - | if (($ | |
197 | - | then $ | |
195 | + | let $acc731123153 = poolVoteEntry($acc631123153, $list31123153[6]) | |
196 | + | if (($size31123153 == 7)) | |
197 | + | then $acc731123153 | |
198 | 198 | else { | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
199 | + | let $acc831123153 = poolVoteEntry($acc731123153, $list31123153[7]) | |
200 | + | if (($size31123153 == 8)) | |
201 | + | then $acc831123153 | |
202 | 202 | else { | |
203 | - | let $ | |
203 | + | let $acc931123153 = poolVoteEntry($acc831123153, $list31123153[8]) | |
204 | 204 | throw("List size exceed 8") | |
205 | 205 | } | |
206 | 206 | } |
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 | - | func isPoolInGovernance (poolAddress) = if ((valueOrElse(getInteger(govAddr, (poolAddress + "_ | |
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 | - | then throw("This pool has no _ | |
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 | 35 | (accumulated + poolVoteDiffSWOP) | |
36 | 36 | } | |
37 | 37 | ||
38 | 38 | func userVoteEntry (accumulated,poolAddress) = { | |
39 | 39 | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
40 | 40 | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
41 | 41 | IntegerEntry((((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP), userPoolVoteSWOPNew) :: accumulated | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | func poolVoteEntry (accumulated,poolAddress) = { | |
45 | 45 | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
46 | 46 | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
47 | 47 | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
48 | 48 | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
49 | 49 | let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0) | |
50 | 50 | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
51 | 51 | IntegerEntry((poolAddress + kPoolVoteSWOP), poolVoteSWOPnew) :: accumulated | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | if (!(isCallerInGovernance(i.caller))) | |
55 | 55 | then throw("This address has 0 SWOP in Governance dApp") | |
56 | 56 | else { | |
57 | 57 | let totalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0) | |
58 | 58 | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
59 | 59 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
60 | 60 | let userVoteDiffSWOP = { | |
61 | - | let $ | |
62 | - | let $ | |
63 | - | let $ | |
64 | - | if (($ | |
65 | - | then $ | |
61 | + | let $list28482891 = poolAddresses | |
62 | + | let $size28482891 = size($list28482891) | |
63 | + | let $acc028482891 = 0 | |
64 | + | if (($size28482891 == 0)) | |
65 | + | then $acc028482891 | |
66 | 66 | else { | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
67 | + | let $acc128482891 = calcVoteDiffSWOP($acc028482891, $list28482891[0]) | |
68 | + | if (($size28482891 == 1)) | |
69 | + | then $acc128482891 | |
70 | 70 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
71 | + | let $acc228482891 = calcVoteDiffSWOP($acc128482891, $list28482891[1]) | |
72 | + | if (($size28482891 == 2)) | |
73 | + | then $acc228482891 | |
74 | 74 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
75 | + | let $acc328482891 = calcVoteDiffSWOP($acc228482891, $list28482891[2]) | |
76 | + | if (($size28482891 == 3)) | |
77 | + | then $acc328482891 | |
78 | 78 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
79 | + | let $acc428482891 = calcVoteDiffSWOP($acc328482891, $list28482891[3]) | |
80 | + | if (($size28482891 == 4)) | |
81 | + | then $acc428482891 | |
82 | 82 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
83 | + | let $acc528482891 = calcVoteDiffSWOP($acc428482891, $list28482891[4]) | |
84 | + | if (($size28482891 == 5)) | |
85 | + | then $acc528482891 | |
86 | 86 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
87 | + | let $acc628482891 = calcVoteDiffSWOP($acc528482891, $list28482891[5]) | |
88 | + | if (($size28482891 == 6)) | |
89 | + | then $acc628482891 | |
90 | 90 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
91 | + | let $acc728482891 = calcVoteDiffSWOP($acc628482891, $list28482891[6]) | |
92 | + | if (($size28482891 == 7)) | |
93 | + | then $acc728482891 | |
94 | 94 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
95 | + | let $acc828482891 = calcVoteDiffSWOP($acc728482891, $list28482891[7]) | |
96 | + | if (($size28482891 == 8)) | |
97 | + | then $acc828482891 | |
98 | 98 | else { | |
99 | - | let $ | |
99 | + | let $acc928482891 = calcVoteDiffSWOP($acc828482891, $list28482891[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 userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
112 | 112 | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
113 | 113 | let userDataEntry = { | |
114 | - | let $ | |
115 | - | let $ | |
116 | - | let $ | |
117 | - | if (($ | |
118 | - | then $ | |
114 | + | let $list30463087 = poolAddresses | |
115 | + | let $size30463087 = size($list30463087) | |
116 | + | let $acc030463087 = nil | |
117 | + | if (($size30463087 == 0)) | |
118 | + | then $acc030463087 | |
119 | 119 | else { | |
120 | - | let $ | |
121 | - | if (($ | |
122 | - | then $ | |
120 | + | let $acc130463087 = userVoteEntry($acc030463087, $list30463087[0]) | |
121 | + | if (($size30463087 == 1)) | |
122 | + | then $acc130463087 | |
123 | 123 | else { | |
124 | - | let $ | |
125 | - | if (($ | |
126 | - | then $ | |
124 | + | let $acc230463087 = userVoteEntry($acc130463087, $list30463087[1]) | |
125 | + | if (($size30463087 == 2)) | |
126 | + | then $acc230463087 | |
127 | 127 | else { | |
128 | - | let $ | |
129 | - | if (($ | |
130 | - | then $ | |
128 | + | let $acc330463087 = userVoteEntry($acc230463087, $list30463087[2]) | |
129 | + | if (($size30463087 == 3)) | |
130 | + | then $acc330463087 | |
131 | 131 | else { | |
132 | - | let $ | |
133 | - | if (($ | |
134 | - | then $ | |
132 | + | let $acc430463087 = userVoteEntry($acc330463087, $list30463087[3]) | |
133 | + | if (($size30463087 == 4)) | |
134 | + | then $acc430463087 | |
135 | 135 | else { | |
136 | - | let $ | |
137 | - | if (($ | |
138 | - | then $ | |
136 | + | let $acc530463087 = userVoteEntry($acc430463087, $list30463087[4]) | |
137 | + | if (($size30463087 == 5)) | |
138 | + | then $acc530463087 | |
139 | 139 | else { | |
140 | - | let $ | |
141 | - | if (($ | |
142 | - | then $ | |
140 | + | let $acc630463087 = userVoteEntry($acc530463087, $list30463087[5]) | |
141 | + | if (($size30463087 == 6)) | |
142 | + | then $acc630463087 | |
143 | 143 | else { | |
144 | - | let $ | |
145 | - | if (($ | |
146 | - | then $ | |
144 | + | let $acc730463087 = userVoteEntry($acc630463087, $list30463087[6]) | |
145 | + | if (($size30463087 == 7)) | |
146 | + | then $acc730463087 | |
147 | 147 | else { | |
148 | - | let $ | |
149 | - | if (($ | |
150 | - | then $ | |
148 | + | let $acc830463087 = userVoteEntry($acc730463087, $list30463087[7]) | |
149 | + | if (($size30463087 == 8)) | |
150 | + | then $acc830463087 | |
151 | 151 | else { | |
152 | - | let $ | |
152 | + | let $acc930463087 = userVoteEntry($acc830463087, $list30463087[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 poolDataEntry = { | |
165 | - | let $ | |
166 | - | let $ | |
167 | - | let $ | |
168 | - | if (($ | |
169 | - | then $ | |
165 | + | let $list31123153 = poolAddresses | |
166 | + | let $size31123153 = size($list31123153) | |
167 | + | let $acc031123153 = nil | |
168 | + | if (($size31123153 == 0)) | |
169 | + | then $acc031123153 | |
170 | 170 | else { | |
171 | - | let $ | |
172 | - | if (($ | |
173 | - | then $ | |
171 | + | let $acc131123153 = poolVoteEntry($acc031123153, $list31123153[0]) | |
172 | + | if (($size31123153 == 1)) | |
173 | + | then $acc131123153 | |
174 | 174 | else { | |
175 | - | let $ | |
176 | - | if (($ | |
177 | - | then $ | |
175 | + | let $acc231123153 = poolVoteEntry($acc131123153, $list31123153[1]) | |
176 | + | if (($size31123153 == 2)) | |
177 | + | then $acc231123153 | |
178 | 178 | else { | |
179 | - | let $ | |
180 | - | if (($ | |
181 | - | then $ | |
179 | + | let $acc331123153 = poolVoteEntry($acc231123153, $list31123153[2]) | |
180 | + | if (($size31123153 == 3)) | |
181 | + | then $acc331123153 | |
182 | 182 | else { | |
183 | - | let $ | |
184 | - | if (($ | |
185 | - | then $ | |
183 | + | let $acc431123153 = poolVoteEntry($acc331123153, $list31123153[3]) | |
184 | + | if (($size31123153 == 4)) | |
185 | + | then $acc431123153 | |
186 | 186 | else { | |
187 | - | let $ | |
188 | - | if (($ | |
189 | - | then $ | |
187 | + | let $acc531123153 = poolVoteEntry($acc431123153, $list31123153[4]) | |
188 | + | if (($size31123153 == 5)) | |
189 | + | then $acc531123153 | |
190 | 190 | else { | |
191 | - | let $ | |
192 | - | if (($ | |
193 | - | then $ | |
191 | + | let $acc631123153 = poolVoteEntry($acc531123153, $list31123153[5]) | |
192 | + | if (($size31123153 == 6)) | |
193 | + | then $acc631123153 | |
194 | 194 | else { | |
195 | - | let $ | |
196 | - | if (($ | |
197 | - | then $ | |
195 | + | let $acc731123153 = poolVoteEntry($acc631123153, $list31123153[6]) | |
196 | + | if (($size31123153 == 7)) | |
197 | + | then $acc731123153 | |
198 | 198 | else { | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
199 | + | let $acc831123153 = poolVoteEntry($acc731123153, $list31123153[7]) | |
200 | + | if (($size31123153 == 8)) | |
201 | + | then $acc831123153 | |
202 | 202 | else { | |
203 | - | let $ | |
203 | + | let $acc931123153 = poolVoteEntry($acc831123153, $list31123153[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 ((userSWOPinGovernance > userTotalVoteSWOPNew)) | |
216 | 216 | then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew))) | |
217 | 217 | else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)]) | |
218 | 218 | } | |
219 | 219 | } | |
220 | 220 | ||
221 | 221 |
github/deemru/w8io/169f3d6 130.54 ms ◑