tx · CUpLHDJ29EMLobR2zYb97anpekYoF9fFWU267VAiYVLm 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.01200000 Waves 2023.11.12 12:38 [2839957] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{ "type": 13, "id": "CUpLHDJ29EMLobR2zYb97anpekYoF9fFWU267VAiYVLm", "fee": 1200000, "feeAssetId": null, "timestamp": 1699781963759, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "2VFih8xRAjXnsrqMPvqUj2ZR1nFtNEopQX9C2Dz1FNQuWL96BL3wYzoCJxmypF28rKozN4aMnpfsqJjbt7mGqsaT" ], "script": "base64:BgISCAISABIAEgASABIAEgASABIAFgACZDgAgMLXLwAScmVnaXN0cmF0aW9uQ2xvc2VkAAEAF3JlZ2lzdHJhdGlvblJlcXVpcmVtZW50CQBoAgDAuAIFAmQ4AQ10cnlHZXRJbnRlZ2VyAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAmggCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDHRyeUdldFN0cmluZwIHYWRkcmVzcwNrZXkEByRtYXRjaDAJAJ0IAgUHYWRkcmVzcwUDa2V5AwkAAQIFByRtYXRjaDACBlN0cmluZwQBYgUHJG1hdGNoMAUBYgIAAAdidXJueHRuASAkT3V5an4zObj7DP+EqXFcXsot3jOgxF1p+epEEexMVAAJd2hpcmxwb29sASBZ443cwrUjukoU3MTQrxQJ5mTmBL4lBgsmTuVQbZdZxwADUFoxARoBV4WdLDDV/AM+YcWt3pK/xSqR85muGkFACgADUFoyARoBV/VGaCeADWjfTiZ1erSh0ygx4Am/9Xl5NwADUFozARoBV2tSHeFnXWIznET2mm8K7tVVyNog/Ozmx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HQAeAB8AIAAhACIAIwAkACUAJgAnACgAKQAqACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ADoAOwA8AD0APgA/AEAAQQBCAEMARABFAEYARwBIAEkASgBLAEwATQBOAE8AUABRAFIAUwBUAFUAVgBXAFgAWQBaAFsAXABdAF4AXwBgAGEAYgBjAGQAZatkAQ==", "height": 2839957, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D7VgU9j62reDEHokTuj67449V5P1TRpvZWdGUrueMCUP Next: GohtAhhtupwR9QxCKyCcX9MYuic4d8s2BpqKfHqhP6VP Diff:
Old | New | Differences | |
---|---|---|---|
232 | 232 | } | |
233 | 233 | let am = size(al) | |
234 | 234 | 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 + ",")) | |
238 | - | ||
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]) | |
246 | - | ||
247 | - | func aq (ac,ad) = if ((ad >= Z)) | |
248 | - | then ac | |
249 | - | else throw("List size exceeds 98") | |
250 | - | ||
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)] | |
235 | + | [IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)] | |
254 | 236 | } | |
255 | 237 | ||
256 | 238 | ||
266 | 248 | func transfer () = if ((S.caller != this)) | |
267 | 249 | then throw("access only by project owner") | |
268 | 250 | else { | |
269 | - | let | |
270 | - | let | |
251 | + | let ao = k | |
252 | + | let ap = (2 * a) | |
271 | 253 | let T = dropRight(i(this, "winners"), 1) | |
272 | 254 | let U = split(T, ",") | |
273 | - | let | |
274 | - | func | |
255 | + | let aq = (ap / size(U)) | |
256 | + | func ar (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), aq, ao)]) | |
275 | 257 | ||
276 | 258 | let Y = U | |
277 | 259 | let Z = size(Y) | |
278 | 260 | let aa = nil | |
279 | 261 | func ab (ac,ad) = if ((ad >= Z)) | |
280 | 262 | then ac | |
281 | - | else | |
263 | + | else ar(ac, Y[ad]) | |
282 | 264 | ||
283 | 265 | func ae (ac,ad) = if ((ad >= Z)) | |
284 | 266 | then ac |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000000 | |
5 | 5 | ||
6 | 6 | let b = 1 | |
7 | 7 | ||
8 | 8 | let c = (40000 * a) | |
9 | 9 | ||
10 | 10 | func d (e,f) = { | |
11 | 11 | let g = getInteger(e, f) | |
12 | 12 | if ($isInstanceOf(g, "Int")) | |
13 | 13 | then { | |
14 | 14 | let h = g | |
15 | 15 | h | |
16 | 16 | } | |
17 | 17 | else 0 | |
18 | 18 | } | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func i (e,f) = { | |
22 | 22 | let g = getString(e, f) | |
23 | 23 | if ($isInstanceOf(g, "String")) | |
24 | 24 | then { | |
25 | 25 | let h = g | |
26 | 26 | h | |
27 | 27 | } | |
28 | 28 | else "" | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | let j = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns' | |
33 | 33 | ||
34 | 34 | let k = base58'73tY3E6Gd5AWYmsuq8m8Kek7KnJNAYyS3GoveTbc6jCi' | |
35 | 35 | ||
36 | 36 | let l = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB' | |
37 | 37 | ||
38 | 38 | let m = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx' | |
39 | 39 | ||
40 | 40 | let n = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi' | |
41 | 41 | ||
42 | 42 | let o = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7' | |
43 | 43 | ||
44 | 44 | let p = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm' | |
45 | 45 | ||
46 | 46 | let q = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q' | |
47 | 47 | ||
48 | 48 | let r = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV' | |
49 | 49 | ||
50 | 50 | let s = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5' | |
51 | 51 | ||
52 | 52 | let t = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n" | |
53 | 53 | ||
54 | 54 | let u = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry' | |
55 | 55 | ||
56 | 56 | let v = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z" | |
57 | 57 | ||
58 | 58 | func w (x,e) = { | |
59 | 59 | let y = d(Address(x), (("global_" + toBase58String(j)) + "_balance")) | |
60 | 60 | let z = d(Address(x), (toString(e) + "_indexStaked")) | |
61 | 61 | let A = d(Address(x), "global_poolToken_amount") | |
62 | 62 | fraction(y, z, A) | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func B (x,e,C) = { | |
67 | 67 | let D = assetBalance(Address(x), j) | |
68 | 68 | let E = d(Address(r), ((("%s%s%s__staked__" + toString(e)) + "__") + C)) | |
69 | 69 | let F = d(Address(r), ("%s%s%s__staked__total__" + C)) | |
70 | 70 | fraction(D, E, F) | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func G (e) = { | |
75 | 75 | let H = assetBalance(e, j) | |
76 | 76 | let I = w(l, e) | |
77 | 77 | let J = w(m, e) | |
78 | 78 | let K = w(n, e) | |
79 | 79 | let L = w(o, e) | |
80 | 80 | let M = w(p, e) | |
81 | 81 | let N = w(q, e) | |
82 | 82 | let O = B(s, e, t) | |
83 | 83 | let P = B(u, e, v) | |
84 | 84 | let Q = ((((((((H + I) + J) + K) + L) + M) + N) + O) + P) | |
85 | 85 | [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)] | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func R (e) = { | |
90 | 90 | let H = assetBalance(e, j) | |
91 | 91 | let I = w(l, e) | |
92 | 92 | let J = w(m, e) | |
93 | 93 | let K = w(n, e) | |
94 | 94 | let L = w(o, e) | |
95 | 95 | let M = w(p, e) | |
96 | 96 | let N = w(q, e) | |
97 | 97 | let O = B(s, e, t) | |
98 | 98 | let P = B(u, e, v) | |
99 | 99 | ((((((((H + I) + J) + K) + L) + M) + N) + O) + P) | |
100 | 100 | } | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | @Callable(S) | |
104 | 104 | func register () = if (contains(i(this, "Address registered"), toString(S.caller))) | |
105 | 105 | then throw("already registered") | |
106 | 106 | else if ((height > b)) | |
107 | 107 | then throw("registration closed") | |
108 | 108 | else if ((c > R(S.caller))) | |
109 | 109 | then throw("have atleast 40k BURN-XTN in wallet and liquidity pools") | |
110 | 110 | else if ((d(this, "Amount Registered") == 99)) | |
111 | 111 | then throw("registration closed") | |
112 | 112 | 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)) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | ||
116 | 116 | @Callable(S) | |
117 | 117 | func start () = if ((S.caller != this)) | |
118 | 118 | then throw("access only by project owner") | |
119 | 119 | else { | |
120 | 120 | let T = dropRight(i(this, "Address registered"), 1) | |
121 | 121 | let U = split(T, ",") | |
122 | 122 | func V (W,e) = (W ++ [IntegerEntry(e, wavesBalance(addressFromStringValue(e)).available)]) | |
123 | 123 | ||
124 | 124 | let X = { | |
125 | 125 | let Y = U | |
126 | 126 | let Z = size(Y) | |
127 | 127 | let aa = nil | |
128 | 128 | func ab (ac,ad) = if ((ad >= Z)) | |
129 | 129 | then ac | |
130 | 130 | else V(ac, Y[ad]) | |
131 | 131 | ||
132 | 132 | func ae (ac,ad) = if ((ad >= Z)) | |
133 | 133 | then ac | |
134 | 134 | else throw("List size exceeds 100") | |
135 | 135 | ||
136 | 136 | 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) | |
137 | 137 | } | |
138 | 138 | (nil ++ X) | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | ||
143 | 143 | @Callable(S) | |
144 | 144 | func currentPosition () = { | |
145 | 145 | let T = dropRight(i(this, "Address registered"), 1) | |
146 | 146 | let U = split(T, ",") | |
147 | 147 | func af (W,e) = (W ++ [IntegerEntry(("increase " + e), (wavesBalance(addressFromStringValue(e)).available - d(this, e)))]) | |
148 | 148 | ||
149 | 149 | let ag = { | |
150 | 150 | let Y = U | |
151 | 151 | let Z = size(Y) | |
152 | 152 | let aa = nil | |
153 | 153 | func ab (ac,ad) = if ((ad >= Z)) | |
154 | 154 | then ac | |
155 | 155 | else af(ac, Y[ad]) | |
156 | 156 | ||
157 | 157 | func ae (ac,ad) = if ((ad >= Z)) | |
158 | 158 | then ac | |
159 | 159 | else throw("List size exceeds 98") | |
160 | 160 | ||
161 | 161 | 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) | |
162 | 162 | } | |
163 | 163 | (nil ++ ag) | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | ||
168 | 168 | @Callable(S) | |
169 | 169 | func stop () = if ((S.caller != this)) | |
170 | 170 | then throw("access only by project owner") | |
171 | 171 | else { | |
172 | 172 | let T = dropRight(i(this, "Address registered"), 1) | |
173 | 173 | let U = split(T, ",") | |
174 | 174 | func af (W,e) = (W ++ [IntegerEntry(("stop " + e), (wavesBalance(addressFromStringValue(e)).available - d(this, e)))]) | |
175 | 175 | ||
176 | 176 | let ag = { | |
177 | 177 | let Y = U | |
178 | 178 | let Z = size(Y) | |
179 | 179 | let aa = nil | |
180 | 180 | func ab (ac,ad) = if ((ad >= Z)) | |
181 | 181 | then ac | |
182 | 182 | else af(ac, Y[ad]) | |
183 | 183 | ||
184 | 184 | func ae (ac,ad) = if ((ad >= Z)) | |
185 | 185 | then ac | |
186 | 186 | else throw("List size exceeds 98") | |
187 | 187 | ||
188 | 188 | 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) | |
189 | 189 | } | |
190 | 190 | (nil ++ ag) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | ||
195 | 195 | @Callable(S) | |
196 | 196 | func winners () = if ((S.caller != this)) | |
197 | 197 | then throw("access only by project owner") | |
198 | 198 | else { | |
199 | 199 | let ah = invoke(this, "filter", nil, nil) | |
200 | 200 | if ((ah == ah)) | |
201 | 201 | then nil | |
202 | 202 | else throw("Strict value is not equal to itself.") | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | ||
207 | 207 | @Callable(S) | |
208 | 208 | func filter () = if ((S.caller != this)) | |
209 | 209 | then throw("access only by project owner") | |
210 | 210 | else { | |
211 | 211 | let T = dropRight(i(this, "Address registered"), 1) | |
212 | 212 | let U = split(T, ",") | |
213 | 213 | let ai = size(U) | |
214 | 214 | let aj = 1 | |
215 | 215 | func ak (W,e) = if ((aj > d(this, ("stop " + e)))) | |
216 | 216 | then nil | |
217 | 217 | else (W :+ e) | |
218 | 218 | ||
219 | 219 | let al = { | |
220 | 220 | let Y = U | |
221 | 221 | let Z = size(Y) | |
222 | 222 | let aa = nil | |
223 | 223 | func ab (ac,ad) = if ((ad >= Z)) | |
224 | 224 | then ac | |
225 | 225 | else ak(ac, Y[ad]) | |
226 | 226 | ||
227 | 227 | func ae (ac,ad) = if ((ad >= Z)) | |
228 | 228 | then ac | |
229 | 229 | else throw("List size exceeds 98") | |
230 | 230 | ||
231 | 231 | 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) | |
232 | 232 | } | |
233 | 233 | let am = size(al) | |
234 | 234 | 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 + ",")) | |
238 | - | ||
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]) | |
246 | - | ||
247 | - | func aq (ac,ad) = if ((ad >= Z)) | |
248 | - | then ac | |
249 | - | else throw("List size exceeds 98") | |
250 | - | ||
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)] | |
235 | + | [IntegerEntry("list size filterList", am), IntegerEntry("cullSize", an)] | |
254 | 236 | } | |
255 | 237 | ||
256 | 238 | ||
257 | 239 | ||
258 | 240 | @Callable(S) | |
259 | 241 | func remove () = if ((S.caller != this)) | |
260 | 242 | then throw("access only by project owner") | |
261 | 243 | else nil | |
262 | 244 | ||
263 | 245 | ||
264 | 246 | ||
265 | 247 | @Callable(S) | |
266 | 248 | func transfer () = if ((S.caller != this)) | |
267 | 249 | then throw("access only by project owner") | |
268 | 250 | else { | |
269 | - | let | |
270 | - | let | |
251 | + | let ao = k | |
252 | + | let ap = (2 * a) | |
271 | 253 | let T = dropRight(i(this, "winners"), 1) | |
272 | 254 | let U = split(T, ",") | |
273 | - | let | |
274 | - | func | |
255 | + | let aq = (ap / size(U)) | |
256 | + | func ar (W,e) = (W ++ [ScriptTransfer(addressFromStringValue(e), aq, ao)]) | |
275 | 257 | ||
276 | 258 | let Y = U | |
277 | 259 | let Z = size(Y) | |
278 | 260 | let aa = nil | |
279 | 261 | func ab (ac,ad) = if ((ad >= Z)) | |
280 | 262 | then ac | |
281 | - | else | |
263 | + | else ar(ac, Y[ad]) | |
282 | 264 | ||
283 | 265 | func ae (ac,ad) = if ((ad >= Z)) | |
284 | 266 | then ac | |
285 | 267 | else throw("List size exceeds 100") | |
286 | 268 | ||
287 | 269 | 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) | |
288 | 270 | } | |
289 | 271 | ||
290 | 272 |
github/deemru/w8io/026f985 49.57 ms ◑