tx · 5gjE9o6FnrFEo6bsXxawmuDz94iYCht6sncTik7dSjYj 3MqGtuaL3yJbKHqUxnSihJmYroyPf6QDp1x: -0.04200000 Waves 2023.07.11 18:45 [2661440] smart account 3MqGtuaL3yJbKHqUxnSihJmYroyPf6QDp1x > SELF 0.00000000 Waves
{ "type": 13, "id": "5gjE9o6FnrFEo6bsXxawmuDz94iYCht6sncTik7dSjYj", "fee": 4200000, "feeAssetId": null, "timestamp": 1689090318864, "version": 2, "chainId": 84, "sender": "3MqGtuaL3yJbKHqUxnSihJmYroyPf6QDp1x", "senderPublicKey": "HNMWjb4Vq8JwETf7kHV57gaKXLvsdCS5KPTaHKa4XKa6", "proofs": [ "2piCCSZX54UUfExTFWWUa8zV6t2fhXnexjfazdBtXWVmRHEWWng9hfXuKwDB45dLa4FEG7vAckYhXUrqq8GPFoXS" ], "script": "base64:BgKSOAgCEgASBQoDAQQBEgcKBQEEAQgBEgQKAgEEEgMKAQESBAoCAQQSBAoCCAESBAoCCAESBAoCCAESBQoDAQgBEgASBAoCAQESAwoBARIFCgMBAQESBAoCCAgSABIAEgMKAQgSBQoDAQEBEgQKAgEBEgQKAggBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEIEgASAwoBARIDCgEBEgQKAggBIgpsUGRlY2ltYWxzIgZzY2FsZTgiDHNjYWxlOEJpZ0ludCIHc2NhbGUxOCIKemVyb0JpZ0ludCIEYmlnMCIEYmlnMSIEYmlnMiILd2F2ZXNTdHJpbmciA1NFUCIKUG9vbEFjdGl2ZSIPUG9vbFB1dERpc2FibGVkIhNQb29sTWF0Y2hlckRpc2FibGVkIgxQb29sU2h1dGRvd24iDmlkeFBvb2xBZGRyZXNzIg1pZHhQb29sU3RhdHVzIhBpZHhQb29sTFBBc3NldElkIg1pZHhBbXRBc3NldElkIg9pZHhQcmljZUFzc2V0SWQiDmlkeEFtdEFzc2V0RGNtIhBpZHhQcmljZUFzc2V0RGNtIg5pZHhJQW10QXNzZXRJZCIQaWR4SVBy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UCZEEJAMwIAgkApAMBBQJkQwkAzAgCCQCkAwEFAmR6CQDMCAIJAKYDAQUCZEYJAMwIAgkApAMBBQJkeQUDbmlsBQFqAQJpaQECaWoABAJpawQCYVEJAQJnbgADCQABAgUCYVECCkJ5dGVWZWN0b3IEAmdxBQJhUQUCZ3EDCQABAgUCYVECBFVuaXQIBQJpaQ9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgQCYVEFAmlpAwkAAQIFAmFRAgVPcmRlcgQCZVEFAmFRBAJpbAkBAmJqAAQCaW0DCQECZU0ACQCUCgIGAgAJAQJlUAEFAmVRBAJhSwgFAmltAl8xBAJhTAgFAmltAl8yBAJhTQkA9AMDCAUCZVEJYm9keUJ5dGVzCQCRAwIIBQJlUQZwcm9vZnMAAAgFAmVRD3NlbmRlclB1YmxpY0tleQQCYU4JAPQDAwgFAmVRCWJvZHlCeXRlcwkAkQMCCAUCZVEGcHJvb2ZzAAEFAmlsAwMDBQJhSwUCYU0HBQJhTgcGCQECYUoEBQJhSwUCYUwFAmFNBQJhTgMJAAECBQJhUQIUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAmFWBQJhUQMJAPQDAwgFAmlpCWJvZHlCeXRlcwkAkQMCCAUCaWkGcHJvb2ZzAAAFAmlrBgQCaW4JAPYDAQkBBXZhbHVlAQgFAmFWBnNjcmlwdAQCaW8JANsEAQkBBXZhbHVlAQkAnQgCBQJiZAkBAmFGAAQCaXAJAPEHAQUEdGhpcwMJAAACBQJpbwUCaW4JAQIhPQIFAmlwBQJpbgcJAPQDAwgFAmlpCWJvZHlCeXRlcwkAkQMCCAUCaWkGcHJvb2ZzAAAFAmlr8gh5ow==", "height": 2661440, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9CpTDLHiiJzzVNVg1eXgSdwuEFEciAJ8rCkbHAAhJWZc Next: GbXs2Bxns1yaBAvwjhZi62Du9CWe9ewhmHeZDBJ7uyVA Diff:
Old | New | Differences | |
---|---|---|---|
728 | 728 | let fg = value(fb.payments[1]) | |
729 | 729 | let fh = dN(toBase58String(fb.transactionId), dO, ff.amount, ff.assetId, fg.amount, fg.assetId, toString(fb.caller), false, dU) | |
730 | 730 | let dy = parseIntValue(fh._8) | |
731 | - | if (if (if ( | |
731 | + | if (if (if (bi()) | |
732 | 732 | then true | |
733 | 733 | else (dy == l)) | |
734 | - | then true | |
735 | - | else (dy == m)) | |
736 | 734 | then true | |
737 | 735 | else (dy == n)) | |
738 | 736 | then throw(("Put operation is blocked by admin. Status = " + toString(dy))) | |
1133 | 1131 | then bg | |
1134 | 1132 | else throw(($getType(bg) + " couldn't be cast to Boolean")) | |
1135 | 1133 | } | |
1136 | - | let hb = if (if (if ( | |
1134 | + | let hb = if (if (if (bi()) | |
1137 | 1135 | then true | |
1138 | 1136 | else (bv == l)) | |
1139 | - | then true | |
1140 | - | else (bv == m)) | |
1141 | 1137 | then true | |
1142 | 1138 | else (bv == n)) | |
1143 | 1139 | then true |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = toBigInt(100000000) | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = toBigInt(0) | |
13 | 13 | ||
14 | 14 | let f = toBigInt(0) | |
15 | 15 | ||
16 | 16 | let g = toBigInt(1) | |
17 | 17 | ||
18 | 18 | let h = toBigInt(2) | |
19 | 19 | ||
20 | 20 | let i = "WAVES" | |
21 | 21 | ||
22 | 22 | let j = "__" | |
23 | 23 | ||
24 | 24 | let k = 1 | |
25 | 25 | ||
26 | 26 | let l = 2 | |
27 | 27 | ||
28 | 28 | let m = 3 | |
29 | 29 | ||
30 | 30 | let n = 4 | |
31 | 31 | ||
32 | 32 | let o = 1 | |
33 | 33 | ||
34 | 34 | let p = 2 | |
35 | 35 | ||
36 | 36 | let q = 3 | |
37 | 37 | ||
38 | 38 | let r = 4 | |
39 | 39 | ||
40 | 40 | let s = 5 | |
41 | 41 | ||
42 | 42 | let t = 6 | |
43 | 43 | ||
44 | 44 | let u = 7 | |
45 | 45 | ||
46 | 46 | let v = 8 | |
47 | 47 | ||
48 | 48 | let w = 9 | |
49 | 49 | ||
50 | 50 | let x = 10 | |
51 | 51 | ||
52 | 52 | let y = 1 | |
53 | 53 | ||
54 | 54 | let z = 2 | |
55 | 55 | ||
56 | 56 | let A = 3 | |
57 | 57 | ||
58 | 58 | let B = 1 | |
59 | 59 | ||
60 | 60 | let C = 7 | |
61 | 61 | ||
62 | 62 | func D (E,F) = fraction(toBigInt(E), d, toBigInt(F)) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func G (E,F) = fraction(E, d, F) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func H (I,J) = toInt(fraction(I, toBigInt(J), d)) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func K (I,J,L) = toInt(fraction(I, toBigInt(J), d, L)) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func M (N,O,P) = fraction(N, O, P) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func Q (I) = if ((0 > I)) | |
78 | 78 | then -(I) | |
79 | 79 | else I | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func R (I) = if ((e > I)) | |
83 | 83 | then -(I) | |
84 | 84 | else I | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func S () = "%s__swapContract" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func T () = "%s__factoryContract" | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func U () = "%s__managerPublicKey" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func V () = "%s__managerVaultAddress" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func W () = "%s%s__price__last" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func X (Y,Z) = makeString(["%s%s%d%d__price__history", toString(Y), toString(Z)], j) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func aa (ab,ac) = ((("%s%s%s__P__" + ab) + "__") + ac) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func ad (ab,ac) = ((("%s%s%s__G__" + ab) + "__") + ac) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func ae () = "%s__amountAsset" | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func af () = "%s__priceAsset" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | let ag = "%s__fee" | |
118 | 118 | ||
119 | 119 | let ah = fraction(10, b, 10000) | |
120 | 120 | ||
121 | 121 | let ai = valueOrElse(getInteger(this, ag), ah) | |
122 | 122 | ||
123 | 123 | let aj = makeString(["%s", "kLp"], j) | |
124 | 124 | ||
125 | 125 | let ak = makeString(["%s", "kLpRefreshedHeight"], j) | |
126 | 126 | ||
127 | 127 | let al = makeString(["%s", "refreshKLpDelay"], j) | |
128 | 128 | ||
129 | 129 | let am = 30 | |
130 | 130 | ||
131 | 131 | let an = valueOrElse(getInteger(this, al), am) | |
132 | 132 | ||
133 | 133 | func ao (ap) = makeString(["%s%s", "stakedBalance", ap], j) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func aq (ap) = makeString(["%s%s", "shareAssetBalance", ap], j) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func ar (ap) = valueOrElse(getInteger(this, ao(ap)), 0) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func as (ap) = valueOrElse(getInteger(this, aq(ap)), 0) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func at () = "%s__factoryConfig" | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func au () = "%s%s__matcher__publicKey" | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func av (aw) = (("%s%s%s__" + aw) + "__mappings__poolContract2LpAsset") | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func ax (ay,az) = (((("%d%d%s__" + ay) + "__") + az) + "__config") | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func aA (aB) = ("%s%s%s__mappings__baseAsset2internalId__" + aB) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func aC () = "%s__shutdown" | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func aD (aE) = ("%s%s__poolWeight__" + aE) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func aF () = "%s__allowedLpScriptHash" | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | let aG = "%s__feeCollectorAddress" | |
170 | 170 | ||
171 | 171 | func aH (aI) = ("%s%s__skipOrderValidation__" + aI) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func aJ (aK,aL,aM,aN) = throw((((((((("order validation failed: orderValid=" + toString(aK)) + " (") + aL) + ")") + " senderValid=") + toString(aM)) + " matcherValid=") + toString(aN))) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aO (aP) = { | |
178 | 178 | let aQ = addressFromString(aP) | |
179 | 179 | if ($isInstanceOf(aQ, "Address")) | |
180 | 180 | then { | |
181 | 181 | let aR = aQ | |
182 | 182 | aR | |
183 | 183 | } | |
184 | 184 | else this | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func aS () = { | |
189 | 189 | let aT = { | |
190 | 190 | let aQ = getString(T()) | |
191 | 191 | if ($isInstanceOf(aQ, "String")) | |
192 | 192 | then { | |
193 | 193 | let aU = aQ | |
194 | 194 | aO(aU) | |
195 | 195 | } | |
196 | 196 | else this | |
197 | 197 | } | |
198 | 198 | let aQ = getString(aT, V()) | |
199 | 199 | if ($isInstanceOf(aQ, "String")) | |
200 | 200 | then { | |
201 | 201 | let aV = aQ | |
202 | 202 | aO(aV) | |
203 | 203 | } | |
204 | 204 | else this | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func aW (aX,aY) = valueOrErrorMessage(getString(aX, aY), makeString(["mandatory ", toString(aX), ".", aY, " is not defined"], "")) | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aZ (aX,aY) = valueOrErrorMessage(getInteger(aX, aY), makeString(["mandatory ", toString(aX), ".", aY, " is not defined"], "")) | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func ba (bb) = throw(makeString(["lp.ride:", bb], " ")) | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func bc (bb) = makeString(["lp.ride:", bb], " ") | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | let bd = addressFromStringValue(aW(this, T())) | |
221 | 221 | ||
222 | 222 | let be = addressFromStringValue(aW(bd, aG)) | |
223 | 223 | ||
224 | 224 | let bf = { | |
225 | 225 | let bg = invoke(bd, "getInFeeREADONLY", [toString(this)], nil) | |
226 | 226 | if ($isInstanceOf(bg, "Int")) | |
227 | 227 | then bg | |
228 | 228 | else throw(($getType(bg) + " couldn't be cast to Int")) | |
229 | 229 | } | |
230 | 230 | ||
231 | 231 | let bh = { | |
232 | 232 | let bg = invoke(bd, "getOutFeeREADONLY", [toString(this)], nil) | |
233 | 233 | if ($isInstanceOf(bg, "Int")) | |
234 | 234 | then bg | |
235 | 235 | else throw(($getType(bg) + " couldn't be cast to Int")) | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | func bi () = valueOrElse(getBoolean(bd, aC()), false) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func bj () = fromBase58String(aW(bd, au())) | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | func bk () = { | |
245 | 245 | let bl = aW(this, ae()) | |
246 | 246 | let bm = aW(this, af()) | |
247 | 247 | let az = aZ(bd, aA(bm)) | |
248 | 248 | let ay = aZ(bd, aA(bl)) | |
249 | 249 | split(aW(bd, ax(toString(ay), toString(az))), j) | |
250 | 250 | } | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | func bn (bo) = if ((bo == i)) | |
254 | 254 | then unit | |
255 | 255 | else fromBase58String(bo) | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func bp (bo) = if ((bo == unit)) | |
259 | 259 | then i | |
260 | 260 | else toBase58String(value(bo)) | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func bq (br) = $Tuple7(addressFromStringValue(br[o]), parseIntValue(br[p]), fromBase58String(br[q]), bn(br[r]), bn(br[s]), parseIntValue(br[t]), parseIntValue(br[u])) | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | let bs = bq(bk()) | |
267 | 267 | ||
268 | 268 | let bt = bs | |
269 | 269 | ||
270 | 270 | let bu = bt._1 | |
271 | 271 | ||
272 | 272 | let bv = bt._2 | |
273 | 273 | ||
274 | 274 | let bw = bt._3 | |
275 | 275 | ||
276 | 276 | let bx = bt._4 | |
277 | 277 | ||
278 | 278 | let by = bt._5 | |
279 | 279 | ||
280 | 280 | let bz = bt._6 | |
281 | 281 | ||
282 | 282 | let bA = bt._7 | |
283 | 283 | ||
284 | 284 | func bB () = split(aW(bd, at()), j) | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | let bC = valueOrErrorMessage(addressFromString(bB()[B]), "incorrect staking address") | |
288 | 288 | ||
289 | 289 | let bD = valueOrErrorMessage(addressFromString(bB()[C]), "incorrect staking address") | |
290 | 290 | ||
291 | 291 | func bE (bF,bG,bH,bI,bJ,bK,bL,bM,bN,bO) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(bF), toString(bG), toString(bH), toString(bI), toString(bJ), toString(bK), toString(bL), toString(bM), toString(bN), toString(bO)], j) | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func bP (bQ,bR,bS,bI,bL,bM) = makeString(["%d%d%d%d%d%d", toString(bQ), toString(bR), toString(bS), toString(bI), toString(bL), toString(bM)], j) | |
295 | 295 | ||
296 | 296 | ||
297 | 297 | func bT (ap) = { | |
298 | 298 | let bU = if ((ap == "WAVES")) | |
299 | 299 | then wavesBalance(this).available | |
300 | 300 | else assetBalance(this, fromBase58String(ap)) | |
301 | 301 | let bV = ((bU + ar(ap)) - as(ap)) | |
302 | 302 | max([0, bV]) | |
303 | 303 | } | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | func bW (bX,bY) = fraction(bX, d, bY) | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | func bZ (bX,bY,L) = fraction(bX, d, bY, L) | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func ca (cb) = { | |
313 | 313 | let cc = invoke(cb, "getRate", nil, nil) | |
314 | 314 | if ((cc == cc)) | |
315 | 315 | then { | |
316 | 316 | let aQ = cc | |
317 | 317 | if ($isInstanceOf(aQ, "Int")) | |
318 | 318 | then { | |
319 | 319 | let cd = aQ | |
320 | 320 | cd | |
321 | 321 | } | |
322 | 322 | else ba("proxy.getRate() unexpected value") | |
323 | 323 | } | |
324 | 324 | else throw("Strict value is not equal to itself.") | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | func ce (ap,cf,cg,cb) = { | |
329 | 329 | let ch = ar(ap) | |
330 | 330 | if ((ch == ch)) | |
331 | 331 | then { | |
332 | 332 | let ci = as(cg) | |
333 | 333 | if ((ci == ci)) | |
334 | 334 | then { | |
335 | 335 | let cj = bn(ap) | |
336 | 336 | if ((cf > 0)) | |
337 | 337 | then { | |
338 | 338 | let ck = invoke(cb, "deposit", nil, [AttachedPayment(cj, cf)]) | |
339 | 339 | if ((ck == ck)) | |
340 | 340 | then { | |
341 | 341 | let aQ = ck | |
342 | 342 | if ($isInstanceOf(aQ, "Int")) | |
343 | 343 | then { | |
344 | 344 | let cl = aQ | |
345 | 345 | let cm = (ch + cf) | |
346 | 346 | let cn = (ci + cl) | |
347 | 347 | [IntegerEntry(ao(ap), cm), IntegerEntry(aq(cg), cn)] | |
348 | 348 | } | |
349 | 349 | else nil | |
350 | 350 | } | |
351 | 351 | else throw("Strict value is not equal to itself.") | |
352 | 352 | } | |
353 | 353 | else nil | |
354 | 354 | } | |
355 | 355 | else throw("Strict value is not equal to itself.") | |
356 | 356 | } | |
357 | 357 | else throw("Strict value is not equal to itself.") | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | func co (ap,cf,cg,cb,cp,cq) = { | |
362 | 362 | let ch = ar(ap) | |
363 | 363 | if ((ch == ch)) | |
364 | 364 | then { | |
365 | 365 | let ci = as(cg) | |
366 | 366 | if ((ci == ci)) | |
367 | 367 | then { | |
368 | 368 | let cr = ca(cb) | |
369 | 369 | if ((cr == cr)) | |
370 | 370 | then { | |
371 | 371 | let cs = fraction(cp, ch, ci) | |
372 | 372 | let ct = bn(cg) | |
373 | 373 | let cu = fraction(cp, cf, cs) | |
374 | 374 | let cv = fraction(cp, cf, cr) | |
375 | 375 | let cw = max([0, (cu - cv)]) | |
376 | 376 | if ((cv > 0)) | |
377 | 377 | then { | |
378 | 378 | let cx = invoke(cb, "withdraw", nil, [AttachedPayment(ct, cv)]) | |
379 | 379 | if ((cx == cx)) | |
380 | 380 | then { | |
381 | 381 | let aQ = cx | |
382 | 382 | if ($isInstanceOf(aQ, "Int")) | |
383 | 383 | then { | |
384 | 384 | let cy = aQ | |
385 | 385 | let cm = (ch - cy) | |
386 | 386 | let cn = ((ci - cv) - cw) | |
387 | 387 | [IntegerEntry(ao(ap), cm), IntegerEntry(aq(cg), cn), ScriptTransfer(cq, cw, bn(cg))] | |
388 | 388 | } | |
389 | 389 | else nil | |
390 | 390 | } | |
391 | 391 | else throw("Strict value is not equal to itself.") | |
392 | 392 | } | |
393 | 393 | else nil | |
394 | 394 | } | |
395 | 395 | else throw("Strict value is not equal to itself.") | |
396 | 396 | } | |
397 | 397 | else throw("Strict value is not equal to itself.") | |
398 | 398 | } | |
399 | 399 | else throw("Strict value is not equal to itself.") | |
400 | 400 | } | |
401 | 401 | ||
402 | 402 | ||
403 | 403 | func cz (ap) = { | |
404 | 404 | let aQ = invoke(bd, "getPoolLeaseConfigREADONLY", [toString(this), ap], nil) | |
405 | 405 | if ($isInstanceOf(aQ, "(Boolean, Int, Int, String, String, Int, String)")) | |
406 | 406 | then { | |
407 | 407 | let aR = aQ | |
408 | 408 | aR | |
409 | 409 | } | |
410 | 410 | else ba((("[" + ap) + "] getLeaseProxyConfig() error")) | |
411 | 411 | } | |
412 | 412 | ||
413 | 413 | ||
414 | 414 | func cA (cB,ap,cg,cC,cb,cp,cq) = { | |
415 | 415 | let ch = ar(ap) | |
416 | 416 | if ((ch == ch)) | |
417 | 417 | then { | |
418 | 418 | let ci = as(cg) | |
419 | 419 | if ((ci == ci)) | |
420 | 420 | then { | |
421 | 421 | let cD = max([0, (bT(ap) - cC)]) | |
422 | 422 | let cE = fraction(cB, cD, 100) | |
423 | 423 | let cF = (ch - cE) | |
424 | 424 | if ((cF == 0)) | |
425 | 425 | then nil | |
426 | 426 | else if ((0 > cF)) | |
427 | 427 | then { | |
428 | 428 | let cG = -(cF) | |
429 | 429 | ce(ap, cG, cg, cb) | |
430 | 430 | } | |
431 | 431 | else { | |
432 | 432 | let cH = cF | |
433 | 433 | co(ap, cH, cg, cb, cp, cq) | |
434 | 434 | } | |
435 | 435 | } | |
436 | 436 | else throw("Strict value is not equal to itself.") | |
437 | 437 | } | |
438 | 438 | else throw("Strict value is not equal to itself.") | |
439 | 439 | } | |
440 | 440 | ||
441 | 441 | ||
442 | 442 | func cI (ap) = { | |
443 | 443 | let cJ = cz(ap) | |
444 | 444 | let cK = cJ._1 | |
445 | 445 | let cL = cJ._2 | |
446 | 446 | let cC = cJ._3 | |
447 | 447 | let cM = cJ._4 | |
448 | 448 | let cN = cJ._5 | |
449 | 449 | let cp = cJ._6 | |
450 | 450 | let cO = cJ._7 | |
451 | 451 | if (cK) | |
452 | 452 | then cA(cL, ap, cN, cC, addressFromStringValue(cM), cp, addressFromStringValue(cO)) | |
453 | 453 | else nil | |
454 | 454 | } | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | func cP (ap,cQ) = { | |
458 | 458 | let cR = cz(ap) | |
459 | 459 | let cK = cR._1 | |
460 | 460 | let cL = cR._2 | |
461 | 461 | let cC = cR._3 | |
462 | 462 | let cM = cR._4 | |
463 | 463 | let cN = cR._5 | |
464 | 464 | let cp = cR._6 | |
465 | 465 | let cO = cR._7 | |
466 | 466 | if (cK) | |
467 | 467 | then { | |
468 | 468 | let cS = max([0, ((bT(ap) - cQ) - cC)]) | |
469 | 469 | if ((cS == cS)) | |
470 | 470 | then { | |
471 | 471 | let cm = fraction(cL, cS, 100) | |
472 | 472 | if ((cm == cm)) | |
473 | 473 | then { | |
474 | 474 | let cT = (ar(ap) - cm) | |
475 | 475 | if ((cT == cT)) | |
476 | 476 | then if ((0 > cT)) | |
477 | 477 | then ce(ap, -(cT), cN, addressFromStringValue(cM)) | |
478 | 478 | else co(ap, cT, cN, addressFromStringValue(cM), cp, addressFromStringValue(cO)) | |
479 | 479 | else throw("Strict value is not equal to itself.") | |
480 | 480 | } | |
481 | 481 | else throw("Strict value is not equal to itself.") | |
482 | 482 | } | |
483 | 483 | else throw("Strict value is not equal to itself.") | |
484 | 484 | } | |
485 | 485 | else nil | |
486 | 486 | } | |
487 | 487 | ||
488 | 488 | ||
489 | 489 | func cU (cV,cW) = { | |
490 | 490 | let cX = cP(aW(this, ae()), cV) | |
491 | 491 | let cY = cP(aW(this, af()), cW) | |
492 | 492 | (cX ++ cY) | |
493 | 493 | } | |
494 | 494 | ||
495 | 495 | ||
496 | 496 | func cZ (da,db,dc,dd) = { | |
497 | 497 | let de = D(dc, da) | |
498 | 498 | let df = D(dd, db) | |
499 | 499 | bW(df, de) | |
500 | 500 | } | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | func dg (dc,dd,dh) = { | |
504 | 504 | let di = bk() | |
505 | 505 | let dj = parseIntValue(di[t]) | |
506 | 506 | let dk = parseIntValue(di[u]) | |
507 | 507 | let dl = cZ(dj, dk, dc, dd) | |
508 | 508 | let bY = D(dc, dj) | |
509 | 509 | let bX = D(dd, dk) | |
510 | 510 | let dm = D(dh, b) | |
511 | 511 | let dn = bW(bY, dm) | |
512 | 512 | let do = bW(bX, dm) | |
513 | 513 | [dl, dn, do] | |
514 | 514 | } | |
515 | 515 | ||
516 | 516 | ||
517 | 517 | func dp (dc,dd,dh) = { | |
518 | 518 | let dq = dg(dc, dd, dh) | |
519 | 519 | [H(dq[0], b), H(dq[1], b), H(dq[2], b)] | |
520 | 520 | } | |
521 | 521 | ||
522 | 522 | ||
523 | 523 | func dr (ds,dt,du,ab) = { | |
524 | 524 | let di = bk() | |
525 | 525 | let dv = di[q] | |
526 | 526 | let dw = di[r] | |
527 | 527 | let dx = di[s] | |
528 | 528 | let da = parseIntValue(di[t]) | |
529 | 529 | let db = parseIntValue(di[u]) | |
530 | 530 | let dy = di[p] | |
531 | 531 | let dz = valueOrErrorMessage(assetInfo(fromBase58String(dv)), (("Asset " + dv) + " doesn't exist")).quantity | |
532 | 532 | if ((dv != dt)) | |
533 | 533 | then throw("Invalid asset passed.") | |
534 | 534 | else { | |
535 | 535 | let dA = bT(dw) | |
536 | 536 | let dB = D(dA, da) | |
537 | 537 | let dC = bT(dx) | |
538 | 538 | let dD = D(dC, db) | |
539 | 539 | let dE = bW(dD, dB) | |
540 | 540 | let dF = H(dE, b) | |
541 | 541 | let dG = D(du, b) | |
542 | 542 | let dH = D(dz, b) | |
543 | 543 | let dI = fraction(dB, dG, dH) | |
544 | 544 | let dJ = fraction(dD, dG, dH) | |
545 | 545 | let dK = K(dI, da, FLOOR) | |
546 | 546 | let dL = K(dJ, db, FLOOR) | |
547 | 547 | let dM = if ((ds == "")) | |
548 | 548 | then nil | |
549 | 549 | else [ScriptTransfer(ab, dK, if ((dw == "WAVES")) | |
550 | 550 | then unit | |
551 | 551 | else fromBase58String(dw)), ScriptTransfer(ab, dL, if ((dx == "WAVES")) | |
552 | 552 | then unit | |
553 | 553 | else fromBase58String(dx)), StringEntry(ad(toString(ab), ds), bP(dK, dL, du, dF, height, lastBlock.timestamp)), IntegerEntry(W(), dF), IntegerEntry(X(height, lastBlock.timestamp), dF)] | |
554 | 554 | $Tuple10(dK, dL, dw, dx, dA, dC, dz, dE, dy, dM) | |
555 | 555 | } | |
556 | 556 | } | |
557 | 557 | ||
558 | 558 | ||
559 | 559 | func dN (ds,dO,dP,dQ,dR,dS,ab,dT,dU) = { | |
560 | 560 | let di = bk() | |
561 | 561 | let dv = fromBase58String(di[q]) | |
562 | 562 | let dV = di[r] | |
563 | 563 | let dW = di[s] | |
564 | 564 | let dX = di[v] | |
565 | 565 | let dY = di[w] | |
566 | 566 | let dj = parseIntValue(di[t]) | |
567 | 567 | let dk = parseIntValue(di[u]) | |
568 | 568 | let dy = di[p] | |
569 | 569 | let dz = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity | |
570 | 570 | let dZ = toBase58String(valueOrElse(dQ, fromBase58String("WAVES"))) | |
571 | 571 | let ea = toBase58String(valueOrElse(dS, fromBase58String("WAVES"))) | |
572 | 572 | if (if ((dV != dZ)) | |
573 | 573 | then true | |
574 | 574 | else (dW != ea)) | |
575 | 575 | then throw("Invalid amt or price asset passed.") | |
576 | 576 | else { | |
577 | 577 | let dA = if (dT) | |
578 | 578 | then bT(dV) | |
579 | 579 | else (bT(dV) - dP) | |
580 | 580 | let dC = if (dT) | |
581 | 581 | then bT(dW) | |
582 | 582 | else (bT(dW) - dR) | |
583 | 583 | let eb = D(dP, dj) | |
584 | 584 | let ec = D(dR, dk) | |
585 | 585 | let ed = bW(ec, eb) | |
586 | 586 | let dB = D(dA, dj) | |
587 | 587 | let dD = D(dC, dk) | |
588 | 588 | let ee = if ((dz == 0)) | |
589 | 589 | then { | |
590 | 590 | let dE = e | |
591 | 591 | let ef = e | |
592 | 592 | let dm = pow((eb * ec), 0, toBigInt(5), 1, 0, DOWN) | |
593 | 593 | $Tuple5(H(dm, b), H(eb, dj), H(ec, dk), bW((dD + ec), (dB + eb)), ef) | |
594 | 594 | } | |
595 | 595 | else { | |
596 | 596 | let dE = bW(dD, dB) | |
597 | 597 | let ef = fraction(R((dE - ed)), d, dE) | |
598 | 598 | let eg = D(dO, b) | |
599 | 599 | if (if ((dE != e)) | |
600 | 600 | then (ef > eg) | |
601 | 601 | else false) | |
602 | 602 | then throw(((("Price slippage " + toString(ef)) + " exceeded the passed limit of ") + toString(eg))) | |
603 | 603 | else { | |
604 | 604 | let dH = D(dz, b) | |
605 | 605 | let eh = fraction(eb, bZ(dD, dB, CEILING), d, CEILING) | |
606 | 606 | let ei = fraction(ec, d, bZ(dD, dB, FLOOR), CEILING) | |
607 | 607 | let ej = if ((eh > ec)) | |
608 | 608 | then $Tuple2(ei, ec) | |
609 | 609 | else $Tuple2(eb, eh) | |
610 | 610 | let ek = ej._1 | |
611 | 611 | let el = ej._2 | |
612 | 612 | let dm = fraction(dH, el, dD, FLOOR) | |
613 | 613 | $Tuple5(K(dm, b, FLOOR), K(ek, dj, CEILING), K(el, dk, CEILING), dE, ef) | |
614 | 614 | } | |
615 | 615 | } | |
616 | 616 | let em = ee._1 | |
617 | 617 | let en = ee._2 | |
618 | 618 | let eo = ee._3 | |
619 | 619 | let dF = H(ee._4, b) | |
620 | 620 | let ep = H(ee._5, b) | |
621 | 621 | if ((0 >= em)) | |
622 | 622 | then throw("Invalid calculations. LP calculated is less than zero.") | |
623 | 623 | else { | |
624 | 624 | let eq = if (!(dU)) | |
625 | 625 | then 0 | |
626 | 626 | else em | |
627 | 627 | let er = (dP - en) | |
628 | 628 | let es = (dR - eo) | |
629 | 629 | let et = [IntegerEntry(W(), dF), IntegerEntry(X(height, lastBlock.timestamp), dF), StringEntry(aa(ab, ds), bE(en, eo, eq, dF, dO, ep, height, lastBlock.timestamp, er, es))] | |
630 | 630 | $Tuple13(em, eq, dF, dA, dC, dz, dv, dy, et, er, es, dQ, dS) | |
631 | 631 | } | |
632 | 632 | } | |
633 | 633 | } | |
634 | 634 | ||
635 | 635 | ||
636 | 636 | func eu (ev,ew,dz) = { | |
637 | 637 | let ex = G(ev, toBigInt(bz)) | |
638 | 638 | let ey = G(ew, toBigInt(bA)) | |
639 | 639 | let ez = fraction(pow((ex * ey), 0, toBigInt(5), 1, 18, DOWN), g, dz) | |
640 | 640 | if ((dz == f)) | |
641 | 641 | then f | |
642 | 642 | else ez | |
643 | 643 | } | |
644 | 644 | ||
645 | 645 | ||
646 | 646 | func eA (eB,eC,eD) = { | |
647 | 647 | let eE = (toBigInt(bT(bp(bx))) - eB) | |
648 | 648 | let eF = (toBigInt(bT(bp(by))) - eC) | |
649 | 649 | let eG = (toBigInt(value(assetInfo(bw)).quantity) - eD) | |
650 | 650 | let eH = eu(eE, eF, eG) | |
651 | 651 | eH | |
652 | 652 | } | |
653 | 653 | ||
654 | 654 | ||
655 | 655 | func eI (eJ,eK,eD) = { | |
656 | 656 | let eE = (bT(bp(bx)) + eJ) | |
657 | 657 | let eF = (bT(bp(by)) + eK) | |
658 | 658 | let eG = (value(assetInfo(bw)).quantity + eD) | |
659 | 659 | let ez = eu(toBigInt(eE), toBigInt(eF), toBigInt(eG)) | |
660 | 660 | let eL = [IntegerEntry(ak, height), StringEntry(aj, toString(ez))] | |
661 | 661 | $Tuple2(eL, ez) | |
662 | 662 | } | |
663 | 663 | ||
664 | 664 | ||
665 | 665 | func eM () = valueOrElse(getBoolean(bd, aH(toString(this))), false) | |
666 | 666 | ||
667 | 667 | ||
668 | 668 | func eN (eO,ez) = if ((ez >= eO)) | |
669 | 669 | then true | |
670 | 670 | else ba(makeString(["updated KLp lower than current KLp", toString(eO), toString(ez)], " ")) | |
671 | 671 | ||
672 | 672 | ||
673 | 673 | func eP (eQ) = { | |
674 | 674 | let eE = bT(bp(bx)) | |
675 | 675 | let eF = bT(bp(by)) | |
676 | 676 | let eR = eQ.amount | |
677 | 677 | let eS = fraction(eQ.amount, eQ.price, b, FLOOR) | |
678 | 678 | let eT = if ((eQ.orderType == Buy)) | |
679 | 679 | then $Tuple2(eR, -(eS)) | |
680 | 680 | else $Tuple2(-(eR), eS) | |
681 | 681 | let eJ = eT._1 | |
682 | 682 | let eK = eT._2 | |
683 | 683 | if (if (if (bi()) | |
684 | 684 | then true | |
685 | 685 | else (bv == m)) | |
686 | 686 | then true | |
687 | 687 | else (bv == n)) | |
688 | 688 | then throw("Exchange operations disabled") | |
689 | 689 | else if (if ((eQ.assetPair.amountAsset != bx)) | |
690 | 690 | then true | |
691 | 691 | else (eQ.assetPair.priceAsset != by)) | |
692 | 692 | then throw("Wrong order assets.") | |
693 | 693 | else { | |
694 | 694 | let eU = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, aj), "0")), bc("invalid kLp")) | |
695 | 695 | let eV = eI(eJ, eK, 0) | |
696 | 696 | let eW = eV._1 | |
697 | 697 | let eX = eV._2 | |
698 | 698 | let eY = (eX >= eU) | |
699 | 699 | let eZ = makeString(["kLp=", toString(eU), " kLpNew=", toString(eX), " amountAssetBalance=", toString(eE), " priceAssetBalance=", toString(eF), " amountAssetBalanceDelta=", toString(eJ), " priceAssetBalanceDelta=", toString(eK), " height=", toString(height)], "") | |
700 | 700 | $Tuple2(eY, eZ) | |
701 | 701 | } | |
702 | 702 | } | |
703 | 703 | ||
704 | 704 | ||
705 | 705 | func fa (fb) = if ((size(fb.payments) != 1)) | |
706 | 706 | then throw("exactly 1 payment is expected") | |
707 | 707 | else { | |
708 | 708 | let fc = value(fb.payments[0]) | |
709 | 709 | let dt = value(fc.assetId) | |
710 | 710 | let fd = fc.amount | |
711 | 711 | let ee = dr(toBase58String(fb.transactionId), toBase58String(dt), fd, fb.caller) | |
712 | 712 | let dK = ee._1 | |
713 | 713 | let dL = ee._2 | |
714 | 714 | let dy = parseIntValue(ee._9) | |
715 | 715 | let dM = ee._10 | |
716 | 716 | if (if (bi()) | |
717 | 717 | then true | |
718 | 718 | else (dy == n)) | |
719 | 719 | then throw(("Get operation is blocked by admin. Status = " + toString(dy))) | |
720 | 720 | else $Tuple5(dK, dL, fd, dt, dM) | |
721 | 721 | } | |
722 | 722 | ||
723 | 723 | ||
724 | 724 | func fe (fb,dO,dU) = if ((size(fb.payments) != 2)) | |
725 | 725 | then throw("exactly 2 payments are expected") | |
726 | 726 | else { | |
727 | 727 | let ff = value(fb.payments[0]) | |
728 | 728 | let fg = value(fb.payments[1]) | |
729 | 729 | let fh = dN(toBase58String(fb.transactionId), dO, ff.amount, ff.assetId, fg.amount, fg.assetId, toString(fb.caller), false, dU) | |
730 | 730 | let dy = parseIntValue(fh._8) | |
731 | - | if (if (if ( | |
731 | + | if (if (if (bi()) | |
732 | 732 | then true | |
733 | 733 | else (dy == l)) | |
734 | - | then true | |
735 | - | else (dy == m)) | |
736 | 734 | then true | |
737 | 735 | else (dy == n)) | |
738 | 736 | then throw(("Put operation is blocked by admin. Status = " + toString(dy))) | |
739 | 737 | else fh | |
740 | 738 | } | |
741 | 739 | ||
742 | 740 | ||
743 | 741 | func fi (cf) = { | |
744 | 742 | let fj = invoke(bd, "emit", [cf], nil) | |
745 | 743 | if ((fj == fj)) | |
746 | 744 | then { | |
747 | 745 | let fk = { | |
748 | 746 | let aQ = fj | |
749 | 747 | if ($isInstanceOf(aQ, "Address")) | |
750 | 748 | then { | |
751 | 749 | let fl = aQ | |
752 | 750 | invoke(fl, "emit", [cf], nil) | |
753 | 751 | } | |
754 | 752 | else unit | |
755 | 753 | } | |
756 | 754 | if ((fk == fk)) | |
757 | 755 | then cf | |
758 | 756 | else throw("Strict value is not equal to itself.") | |
759 | 757 | } | |
760 | 758 | else throw("Strict value is not equal to itself.") | |
761 | 759 | } | |
762 | 760 | ||
763 | 761 | ||
764 | 762 | func fm (cf,ai) = { | |
765 | 763 | let fn = if ((ai == 0)) | |
766 | 764 | then 0 | |
767 | 765 | else fraction(cf, ai, b) | |
768 | 766 | $Tuple2((cf - fn), fn) | |
769 | 767 | } | |
770 | 768 | ||
771 | 769 | ||
772 | 770 | func fo (fp,fq,ab,ac) = { | |
773 | 771 | let fr = (ac == unit) | |
774 | 772 | let fs = bT(bp(bx)) | |
775 | 773 | let ft = bT(bp(by)) | |
776 | 774 | let fu = if ((fq == bx)) | |
777 | 775 | then true | |
778 | 776 | else if ((fq == by)) | |
779 | 777 | then false | |
780 | 778 | else ba("invalid asset") | |
781 | 779 | let fv = if (fr) | |
782 | 780 | then $Tuple2(fs, ft) | |
783 | 781 | else if (fu) | |
784 | 782 | then $Tuple2((fs - fp), ft) | |
785 | 783 | else $Tuple2(fs, (ft - fp)) | |
786 | 784 | let fw = fv._1 | |
787 | 785 | let fx = fv._2 | |
788 | 786 | let fy = if (fu) | |
789 | 787 | then $Tuple2(fp, 0) | |
790 | 788 | else $Tuple2(0, fp) | |
791 | 789 | let fz = fy._1 | |
792 | 790 | let fA = fy._2 | |
793 | 791 | let eR = fm(fz, bf)._1 | |
794 | 792 | let eS = fm(fA, bf)._1 | |
795 | 793 | let fB = fm(fp, bf) | |
796 | 794 | let fC = fB._1 | |
797 | 795 | let fn = fB._2 | |
798 | 796 | let fD = (fw + eR) | |
799 | 797 | let fE = (fx + eS) | |
800 | 798 | let fF = bW(D(fE, bA), D(fD, bz)) | |
801 | 799 | let fG = H(fF, b) | |
802 | 800 | let fH = if (fu) | |
803 | 801 | then fw | |
804 | 802 | else fx | |
805 | 803 | let fI = toBigInt(fH) | |
806 | 804 | let fJ = toBigInt(valueOrErrorMessage(assetInfo(bw), (("asset " + toBase58String(bw)) + " doesn't exist")).quantity) | |
807 | 805 | let fK = if ((fJ > f)) | |
808 | 806 | then true | |
809 | 807 | else ba("initial deposit requires all coins") | |
810 | 808 | if ((fK == fK)) | |
811 | 809 | then { | |
812 | 810 | let fL = toBigInt(fC) | |
813 | 811 | let fM = max([0, toInt(((fJ * (sqrtBigInt((d + ((fL * d) / fI)), 18, 18, DOWN) - d)) / d))]) | |
814 | 812 | let et = if (fr) | |
815 | 813 | then nil | |
816 | 814 | else [IntegerEntry(W(), fG), IntegerEntry(X(height, lastBlock.timestamp), fG), StringEntry(aa(toString(value(ab)), toBase58String(value(ac))), bE(fz, fA, fM, fG, 0, 0, height, lastBlock.timestamp, 0, 0))] | |
817 | 815 | let fN = bW(D(fx, bA), D(fw, bz)) | |
818 | 816 | let fO = H(fN, b) | |
819 | 817 | let fP = { | |
820 | 818 | let fQ = if (fu) | |
821 | 819 | then $Tuple2(fz, fw) | |
822 | 820 | else $Tuple2(fA, fx) | |
823 | 821 | let cf = fQ._1 | |
824 | 822 | let fR = fQ._2 | |
825 | 823 | let fS = toInt(fraction(fJ, toBigInt((cf / 2)), toBigInt(fR))) | |
826 | 824 | fraction((fM - fS), b, fS) | |
827 | 825 | } | |
828 | 826 | $Tuple5(fM, et, fn, fP, fu) | |
829 | 827 | } | |
830 | 828 | else throw("Strict value is not equal to itself.") | |
831 | 829 | } | |
832 | 830 | ||
833 | 831 | ||
834 | 832 | func fT (fU,fC,fq,ab,ac) = { | |
835 | 833 | let fr = (ac == unit) | |
836 | 834 | let di = bk() | |
837 | 835 | let dj = parseIntValue(di[t]) | |
838 | 836 | let dk = parseIntValue(di[u]) | |
839 | 837 | let fV = [if ((fq == bw)) | |
840 | 838 | then true | |
841 | 839 | else ba("invalid lp asset")] | |
842 | 840 | if ((fV == fV)) | |
843 | 841 | then { | |
844 | 842 | let fW = if ((fU == bx)) | |
845 | 843 | then true | |
846 | 844 | else if ((fU == by)) | |
847 | 845 | then false | |
848 | 846 | else ba("invalid asset") | |
849 | 847 | let fX = if (fW) | |
850 | 848 | then toBigInt(bT(bp(bx))) | |
851 | 849 | else toBigInt(bT(bp(by))) | |
852 | 850 | let fY = if (fW) | |
853 | 851 | then dj | |
854 | 852 | else dk | |
855 | 853 | let fZ = bT(bp(bx)) | |
856 | 854 | let ga = bT(bp(by)) | |
857 | 855 | let gb = if (fW) | |
858 | 856 | then fZ | |
859 | 857 | else ga | |
860 | 858 | let gc = toBigInt(gb) | |
861 | 859 | let fJ = toBigInt(valueOrErrorMessage(assetInfo(bw), (("asset " + toBase58String(bw)) + " doesn't exist")).quantity) | |
862 | 860 | let gd = toBigInt(fC) | |
863 | 861 | let ge = max([0, toInt(((fX * (d - pow((d - ((gd * d) / fJ)), 18, h, 0, 18, DOWN))) / d))]) | |
864 | 862 | let gf = fm(ge, bh) | |
865 | 863 | let gg = gf._1 | |
866 | 864 | let fn = gf._2 | |
867 | 865 | let gh = if (fW) | |
868 | 866 | then $Tuple4(gg, 0, (fZ - ge), ga) | |
869 | 867 | else $Tuple4(0, gg, fZ, (ga - ge)) | |
870 | 868 | let gi = gh._1 | |
871 | 869 | let gj = gh._2 | |
872 | 870 | let gk = gh._3 | |
873 | 871 | let gl = gh._4 | |
874 | 872 | let fF = bW(D(gl, bA), D(gk, bz)) | |
875 | 873 | let fG = H(fF, b) | |
876 | 874 | let et = if (fr) | |
877 | 875 | then nil | |
878 | 876 | else [StringEntry(ad(toString(value(ab)), toBase58String(value(ac))), bP(gi, gj, fC, fG, height, lastBlock.timestamp)), IntegerEntry(W(), fG), IntegerEntry(X(height, lastBlock.timestamp), fG)] | |
879 | 877 | let fN = bW(D(ga, bA), D(fZ, bz)) | |
880 | 878 | let fO = H(fN, b) | |
881 | 879 | let fP = { | |
882 | 880 | let gm = (toInt(fraction(fX, gd, fJ)) * 2) | |
883 | 881 | fraction((gg - gm), b, gm) | |
884 | 882 | } | |
885 | 883 | $Tuple5(gg, et, fn, fP, fW) | |
886 | 884 | } | |
887 | 885 | else throw("Strict value is not equal to itself.") | |
888 | 886 | } | |
889 | 887 | ||
890 | 888 | ||
891 | 889 | func gn () = { | |
892 | 890 | let go = aS() | |
893 | 891 | let aQ = getString(go, U()) | |
894 | 892 | if ($isInstanceOf(aQ, "String")) | |
895 | 893 | then { | |
896 | 894 | let aV = aQ | |
897 | 895 | fromBase58String(aV) | |
898 | 896 | } | |
899 | 897 | else if ($isInstanceOf(aQ, "Unit")) | |
900 | 898 | then unit | |
901 | 899 | else throw("Match error") | |
902 | 900 | } | |
903 | 901 | ||
904 | 902 | ||
905 | 903 | func gp (fb) = { | |
906 | 904 | let aQ = gn() | |
907 | 905 | if ($isInstanceOf(aQ, "ByteVector")) | |
908 | 906 | then { | |
909 | 907 | let gq = aQ | |
910 | 908 | (fb.callerPublicKey == gq) | |
911 | 909 | } | |
912 | 910 | else if ($isInstanceOf(aQ, "Unit")) | |
913 | 911 | then (fb.caller == this) | |
914 | 912 | else throw("Match error") | |
915 | 913 | } | |
916 | 914 | ||
917 | 915 | ||
918 | 916 | func gr (fb) = { | |
919 | 917 | let gs = throw("Permission denied") | |
920 | 918 | let aQ = gn() | |
921 | 919 | if ($isInstanceOf(aQ, "ByteVector")) | |
922 | 920 | then { | |
923 | 921 | let gq = aQ | |
924 | 922 | if ((fb.callerPublicKey == gq)) | |
925 | 923 | then true | |
926 | 924 | else gs | |
927 | 925 | } | |
928 | 926 | else if ($isInstanceOf(aQ, "Unit")) | |
929 | 927 | then if ((fb.caller == this)) | |
930 | 928 | then true | |
931 | 929 | else gs | |
932 | 930 | else throw("Match error") | |
933 | 931 | } | |
934 | 932 | ||
935 | 933 | ||
936 | 934 | @Callable(fb) | |
937 | 935 | func rebalance () = (cI(aW(this, ae())) ++ cI(aW(this, af()))) | |
938 | 936 | ||
939 | 937 | ||
940 | 938 | ||
941 | 939 | @Callable(fb) | |
942 | 940 | func calculateAmountOutForSwapREADONLY (gt,gu,gv) = { | |
943 | 941 | let gw = if ((gu == false)) | |
944 | 942 | then { | |
945 | 943 | let gx = aW(this, af()) | |
946 | 944 | let gy = aW(this, ae()) | |
947 | 945 | $Tuple2(gx, gy) | |
948 | 946 | } | |
949 | 947 | else { | |
950 | 948 | let gx = aW(this, ae()) | |
951 | 949 | let gy = aW(this, af()) | |
952 | 950 | $Tuple2(gx, gy) | |
953 | 951 | } | |
954 | 952 | let gx = gw._1 | |
955 | 953 | let gy = gw._2 | |
956 | 954 | let gz = bT(gy) | |
957 | 955 | let gA = bT(gx) | |
958 | 956 | let gB = fraction(gA, gt, (gz + gt)) | |
959 | 957 | let gC = (toBigInt(gz) * toBigInt(gA)) | |
960 | 958 | let gD = (((toBigInt(bT(gy)) + toBigInt(gt)) + toBigInt(gv)) * (toBigInt(bT(gx)) - toBigInt(gB))) | |
961 | 959 | let gE = if ((gD >= gC)) | |
962 | 960 | then true | |
963 | 961 | else throw("new K is fewer error") | |
964 | 962 | if ((gE == gE)) | |
965 | 963 | then $Tuple2(nil, gB) | |
966 | 964 | else throw("Strict value is not equal to itself.") | |
967 | 965 | } | |
968 | 966 | ||
969 | 967 | ||
970 | 968 | ||
971 | 969 | @Callable(fb) | |
972 | 970 | func calculateAmountOutForSwapAndSendTokens (gt,gu,gF,gG,gv) = { | |
973 | 971 | let gH = { | |
974 | 972 | let bg = invoke(bd, "getSwapContractREADONLY", nil, nil) | |
975 | 973 | if ($isInstanceOf(bg, "String")) | |
976 | 974 | then bg | |
977 | 975 | else throw(($getType(bg) + " couldn't be cast to String")) | |
978 | 976 | } | |
979 | 977 | let fV = [if ((value(fb.payments[0]).amount >= gt)) | |
980 | 978 | then true | |
981 | 979 | else ba("Wrong amount"), if ((fb.caller == addressFromStringValue(gH))) | |
982 | 980 | then true | |
983 | 981 | else ba("Permission denied")] | |
984 | 982 | if ((fV == fV)) | |
985 | 983 | then { | |
986 | 984 | let fc = value(fb.payments[0]) | |
987 | 985 | let gy = bp(fc.assetId) | |
988 | 986 | let gx = if ((gu == false)) | |
989 | 987 | then aW(this, af()) | |
990 | 988 | else aW(this, ae()) | |
991 | 989 | let gz = ((bT(gy) - value(fb.payments[0]).amount) - gv) | |
992 | 990 | let gA = bT(gx) | |
993 | 991 | let gB = fraction(gA, gt, (gz + gt)) | |
994 | 992 | let gC = (toBigInt(gz) * toBigInt(gA)) | |
995 | 993 | let gD = ((toBigInt(bT(gy)) + toBigInt(gv)) * (toBigInt(bT(gx)) - toBigInt(gB))) | |
996 | 994 | let gE = if ((gD >= gC)) | |
997 | 995 | then true | |
998 | 996 | else throw("new K is fewer error") | |
999 | 997 | if ((gE == gE)) | |
1000 | 998 | then { | |
1001 | 999 | let gI = if ((gB >= gF)) | |
1002 | 1000 | then true | |
1003 | 1001 | else throw("Exchange result is fewer coins than expected") | |
1004 | 1002 | if ((gI == gI)) | |
1005 | 1003 | then { | |
1006 | 1004 | let gJ = cI(gy) | |
1007 | 1005 | if ((gJ == gJ)) | |
1008 | 1006 | then { | |
1009 | 1007 | let gK = cP(gx, gB) | |
1010 | 1008 | if ((gK == gK)) | |
1011 | 1009 | then $Tuple2(((gK ++ gJ) ++ [ScriptTransfer(addressFromStringValue(gG), gB, bn(gx))]), gB) | |
1012 | 1010 | else throw("Strict value is not equal to itself.") | |
1013 | 1011 | } | |
1014 | 1012 | else throw("Strict value is not equal to itself.") | |
1015 | 1013 | } | |
1016 | 1014 | else throw("Strict value is not equal to itself.") | |
1017 | 1015 | } | |
1018 | 1016 | else throw("Strict value is not equal to itself.") | |
1019 | 1017 | } | |
1020 | 1018 | else throw("Strict value is not equal to itself.") | |
1021 | 1019 | } | |
1022 | 1020 | ||
1023 | 1021 | ||
1024 | 1022 | ||
1025 | 1023 | @Callable(fb) | |
1026 | 1024 | func put (dO,gL) = if ((0 > dO)) | |
1027 | 1025 | then throw("Invalid slippageTolerance passed") | |
1028 | 1026 | else { | |
1029 | 1027 | let fh = fe(fb, dO, true) | |
1030 | 1028 | let eq = fh._2 | |
1031 | 1029 | let dv = fh._7 | |
1032 | 1030 | let dM = fh._9 | |
1033 | 1031 | let er = fh._10 | |
1034 | 1032 | let es = fh._11 | |
1035 | 1033 | let gM = fh._12 | |
1036 | 1034 | let gN = fh._13 | |
1037 | 1035 | let ff = toBigInt(value(fb.payments[0]).amount) | |
1038 | 1036 | let fg = toBigInt(value(fb.payments[1]).amount) | |
1039 | 1037 | let eH = eA(ff, fg, toBigInt(0)) | |
1040 | 1038 | if ((eH == eH)) | |
1041 | 1039 | then { | |
1042 | 1040 | let fj = invoke(bd, "emit", [eq], nil) | |
1043 | 1041 | if ((fj == fj)) | |
1044 | 1042 | then { | |
1045 | 1043 | let fk = { | |
1046 | 1044 | let aQ = fj | |
1047 | 1045 | if ($isInstanceOf(aQ, "Address")) | |
1048 | 1046 | then { | |
1049 | 1047 | let fl = aQ | |
1050 | 1048 | invoke(fl, "emit", [eq], nil) | |
1051 | 1049 | } | |
1052 | 1050 | else unit | |
1053 | 1051 | } | |
1054 | 1052 | if ((fk == fk)) | |
1055 | 1053 | then { | |
1056 | 1054 | let gO = if ((er > 0)) | |
1057 | 1055 | then invoke(bD, "put", nil, [AttachedPayment(gM, er)]) | |
1058 | 1056 | else nil | |
1059 | 1057 | if ((gO == gO)) | |
1060 | 1058 | then { | |
1061 | 1059 | let gP = if ((es > 0)) | |
1062 | 1060 | then invoke(bD, "put", nil, [AttachedPayment(gN, es)]) | |
1063 | 1061 | else nil | |
1064 | 1062 | if ((gP == gP)) | |
1065 | 1063 | then { | |
1066 | 1064 | let gQ = if (gL) | |
1067 | 1065 | then { | |
1068 | 1066 | let gR = invoke(bC, "stake", nil, [AttachedPayment(dv, eq)]) | |
1069 | 1067 | if ((gR == gR)) | |
1070 | 1068 | then nil | |
1071 | 1069 | else throw("Strict value is not equal to itself.") | |
1072 | 1070 | } | |
1073 | 1071 | else [ScriptTransfer(fb.caller, eq, dv)] | |
1074 | 1072 | let gS = eI(0, 0, 0) | |
1075 | 1073 | if ((gS == gS)) | |
1076 | 1074 | then { | |
1077 | 1075 | let ez = gS._2 | |
1078 | 1076 | let gT = gS._1 | |
1079 | 1077 | let gU = eN(eH, ez) | |
1080 | 1078 | if ((gU == gU)) | |
1081 | 1079 | then { | |
1082 | 1080 | let gV = invoke(this, "rebalance", nil, nil) | |
1083 | 1081 | if ((gV == gV)) | |
1084 | 1082 | then ((dM ++ gQ) ++ gT) | |
1085 | 1083 | else throw("Strict value is not equal to itself.") | |
1086 | 1084 | } | |
1087 | 1085 | else throw("Strict value is not equal to itself.") | |
1088 | 1086 | } | |
1089 | 1087 | else throw("Strict value is not equal to itself.") | |
1090 | 1088 | } | |
1091 | 1089 | else throw("Strict value is not equal to itself.") | |
1092 | 1090 | } | |
1093 | 1091 | else throw("Strict value is not equal to itself.") | |
1094 | 1092 | } | |
1095 | 1093 | else throw("Strict value is not equal to itself.") | |
1096 | 1094 | } | |
1097 | 1095 | else throw("Strict value is not equal to itself.") | |
1098 | 1096 | } | |
1099 | 1097 | else throw("Strict value is not equal to itself.") | |
1100 | 1098 | } | |
1101 | 1099 | ||
1102 | 1100 | ||
1103 | 1101 | ||
1104 | 1102 | @Callable(fb) | |
1105 | 1103 | func putForFree (gW) = if ((0 > gW)) | |
1106 | 1104 | then throw("Invalid value passed") | |
1107 | 1105 | else { | |
1108 | 1106 | let fh = fe(fb, gW, false) | |
1109 | 1107 | let dM = fh._9 | |
1110 | 1108 | let ff = toBigInt(value(fb.payments[0]).amount) | |
1111 | 1109 | let fg = toBigInt(value(fb.payments[1]).amount) | |
1112 | 1110 | let eH = eA(ff, fg, toBigInt(0)) | |
1113 | 1111 | if ((eH == eH)) | |
1114 | 1112 | then { | |
1115 | 1113 | let gX = eI(0, 0, 0) | |
1116 | 1114 | let gT = gX._1 | |
1117 | 1115 | let ez = gX._2 | |
1118 | 1116 | let gU = eN(eH, ez) | |
1119 | 1117 | if ((gU == gU)) | |
1120 | 1118 | then (dM ++ gT) | |
1121 | 1119 | else throw("Strict value is not equal to itself.") | |
1122 | 1120 | } | |
1123 | 1121 | else throw("Strict value is not equal to itself.") | |
1124 | 1122 | } | |
1125 | 1123 | ||
1126 | 1124 | ||
1127 | 1125 | ||
1128 | 1126 | @Callable(fb) | |
1129 | 1127 | func putOneTkn (gY,gZ) = { | |
1130 | 1128 | let ha = { | |
1131 | 1129 | let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1132 | 1130 | if ($isInstanceOf(bg, "Boolean")) | |
1133 | 1131 | then bg | |
1134 | 1132 | else throw(($getType(bg) + " couldn't be cast to Boolean")) | |
1135 | 1133 | } | |
1136 | - | let hb = if (if (if ( | |
1134 | + | let hb = if (if (if (bi()) | |
1137 | 1135 | then true | |
1138 | 1136 | else (bv == l)) | |
1139 | - | then true | |
1140 | - | else (bv == m)) | |
1141 | 1137 | then true | |
1142 | 1138 | else (bv == n)) | |
1143 | 1139 | then true | |
1144 | 1140 | else ha | |
1145 | 1141 | let fV = [if (if (!(hb)) | |
1146 | 1142 | then true | |
1147 | 1143 | else gp(fb)) | |
1148 | 1144 | then true | |
1149 | 1145 | else ba("put operation is blocked by admin"), if ((size(fb.payments) == 1)) | |
1150 | 1146 | then true | |
1151 | 1147 | else ba("exactly 1 payment are expected")] | |
1152 | 1148 | if ((fV == fV)) | |
1153 | 1149 | then { | |
1154 | 1150 | let hc = fb.payments[0] | |
1155 | 1151 | let fq = hc.assetId | |
1156 | 1152 | let fp = hc.amount | |
1157 | 1153 | let eH = if ((fq == bx)) | |
1158 | 1154 | then eA(toBigInt(fp), toBigInt(0), toBigInt(0)) | |
1159 | 1155 | else if ((fq == by)) | |
1160 | 1156 | then eA(toBigInt(0), toBigInt(fp), toBigInt(0)) | |
1161 | 1157 | else ba("payment asset is not supported") | |
1162 | 1158 | if ((eH == eH)) | |
1163 | 1159 | then { | |
1164 | 1160 | let ab = fb.caller | |
1165 | 1161 | let ac = fb.transactionId | |
1166 | 1162 | let hd = fo(fp, fq, ab, ac) | |
1167 | 1163 | if ((hd == hd)) | |
1168 | 1164 | then { | |
1169 | 1165 | let fu = hd._5 | |
1170 | 1166 | let he = hd._4 | |
1171 | 1167 | let fn = hd._3 | |
1172 | 1168 | let et = hd._2 | |
1173 | 1169 | let hf = hd._1 | |
1174 | 1170 | let hg = if (if ((gY > 0)) | |
1175 | 1171 | then (gY > hf) | |
1176 | 1172 | else false) | |
1177 | 1173 | then ba(makeString(["amount to receive is less than ", toString(gY)], "")) | |
1178 | 1174 | else hf | |
1179 | 1175 | let fj = fi(hg) | |
1180 | 1176 | if ((fj == fj)) | |
1181 | 1177 | then { | |
1182 | 1178 | let gQ = if (gZ) | |
1183 | 1179 | then { | |
1184 | 1180 | let hh = invoke(bC, "stake", nil, [AttachedPayment(bw, hg)]) | |
1185 | 1181 | if ((hh == hh)) | |
1186 | 1182 | then nil | |
1187 | 1183 | else throw("Strict value is not equal to itself.") | |
1188 | 1184 | } | |
1189 | 1185 | else [ScriptTransfer(fb.caller, hg, bw)] | |
1190 | 1186 | let hi = if ((fn > 0)) | |
1191 | 1187 | then [ScriptTransfer(be, fn, fq)] | |
1192 | 1188 | else nil | |
1193 | 1189 | let hj = if ((this == be)) | |
1194 | 1190 | then $Tuple2(0, 0) | |
1195 | 1191 | else if (fu) | |
1196 | 1192 | then $Tuple2(-(fn), 0) | |
1197 | 1193 | else $Tuple2(0, -(fn)) | |
1198 | 1194 | let eJ = hj._1 | |
1199 | 1195 | let eK = hj._2 | |
1200 | 1196 | let hk = eI(eJ, eK, 0) | |
1201 | 1197 | let gT = hk._1 | |
1202 | 1198 | let ez = hk._2 | |
1203 | 1199 | let eU = value(getString(aj)) | |
1204 | 1200 | let gU = eN(eH, ez) | |
1205 | 1201 | if ((gU == gU)) | |
1206 | 1202 | then { | |
1207 | 1203 | let gV = invoke(this, "rebalance", nil, nil) | |
1208 | 1204 | if ((gV == gV)) | |
1209 | 1205 | then $Tuple2((((et ++ gQ) ++ hi) ++ gT), hg) | |
1210 | 1206 | else throw("Strict value is not equal to itself.") | |
1211 | 1207 | } | |
1212 | 1208 | else throw("Strict value is not equal to itself.") | |
1213 | 1209 | } | |
1214 | 1210 | else throw("Strict value is not equal to itself.") | |
1215 | 1211 | } | |
1216 | 1212 | else throw("Strict value is not equal to itself.") | |
1217 | 1213 | } | |
1218 | 1214 | else throw("Strict value is not equal to itself.") | |
1219 | 1215 | } | |
1220 | 1216 | else throw("Strict value is not equal to itself.") | |
1221 | 1217 | } | |
1222 | 1218 | ||
1223 | 1219 | ||
1224 | 1220 | ||
1225 | 1221 | @Callable(fb) | |
1226 | 1222 | func putOneTknREADONLY (fq,fp) = { | |
1227 | 1223 | let hl = fo(fp, bn(fq), unit, unit) | |
1228 | 1224 | let hf = hl._1 | |
1229 | 1225 | let et = hl._2 | |
1230 | 1226 | let fn = hl._3 | |
1231 | 1227 | let he = hl._4 | |
1232 | 1228 | let fu = hl._5 | |
1233 | 1229 | $Tuple2(nil, $Tuple3(hf, fn, he)) | |
1234 | 1230 | } | |
1235 | 1231 | ||
1236 | 1232 | ||
1237 | 1233 | ||
1238 | 1234 | @Callable(fb) | |
1239 | 1235 | func getOneTkn (hm,gY) = { | |
1240 | 1236 | let ha = { | |
1241 | 1237 | let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1242 | 1238 | if ($isInstanceOf(bg, "Boolean")) | |
1243 | 1239 | then bg | |
1244 | 1240 | else throw(($getType(bg) + " couldn't be cast to Boolean")) | |
1245 | 1241 | } | |
1246 | 1242 | let hn = if (if (bi()) | |
1247 | 1243 | then true | |
1248 | 1244 | else (bv == n)) | |
1249 | 1245 | then true | |
1250 | 1246 | else ha | |
1251 | 1247 | let fV = [if (if (!(hn)) | |
1252 | 1248 | then true | |
1253 | 1249 | else gp(fb)) | |
1254 | 1250 | then true | |
1255 | 1251 | else ba("get operation is blocked by admin"), if ((size(fb.payments) == 1)) | |
1256 | 1252 | then true | |
1257 | 1253 | else ba("exactly 1 payment are expected")] | |
1258 | 1254 | if ((fV == fV)) | |
1259 | 1255 | then { | |
1260 | 1256 | let fU = bn(hm) | |
1261 | 1257 | let hc = fb.payments[0] | |
1262 | 1258 | let fq = hc.assetId | |
1263 | 1259 | let fC = hc.amount | |
1264 | 1260 | let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1265 | 1261 | if ((eH == eH)) | |
1266 | 1262 | then { | |
1267 | 1263 | let ab = fb.caller | |
1268 | 1264 | let ac = fb.transactionId | |
1269 | 1265 | let ho = fT(fU, fC, fq, ab, ac) | |
1270 | 1266 | if ((ho == ho)) | |
1271 | 1267 | then { | |
1272 | 1268 | let fW = ho._5 | |
1273 | 1269 | let he = ho._4 | |
1274 | 1270 | let fn = ho._3 | |
1275 | 1271 | let et = ho._2 | |
1276 | 1272 | let hp = ho._1 | |
1277 | 1273 | let cf = if (if ((gY > 0)) | |
1278 | 1274 | then (gY > hp) | |
1279 | 1275 | else false) | |
1280 | 1276 | then ba(makeString(["amount to receive is less than ", toString(gY)], "")) | |
1281 | 1277 | else hp | |
1282 | 1278 | let hq = invoke(bd, "burn", [fC], [AttachedPayment(fq, fC)]) | |
1283 | 1279 | if ((hq == hq)) | |
1284 | 1280 | then { | |
1285 | 1281 | let gK = cP(hm, (cf + max([0, fn]))) | |
1286 | 1282 | let hr = [ScriptTransfer(ab, cf, fU)] | |
1287 | 1283 | let hi = if ((fn > 0)) | |
1288 | 1284 | then [ScriptTransfer(be, fn, fU)] | |
1289 | 1285 | else nil | |
1290 | 1286 | let hs = { | |
1291 | 1287 | let ht = if ((this == be)) | |
1292 | 1288 | then 0 | |
1293 | 1289 | else fn | |
1294 | 1290 | if (fW) | |
1295 | 1291 | then $Tuple2(-((cf + ht)), 0) | |
1296 | 1292 | else $Tuple2(0, -((cf + ht))) | |
1297 | 1293 | } | |
1298 | 1294 | let eJ = hs._1 | |
1299 | 1295 | let eK = hs._2 | |
1300 | 1296 | let hu = eI(eJ, eK, 0) | |
1301 | 1297 | let gT = hu._1 | |
1302 | 1298 | let ez = hu._2 | |
1303 | 1299 | let gU = eN(eH, ez) | |
1304 | 1300 | if ((gU == gU)) | |
1305 | 1301 | then $Tuple2(((((et ++ gK) ++ hr) ++ hi) ++ gT), cf) | |
1306 | 1302 | else throw("Strict value is not equal to itself.") | |
1307 | 1303 | } | |
1308 | 1304 | else throw("Strict value is not equal to itself.") | |
1309 | 1305 | } | |
1310 | 1306 | else throw("Strict value is not equal to itself.") | |
1311 | 1307 | } | |
1312 | 1308 | else throw("Strict value is not equal to itself.") | |
1313 | 1309 | } | |
1314 | 1310 | else throw("Strict value is not equal to itself.") | |
1315 | 1311 | } | |
1316 | 1312 | ||
1317 | 1313 | ||
1318 | 1314 | ||
1319 | 1315 | @Callable(fb) | |
1320 | 1316 | func getOneTknREADONLY (fU,fC) = { | |
1321 | 1317 | let hv = fT(bn(fU), fC, bw, unit, unit) | |
1322 | 1318 | let hp = hv._1 | |
1323 | 1319 | let et = hv._2 | |
1324 | 1320 | let fn = hv._3 | |
1325 | 1321 | let he = hv._4 | |
1326 | 1322 | let fW = hv._5 | |
1327 | 1323 | $Tuple2(nil, $Tuple3(hp, fn, he)) | |
1328 | 1324 | } | |
1329 | 1325 | ||
1330 | 1326 | ||
1331 | 1327 | ||
1332 | 1328 | @Callable(fb) | |
1333 | 1329 | func unstakeAndGetOneTkn (hw,hm,gY) = { | |
1334 | 1330 | let ha = { | |
1335 | 1331 | let bg = invoke(bd, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1336 | 1332 | if ($isInstanceOf(bg, "Boolean")) | |
1337 | 1333 | then bg | |
1338 | 1334 | else throw(($getType(bg) + " couldn't be cast to Boolean")) | |
1339 | 1335 | } | |
1340 | 1336 | let hn = if (if (bi()) | |
1341 | 1337 | then true | |
1342 | 1338 | else (bv == n)) | |
1343 | 1339 | then true | |
1344 | 1340 | else ha | |
1345 | 1341 | let fV = [if (if (!(hn)) | |
1346 | 1342 | then true | |
1347 | 1343 | else gp(fb)) | |
1348 | 1344 | then true | |
1349 | 1345 | else ba("get operation is blocked by admin"), if ((size(fb.payments) == 0)) | |
1350 | 1346 | then true | |
1351 | 1347 | else ba("no payments are expected")] | |
1352 | 1348 | if ((fV == fV)) | |
1353 | 1349 | then { | |
1354 | 1350 | let fU = bn(hm) | |
1355 | 1351 | let ab = fb.caller | |
1356 | 1352 | let ac = fb.transactionId | |
1357 | 1353 | let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1358 | 1354 | if ((eH == eH)) | |
1359 | 1355 | then { | |
1360 | 1356 | let hx = invoke(bC, "unstake", [toBase58String(bw), hw], nil) | |
1361 | 1357 | if ((hx == hx)) | |
1362 | 1358 | then { | |
1363 | 1359 | let hy = fT(fU, hw, bw, ab, ac) | |
1364 | 1360 | if ((hy == hy)) | |
1365 | 1361 | then { | |
1366 | 1362 | let fW = hy._5 | |
1367 | 1363 | let he = hy._4 | |
1368 | 1364 | let fn = hy._3 | |
1369 | 1365 | let et = hy._2 | |
1370 | 1366 | let hp = hy._1 | |
1371 | 1367 | let cf = if (if ((gY > 0)) | |
1372 | 1368 | then (gY > hp) | |
1373 | 1369 | else false) | |
1374 | 1370 | then ba(makeString(["amount to receive is less than ", toString(gY)], "")) | |
1375 | 1371 | else hp | |
1376 | 1372 | let hq = invoke(bd, "burn", [hw], [AttachedPayment(bw, hw)]) | |
1377 | 1373 | if ((hq == hq)) | |
1378 | 1374 | then { | |
1379 | 1375 | let gK = cP(hm, (cf + max([0, fn]))) | |
1380 | 1376 | let hr = [ScriptTransfer(fb.caller, cf, fU)] | |
1381 | 1377 | let hi = if ((fn > 0)) | |
1382 | 1378 | then [ScriptTransfer(be, fn, fU)] | |
1383 | 1379 | else nil | |
1384 | 1380 | let hz = { | |
1385 | 1381 | let ht = if ((this == be)) | |
1386 | 1382 | then 0 | |
1387 | 1383 | else fn | |
1388 | 1384 | if (fW) | |
1389 | 1385 | then $Tuple2(-((cf + ht)), 0) | |
1390 | 1386 | else $Tuple2(0, -((cf + ht))) | |
1391 | 1387 | } | |
1392 | 1388 | let eJ = hz._1 | |
1393 | 1389 | let eK = hz._2 | |
1394 | 1390 | let hA = eI(eJ, eK, 0) | |
1395 | 1391 | let gT = hA._1 | |
1396 | 1392 | let ez = hA._2 | |
1397 | 1393 | let gU = eN(eH, ez) | |
1398 | 1394 | if ((gU == gU)) | |
1399 | 1395 | then $Tuple2(((((et ++ gK) ++ hr) ++ hi) ++ gT), cf) | |
1400 | 1396 | else throw("Strict value is not equal to itself.") | |
1401 | 1397 | } | |
1402 | 1398 | else throw("Strict value is not equal to itself.") | |
1403 | 1399 | } | |
1404 | 1400 | else throw("Strict value is not equal to itself.") | |
1405 | 1401 | } | |
1406 | 1402 | else throw("Strict value is not equal to itself.") | |
1407 | 1403 | } | |
1408 | 1404 | else throw("Strict value is not equal to itself.") | |
1409 | 1405 | } | |
1410 | 1406 | else throw("Strict value is not equal to itself.") | |
1411 | 1407 | } | |
1412 | 1408 | ||
1413 | 1409 | ||
1414 | 1410 | ||
1415 | 1411 | @Callable(fb) | |
1416 | 1412 | func get () = { | |
1417 | 1413 | let ee = fa(fb) | |
1418 | 1414 | let dK = ee._1 | |
1419 | 1415 | let dL = ee._2 | |
1420 | 1416 | let fd = ee._3 | |
1421 | 1417 | let dt = ee._4 | |
1422 | 1418 | let dM = ee._5 | |
1423 | 1419 | let gK = cU(dK, dL) | |
1424 | 1420 | let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1425 | 1421 | if ((eH == eH)) | |
1426 | 1422 | then { | |
1427 | 1423 | let hB = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)]) | |
1428 | 1424 | if ((hB == hB)) | |
1429 | 1425 | then { | |
1430 | 1426 | let hC = eI(-(dK), -(dL), 0) | |
1431 | 1427 | let gT = hC._1 | |
1432 | 1428 | let ez = hC._2 | |
1433 | 1429 | let gU = eN(eH, ez) | |
1434 | 1430 | if ((gU == gU)) | |
1435 | 1431 | then ((gK ++ dM) ++ gT) | |
1436 | 1432 | else throw("Strict value is not equal to itself.") | |
1437 | 1433 | } | |
1438 | 1434 | else throw("Strict value is not equal to itself.") | |
1439 | 1435 | } | |
1440 | 1436 | else throw("Strict value is not equal to itself.") | |
1441 | 1437 | } | |
1442 | 1438 | ||
1443 | 1439 | ||
1444 | 1440 | ||
1445 | 1441 | @Callable(fb) | |
1446 | 1442 | func getNoLess (hD,hE) = { | |
1447 | 1443 | let ee = fa(fb) | |
1448 | 1444 | let dK = ee._1 | |
1449 | 1445 | let dL = ee._2 | |
1450 | 1446 | let fd = ee._3 | |
1451 | 1447 | let dt = ee._4 | |
1452 | 1448 | let dM = ee._5 | |
1453 | 1449 | if ((hD > dK)) | |
1454 | 1450 | then throw(((("noLessThenAmtAsset failed: " + toString(dK)) + " < ") + toString(hD))) | |
1455 | 1451 | else if ((hE > dL)) | |
1456 | 1452 | then throw(((("noLessThenPriceAsset failed: " + toString(dL)) + " < ") + toString(hE))) | |
1457 | 1453 | else { | |
1458 | 1454 | let gK = cU(dK, dL) | |
1459 | 1455 | let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1460 | 1456 | if ((eH == eH)) | |
1461 | 1457 | then { | |
1462 | 1458 | let hB = invoke(bd, "burn", [fd], [AttachedPayment(dt, fd)]) | |
1463 | 1459 | if ((hB == hB)) | |
1464 | 1460 | then { | |
1465 | 1461 | let hF = eI(-(dK), -(dL), 0) | |
1466 | 1462 | let gT = hF._1 | |
1467 | 1463 | let ez = hF._2 | |
1468 | 1464 | let gU = eN(eH, ez) | |
1469 | 1465 | if ((gU == gU)) | |
1470 | 1466 | then ((gK ++ dM) ++ gT) | |
1471 | 1467 | else throw("Strict value is not equal to itself.") | |
1472 | 1468 | } | |
1473 | 1469 | else throw("Strict value is not equal to itself.") | |
1474 | 1470 | } | |
1475 | 1471 | else throw("Strict value is not equal to itself.") | |
1476 | 1472 | } | |
1477 | 1473 | } | |
1478 | 1474 | ||
1479 | 1475 | ||
1480 | 1476 | ||
1481 | 1477 | @Callable(fb) | |
1482 | 1478 | func unstakeAndGet (cf) = { | |
1483 | 1479 | let hG = if ((size(fb.payments) != 0)) | |
1484 | 1480 | then throw("No payments are expected") | |
1485 | 1481 | else true | |
1486 | 1482 | if ((hG == hG)) | |
1487 | 1483 | then { | |
1488 | 1484 | let di = bk() | |
1489 | 1485 | let dv = fromBase58String(di[q]) | |
1490 | 1486 | let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1491 | 1487 | if ((eH == eH)) | |
1492 | 1488 | then { | |
1493 | 1489 | let hx = invoke(bC, "unstake", [toBase58String(dv), cf], nil) | |
1494 | 1490 | if ((hx == hx)) | |
1495 | 1491 | then { | |
1496 | 1492 | let ee = dr(toBase58String(fb.transactionId), toBase58String(dv), cf, fb.caller) | |
1497 | 1493 | let dK = ee._1 | |
1498 | 1494 | let dL = ee._2 | |
1499 | 1495 | let dy = parseIntValue(ee._9) | |
1500 | 1496 | let dM = ee._10 | |
1501 | 1497 | let gK = cU(dK, dL) | |
1502 | 1498 | let hH = if (if (bi()) | |
1503 | 1499 | then true | |
1504 | 1500 | else (dy == n)) | |
1505 | 1501 | then throw(("Get operation is blocked by admin. Status = " + toString(dy))) | |
1506 | 1502 | else true | |
1507 | 1503 | if ((hH == hH)) | |
1508 | 1504 | then { | |
1509 | 1505 | let hB = invoke(bd, "burn", [cf], [AttachedPayment(dv, cf)]) | |
1510 | 1506 | if ((hB == hB)) | |
1511 | 1507 | then { | |
1512 | 1508 | let hI = eI(-(dK), -(dL), 0) | |
1513 | 1509 | let gT = hI._1 | |
1514 | 1510 | let ez = hI._2 | |
1515 | 1511 | let gU = eN(eH, ez) | |
1516 | 1512 | if ((gU == gU)) | |
1517 | 1513 | then ((gK ++ dM) ++ gT) | |
1518 | 1514 | else throw("Strict value is not equal to itself.") | |
1519 | 1515 | } | |
1520 | 1516 | else throw("Strict value is not equal to itself.") | |
1521 | 1517 | } | |
1522 | 1518 | else throw("Strict value is not equal to itself.") | |
1523 | 1519 | } | |
1524 | 1520 | else throw("Strict value is not equal to itself.") | |
1525 | 1521 | } | |
1526 | 1522 | else throw("Strict value is not equal to itself.") | |
1527 | 1523 | } | |
1528 | 1524 | else throw("Strict value is not equal to itself.") | |
1529 | 1525 | } | |
1530 | 1526 | ||
1531 | 1527 | ||
1532 | 1528 | ||
1533 | 1529 | @Callable(fb) | |
1534 | 1530 | func unstakeAndGetNoLess (hw,hJ,hE) = { | |
1535 | 1531 | let hn = if (bi()) | |
1536 | 1532 | then true | |
1537 | 1533 | else (bv == n) | |
1538 | 1534 | let fV = [if (!(hn)) | |
1539 | 1535 | then true | |
1540 | 1536 | else throw("get operation is blocked by admin"), if ((size(fb.payments) == 0)) | |
1541 | 1537 | then true | |
1542 | 1538 | else throw("no payments are expected")] | |
1543 | 1539 | if ((fV == fV)) | |
1544 | 1540 | then { | |
1545 | 1541 | let eH = eA(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1546 | 1542 | if ((eH == eH)) | |
1547 | 1543 | then { | |
1548 | 1544 | let hx = invoke(bC, "unstake", [toBase58String(bw), hw], nil) | |
1549 | 1545 | if ((hx == hx)) | |
1550 | 1546 | then { | |
1551 | 1547 | let ee = dr(toBase58String(fb.transactionId), toBase58String(bw), hw, fb.caller) | |
1552 | 1548 | let dK = ee._1 | |
1553 | 1549 | let dL = ee._2 | |
1554 | 1550 | let dM = ee._10 | |
1555 | 1551 | let gK = cU(dK, dL) | |
1556 | 1552 | let hK = [if ((dK >= hJ)) | |
1557 | 1553 | then true | |
1558 | 1554 | else throw(makeString(["amount asset amount to receive is less than ", toString(hJ)], "")), if ((dL >= hE)) | |
1559 | 1555 | then true | |
1560 | 1556 | else throw(makeString(["price asset amount to receive is less than ", toString(hE)], ""))] | |
1561 | 1557 | if ((hK == hK)) | |
1562 | 1558 | then { | |
1563 | 1559 | let hB = invoke(bd, "burn", [hw], [AttachedPayment(bw, hw)]) | |
1564 | 1560 | if ((hB == hB)) | |
1565 | 1561 | then { | |
1566 | 1562 | let hL = eI(-(dK), -(dL), 0) | |
1567 | 1563 | let gT = hL._1 | |
1568 | 1564 | let ez = hL._2 | |
1569 | 1565 | let gU = eN(eH, ez) | |
1570 | 1566 | if ((gU == gU)) | |
1571 | 1567 | then ((gK ++ dM) ++ gT) | |
1572 | 1568 | else throw("Strict value is not equal to itself.") | |
1573 | 1569 | } | |
1574 | 1570 | else throw("Strict value is not equal to itself.") | |
1575 | 1571 | } | |
1576 | 1572 | else throw("Strict value is not equal to itself.") | |
1577 | 1573 | } | |
1578 | 1574 | else throw("Strict value is not equal to itself.") | |
1579 | 1575 | } | |
1580 | 1576 | else throw("Strict value is not equal to itself.") | |
1581 | 1577 | } | |
1582 | 1578 | else throw("Strict value is not equal to itself.") | |
1583 | 1579 | } | |
1584 | 1580 | ||
1585 | 1581 | ||
1586 | 1582 | ||
1587 | 1583 | @Callable(fb) | |
1588 | 1584 | func activate (hM,hN) = if ((toString(fb.caller) != toString(bd))) | |
1589 | 1585 | then throw("permissions denied") | |
1590 | 1586 | else $Tuple2([StringEntry(ae(), hM), StringEntry(af(), hN)], "success") | |
1591 | 1587 | ||
1592 | 1588 | ||
1593 | 1589 | ||
1594 | 1590 | @Callable(fb) | |
1595 | 1591 | func refreshKLp () = { | |
1596 | 1592 | let hO = valueOrElse(getInteger(ak), 0) | |
1597 | 1593 | let hP = if (((height - hO) >= an)) | |
1598 | 1594 | then unit | |
1599 | 1595 | else ba(makeString([toString(an), " blocks have not passed since the previous call"], "")) | |
1600 | 1596 | if ((hP == hP)) | |
1601 | 1597 | then { | |
1602 | 1598 | let eU = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, aj), "0")), bc("invalid kLp")) | |
1603 | 1599 | let hQ = eI(0, 0, 0) | |
1604 | 1600 | let hR = hQ._1 | |
1605 | 1601 | let ez = hQ._2 | |
1606 | 1602 | let eL = if ((eU != ez)) | |
1607 | 1603 | then hR | |
1608 | 1604 | else ba("nothing to refresh") | |
1609 | 1605 | $Tuple2(eL, toString(ez)) | |
1610 | 1606 | } | |
1611 | 1607 | else throw("Strict value is not equal to itself.") | |
1612 | 1608 | } | |
1613 | 1609 | ||
1614 | 1610 | ||
1615 | 1611 | ||
1616 | 1612 | @Callable(fb) | |
1617 | 1613 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, bk()) | |
1618 | 1614 | ||
1619 | 1615 | ||
1620 | 1616 | ||
1621 | 1617 | @Callable(fb) | |
1622 | 1618 | func getAccBalanceWrapperREADONLY (ap) = $Tuple2(nil, bT(ap)) | |
1623 | 1619 | ||
1624 | 1620 | ||
1625 | 1621 | ||
1626 | 1622 | @Callable(fb) | |
1627 | 1623 | func calcPricesWrapperREADONLY (dc,dd,dh) = { | |
1628 | 1624 | let dq = dg(dc, dd, dh) | |
1629 | 1625 | $Tuple2(nil, [toString(dq[0]), toString(dq[1]), toString(dq[2])]) | |
1630 | 1626 | } | |
1631 | 1627 | ||
1632 | 1628 | ||
1633 | 1629 | ||
1634 | 1630 | @Callable(fb) | |
1635 | 1631 | func toX18WrapperREADONLY (E,F) = $Tuple2(nil, toString(D(E, F))) | |
1636 | 1632 | ||
1637 | 1633 | ||
1638 | 1634 | ||
1639 | 1635 | @Callable(fb) | |
1640 | 1636 | func fromX18WrapperREADONLY (I,J) = $Tuple2(nil, H(parseBigIntValue(I), J)) | |
1641 | 1637 | ||
1642 | 1638 | ||
1643 | 1639 | ||
1644 | 1640 | @Callable(fb) | |
1645 | 1641 | func calcPriceBigIntWrapperREADONLY (bX,bY) = $Tuple2(nil, toString(bW(parseBigIntValue(bX), parseBigIntValue(bY)))) | |
1646 | 1642 | ||
1647 | 1643 | ||
1648 | 1644 | ||
1649 | 1645 | @Callable(fb) | |
1650 | 1646 | func estimatePutOperationWrapperREADONLY (ds,dO,dP,dQ,dR,dS,ab,dT,dU) = $Tuple2(nil, dN(ds, dO, dP, dQ, dR, dS, ab, dT, dU)) | |
1651 | 1647 | ||
1652 | 1648 | ||
1653 | 1649 | ||
1654 | 1650 | @Callable(fb) | |
1655 | 1651 | func estimateGetOperationWrapperREADONLY (ds,dt,du,ab) = { | |
1656 | 1652 | let ee = dr(ds, dt, du, addressFromStringValue(ab)) | |
1657 | 1653 | $Tuple2(nil, $Tuple10(ee._1, ee._2, ee._3, ee._4, ee._5, ee._6, ee._7, toString(ee._8), ee._9, ee._10)) | |
1658 | 1654 | } | |
1659 | 1655 | ||
1660 | 1656 | ||
1661 | 1657 | ||
1662 | 1658 | @Callable(fb) | |
1663 | 1659 | func statsREADONLY () = { | |
1664 | 1660 | let di = bk() | |
1665 | 1661 | let dv = fromBase58String(di[q]) | |
1666 | 1662 | let hS = di[r] | |
1667 | 1663 | let hT = di[s] | |
1668 | 1664 | let dX = di[v] | |
1669 | 1665 | let dY = di[w] | |
1670 | 1666 | let dj = parseIntValue(di[t]) | |
1671 | 1667 | let dk = parseIntValue(di[u]) | |
1672 | 1668 | let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity | |
1673 | 1669 | let hV = bT(hS) | |
1674 | 1670 | let hW = bT(hT) | |
1675 | 1671 | let hX = if ((hU == 0)) | |
1676 | 1672 | then [e, e, e] | |
1677 | 1673 | else dg(hV, hW, hU) | |
1678 | 1674 | let dF = 0 | |
1679 | 1675 | let hY = H(hX[1], b) | |
1680 | 1676 | let hZ = H(hX[2], b) | |
1681 | 1677 | let ia = value(getInteger(bd, aD(toString(this)))) | |
1682 | 1678 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(hV), toString(hW), toString(hU), toString(dF), toString(hY), toString(hZ), toString(ia)], j)) | |
1683 | 1679 | } | |
1684 | 1680 | ||
1685 | 1681 | ||
1686 | 1682 | ||
1687 | 1683 | @Callable(fb) | |
1688 | 1684 | func evaluatePutByAmountAssetREADONLY (dP) = { | |
1689 | 1685 | let di = bk() | |
1690 | 1686 | let dv = fromBase58String(di[q]) | |
1691 | 1687 | let dV = di[r] | |
1692 | 1688 | let dw = fromBase58String(dV) | |
1693 | 1689 | let dW = di[s] | |
1694 | 1690 | let dx = fromBase58String(dW) | |
1695 | 1691 | let dj = parseIntValue(di[t]) | |
1696 | 1692 | let dk = parseIntValue(di[u]) | |
1697 | 1693 | let dy = di[p] | |
1698 | 1694 | let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity | |
1699 | 1695 | let hV = bT(dV) | |
1700 | 1696 | let hW = bT(dW) | |
1701 | 1697 | let de = D(hV, dj) | |
1702 | 1698 | let df = D(hW, dk) | |
1703 | 1699 | let dE = if ((hU == 0)) | |
1704 | 1700 | then e | |
1705 | 1701 | else bW(df, de) | |
1706 | 1702 | let eb = D(dP, dj) | |
1707 | 1703 | let ec = fraction(eb, dE, d) | |
1708 | 1704 | let dR = H(ec, dk) | |
1709 | 1705 | let fh = dN("", 500000, dP, dw, dR, dx, "", true, false) | |
1710 | 1706 | let em = fh._1 | |
1711 | 1707 | let ib = fh._3 | |
1712 | 1708 | let dA = fh._4 | |
1713 | 1709 | let dC = fh._5 | |
1714 | 1710 | let dz = fh._6 | |
1715 | 1711 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(em), toString(H(dE, b)), toString(dA), toString(dC), toString(dz), dy, toString(dP), toString(dR)], j)) | |
1716 | 1712 | } | |
1717 | 1713 | ||
1718 | 1714 | ||
1719 | 1715 | ||
1720 | 1716 | @Callable(fb) | |
1721 | 1717 | func evaluatePutByPriceAssetREADONLY (dR) = { | |
1722 | 1718 | let di = bk() | |
1723 | 1719 | let dv = fromBase58String(di[q]) | |
1724 | 1720 | let dV = di[r] | |
1725 | 1721 | let dw = fromBase58String(dV) | |
1726 | 1722 | let dW = di[s] | |
1727 | 1723 | let dx = fromBase58String(dW) | |
1728 | 1724 | let dj = parseIntValue(di[t]) | |
1729 | 1725 | let dk = parseIntValue(di[u]) | |
1730 | 1726 | let dy = di[p] | |
1731 | 1727 | let hU = valueOrErrorMessage(assetInfo(dv), (("Asset " + toBase58String(dv)) + " doesn't exist")).quantity | |
1732 | 1728 | let ic = bT(dV) | |
1733 | 1729 | let id = bT(dW) | |
1734 | 1730 | let ie = D(ic, dj) | |
1735 | 1731 | let if = D(id, dk) | |
1736 | 1732 | let dE = if ((hU == 0)) | |
1737 | 1733 | then e | |
1738 | 1734 | else bW(if, ie) | |
1739 | 1735 | let ec = D(dR, dk) | |
1740 | 1736 | let eb = fraction(ec, d, dE) | |
1741 | 1737 | let dP = H(eb, dj) | |
1742 | 1738 | let fh = dN("", 500000, dP, dw, dR, dx, "", true, false) | |
1743 | 1739 | let em = fh._1 | |
1744 | 1740 | let ib = fh._3 | |
1745 | 1741 | let dA = fh._4 | |
1746 | 1742 | let dC = fh._5 | |
1747 | 1743 | let dz = fh._6 | |
1748 | 1744 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(em), toString(H(dE, b)), toString(dA), toString(dC), toString(dz), dy, toString(dP), toString(dR)], j)) | |
1749 | 1745 | } | |
1750 | 1746 | ||
1751 | 1747 | ||
1752 | 1748 | ||
1753 | 1749 | @Callable(fb) | |
1754 | 1750 | func evaluateGetREADONLY (ig,ih) = { | |
1755 | 1751 | let ee = dr("", ig, ih, this) | |
1756 | 1752 | let dK = ee._1 | |
1757 | 1753 | let dL = ee._2 | |
1758 | 1754 | let dA = ee._5 | |
1759 | 1755 | let dC = ee._6 | |
1760 | 1756 | let dz = ee._7 | |
1761 | 1757 | let dF = ee._8 | |
1762 | 1758 | let dy = parseIntValue(ee._9) | |
1763 | 1759 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dK), toString(dL), toString(dA), toString(dC), toString(dz), toString(dF), toString(dy)], j)) | |
1764 | 1760 | } | |
1765 | 1761 | ||
1766 | 1762 | ||
1767 | 1763 | @Verifier(ii) | |
1768 | 1764 | func ij () = { | |
1769 | 1765 | let ik = { | |
1770 | 1766 | let aQ = gn() | |
1771 | 1767 | if ($isInstanceOf(aQ, "ByteVector")) | |
1772 | 1768 | then { | |
1773 | 1769 | let gq = aQ | |
1774 | 1770 | gq | |
1775 | 1771 | } | |
1776 | 1772 | else if ($isInstanceOf(aQ, "Unit")) | |
1777 | 1773 | then ii.senderPublicKey | |
1778 | 1774 | else throw("Match error") | |
1779 | 1775 | } | |
1780 | 1776 | let aQ = ii | |
1781 | 1777 | if ($isInstanceOf(aQ, "Order")) | |
1782 | 1778 | then { | |
1783 | 1779 | let eQ = aQ | |
1784 | 1780 | let il = bj() | |
1785 | 1781 | let im = if (eM()) | |
1786 | 1782 | then $Tuple2(true, "") | |
1787 | 1783 | else eP(eQ) | |
1788 | 1784 | let aK = im._1 | |
1789 | 1785 | let aL = im._2 | |
1790 | 1786 | let aM = sigVerify(eQ.bodyBytes, eQ.proofs[0], eQ.senderPublicKey) | |
1791 | 1787 | let aN = sigVerify(eQ.bodyBytes, eQ.proofs[1], il) | |
1792 | 1788 | if (if (if (aK) | |
1793 | 1789 | then aM | |
1794 | 1790 | else false) | |
1795 | 1791 | then aN | |
1796 | 1792 | else false) | |
1797 | 1793 | then true | |
1798 | 1794 | else aJ(aK, aL, aM, aN) | |
1799 | 1795 | } | |
1800 | 1796 | else if ($isInstanceOf(aQ, "SetScriptTransaction")) | |
1801 | 1797 | then { | |
1802 | 1798 | let aV = aQ | |
1803 | 1799 | if (sigVerify(ii.bodyBytes, ii.proofs[0], ik)) | |
1804 | 1800 | then true | |
1805 | 1801 | else { | |
1806 | 1802 | let in = blake2b256(value(aV.script)) | |
1807 | 1803 | let io = fromBase64String(value(getString(bd, aF()))) | |
1808 | 1804 | let ip = scriptHash(this) | |
1809 | 1805 | if ((io == in)) | |
1810 | 1806 | then (ip != in) | |
1811 | 1807 | else false | |
1812 | 1808 | } | |
1813 | 1809 | } | |
1814 | 1810 | else sigVerify(ii.bodyBytes, ii.proofs[0], ik) | |
1815 | 1811 | } | |
1816 | 1812 |
github/deemru/w8io/026f985 150.98 ms ◑