tx · 9geSeobvSjdTMtjczoKTUS2UWBcNiv6GjXEqDY5HPqq6 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph: -0.01400000 Waves 2022.01.14 16:34 [1878678] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves
{ "type": 13, "id": "9geSeobvSjdTMtjczoKTUS2UWBcNiv6GjXEqDY5HPqq6", "fee": 1400000, "feeAssetId": null, "timestamp": 1642167279725, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "43rUKxfHnYv7TPchfk4UF39Zm7BBLv438kvtyYp97GyDNxcdDDu2mj2n7amX3ikYPMqHTzYd3jQ1F8TmqnTxUQcz", "3atqrwSqsDEHNXJQc8gaGEtPAzSGMxFfhXnmhiwZsFBYCW4cywsLjYCvc1jfJd8YFA7Ghq5LybcwGpjG8K3oNnfx", "LNcA7vqCfv9Zc346WVeNn5vg4XZgcDfkgqZXrH9WRj6n9Z1GCPsHVBW87y9AZhaB6SUzGZhd18qXXE1U9MGwy8m" ], "script": "base64:AAIFAAAAAAAAB58IAhIGCgQYGBgREgMKARgSBgoECAgBARIAEgMKAQgSAwoBCBIECgIYFBoMCgFBEgdhc3NldElkGhUKAUISEGRBcHBTdGFrZWRUb2tlbnMaFAoBQxIPYXNzZXRJZFF1YW50aXR5GgoKAUQSBWFzc2V0GhkKAUUSFHRyYW5zZmVyVG9Vc2VyQW1vdW50GgYKAUYSAWkaCgoBRxIFcG9vbHMaFAoBSBIPbGlxdWlkaXR5VG9rZW5zGhIKAUkSDXNlcnZpY2VUb2tlbnMaGwoBShIWbGlxdWlkaXR5VG9rZW5EZWNpbWFscxoVCgFLEhBnZW5lcmF0ZVBvb2xLZXlzGhAKAUwSC2FjY3VtdWxhdGVkGiMKAU0SHmdlbmVyYXRlUG9vbExpcXV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ZXMJAAGRAAAAAggFAAAAAmFOAAAABnByb29mcwAAAAAAAAAAAAUAAAABZwYJAAH0AAAAAwgFAAAAAmFOAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYU4AAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACYU4AAAAPc2VuZGVyUHVibGljS2V5AwMFAAAAAmFRBgUAAAACYVUFAAAAAmFWBwQAAAACYVcDCQAB9AAAAAMIBQAAAAJhTgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmFOAAAABnByb29mcwAAAAAAAAAAAAUAAAABZAAAAAAAAAAAAQAAAAAAAAAAAAQAAAACYVgDCQAB9AAAAAMIBQAAAAJhTgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmFOAAAABnByb29mcwAAAAAAAAAAAQUAAAABZQAAAAAAAAAAAQAAAAAAAAAAAAQAAAACYVkDCQAB9AAAAAMIBQAAAAJhTgAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAmFOAAAABnByb29mcwAAAAAAAAAAAgUAAAABZgAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAACYVcFAAAAAmFYBQAAAAJhWQAAAAAAAAAAAiocu7E=", "height": 1878678, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B7GaSXMisByH2ddWTBw2WVwS6So1ExeHYWVfGU9Pscub Next: 8Wt8G9Y4s7vAsviL4koNi23THBRxGVaCoFQLc7cAHubF Diff:
Old | New | Differences | |
---|---|---|---|
93 | 93 | } | |
94 | 94 | else throw("Can't find asset") | |
95 | 95 | } | |
96 | - | let E = fraction(z, C, B) | |
97 | - | if ((E == 0)) | |
96 | + | if ((B == 0)) | |
98 | 97 | then z | |
99 | - | else E | |
98 | + | else { | |
99 | + | let E = fraction(z, C, B) | |
100 | + | E | |
101 | + | } | |
100 | 102 | } | |
101 | 103 | ||
102 | 104 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1000 | |
5 | 5 | ||
6 | 6 | let b = 10000 | |
7 | 7 | ||
8 | 8 | let c = 10000 | |
9 | 9 | ||
10 | 10 | let d = base58'68Po1k24uP6goKr7RDmXPg4QkMiKuyTMEirao14rif8s' | |
11 | 11 | ||
12 | 12 | let e = base58'Bze4aurT9WmLgBT6swA9CajaZFtUwhtwCri6XGAjnAkt' | |
13 | 13 | ||
14 | 14 | let f = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC' | |
15 | 15 | ||
16 | 16 | let g = base58'ALsqwPqiUP3bVbM7grozc1Y5oHVBAGKqACRJ5J8RXceC' | |
17 | 17 | ||
18 | 18 | let h = Address(base58'3N7ExjwfofPYTvNBv2zqtAtLcMxqjTxS7iL') | |
19 | 19 | ||
20 | 20 | let i = Address(base58'3NBTuZhn2CwAgWGL99qpGDjZQ4Wtbg56iDL') | |
21 | 21 | ||
22 | 22 | let j = ["3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1", "3PKy2mZqnvT2EtpwDim9Mgs6YvCRe4s85nX", "3P27S9V36kw2McjWRZ37AxTx8iwkd7HXw6W"] | |
23 | 23 | ||
24 | 24 | let k = ["replenishWithTwoTokens", "exchange"] | |
25 | 25 | ||
26 | 26 | func l (m) = { | |
27 | 27 | let n = (m + "_active") | |
28 | 28 | let o = { | |
29 | 29 | let p = getBoolean(this, n) | |
30 | 30 | if ($isInstanceOf(p, "Boolean")) | |
31 | 31 | then { | |
32 | 32 | let q = p | |
33 | 33 | q | |
34 | 34 | } | |
35 | 35 | else throw("Pool is not active!") | |
36 | 36 | } | |
37 | 37 | o | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func r (m) = { | |
42 | 42 | let p = getString((m + "_service_token")) | |
43 | 43 | if ($isInstanceOf(p, "String")) | |
44 | 44 | then { | |
45 | 45 | let s = p | |
46 | 46 | s | |
47 | 47 | } | |
48 | 48 | else { | |
49 | 49 | let t = p | |
50 | 50 | throw("You try to deposit on unsupported pool") | |
51 | 51 | } | |
52 | 52 | } | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func u (m) = { | |
56 | 56 | let p = getString((m + "_liquidity_token")) | |
57 | 57 | if ($isInstanceOf(p, "String")) | |
58 | 58 | then { | |
59 | 59 | let s = p | |
60 | 60 | s | |
61 | 61 | } | |
62 | 62 | else { | |
63 | 63 | let t = p | |
64 | 64 | throw("You try to withdraw from unsupported pool") | |
65 | 65 | } | |
66 | 66 | } | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func v (w) = { | |
70 | 70 | let p = getInteger(i, (((w + "_") + toString(this)) + "_share_tokens_locked")) | |
71 | 71 | if ($isInstanceOf(p, "Int")) | |
72 | 72 | then { | |
73 | 73 | let x = p | |
74 | 74 | x | |
75 | 75 | } | |
76 | 76 | else if ($isInstanceOf(p, "Unit")) | |
77 | 77 | then { | |
78 | 78 | let t = p | |
79 | 79 | 0 | |
80 | 80 | } | |
81 | 81 | else throw("Match error") | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func y (z,A,w) = { | |
86 | 86 | let B = v(w) | |
87 | 87 | let C = { | |
88 | 88 | let p = assetInfo(A) | |
89 | 89 | if ($isInstanceOf(p, "Asset")) | |
90 | 90 | then { | |
91 | 91 | let D = p | |
92 | 92 | D.quantity | |
93 | 93 | } | |
94 | 94 | else throw("Can't find asset") | |
95 | 95 | } | |
96 | - | let E = fraction(z, C, B) | |
97 | - | if ((E == 0)) | |
96 | + | if ((B == 0)) | |
98 | 97 | then z | |
99 | - | else E | |
98 | + | else { | |
99 | + | let E = fraction(z, C, B) | |
100 | + | E | |
101 | + | } | |
100 | 102 | } | |
101 | 103 | ||
102 | 104 | ||
103 | 105 | @Callable(F) | |
104 | 106 | func addPools (G,H,I,J) = if (containsElement([d, e, f], F.callerPublicKey)) | |
105 | 107 | then { | |
106 | 108 | func K (L,m) = IntegerEntry((m + "_asset_balance"), 0) :: L | |
107 | 109 | ||
108 | 110 | func M (L,m) = { | |
109 | 111 | let N = value(indexOf(G, m)) | |
110 | 112 | let O = H[N] | |
111 | 113 | StringEntry((m + "_liquidity_token"), O) :: L | |
112 | 114 | } | |
113 | 115 | ||
114 | 116 | func P (L,m) = { | |
115 | 117 | let N = value(indexOf(G, m)) | |
116 | 118 | let O = I[N] | |
117 | 119 | StringEntry((m + "_service_token"), O) :: L | |
118 | 120 | } | |
119 | 121 | ||
120 | 122 | func Q (L,m) = { | |
121 | 123 | let N = value(indexOf(G, m)) | |
122 | 124 | let O = J[N] | |
123 | 125 | IntegerEntry((m + "_service_token_decimal"), O) :: L | |
124 | 126 | } | |
125 | 127 | ||
126 | 128 | func R (L,m) = BooleanEntry((m + "_active"), true) :: L | |
127 | 129 | ||
128 | 130 | let S = { | |
129 | 131 | let T = G | |
130 | 132 | let U = size(T) | |
131 | 133 | let V = nil | |
132 | 134 | func W (X,Y) = if ((Y >= U)) | |
133 | 135 | then X | |
134 | 136 | else K(X, T[Y]) | |
135 | 137 | ||
136 | 138 | func Z (X,Y) = if ((Y >= U)) | |
137 | 139 | then X | |
138 | 140 | else throw("List size exceeds 20") | |
139 | 141 | ||
140 | 142 | Z(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(V, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
141 | 143 | } | |
142 | 144 | let aa = { | |
143 | 145 | let T = G | |
144 | 146 | let U = size(T) | |
145 | 147 | let V = nil | |
146 | 148 | func ab (X,Y) = if ((Y >= U)) | |
147 | 149 | then X | |
148 | 150 | else M(X, T[Y]) | |
149 | 151 | ||
150 | 152 | func ac (X,Y) = if ((Y >= U)) | |
151 | 153 | then X | |
152 | 154 | else throw("List size exceeds 20") | |
153 | 155 | ||
154 | 156 | ac(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(ab(V, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
155 | 157 | } | |
156 | 158 | let ad = { | |
157 | 159 | let T = G | |
158 | 160 | let U = size(T) | |
159 | 161 | let V = nil | |
160 | 162 | func ae (X,Y) = if ((Y >= U)) | |
161 | 163 | then X | |
162 | 164 | else P(X, T[Y]) | |
163 | 165 | ||
164 | 166 | func af (X,Y) = if ((Y >= U)) | |
165 | 167 | then X | |
166 | 168 | else throw("List size exceeds 20") | |
167 | 169 | ||
168 | 170 | af(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(V, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
169 | 171 | } | |
170 | 172 | let ag = { | |
171 | 173 | let T = G | |
172 | 174 | let U = size(T) | |
173 | 175 | let V = nil | |
174 | 176 | func ah (X,Y) = if ((Y >= U)) | |
175 | 177 | then X | |
176 | 178 | else Q(X, T[Y]) | |
177 | 179 | ||
178 | 180 | func ai (X,Y) = if ((Y >= U)) | |
179 | 181 | then X | |
180 | 182 | else throw("List size exceeds 20") | |
181 | 183 | ||
182 | 184 | ai(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(ah(V, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
183 | 185 | } | |
184 | 186 | let aj = { | |
185 | 187 | let T = G | |
186 | 188 | let U = size(T) | |
187 | 189 | let V = nil | |
188 | 190 | func ak (X,Y) = if ((Y >= U)) | |
189 | 191 | then X | |
190 | 192 | else R(X, T[Y]) | |
191 | 193 | ||
192 | 194 | func al (X,Y) = if ((Y >= U)) | |
193 | 195 | then X | |
194 | 196 | else throw("List size exceeds 20") | |
195 | 197 | ||
196 | 198 | al(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(ak(V, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
197 | 199 | } | |
198 | 200 | ((((S ++ aa) ++ ad) ++ ag) ++ aj) | |
199 | 201 | } | |
200 | 202 | else throw("Only admin can call this function") | |
201 | 203 | ||
202 | 204 | ||
203 | 205 | ||
204 | 206 | @Callable(F) | |
205 | 207 | func deleteDepositLockRecords (am) = if (containsElement([d, e, f], F.callerPublicKey)) | |
206 | 208 | then { | |
207 | 209 | func an (L,ao) = DeleteEntry((ao + "_locked")) :: L | |
208 | 210 | ||
209 | 211 | let ap = { | |
210 | 212 | let T = am | |
211 | 213 | let U = size(T) | |
212 | 214 | let V = nil | |
213 | 215 | func W (X,Y) = if ((Y >= U)) | |
214 | 216 | then X | |
215 | 217 | else an(X, T[Y]) | |
216 | 218 | ||
217 | 219 | func Z (X,Y) = if ((Y >= U)) | |
218 | 220 | then X | |
219 | 221 | else throw("List size exceeds 100") | |
220 | 222 | ||
221 | 223 | Z(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(V, 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) | |
222 | 224 | } | |
223 | 225 | ap | |
224 | 226 | } | |
225 | 227 | else throw("Only admin can call this function") | |
226 | 228 | ||
227 | 229 | ||
228 | 230 | ||
229 | 231 | @Callable(F) | |
230 | 232 | func issueToken (aq,ar,as,at) = if (containsElement([d, e, f], F.callerPublicKey)) | |
231 | 233 | then [Issue(aq, ar, as, at, true, unit, 0)] | |
232 | 234 | else throw("Only admin can call this function") | |
233 | 235 | ||
234 | 236 | ||
235 | 237 | ||
236 | 238 | @Callable(au) | |
237 | 239 | func call () = [DeleteEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_3N5viYFhnu1ew4FRZ9nujme9edr918FkT1a_current_reward")] | |
238 | 240 | ||
239 | 241 | ||
240 | 242 | ||
241 | 243 | @Callable(F) | |
242 | 244 | func deposit (m) = if ((size(F.payments) != 1)) | |
243 | 245 | then throw("One attached payment expected") | |
244 | 246 | else { | |
245 | 247 | let z = F.payments[0].amount | |
246 | 248 | let A = F.payments[0].assetId | |
247 | 249 | let av = { | |
248 | 250 | let p = A | |
249 | 251 | if ($isInstanceOf(p, "ByteVector")) | |
250 | 252 | then { | |
251 | 253 | let aw = p | |
252 | 254 | toBase58String(aw) | |
253 | 255 | } | |
254 | 256 | else throw("Match error") | |
255 | 257 | } | |
256 | 258 | if ((0 >= z)) | |
257 | 259 | then throw(("Deposit amount must be positive. Actual: " + toString(z))) | |
258 | 260 | else { | |
259 | 261 | let ax = (m + "_asset_balance") | |
260 | 262 | let ay = toString(F.caller) | |
261 | 263 | let az = (((m + "_") + ay) + "_asset_balance") | |
262 | 264 | let aA = r(m) | |
263 | 265 | let aB = { | |
264 | 266 | let p = getString((m + "_liquidity_token")) | |
265 | 267 | if ($isInstanceOf(p, "String")) | |
266 | 268 | then { | |
267 | 269 | let s = p | |
268 | 270 | s | |
269 | 271 | } | |
270 | 272 | else { | |
271 | 273 | let t = p | |
272 | 274 | throw("You try to deposit on unsupported pool") | |
273 | 275 | } | |
274 | 276 | } | |
275 | 277 | if (l(m)) | |
276 | 278 | then { | |
277 | 279 | let aC = { | |
278 | 280 | let p = assetInfo(fromBase58String(aB)) | |
279 | 281 | if ($isInstanceOf(p, "Asset")) | |
280 | 282 | then { | |
281 | 283 | let D = p | |
282 | 284 | D.decimals | |
283 | 285 | } | |
284 | 286 | else throw("Can't find asset") | |
285 | 287 | } | |
286 | 288 | if ((aB != av)) | |
287 | 289 | then throw("You attached wrong liquidity token from Swop.fi") | |
288 | 290 | else { | |
289 | 291 | let aD = getIntegerValue(this, ax) | |
290 | 292 | let aE = { | |
291 | 293 | let p = getInteger(az) | |
292 | 294 | if ($isInstanceOf(p, "Int")) | |
293 | 295 | then { | |
294 | 296 | let aF = p | |
295 | 297 | aF | |
296 | 298 | } | |
297 | 299 | else { | |
298 | 300 | let t = p | |
299 | 301 | 0 | |
300 | 302 | } | |
301 | 303 | } | |
302 | 304 | let aG = ((z - fraction(z, 1, a, HALFUP)) - fraction(z, 1, b, HALFUP)) | |
303 | 305 | let E = y(aG, fromBase58String(aA), m) | |
304 | 306 | let aH = (z - aG) | |
305 | 307 | let aI = ((aD + z) - aH) | |
306 | 308 | let aJ = (aE + E) | |
307 | 309 | let aK = (((((m + "_") + ay) + "_") + toBase58String(F.transactionId)) + "_locked") | |
308 | 310 | [Reissue(fromBase58String(aA), E, true), ScriptTransfer(F.caller, E, fromBase58String(aA)), ScriptTransfer(h, aH, fromBase58String(aB)), IntegerEntry(aK, aG), IntegerEntry(ax, aI), IntegerEntry(az, aJ)] | |
309 | 311 | } | |
310 | 312 | } | |
311 | 313 | else throw("Pool is not active!") | |
312 | 314 | } | |
313 | 315 | } | |
314 | 316 | ||
315 | 317 | ||
316 | 318 | ||
317 | 319 | @Callable(F) | |
318 | 320 | func withdraw (m) = if ((size(F.payments) != 1)) | |
319 | 321 | then throw("One attached payment expected") | |
320 | 322 | else { | |
321 | 323 | let z = F.payments[0].amount | |
322 | 324 | let A = F.payments[0].assetId | |
323 | 325 | let av = { | |
324 | 326 | let p = A | |
325 | 327 | if ($isInstanceOf(p, "ByteVector")) | |
326 | 328 | then { | |
327 | 329 | let aw = p | |
328 | 330 | toBase58String(aw) | |
329 | 331 | } | |
330 | 332 | else throw("Match error") | |
331 | 333 | } | |
332 | 334 | if ((0 >= z)) | |
333 | 335 | then throw(("Deposit amount must be positive. Actual: " + toString(z))) | |
334 | 336 | else if (l(m)) | |
335 | 337 | then { | |
336 | 338 | let ax = (m + "_asset_balance") | |
337 | 339 | let ay = toString(F.caller) | |
338 | 340 | let az = (((m + "_") + ay) + "_asset_balance") | |
339 | 341 | let aE = { | |
340 | 342 | let p = getInteger(az) | |
341 | 343 | if ($isInstanceOf(p, "Int")) | |
342 | 344 | then { | |
343 | 345 | let aF = p | |
344 | 346 | aF | |
345 | 347 | } | |
346 | 348 | else { | |
347 | 349 | let t = p | |
348 | 350 | 0 | |
349 | 351 | } | |
350 | 352 | } | |
351 | 353 | let aA = r(m) | |
352 | 354 | let aB = u(m) | |
353 | 355 | let aD = getIntegerValue(this, ax) | |
354 | 356 | let aG = ((z - fraction(z, 1, c, HALFUP)) - fraction(z, 1, b, HALFUP)) | |
355 | 357 | let E = y(aG, fromBase58String(av), m) | |
356 | 358 | let aI = (aD - aG) | |
357 | 359 | let aH = (z - aG) | |
358 | 360 | let aJ = (aE - z) | |
359 | 361 | [Burn(fromBase58String(aA), E), ScriptTransfer(F.caller, E, fromBase58String(aB)), ScriptTransfer(h, aH, fromBase58String(aB)), IntegerEntry(ax, aI), IntegerEntry(az, aJ)] | |
360 | 362 | } | |
361 | 363 | else throw("Pool is not active!") | |
362 | 364 | } | |
363 | 365 | ||
364 | 366 | ||
365 | 367 | ||
366 | 368 | @Callable(F) | |
367 | 369 | func poolActivating (G,aL) = if (containsElement([d, e, f], F.callerPublicKey)) | |
368 | 370 | then { | |
369 | 371 | func R (L,m) = { | |
370 | 372 | let N = value(indexOf(G, m)) | |
371 | 373 | let aM = aL[N] | |
372 | 374 | BooleanEntry((m + "_active"), aM) :: L | |
373 | 375 | } | |
374 | 376 | ||
375 | 377 | let aj = { | |
376 | 378 | let T = G | |
377 | 379 | let U = size(T) | |
378 | 380 | let V = nil | |
379 | 381 | func W (X,Y) = if ((Y >= U)) | |
380 | 382 | then X | |
381 | 383 | else R(X, T[Y]) | |
382 | 384 | ||
383 | 385 | func Z (X,Y) = if ((Y >= U)) | |
384 | 386 | then X | |
385 | 387 | else throw("List size exceeds 100") | |
386 | 388 | ||
387 | 389 | Z(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(W(V, 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) | |
388 | 390 | } | |
389 | 391 | aj | |
390 | 392 | } | |
391 | 393 | else throw("Only admin can call this function") | |
392 | 394 | ||
393 | 395 | ||
394 | 396 | @Verifier(aN) | |
395 | 397 | func aO () = { | |
396 | 398 | let p = aN | |
397 | 399 | if ($isInstanceOf(p, "InvokeScriptTransaction")) | |
398 | 400 | then { | |
399 | 401 | let aP = p | |
400 | 402 | let aQ = if ((aP.dApp == i)) | |
401 | 403 | then if (if ((aP.function == "lockShareTokens")) | |
402 | 404 | then true | |
403 | 405 | else (aP.function == "claim")) | |
404 | 406 | then true | |
405 | 407 | else (aP.function == "withdrawShareTokens") | |
406 | 408 | else false | |
407 | 409 | let aR = { | |
408 | 410 | let aS = aP.dApp | |
409 | 411 | if ($isInstanceOf(aS, "Address")) | |
410 | 412 | then { | |
411 | 413 | let aT = aS | |
412 | 414 | toString(aT) | |
413 | 415 | } | |
414 | 416 | else throw("Transaction must have only address") | |
415 | 417 | } | |
416 | 418 | let aU = if (containsElement(j, aR)) | |
417 | 419 | then containsElement(k, aP.function) | |
418 | 420 | else false | |
419 | 421 | let aV = if (if (if (sigVerify(aN.bodyBytes, aN.proofs[0], d)) | |
420 | 422 | then true | |
421 | 423 | else sigVerify(aN.bodyBytes, aN.proofs[0], e)) | |
422 | 424 | then true | |
423 | 425 | else sigVerify(aN.bodyBytes, aN.proofs[0], g)) | |
424 | 426 | then true | |
425 | 427 | else sigVerify(aN.bodyBytes, aN.proofs[0], aN.senderPublicKey) | |
426 | 428 | if (if (aQ) | |
427 | 429 | then true | |
428 | 430 | else aU) | |
429 | 431 | then aV | |
430 | 432 | else false | |
431 | 433 | } | |
432 | 434 | else { | |
433 | 435 | let aW = if (sigVerify(aN.bodyBytes, aN.proofs[0], d)) | |
434 | 436 | then 1 | |
435 | 437 | else 0 | |
436 | 438 | let aX = if (sigVerify(aN.bodyBytes, aN.proofs[1], e)) | |
437 | 439 | then 1 | |
438 | 440 | else 0 | |
439 | 441 | let aY = if (sigVerify(aN.bodyBytes, aN.proofs[2], f)) | |
440 | 442 | then 1 | |
441 | 443 | else 0 | |
442 | 444 | (((aW + aX) + aY) >= 2) | |
443 | 445 | } | |
444 | 446 | } | |
445 | 447 |
github/deemru/w8io/026f985 70.15 ms ◑