tx · C7Qcd2jajdsyHvfmKhVpXXwkqfPdHzpqFZ5WjwtpPQNT

3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp:  -0.01400000 Waves

2021.03.13 15:24 [1435907] smart account 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp > SELF 0.00000000 Waves

{ "type": 13, "id": "C7Qcd2jajdsyHvfmKhVpXXwkqfPdHzpqFZ5WjwtpPQNT", "fee": 1400000, "feeAssetId": null, "timestamp": 1615638286182, "version": 1, "sender": "3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp", "senderPublicKey": "2Ek8QRiW2SC3s4ZC79pXUmvJbmqU6agaNsjN2wmnzmSs", "proofs": [ "5Sg7xMV658851S6uvaRiV5FU2wu92aPaEGQhfU19644oHQgQ7FdbWX5opbcC7JbhYZDBvYUQxsFPVUq5gS2sNQ3J" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAAAcAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAASa1VzZXJUb3RhbFZvdGVTV09QAgAAABVfdXNlcl90b3RhbF9TV09QX3ZvdGUAAAAADWtQb29sVm90ZVNXT1ACAAAACl92b3RlX1NXT1AAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAB2dvdkFkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRAR/HWw3DxHB4C9lwcyuInima35raJGzsBAAAAFGlzQ2FsbGVySW5Hb3Zlcm5hbmNlAAAAAQAAAAR1c2VyAwMJAABmAAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdnb3ZBZGRyCQABLAAAAAIJAAQlAAAAAQUAAAAEdXNlcgIAAAAMX1NXT1BfYW1vdW50AAAAAAAAAAAAAAAAAAAAAAAABgkAAGYAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkABCUAAAABBQA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AAQIAAAASTGlzdCBzaXplIGV4Y2VlZCA4AwkAAGYAAAACBQAAABR1c2VyU1dPUGluR292ZXJuYW5jZQUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAAACAAAAAQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQAEJQAAAAEFAAAABHRoaXMCAAAABSBoYXMgCQABpAAAAAEFAAAAFHVzZXJTV09QaW5Hb3Zlcm5hbmNlAgAAACdTV09QIGluIGdvdmVybmFuY2UuIE5ldyBTV09QIGluIHZvdGluZyAJAAGkAAAAAQUAAAAUdXNlclRvdGFsVm90ZVNXT1BOZXcJAAROAAAAAgkABE4AAAACBQAAAA11c2VyRGF0YUVudHJ5BQAAAA1wb29sRGF0YUVudHJ5CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAQlAAAAAQgFAAAAAWkAAAAGY2FsbGVyBQAAABJrVXNlclRvdGFsVm90ZVNXT1AFAAAAFHVzZXJUb3RhbFZvdGVTV09QTmV3CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA5rVG90YWxWb3RlU1dPUAUAAAAQdG90YWxWb3RlU1dPUG5ldwUAAAADbmlsAAAAAM+Wi3s=", "chainId": 84, "height": 1435907, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: qAbTxRzTnmrEQ4vBf8Bct2RYNVVx9YYDc5wuYyfR2Bu Next: CGEX7wrP9sPkHo3ZUuBk1iTH3nGe4sWB3s5DSWfkJiHn Diff:
OldNewDifferences
108108 }
109109 }
110110 }
111- let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP)
112- let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP)
113111 if (true)
114- then throw(((((toString(totalVoteSWOPnew) + " ") + toString(totalVoteSWOP)) + " ") + toString(userVoteDiffSWOP)))
112+ then throw(toString(userVoteDiffSWOP))
115113 else {
116- let userDataEntry = {
117- let $list31713212 = poolAddresses
118- let $size31713212 = size($list31713212)
119- let $acc031713212 = nil
120- if (($size31713212 == 0))
121- then $acc031713212
122- else {
123- let $acc131713212 = userVoteEntry($acc031713212, $list31713212[0])
124- if (($size31713212 == 1))
125- then $acc131713212
114+ let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP)
115+ let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP)
116+ if (true)
117+ then throw(((((toString(totalVoteSWOPnew) + " ") + toString(totalVoteSWOP)) + " ") + toString(userVoteDiffSWOP)))
118+ else {
119+ let userDataEntry = {
120+ let $list32293270 = poolAddresses
121+ let $size32293270 = size($list32293270)
122+ let $acc032293270 = nil
123+ if (($size32293270 == 0))
124+ then $acc032293270
126125 else {
127- let $acc231713212 = userVoteEntry($acc131713212, $list31713212[1])
128- if (($size31713212 == 2))
129- then $acc231713212
126+ let $acc132293270 = userVoteEntry($acc032293270, $list32293270[0])
127+ if (($size32293270 == 1))
128+ then $acc132293270
130129 else {
131- let $acc331713212 = userVoteEntry($acc231713212, $list31713212[2])
132- if (($size31713212 == 3))
133- then $acc331713212
130+ let $acc232293270 = userVoteEntry($acc132293270, $list32293270[1])
131+ if (($size32293270 == 2))
132+ then $acc232293270
134133 else {
135- let $acc431713212 = userVoteEntry($acc331713212, $list31713212[3])
136- if (($size31713212 == 4))
137- then $acc431713212
134+ let $acc332293270 = userVoteEntry($acc232293270, $list32293270[2])
135+ if (($size32293270 == 3))
136+ then $acc332293270
138137 else {
139- let $acc531713212 = userVoteEntry($acc431713212, $list31713212[4])
140- if (($size31713212 == 5))
141- then $acc531713212
138+ let $acc432293270 = userVoteEntry($acc332293270, $list32293270[3])
139+ if (($size32293270 == 4))
140+ then $acc432293270
142141 else {
143- let $acc631713212 = userVoteEntry($acc531713212, $list31713212[5])
144- if (($size31713212 == 6))
145- then $acc631713212
142+ let $acc532293270 = userVoteEntry($acc432293270, $list32293270[4])
143+ if (($size32293270 == 5))
144+ then $acc532293270
146145 else {
147- let $acc731713212 = userVoteEntry($acc631713212, $list31713212[6])
148- if (($size31713212 == 7))
149- then $acc731713212
146+ let $acc632293270 = userVoteEntry($acc532293270, $list32293270[5])
147+ if (($size32293270 == 6))
148+ then $acc632293270
150149 else {
151- let $acc831713212 = userVoteEntry($acc731713212, $list31713212[7])
152- if (($size31713212 == 8))
153- then $acc831713212
150+ let $acc732293270 = userVoteEntry($acc632293270, $list32293270[6])
151+ if (($size32293270 == 7))
152+ then $acc732293270
154153 else {
155- let $acc931713212 = userVoteEntry($acc831713212, $list31713212[8])
156- throw("List size exceed 8")
154+ let $acc832293270 = userVoteEntry($acc732293270, $list32293270[7])
155+ if (($size32293270 == 8))
156+ then $acc832293270
157+ else {
158+ let $acc932293270 = userVoteEntry($acc832293270, $list32293270[8])
159+ throw("List size exceed 8")
160+ }
157161 }
158162 }
159163 }
163167 }
164168 }
165169 }
166- }
167- let poolDataEntry = {
168- let $list32373278 = poolAddresses
169- let $size32373278 = size($list32373278)
170- let $acc032373278 = nil
171- if (($size32373278 == 0))
172- then $acc032373278
173- else {
174- let $acc132373278 = poolVoteEntry($acc032373278, $list32373278[0])
175- if (($size32373278 == 1))
176- then $acc132373278
170+ let poolDataEntry = {
171+ let $list32953336 = poolAddresses
172+ let $size32953336 = size($list32953336)
173+ let $acc032953336 = nil
174+ if (($size32953336 == 0))
175+ then $acc032953336
177176 else {
178- let $acc232373278 = poolVoteEntry($acc132373278, $list32373278[1])
179- if (($size32373278 == 2))
180- then $acc232373278
177+ let $acc132953336 = poolVoteEntry($acc032953336, $list32953336[0])
178+ if (($size32953336 == 1))
179+ then $acc132953336
181180 else {
182- let $acc332373278 = poolVoteEntry($acc232373278, $list32373278[2])
183- if (($size32373278 == 3))
184- then $acc332373278
181+ let $acc232953336 = poolVoteEntry($acc132953336, $list32953336[1])
182+ if (($size32953336 == 2))
183+ then $acc232953336
185184 else {
186- let $acc432373278 = poolVoteEntry($acc332373278, $list32373278[3])
187- if (($size32373278 == 4))
188- then $acc432373278
185+ let $acc332953336 = poolVoteEntry($acc232953336, $list32953336[2])
186+ if (($size32953336 == 3))
187+ then $acc332953336
189188 else {
190- let $acc532373278 = poolVoteEntry($acc432373278, $list32373278[4])
191- if (($size32373278 == 5))
192- then $acc532373278
189+ let $acc432953336 = poolVoteEntry($acc332953336, $list32953336[3])
190+ if (($size32953336 == 4))
191+ then $acc432953336
193192 else {
194- let $acc632373278 = poolVoteEntry($acc532373278, $list32373278[5])
195- if (($size32373278 == 6))
196- then $acc632373278
193+ let $acc532953336 = poolVoteEntry($acc432953336, $list32953336[4])
194+ if (($size32953336 == 5))
195+ then $acc532953336
197196 else {
198- let $acc732373278 = poolVoteEntry($acc632373278, $list32373278[6])
199- if (($size32373278 == 7))
200- then $acc732373278
197+ let $acc632953336 = poolVoteEntry($acc532953336, $list32953336[5])
198+ if (($size32953336 == 6))
199+ then $acc632953336
201200 else {
202- let $acc832373278 = poolVoteEntry($acc732373278, $list32373278[7])
203- if (($size32373278 == 8))
204- then $acc832373278
201+ let $acc732953336 = poolVoteEntry($acc632953336, $list32953336[6])
202+ if (($size32953336 == 7))
203+ then $acc732953336
205204 else {
206- let $acc932373278 = poolVoteEntry($acc832373278, $list32373278[8])
207- throw("List size exceed 8")
205+ let $acc832953336 = poolVoteEntry($acc732953336, $list32953336[7])
206+ if (($size32953336 == 8))
207+ then $acc832953336
208+ else {
209+ let $acc932953336 = poolVoteEntry($acc832953336, $list32953336[8])
210+ throw("List size exceed 8")
211+ }
208212 }
209213 }
210214 }
214218 }
215219 }
216220 }
217- }
218- if ((userSWOPinGovernance > userTotalVoteSWOPNew))
219- then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew)))
220- else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)])
221+ if ((userSWOPinGovernance > userTotalVoteSWOPNew))
222+ then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew)))
223+ else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)])
224+ }
221225 }
222226 }
223227 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let kUserPoolVoteSWOP = "_vote"
55
66 let kUserTotalVoteSWOP = "_user_total_SWOP_vote"
77
88 let kPoolVoteSWOP = "_vote_SWOP"
99
1010 let kTotalVoteSWOP = "total_vote_SWOP"
1111
1212 let govAddr = Address(base58'3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE')
1313
1414 func isCallerInGovernance (user) = if (if ((valueOrElse(getInteger(govAddr, (toString(user) + "_SWOP_amount")), 0) > 0))
1515 then true
1616 else (valueOrElse(getInteger(this, (toString(user) + kUserTotalVoteSWOP)), 0) > 0))
1717 then true
1818 else false
1919
2020
2121 func isPoolInGovernance (poolAddress) = if ((valueOrElse(getInteger(govAddr, (poolAddress + "_current_pool_fraction_reward")), 0) > 0))
2222 then true
2323 else false
2424
2525
2626 @Callable(i)
2727 func votePoolWeight (poolAddresses,poolsVoteSWOPNew) = {
2828 func calcVoteDiffSWOP (accumulated,poolAddress) = if (!(isPoolInGovernance(poolAddress)))
2929 then throw("This pool has no _current_pool_fraction_reward in Governance dApp")
3030 else {
3131 let poolIndex = value(indexOf(poolAddresses, poolAddress))
3232 let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex]
3333 let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + kUserPoolVoteSWOP) + "_") + poolAddress)), 0)
3434 let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP)
3535 (accumulated + poolVoteDiffSWOP)
3636 }
3737
3838 func userVoteEntry (accumulated,poolAddress) = {
3939 let poolIndex = value(indexOf(poolAddresses, poolAddress))
4040 let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex]
4141 IntegerEntry((((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP), userPoolVoteSWOPNew) :: accumulated
4242 }
4343
4444 func poolVoteEntry (accumulated,poolAddress) = {
4545 let poolIndex = value(indexOf(poolAddresses, poolAddress))
4646 let userPoolVoteSWOP = valueOrElse(getInteger(this, (((toString(i.caller) + "_") + poolAddress) + kUserPoolVoteSWOP)), 0)
4747 let userPoolVoteSWOPNew = poolsVoteSWOPNew[poolIndex]
4848 let poolVoteDiffSWOP = (userPoolVoteSWOPNew - userPoolVoteSWOP)
4949 let poolVoteSWOP = valueOrElse(getInteger(this, (poolAddress + kPoolVoteSWOP)), 0)
5050 let poolVoteSWOPnew = (poolVoteSWOP + poolVoteDiffSWOP)
5151 IntegerEntry((poolAddress + kPoolVoteSWOP), poolVoteSWOPnew) :: accumulated
5252 }
5353
5454 if (!(isCallerInGovernance(i.caller)))
5555 then throw("This address has 0 SWOP in Governance dApp")
5656 else {
5757 let totalVoteSWOP = valueOrElse(getInteger(this, kTotalVoteSWOP), 0)
5858 let userTotalVoteSWOP = valueOrElse(getInteger(this, (toString(i.caller) + kUserTotalVoteSWOP)), 0)
5959 let userSWOPinGovernance = getIntegerValue(govAddr, (toString(i.caller) + "_SWOP_amount"))
6060 let userVoteDiffSWOP = {
6161 let $list28482891 = poolAddresses
6262 let $size28482891 = size($list28482891)
6363 let $acc028482891 = 0
6464 if (($size28482891 == 0))
6565 then $acc028482891
6666 else {
6767 let $acc128482891 = calcVoteDiffSWOP($acc028482891, $list28482891[0])
6868 if (($size28482891 == 1))
6969 then $acc128482891
7070 else {
7171 let $acc228482891 = calcVoteDiffSWOP($acc128482891, $list28482891[1])
7272 if (($size28482891 == 2))
7373 then $acc228482891
7474 else {
7575 let $acc328482891 = calcVoteDiffSWOP($acc228482891, $list28482891[2])
7676 if (($size28482891 == 3))
7777 then $acc328482891
7878 else {
7979 let $acc428482891 = calcVoteDiffSWOP($acc328482891, $list28482891[3])
8080 if (($size28482891 == 4))
8181 then $acc428482891
8282 else {
8383 let $acc528482891 = calcVoteDiffSWOP($acc428482891, $list28482891[4])
8484 if (($size28482891 == 5))
8585 then $acc528482891
8686 else {
8787 let $acc628482891 = calcVoteDiffSWOP($acc528482891, $list28482891[5])
8888 if (($size28482891 == 6))
8989 then $acc628482891
9090 else {
9191 let $acc728482891 = calcVoteDiffSWOP($acc628482891, $list28482891[6])
9292 if (($size28482891 == 7))
9393 then $acc728482891
9494 else {
9595 let $acc828482891 = calcVoteDiffSWOP($acc728482891, $list28482891[7])
9696 if (($size28482891 == 8))
9797 then $acc828482891
9898 else {
9999 let $acc928482891 = calcVoteDiffSWOP($acc828482891, $list28482891[8])
100100 throw("List size exceed 8")
101101 }
102102 }
103103 }
104104 }
105105 }
106106 }
107107 }
108108 }
109109 }
110110 }
111- let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP)
112- let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP)
113111 if (true)
114- then throw(((((toString(totalVoteSWOPnew) + " ") + toString(totalVoteSWOP)) + " ") + toString(userVoteDiffSWOP)))
112+ then throw(toString(userVoteDiffSWOP))
115113 else {
116- let userDataEntry = {
117- let $list31713212 = poolAddresses
118- let $size31713212 = size($list31713212)
119- let $acc031713212 = nil
120- if (($size31713212 == 0))
121- then $acc031713212
122- else {
123- let $acc131713212 = userVoteEntry($acc031713212, $list31713212[0])
124- if (($size31713212 == 1))
125- then $acc131713212
114+ let userTotalVoteSWOPNew = (userTotalVoteSWOP + userVoteDiffSWOP)
115+ let totalVoteSWOPnew = (totalVoteSWOP + userVoteDiffSWOP)
116+ if (true)
117+ then throw(((((toString(totalVoteSWOPnew) + " ") + toString(totalVoteSWOP)) + " ") + toString(userVoteDiffSWOP)))
118+ else {
119+ let userDataEntry = {
120+ let $list32293270 = poolAddresses
121+ let $size32293270 = size($list32293270)
122+ let $acc032293270 = nil
123+ if (($size32293270 == 0))
124+ then $acc032293270
126125 else {
127- let $acc231713212 = userVoteEntry($acc131713212, $list31713212[1])
128- if (($size31713212 == 2))
129- then $acc231713212
126+ let $acc132293270 = userVoteEntry($acc032293270, $list32293270[0])
127+ if (($size32293270 == 1))
128+ then $acc132293270
130129 else {
131- let $acc331713212 = userVoteEntry($acc231713212, $list31713212[2])
132- if (($size31713212 == 3))
133- then $acc331713212
130+ let $acc232293270 = userVoteEntry($acc132293270, $list32293270[1])
131+ if (($size32293270 == 2))
132+ then $acc232293270
134133 else {
135- let $acc431713212 = userVoteEntry($acc331713212, $list31713212[3])
136- if (($size31713212 == 4))
137- then $acc431713212
134+ let $acc332293270 = userVoteEntry($acc232293270, $list32293270[2])
135+ if (($size32293270 == 3))
136+ then $acc332293270
138137 else {
139- let $acc531713212 = userVoteEntry($acc431713212, $list31713212[4])
140- if (($size31713212 == 5))
141- then $acc531713212
138+ let $acc432293270 = userVoteEntry($acc332293270, $list32293270[3])
139+ if (($size32293270 == 4))
140+ then $acc432293270
142141 else {
143- let $acc631713212 = userVoteEntry($acc531713212, $list31713212[5])
144- if (($size31713212 == 6))
145- then $acc631713212
142+ let $acc532293270 = userVoteEntry($acc432293270, $list32293270[4])
143+ if (($size32293270 == 5))
144+ then $acc532293270
146145 else {
147- let $acc731713212 = userVoteEntry($acc631713212, $list31713212[6])
148- if (($size31713212 == 7))
149- then $acc731713212
146+ let $acc632293270 = userVoteEntry($acc532293270, $list32293270[5])
147+ if (($size32293270 == 6))
148+ then $acc632293270
150149 else {
151- let $acc831713212 = userVoteEntry($acc731713212, $list31713212[7])
152- if (($size31713212 == 8))
153- then $acc831713212
150+ let $acc732293270 = userVoteEntry($acc632293270, $list32293270[6])
151+ if (($size32293270 == 7))
152+ then $acc732293270
154153 else {
155- let $acc931713212 = userVoteEntry($acc831713212, $list31713212[8])
156- throw("List size exceed 8")
154+ let $acc832293270 = userVoteEntry($acc732293270, $list32293270[7])
155+ if (($size32293270 == 8))
156+ then $acc832293270
157+ else {
158+ let $acc932293270 = userVoteEntry($acc832293270, $list32293270[8])
159+ throw("List size exceed 8")
160+ }
157161 }
158162 }
159163 }
160164 }
161165 }
162166 }
163167 }
164168 }
165169 }
166- }
167- let poolDataEntry = {
168- let $list32373278 = poolAddresses
169- let $size32373278 = size($list32373278)
170- let $acc032373278 = nil
171- if (($size32373278 == 0))
172- then $acc032373278
173- else {
174- let $acc132373278 = poolVoteEntry($acc032373278, $list32373278[0])
175- if (($size32373278 == 1))
176- then $acc132373278
170+ let poolDataEntry = {
171+ let $list32953336 = poolAddresses
172+ let $size32953336 = size($list32953336)
173+ let $acc032953336 = nil
174+ if (($size32953336 == 0))
175+ then $acc032953336
177176 else {
178- let $acc232373278 = poolVoteEntry($acc132373278, $list32373278[1])
179- if (($size32373278 == 2))
180- then $acc232373278
177+ let $acc132953336 = poolVoteEntry($acc032953336, $list32953336[0])
178+ if (($size32953336 == 1))
179+ then $acc132953336
181180 else {
182- let $acc332373278 = poolVoteEntry($acc232373278, $list32373278[2])
183- if (($size32373278 == 3))
184- then $acc332373278
181+ let $acc232953336 = poolVoteEntry($acc132953336, $list32953336[1])
182+ if (($size32953336 == 2))
183+ then $acc232953336
185184 else {
186- let $acc432373278 = poolVoteEntry($acc332373278, $list32373278[3])
187- if (($size32373278 == 4))
188- then $acc432373278
185+ let $acc332953336 = poolVoteEntry($acc232953336, $list32953336[2])
186+ if (($size32953336 == 3))
187+ then $acc332953336
189188 else {
190- let $acc532373278 = poolVoteEntry($acc432373278, $list32373278[4])
191- if (($size32373278 == 5))
192- then $acc532373278
189+ let $acc432953336 = poolVoteEntry($acc332953336, $list32953336[3])
190+ if (($size32953336 == 4))
191+ then $acc432953336
193192 else {
194- let $acc632373278 = poolVoteEntry($acc532373278, $list32373278[5])
195- if (($size32373278 == 6))
196- then $acc632373278
193+ let $acc532953336 = poolVoteEntry($acc432953336, $list32953336[4])
194+ if (($size32953336 == 5))
195+ then $acc532953336
197196 else {
198- let $acc732373278 = poolVoteEntry($acc632373278, $list32373278[6])
199- if (($size32373278 == 7))
200- then $acc732373278
197+ let $acc632953336 = poolVoteEntry($acc532953336, $list32953336[5])
198+ if (($size32953336 == 6))
199+ then $acc632953336
201200 else {
202- let $acc832373278 = poolVoteEntry($acc732373278, $list32373278[7])
203- if (($size32373278 == 8))
204- then $acc832373278
201+ let $acc732953336 = poolVoteEntry($acc632953336, $list32953336[6])
202+ if (($size32953336 == 7))
203+ then $acc732953336
205204 else {
206- let $acc932373278 = poolVoteEntry($acc832373278, $list32373278[8])
207- throw("List size exceed 8")
205+ let $acc832953336 = poolVoteEntry($acc732953336, $list32953336[7])
206+ if (($size32953336 == 8))
207+ then $acc832953336
208+ else {
209+ let $acc932953336 = poolVoteEntry($acc832953336, $list32953336[8])
210+ throw("List size exceed 8")
211+ }
208212 }
209213 }
210214 }
211215 }
212216 }
213217 }
214218 }
215219 }
216220 }
217- }
218- if ((userSWOPinGovernance > userTotalVoteSWOPNew))
219- then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew)))
220- else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)])
221+ if ((userSWOPinGovernance > userTotalVoteSWOPNew))
222+ then throw(((((toString(this) + " has ") + toString(userSWOPinGovernance)) + "SWOP in governance. New SWOP in voting ") + toString(userTotalVoteSWOPNew)))
223+ else ((userDataEntry ++ poolDataEntry) ++ [IntegerEntry((toString(i.caller) + kUserTotalVoteSWOP), userTotalVoteSWOPNew), IntegerEntry(kTotalVoteSWOP, totalVoteSWOPnew)])
224+ }
221225 }
222226 }
223227 }
224228
225229

github/deemru/w8io/169f3d6 
105.02 ms