tx · CWjo8tYroyjX4kYFFy7axZ5L9Dv2xk5WAAtPPryDhkFw

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.01200000 Waves

2023.11.12 15:16 [2840111] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "CWjo8tYroyjX4kYFFy7axZ5L9Dv2xk5WAAtPPryDhkFw", "fee": 1200000, "feeAssetId": null, "timestamp": 1699791419514, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "2mxNchjT49dh1fpra6f1CVgzb2etS24aG5584tgrLDTwJ1seimjYXLNQ9pExzKNs6JcDm7vK6QXEUdAP5iQXXQYR" ], "script": "base64:BgIXCAISABIAEgASABIAEgASAwoBCBIAEgAWAAJkOACAwtcvABJyZWdpc3RyYXRpb25DbG9zZWQAAQAXcmVnaXN0cmF0aW9uUmVxdWlyZW1lbnQJAGgCAMC4AgUCZDgBDXRyeUdldEludGVnZXICB2FkZHJlc3MDa2V5BAckbWF0Y2gwCQCaCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgNJbnQEAWIFByRtYXRjaDAFAWIAAAEMdHJ5R2V0U3RyaW5nAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFiBQckbWF0Y2gwBQFiAgAAB2J1cm54dG4BICRPdXlqfjM5uPsM/4SpcVxeyi3eM6DEXWn56kQR7ExUAAl3aGlybHBvb2wBIFnjjdzCtSO6ShTcxNCvFAnmZOYEviUGCyZO5VBtl1nHAANQWjEBGgFXhZ0sMNX8Az5hxa3ekr/FKpHzma4aQUAKAANQWjIBGgFX9UZoJ4ANaN9OJnV6tKHTKDHgCb/1eXk3AANQWjMBGgFX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fMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABsAHAAdAB4AHwAgACEAIgAjACQAJQAmACcAKAApACoAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAOgA7ADwAPQA+AD8AQABBAEIAQwBEAEUARgBHAEgASQBKAEsATABNAE4ATwBQAFEAUgBTAFQAVQBWAFcAWABZAFoAWwBcAF0AXgBfAGAAYQBiAGMAZABLz0yh", "height": 2840111, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GohtAhhtupwR9QxCKyCcX9MYuic4d8s2BpqKfHqhP6VP Next: ABPXjrStzEi51Mrz7qzYY2CmB7bKH4vByXRifoDuVHFm Diff:
OldNewDifferences
232232 }
233233 let am = size(al)
234234 let an = fraction(am, 80, 100, DOWN)
235- func ao (W,e) = if ((aj > d(this, ("stop " + e))))
236- then nil
237- else (W + (e + ","))
235+ let ao = makeString(al, ",")
236+[StringEntry("Filter", ao), IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)]
237+ }
238238
239- let ah = {
240- let Y = U
241- let Z = size(Y)
242- let aa = ""
243- func ap (ac,ad) = if ((ad >= Z))
244- then ac
245- else ao(ac, Y[ad])
246239
247- func aq (ac,ad) = if ((ad >= Z))
248- then ac
249- else throw("List size exceeds 98")
250240
251- aq(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
252- }
253-[StringEntry("Filter", ah), IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)]
254- }
241+@Callable(S)
242+func fAddress (e) = if ((S.caller != this))
243+ then throw("access only by project owner")
244+ else [StringEntry("Filter address", ((i(this, "Filter address") + e) + ","))]
255245
256246
257247
266256 func transfer () = if ((S.caller != this))
267257 then throw("access only by project owner")
268258 else {
269- let ar = k
270- let as = (2 * a)
259+ let ap = k
260+ let aq = (2 * a)
271261 let T = dropRight(i(this, "winners"), 1)
272262 let U = split(T, ",")
273- let at = (as / size(U))
274- func au (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), at, ar)])
263+ let ar = (aq / size(U))
264+ func as (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), ar, ap)])
275265
276266 let Y = U
277267 let Z = size(Y)
278268 let aa = nil
279269 func ab (ac,ad) = if ((ad >= Z))
280270 then ac
281- else au(ac, Y[ad])
271+ else as(ac, Y[ad])
282272
283273 func ae (ac,ad) = if ((ad >= Z))
284274 then ac
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 100000000
55
66 let b = 1
77
88 let c = (40000 * a)
99
1010 func d (e,f) = {
1111 let g = getInteger(e, f)
1212 if ($isInstanceOf(g, "Int"))
1313 then {
1414 let h = g
1515 h
1616 }
1717 else 0
1818 }
1919
2020
2121 func i (e,f) = {
2222 let g = getString(e, f)
2323 if ($isInstanceOf(g, "String"))
2424 then {
2525 let h = g
2626 h
2727 }
2828 else ""
2929 }
3030
3131
3232 let j = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns'
3333
3434 let k = base58'73tY3E6Gd5AWYmsuq8m8Kek7KnJNAYyS3GoveTbc6jCi'
3535
3636 let l = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB'
3737
3838 let m = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx'
3939
4040 let n = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi'
4141
4242 let o = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7'
4343
4444 let p = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm'
4545
4646 let q = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q'
4747
4848 let r = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'
4949
5050 let s = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5'
5151
5252 let t = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n"
5353
5454 let u = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry'
5555
5656 let v = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z"
5757
5858 func w (x,e) = {
5959 let y = d(Address(x), (("global_" + toBase58String(j)) + "_balance"))
6060 let z = d(Address(x), (toString(e) + "_indexStaked"))
6161 let A = d(Address(x), "global_poolToken_amount")
6262 fraction(y, z, A)
6363 }
6464
6565
6666 func B (x,e,C) = {
6767 let D = assetBalance(Address(x), j)
6868 let E = d(Address(r), ((("%s%s%s__staked__" + toString(e)) + "__") + C))
6969 let F = d(Address(r), ("%s%s%s__staked__total__" + C))
7070 fraction(D, E, F)
7171 }
7272
7373
7474 func G (e) = {
7575 let H = assetBalance(e, j)
7676 let I = w(l, e)
7777 let J = w(m, e)
7878 let K = w(n, e)
7979 let L = w(o, e)
8080 let M = w(p, e)
8181 let N = w(q, e)
8282 let O = B(s, e, t)
8383 let P = B(u, e, v)
8484 let Q = ((((((((H + I) + J) + K) + L) + M) + N) + O) + P)
8585 [IntegerEntry("burnxtnBalance", H), IntegerEntry("PZ1balance", I), IntegerEntry("PZ2balance", J), IntegerEntry("PZ3balance", K), IntegerEntry("PZ4balance", L), IntegerEntry("PZ5balance", M), IntegerEntry("PZ6balance", N), IntegerEntry("WX1balance", O), IntegerEntry("WX2balance", P), IntegerEntry("total", Q)]
8686 }
8787
8888
8989 func R (e) = {
9090 let H = assetBalance(e, j)
9191 let I = w(l, e)
9292 let J = w(m, e)
9393 let K = w(n, e)
9494 let L = w(o, e)
9595 let M = w(p, e)
9696 let N = w(q, e)
9797 let O = B(s, e, t)
9898 let P = B(u, e, v)
9999 ((((((((H + I) + J) + K) + L) + M) + N) + O) + P)
100100 }
101101
102102
103103 @Callable(S)
104104 func register () = if (contains(i(this, "Address registered"), toString(S.caller)))
105105 then throw("already registered")
106106 else if ((height > b))
107107 then throw("registration closed")
108108 else if ((c > R(S.caller)))
109109 then throw("have atleast 40k BURN-XTN in wallet and liquidity pools")
110110 else if ((d(this, "Amount Registered") == 99))
111111 then throw("registration closed")
112112 else ([IntegerEntry("Amount Registered", (d(this, "Amount Registered") + 1)), StringEntry(("Register address: " + toString((d(this, "Amount Registered") + 1))), toString(S.caller)), StringEntry("Address registered", ((i(this, "Address registered") + toString(S.caller)) + ","))] ++ G(S.caller))
113113
114114
115115
116116 @Callable(S)
117117 func start () = if ((S.caller != this))
118118 then throw("access only by project owner")
119119 else {
120120 let T = dropRight(i(this, "Address registered"), 1)
121121 let U = split(T, ",")
122122 func V (W,e) = (W ++ [IntegerEntry(e, wavesBalance(addressFromStringValue(e)).available)])
123123
124124 let X = {
125125 let Y = U
126126 let Z = size(Y)
127127 let aa = nil
128128 func ab (ac,ad) = if ((ad >= Z))
129129 then ac
130130 else V(ac, Y[ad])
131131
132132 func ae (ac,ad) = if ((ad >= Z))
133133 then ac
134134 else throw("List size exceeds 100")
135135
136136 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
137137 }
138138 (nil ++ X)
139139 }
140140
141141
142142
143143 @Callable(S)
144144 func currentPosition () = {
145145 let T = dropRight(i(this, "Address registered"), 1)
146146 let U = split(T, ",")
147147 func af (W,e) = (W ++ [IntegerEntry(("increase " + e), (wavesBalance(addressFromStringValue(e)).available - d(this, e)))])
148148
149149 let ag = {
150150 let Y = U
151151 let Z = size(Y)
152152 let aa = nil
153153 func ab (ac,ad) = if ((ad >= Z))
154154 then ac
155155 else af(ac, Y[ad])
156156
157157 func ae (ac,ad) = if ((ad >= Z))
158158 then ac
159159 else throw("List size exceeds 98")
160160
161161 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
162162 }
163163 (nil ++ ag)
164164 }
165165
166166
167167
168168 @Callable(S)
169169 func stop () = if ((S.caller != this))
170170 then throw("access only by project owner")
171171 else {
172172 let T = dropRight(i(this, "Address registered"), 1)
173173 let U = split(T, ",")
174174 func af (W,e) = (W ++ [IntegerEntry(("stop " + e), (wavesBalance(addressFromStringValue(e)).available - d(this, e)))])
175175
176176 let ag = {
177177 let Y = U
178178 let Z = size(Y)
179179 let aa = nil
180180 func ab (ac,ad) = if ((ad >= Z))
181181 then ac
182182 else af(ac, Y[ad])
183183
184184 func ae (ac,ad) = if ((ad >= Z))
185185 then ac
186186 else throw("List size exceeds 98")
187187
188188 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
189189 }
190190 (nil ++ ag)
191191 }
192192
193193
194194
195195 @Callable(S)
196196 func winners () = if ((S.caller != this))
197197 then throw("access only by project owner")
198198 else {
199199 let ah = invoke(this, "filter", nil, nil)
200200 if ((ah == ah))
201201 then nil
202202 else throw("Strict value is not equal to itself.")
203203 }
204204
205205
206206
207207 @Callable(S)
208208 func filter () = if ((S.caller != this))
209209 then throw("access only by project owner")
210210 else {
211211 let T = dropRight(i(this, "Address registered"), 1)
212212 let U = split(T, ",")
213213 let ai = size(U)
214214 let aj = 1
215215 func ak (W,e) = if ((aj > d(this, ("stop " + e))))
216216 then nil
217217 else (W :+ e)
218218
219219 let al = {
220220 let Y = U
221221 let Z = size(Y)
222222 let aa = nil
223223 func ab (ac,ad) = if ((ad >= Z))
224224 then ac
225225 else ak(ac, Y[ad])
226226
227227 func ae (ac,ad) = if ((ad >= Z))
228228 then ac
229229 else throw("List size exceeds 98")
230230
231231 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
232232 }
233233 let am = size(al)
234234 let an = fraction(am, 80, 100, DOWN)
235- func ao (W,e) = if ((aj > d(this, ("stop " + e))))
236- then nil
237- else (W + (e + ","))
235+ let ao = makeString(al, ",")
236+[StringEntry("Filter", ao), IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)]
237+ }
238238
239- let ah = {
240- let Y = U
241- let Z = size(Y)
242- let aa = ""
243- func ap (ac,ad) = if ((ad >= Z))
244- then ac
245- else ao(ac, Y[ad])
246239
247- func aq (ac,ad) = if ((ad >= Z))
248- then ac
249- else throw("List size exceeds 98")
250240
251- aq(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(ap(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98)
252- }
253-[StringEntry("Filter", ah), IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)]
254- }
241+@Callable(S)
242+func fAddress (e) = if ((S.caller != this))
243+ then throw("access only by project owner")
244+ else [StringEntry("Filter address", ((i(this, "Filter address") + e) + ","))]
255245
256246
257247
258248 @Callable(S)
259249 func remove () = if ((S.caller != this))
260250 then throw("access only by project owner")
261251 else nil
262252
263253
264254
265255 @Callable(S)
266256 func transfer () = if ((S.caller != this))
267257 then throw("access only by project owner")
268258 else {
269- let ar = k
270- let as = (2 * a)
259+ let ap = k
260+ let aq = (2 * a)
271261 let T = dropRight(i(this, "winners"), 1)
272262 let U = split(T, ",")
273- let at = (as / size(U))
274- func au (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), at, ar)])
263+ let ar = (aq / size(U))
264+ func as (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), ar, ap)])
275265
276266 let Y = U
277267 let Z = size(Y)
278268 let aa = nil
279269 func ab (ac,ad) = if ((ad >= Z))
280270 then ac
281- else au(ac, Y[ad])
271+ else as(ac, Y[ad])
282272
283273 func ae (ac,ad) = if ((ad >= Z))
284274 then ac
285275 else throw("List size exceeds 100")
286276
287277 ae(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(aa, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
288278 }
289279
290280

github/deemru/w8io/169f3d6 
188.11 ms