tx · 5xYJAVMQGF3cJCJnnyjXMPksEbjDqnsgf47eAcFk3iyA 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.02100000 Waves 2023.11.11 17:40 [2838822] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{ "type": 13, "id": "5xYJAVMQGF3cJCJnnyjXMPksEbjDqnsgf47eAcFk3iyA", "fee": 2100000, "feeAssetId": null, "timestamp": 1699713634021, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "64EtuMwKSXghwfhmpbqp7WGp5r2swerSYtS5H2uEAqATevcmgd5oer3qmQQaMFgP4TkGAd5hkYk2Hd6C3TnP3dKK" ], "script": "base64:BgIXCAISABIAEgASABIAEgASABIDCgEIEgAVAAJkOACAwtcvABJyZWdpc3RyYXRpb25DbG9zZWQAAQENdHJ5R2V0SW50ZWdlcgIHYWRkcmVzcwNrZXkEByRtYXRjaDAJAJoIAgUHYWRkcmVzcwUDa2V5AwkAAQIFByRtYXRjaDACA0ludAQBYgUHJG1hdGNoMAUBYgAAAQx0cnlHZXRTdHJpbmcCB2FkZHJlc3MDa2V5BAckbWF0Y2gwCQCdCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAWIFByRtYXRjaDAFAWICAAAHYnVybnh0bgEgJE91eWp+Mzm4+wz/hKlxXF7KLd4zoMRdafnqRBHsTFQACXdoaXJscG9vbAEgWeON3MK1I7pKFNzE0K8UCeZk5gS+JQYLJk7lUG2XWccAA1BaMQEaAVeFnSww1fwDPmHFrd6Sv8UqkfOZrhpBQAoAA1BaMgEaAVf1RmgngA1o304mdXq0odMoMeAJv/V5eTcAA1BaMwEaAVdrUh3hZ11iM5xE9ppvCu7VVcjaIPzs5scAA1BaNAEaAVd8ufIkLHkd+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BSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgkBBSRmMF8xAgUFJGFjYzAAAAABAAIAAwAEAAUABgAHAAgACQAKAAsADAANAA4ADwAQABEAEgATABQAFQAWABcAGAAZABoAGwAcAB0AHgAfACAAIQAiACMAJAAlACYAJwAoACkAKgArACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQA6ADsAPAA9AD4APwBAAEEAQgBDAEQARQBGAEcASABJAEoASwBMAE0ATgBPAFAAUQBSAFMAVABVAFYAVwBYAFkAWgBbAFwAXQBeAF8AYABhAGIAYwBkAKmpXFs=", "height": 2838822, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4FJHiUZJ8E5r9Xy7rChNNZn8jW2pHfsvqMFxWY5FuTCm Next: HKXLfZms4XpT7iP3CwdLVwfM12FMDhNmuSve4tyfDn2h Diff:
Old | New | Differences | |
---|---|---|---|
287 | 287 | ||
288 | 288 | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_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) | |
289 | 289 | } | |
290 | - | ( | |
290 | + | ([IntegerEntry("list size list 3", list3Size), StringEntry("firstOfList 3", list3[0]), StringEntry("lastOfList 3", list3[(list3Size - 1)]), IntegerEntry("cull size", cullSize), IntegerEntry("amount cull", amountCull), IntegerEntry("list size increaseList", size(increaseList)), IntegerEntry("list size winnerIncreases", size(winnerIncreases)), IntegerEntry("firstOfList 3", winnerIncreases[0]), IntegerEntry("lastOfList 3", winnerIncreases[(size(winnerIncreases) - 1)])] ++ enterWin) | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let d8 = 100000000 | |
5 | 5 | ||
6 | 6 | let registrationClosed = 1 | |
7 | 7 | ||
8 | 8 | func tryGetInteger (address,key) = match getInteger(address, key) { | |
9 | 9 | case b: Int => | |
10 | 10 | b | |
11 | 11 | case _ => | |
12 | 12 | 0 | |
13 | 13 | } | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func tryGetString (address,key) = match getString(address, key) { | |
17 | 17 | case b: String => | |
18 | 18 | b | |
19 | 19 | case _ => | |
20 | 20 | "" | |
21 | 21 | } | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | let burnxtn = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns' | |
25 | 25 | ||
26 | 26 | let whirlpool = base58'73tY3E6Gd5AWYmsuq8m8Kek7KnJNAYyS3GoveTbc6jCi' | |
27 | 27 | ||
28 | 28 | let PZ1 = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB' | |
29 | 29 | ||
30 | 30 | let PZ2 = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx' | |
31 | 31 | ||
32 | 32 | let PZ3 = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi' | |
33 | 33 | ||
34 | 34 | let PZ4 = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7' | |
35 | 35 | ||
36 | 36 | let PZ5 = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm' | |
37 | 37 | ||
38 | 38 | let PZ6 = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q' | |
39 | 39 | ||
40 | 40 | let WXstake = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV' | |
41 | 41 | ||
42 | 42 | let WX1 = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5' | |
43 | 43 | ||
44 | 44 | let LP1 = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n" | |
45 | 45 | ||
46 | 46 | let WX2 = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry' | |
47 | 47 | ||
48 | 48 | let LP2 = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z" | |
49 | 49 | ||
50 | 50 | func PZbal (Pooladdress,address) = { | |
51 | 51 | let burnxtnInPZ = tryGetInteger(Address(Pooladdress), (("global_" + toBase58String(burnxtn)) + "_balance")) | |
52 | 52 | let addressStakePZ = tryGetInteger(Address(Pooladdress), (toString(address) + "_indexStaked")) | |
53 | 53 | let totalStakePZ = tryGetInteger(Address(Pooladdress), "global_poolToken_amount") | |
54 | 54 | fraction(burnxtnInPZ, addressStakePZ, totalStakePZ) | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func WXbal (Pooladdress,address,LPstr) = { | |
59 | 59 | let burnxtnInWX = assetBalance(Address(Pooladdress), burnxtn) | |
60 | 60 | let addressStakeWX = tryGetInteger(Address(WXstake), ((("%s%s%s__staked__" + toString(address)) + "__") + LPstr)) | |
61 | 61 | let totalStakeWX = tryGetInteger(Address(WXstake), ("%s%s%s__staked__total__" + LPstr)) | |
62 | 62 | fraction(burnxtnInWX, addressStakeWX, totalStakeWX) | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func totalBalance (address) = { | |
67 | 67 | let burnxtnBalance = assetBalance(address, burnxtn) | |
68 | 68 | let PZ1balance = PZbal(PZ1, address) | |
69 | 69 | let PZ2balance = PZbal(PZ2, address) | |
70 | 70 | let PZ3balance = PZbal(PZ3, address) | |
71 | 71 | let PZ4balance = PZbal(PZ4, address) | |
72 | 72 | let PZ5balance = PZbal(PZ5, address) | |
73 | 73 | let PZ6balance = PZbal(PZ6, address) | |
74 | 74 | let WX1balance = WXbal(WX1, address, LP1) | |
75 | 75 | let WX2balance = WXbal(WX2, address, LP2) | |
76 | 76 | let total = ((((((((burnxtnBalance + PZ1balance) + PZ2balance) + PZ3balance) + PZ4balance) + PZ5balance) + PZ6balance) + WX1balance) + WX2balance) | |
77 | 77 | [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)] | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func totalBalance2 (address) = { | |
82 | 82 | let burnxtnBalance = assetBalance(address, burnxtn) | |
83 | 83 | let PZ1balance = PZbal(PZ1, address) | |
84 | 84 | let PZ2balance = PZbal(PZ2, address) | |
85 | 85 | let PZ3balance = PZbal(PZ3, address) | |
86 | 86 | let PZ4balance = PZbal(PZ4, address) | |
87 | 87 | let PZ5balance = PZbal(PZ5, address) | |
88 | 88 | let PZ6balance = PZbal(PZ6, address) | |
89 | 89 | let WX1balance = WXbal(WX1, address, LP1) | |
90 | 90 | let WX2balance = WXbal(WX2, address, LP2) | |
91 | 91 | ((((((((burnxtnBalance + PZ1balance) + PZ2balance) + PZ3balance) + PZ4balance) + PZ5balance) + PZ6balance) + WX1balance) + WX2balance) | |
92 | 92 | } | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | @Callable(i) | |
96 | 96 | func register () = if (contains(tryGetString(this, "Address registered"), toString(i.caller))) | |
97 | 97 | then throw("already registered") | |
98 | 98 | else if ((height > registrationClosed)) | |
99 | 99 | then throw("registration closed") | |
100 | 100 | else if ((tryGetInteger(this, "Amount Registered") == 99)) | |
101 | 101 | then throw("registration closed") | |
102 | 102 | 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)) + ","))] | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | ||
106 | 106 | @Callable(i) | |
107 | 107 | func start () = if ((i.caller != this)) | |
108 | 108 | then throw("access only by project owner") | |
109 | 109 | else { | |
110 | 110 | let addresses = dropRight(tryGetString(this, "Address registered"), 1) | |
111 | 111 | let list = split(addresses, ",") | |
112 | 112 | let listSize = size(list) | |
113 | 113 | let requirement = (1 * d8) | |
114 | 114 | func bal (accum,address) = if ((requirement > wavesBalance(addressFromStringValue(address)).available)) | |
115 | 115 | then nil | |
116 | 116 | else (accum ++ [IntegerEntry(address, wavesBalance(addressFromStringValue(address)).available)]) | |
117 | 117 | ||
118 | 118 | let enterIntegers = { | |
119 | 119 | let $l = list | |
120 | 120 | let $s = size($l) | |
121 | 121 | let $acc0 = nil | |
122 | 122 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
123 | 123 | then $a | |
124 | 124 | else bal($a, $l[$i]) | |
125 | 125 | ||
126 | 126 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
127 | 127 | then $a | |
128 | 128 | else throw("List size exceeds 100") | |
129 | 129 | ||
130 | 130 | $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) | |
131 | 131 | } | |
132 | 132 | func eli (accum,address) = if ((requirement > wavesBalance(addressFromStringValue(address)).available)) | |
133 | 133 | then nil | |
134 | 134 | else (accum + (address + ",")) | |
135 | 135 | ||
136 | 136 | let eligible = { | |
137 | 137 | let $l = list | |
138 | 138 | let $s = size($l) | |
139 | 139 | let $acc0 = "" | |
140 | 140 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
141 | 141 | then $a | |
142 | 142 | else eli($a, $l[$i]) | |
143 | 143 | ||
144 | 144 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
145 | 145 | then $a | |
146 | 146 | else throw("List size exceeds 98") | |
147 | 147 | ||
148 | 148 | $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) | |
149 | 149 | } | |
150 | 150 | ([StringEntry("eligible", eligible)] ++ enterIntegers) | |
151 | 151 | } | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | ||
155 | 155 | @Callable(i) | |
156 | 156 | func difference () = { | |
157 | 157 | let addresses = dropRight(tryGetString(this, "eligible"), 1) | |
158 | 158 | let list = split(addresses, ",") | |
159 | 159 | func dif (accum,address) = (accum ++ [IntegerEntry(("difference " + address), (wavesBalance(addressFromStringValue(address)).available - tryGetInteger(this, address)))]) | |
160 | 160 | ||
161 | 161 | let enterDif = { | |
162 | 162 | let $l = list | |
163 | 163 | let $s = size($l) | |
164 | 164 | let $acc0 = nil | |
165 | 165 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
166 | 166 | then $a | |
167 | 167 | else dif($a, $l[$i]) | |
168 | 168 | ||
169 | 169 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
170 | 170 | then $a | |
171 | 171 | else throw("List size exceeds 98") | |
172 | 172 | ||
173 | 173 | $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) | |
174 | 174 | } | |
175 | 175 | (nil ++ enterDif) | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | ||
180 | 180 | @Callable(i) | |
181 | 181 | func stop () = if ((i.caller != this)) | |
182 | 182 | then throw("access only by project owner") | |
183 | 183 | else { | |
184 | 184 | let addresses = dropRight(tryGetString(this, "eligible"), 1) | |
185 | 185 | let list = split(addresses, ",") | |
186 | 186 | func dif (accum,address) = (accum ++ [IntegerEntry(("stop " + address), (wavesBalance(addressFromStringValue(address)).available - tryGetInteger(this, address)))]) | |
187 | 187 | ||
188 | 188 | let enterDif = { | |
189 | 189 | let $l = list | |
190 | 190 | let $s = size($l) | |
191 | 191 | let $acc0 = nil | |
192 | 192 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
193 | 193 | then $a | |
194 | 194 | else dif($a, $l[$i]) | |
195 | 195 | ||
196 | 196 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
197 | 197 | then $a | |
198 | 198 | else throw("List size exceeds 98") | |
199 | 199 | ||
200 | 200 | $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) | |
201 | 201 | } | |
202 | 202 | (nil ++ enterDif) | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | ||
207 | 207 | @Callable(i) | |
208 | 208 | func winners () = if ((i.caller != this)) | |
209 | 209 | then throw("access only by project owner") | |
210 | 210 | else { | |
211 | 211 | let addresses = dropRight(tryGetString(this, "Address registered"), 1) | |
212 | 212 | let list = split(addresses, ",") | |
213 | 213 | let listSize = size(list) | |
214 | 214 | let addresses2 = dropRight(tryGetString(this, "eligible"), 1) | |
215 | 215 | let list2 = split(addresses, ",") | |
216 | 216 | func eli2 (accum,address) = if ((1 > (tryGetInteger(this, ("stop " + address)) - tryGetInteger(this, address)))) | |
217 | 217 | then nil | |
218 | 218 | else (accum + (address + ",")) | |
219 | 219 | ||
220 | 220 | let eligible2 = { | |
221 | 221 | let $l = list2 | |
222 | 222 | let $s = size($l) | |
223 | 223 | let $acc0 = "" | |
224 | 224 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
225 | 225 | then $a | |
226 | 226 | else eli2($a, $l[$i]) | |
227 | 227 | ||
228 | 228 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
229 | 229 | then $a | |
230 | 230 | else throw("List size exceeds 98") | |
231 | 231 | ||
232 | 232 | $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) | |
233 | 233 | } | |
234 | 234 | let list3addresses = dropRight(eligible2, 1) | |
235 | 235 | let list3 = split(list3addresses, ",") | |
236 | 236 | let list3Size = size(list3) | |
237 | 237 | let cullSize = fraction(list3Size, 80, 100, DOWN) | |
238 | 238 | let amountCull = (list3Size - cullSize) | |
239 | 239 | func eli3 (accum,address) = (accum :+ (tryGetInteger(this, ("stop " + address)) - tryGetInteger(this, address))) | |
240 | 240 | ||
241 | 241 | let increaseList = { | |
242 | 242 | let $l = list3 | |
243 | 243 | let $s = size($l) | |
244 | 244 | let $acc0 = nil | |
245 | 245 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
246 | 246 | then $a | |
247 | 247 | else eli3($a, $l[$i]) | |
248 | 248 | ||
249 | 249 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
250 | 250 | then $a | |
251 | 251 | else throw("List size exceeds 98") | |
252 | 252 | ||
253 | 253 | $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) | |
254 | 254 | } | |
255 | 255 | func eli4 (accum,balance) = if ((cullSize >= size(accum))) | |
256 | 256 | then nil | |
257 | 257 | else removeByIndex(accum, value(indexOf(accum, value(min(accum))))) | |
258 | 258 | ||
259 | 259 | let winnerIncreases = { | |
260 | 260 | let $l = increaseList | |
261 | 261 | let $s = size($l) | |
262 | 262 | let $acc0 = increaseList | |
263 | 263 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
264 | 264 | then $a | |
265 | 265 | else eli4($a, $l[$i]) | |
266 | 266 | ||
267 | 267 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
268 | 268 | then $a | |
269 | 269 | else throw("List size exceeds 98") | |
270 | 270 | ||
271 | 271 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_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) | |
272 | 272 | } | |
273 | 273 | let winners = ["frtfrtfrtftf122"] | |
274 | 274 | func win (accum,address) = (accum ++ [IntegerEntry(("difference " + address), (tryGetInteger(this, ("stop " + address)) - tryGetInteger(this, address)))]) | |
275 | 275 | ||
276 | 276 | let enterWin = { | |
277 | 277 | let $l = winners | |
278 | 278 | let $s = size($l) | |
279 | 279 | let $acc0 = nil | |
280 | 280 | func $f3_1 ($a,$i) = if (($i >= $s)) | |
281 | 281 | then $a | |
282 | 282 | else win($a, $l[$i]) | |
283 | 283 | ||
284 | 284 | func $f3_2 ($a,$i) = if (($i >= $s)) | |
285 | 285 | then $a | |
286 | 286 | else throw("List size exceeds 80") | |
287 | 287 | ||
288 | 288 | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_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) | |
289 | 289 | } | |
290 | - | ( | |
290 | + | ([IntegerEntry("list size list 3", list3Size), StringEntry("firstOfList 3", list3[0]), StringEntry("lastOfList 3", list3[(list3Size - 1)]), IntegerEntry("cull size", cullSize), IntegerEntry("amount cull", amountCull), IntegerEntry("list size increaseList", size(increaseList)), IntegerEntry("list size winnerIncreases", size(winnerIncreases)), IntegerEntry("firstOfList 3", winnerIncreases[0]), IntegerEntry("lastOfList 3", winnerIncreases[(size(winnerIncreases) - 1)])] ++ enterWin) | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | ||
295 | 295 | @Callable(i) | |
296 | 296 | func startNext () = if ((i.caller != this)) | |
297 | 297 | then throw("access only by project owner") | |
298 | 298 | else { | |
299 | 299 | let addresses = dropRight(tryGetString(this, "winners"), 1) | |
300 | 300 | let list = split(addresses, ",") | |
301 | 301 | func nextBal (accum,address) = (accum ++ [IntegerEntry(address, wavesBalance(addressFromStringValue(address)).available)]) | |
302 | 302 | ||
303 | 303 | let enterNextBal = { | |
304 | 304 | let $l = list | |
305 | 305 | let $s = size($l) | |
306 | 306 | let $acc0 = nil | |
307 | 307 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
308 | 308 | then $a | |
309 | 309 | else nextBal($a, $l[$i]) | |
310 | 310 | ||
311 | 311 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
312 | 312 | then $a | |
313 | 313 | else throw("List size exceeds 100") | |
314 | 314 | ||
315 | 315 | $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) | |
316 | 316 | } | |
317 | 317 | func n (accum,address) = (accum + (address + ",")) | |
318 | 318 | ||
319 | 319 | let next = { | |
320 | 320 | let $l = list | |
321 | 321 | let $s = size($l) | |
322 | 322 | let $acc0 = "" | |
323 | 323 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
324 | 324 | then $a | |
325 | 325 | else n($a, $l[$i]) | |
326 | 326 | ||
327 | 327 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
328 | 328 | then $a | |
329 | 329 | else throw("List size exceeds 100") | |
330 | 330 | ||
331 | 331 | $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($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), 99), 100) | |
332 | 332 | } | |
333 | 333 | ([StringEntry("next round", next)] ++ enterNextBal) | |
334 | 334 | } | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | ||
338 | 338 | @Callable(i) | |
339 | 339 | func totalBalanceCaller () = if ((i.caller != this)) | |
340 | 340 | then throw("access only by project owner") | |
341 | 341 | else (nil ++ totalBalance(i.caller)) | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | ||
345 | 345 | @Callable(i) | |
346 | 346 | func totalBalanceAddress (address) = if ((i.caller != this)) | |
347 | 347 | then throw("access only by project owner") | |
348 | 348 | else (nil ++ totalBalance(value(addressFromString(address)))) | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | ||
352 | 352 | @Callable(i) | |
353 | 353 | func transfer () = if ((i.caller != this)) | |
354 | 354 | then throw("access only by project owner") | |
355 | 355 | else { | |
356 | 356 | let assetId = whirlpool | |
357 | 357 | let amount = (2 * d8) | |
358 | 358 | let addresses = dropRight(tryGetString(this, "winners"), 1) | |
359 | 359 | let list = split(addresses, ",") | |
360 | 360 | let amountPerAddress = (amount / size(list)) | |
361 | 361 | func f (accum,address) = (accum ++ [ScriptTransfer(addressFromStringValue(address), amountPerAddress, assetId)]) | |
362 | 362 | ||
363 | 363 | let $l = list | |
364 | 364 | let $s = size($l) | |
365 | 365 | let $acc0 = nil | |
366 | 366 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
367 | 367 | then $a | |
368 | 368 | else f($a, $l[$i]) | |
369 | 369 | ||
370 | 370 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
371 | 371 | then $a | |
372 | 372 | else throw("List size exceeds 100") | |
373 | 373 | ||
374 | 374 | $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) | |
375 | 375 | } | |
376 | 376 | ||
377 | 377 |
github/deemru/w8io/026f985 76.78 ms ◑