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
226226 }
227227 let filterListSize = size(filterList)
228228 let cullSize = fraction(filterListSize, 80, 100, DOWN)
229- func fAddress (accum,address) = if ((requirement > tryGetInteger(this, ("stop " + address))))
230- then nil
231- else (accum + (address + ","))
229+ let filterListString = makeString(filterList, ",")
230+[StringEntry("Filter", filterListString), IntegerEntry("list size filterList", filterListSize), IntegerEntry("cullSize", cullSize)]
231+ }
232232
233- let filter = {
234- let $l = list
235- let $s = size($l)
236- let $acc0 = ""
237- func $f1_1 ($a,$i) = if (($i >= $s))
238- then $a
239- else fAddress($a, $l[$i])
240233
241- func $f1_2 ($a,$i) = if (($i >= $s))
242- then $a
243- else throw("List size exceeds 98")
244234
245- $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_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)
246- }
247-[StringEntry("Filter", filter), IntegerEntry("list size filterList", filterListSize), IntegerEntry("cullSize", cullSize)]
248- }
235+@Callable(i)
236+func fAddress (address) = if ((i.caller != this))
237+ then throw("access only by project owner")
238+ else [StringEntry("Filter address", ((tryGetString(this, "Filter address") + address) + ","))]
249239
250240
251241
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 filterListSize = size(filterList)
228228 let cullSize = fraction(filterListSize, 80, 100, DOWN)
229- func fAddress (accum,address) = if ((requirement > tryGetInteger(this, ("stop " + address))))
230- then nil
231- else (accum + (address + ","))
229+ let filterListString = makeString(filterList, ",")
230+[StringEntry("Filter", filterListString), IntegerEntry("list size filterList", filterListSize), IntegerEntry("cullSize", cullSize)]
231+ }
232232
233- let filter = {
234- let $l = list
235- let $s = size($l)
236- let $acc0 = ""
237- func $f1_1 ($a,$i) = if (($i >= $s))
238- then $a
239- else fAddress($a, $l[$i])
240233
241- func $f1_2 ($a,$i) = if (($i >= $s))
242- then $a
243- else throw("List size exceeds 98")
244234
245- $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_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)
246- }
247-[StringEntry("Filter", filter), IntegerEntry("list size filterList", filterListSize), IntegerEntry("cullSize", cullSize)]
248- }
235+@Callable(i)
236+func fAddress (address) = if ((i.caller != this))
237+ then throw("access only by project owner")
238+ else [StringEntry("Filter address", ((tryGetString(this, "Filter address") + address) + ","))]
249239
250240
251241
252242 @Callable(i)
253243 func remove () = if ((i.caller != this))
254244 then throw("access only by project owner")
255245 else nil
256246
257247
258248
259249 @Callable(i)
260250 func transfer () = if ((i.caller != this))
261251 then throw("access only by project owner")
262252 else {
263253 let assetId = whirlpool
264254 let amount = (2 * d8)
265255 let addresses = dropRight(tryGetString(this, "winners"), 1)
266256 let list = split(addresses, ",")
267257 let amountPerAddress = (amount / size(list))
268258 func f (accum,address) = (accum ++ [ScriptTransfer(addressFromStringValue(address), amountPerAddress, assetId)])
269259
270260 let $l = list
271261 let $s = size($l)
272262 let $acc0 = nil
273263 func $f0_1 ($a,$i) = if (($i >= $s))
274264 then $a
275265 else f($a, $l[$i])
276266
277267 func $f0_2 ($a,$i) = if (($i >= $s))
278268 then $a
279269 else throw("List size exceeds 100")
280270
281271 $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)
282272 }
283273
284274

github/deemru/w8io/169f3d6 
66.80 ms