tx · G5fneV7LBZ1Mpo3NptMCfUNmC6FZJahv8bQPQTmqsg1F 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp: -0.01400000 Waves 2021.03.13 14:37 [1435858] smart account 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp > SELF 0.00000000 Waves
{ "type": 13, "id": "G5fneV7LBZ1Mpo3NptMCfUNmC6FZJahv8bQPQTmqsg1F", "fee": 1400000, "feeAssetId": null, "timestamp": 1615635475610, "version": 1, "sender": "3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp", "senderPublicKey": "2Ek8QRiW2SC3s4ZC79pXUmvJbmqU6agaNsjN2wmnzmSs", "proofs": [ "om5k7uRjWqqbgTNxTLdLKAYRziHQRy2y13j3rr3tXUvPzAhBw6ipgS1ERqXje8rhan9a8b6sCyKT9pHqm8rE11F" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAAAcAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAASa1VzZXJUb3RhbFZvdGVTV09QAgAAABVfdXNlcl90b3RhbF9TV09QX3ZvdGUAAAAADWtQb29sVm90ZVNXT1ACAAAACl92b3RlX1NXT1AAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAB2dvdkFkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVQTpUX1edzu1C+kk914p42uKvNrLVgR210BAAAAFGlzQ2FsbGVySW5Hb3Zlcm5hbmNlAAAAAQAAAAR1c2VyAwMJAABmAAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdnb3ZBZGRyCQABLAAAAAIJAAQlAAAAAQUAAAAEdXNlcgIAAAAMX1NXT1BfYW1vdW50AAAAAAAAAAAAAAAAAAAAAAAABgkAAGYAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkABCUAAAABBQAAAAR1c2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AAQUAAAAUdXNlclNXT1BpbkdvdmVybmFuY2UCAAAAJ1NXT1AgaW4gZ292ZXJuYW5jZS4gTmV3IFNXT1AgaW4gdm90aW5nIAkAAaQAAAABBQAAABR1c2VyVG90YWxWb3RlU1dPUE5ldwkABE4AAAACCQAETgAAAAIFAAAADXVzZXJEYXRhRW50cnkFAAAADXBvb2xEYXRhRW50cnkJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIFAAAAEmtVc2VyVG90YWxWb3RlU1dPUAUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAADmtUb3RhbFZvdGVTV09QBQAAABB0b3RhbFZvdGVTV09QbmV3BQAAAANuaWwAAAAAMuYF9Q==", "chainId": 84, "height": 1435858, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5QSWyRyEcsk7YJuDqhP7isHa1DCcUYV5askUkMLVfsH5 Next: 6pHEfDyK2eFKThKmxf65itJpNo2Qs19aEZaGhXfv23Aa Diff:
Old | New | Differences | |
---|---|---|---|
24 | 24 | ||
25 | 25 | ||
26 | 26 | @Callable(i) | |
27 | - | func votePoolWeight (poolAddress,poolVoteSWOPNew) = if (!(isCallerInGovernance(i.caller))) | |
28 | - | then throw("This address has 0 SWOP in Governance dApp") | |
29 | - | else if (!(isPoolInGovernance(poolAddress))) | |
27 | + | func votePoolWeight (poolAddresses,poolsVoteSWOPNew) = { | |
28 | + | func calcVoteDiffSWOP (accumulated,poolAddress) = if (!(isPoolInGovernance(poolAddress))) | |
30 | 29 | then throw("This pool has no _startHeight in Governance dApp") | |
31 | 30 | else { | |
32 | - | let userTotalVoteWeight = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
33 | - | let userPoolVoteWeight = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
34 | - | let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0) | |
31 | + | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
32 | + | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
33 | + | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
34 | + | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
35 | + | (accumulated + poolVoteDiffSWOP) | |
36 | + | } | |
37 | + | ||
38 | + | func userVoteEntry (accumulated,poolAddress) = { | |
39 | + | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
40 | + | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
41 | + | IntegerEntry((((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP), userPoolVoteSWOPNew) :: accumulated | |
42 | + | } | |
43 | + | ||
44 | + | func poolVoteEntry (accumulated,poolAddress) = { | |
45 | + | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
46 | + | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
47 | + | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
48 | + | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
49 | + | let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0) | |
50 | + | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
51 | + | IntegerEntry((poolAddress + kPoolVoteSWOP), poolVoteSWOPnew) :: accumulated | |
52 | + | } | |
53 | + | ||
54 | + | if (!(isCallerInGovernance(i.caller))) | |
55 | + | then throw("This address has 0 SWOP in Governance dApp") | |
56 | + | else { | |
35 | 57 | let totalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0) | |
58 | + | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
36 | 59 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
37 | - | let poolVoteWeightDiff = (poolVoteSWOPNew - userPoolVoteWeight) | |
38 | - | let userTotalVoteSWOPNew = (userTotalVoteWeight + poolVoteWeightDiff) | |
39 | - | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteWeightDiff) | |
40 | - | let totalVoteSWOPnew = (poolVoteSWOP + poolVoteWeightDiff) | |
60 | + | let userVoteDiffSWOP = { | |
61 | + | let $list27472790 = poolAddresses | |
62 | + | let $size27472790 = size($list27472790) | |
63 | + | let $acc027472790 = 0 | |
64 | + | if (($size27472790 == 0)) | |
65 | + | then $acc027472790 | |
66 | + | else { | |
67 | + | let $acc127472790 = calcVoteDiffSWOP($acc027472790, $list27472790[0]) | |
68 | + | if (($size27472790 == 1)) | |
69 | + | then $acc127472790 | |
70 | + | else { | |
71 | + | let $acc227472790 = calcVoteDiffSWOP($acc127472790, $list27472790[1]) | |
72 | + | if (($size27472790 == 2)) | |
73 | + | then $acc227472790 | |
74 | + | else { | |
75 | + | let $acc327472790 = calcVoteDiffSWOP($acc227472790, $list27472790[2]) | |
76 | + | if (($size27472790 == 3)) | |
77 | + | then $acc327472790 | |
78 | + | else { | |
79 | + | let $acc427472790 = calcVoteDiffSWOP($acc327472790, $list27472790[3]) | |
80 | + | if (($size27472790 == 4)) | |
81 | + | then $acc427472790 | |
82 | + | else { | |
83 | + | let $acc527472790 = calcVoteDiffSWOP($acc427472790, $list27472790[4]) | |
84 | + | if (($size27472790 == 5)) | |
85 | + | then $acc527472790 | |
86 | + | else { | |
87 | + | let $acc627472790 = calcVoteDiffSWOP($acc527472790, $list27472790[5]) | |
88 | + | if (($size27472790 == 6)) | |
89 | + | then $acc627472790 | |
90 | + | else { | |
91 | + | let $acc727472790 = calcVoteDiffSWOP($acc627472790, $list27472790[6]) | |
92 | + | if (($size27472790 == 7)) | |
93 | + | then $acc727472790 | |
94 | + | else { | |
95 | + | let $acc827472790 = calcVoteDiffSWOP($acc727472790, $list27472790[7]) | |
96 | + | if (($size27472790 == 8)) | |
97 | + | then $acc827472790 | |
98 | + | else { | |
99 | + | let $acc927472790 = calcVoteDiffSWOP($acc827472790, $list27472790[8]) | |
100 | + | throw("List size exceed 8") | |
101 | + | } | |
102 | + | } | |
103 | + | } | |
104 | + | } | |
105 | + | } | |
106 | + | } | |
107 | + | } | |
108 | + | } | |
109 | + | } | |
110 | + | } | |
111 | + | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
112 | + | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
113 | + | let userDataEntry = { | |
114 | + | let $list29452986 = poolAddresses | |
115 | + | let $size29452986 = size($list29452986) | |
116 | + | let $acc029452986 = nil | |
117 | + | if (($size29452986 == 0)) | |
118 | + | then $acc029452986 | |
119 | + | else { | |
120 | + | let $acc129452986 = userVoteEntry($acc029452986, $list29452986[0]) | |
121 | + | if (($size29452986 == 1)) | |
122 | + | then $acc129452986 | |
123 | + | else { | |
124 | + | let $acc229452986 = userVoteEntry($acc129452986, $list29452986[1]) | |
125 | + | if (($size29452986 == 2)) | |
126 | + | then $acc229452986 | |
127 | + | else { | |
128 | + | let $acc329452986 = userVoteEntry($acc229452986, $list29452986[2]) | |
129 | + | if (($size29452986 == 3)) | |
130 | + | then $acc329452986 | |
131 | + | else { | |
132 | + | let $acc429452986 = userVoteEntry($acc329452986, $list29452986[3]) | |
133 | + | if (($size29452986 == 4)) | |
134 | + | then $acc429452986 | |
135 | + | else { | |
136 | + | let $acc529452986 = userVoteEntry($acc429452986, $list29452986[4]) | |
137 | + | if (($size29452986 == 5)) | |
138 | + | then $acc529452986 | |
139 | + | else { | |
140 | + | let $acc629452986 = userVoteEntry($acc529452986, $list29452986[5]) | |
141 | + | if (($size29452986 == 6)) | |
142 | + | then $acc629452986 | |
143 | + | else { | |
144 | + | let $acc729452986 = userVoteEntry($acc629452986, $list29452986[6]) | |
145 | + | if (($size29452986 == 7)) | |
146 | + | then $acc729452986 | |
147 | + | else { | |
148 | + | let $acc829452986 = userVoteEntry($acc729452986, $list29452986[7]) | |
149 | + | if (($size29452986 == 8)) | |
150 | + | then $acc829452986 | |
151 | + | else { | |
152 | + | let $acc929452986 = userVoteEntry($acc829452986, $list29452986[8]) | |
153 | + | throw("List size exceed 8") | |
154 | + | } | |
155 | + | } | |
156 | + | } | |
157 | + | } | |
158 | + | } | |
159 | + | } | |
160 | + | } | |
161 | + | } | |
162 | + | } | |
163 | + | } | |
164 | + | let poolDataEntry = { | |
165 | + | let $list30113052 = poolAddresses | |
166 | + | let $size30113052 = size($list30113052) | |
167 | + | let $acc030113052 = nil | |
168 | + | if (($size30113052 == 0)) | |
169 | + | then $acc030113052 | |
170 | + | else { | |
171 | + | let $acc130113052 = poolVoteEntry($acc030113052, $list30113052[0]) | |
172 | + | if (($size30113052 == 1)) | |
173 | + | then $acc130113052 | |
174 | + | else { | |
175 | + | let $acc230113052 = poolVoteEntry($acc130113052, $list30113052[1]) | |
176 | + | if (($size30113052 == 2)) | |
177 | + | then $acc230113052 | |
178 | + | else { | |
179 | + | let $acc330113052 = poolVoteEntry($acc230113052, $list30113052[2]) | |
180 | + | if (($size30113052 == 3)) | |
181 | + | then $acc330113052 | |
182 | + | else { | |
183 | + | let $acc430113052 = poolVoteEntry($acc330113052, $list30113052[3]) | |
184 | + | if (($size30113052 == 4)) | |
185 | + | then $acc430113052 | |
186 | + | else { | |
187 | + | let $acc530113052 = poolVoteEntry($acc430113052, $list30113052[4]) | |
188 | + | if (($size30113052 == 5)) | |
189 | + | then $acc530113052 | |
190 | + | else { | |
191 | + | let $acc630113052 = poolVoteEntry($acc530113052, $list30113052[5]) | |
192 | + | if (($size30113052 == 6)) | |
193 | + | then $acc630113052 | |
194 | + | else { | |
195 | + | let $acc730113052 = poolVoteEntry($acc630113052, $list30113052[6]) | |
196 | + | if (($size30113052 == 7)) | |
197 | + | then $acc730113052 | |
198 | + | else { | |
199 | + | let $acc830113052 = poolVoteEntry($acc730113052, $list30113052[7]) | |
200 | + | if (($size30113052 == 8)) | |
201 | + | then $acc830113052 | |
202 | + | else { | |
203 | + | let $acc930113052 = poolVoteEntry($acc830113052, $list30113052[8]) | |
204 | + | throw("List size exceed 8") | |
205 | + | } | |
206 | + | } | |
207 | + | } | |
208 | + | } | |
209 | + | } | |
210 | + | } | |
211 | + | } | |
212 | + | } | |
213 | + | } | |
214 | + | } | |
41 | 215 | if ((userSWOPinGovernance > userTotalVoteSWOPNew)) | |
42 | 216 | then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew))) | |
43 | - | else | |
217 | + | else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)]) | |
44 | 218 | } | |
219 | + | } | |
45 | 220 | ||
46 | 221 |
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'3MqhxbxHEMtp2Rwy1gUb6cPSJHQepdap1Yp') | |
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 | - | func votePoolWeight (poolAddress,poolVoteSWOPNew) = if (!(isCallerInGovernance(i.caller))) | |
28 | - | then throw("This address has 0 SWOP in Governance dApp") | |
29 | - | else if (!(isPoolInGovernance(poolAddress))) | |
27 | + | func votePoolWeight (poolAddresses,poolsVoteSWOPNew) = { | |
28 | + | func calcVoteDiffSWOP (accumulated,poolAddress) = if (!(isPoolInGovernance(poolAddress))) | |
30 | 29 | then throw("This pool has no _startHeight in Governance dApp") | |
31 | 30 | else { | |
32 | - | let userTotalVoteWeight = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
33 | - | let userPoolVoteWeight = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
34 | - | let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0) | |
31 | + | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
32 | + | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
33 | + | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
34 | + | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
35 | + | (accumulated + poolVoteDiffSWOP) | |
36 | + | } | |
37 | + | ||
38 | + | func userVoteEntry (accumulated,poolAddress) = { | |
39 | + | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
40 | + | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
41 | + | IntegerEntry((((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP), userPoolVoteSWOPNew) :: accumulated | |
42 | + | } | |
43 | + | ||
44 | + | func poolVoteEntry (accumulated,poolAddress) = { | |
45 | + | let poolIndex = value(indexOf(poolAddresses, poolAddress)) | |
46 | + | let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0) | |
47 | + | let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex] | |
48 | + | let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP) | |
49 | + | let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0) | |
50 | + | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP) | |
51 | + | IntegerEntry((poolAddress + kPoolVoteSWOP), poolVoteSWOPnew) :: accumulated | |
52 | + | } | |
53 | + | ||
54 | + | if (!(isCallerInGovernance(i.caller))) | |
55 | + | then throw("This address has 0 SWOP in Governance dApp") | |
56 | + | else { | |
35 | 57 | let totalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0) | |
58 | + | let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0) | |
36 | 59 | let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount")) | |
37 | - | let poolVoteWeightDiff = (poolVoteSWOPNew - userPoolVoteWeight) | |
38 | - | let userTotalVoteSWOPNew = (userTotalVoteWeight + poolVoteWeightDiff) | |
39 | - | let poolVoteSWOPnew = (poolVoteSWOP + poolVoteWeightDiff) | |
40 | - | let totalVoteSWOPnew = (poolVoteSWOP + poolVoteWeightDiff) | |
60 | + | let userVoteDiffSWOP = { | |
61 | + | let $list27472790 = poolAddresses | |
62 | + | let $size27472790 = size($list27472790) | |
63 | + | let $acc027472790 = 0 | |
64 | + | if (($size27472790 == 0)) | |
65 | + | then $acc027472790 | |
66 | + | else { | |
67 | + | let $acc127472790 = calcVoteDiffSWOP($acc027472790, $list27472790[0]) | |
68 | + | if (($size27472790 == 1)) | |
69 | + | then $acc127472790 | |
70 | + | else { | |
71 | + | let $acc227472790 = calcVoteDiffSWOP($acc127472790, $list27472790[1]) | |
72 | + | if (($size27472790 == 2)) | |
73 | + | then $acc227472790 | |
74 | + | else { | |
75 | + | let $acc327472790 = calcVoteDiffSWOP($acc227472790, $list27472790[2]) | |
76 | + | if (($size27472790 == 3)) | |
77 | + | then $acc327472790 | |
78 | + | else { | |
79 | + | let $acc427472790 = calcVoteDiffSWOP($acc327472790, $list27472790[3]) | |
80 | + | if (($size27472790 == 4)) | |
81 | + | then $acc427472790 | |
82 | + | else { | |
83 | + | let $acc527472790 = calcVoteDiffSWOP($acc427472790, $list27472790[4]) | |
84 | + | if (($size27472790 == 5)) | |
85 | + | then $acc527472790 | |
86 | + | else { | |
87 | + | let $acc627472790 = calcVoteDiffSWOP($acc527472790, $list27472790[5]) | |
88 | + | if (($size27472790 == 6)) | |
89 | + | then $acc627472790 | |
90 | + | else { | |
91 | + | let $acc727472790 = calcVoteDiffSWOP($acc627472790, $list27472790[6]) | |
92 | + | if (($size27472790 == 7)) | |
93 | + | then $acc727472790 | |
94 | + | else { | |
95 | + | let $acc827472790 = calcVoteDiffSWOP($acc727472790, $list27472790[7]) | |
96 | + | if (($size27472790 == 8)) | |
97 | + | then $acc827472790 | |
98 | + | else { | |
99 | + | let $acc927472790 = calcVoteDiffSWOP($acc827472790, $list27472790[8]) | |
100 | + | throw("List size exceed 8") | |
101 | + | } | |
102 | + | } | |
103 | + | } | |
104 | + | } | |
105 | + | } | |
106 | + | } | |
107 | + | } | |
108 | + | } | |
109 | + | } | |
110 | + | } | |
111 | + | let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP) | |
112 | + | let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP) | |
113 | + | let userDataEntry = { | |
114 | + | let $list29452986 = poolAddresses | |
115 | + | let $size29452986 = size($list29452986) | |
116 | + | let $acc029452986 = nil | |
117 | + | if (($size29452986 == 0)) | |
118 | + | then $acc029452986 | |
119 | + | else { | |
120 | + | let $acc129452986 = userVoteEntry($acc029452986, $list29452986[0]) | |
121 | + | if (($size29452986 == 1)) | |
122 | + | then $acc129452986 | |
123 | + | else { | |
124 | + | let $acc229452986 = userVoteEntry($acc129452986, $list29452986[1]) | |
125 | + | if (($size29452986 == 2)) | |
126 | + | then $acc229452986 | |
127 | + | else { | |
128 | + | let $acc329452986 = userVoteEntry($acc229452986, $list29452986[2]) | |
129 | + | if (($size29452986 == 3)) | |
130 | + | then $acc329452986 | |
131 | + | else { | |
132 | + | let $acc429452986 = userVoteEntry($acc329452986, $list29452986[3]) | |
133 | + | if (($size29452986 == 4)) | |
134 | + | then $acc429452986 | |
135 | + | else { | |
136 | + | let $acc529452986 = userVoteEntry($acc429452986, $list29452986[4]) | |
137 | + | if (($size29452986 == 5)) | |
138 | + | then $acc529452986 | |
139 | + | else { | |
140 | + | let $acc629452986 = userVoteEntry($acc529452986, $list29452986[5]) | |
141 | + | if (($size29452986 == 6)) | |
142 | + | then $acc629452986 | |
143 | + | else { | |
144 | + | let $acc729452986 = userVoteEntry($acc629452986, $list29452986[6]) | |
145 | + | if (($size29452986 == 7)) | |
146 | + | then $acc729452986 | |
147 | + | else { | |
148 | + | let $acc829452986 = userVoteEntry($acc729452986, $list29452986[7]) | |
149 | + | if (($size29452986 == 8)) | |
150 | + | then $acc829452986 | |
151 | + | else { | |
152 | + | let $acc929452986 = userVoteEntry($acc829452986, $list29452986[8]) | |
153 | + | throw("List size exceed 8") | |
154 | + | } | |
155 | + | } | |
156 | + | } | |
157 | + | } | |
158 | + | } | |
159 | + | } | |
160 | + | } | |
161 | + | } | |
162 | + | } | |
163 | + | } | |
164 | + | let poolDataEntry = { | |
165 | + | let $list30113052 = poolAddresses | |
166 | + | let $size30113052 = size($list30113052) | |
167 | + | let $acc030113052 = nil | |
168 | + | if (($size30113052 == 0)) | |
169 | + | then $acc030113052 | |
170 | + | else { | |
171 | + | let $acc130113052 = poolVoteEntry($acc030113052, $list30113052[0]) | |
172 | + | if (($size30113052 == 1)) | |
173 | + | then $acc130113052 | |
174 | + | else { | |
175 | + | let $acc230113052 = poolVoteEntry($acc130113052, $list30113052[1]) | |
176 | + | if (($size30113052 == 2)) | |
177 | + | then $acc230113052 | |
178 | + | else { | |
179 | + | let $acc330113052 = poolVoteEntry($acc230113052, $list30113052[2]) | |
180 | + | if (($size30113052 == 3)) | |
181 | + | then $acc330113052 | |
182 | + | else { | |
183 | + | let $acc430113052 = poolVoteEntry($acc330113052, $list30113052[3]) | |
184 | + | if (($size30113052 == 4)) | |
185 | + | then $acc430113052 | |
186 | + | else { | |
187 | + | let $acc530113052 = poolVoteEntry($acc430113052, $list30113052[4]) | |
188 | + | if (($size30113052 == 5)) | |
189 | + | then $acc530113052 | |
190 | + | else { | |
191 | + | let $acc630113052 = poolVoteEntry($acc530113052, $list30113052[5]) | |
192 | + | if (($size30113052 == 6)) | |
193 | + | then $acc630113052 | |
194 | + | else { | |
195 | + | let $acc730113052 = poolVoteEntry($acc630113052, $list30113052[6]) | |
196 | + | if (($size30113052 == 7)) | |
197 | + | then $acc730113052 | |
198 | + | else { | |
199 | + | let $acc830113052 = poolVoteEntry($acc730113052, $list30113052[7]) | |
200 | + | if (($size30113052 == 8)) | |
201 | + | then $acc830113052 | |
202 | + | else { | |
203 | + | let $acc930113052 = poolVoteEntry($acc830113052, $list30113052[8]) | |
204 | + | throw("List size exceed 8") | |
205 | + | } | |
206 | + | } | |
207 | + | } | |
208 | + | } | |
209 | + | } | |
210 | + | } | |
211 | + | } | |
212 | + | } | |
213 | + | } | |
214 | + | } | |
41 | 215 | if ((userSWOPinGovernance > userTotalVoteSWOPNew)) | |
42 | 216 | then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew))) | |
43 | - | else | |
217 | + | else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)]) | |
44 | 218 | } | |
219 | + | } | |
45 | 220 | ||
46 | 221 |
github/deemru/w8io/169f3d6 33.08 ms ◑