tx · CVJguzQiCnYoF5CXahyS4GS1UhEgH9YN3Qs9untTDiaT 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.01000000 Waves 2023.11.10 17:30 [2837369] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{ "type": 13, "id": "CVJguzQiCnYoF5CXahyS4GS1UhEgH9YN3Qs9untTDiaT", "fee": 1000000, "feeAssetId": null, "timestamp": 1699626627673, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "3BRVfJTfKhcBLbGbBJU1EaiTriLzLuPpiwPeWMauQ3fR9DhjxHyoLvP8GMWhsDqCvTURXAz6FD5fQxoHuxg9irjP" ], "script": "base64:BgIUCAISABIAEgASABIDCgEIEgMKARgSAAJkOACAwtcvAQ10cnlHZXRJbnRlZ2VyAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAmggCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDHRyeUdldFN0cmluZwIHYWRkcmVzcwNrZXkEByRtYXRjaDAJAJ0IAgUHYWRkcmVzcwUDa2V5AwkAAQIFByRtYXRjaDACBlN0cmluZwQBYgUHJG1hdGNoMAUBYgIAAAdidXJueHRuASAkT3V5an4zObj7DP+EqXFcXsot3jOgxF1p+epEEexMVAADUFoxARoBV4WdLDDV/AM+YcWt3pK/xSqR85muGkFACgADUFoyARoBV/VGaCeADWjfTiZ1erSh0ygx4Am/9Xl5NwADUFozARoBV2tSHeFnXWIznET2mm8K7tVVyNog/OzmxwADUFo0ARoBV3y58iQseR35wgthXaflS34+Zvgx2eQg4gADUFo1ARoBV3MzW4tWeScsR41xkPYsILP5P0KX/ZxF0gADUFo2ARoBV0cdZvqwlGFolgcyrrZA46H/c85PJthHugAHV1hz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AxADIAMwA0ADUANgA3ADgAOQA6ADsAPAA9AD4APwBAAEEAQgBDAEQARQBGAEcASABJAEoASwBMAE0ATgBPAFAAUQBSAFMAVABVAFYAVwBYAFkAWgBbAFwAXQBeAF8AYABhAGIAYwBkACwYfh0=", "height": 2837369, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AALpvpGky4mBaNXZmAUnDq7otXuYbVCazTxBD9yGuido Next: CYZC3nMwdu7meGzFUpfVV2wPDPdKY7fDC2j9bkhipm5X Diff:
Old | New | Differences | |
---|---|---|---|
94 | 94 | let P = dropRight(g(this, "Address registered"), 1) | |
95 | 95 | let Q = split(P, ",") | |
96 | 96 | let R = size(Q) | |
97 | - | func S (T,c) = if (((1 * a) > wavesBalance(addressFromStringValue(c)).available)) | |
97 | + | let S = (1 * a) | |
98 | + | func T (U,c) = if ((S > wavesBalance(addressFromStringValue(c)).available)) | |
98 | 99 | then nil | |
99 | - | else ( | |
100 | + | else (U ++ [IntegerEntry(c, wavesBalance(addressFromStringValue(c)).available)]) | |
100 | 101 | ||
101 | - | let | |
102 | - | let | |
103 | - | let | |
104 | - | let | |
105 | - | func | |
106 | - | then | |
107 | - | else | |
102 | + | let V = { | |
103 | + | let W = Q | |
104 | + | let X = size(W) | |
105 | + | let Y = nil | |
106 | + | func Z (aa,ab) = if ((ab >= X)) | |
107 | + | then aa | |
108 | + | else T(aa, W[ab]) | |
108 | 109 | ||
109 | - | func | |
110 | - | then | |
110 | + | func ac (aa,ab) = if ((ab >= X)) | |
111 | + | then aa | |
111 | 112 | else throw("List size exceeds 100") | |
112 | 113 | ||
113 | - | | |
114 | + | ac(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Y, 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) | |
114 | 115 | } | |
115 | - | func | |
116 | + | func ad (U,c) = if ((S > wavesBalance(addressFromStringValue(c)).available)) | |
116 | 117 | then nil | |
117 | - | else ( | |
118 | + | else (U + (c + ",")) | |
118 | 119 | ||
119 | - | let | |
120 | - | let | |
121 | - | let | |
122 | - | let | |
123 | - | func | |
124 | - | then | |
125 | - | else | |
120 | + | let ae = { | |
121 | + | let W = Q | |
122 | + | let X = size(W) | |
123 | + | let Y = "" | |
124 | + | func af (aa,ab) = if ((ab >= X)) | |
125 | + | then aa | |
126 | + | else ad(aa, W[ab]) | |
126 | 127 | ||
127 | - | func | |
128 | - | then | |
128 | + | func ag (aa,ab) = if ((ab >= X)) | |
129 | + | then aa | |
129 | 130 | else throw("List size exceeds 100") | |
130 | 131 | ||
131 | - | af( | |
132 | + | ag(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(Y, 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) | |
132 | 133 | } | |
133 | - | (( | |
134 | + | ([StringEntry("eligible", ae)] ++ V) | |
134 | 135 | } | |
135 | 136 | ||
136 | 137 | ||
140 | 141 | let P = dropRight(g(this, "Addresses Eligible"), 1) | |
141 | 142 | let Q = split(P, ",") | |
142 | 143 | let R = size(Q) | |
143 | - | let | |
144 | - | let | |
145 | - | func | |
144 | + | let ah = Q[0] | |
145 | + | let ai = Q[(R - 1)] | |
146 | + | func aj (U,c) = (U ++ [IntegerEntry(("difference " + c), (wavesBalance(addressFromStringValue(c)).available - b(this, c)))]) | |
146 | 147 | ||
147 | - | let | |
148 | - | let | |
149 | - | let | |
150 | - | let | |
151 | - | func | |
152 | - | then | |
153 | - | else | |
148 | + | let ak = { | |
149 | + | let W = Q | |
150 | + | let X = size(W) | |
151 | + | let Y = nil | |
152 | + | func Z (aa,ab) = if ((ab >= X)) | |
153 | + | then aa | |
154 | + | else aj(aa, W[ab]) | |
154 | 155 | ||
155 | - | func | |
156 | - | then | |
156 | + | func ac (aa,ab) = if ((ab >= X)) | |
157 | + | then aa | |
157 | 158 | else throw("List size exceeds 100") | |
158 | 159 | ||
159 | - | | |
160 | + | ac(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Y, 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) | |
160 | 161 | } | |
161 | - | ([IntegerEntry("listSize", R), StringEntry("firstOfList", | |
162 | + | ([IntegerEntry("listSize", R), StringEntry("firstOfList", ah), StringEntry("lastOfList", ai)] ++ ak) | |
162 | 163 | } | |
163 | 164 | ||
164 | 165 | ||
175 | 176 | ||
176 | 177 | @Callable(O) | |
177 | 178 | func transfer (P) = { | |
178 | - | let | |
179 | - | let | |
180 | - | let | |
181 | - | func | |
179 | + | let al = O.payments[0].assetId | |
180 | + | let am = O.payments[0].amount | |
181 | + | let an = (am / size(P)) | |
182 | + | func ao (U,c) = (U ++ [ScriptTransfer(addressFromStringValue(c), an, al)]) | |
182 | 183 | ||
183 | - | let | |
184 | - | let | |
185 | - | let | |
186 | - | func | |
187 | - | then | |
188 | - | else | |
184 | + | let W = P | |
185 | + | let X = size(W) | |
186 | + | let Y = nil | |
187 | + | func Z (aa,ab) = if ((ab >= X)) | |
188 | + | then aa | |
189 | + | else ao(aa, W[ab]) | |
189 | 190 | ||
190 | - | func | |
191 | - | then | |
191 | + | func ac (aa,ab) = if ((ab >= X)) | |
192 | + | then aa | |
192 | 193 | else throw("List size exceeds 100") | |
193 | 194 | ||
194 | - | | |
195 | + | ac(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Y, 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) | |
195 | 196 | } | |
196 | 197 | ||
197 | 198 |
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 | func b (c,d) = { | |
7 | 7 | let e = getInteger(c, d) | |
8 | 8 | if ($isInstanceOf(e, "Int")) | |
9 | 9 | then { | |
10 | 10 | let f = e | |
11 | 11 | f | |
12 | 12 | } | |
13 | 13 | else 0 | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 | ||
17 | 17 | func g (c,d) = { | |
18 | 18 | let e = getString(c, d) | |
19 | 19 | if ($isInstanceOf(e, "String")) | |
20 | 20 | then { | |
21 | 21 | let f = e | |
22 | 22 | f | |
23 | 23 | } | |
24 | 24 | else "" | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | let h = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns' | |
29 | 29 | ||
30 | 30 | let i = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB' | |
31 | 31 | ||
32 | 32 | let j = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx' | |
33 | 33 | ||
34 | 34 | let k = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi' | |
35 | 35 | ||
36 | 36 | let l = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7' | |
37 | 37 | ||
38 | 38 | let m = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm' | |
39 | 39 | ||
40 | 40 | let n = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q' | |
41 | 41 | ||
42 | 42 | let o = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV' | |
43 | 43 | ||
44 | 44 | let p = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5' | |
45 | 45 | ||
46 | 46 | let q = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n" | |
47 | 47 | ||
48 | 48 | let r = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry' | |
49 | 49 | ||
50 | 50 | let s = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z" | |
51 | 51 | ||
52 | 52 | func t (u,c) = { | |
53 | 53 | let v = b(Address(u), (("global_" + toBase58String(h)) + "_balance")) | |
54 | 54 | let w = b(Address(u), (toString(c) + "_indexStaked")) | |
55 | 55 | let x = b(Address(u), "global_poolToken_amount") | |
56 | 56 | fraction(v, w, x) | |
57 | 57 | } | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func y (u,c,z) = { | |
61 | 61 | let A = assetBalance(Address(u), h) | |
62 | 62 | let B = b(Address(o), ((("%s%s%s__staked__" + toString(c)) + "__") + z)) | |
63 | 63 | let C = b(Address(o), ("%s%s%s__staked__total__" + z)) | |
64 | 64 | fraction(A, B, C) | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func D (c) = { | |
69 | 69 | let E = assetBalance(c, h) | |
70 | 70 | let F = t(i, c) | |
71 | 71 | let G = t(j, c) | |
72 | 72 | let H = t(k, c) | |
73 | 73 | let I = t(l, c) | |
74 | 74 | let J = t(m, c) | |
75 | 75 | let K = t(n, c) | |
76 | 76 | let L = y(p, c, q) | |
77 | 77 | let M = y(r, c, s) | |
78 | 78 | let N = ((((((((E + F) + G) + H) + I) + J) + K) + L) + M) | |
79 | 79 | [IntegerEntry("burnxtnBalance", E), IntegerEntry("PZ1balance", F), IntegerEntry("PZ2balance", G), IntegerEntry("PZ3balance", H), IntegerEntry("PZ4balance", I), IntegerEntry("PZ5balance", J), IntegerEntry("PZ6balance", K), IntegerEntry("WX1balance", L), IntegerEntry("WX2balance", M), IntegerEntry("total", N)] | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | @Callable(O) | |
84 | 84 | func register () = if (contains(g(this, "Address registered"), toString(O.caller))) | |
85 | 85 | then throw("already registered") | |
86 | 86 | else if ((height > 1)) | |
87 | 87 | then throw("registration closed") | |
88 | 88 | else [IntegerEntry("Amount Registered", (b(this, "Amount Registered") + 1)), StringEntry(("Register address: " + toString((b(this, "Amount Registered") + 1))), toString(O.caller)), StringEntry("Address registered", ((g(this, "Address registered") + toString(O.caller)) + ","))] | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | ||
92 | 92 | @Callable(O) | |
93 | 93 | func makeList () = { | |
94 | 94 | let P = dropRight(g(this, "Address registered"), 1) | |
95 | 95 | let Q = split(P, ",") | |
96 | 96 | let R = size(Q) | |
97 | - | func S (T,c) = if (((1 * a) > wavesBalance(addressFromStringValue(c)).available)) | |
97 | + | let S = (1 * a) | |
98 | + | func T (U,c) = if ((S > wavesBalance(addressFromStringValue(c)).available)) | |
98 | 99 | then nil | |
99 | - | else ( | |
100 | + | else (U ++ [IntegerEntry(c, wavesBalance(addressFromStringValue(c)).available)]) | |
100 | 101 | ||
101 | - | let | |
102 | - | let | |
103 | - | let | |
104 | - | let | |
105 | - | func | |
106 | - | then | |
107 | - | else | |
102 | + | let V = { | |
103 | + | let W = Q | |
104 | + | let X = size(W) | |
105 | + | let Y = nil | |
106 | + | func Z (aa,ab) = if ((ab >= X)) | |
107 | + | then aa | |
108 | + | else T(aa, W[ab]) | |
108 | 109 | ||
109 | - | func | |
110 | - | then | |
110 | + | func ac (aa,ab) = if ((ab >= X)) | |
111 | + | then aa | |
111 | 112 | else throw("List size exceeds 100") | |
112 | 113 | ||
113 | - | | |
114 | + | ac(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Y, 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) | |
114 | 115 | } | |
115 | - | func | |
116 | + | func ad (U,c) = if ((S > wavesBalance(addressFromStringValue(c)).available)) | |
116 | 117 | then nil | |
117 | - | else ( | |
118 | + | else (U + (c + ",")) | |
118 | 119 | ||
119 | - | let | |
120 | - | let | |
121 | - | let | |
122 | - | let | |
123 | - | func | |
124 | - | then | |
125 | - | else | |
120 | + | let ae = { | |
121 | + | let W = Q | |
122 | + | let X = size(W) | |
123 | + | let Y = "" | |
124 | + | func af (aa,ab) = if ((ab >= X)) | |
125 | + | then aa | |
126 | + | else ad(aa, W[ab]) | |
126 | 127 | ||
127 | - | func | |
128 | - | then | |
128 | + | func ag (aa,ab) = if ((ab >= X)) | |
129 | + | then aa | |
129 | 130 | else throw("List size exceeds 100") | |
130 | 131 | ||
131 | - | af( | |
132 | + | ag(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(af(Y, 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) | |
132 | 133 | } | |
133 | - | (( | |
134 | + | ([StringEntry("eligible", ae)] ++ V) | |
134 | 135 | } | |
135 | 136 | ||
136 | 137 | ||
137 | 138 | ||
138 | 139 | @Callable(O) | |
139 | 140 | func difference () = { | |
140 | 141 | let P = dropRight(g(this, "Addresses Eligible"), 1) | |
141 | 142 | let Q = split(P, ",") | |
142 | 143 | let R = size(Q) | |
143 | - | let | |
144 | - | let | |
145 | - | func | |
144 | + | let ah = Q[0] | |
145 | + | let ai = Q[(R - 1)] | |
146 | + | func aj (U,c) = (U ++ [IntegerEntry(("difference " + c), (wavesBalance(addressFromStringValue(c)).available - b(this, c)))]) | |
146 | 147 | ||
147 | - | let | |
148 | - | let | |
149 | - | let | |
150 | - | let | |
151 | - | func | |
152 | - | then | |
153 | - | else | |
148 | + | let ak = { | |
149 | + | let W = Q | |
150 | + | let X = size(W) | |
151 | + | let Y = nil | |
152 | + | func Z (aa,ab) = if ((ab >= X)) | |
153 | + | then aa | |
154 | + | else aj(aa, W[ab]) | |
154 | 155 | ||
155 | - | func | |
156 | - | then | |
156 | + | func ac (aa,ab) = if ((ab >= X)) | |
157 | + | then aa | |
157 | 158 | else throw("List size exceeds 100") | |
158 | 159 | ||
159 | - | | |
160 | + | ac(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Y, 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) | |
160 | 161 | } | |
161 | - | ([IntegerEntry("listSize", R), StringEntry("firstOfList", | |
162 | + | ([IntegerEntry("listSize", R), StringEntry("firstOfList", ah), StringEntry("lastOfList", ai)] ++ ak) | |
162 | 163 | } | |
163 | 164 | ||
164 | 165 | ||
165 | 166 | ||
166 | 167 | @Callable(O) | |
167 | 168 | func totalBalanceCaller () = (nil ++ D(O.caller)) | |
168 | 169 | ||
169 | 170 | ||
170 | 171 | ||
171 | 172 | @Callable(O) | |
172 | 173 | func totalBalanceAddress (c) = (nil ++ D(value(addressFromString(c)))) | |
173 | 174 | ||
174 | 175 | ||
175 | 176 | ||
176 | 177 | @Callable(O) | |
177 | 178 | func transfer (P) = { | |
178 | - | let | |
179 | - | let | |
180 | - | let | |
181 | - | func | |
179 | + | let al = O.payments[0].assetId | |
180 | + | let am = O.payments[0].amount | |
181 | + | let an = (am / size(P)) | |
182 | + | func ao (U,c) = (U ++ [ScriptTransfer(addressFromStringValue(c), an, al)]) | |
182 | 183 | ||
183 | - | let | |
184 | - | let | |
185 | - | let | |
186 | - | func | |
187 | - | then | |
188 | - | else | |
184 | + | let W = P | |
185 | + | let X = size(W) | |
186 | + | let Y = nil | |
187 | + | func Z (aa,ab) = if ((ab >= X)) | |
188 | + | then aa | |
189 | + | else ao(aa, W[ab]) | |
189 | 190 | ||
190 | - | func | |
191 | - | then | |
191 | + | func ac (aa,ab) = if ((ab >= X)) | |
192 | + | then aa | |
192 | 193 | else throw("List size exceeds 100") | |
193 | 194 | ||
194 | - | | |
195 | + | ac(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Y, 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) | |
195 | 196 | } | |
196 | 197 | ||
197 | 198 |
github/deemru/w8io/169f3d6 210.75 ms ◑