tx · 3maxV4TtsB1ByVpTjswfPGsStwExyhQg235DzmHSDJrk 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp: -0.01400000 Waves 2021.03.13 14:54 [1435875] smart account 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp > SELF 0.00000000 Waves
{ "type": 13, "id": "3maxV4TtsB1ByVpTjswfPGsStwExyhQg235DzmHSDJrk", "fee": 1400000, "feeAssetId": null, "timestamp": 1615636491109, "version": 1, "sender": "3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp", "senderPublicKey": "2Ek8QRiW2SC3s4ZC79pXUmvJbmqU6agaNsjN2wmnzmSs", "proofs": [ "29GTkHW224cKWBdmZoCeMCdVVu524iRcUBWjWVDiQPRgEVyDiubKSDvmJTQq98ErZb81eVTeQLpEdxF4eA9Pc6Z1" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAAAcAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAASa1VzZXJUb3RhbFZvdGVTV09QAgAAABVfdXNlcl90b3RhbF9TV09QX3ZvdGUAAAAADWtQb29sVm90ZVNXT1ACAAAACl92b3RlX1NXT1AAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAB2dvdkFkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRAR/HWw3DxHB4C9lwcyuInima35raJGzsBAAAAFGlzQ2FsbGVySW5Hb3Zlcm5hbmNlAAAAAQAAAAR1c2VyAwMJAABmAAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdnb3ZBZGRyCQABLAAAAAIJAAQlAAAAAQUAAAAEdXNlcgIAAAAMX1NXT1BfYW1vdW50AAAAAAAAAAAAAAAAAAAAAAAABgkAAGYAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkABCUAAAABBQAAAAR1c2VyBQAAAB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HVzZXJTV09QaW5Hb3Zlcm5hbmNlAgAAACdTV09QIGluIGdvdmVybmFuY2UuIE5ldyBTV09QIGluIHZvdGluZyAJAAGkAAAAAQUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAAROAAAAAgkABE4AAAACBQAAAA11c2VyRGF0YUVudHJ5BQAAAA1wb29sRGF0YUVudHJ5CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABJrVXNlclRvdGFsVm90ZVNXT1AFAAAAFHVzZXJUb3RhbFZvdGVTV09QTmV3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA5rVG90YWxWb3RlU1dPUAUAAAAQdG90YWxWb3RlU1dPUG5ldwUAAAADbmlsAAAAANiRi3U=", "chainId": 84, "height": 1435875, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6FpeLF6LdLqsnQRxCGEzUWfZBFciSUwKaSR3UVSPfpwQ Next: DWbDg2w6aDzwuQtjVpU5wS2P8nQa2fBGsPgXGTxhL6XK Diff:
Old | New | Differences | |
---|---|---|---|
47 | 47 | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
48 | 48 | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
49 | 49 | let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0) | |
50 | - | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
50 | + | if (true) | |
51 | + | then throw(toString(poolVoteDiffSWOP)) | |
52 | + | else { | |
53 | + | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
51 | 54 | IntegerEntry((poolAddress + kPoolVoteSWOP), poolVoteSWOPnew) :: accumulated | |
55 | + | } | |
52 | 56 | } | |
53 | 57 | ||
54 | 58 | if (!(isCallerInGovernance(i.caller))) | |
58 | 62 | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
59 | 63 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
60 | 64 | let userVoteDiffSWOP = { | |
61 | - | let $ | |
62 | - | let $ | |
63 | - | let $ | |
64 | - | if (($ | |
65 | - | then $ | |
65 | + | let $list29092952 = poolAddresses | |
66 | + | let $size29092952 = size($list29092952) | |
67 | + | let $acc029092952 = 0 | |
68 | + | if (($size29092952 == 0)) | |
69 | + | then $acc029092952 | |
66 | 70 | else { | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
71 | + | let $acc129092952 = calcVoteDiffSWOP($acc029092952, $list29092952[0]) | |
72 | + | if (($size29092952 == 1)) | |
73 | + | then $acc129092952 | |
70 | 74 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
75 | + | let $acc229092952 = calcVoteDiffSWOP($acc129092952, $list29092952[1]) | |
76 | + | if (($size29092952 == 2)) | |
77 | + | then $acc229092952 | |
74 | 78 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
79 | + | let $acc329092952 = calcVoteDiffSWOP($acc229092952, $list29092952[2]) | |
80 | + | if (($size29092952 == 3)) | |
81 | + | then $acc329092952 | |
78 | 82 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
83 | + | let $acc429092952 = calcVoteDiffSWOP($acc329092952, $list29092952[3]) | |
84 | + | if (($size29092952 == 4)) | |
85 | + | then $acc429092952 | |
82 | 86 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
87 | + | let $acc529092952 = calcVoteDiffSWOP($acc429092952, $list29092952[4]) | |
88 | + | if (($size29092952 == 5)) | |
89 | + | then $acc529092952 | |
86 | 90 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
91 | + | let $acc629092952 = calcVoteDiffSWOP($acc529092952, $list29092952[5]) | |
92 | + | if (($size29092952 == 6)) | |
93 | + | then $acc629092952 | |
90 | 94 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
95 | + | let $acc729092952 = calcVoteDiffSWOP($acc629092952, $list29092952[6]) | |
96 | + | if (($size29092952 == 7)) | |
97 | + | then $acc729092952 | |
94 | 98 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
99 | + | let $acc829092952 = calcVoteDiffSWOP($acc729092952, $list29092952[7]) | |
100 | + | if (($size29092952 == 8)) | |
101 | + | then $acc829092952 | |
98 | 102 | else { | |
99 | - | let $ | |
103 | + | let $acc929092952 = calcVoteDiffSWOP($acc829092952, $list29092952[8]) | |
100 | 104 | throw("List size exceed 8") | |
101 | 105 | } | |
102 | 106 | } | |
111 | 115 | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
112 | 116 | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
113 | 117 | let userDataEntry = { | |
114 | - | let $ | |
115 | - | let $ | |
116 | - | let $ | |
117 | - | if (($ | |
118 | - | then $ | |
118 | + | let $list31073148 = poolAddresses | |
119 | + | let $size31073148 = size($list31073148) | |
120 | + | let $acc031073148 = nil | |
121 | + | if (($size31073148 == 0)) | |
122 | + | then $acc031073148 | |
119 | 123 | else { | |
120 | - | let $ | |
121 | - | if (($ | |
122 | - | then $ | |
124 | + | let $acc131073148 = userVoteEntry($acc031073148, $list31073148[0]) | |
125 | + | if (($size31073148 == 1)) | |
126 | + | then $acc131073148 | |
123 | 127 | else { | |
124 | - | let $ | |
125 | - | if (($ | |
126 | - | then $ | |
128 | + | let $acc231073148 = userVoteEntry($acc131073148, $list31073148[1]) | |
129 | + | if (($size31073148 == 2)) | |
130 | + | then $acc231073148 | |
127 | 131 | else { | |
128 | - | let $ | |
129 | - | if (($ | |
130 | - | then $ | |
132 | + | let $acc331073148 = userVoteEntry($acc231073148, $list31073148[2]) | |
133 | + | if (($size31073148 == 3)) | |
134 | + | then $acc331073148 | |
131 | 135 | else { | |
132 | - | let $ | |
133 | - | if (($ | |
134 | - | then $ | |
136 | + | let $acc431073148 = userVoteEntry($acc331073148, $list31073148[3]) | |
137 | + | if (($size31073148 == 4)) | |
138 | + | then $acc431073148 | |
135 | 139 | else { | |
136 | - | let $ | |
137 | - | if (($ | |
138 | - | then $ | |
140 | + | let $acc531073148 = userVoteEntry($acc431073148, $list31073148[4]) | |
141 | + | if (($size31073148 == 5)) | |
142 | + | then $acc531073148 | |
139 | 143 | else { | |
140 | - | let $ | |
141 | - | if (($ | |
142 | - | then $ | |
144 | + | let $acc631073148 = userVoteEntry($acc531073148, $list31073148[5]) | |
145 | + | if (($size31073148 == 6)) | |
146 | + | then $acc631073148 | |
143 | 147 | else { | |
144 | - | let $ | |
145 | - | if (($ | |
146 | - | then $ | |
148 | + | let $acc731073148 = userVoteEntry($acc631073148, $list31073148[6]) | |
149 | + | if (($size31073148 == 7)) | |
150 | + | then $acc731073148 | |
147 | 151 | else { | |
148 | - | let $ | |
149 | - | if (($ | |
150 | - | then $ | |
152 | + | let $acc831073148 = userVoteEntry($acc731073148, $list31073148[7]) | |
153 | + | if (($size31073148 == 8)) | |
154 | + | then $acc831073148 | |
151 | 155 | else { | |
152 | - | let $ | |
156 | + | let $acc931073148 = userVoteEntry($acc831073148, $list31073148[8]) | |
153 | 157 | throw("List size exceed 8") | |
154 | 158 | } | |
155 | 159 | } | |
162 | 166 | } | |
163 | 167 | } | |
164 | 168 | let poolDataEntry = { | |
165 | - | let $ | |
166 | - | let $ | |
167 | - | let $ | |
168 | - | if (($ | |
169 | - | then $ | |
169 | + | let $list31733214 = poolAddresses | |
170 | + | let $size31733214 = size($list31733214) | |
171 | + | let $acc031733214 = nil | |
172 | + | if (($size31733214 == 0)) | |
173 | + | then $acc031733214 | |
170 | 174 | else { | |
171 | - | let $ | |
172 | - | if (($ | |
173 | - | then $ | |
175 | + | let $acc131733214 = poolVoteEntry($acc031733214, $list31733214[0]) | |
176 | + | if (($size31733214 == 1)) | |
177 | + | then $acc131733214 | |
174 | 178 | else { | |
175 | - | let $ | |
176 | - | if (($ | |
177 | - | then $ | |
179 | + | let $acc231733214 = poolVoteEntry($acc131733214, $list31733214[1]) | |
180 | + | if (($size31733214 == 2)) | |
181 | + | then $acc231733214 | |
178 | 182 | else { | |
179 | - | let $ | |
180 | - | if (($ | |
181 | - | then $ | |
183 | + | let $acc331733214 = poolVoteEntry($acc231733214, $list31733214[2]) | |
184 | + | if (($size31733214 == 3)) | |
185 | + | then $acc331733214 | |
182 | 186 | else { | |
183 | - | let $ | |
184 | - | if (($ | |
185 | - | then $ | |
187 | + | let $acc431733214 = poolVoteEntry($acc331733214, $list31733214[3]) | |
188 | + | if (($size31733214 == 4)) | |
189 | + | then $acc431733214 | |
186 | 190 | else { | |
187 | - | let $ | |
188 | - | if (($ | |
189 | - | then $ | |
191 | + | let $acc531733214 = poolVoteEntry($acc431733214, $list31733214[4]) | |
192 | + | if (($size31733214 == 5)) | |
193 | + | then $acc531733214 | |
190 | 194 | else { | |
191 | - | let $ | |
192 | - | if (($ | |
193 | - | then $ | |
195 | + | let $acc631733214 = poolVoteEntry($acc531733214, $list31733214[5]) | |
196 | + | if (($size31733214 == 6)) | |
197 | + | then $acc631733214 | |
194 | 198 | else { | |
195 | - | let $ | |
196 | - | if (($ | |
197 | - | then $ | |
199 | + | let $acc731733214 = poolVoteEntry($acc631733214, $list31733214[6]) | |
200 | + | if (($size31733214 == 7)) | |
201 | + | then $acc731733214 | |
198 | 202 | else { | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
203 | + | let $acc831733214 = poolVoteEntry($acc731733214, $list31733214[7]) | |
204 | + | if (($size31733214 == 8)) | |
205 | + | then $acc831733214 | |
202 | 206 | else { | |
203 | - | let $ | |
207 | + | let $acc931733214 = poolVoteEntry($acc831733214, $list31733214[8]) | |
204 | 208 | throw("List size exceed 8") | |
205 | 209 | } | |
206 | 210 | } |
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 | 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 | - | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
50 | + | if (true) | |
51 | + | then throw(toString(poolVoteDiffSWOP)) | |
52 | + | else { | |
53 | + | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
51 | 54 | IntegerEntry((poolAddress + kPoolVoteSWOP), poolVoteSWOPnew) :: accumulated | |
55 | + | } | |
52 | 56 | } | |
53 | 57 | ||
54 | 58 | if (!(isCallerInGovernance(i.caller))) | |
55 | 59 | then throw("This address has 0 SWOP in Governance dApp") | |
56 | 60 | else { | |
57 | 61 | let totalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0) | |
58 | 62 | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
59 | 63 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
60 | 64 | let userVoteDiffSWOP = { | |
61 | - | let $ | |
62 | - | let $ | |
63 | - | let $ | |
64 | - | if (($ | |
65 | - | then $ | |
65 | + | let $list29092952 = poolAddresses | |
66 | + | let $size29092952 = size($list29092952) | |
67 | + | let $acc029092952 = 0 | |
68 | + | if (($size29092952 == 0)) | |
69 | + | then $acc029092952 | |
66 | 70 | else { | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
71 | + | let $acc129092952 = calcVoteDiffSWOP($acc029092952, $list29092952[0]) | |
72 | + | if (($size29092952 == 1)) | |
73 | + | then $acc129092952 | |
70 | 74 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
75 | + | let $acc229092952 = calcVoteDiffSWOP($acc129092952, $list29092952[1]) | |
76 | + | if (($size29092952 == 2)) | |
77 | + | then $acc229092952 | |
74 | 78 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
79 | + | let $acc329092952 = calcVoteDiffSWOP($acc229092952, $list29092952[2]) | |
80 | + | if (($size29092952 == 3)) | |
81 | + | then $acc329092952 | |
78 | 82 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
83 | + | let $acc429092952 = calcVoteDiffSWOP($acc329092952, $list29092952[3]) | |
84 | + | if (($size29092952 == 4)) | |
85 | + | then $acc429092952 | |
82 | 86 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
87 | + | let $acc529092952 = calcVoteDiffSWOP($acc429092952, $list29092952[4]) | |
88 | + | if (($size29092952 == 5)) | |
89 | + | then $acc529092952 | |
86 | 90 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
91 | + | let $acc629092952 = calcVoteDiffSWOP($acc529092952, $list29092952[5]) | |
92 | + | if (($size29092952 == 6)) | |
93 | + | then $acc629092952 | |
90 | 94 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
95 | + | let $acc729092952 = calcVoteDiffSWOP($acc629092952, $list29092952[6]) | |
96 | + | if (($size29092952 == 7)) | |
97 | + | then $acc729092952 | |
94 | 98 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
99 | + | let $acc829092952 = calcVoteDiffSWOP($acc729092952, $list29092952[7]) | |
100 | + | if (($size29092952 == 8)) | |
101 | + | then $acc829092952 | |
98 | 102 | else { | |
99 | - | let $ | |
103 | + | let $acc929092952 = calcVoteDiffSWOP($acc829092952, $list29092952[8]) | |
100 | 104 | throw("List size exceed 8") | |
101 | 105 | } | |
102 | 106 | } | |
103 | 107 | } | |
104 | 108 | } | |
105 | 109 | } | |
106 | 110 | } | |
107 | 111 | } | |
108 | 112 | } | |
109 | 113 | } | |
110 | 114 | } | |
111 | 115 | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
112 | 116 | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
113 | 117 | let userDataEntry = { | |
114 | - | let $ | |
115 | - | let $ | |
116 | - | let $ | |
117 | - | if (($ | |
118 | - | then $ | |
118 | + | let $list31073148 = poolAddresses | |
119 | + | let $size31073148 = size($list31073148) | |
120 | + | let $acc031073148 = nil | |
121 | + | if (($size31073148 == 0)) | |
122 | + | then $acc031073148 | |
119 | 123 | else { | |
120 | - | let $ | |
121 | - | if (($ | |
122 | - | then $ | |
124 | + | let $acc131073148 = userVoteEntry($acc031073148, $list31073148[0]) | |
125 | + | if (($size31073148 == 1)) | |
126 | + | then $acc131073148 | |
123 | 127 | else { | |
124 | - | let $ | |
125 | - | if (($ | |
126 | - | then $ | |
128 | + | let $acc231073148 = userVoteEntry($acc131073148, $list31073148[1]) | |
129 | + | if (($size31073148 == 2)) | |
130 | + | then $acc231073148 | |
127 | 131 | else { | |
128 | - | let $ | |
129 | - | if (($ | |
130 | - | then $ | |
132 | + | let $acc331073148 = userVoteEntry($acc231073148, $list31073148[2]) | |
133 | + | if (($size31073148 == 3)) | |
134 | + | then $acc331073148 | |
131 | 135 | else { | |
132 | - | let $ | |
133 | - | if (($ | |
134 | - | then $ | |
136 | + | let $acc431073148 = userVoteEntry($acc331073148, $list31073148[3]) | |
137 | + | if (($size31073148 == 4)) | |
138 | + | then $acc431073148 | |
135 | 139 | else { | |
136 | - | let $ | |
137 | - | if (($ | |
138 | - | then $ | |
140 | + | let $acc531073148 = userVoteEntry($acc431073148, $list31073148[4]) | |
141 | + | if (($size31073148 == 5)) | |
142 | + | then $acc531073148 | |
139 | 143 | else { | |
140 | - | let $ | |
141 | - | if (($ | |
142 | - | then $ | |
144 | + | let $acc631073148 = userVoteEntry($acc531073148, $list31073148[5]) | |
145 | + | if (($size31073148 == 6)) | |
146 | + | then $acc631073148 | |
143 | 147 | else { | |
144 | - | let $ | |
145 | - | if (($ | |
146 | - | then $ | |
148 | + | let $acc731073148 = userVoteEntry($acc631073148, $list31073148[6]) | |
149 | + | if (($size31073148 == 7)) | |
150 | + | then $acc731073148 | |
147 | 151 | else { | |
148 | - | let $ | |
149 | - | if (($ | |
150 | - | then $ | |
152 | + | let $acc831073148 = userVoteEntry($acc731073148, $list31073148[7]) | |
153 | + | if (($size31073148 == 8)) | |
154 | + | then $acc831073148 | |
151 | 155 | else { | |
152 | - | let $ | |
156 | + | let $acc931073148 = userVoteEntry($acc831073148, $list31073148[8]) | |
153 | 157 | throw("List size exceed 8") | |
154 | 158 | } | |
155 | 159 | } | |
156 | 160 | } | |
157 | 161 | } | |
158 | 162 | } | |
159 | 163 | } | |
160 | 164 | } | |
161 | 165 | } | |
162 | 166 | } | |
163 | 167 | } | |
164 | 168 | let poolDataEntry = { | |
165 | - | let $ | |
166 | - | let $ | |
167 | - | let $ | |
168 | - | if (($ | |
169 | - | then $ | |
169 | + | let $list31733214 = poolAddresses | |
170 | + | let $size31733214 = size($list31733214) | |
171 | + | let $acc031733214 = nil | |
172 | + | if (($size31733214 == 0)) | |
173 | + | then $acc031733214 | |
170 | 174 | else { | |
171 | - | let $ | |
172 | - | if (($ | |
173 | - | then $ | |
175 | + | let $acc131733214 = poolVoteEntry($acc031733214, $list31733214[0]) | |
176 | + | if (($size31733214 == 1)) | |
177 | + | then $acc131733214 | |
174 | 178 | else { | |
175 | - | let $ | |
176 | - | if (($ | |
177 | - | then $ | |
179 | + | let $acc231733214 = poolVoteEntry($acc131733214, $list31733214[1]) | |
180 | + | if (($size31733214 == 2)) | |
181 | + | then $acc231733214 | |
178 | 182 | else { | |
179 | - | let $ | |
180 | - | if (($ | |
181 | - | then $ | |
183 | + | let $acc331733214 = poolVoteEntry($acc231733214, $list31733214[2]) | |
184 | + | if (($size31733214 == 3)) | |
185 | + | then $acc331733214 | |
182 | 186 | else { | |
183 | - | let $ | |
184 | - | if (($ | |
185 | - | then $ | |
187 | + | let $acc431733214 = poolVoteEntry($acc331733214, $list31733214[3]) | |
188 | + | if (($size31733214 == 4)) | |
189 | + | then $acc431733214 | |
186 | 190 | else { | |
187 | - | let $ | |
188 | - | if (($ | |
189 | - | then $ | |
191 | + | let $acc531733214 = poolVoteEntry($acc431733214, $list31733214[4]) | |
192 | + | if (($size31733214 == 5)) | |
193 | + | then $acc531733214 | |
190 | 194 | else { | |
191 | - | let $ | |
192 | - | if (($ | |
193 | - | then $ | |
195 | + | let $acc631733214 = poolVoteEntry($acc531733214, $list31733214[5]) | |
196 | + | if (($size31733214 == 6)) | |
197 | + | then $acc631733214 | |
194 | 198 | else { | |
195 | - | let $ | |
196 | - | if (($ | |
197 | - | then $ | |
199 | + | let $acc731733214 = poolVoteEntry($acc631733214, $list31733214[6]) | |
200 | + | if (($size31733214 == 7)) | |
201 | + | then $acc731733214 | |
198 | 202 | else { | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
203 | + | let $acc831733214 = poolVoteEntry($acc731733214, $list31733214[7]) | |
204 | + | if (($size31733214 == 8)) | |
205 | + | then $acc831733214 | |
202 | 206 | else { | |
203 | - | let $ | |
207 | + | let $acc931733214 = poolVoteEntry($acc831733214, $list31733214[8]) | |
204 | 208 | throw("List size exceed 8") | |
205 | 209 | } | |
206 | 210 | } | |
207 | 211 | } | |
208 | 212 | } | |
209 | 213 | } | |
210 | 214 | } | |
211 | 215 | } | |
212 | 216 | } | |
213 | 217 | } | |
214 | 218 | } | |
215 | 219 | if ((userSWOPinGovernance > userTotalVoteSWOPNew)) | |
216 | 220 | then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew))) | |
217 | 221 | else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)]) | |
218 | 222 | } | |
219 | 223 | } | |
220 | 224 | ||
221 | 225 |
github/deemru/w8io/169f3d6 125.06 ms ◑