tx · 7FBtqWFZjvUVV3hkGPKc3bF6y9EMwxpjKjrumSqbv3X7

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.01400000 Waves

2023.11.12 15:35 [2840129] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "7FBtqWFZjvUVV3hkGPKc3bF6y9EMwxpjKjrumSqbv3X7", "fee": 1400000, "feeAssetId": null, "timestamp": 1699792635980, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "3AqNoRDS9s3KWWrutP6AK5M8yByuqivwukkQev3UJHU7dDFuBcm3CmP7bDzq1r5seVP4quoJ6L1Acmnxoekc2UKo" ], "script": "base64:BgIUCAISABIAEgASABIAEgASABIAEgAWAAJkOACAwtcvABJyZWdpc3RyYXRpb25DbG9zZWQAAQAXcmVnaXN0cmF0aW9uUmVxdWlyZW1lbnQJAGgCAMC4AgUCZDgBDXRyeUdldEludGVnZXICB2FkZHJlc3MDa2V5BAckbWF0Y2gwCQCaCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgNJbnQEAWIFByRtYXRjaDAFAWIAAAEMdHJ5R2V0U3RyaW5nAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFiBQckbWF0Y2gwBQFiAgAAB2J1cm54dG4BICRPdXlqfjM5uPsM/4SpcVxeyi3eM6DEXWn56kQR7ExUAAl3aGlybHBvb2wBIFnjjdzCtSO6ShTcxNCvFAnmZOYEviUGCyZO5VBtl1nHAANQWjEBGgFXhZ0sMNX8Az5hxa3ekr/FKpHzma4aQUAKAANQWjIBGgFX9UZoJ4ANaN9OJnV6tKHTKDHgCb/1eXk3AANQWjMBGgFXa1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"applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ABPXjrStzEi51Mrz7qzYY2CmB7bKH4vByXRifoDuVHFm Next: DY7kFPgenPBm6NTja7yP47kAZhog3jqW9kaFkLStVhid Diff:
OldNewDifferences
291291 }
292292
293293
294+
295+@Callable(i)
296+func check () = [IntegerEntry("list size filterList", getIntegerValue("list size filterList")), StringEntry("filter", getStringValue("filter"))]
297+
298+
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let d8 = 100000000
55
66 let registrationClosed = 1
77
88 let registrationRequirement = (40000 * d8)
99
1010 func tryGetInteger (address,key) = match getInteger(address, key) {
1111 case b: Int =>
1212 b
1313 case _ =>
1414 0
1515 }
1616
1717
1818 func tryGetString (address,key) = match getString(address, key) {
1919 case b: String =>
2020 b
2121 case _ =>
2222 ""
2323 }
2424
2525
2626 let burnxtn = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns'
2727
2828 let whirlpool = base58'73tY3E6Gd5AWYmsuq8m8Kek7KnJNAYyS3GoveTbc6jCi'
2929
3030 let PZ1 = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB'
3131
3232 let PZ2 = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx'
3333
3434 let PZ3 = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi'
3535
3636 let PZ4 = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7'
3737
3838 let PZ5 = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm'
3939
4040 let PZ6 = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q'
4141
4242 let WXstake = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV'
4343
4444 let WX1 = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5'
4545
4646 let LP1 = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n"
4747
4848 let WX2 = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry'
4949
5050 let LP2 = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z"
5151
5252 func PZbal (Pooladdress,address) = {
5353 let burnxtnInPZ = tryGetInteger(Address(Pooladdress), (("global_" + toBase58String(burnxtn)) + "_balance"))
5454 let addressStakePZ = tryGetInteger(Address(Pooladdress), (toString(address) + "_indexStaked"))
5555 let totalStakePZ = tryGetInteger(Address(Pooladdress), "global_poolToken_amount")
5656 fraction(burnxtnInPZ, addressStakePZ, totalStakePZ)
5757 }
5858
5959
6060 func WXbal (Pooladdress,address,LPstr) = {
6161 let burnxtnInWX = assetBalance(Address(Pooladdress), burnxtn)
6262 let addressStakeWX = tryGetInteger(Address(WXstake), ((("%s%s%s__staked__" + toString(address)) + "__") + LPstr))
6363 let totalStakeWX = tryGetInteger(Address(WXstake), ("%s%s%s__staked__total__" + LPstr))
6464 fraction(burnxtnInWX, addressStakeWX, totalStakeWX)
6565 }
6666
6767
6868 func totalBalance (address) = {
6969 let burnxtnBalance = assetBalance(address, burnxtn)
7070 let PZ1balance = PZbal(PZ1, address)
7171 let PZ2balance = PZbal(PZ2, address)
7272 let PZ3balance = PZbal(PZ3, address)
7373 let PZ4balance = PZbal(PZ4, address)
7474 let PZ5balance = PZbal(PZ5, address)
7575 let PZ6balance = PZbal(PZ6, address)
7676 let WX1balance = WXbal(WX1, address, LP1)
7777 let WX2balance = WXbal(WX2, address, LP2)
7878 let total = ((((((((burnxtnBalance + PZ1balance) + PZ2balance) + PZ3balance) + PZ4balance) + PZ5balance) + PZ6balance) + WX1balance) + WX2balance)
7979 [IntegerEntry("burnxtnBalance", burnxtnBalance), IntegerEntry("PZ1balance", PZ1balance), IntegerEntry("PZ2balance", PZ2balance), IntegerEntry("PZ3balance", PZ3balance), IntegerEntry("PZ4balance", PZ4balance), IntegerEntry("PZ5balance", PZ5balance), IntegerEntry("PZ6balance", PZ6balance), IntegerEntry("WX1balance", WX1balance), IntegerEntry("WX2balance", WX2balance), IntegerEntry("total", total)]
8080 }
8181
8282
8383 func totalBalance2 (address) = {
8484 let burnxtnBalance = assetBalance(address, burnxtn)
8585 let PZ1balance = PZbal(PZ1, address)
8686 let PZ2balance = PZbal(PZ2, address)
8787 let PZ3balance = PZbal(PZ3, address)
8888 let PZ4balance = PZbal(PZ4, address)
8989 let PZ5balance = PZbal(PZ5, address)
9090 let PZ6balance = PZbal(PZ6, address)
9191 let WX1balance = WXbal(WX1, address, LP1)
9292 let WX2balance = WXbal(WX2, address, LP2)
9393 ((((((((burnxtnBalance + PZ1balance) + PZ2balance) + PZ3balance) + PZ4balance) + PZ5balance) + PZ6balance) + WX1balance) + WX2balance)
9494 }
9595
9696
9797 @Callable(i)
9898 func register () = if (contains(tryGetString(this, "Address registered"), toString(i.caller)))
9999 then throw("already registered")
100100 else if ((height > registrationClosed))
101101 then throw("registration closed")
102102 else if ((registrationRequirement > totalBalance2(i.caller)))
103103 then throw("have atleast 40k BURN-XTN in wallet and liquidity pools")
104104 else if ((tryGetInteger(this, "Amount Registered") == 99))
105105 then throw("registration closed")
106106 else ([IntegerEntry("Amount Registered", (tryGetInteger(this, "Amount Registered") + 1)), StringEntry(("Register address: " + toString((tryGetInteger(this, "Amount Registered") + 1))), toString(i.caller)), StringEntry("Address registered", ((tryGetString(this, "Address registered") + toString(i.caller)) + ","))] ++ totalBalance(i.caller))
107107
108108
109109
110110 @Callable(i)
111111 func start () = if ((i.caller != this))
112112 then throw("access only by project owner")
113113 else {
114114 let addresses = dropRight(tryGetString(this, "Address registered"), 1)
115115 let list = split(addresses, ",")
116116 func bal (accum,address) = (accum ++ [IntegerEntry(address, wavesBalance(addressFromStringValue(address)).available)])
117117
118118 let enterIntegers = {
119119 let $l = list
120120 let $s = size($l)
121121 let $acc0 = nil
122122 func $f0_1 ($a,$i) = if (($i >= $s))
123123 then $a
124124 else bal($a, $l[$i])
125125
126126 func $f0_2 ($a,$i) = if (($i >= $s))
127127 then $a
128128 else throw("List size exceeds 100")
129129
130130 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
131131 }
132132 (nil ++ enterIntegers)
133133 }
134134
135135
136136
137137 @Callable(i)
138138 func currentPosition () = {
139139 let addresses = dropRight(tryGetString(this, "Address registered"), 1)
140140 let list = split(addresses, ",")
141141 func dif (accum,address) = (accum ++ [IntegerEntry(("increase " + address), (wavesBalance(addressFromStringValue(address)).available - tryGetInteger(this, address)))])
142142
143143 let enterDif = {
144144 let $l = list
145145 let $s = size($l)
146146 let $acc0 = nil
147147 func $f0_1 ($a,$i) = if (($i >= $s))
148148 then $a
149149 else dif($a, $l[$i])
150150
151151 func $f0_2 ($a,$i) = if (($i >= $s))
152152 then $a
153153 else throw("List size exceeds 98")
154154
155155 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
156156 }
157157 (nil ++ enterDif)
158158 }
159159
160160
161161
162162 @Callable(i)
163163 func stop () = if ((i.caller != this))
164164 then throw("access only by project owner")
165165 else {
166166 let addresses = dropRight(tryGetString(this, "Address registered"), 1)
167167 let list = split(addresses, ",")
168168 func dif (accum,address) = (accum ++ [IntegerEntry(("stop " + address), (wavesBalance(addressFromStringValue(address)).available - tryGetInteger(this, address)))])
169169
170170 let enterDif = {
171171 let $l = list
172172 let $s = size($l)
173173 let $acc0 = nil
174174 func $f0_1 ($a,$i) = if (($i >= $s))
175175 then $a
176176 else dif($a, $l[$i])
177177
178178 func $f0_2 ($a,$i) = if (($i >= $s))
179179 then $a
180180 else throw("List size exceeds 98")
181181
182182 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
183183 }
184184 (nil ++ enterDif)
185185 }
186186
187187
188188
189189 @Callable(i)
190190 func winners () = if ((i.caller != this))
191191 then throw("access only by project owner")
192192 else {
193193 let filter = invoke(this, "filter", nil, nil)
194194 if ((filter == filter))
195195 then nil
196196 else throw("Strict value is not equal to itself.")
197197 }
198198
199199
200200
201201 @Callable(i)
202202 func filter () = if ((i.caller != this))
203203 then throw("access only by project owner")
204204 else {
205205 let addresses = dropRight(tryGetString(this, "Address registered"), 1)
206206 let list = split(addresses, ",")
207207 let listSize = size(list)
208208 let requirement = 1
209209 func fList (accum,address) = if ((requirement > tryGetInteger(this, ("stop " + address))))
210210 then nil
211211 else (accum :+ address)
212212
213213 let filterList = {
214214 let $l = list
215215 let $s = size($l)
216216 let $acc0 = nil
217217 func $f0_1 ($a,$i) = if (($i >= $s))
218218 then $a
219219 else fList($a, $l[$i])
220220
221221 func $f0_2 ($a,$i) = if (($i >= $s))
222222 then $a
223223 else throw("List size exceeds 98")
224224
225225 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
226226 }
227227 let filterListString = makeString(filterList, ",")
228228 let filterListSize = size(filterList)
229229 let cullSize = fraction(filterListSize, 80, 100, DOWN)
230230 [StringEntry("filter", filterListString), IntegerEntry("list size filterList", filterListSize), IntegerEntry("cullSize", cullSize)]
231231 }
232232
233233
234234
235235 @Callable(i)
236236 func remove () = if ((i.caller != this))
237237 then throw("access only by project owner")
238238 else if ((getIntegerValue("cullSize") >= getIntegerValue("list size filterList")))
239239 then nil
240240 else {
241241 let list = split(getStringValue("filter"), ",")
242242 func bal (accum,address) = (accum :+ tryGetInteger(this, ("stop " + address)))
243243
244244 let balList = {
245245 let $l = list
246246 let $s = size($l)
247247 let $acc0 = nil
248248 func $f0_1 ($a,$i) = if (($i >= $s))
249249 then $a
250250 else bal($a, $l[$i])
251251
252252 func $f0_2 ($a,$i) = if (($i >= $s))
253253 then $a
254254 else throw("List size exceeds 98")
255255
256256 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
257257 }
258258 let lowest = value(min(balList))
259259 let indexLowest = value(indexOf(balList, lowest))
260260 let minusLowestList = removeByIndex(list, indexLowest)
261261 let minusLowestListSize = size(minusLowestList)
262262 let minusLowestString = makeString(minusLowestList, ",")
263263 [IntegerEntry("list size filterList", minusLowestListSize), StringEntry("filter", minusLowestString)]
264264 }
265265
266266
267267
268268 @Callable(i)
269269 func transfer () = if ((i.caller != this))
270270 then throw("access only by project owner")
271271 else {
272272 let assetId = whirlpool
273273 let amount = (2 * d8)
274274 let addresses = dropRight(tryGetString(this, "winners"), 1)
275275 let list = split(addresses, ",")
276276 let amountPerAddress = (amount / size(list))
277277 func f (accum,address) = (accum ++ [ScriptTransfer(addressFromStringValue(address), amountPerAddress, assetId)])
278278
279279 let $l = list
280280 let $s = size($l)
281281 let $acc0 = nil
282282 func $f0_1 ($a,$i) = if (($i >= $s))
283283 then $a
284284 else f($a, $l[$i])
285285
286286 func $f0_2 ($a,$i) = if (($i >= $s))
287287 then $a
288288 else throw("List size exceeds 100")
289289
290290 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
291291 }
292292
293293
294+
295+@Callable(i)
296+func check () = [IntegerEntry("list size filterList", getIntegerValue("list size filterList")), StringEntry("filter", getStringValue("filter"))]
297+
298+

github/deemru/w8io/169f3d6 
120.83 ms