tx · cnjgS154pFETMTS2p15gRPc4HpEWY1z3seEneB9D63g

3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp:  -0.01400000 Waves

2021.03.13 15:25 [1435909] smart account 3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp > SELF 0.00000000 Waves

{ "type": 13, "id": "cnjgS154pFETMTS2p15gRPc4HpEWY1z3seEneB9D63g", "fee": 1400000, "feeAssetId": null, "timestamp": 1615638437617, "version": 1, "sender": "3N2wcNfEWihUVJV2S6jKwcw3QDupKgXPBnp", "senderPublicKey": "2Ek8QRiW2SC3s4ZC79pXUmvJbmqU6agaNsjN2wmnzmSs", "proofs": [ "3QQivAWFUujURuuZb1MD9LDmUNtHanWyXyAiumxgQjY9unoXsVakpdaqdfuuQG71F7N9Qhiq4oXTzw2Pzut9w21Q" ], "script": "base64:AAIEAAAAAAAAAAgIAhIECgIYEQAAAAcAAAAAEWtVc2VyUG9vbFZvdGVTV09QAgAAAAVfdm90ZQAAAAASa1VzZXJUb3RhbFZvdGVTV09QAgAAABVfdXNlcl90b3RhbF9TV09QX3ZvdGUAAAAADWtQb29sVm90ZVNXT1ACAAAACl92b3RlX1NXT1AAAAAADmtUb3RhbFZvdGVTV09QAgAAAA90b3RhbF92b3RlX1NXT1AAAAAAB2dvdkFkZHIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVRAR/HWw3DxHB4C9lwcyuInima35raJGzsBAAAAFGlzQ2FsbGVySW5Hb3Zlcm5hbmNlAAAAAQAAAAR1c2VyAwMJAABmAAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAdnb3ZBZGRyCQABLAAAAAIJAAQlAAAAAQUAAAAEdXNlcgIAAAAMX1NXT1BfYW1vdW50AAAAAAAAAAAAAAAAAAAAAAAABgkAAGYAAAACCQEAAAALdmFsdWVPckVsc2UAAAACCQAEGgAAAAIFAAAABHRoaXMJAAEsAAAAAgkABCUAAAABBQAAAAR1c2VyBQAAABJrVXN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Y=", "chainId": 84, "height": 1435909, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CGEX7wrP9sPkHo3ZUuBk1iTH3nGe4sWB3s5DSWfkJiHn Next: HFqCVY3kVGib5gm4JsSKBMGvGbFKKVLxB8jDHsodNUHg Diff:
OldNewDifferences
3333 let q = valueOrElse(getInteger(this, (((toString(j.caller) + a) + "_") + i)), 0)
3434 let r = (p - q)
3535 if (true)
36- then throw(toString(r))
36+ then throw(((toString(p) + " ") + toString(q)))
3737 else (n + r)
3838 }
3939
8787 then H
8888 else {
8989 let I = m(H, A[5])
90- if ((B == 6))
91- then I
90+ throw("List size exceed 5")
91+ }
92+ }
93+ }
94+ }
95+ }
96+ }
97+ }
98+ let J = (x + z)
99+ let K = (w + z)
100+ if (true)
101+ then throw(((((toString(K) + " ") + toString(w)) + " ") + toString(z)))
102+ else {
103+ let L = {
104+ let M = k
105+ let N = size(M)
106+ let O = nil
107+ if ((N == 0))
108+ then O
109+ else {
110+ let P = s(O, M[0])
111+ if ((N == 1))
112+ then P
113+ else {
114+ let Q = s(P, M[1])
115+ if ((N == 2))
116+ then Q
117+ else {
118+ let R = s(Q, M[2])
119+ if ((N == 3))
120+ then R
121+ else {
122+ let S = s(R, M[3])
123+ if ((N == 4))
124+ then S
125+ else {
126+ let T = s(S, M[4])
127+ if ((N == 5))
128+ then T
92129 else {
93- let J = m(I, A[6])
94- if ((B == 7))
95- then J
96- else {
97- let K = m(J, A[7])
98- if ((B == 8))
99- then K
100- else {
101- let L = m(K, A[8])
102- throw("List size exceed 8")
103- }
104- }
130+ let U = s(T, M[5])
131+ throw("List size exceed 5")
105132 }
106133 }
107134 }
109136 }
110137 }
111138 }
112- }
113- let M = (x + z)
114- let N = (w + z)
115- if (true)
116- then throw(((((toString(N) + " ") + toString(w)) + " ") + toString(z)))
117- else {
118- let O = {
119- let P = k
120- let Q = size(P)
121- let R = nil
122- if ((Q == 0))
123- then R
139+ let V = {
140+ let W = k
141+ let X = size(W)
142+ let Y = nil
143+ if ((X == 0))
144+ then Y
124145 else {
125- let S = s(R, P[0])
126- if ((Q == 1))
127- then S
146+ let Z = t(Y, W[0])
147+ if ((X == 1))
148+ then Z
128149 else {
129- let T = s(S, P[1])
130- if ((Q == 2))
131- then T
150+ let aa = t(Z, W[1])
151+ if ((X == 2))
152+ then aa
132153 else {
133- let U = s(T, P[2])
134- if ((Q == 3))
135- then U
154+ let ab = t(aa, W[2])
155+ if ((X == 3))
156+ then ab
136157 else {
137- let V = s(U, P[3])
138- if ((Q == 4))
139- then V
158+ let ac = t(ab, W[3])
159+ if ((X == 4))
160+ then ac
140161 else {
141- let W = s(V, P[4])
142- if ((Q == 5))
143- then W
162+ let ad = t(ac, W[4])
163+ if ((X == 5))
164+ then ad
144165 else {
145- let X = s(W, P[5])
146- if ((Q == 6))
147- then X
148- else {
149- let Y = s(X, P[6])
150- if ((Q == 7))
151- then Y
152- else {
153- let Z = s(Y, P[7])
154- if ((Q == 8))
155- then Z
156- else {
157- let aa = s(Z, P[8])
158- throw("List size exceed 8")
159- }
160- }
161- }
166+ let ae = t(ad, W[5])
167+ throw("List size exceed 5")
162168 }
163169 }
164170 }
166172 }
167173 }
168174 }
169- let ab = {
170- let ac = k
171- let ad = size(ac)
172- let ae = nil
173- if ((ad == 0))
174- then ae
175- else {
176- let af = t(ae, ac[0])
177- if ((ad == 1))
178- then af
179- else {
180- let ag = t(af, ac[1])
181- if ((ad == 2))
182- then ag
183- else {
184- let ah = t(ag, ac[2])
185- if ((ad == 3))
186- then ah
187- else {
188- let ai = t(ah, ac[3])
189- if ((ad == 4))
190- then ai
191- else {
192- let aj = t(ai, ac[4])
193- if ((ad == 5))
194- then aj
195- else {
196- let ak = t(aj, ac[5])
197- if ((ad == 6))
198- then ak
199- else {
200- let al = t(ak, ac[6])
201- if ((ad == 7))
202- then al
203- else {
204- let am = t(al, ac[7])
205- if ((ad == 8))
206- then am
207- else {
208- let an = t(am, ac[8])
209- throw("List size exceed 8")
210- }
211- }
212- }
213- }
214- }
215- }
216- }
217- }
218- }
219- }
220- if ((y > M))
221- then throw(((((toString(this) + " has ") + toString(y)) + "SWOP in governance. New SWOP in voting ") + toString(M)))
222- else ((O ++ ab) ++ [IntegerEntry((toString(j.caller) + b), M), IntegerEntry(d, N)])
175+ if ((y > J))
176+ then throw(((((toString(this) + " has ") + toString(y)) + "SWOP in governance. New SWOP in voting ") + toString(J)))
177+ else ((L ++ V) ++ [IntegerEntry((toString(j.caller) + b), J), IntegerEntry(d, K)])
223178 }
224179 }
225180 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "_vote"
55
66 let b = "_user_total_SWOP_vote"
77
88 let c = "_vote_SWOP"
99
1010 let d = "total_vote_SWOP"
1111
1212 let e = Address(base58'3MumyD14hrRb2Vj3HAifsnCcUpsELAZWxAE')
1313
1414 func f (g) = if (if ((valueOrElse(getInteger(e, (toString(g) + "_SWOP_amount")), 0) > 0))
1515 then true
1616 else (valueOrElse(getInteger(this, (toString(g) + b)), 0) > 0))
1717 then true
1818 else false
1919
2020
2121 func h (i) = if ((valueOrElse(getInteger(e, (i + "_current_pool_fraction_reward")), 0) > 0))
2222 then true
2323 else false
2424
2525
2626 @Callable(j)
2727 func votePoolWeight (k,l) = {
2828 func m (n,i) = if (!(h(i)))
2929 then throw("This pool has no _current_pool_fraction_reward in Governance dApp")
3030 else {
3131 let o = value(indexOf(k, i))
3232 let p = l[o]
3333 let q = valueOrElse(getInteger(this, (((toString(j.caller) + a) + "_") + i)), 0)
3434 let r = (p - q)
3535 if (true)
36- then throw(toString(r))
36+ then throw(((toString(p) + " ") + toString(q)))
3737 else (n + r)
3838 }
3939
4040 func s (n,i) = {
4141 let o = value(indexOf(k, i))
4242 let p = l[o]
4343 IntegerEntry((((toString(j.caller) + "_") + i) + a), p) :: n
4444 }
4545
4646 func t (n,i) = {
4747 let o = value(indexOf(k, i))
4848 let q = valueOrElse(getInteger(this, (((toString(j.caller) + "_") + i) + a)), 0)
4949 let p = l[o]
5050 let r = (p - q)
5151 let u = valueOrElse(getInteger(this, (i + c)), 0)
5252 let v = (u + r)
5353 IntegerEntry((i + c), v) :: n
5454 }
5555
5656 if (!(f(j.caller)))
5757 then throw("This address has 0 SWOP in Governance dApp")
5858 else {
5959 let w = valueOrElse(getInteger(this, d), 0)
6060 let x = valueOrElse(getInteger(this, (toString(j.caller) + b)), 0)
6161 let y = getIntegerValue(e, (toString(j.caller) + "_SWOP_amount"))
6262 let z = {
6363 let A = k
6464 let B = size(A)
6565 let C = 0
6666 if ((B == 0))
6767 then C
6868 else {
6969 let D = m(C, A[0])
7070 if ((B == 1))
7171 then D
7272 else {
7373 let E = m(D, A[1])
7474 if ((B == 2))
7575 then E
7676 else {
7777 let F = m(E, A[2])
7878 if ((B == 3))
7979 then F
8080 else {
8181 let G = m(F, A[3])
8282 if ((B == 4))
8383 then G
8484 else {
8585 let H = m(G, A[4])
8686 if ((B == 5))
8787 then H
8888 else {
8989 let I = m(H, A[5])
90- if ((B == 6))
91- then I
90+ throw("List size exceed 5")
91+ }
92+ }
93+ }
94+ }
95+ }
96+ }
97+ }
98+ let J = (x + z)
99+ let K = (w + z)
100+ if (true)
101+ then throw(((((toString(K) + " ") + toString(w)) + " ") + toString(z)))
102+ else {
103+ let L = {
104+ let M = k
105+ let N = size(M)
106+ let O = nil
107+ if ((N == 0))
108+ then O
109+ else {
110+ let P = s(O, M[0])
111+ if ((N == 1))
112+ then P
113+ else {
114+ let Q = s(P, M[1])
115+ if ((N == 2))
116+ then Q
117+ else {
118+ let R = s(Q, M[2])
119+ if ((N == 3))
120+ then R
121+ else {
122+ let S = s(R, M[3])
123+ if ((N == 4))
124+ then S
125+ else {
126+ let T = s(S, M[4])
127+ if ((N == 5))
128+ then T
92129 else {
93- let J = m(I, A[6])
94- if ((B == 7))
95- then J
96- else {
97- let K = m(J, A[7])
98- if ((B == 8))
99- then K
100- else {
101- let L = m(K, A[8])
102- throw("List size exceed 8")
103- }
104- }
130+ let U = s(T, M[5])
131+ throw("List size exceed 5")
105132 }
106133 }
107134 }
108135 }
109136 }
110137 }
111138 }
112- }
113- let M = (x + z)
114- let N = (w + z)
115- if (true)
116- then throw(((((toString(N) + " ") + toString(w)) + " ") + toString(z)))
117- else {
118- let O = {
119- let P = k
120- let Q = size(P)
121- let R = nil
122- if ((Q == 0))
123- then R
139+ let V = {
140+ let W = k
141+ let X = size(W)
142+ let Y = nil
143+ if ((X == 0))
144+ then Y
124145 else {
125- let S = s(R, P[0])
126- if ((Q == 1))
127- then S
146+ let Z = t(Y, W[0])
147+ if ((X == 1))
148+ then Z
128149 else {
129- let T = s(S, P[1])
130- if ((Q == 2))
131- then T
150+ let aa = t(Z, W[1])
151+ if ((X == 2))
152+ then aa
132153 else {
133- let U = s(T, P[2])
134- if ((Q == 3))
135- then U
154+ let ab = t(aa, W[2])
155+ if ((X == 3))
156+ then ab
136157 else {
137- let V = s(U, P[3])
138- if ((Q == 4))
139- then V
158+ let ac = t(ab, W[3])
159+ if ((X == 4))
160+ then ac
140161 else {
141- let W = s(V, P[4])
142- if ((Q == 5))
143- then W
162+ let ad = t(ac, W[4])
163+ if ((X == 5))
164+ then ad
144165 else {
145- let X = s(W, P[5])
146- if ((Q == 6))
147- then X
148- else {
149- let Y = s(X, P[6])
150- if ((Q == 7))
151- then Y
152- else {
153- let Z = s(Y, P[7])
154- if ((Q == 8))
155- then Z
156- else {
157- let aa = s(Z, P[8])
158- throw("List size exceed 8")
159- }
160- }
161- }
166+ let ae = t(ad, W[5])
167+ throw("List size exceed 5")
162168 }
163169 }
164170 }
165171 }
166172 }
167173 }
168174 }
169- let ab = {
170- let ac = k
171- let ad = size(ac)
172- let ae = nil
173- if ((ad == 0))
174- then ae
175- else {
176- let af = t(ae, ac[0])
177- if ((ad == 1))
178- then af
179- else {
180- let ag = t(af, ac[1])
181- if ((ad == 2))
182- then ag
183- else {
184- let ah = t(ag, ac[2])
185- if ((ad == 3))
186- then ah
187- else {
188- let ai = t(ah, ac[3])
189- if ((ad == 4))
190- then ai
191- else {
192- let aj = t(ai, ac[4])
193- if ((ad == 5))
194- then aj
195- else {
196- let ak = t(aj, ac[5])
197- if ((ad == 6))
198- then ak
199- else {
200- let al = t(ak, ac[6])
201- if ((ad == 7))
202- then al
203- else {
204- let am = t(al, ac[7])
205- if ((ad == 8))
206- then am
207- else {
208- let an = t(am, ac[8])
209- throw("List size exceed 8")
210- }
211- }
212- }
213- }
214- }
215- }
216- }
217- }
218- }
219- }
220- if ((y > M))
221- then throw(((((toString(this) + " has ") + toString(y)) + "SWOP in governance. New SWOP in voting ") + toString(M)))
222- else ((O ++ ab) ++ [IntegerEntry((toString(j.caller) + b), M), IntegerEntry(d, N)])
175+ if ((y > J))
176+ then throw(((((toString(this) + " has ") + toString(y)) + "SWOP in governance. New SWOP in voting ") + toString(J)))
177+ else ((L ++ V) ++ [IntegerEntry((toString(j.caller) + b), J), IntegerEntry(d, K)])
223178 }
224179 }
225180 }
226181
227182

github/deemru/w8io/169f3d6 
67.15 ms