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 kTotalVoteSWOP = "total_vote_SWOP" | |
11 | 11 | ||
12 | - | let govAddr = Address(base58' | |
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 | |
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 $list28142857 = poolAddresses | |
62 | + | let $size28142857 = size($list28142857) | |
63 | + | let $acc028142857 = 0 | |
64 | + | if (($size28142857 == 0)) | |
65 | + | then $acc028142857 | |
66 | 66 | else { | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
67 | + | let $acc128142857 = calcVoteDiffSWOP($acc028142857, $list28142857[0]) | |
68 | + | if (($size28142857 == 1)) | |
69 | + | then $acc128142857 | |
70 | 70 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
71 | + | let $acc228142857 = calcVoteDiffSWOP($acc128142857, $list28142857[1]) | |
72 | + | if (($size28142857 == 2)) | |
73 | + | then $acc228142857 | |
74 | 74 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
75 | + | let $acc328142857 = calcVoteDiffSWOP($acc228142857, $list28142857[2]) | |
76 | + | if (($size28142857 == 3)) | |
77 | + | then $acc328142857 | |
78 | 78 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
79 | + | let $acc428142857 = calcVoteDiffSWOP($acc328142857, $list28142857[3]) | |
80 | + | if (($size28142857 == 4)) | |
81 | + | then $acc428142857 | |
82 | 82 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
83 | + | let $acc528142857 = calcVoteDiffSWOP($acc428142857, $list28142857[4]) | |
84 | + | if (($size28142857 == 5)) | |
85 | + | then $acc528142857 | |
86 | 86 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
87 | + | let $acc628142857 = calcVoteDiffSWOP($acc528142857, $list28142857[5]) | |
88 | + | if (($size28142857 == 6)) | |
89 | + | then $acc628142857 | |
90 | 90 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
91 | + | let $acc728142857 = calcVoteDiffSWOP($acc628142857, $list28142857[6]) | |
92 | + | if (($size28142857 == 7)) | |
93 | + | then $acc728142857 | |
94 | 94 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
95 | + | let $acc828142857 = calcVoteDiffSWOP($acc728142857, $list28142857[7]) | |
96 | + | if (($size28142857 == 8)) | |
97 | + | then $acc828142857 | |
98 | 98 | else { | |
99 | - | let $ | |
99 | + | let $acc928142857 = calcVoteDiffSWOP($acc828142857, $list28142857[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 $list30123053 = poolAddresses | |
115 | + | let $size30123053 = size($list30123053) | |
116 | + | let $acc030123053 = nil | |
117 | + | if (($size30123053 == 0)) | |
118 | + | then $acc030123053 | |
119 | 119 | else { | |
120 | - | let $ | |
121 | - | if (($ | |
122 | - | then $ | |
120 | + | let $acc130123053 = userVoteEntry($acc030123053, $list30123053[0]) | |
121 | + | if (($size30123053 == 1)) | |
122 | + | then $acc130123053 | |
123 | 123 | else { | |
124 | - | let $ | |
125 | - | if (($ | |
126 | - | then $ | |
124 | + | let $acc230123053 = userVoteEntry($acc130123053, $list30123053[1]) | |
125 | + | if (($size30123053 == 2)) | |
126 | + | then $acc230123053 | |
127 | 127 | else { | |
128 | - | let $ | |
129 | - | if (($ | |
130 | - | then $ | |
128 | + | let $acc330123053 = userVoteEntry($acc230123053, $list30123053[2]) | |
129 | + | if (($size30123053 == 3)) | |
130 | + | then $acc330123053 | |
131 | 131 | else { | |
132 | - | let $ | |
133 | - | if (($ | |
134 | - | then $ | |
132 | + | let $acc430123053 = userVoteEntry($acc330123053, $list30123053[3]) | |
133 | + | if (($size30123053 == 4)) | |
134 | + | then $acc430123053 | |
135 | 135 | else { | |
136 | - | let $ | |
137 | - | if (($ | |
138 | - | then $ | |
136 | + | let $acc530123053 = userVoteEntry($acc430123053, $list30123053[4]) | |
137 | + | if (($size30123053 == 5)) | |
138 | + | then $acc530123053 | |
139 | 139 | else { | |
140 | - | let $ | |
141 | - | if (($ | |
142 | - | then $ | |
140 | + | let $acc630123053 = userVoteEntry($acc530123053, $list30123053[5]) | |
141 | + | if (($size30123053 == 6)) | |
142 | + | then $acc630123053 | |
143 | 143 | else { | |
144 | - | let $ | |
145 | - | if (($ | |
146 | - | then $ | |
144 | + | let $acc730123053 = userVoteEntry($acc630123053, $list30123053[6]) | |
145 | + | if (($size30123053 == 7)) | |
146 | + | then $acc730123053 | |
147 | 147 | else { | |
148 | - | let $ | |
149 | - | if (($ | |
150 | - | then $ | |
148 | + | let $acc830123053 = userVoteEntry($acc730123053, $list30123053[7]) | |
149 | + | if (($size30123053 == 8)) | |
150 | + | then $acc830123053 | |
151 | 151 | else { | |
152 | - | let $ | |
152 | + | let $acc930123053 = userVoteEntry($acc830123053, $list30123053[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 $list30783119 = poolAddresses | |
166 | + | let $size30783119 = size($list30783119) | |
167 | + | let $acc030783119 = nil | |
168 | + | if (($size30783119 == 0)) | |
169 | + | then $acc030783119 | |
170 | 170 | else { | |
171 | - | let $ | |
172 | - | if (($ | |
173 | - | then $ | |
171 | + | let $acc130783119 = poolVoteEntry($acc030783119, $list30783119[0]) | |
172 | + | if (($size30783119 == 1)) | |
173 | + | then $acc130783119 | |
174 | 174 | else { | |
175 | - | let $ | |
176 | - | if (($ | |
177 | - | then $ | |
175 | + | let $acc230783119 = poolVoteEntry($acc130783119, $list30783119[1]) | |
176 | + | if (($size30783119 == 2)) | |
177 | + | then $acc230783119 | |
178 | 178 | else { | |
179 | - | let $ | |
180 | - | if (($ | |
181 | - | then $ | |
179 | + | let $acc330783119 = poolVoteEntry($acc230783119, $list30783119[2]) | |
180 | + | if (($size30783119 == 3)) | |
181 | + | then $acc330783119 | |
182 | 182 | else { | |
183 | - | let $ | |
184 | - | if (($ | |
185 | - | then $ | |
183 | + | let $acc430783119 = poolVoteEntry($acc330783119, $list30783119[3]) | |
184 | + | if (($size30783119 == 4)) | |
185 | + | then $acc430783119 | |
186 | 186 | else { | |
187 | - | let $ | |
188 | - | if (($ | |
189 | - | then $ | |
187 | + | let $acc530783119 = poolVoteEntry($acc430783119, $list30783119[4]) | |
188 | + | if (($size30783119 == 5)) | |
189 | + | then $acc530783119 | |
190 | 190 | else { | |
191 | - | let $ | |
192 | - | if (($ | |
193 | - | then $ | |
191 | + | let $acc630783119 = poolVoteEntry($acc530783119, $list30783119[5]) | |
192 | + | if (($size30783119 == 6)) | |
193 | + | then $acc630783119 | |
194 | 194 | else { | |
195 | - | let $ | |
196 | - | if (($ | |
197 | - | then $ | |
195 | + | let $acc730783119 = poolVoteEntry($acc630783119, $list30783119[6]) | |
196 | + | if (($size30783119 == 7)) | |
197 | + | then $acc730783119 | |
198 | 198 | else { | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
199 | + | let $acc830783119 = poolVoteEntry($acc730783119, $list30783119[7]) | |
200 | + | if (($size30783119 == 8)) | |
201 | + | then $acc830783119 | |
202 | 202 | else { | |
203 | - | let $ | |
203 | + | let $acc930783119 = poolVoteEntry($acc830783119, $list30783119[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 | - | let govAddr = Address(base58' | |
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 + "_startHeight")), 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 _startHeight 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 $list28142857 = poolAddresses | |
62 | + | let $size28142857 = size($list28142857) | |
63 | + | let $acc028142857 = 0 | |
64 | + | if (($size28142857 == 0)) | |
65 | + | then $acc028142857 | |
66 | 66 | else { | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
67 | + | let $acc128142857 = calcVoteDiffSWOP($acc028142857, $list28142857[0]) | |
68 | + | if (($size28142857 == 1)) | |
69 | + | then $acc128142857 | |
70 | 70 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
71 | + | let $acc228142857 = calcVoteDiffSWOP($acc128142857, $list28142857[1]) | |
72 | + | if (($size28142857 == 2)) | |
73 | + | then $acc228142857 | |
74 | 74 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
75 | + | let $acc328142857 = calcVoteDiffSWOP($acc228142857, $list28142857[2]) | |
76 | + | if (($size28142857 == 3)) | |
77 | + | then $acc328142857 | |
78 | 78 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
79 | + | let $acc428142857 = calcVoteDiffSWOP($acc328142857, $list28142857[3]) | |
80 | + | if (($size28142857 == 4)) | |
81 | + | then $acc428142857 | |
82 | 82 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
83 | + | let $acc528142857 = calcVoteDiffSWOP($acc428142857, $list28142857[4]) | |
84 | + | if (($size28142857 == 5)) | |
85 | + | then $acc528142857 | |
86 | 86 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
87 | + | let $acc628142857 = calcVoteDiffSWOP($acc528142857, $list28142857[5]) | |
88 | + | if (($size28142857 == 6)) | |
89 | + | then $acc628142857 | |
90 | 90 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
91 | + | let $acc728142857 = calcVoteDiffSWOP($acc628142857, $list28142857[6]) | |
92 | + | if (($size28142857 == 7)) | |
93 | + | then $acc728142857 | |
94 | 94 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
95 | + | let $acc828142857 = calcVoteDiffSWOP($acc728142857, $list28142857[7]) | |
96 | + | if (($size28142857 == 8)) | |
97 | + | then $acc828142857 | |
98 | 98 | else { | |
99 | - | let $ | |
99 | + | let $acc928142857 = calcVoteDiffSWOP($acc828142857, $list28142857[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 $list30123053 = poolAddresses | |
115 | + | let $size30123053 = size($list30123053) | |
116 | + | let $acc030123053 = nil | |
117 | + | if (($size30123053 == 0)) | |
118 | + | then $acc030123053 | |
119 | 119 | else { | |
120 | - | let $ | |
121 | - | if (($ | |
122 | - | then $ | |
120 | + | let $acc130123053 = userVoteEntry($acc030123053, $list30123053[0]) | |
121 | + | if (($size30123053 == 1)) | |
122 | + | then $acc130123053 | |
123 | 123 | else { | |
124 | - | let $ | |
125 | - | if (($ | |
126 | - | then $ | |
124 | + | let $acc230123053 = userVoteEntry($acc130123053, $list30123053[1]) | |
125 | + | if (($size30123053 == 2)) | |
126 | + | then $acc230123053 | |
127 | 127 | else { | |
128 | - | let $ | |
129 | - | if (($ | |
130 | - | then $ | |
128 | + | let $acc330123053 = userVoteEntry($acc230123053, $list30123053[2]) | |
129 | + | if (($size30123053 == 3)) | |
130 | + | then $acc330123053 | |
131 | 131 | else { | |
132 | - | let $ | |
133 | - | if (($ | |
134 | - | then $ | |
132 | + | let $acc430123053 = userVoteEntry($acc330123053, $list30123053[3]) | |
133 | + | if (($size30123053 == 4)) | |
134 | + | then $acc430123053 | |
135 | 135 | else { | |
136 | - | let $ | |
137 | - | if (($ | |
138 | - | then $ | |
136 | + | let $acc530123053 = userVoteEntry($acc430123053, $list30123053[4]) | |
137 | + | if (($size30123053 == 5)) | |
138 | + | then $acc530123053 | |
139 | 139 | else { | |
140 | - | let $ | |
141 | - | if (($ | |
142 | - | then $ | |
140 | + | let $acc630123053 = userVoteEntry($acc530123053, $list30123053[5]) | |
141 | + | if (($size30123053 == 6)) | |
142 | + | then $acc630123053 | |
143 | 143 | else { | |
144 | - | let $ | |
145 | - | if (($ | |
146 | - | then $ | |
144 | + | let $acc730123053 = userVoteEntry($acc630123053, $list30123053[6]) | |
145 | + | if (($size30123053 == 7)) | |
146 | + | then $acc730123053 | |
147 | 147 | else { | |
148 | - | let $ | |
149 | - | if (($ | |
150 | - | then $ | |
148 | + | let $acc830123053 = userVoteEntry($acc730123053, $list30123053[7]) | |
149 | + | if (($size30123053 == 8)) | |
150 | + | then $acc830123053 | |
151 | 151 | else { | |
152 | - | let $ | |
152 | + | let $acc930123053 = userVoteEntry($acc830123053, $list30123053[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 $list30783119 = poolAddresses | |
166 | + | let $size30783119 = size($list30783119) | |
167 | + | let $acc030783119 = nil | |
168 | + | if (($size30783119 == 0)) | |
169 | + | then $acc030783119 | |
170 | 170 | else { | |
171 | - | let $ | |
172 | - | if (($ | |
173 | - | then $ | |
171 | + | let $acc130783119 = poolVoteEntry($acc030783119, $list30783119[0]) | |
172 | + | if (($size30783119 == 1)) | |
173 | + | then $acc130783119 | |
174 | 174 | else { | |
175 | - | let $ | |
176 | - | if (($ | |
177 | - | then $ | |
175 | + | let $acc230783119 = poolVoteEntry($acc130783119, $list30783119[1]) | |
176 | + | if (($size30783119 == 2)) | |
177 | + | then $acc230783119 | |
178 | 178 | else { | |
179 | - | let $ | |
180 | - | if (($ | |
181 | - | then $ | |
179 | + | let $acc330783119 = poolVoteEntry($acc230783119, $list30783119[2]) | |
180 | + | if (($size30783119 == 3)) | |
181 | + | then $acc330783119 | |
182 | 182 | else { | |
183 | - | let $ | |
184 | - | if (($ | |
185 | - | then $ | |
183 | + | let $acc430783119 = poolVoteEntry($acc330783119, $list30783119[3]) | |
184 | + | if (($size30783119 == 4)) | |
185 | + | then $acc430783119 | |
186 | 186 | else { | |
187 | - | let $ | |
188 | - | if (($ | |
189 | - | then $ | |
187 | + | let $acc530783119 = poolVoteEntry($acc430783119, $list30783119[4]) | |
188 | + | if (($size30783119 == 5)) | |
189 | + | then $acc530783119 | |
190 | 190 | else { | |
191 | - | let $ | |
192 | - | if (($ | |
193 | - | then $ | |
191 | + | let $acc630783119 = poolVoteEntry($acc530783119, $list30783119[5]) | |
192 | + | if (($size30783119 == 6)) | |
193 | + | then $acc630783119 | |
194 | 194 | else { | |
195 | - | let $ | |
196 | - | if (($ | |
197 | - | then $ | |
195 | + | let $acc730783119 = poolVoteEntry($acc630783119, $list30783119[6]) | |
196 | + | if (($size30783119 == 7)) | |
197 | + | then $acc730783119 | |
198 | 198 | else { | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
199 | + | let $acc830783119 = poolVoteEntry($acc730783119, $list30783119[7]) | |
200 | + | if (($size30783119 == 8)) | |
201 | + | then $acc830783119 | |
202 | 202 | else { | |
203 | - | let $ | |
203 | + | let $acc930783119 = poolVoteEntry($acc830783119, $list30783119[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 138.33 ms ◑