tx · DWbDg2w6aDzwuQtjVpU5wS2P8nQa2fBGsPgXGTxhL6XK 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp: -0.01400000 Waves 2021.03.13 14:55 [1435876] smart account 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp > SELF 0.00000000 Waves
{ "type": 13, "id": "DWbDg2w6aDzwuQtjVpU5wS2P8nQa2fBGsPgXGTxhL6XK", "fee": 1400000, "feeAssetId": null, "timestamp": 1615636550578, "version": 1, "sender": "3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp", "senderPublicKey": "2Ek8QRiW2SC3s4ZC79pXUmvJbmqU6agaNsjN2wmnzmSs", "proofs": [ "2XR5s1MgFNa4THM5f6Dgx7SUAvafvYPeeddMJijU6VNfyeFiWVtCgikDyBEkt3zTRSzMhJmvij69Nj1y1bX3EHpx" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAAAcAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAASa1VzZXJUb3RhbFZvdGVTV09QAgAAABVfdXNlcl90b3RhbF9TV09QX3ZvdGUAAAAADWtQb29sVm90ZVNXT1ACAAAACl92b3RlX1NXT1AAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAB2dvdkFkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRAR/HWw3DxHB4C9lwcyuInima35raJGzsBAAAAFGlzQ2FsbGVySW5Hb3Zlcm5hbmNlAAAAAQAAAAR1c2VyAwMJAABmAAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdnb3ZBZGRyCQABLAAAAAIJAAQlAAAAAQUAAAAEdXNlcgIAAAAMX1NXT1BfYW1vdW50AAAAAAAAAAAAAAAAAAAAAAAABgkAAGYAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkABCUAAAABBQAAA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AAAAEFAAAAFHVzZXJTV09QaW5Hb3Zlcm5hbmNlAgAAACdTV09QIGluIGdvdmVybmFuY2UuIE5ldyBTV09QIGluIHZvdGluZyAJAAGkAAAAAQUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAAROAAAAAgkABE4AAAACBQAAAA11c2VyRGF0YUVudHJ5BQAAAA1wb29sRGF0YUVudHJ5CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABJrVXNlclRvdGFsVm90ZVNXT1AFAAAAFHVzZXJUb3RhbFZvdGVTV09QTmV3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA5rVG90YWxWb3RlU1dPUAUAAAAQdG90YWxWb3RlU1dPUG5ldwUAAAADbmlsAAAAAFxDW+0=", "chainId": 84, "height": 1435876, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3maxV4TtsB1ByVpTjswfPGsStwExyhQg235DzmHSDJrk Next: 8jxGFqhgCKm58Pp2g6Bts4ySwZjcFYrSSQfbCMvPUKMR Diff:
Old | New | Differences | |
---|---|---|---|
43 | 43 | ||
44 | 44 | func poolVoteEntry (accumulated,poolAddress) = { | |
45 | 45 | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
46 | - | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + | |
46 | + | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP)), 0) | |
47 | 47 | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
48 | 48 | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
49 | 49 | let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0) | |
62 | 62 | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
63 | 63 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
64 | 64 | let userVoteDiffSWOP = { | |
65 | - | let $ | |
66 | - | let $ | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
65 | + | let $list29102953 = poolAddresses | |
66 | + | let $size29102953 = size($list29102953) | |
67 | + | let $acc029102953 = 0 | |
68 | + | if (($size29102953 == 0)) | |
69 | + | then $acc029102953 | |
70 | 70 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
71 | + | let $acc129102953 = calcVoteDiffSWOP($acc029102953, $list29102953[0]) | |
72 | + | if (($size29102953 == 1)) | |
73 | + | then $acc129102953 | |
74 | 74 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
75 | + | let $acc229102953 = calcVoteDiffSWOP($acc129102953, $list29102953[1]) | |
76 | + | if (($size29102953 == 2)) | |
77 | + | then $acc229102953 | |
78 | 78 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
79 | + | let $acc329102953 = calcVoteDiffSWOP($acc229102953, $list29102953[2]) | |
80 | + | if (($size29102953 == 3)) | |
81 | + | then $acc329102953 | |
82 | 82 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
83 | + | let $acc429102953 = calcVoteDiffSWOP($acc329102953, $list29102953[3]) | |
84 | + | if (($size29102953 == 4)) | |
85 | + | then $acc429102953 | |
86 | 86 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
87 | + | let $acc529102953 = calcVoteDiffSWOP($acc429102953, $list29102953[4]) | |
88 | + | if (($size29102953 == 5)) | |
89 | + | then $acc529102953 | |
90 | 90 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
91 | + | let $acc629102953 = calcVoteDiffSWOP($acc529102953, $list29102953[5]) | |
92 | + | if (($size29102953 == 6)) | |
93 | + | then $acc629102953 | |
94 | 94 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
95 | + | let $acc729102953 = calcVoteDiffSWOP($acc629102953, $list29102953[6]) | |
96 | + | if (($size29102953 == 7)) | |
97 | + | then $acc729102953 | |
98 | 98 | else { | |
99 | - | let $ | |
100 | - | if (($ | |
101 | - | then $ | |
99 | + | let $acc829102953 = calcVoteDiffSWOP($acc729102953, $list29102953[7]) | |
100 | + | if (($size29102953 == 8)) | |
101 | + | then $acc829102953 | |
102 | 102 | else { | |
103 | - | let $ | |
103 | + | let $acc929102953 = calcVoteDiffSWOP($acc829102953, $list29102953[8]) | |
104 | 104 | throw("List size exceed 8") | |
105 | 105 | } | |
106 | 106 | } | |
115 | 115 | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
116 | 116 | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
117 | 117 | let userDataEntry = { | |
118 | - | let $ | |
119 | - | let $ | |
120 | - | let $ | |
121 | - | if (($ | |
122 | - | then $ | |
118 | + | let $list31083149 = poolAddresses | |
119 | + | let $size31083149 = size($list31083149) | |
120 | + | let $acc031083149 = nil | |
121 | + | if (($size31083149 == 0)) | |
122 | + | then $acc031083149 | |
123 | 123 | else { | |
124 | - | let $ | |
125 | - | if (($ | |
126 | - | then $ | |
124 | + | let $acc131083149 = userVoteEntry($acc031083149, $list31083149[0]) | |
125 | + | if (($size31083149 == 1)) | |
126 | + | then $acc131083149 | |
127 | 127 | else { | |
128 | - | let $ | |
129 | - | if (($ | |
130 | - | then $ | |
128 | + | let $acc231083149 = userVoteEntry($acc131083149, $list31083149[1]) | |
129 | + | if (($size31083149 == 2)) | |
130 | + | then $acc231083149 | |
131 | 131 | else { | |
132 | - | let $ | |
133 | - | if (($ | |
134 | - | then $ | |
132 | + | let $acc331083149 = userVoteEntry($acc231083149, $list31083149[2]) | |
133 | + | if (($size31083149 == 3)) | |
134 | + | then $acc331083149 | |
135 | 135 | else { | |
136 | - | let $ | |
137 | - | if (($ | |
138 | - | then $ | |
136 | + | let $acc431083149 = userVoteEntry($acc331083149, $list31083149[3]) | |
137 | + | if (($size31083149 == 4)) | |
138 | + | then $acc431083149 | |
139 | 139 | else { | |
140 | - | let $ | |
141 | - | if (($ | |
142 | - | then $ | |
140 | + | let $acc531083149 = userVoteEntry($acc431083149, $list31083149[4]) | |
141 | + | if (($size31083149 == 5)) | |
142 | + | then $acc531083149 | |
143 | 143 | else { | |
144 | - | let $ | |
145 | - | if (($ | |
146 | - | then $ | |
144 | + | let $acc631083149 = userVoteEntry($acc531083149, $list31083149[5]) | |
145 | + | if (($size31083149 == 6)) | |
146 | + | then $acc631083149 | |
147 | 147 | else { | |
148 | - | let $ | |
149 | - | if (($ | |
150 | - | then $ | |
148 | + | let $acc731083149 = userVoteEntry($acc631083149, $list31083149[6]) | |
149 | + | if (($size31083149 == 7)) | |
150 | + | then $acc731083149 | |
151 | 151 | else { | |
152 | - | let $ | |
153 | - | if (($ | |
154 | - | then $ | |
152 | + | let $acc831083149 = userVoteEntry($acc731083149, $list31083149[7]) | |
153 | + | if (($size31083149 == 8)) | |
154 | + | then $acc831083149 | |
155 | 155 | else { | |
156 | - | let $ | |
156 | + | let $acc931083149 = userVoteEntry($acc831083149, $list31083149[8]) | |
157 | 157 | throw("List size exceed 8") | |
158 | 158 | } | |
159 | 159 | } | |
166 | 166 | } | |
167 | 167 | } | |
168 | 168 | let poolDataEntry = { | |
169 | - | let $ | |
170 | - | let $ | |
171 | - | let $ | |
172 | - | if (($ | |
173 | - | then $ | |
169 | + | let $list31743215 = poolAddresses | |
170 | + | let $size31743215 = size($list31743215) | |
171 | + | let $acc031743215 = nil | |
172 | + | if (($size31743215 == 0)) | |
173 | + | then $acc031743215 | |
174 | 174 | else { | |
175 | - | let $ | |
176 | - | if (($ | |
177 | - | then $ | |
175 | + | let $acc131743215 = poolVoteEntry($acc031743215, $list31743215[0]) | |
176 | + | if (($size31743215 == 1)) | |
177 | + | then $acc131743215 | |
178 | 178 | else { | |
179 | - | let $ | |
180 | - | if (($ | |
181 | - | then $ | |
179 | + | let $acc231743215 = poolVoteEntry($acc131743215, $list31743215[1]) | |
180 | + | if (($size31743215 == 2)) | |
181 | + | then $acc231743215 | |
182 | 182 | else { | |
183 | - | let $ | |
184 | - | if (($ | |
185 | - | then $ | |
183 | + | let $acc331743215 = poolVoteEntry($acc231743215, $list31743215[2]) | |
184 | + | if (($size31743215 == 3)) | |
185 | + | then $acc331743215 | |
186 | 186 | else { | |
187 | - | let $ | |
188 | - | if (($ | |
189 | - | then $ | |
187 | + | let $acc431743215 = poolVoteEntry($acc331743215, $list31743215[3]) | |
188 | + | if (($size31743215 == 4)) | |
189 | + | then $acc431743215 | |
190 | 190 | else { | |
191 | - | let $ | |
192 | - | if (($ | |
193 | - | then $ | |
191 | + | let $acc531743215 = poolVoteEntry($acc431743215, $list31743215[4]) | |
192 | + | if (($size31743215 == 5)) | |
193 | + | then $acc531743215 | |
194 | 194 | else { | |
195 | - | let $ | |
196 | - | if (($ | |
197 | - | then $ | |
195 | + | let $acc631743215 = poolVoteEntry($acc531743215, $list31743215[5]) | |
196 | + | if (($size31743215 == 6)) | |
197 | + | then $acc631743215 | |
198 | 198 | else { | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
199 | + | let $acc731743215 = poolVoteEntry($acc631743215, $list31743215[6]) | |
200 | + | if (($size31743215 == 7)) | |
201 | + | then $acc731743215 | |
202 | 202 | else { | |
203 | - | let $ | |
204 | - | if (($ | |
205 | - | then $ | |
203 | + | let $acc831743215 = poolVoteEntry($acc731743215, $list31743215[7]) | |
204 | + | if (($size31743215 == 8)) | |
205 | + | then $acc831743215 | |
206 | 206 | else { | |
207 | - | let $ | |
207 | + | let $acc931743215 = poolVoteEntry($acc831743215, $list31743215[8]) | |
208 | 208 | throw("List size exceed 8") | |
209 | 209 | } | |
210 | 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 | - | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + | |
46 | + | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP)), 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 | if (true) | |
51 | 51 | then throw(toString(poolVoteDiffSWOP)) | |
52 | 52 | else { | |
53 | 53 | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
54 | 54 | IntegerEntry((poolAddress + kPoolVoteSWOP), poolVoteSWOPnew) :: accumulated | |
55 | 55 | } | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | if (!(isCallerInGovernance(i.caller))) | |
59 | 59 | then throw("This address has 0 SWOP in Governance dApp") | |
60 | 60 | else { | |
61 | 61 | let totalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0) | |
62 | 62 | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
63 | 63 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
64 | 64 | let userVoteDiffSWOP = { | |
65 | - | let $ | |
66 | - | let $ | |
67 | - | let $ | |
68 | - | if (($ | |
69 | - | then $ | |
65 | + | let $list29102953 = poolAddresses | |
66 | + | let $size29102953 = size($list29102953) | |
67 | + | let $acc029102953 = 0 | |
68 | + | if (($size29102953 == 0)) | |
69 | + | then $acc029102953 | |
70 | 70 | else { | |
71 | - | let $ | |
72 | - | if (($ | |
73 | - | then $ | |
71 | + | let $acc129102953 = calcVoteDiffSWOP($acc029102953, $list29102953[0]) | |
72 | + | if (($size29102953 == 1)) | |
73 | + | then $acc129102953 | |
74 | 74 | else { | |
75 | - | let $ | |
76 | - | if (($ | |
77 | - | then $ | |
75 | + | let $acc229102953 = calcVoteDiffSWOP($acc129102953, $list29102953[1]) | |
76 | + | if (($size29102953 == 2)) | |
77 | + | then $acc229102953 | |
78 | 78 | else { | |
79 | - | let $ | |
80 | - | if (($ | |
81 | - | then $ | |
79 | + | let $acc329102953 = calcVoteDiffSWOP($acc229102953, $list29102953[2]) | |
80 | + | if (($size29102953 == 3)) | |
81 | + | then $acc329102953 | |
82 | 82 | else { | |
83 | - | let $ | |
84 | - | if (($ | |
85 | - | then $ | |
83 | + | let $acc429102953 = calcVoteDiffSWOP($acc329102953, $list29102953[3]) | |
84 | + | if (($size29102953 == 4)) | |
85 | + | then $acc429102953 | |
86 | 86 | else { | |
87 | - | let $ | |
88 | - | if (($ | |
89 | - | then $ | |
87 | + | let $acc529102953 = calcVoteDiffSWOP($acc429102953, $list29102953[4]) | |
88 | + | if (($size29102953 == 5)) | |
89 | + | then $acc529102953 | |
90 | 90 | else { | |
91 | - | let $ | |
92 | - | if (($ | |
93 | - | then $ | |
91 | + | let $acc629102953 = calcVoteDiffSWOP($acc529102953, $list29102953[5]) | |
92 | + | if (($size29102953 == 6)) | |
93 | + | then $acc629102953 | |
94 | 94 | else { | |
95 | - | let $ | |
96 | - | if (($ | |
97 | - | then $ | |
95 | + | let $acc729102953 = calcVoteDiffSWOP($acc629102953, $list29102953[6]) | |
96 | + | if (($size29102953 == 7)) | |
97 | + | then $acc729102953 | |
98 | 98 | else { | |
99 | - | let $ | |
100 | - | if (($ | |
101 | - | then $ | |
99 | + | let $acc829102953 = calcVoteDiffSWOP($acc729102953, $list29102953[7]) | |
100 | + | if (($size29102953 == 8)) | |
101 | + | then $acc829102953 | |
102 | 102 | else { | |
103 | - | let $ | |
103 | + | let $acc929102953 = calcVoteDiffSWOP($acc829102953, $list29102953[8]) | |
104 | 104 | throw("List size exceed 8") | |
105 | 105 | } | |
106 | 106 | } | |
107 | 107 | } | |
108 | 108 | } | |
109 | 109 | } | |
110 | 110 | } | |
111 | 111 | } | |
112 | 112 | } | |
113 | 113 | } | |
114 | 114 | } | |
115 | 115 | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
116 | 116 | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
117 | 117 | let userDataEntry = { | |
118 | - | let $ | |
119 | - | let $ | |
120 | - | let $ | |
121 | - | if (($ | |
122 | - | then $ | |
118 | + | let $list31083149 = poolAddresses | |
119 | + | let $size31083149 = size($list31083149) | |
120 | + | let $acc031083149 = nil | |
121 | + | if (($size31083149 == 0)) | |
122 | + | then $acc031083149 | |
123 | 123 | else { | |
124 | - | let $ | |
125 | - | if (($ | |
126 | - | then $ | |
124 | + | let $acc131083149 = userVoteEntry($acc031083149, $list31083149[0]) | |
125 | + | if (($size31083149 == 1)) | |
126 | + | then $acc131083149 | |
127 | 127 | else { | |
128 | - | let $ | |
129 | - | if (($ | |
130 | - | then $ | |
128 | + | let $acc231083149 = userVoteEntry($acc131083149, $list31083149[1]) | |
129 | + | if (($size31083149 == 2)) | |
130 | + | then $acc231083149 | |
131 | 131 | else { | |
132 | - | let $ | |
133 | - | if (($ | |
134 | - | then $ | |
132 | + | let $acc331083149 = userVoteEntry($acc231083149, $list31083149[2]) | |
133 | + | if (($size31083149 == 3)) | |
134 | + | then $acc331083149 | |
135 | 135 | else { | |
136 | - | let $ | |
137 | - | if (($ | |
138 | - | then $ | |
136 | + | let $acc431083149 = userVoteEntry($acc331083149, $list31083149[3]) | |
137 | + | if (($size31083149 == 4)) | |
138 | + | then $acc431083149 | |
139 | 139 | else { | |
140 | - | let $ | |
141 | - | if (($ | |
142 | - | then $ | |
140 | + | let $acc531083149 = userVoteEntry($acc431083149, $list31083149[4]) | |
141 | + | if (($size31083149 == 5)) | |
142 | + | then $acc531083149 | |
143 | 143 | else { | |
144 | - | let $ | |
145 | - | if (($ | |
146 | - | then $ | |
144 | + | let $acc631083149 = userVoteEntry($acc531083149, $list31083149[5]) | |
145 | + | if (($size31083149 == 6)) | |
146 | + | then $acc631083149 | |
147 | 147 | else { | |
148 | - | let $ | |
149 | - | if (($ | |
150 | - | then $ | |
148 | + | let $acc731083149 = userVoteEntry($acc631083149, $list31083149[6]) | |
149 | + | if (($size31083149 == 7)) | |
150 | + | then $acc731083149 | |
151 | 151 | else { | |
152 | - | let $ | |
153 | - | if (($ | |
154 | - | then $ | |
152 | + | let $acc831083149 = userVoteEntry($acc731083149, $list31083149[7]) | |
153 | + | if (($size31083149 == 8)) | |
154 | + | then $acc831083149 | |
155 | 155 | else { | |
156 | - | let $ | |
156 | + | let $acc931083149 = userVoteEntry($acc831083149, $list31083149[8]) | |
157 | 157 | throw("List size exceed 8") | |
158 | 158 | } | |
159 | 159 | } | |
160 | 160 | } | |
161 | 161 | } | |
162 | 162 | } | |
163 | 163 | } | |
164 | 164 | } | |
165 | 165 | } | |
166 | 166 | } | |
167 | 167 | } | |
168 | 168 | let poolDataEntry = { | |
169 | - | let $ | |
170 | - | let $ | |
171 | - | let $ | |
172 | - | if (($ | |
173 | - | then $ | |
169 | + | let $list31743215 = poolAddresses | |
170 | + | let $size31743215 = size($list31743215) | |
171 | + | let $acc031743215 = nil | |
172 | + | if (($size31743215 == 0)) | |
173 | + | then $acc031743215 | |
174 | 174 | else { | |
175 | - | let $ | |
176 | - | if (($ | |
177 | - | then $ | |
175 | + | let $acc131743215 = poolVoteEntry($acc031743215, $list31743215[0]) | |
176 | + | if (($size31743215 == 1)) | |
177 | + | then $acc131743215 | |
178 | 178 | else { | |
179 | - | let $ | |
180 | - | if (($ | |
181 | - | then $ | |
179 | + | let $acc231743215 = poolVoteEntry($acc131743215, $list31743215[1]) | |
180 | + | if (($size31743215 == 2)) | |
181 | + | then $acc231743215 | |
182 | 182 | else { | |
183 | - | let $ | |
184 | - | if (($ | |
185 | - | then $ | |
183 | + | let $acc331743215 = poolVoteEntry($acc231743215, $list31743215[2]) | |
184 | + | if (($size31743215 == 3)) | |
185 | + | then $acc331743215 | |
186 | 186 | else { | |
187 | - | let $ | |
188 | - | if (($ | |
189 | - | then $ | |
187 | + | let $acc431743215 = poolVoteEntry($acc331743215, $list31743215[3]) | |
188 | + | if (($size31743215 == 4)) | |
189 | + | then $acc431743215 | |
190 | 190 | else { | |
191 | - | let $ | |
192 | - | if (($ | |
193 | - | then $ | |
191 | + | let $acc531743215 = poolVoteEntry($acc431743215, $list31743215[4]) | |
192 | + | if (($size31743215 == 5)) | |
193 | + | then $acc531743215 | |
194 | 194 | else { | |
195 | - | let $ | |
196 | - | if (($ | |
197 | - | then $ | |
195 | + | let $acc631743215 = poolVoteEntry($acc531743215, $list31743215[5]) | |
196 | + | if (($size31743215 == 6)) | |
197 | + | then $acc631743215 | |
198 | 198 | else { | |
199 | - | let $ | |
200 | - | if (($ | |
201 | - | then $ | |
199 | + | let $acc731743215 = poolVoteEntry($acc631743215, $list31743215[6]) | |
200 | + | if (($size31743215 == 7)) | |
201 | + | then $acc731743215 | |
202 | 202 | else { | |
203 | - | let $ | |
204 | - | if (($ | |
205 | - | then $ | |
203 | + | let $acc831743215 = poolVoteEntry($acc731743215, $list31743215[7]) | |
204 | + | if (($size31743215 == 8)) | |
205 | + | then $acc831743215 | |
206 | 206 | else { | |
207 | - | let $ | |
207 | + | let $acc931743215 = poolVoteEntry($acc831743215, $list31743215[8]) | |
208 | 208 | throw("List size exceed 8") | |
209 | 209 | } | |
210 | 210 | } | |
211 | 211 | } | |
212 | 212 | } | |
213 | 213 | } | |
214 | 214 | } | |
215 | 215 | } | |
216 | 216 | } | |
217 | 217 | } | |
218 | 218 | } | |
219 | 219 | if ((userSWOPinGovernance > userTotalVoteSWOPNew)) | |
220 | 220 | then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew))) | |
221 | 221 | else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)]) | |
222 | 222 | } | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 |
github/deemru/w8io/169f3d6 135.89 ms ◑