tx · 8fDPDeWMp6dV65kqM4o7gtiMPZFsAg8nwDfBrNTwKv4j 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA: -0.03400000 Waves 2022.09.14 17:49 [2228914] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves
{ "type": 13, "id": "8fDPDeWMp6dV65kqM4o7gtiMPZFsAg8nwDfBrNTwKv4j", "fee": 3400000, "feeAssetId": null, "timestamp": 1663166988521, "version": 2, "chainId": 84, "sender": "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA", "senderPublicKey": "35yd3qw1gxKDxKwGAykHN9fANbXNWwseaUwbWDj24o3x", "proofs": [ "3dP7xNoYRbP83DWWsegBqQgLnykk8VbR8pz9pErUpTZQ96DYsHT5VYyKDNhfJHE6Nu85v2jNA4hXoCR9Uett2bf" ], "script": "base64:BgKcAQgCEgMKAQgSAwoBCBIAEgQKAgEEEgcKBQEBAQEEEgQKAgEEEgQKAgEIEgQKAgEIEgMKAQESABIECgIIARIECgIIARIECgIBARIDCgEBEgYKBAEBCAESBAoCCAgSBAoCCAgSBAoCCAESABIDCgEIEgUKAwEBARIECgIIARIECgIBARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCFMABnNjYWxlOACAwtcvAAxzY2FsZThCaWdJbnQJALYCAQCAwtcvAAdzY2FsZTE4CQC2AgEAgICQu7rWrfANAAp6ZXJvQmlnSW50CQC2AgEAAAAJb25lQmlnSW50CQC2AgEAAQAKc2xpcHBhZ2U0RAkAtgIBCQBlAgUGc2NhbGU4CQBpAgkAaAIFBnNjYWxlOAABBQZzY2FsZTgABUFtdWx0AgMxMDAABURjb252AgExAANTRVACAl9fAAVFTVBUWQIAAApQb29sQWN0aXZlAAEAClBvb2xQdXREaXMAAgAOUG9vbE1hdGNoZXJEaXMAAwAMUG9vbFNodXRkb3duAAQADmlkeFBvb2xBZGRyZXNzAAEACWlkeFBvb2xTdAACAAlpZHhMUEFzSWQAAwA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QdWJsaWNLZXkEDG1hdGNoZXJWYWxpZAkA9AMDCAUFb3JkZXIJYm9keUJ5dGVzCQCRAwIIBQVvcmRlcgZwcm9vZnMAAQUKbWF0Y2hlclB1YgMDAwUKb3JkZXJWYWxpZAULc2VuZGVyVmFsaWQHBQxtYXRjaGVyVmFsaWQHBgkBA3RvZQMFCm9yZGVyVmFsaWQFC3NlbmRlclZhbGlkBQxtYXRjaGVyVmFsaWQDCQABAgUHJG1hdGNoMAIUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAXMFByRtYXRjaDAEB25ld0hhc2gJAPYDAQkBBXZhbHVlAQgFAXMGc2NyaXB0BAthbGxvd2VkSGFzaAkA2wQBCQEFdmFsdWUBCQCdCAIFA2ZjYQkBHGtleUFsbG93ZWRMcFN0YWJsZVNjcmlwdEhhc2gABAtjdXJyZW50SGFzaAkA8QcBBQR0aGlzAwMJAAACBQthbGxvd2VkSGFzaAUHbmV3SGFzaAkBAiE9AgULY3VycmVudEhhc2gFB25ld0hhc2gHBgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V5CQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXmkyHSu", "height": 2228914, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FWRCYY4zue6snFDicJRebUw6dB8rWpyb7KNVM8TUAQR3 Next: 4XM7x2UoFYqjdbEK5qAuH3vromHThVdSG39uBJCAqx7L Diff:
Old | New | Differences | |
---|---|---|---|
865 | 865 | let dF = cC._7 | |
866 | 866 | let ew = if ((eu == bO)) | |
867 | 867 | then { | |
868 | - | let ex = | |
868 | + | let ex = (et * bZ) | |
869 | 869 | $Tuple2(et, ex) | |
870 | 870 | } | |
871 | 871 | else { | |
872 | - | let ey = | |
872 | + | let ey = (et / bZ) | |
873 | 873 | $Tuple2(ey, et) | |
874 | 874 | } | |
875 | 875 | let ey = ew._1 |
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 | let b = toBigInt(100000000) | |
7 | 7 | ||
8 | 8 | let c = toBigInt(1000000000000000000) | |
9 | 9 | ||
10 | 10 | let d = toBigInt(0) | |
11 | 11 | ||
12 | 12 | let e = toBigInt(1) | |
13 | 13 | ||
14 | 14 | let f = toBigInt((a - ((a * 1) / a))) | |
15 | 15 | ||
16 | 16 | let g = "100" | |
17 | 17 | ||
18 | 18 | let h = "1" | |
19 | 19 | ||
20 | 20 | let i = "__" | |
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 = 1 | |
51 | 51 | ||
52 | 52 | let y = 7 | |
53 | 53 | ||
54 | 54 | let z = 10 | |
55 | 55 | ||
56 | 56 | let A = "%s__delay" | |
57 | 57 | ||
58 | 58 | func B (C,D) = fraction(toBigInt(C), c, toBigInt(D)) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func E (F,G) = toInt(fraction(F, toBigInt(G), c)) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func H (I,J,K) = fraction(I, J, K) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func L (F) = if ((d > F)) | |
68 | 68 | then -(F) | |
69 | 69 | else F | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func M () = "%s__factoryContract" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func N () = "%s__managerPublicKey" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func O () = "%s__pendingManagerPublicKey" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func P () = "%s%s__price__last" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func Q (R,S) = makeString(["%s%s%d%d__price__history", toString(R), toString(S)], i) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func T (U,V) = ((("%s%s%s__P__" + U) + "__") + V) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func W (U,V) = ((("%s%s%s__G__" + U) + "__") + V) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func X () = "%s__amountAsset" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func Y () = "%s__priceAsset" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func Z () = "%s__amp" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func aa () = "%s__addonAddr" | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func ab (ac) = makeString(["%s%s__lastGetOneTknCall", ac], i) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func ad (ac) = makeString(["%s%s__lastPutOneTknCall", ac], i) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func ae () = "%s__factoryConfig" | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func af () = "%s%s__matcher__publicKey" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func ag (ah,ai) = (((("%d%d%s__" + ah) + "__") + ai) + "__config") | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func aj (ak) = ("%s%s%s__mappings__baseAsset2internalId__" + ak) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func al () = "%s__shutdown" | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func am () = "%s__allowedLpStableScriptHash" | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func an (ao,ap,aq) = throw(((((("Failed: ordValid=" + toString(ao)) + " sndrValid=") + toString(ap)) + " mtchrValid=") + toString(aq))) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ar (F) = { | |
133 | 133 | let as = F | |
134 | 134 | if ($isInstanceOf(as, "String")) | |
135 | 135 | then { | |
136 | 136 | let at = as | |
137 | 137 | at | |
138 | 138 | } | |
139 | 139 | else throw("fail cast to String") | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func au (av,aw) = valueOrErrorMessage(getString(av, aw), makeString(["mandatory ", toString(av), ".", aw, " not defined"], "")) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ax (av,aw) = valueOrErrorMessage(getInteger(av, aw), makeString(["mandatory ", toString(av), ".", aw, " not defined"], "")) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | let ay = addressFromStringValue(au(this, M())) | |
150 | 150 | ||
151 | 151 | let az = au(this, Z()) | |
152 | 152 | ||
153 | 153 | func aA () = valueOrElse(getBoolean(ay, al()), false) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func aB () = fromBase58String(au(ay, af())) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func aC () = { | |
160 | 160 | let aD = au(this, X()) | |
161 | 161 | let aE = au(this, Y()) | |
162 | 162 | let aF = ax(ay, aj(aE)) | |
163 | 163 | let ah = ax(ay, aj(aD)) | |
164 | 164 | split(au(ay, ag(toString(ah), toString(aF))), i) | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func aG () = split(au(ay, ae()), i) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | let aH = aG() | |
172 | 172 | ||
173 | 173 | let aI = valueOrErrorMessage(addressFromString(aH[x]), "Invalid staking contract address") | |
174 | 174 | ||
175 | 175 | let aJ = valueOrErrorMessage(addressFromString(aH[y]), "Invalid slipage contract address") | |
176 | 176 | ||
177 | 177 | let aK = valueOrErrorMessage(addressFromString(aH[z]), "Invalid gwx contract address") | |
178 | 178 | ||
179 | 179 | func aL (aM,aN,aO,aP,aQ,aR,aS,aT,aU,aV) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(aM), toString(aN), toString(aO), toString(aP), toString(aQ), toString(aR), toString(aS), toString(aT), toString(aU), toString(aV)], i) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func aW (aX,aY,aZ,aP,aS,aT) = makeString(["%d%d%d%d%d%d", toString(aX), toString(aY), toString(aZ), toString(aP), toString(aS), toString(aT)], i) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func ba (bb) = if ((bb == "WAVES")) | |
186 | 186 | then wavesBalance(this).available | |
187 | 187 | else assetBalance(this, fromBase58String(bb)) | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func bc (bd,be) = fraction(bd, c, be) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func bf (bg,bh,bi) = { | |
194 | 194 | let bj = fraction((bg - bh), b, bh) | |
195 | 195 | let bk = ((bi - L(bj)) > d) | |
196 | 196 | if (!(bk)) | |
197 | 197 | then throw(("Big slpg: " + toString(bj))) | |
198 | 198 | else $Tuple2(bk, min([bg, bh])) | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func bl (bm,bn,bo) = { | |
203 | 203 | let bj = fraction(bn, b, bm) | |
204 | 204 | let bp = (bo > bj) | |
205 | 205 | if (if (bp) | |
206 | 206 | then true | |
207 | 207 | else (bn > bm)) | |
208 | 208 | then throw(((((((toString(bn) + " ") + toString(bm)) + " ") + toString(bj)) + " ") + toString(bo))) | |
209 | 209 | else bp | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func bq (br,bs,bt,bu) = { | |
214 | 214 | let bv = B(bt, br) | |
215 | 215 | let bw = B(bu, bs) | |
216 | 216 | bc(bw, bv) | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func bx (bt,bu,by) = { | |
221 | 221 | let bz = aC() | |
222 | 222 | let bA = parseIntValue(bz[t]) | |
223 | 223 | let bB = parseIntValue(bz[u]) | |
224 | 224 | let bC = bq(bA, bB, bt, bu) | |
225 | 225 | let be = B(bt, bA) | |
226 | 226 | let bd = B(bu, bB) | |
227 | 227 | let bD = B(by, a) | |
228 | 228 | let bE = bc(be, bD) | |
229 | 229 | let bF = bc(bd, bD) | |
230 | 230 | [bC, bE, bF] | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func bG (bt,bu,by) = { | |
235 | 235 | let bH = bx(bt, bu, by) | |
236 | 236 | [E(bH[0], a), E(bH[1], a), E(bH[2], a)] | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | func bI (bJ,bK,bL,bM) = { | |
241 | 241 | let bz = aC() | |
242 | 242 | let bN = bz[q] | |
243 | 243 | let bO = bz[r] | |
244 | 244 | let bP = bz[s] | |
245 | 245 | let bQ = parseIntValue(bz[t]) | |
246 | 246 | let bR = parseIntValue(bz[u]) | |
247 | 247 | let bS = bz[p] | |
248 | 248 | let bT = valueOrErrorMessage(assetInfo(fromBase58String(bN)), "Wrong LP id").quantity | |
249 | 249 | if ((bN != bK)) | |
250 | 250 | then throw("Wrong pmt asset") | |
251 | 251 | else { | |
252 | 252 | let bU = ba(bO) | |
253 | 253 | let bV = B(bU, bQ) | |
254 | 254 | let bW = ba(bP) | |
255 | 255 | let bX = B(bW, bR) | |
256 | 256 | let bY = bc(bX, bV) | |
257 | 257 | let bZ = E(bY, a) | |
258 | 258 | let ca = B(bL, a) | |
259 | 259 | let cb = B(bT, a) | |
260 | 260 | let cc = fraction(bV, ca, cb) | |
261 | 261 | let cd = fraction(bX, ca, cb) | |
262 | 262 | let ce = E(cc, bQ) | |
263 | 263 | let cf = E(cd, bR) | |
264 | 264 | let cg = if ((bJ == "")) | |
265 | 265 | then nil | |
266 | 266 | else [ScriptTransfer(bM, ce, if ((bO == "WAVES")) | |
267 | 267 | then unit | |
268 | 268 | else fromBase58String(bO)), ScriptTransfer(bM, cf, if ((bP == "WAVES")) | |
269 | 269 | then unit | |
270 | 270 | else fromBase58String(bP)), StringEntry(W(toString(bM), bJ), aW(ce, cf, bL, bZ, height, lastBlock.timestamp)), IntegerEntry(P(), bZ), IntegerEntry(Q(height, lastBlock.timestamp), bZ)] | |
271 | 271 | $Tuple10(ce, cf, bO, bP, bU, bW, bT, bY, bS, cg) | |
272 | 272 | } | |
273 | 273 | } | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | func ch (bJ,bi,ci,cj,ck,cl,bM,cm,cn,co,cp,cq,cr) = { | |
277 | 277 | let bz = aC() | |
278 | 278 | let bN = fromBase58String(bz[q]) | |
279 | 279 | let cs = bz[r] | |
280 | 280 | let ct = bz[s] | |
281 | 281 | let cu = bz[v] | |
282 | 282 | let cv = bz[w] | |
283 | 283 | let cw = parseIntValue(bz[t]) | |
284 | 284 | let cx = parseIntValue(bz[u]) | |
285 | 285 | let bS = bz[p] | |
286 | 286 | let cy = valueOrErrorMessage(assetInfo(bN), "Wr lp as").quantity | |
287 | 287 | let bU = if (cm) | |
288 | 288 | then ba(cs) | |
289 | 289 | else if (if (co) | |
290 | 290 | then (cr == cs) | |
291 | 291 | else false) | |
292 | 292 | then (ba(cs) - cq) | |
293 | 293 | else if (co) | |
294 | 294 | then ba(cs) | |
295 | 295 | else (ba(cs) - ci) | |
296 | 296 | let bW = if (cm) | |
297 | 297 | then ba(ct) | |
298 | 298 | else if (if (co) | |
299 | 299 | then (cr == ct) | |
300 | 300 | else false) | |
301 | 301 | then (ba(ct) - cq) | |
302 | 302 | else if (co) | |
303 | 303 | then ba(ct) | |
304 | 304 | else (ba(ct) - ck) | |
305 | 305 | let cz = B(ci, cw) | |
306 | 306 | let cA = B(ck, cx) | |
307 | 307 | let cB = bc(cA, cz) | |
308 | 308 | let bV = B(bU, cw) | |
309 | 309 | let bX = B(bW, cx) | |
310 | 310 | let cC = if ((cy == 0)) | |
311 | 311 | then { | |
312 | 312 | let bY = d | |
313 | 313 | let cD = d | |
314 | 314 | let bD = pow((cz * cA), 0, toBigInt(5), 1, 0, DOWN) | |
315 | 315 | $Tuple5(E(bD, a), E(cz, cw), E(cA, cx), bc((bX + cA), (bV + cz)), cD) | |
316 | 316 | } | |
317 | 317 | else { | |
318 | 318 | let bY = bc(bX, bV) | |
319 | 319 | let cE = fraction(L((bY - cB)), c, bY) | |
320 | 320 | let cD = B(bi, a) | |
321 | 321 | if (if (if (cp) | |
322 | 322 | then (bY != d) | |
323 | 323 | else false) | |
324 | 324 | then (cE > cD) | |
325 | 325 | else false) | |
326 | 326 | then throw(((("Price slippage " + toString(cE)) + " > ") + toString(cD))) | |
327 | 327 | else { | |
328 | 328 | let cF = B(cy, a) | |
329 | 329 | let cG = fraction(cz, bY, c) | |
330 | 330 | let cH = fraction(cA, c, bY) | |
331 | 331 | let cI = if ((cG > cA)) | |
332 | 332 | then $Tuple2(cH, cA) | |
333 | 333 | else $Tuple2(cz, cG) | |
334 | 334 | let cJ = cI._1 | |
335 | 335 | let cK = cI._2 | |
336 | 336 | let bD = fraction(cF, cK, bX) | |
337 | 337 | $Tuple5(E(bD, a), E(cJ, cw), E(cK, cx), bY, cD) | |
338 | 338 | } | |
339 | 339 | } | |
340 | 340 | let cL = cC._1 | |
341 | 341 | let cM = cC._2 | |
342 | 342 | let cN = cC._3 | |
343 | 343 | let bZ = E(cC._4, a) | |
344 | 344 | let cO = E(cC._5, a) | |
345 | 345 | if ((0 >= cL)) | |
346 | 346 | then throw("LP <= 0") | |
347 | 347 | else { | |
348 | 348 | let cP = if (!(cn)) | |
349 | 349 | then 0 | |
350 | 350 | else cL | |
351 | 351 | let cQ = (ci - cM) | |
352 | 352 | let cR = (ck - cN) | |
353 | 353 | let cS = if (if (co) | |
354 | 354 | then (cr == cs) | |
355 | 355 | else false) | |
356 | 356 | then $Tuple2(cq, 0) | |
357 | 357 | else if (if (co) | |
358 | 358 | then (cr == ct) | |
359 | 359 | else false) | |
360 | 360 | then $Tuple2(0, cq) | |
361 | 361 | else $Tuple2(cM, cN) | |
362 | 362 | let cT = cS._1 | |
363 | 363 | let cU = cS._2 | |
364 | 364 | let cV = [IntegerEntry(P(), bZ), IntegerEntry(Q(height, lastBlock.timestamp), bZ), StringEntry(T(bM, bJ), aL(cT, cU, cP, bZ, bi, cO, height, lastBlock.timestamp, cQ, cR))] | |
365 | 365 | $Tuple13(cL, cP, bZ, bU, bW, cy, bN, bS, cV, cQ, cR, cj, cl) | |
366 | 366 | } | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | func cW (cX) = { | |
371 | 371 | let bz = aC() | |
372 | 372 | let cY = bz[r] | |
373 | 373 | let cZ = bz[s] | |
374 | 374 | let bS = parseIntValue(bz[p]) | |
375 | 375 | let bA = parseIntValue(bz[t]) | |
376 | 376 | let bB = parseIntValue(bz[u]) | |
377 | 377 | let da = ba(cY) | |
378 | 378 | let db = ba(cZ) | |
379 | 379 | let bY = if ((cX.orderType == Buy)) | |
380 | 380 | then bq(bA, bB, (da + cX.amount), db) | |
381 | 381 | else bq(bA, bB, (da - cX.amount), db) | |
382 | 382 | let bZ = E(bY, a) | |
383 | 383 | if (if (if (aA()) | |
384 | 384 | then true | |
385 | 385 | else (bS == m)) | |
386 | 386 | then true | |
387 | 387 | else (bS == n)) | |
388 | 388 | then throw("Admin blocked") | |
389 | 389 | else { | |
390 | 390 | let dc = cX.assetPair.amountAsset | |
391 | 391 | let dd = if ((dc == unit)) | |
392 | 392 | then "WAVES" | |
393 | 393 | else toBase58String(value(dc)) | |
394 | 394 | let de = cX.assetPair.priceAsset | |
395 | 395 | let df = if ((de == unit)) | |
396 | 396 | then "WAVES" | |
397 | 397 | else toBase58String(value(de)) | |
398 | 398 | if (if ((dd != cY)) | |
399 | 399 | then true | |
400 | 400 | else (df != cZ)) | |
401 | 401 | then throw("Wr assets") | |
402 | 402 | else { | |
403 | 403 | let dg = cX.price | |
404 | 404 | let cx = fraction(a, bB, bA) | |
405 | 405 | let dh = H(dg, a, cx) | |
406 | 406 | let di = if ((cX.orderType == Buy)) | |
407 | 407 | then (bZ >= dh) | |
408 | 408 | else (dh >= bZ) | |
409 | 409 | true | |
410 | 410 | } | |
411 | 411 | } | |
412 | 412 | } | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | func dj (dk) = if ((size(dk.payments) != 1)) | |
416 | 416 | then throw("1 pmnt exp") | |
417 | 417 | else { | |
418 | 418 | let dl = value(dk.payments[0]) | |
419 | 419 | let bK = value(dl.assetId) | |
420 | 420 | let cq = dl.amount | |
421 | 421 | let cC = bI(toBase58String(dk.transactionId), toBase58String(bK), cq, dk.caller) | |
422 | 422 | let ce = cC._1 | |
423 | 423 | let cf = cC._2 | |
424 | 424 | let bS = parseIntValue(cC._9) | |
425 | 425 | let cg = cC._10 | |
426 | 426 | if (if (aA()) | |
427 | 427 | then true | |
428 | 428 | else (bS == n)) | |
429 | 429 | then throw(("Admin blocked: " + toString(bS))) | |
430 | 430 | else $Tuple5(ce, cf, cq, bK, cg) | |
431 | 431 | } | |
432 | 432 | ||
433 | 433 | ||
434 | 434 | func dm (ac,V,dn,do,bi,cn,co,cp,cq,cr) = { | |
435 | 435 | let cC = ch(V, bi, value(dn).amount, value(dn).assetId, value(do).amount, value(do).assetId, ac, false, cn, co, cp, cq, cr) | |
436 | 436 | let bS = parseIntValue(cC._8) | |
437 | 437 | if (if (if (aA()) | |
438 | 438 | then true | |
439 | 439 | else (bS == l)) | |
440 | 440 | then true | |
441 | 441 | else (bS == n)) | |
442 | 442 | then throw(("Blocked:" + toString(bS))) | |
443 | 443 | else cC | |
444 | 444 | } | |
445 | 445 | ||
446 | 446 | ||
447 | 447 | func dp (cq,bK,bM,V) = { | |
448 | 448 | let dq = aC() | |
449 | 449 | let bO = dq[r] | |
450 | 450 | let bP = dq[s] | |
451 | 451 | let bU = ba(bO) | |
452 | 452 | let bW = ba(bP) | |
453 | 453 | let dr = if ((V == "")) | |
454 | 454 | then $Tuple2(bU, bW) | |
455 | 455 | else if ((bK == bO)) | |
456 | 456 | then if ((cq > bU)) | |
457 | 457 | then throw("invalid payment amount") | |
458 | 458 | else $Tuple2((bU - cq), bW) | |
459 | 459 | else if ((bK == bP)) | |
460 | 460 | then if ((cq > bW)) | |
461 | 461 | then throw("invalid payment amount") | |
462 | 462 | else $Tuple2(bU, (bW - cq)) | |
463 | 463 | else throw("wrong pmtAssetId") | |
464 | 464 | let ds = dr._1 | |
465 | 465 | let dt = dr._2 | |
466 | 466 | let du = if ((bK == bO)) | |
467 | 467 | then $Tuple2(ds, dt) | |
468 | 468 | else $Tuple2(dt, ds) | |
469 | 469 | let dv = du._1 | |
470 | 470 | let dw = du._2 | |
471 | 471 | let dx = 1 | |
472 | 472 | let dy = { | |
473 | 473 | let dz = invoke(aK, "calcPutXOnly", [toString(cq), toString(dv), toString(dw), "", az, g, toString(dx), h], nil) | |
474 | 474 | if ($isInstanceOf(dz, "(Int, Int)")) | |
475 | 475 | then dz | |
476 | 476 | else throw(($getType(invoke(aK, "calcPutXOnly", [toString(cq), toString(dv), toString(dw), "", az, g, toString(dx), h], nil)) + " couldn't be cast to (Int, Int)")) | |
477 | 477 | } | |
478 | 478 | let dA = if ((bK == bO)) | |
479 | 479 | then dy | |
480 | 480 | else $Tuple2(dy._2, dy._1) | |
481 | 481 | let dB = dA._1 | |
482 | 482 | let dC = dA._2 | |
483 | 483 | let dD = dm(bM, V, AttachedPayment(fromBase58String(bO), dB), AttachedPayment(fromBase58String(bP), dC), 0, true, true, false, cq, bK) | |
484 | 484 | let dE = dD._2 | |
485 | 485 | let dF = dD._7 | |
486 | 486 | let cg = dD._9 | |
487 | 487 | let cQ = dD._10 | |
488 | 488 | let cR = dD._11 | |
489 | 489 | dD | |
490 | 490 | } | |
491 | 491 | ||
492 | 492 | ||
493 | 493 | func dG () = { | |
494 | 494 | let as = getString(N()) | |
495 | 495 | if ($isInstanceOf(as, "String")) | |
496 | 496 | then { | |
497 | 497 | let dH = as | |
498 | 498 | fromBase58String(dH) | |
499 | 499 | } | |
500 | 500 | else if ($isInstanceOf(as, "Unit")) | |
501 | 501 | then unit | |
502 | 502 | else throw("Match error") | |
503 | 503 | } | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | func dI () = { | |
507 | 507 | let as = getString(O()) | |
508 | 508 | if ($isInstanceOf(as, "String")) | |
509 | 509 | then { | |
510 | 510 | let dH = as | |
511 | 511 | fromBase58String(dH) | |
512 | 512 | } | |
513 | 513 | else if ($isInstanceOf(as, "Unit")) | |
514 | 514 | then unit | |
515 | 515 | else throw("Match error") | |
516 | 516 | } | |
517 | 517 | ||
518 | 518 | ||
519 | 519 | let dJ = throw("Permission denied") | |
520 | 520 | ||
521 | 521 | func dK (dk) = { | |
522 | 522 | let as = dG() | |
523 | 523 | if ($isInstanceOf(as, "ByteVector")) | |
524 | 524 | then { | |
525 | 525 | let dL = as | |
526 | 526 | if ((dk.callerPublicKey == dL)) | |
527 | 527 | then true | |
528 | 528 | else dJ | |
529 | 529 | } | |
530 | 530 | else if ($isInstanceOf(as, "Unit")) | |
531 | 531 | then if ((dk.caller == this)) | |
532 | 532 | then true | |
533 | 533 | else dJ | |
534 | 534 | else throw("Match error") | |
535 | 535 | } | |
536 | 536 | ||
537 | 537 | ||
538 | 538 | @Callable(dk) | |
539 | 539 | func constructor (M) = { | |
540 | 540 | let dM = dK(dk) | |
541 | 541 | if ((dM == dM)) | |
542 | 542 | then [StringEntry(M(), M)] | |
543 | 543 | else throw("Strict value is not equal to itself.") | |
544 | 544 | } | |
545 | 545 | ||
546 | 546 | ||
547 | 547 | ||
548 | 548 | @Callable(dk) | |
549 | 549 | func setManager (dN) = { | |
550 | 550 | let dM = dK(dk) | |
551 | 551 | if ((dM == dM)) | |
552 | 552 | then { | |
553 | 553 | let dO = fromBase58String(dN) | |
554 | 554 | if ((dO == dO)) | |
555 | 555 | then [StringEntry(O(), dN)] | |
556 | 556 | else throw("Strict value is not equal to itself.") | |
557 | 557 | } | |
558 | 558 | else throw("Strict value is not equal to itself.") | |
559 | 559 | } | |
560 | 560 | ||
561 | 561 | ||
562 | 562 | ||
563 | 563 | @Callable(dk) | |
564 | 564 | func confirmManager () = { | |
565 | 565 | let bH = dI() | |
566 | 566 | let dP = if (isDefined(bH)) | |
567 | 567 | then true | |
568 | 568 | else throw("No pending manager") | |
569 | 569 | if ((dP == dP)) | |
570 | 570 | then { | |
571 | 571 | let dQ = if ((dk.callerPublicKey == value(bH))) | |
572 | 572 | then true | |
573 | 573 | else throw("You are not pending manager") | |
574 | 574 | if ((dQ == dQ)) | |
575 | 575 | then [StringEntry(N(), toBase58String(value(bH))), DeleteEntry(O())] | |
576 | 576 | else throw("Strict value is not equal to itself.") | |
577 | 577 | } | |
578 | 578 | else throw("Strict value is not equal to itself.") | |
579 | 579 | } | |
580 | 580 | ||
581 | 581 | ||
582 | 582 | ||
583 | 583 | @Callable(dk) | |
584 | 584 | func put (dR,dS) = { | |
585 | 585 | let dT = aG() | |
586 | 586 | let dU = valueOrErrorMessage(addressFromString(dT[x]), "Wr st addr") | |
587 | 587 | let dV = valueOrErrorMessage(addressFromString(dT[y]), "Wr sl addr") | |
588 | 588 | if ((0 > dR)) | |
589 | 589 | then throw("Wrong slippage") | |
590 | 590 | else if ((size(dk.payments) != 2)) | |
591 | 591 | then throw("2 pmnts expd") | |
592 | 592 | else { | |
593 | 593 | let dW = dm(toString(dk.caller), toBase58String(dk.transactionId), AttachedPayment(value(dk.payments[0]).assetId, value(dk.payments[0]).amount), dk.payments[1], dR, true, false, true, 0, "") | |
594 | 594 | let cP = dW._2 | |
595 | 595 | let dF = dW._7 | |
596 | 596 | let cg = dW._9 | |
597 | 597 | let cQ = dW._10 | |
598 | 598 | let cR = dW._11 | |
599 | 599 | let bO = dW._12 | |
600 | 600 | let bP = dW._13 | |
601 | 601 | let cC = invoke(ay, "emit", [cP], nil) | |
602 | 602 | if ((cC == cC)) | |
603 | 603 | then { | |
604 | 604 | let dX = { | |
605 | 605 | let as = cC | |
606 | 606 | if ($isInstanceOf(as, "Address")) | |
607 | 607 | then { | |
608 | 608 | let dY = as | |
609 | 609 | invoke(dY, "emit", [cP], nil) | |
610 | 610 | } | |
611 | 611 | else unit | |
612 | 612 | } | |
613 | 613 | if ((dX == dX)) | |
614 | 614 | then { | |
615 | 615 | let dZ = if ((cQ > 0)) | |
616 | 616 | then invoke(dV, "put", nil, [AttachedPayment(bO, cQ)]) | |
617 | 617 | else nil | |
618 | 618 | if ((dZ == dZ)) | |
619 | 619 | then { | |
620 | 620 | let ea = if ((cR > 0)) | |
621 | 621 | then invoke(dV, "put", nil, [AttachedPayment(bP, cR)]) | |
622 | 622 | else nil | |
623 | 623 | if ((ea == ea)) | |
624 | 624 | then { | |
625 | 625 | let eb = if (dS) | |
626 | 626 | then { | |
627 | 627 | let ec = invoke(dU, "stake", nil, [AttachedPayment(dF, cP)]) | |
628 | 628 | if ((ec == ec)) | |
629 | 629 | then nil | |
630 | 630 | else throw("Strict value is not equal to itself.") | |
631 | 631 | } | |
632 | 632 | else [ScriptTransfer(dk.caller, cP, dF)] | |
633 | 633 | (cg ++ eb) | |
634 | 634 | } | |
635 | 635 | else throw("Strict value is not equal to itself.") | |
636 | 636 | } | |
637 | 637 | else throw("Strict value is not equal to itself.") | |
638 | 638 | } | |
639 | 639 | else throw("Strict value is not equal to itself.") | |
640 | 640 | } | |
641 | 641 | else throw("Strict value is not equal to itself.") | |
642 | 642 | } | |
643 | 643 | } | |
644 | 644 | ||
645 | 645 | ||
646 | 646 | ||
647 | 647 | @Callable(dk) | |
648 | 648 | func putOneTkn (dB,dC,ed,bi,dS) = { | |
649 | 649 | let bz = aG() | |
650 | 650 | let dU = valueOrErrorMessage(addressFromString(bz[x]), "Wr st addr") | |
651 | 651 | let dV = valueOrErrorMessage(addressFromString(bz[y]), "Wr sl addr") | |
652 | 652 | let ee = valueOrErrorMessage(addressFromString(bz[z]), "Wr gwx addr") | |
653 | 653 | let ef = aC() | |
654 | 654 | let bO = ef[r] | |
655 | 655 | let bP = ef[s] | |
656 | 656 | let bQ = parseIntValue(ef[t]) | |
657 | 657 | let bR = parseIntValue(ef[u]) | |
658 | 658 | let eg = valueOrElse(getString(this, aa()), "") | |
659 | 659 | let bM = if ((eg == toString(dk.caller))) | |
660 | 660 | then dk.originCaller | |
661 | 661 | else dk.caller | |
662 | 662 | let eh = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
663 | 663 | let ei = reentrantInvoke(eh, "ensureCanPutOneTkn", [toString(bM)], nil) | |
664 | 664 | if ((ei == ei)) | |
665 | 665 | then if (if (if (if ((0 >= bi)) | |
666 | 666 | then true | |
667 | 667 | else (0 >= dB)) | |
668 | 668 | then true | |
669 | 669 | else (0 >= dC)) | |
670 | 670 | then true | |
671 | 671 | else (0 >= ed)) | |
672 | 672 | then throw("Wrong params") | |
673 | 673 | else if ((size(dk.payments) != 1)) | |
674 | 674 | then throw("1 pmnt expd") | |
675 | 675 | else { | |
676 | 676 | let dl = value(dk.payments[0]) | |
677 | 677 | let bK = toBase58String(value(dl.assetId)) | |
678 | 678 | let cq = dl.amount | |
679 | 679 | if ((10000000 > cq)) | |
680 | 680 | then throw("Wrong pmt amt") | |
681 | 681 | else { | |
682 | 682 | let bU = ba(bO) | |
683 | 683 | let bW = ba(bP) | |
684 | 684 | let ej = if ((bK == bO)) | |
685 | 685 | then if (if ((cq > bU)) | |
686 | 686 | then true | |
687 | 687 | else (dB > cq)) | |
688 | 688 | then throw("invalid payment amount") | |
689 | 689 | else $Tuple6((bU - cq), bW, (cq - dB), dC, 0, 0) | |
690 | 690 | else if ((bK == bP)) | |
691 | 691 | then if (if ((cq > bW)) | |
692 | 692 | then true | |
693 | 693 | else (dC > cq)) | |
694 | 694 | then throw("invalid payment amount") | |
695 | 695 | else $Tuple6(bU, (bW - cq), 0, 0, (cq - dC), dB) | |
696 | 696 | else throw("wrong pmtAssetId") | |
697 | 697 | let ds = ej._1 | |
698 | 698 | let dt = ej._2 | |
699 | 699 | let ek = ej._3 | |
700 | 700 | let el = ej._4 | |
701 | 701 | let em = ej._5 | |
702 | 702 | let en = ej._6 | |
703 | 703 | let bn = invoke(ee, "calcD", [toString(ds), toString(dt), az, g, h], nil) | |
704 | 704 | let bm = invoke(ee, "calcD", [toString(toBigInt(((ds + ek) - en))), toString(toBigInt(((dt + em) - el))), az, g, h], nil) | |
705 | 705 | let eo = bl(parseBigIntValue(ar(bm)), parseBigIntValue(ar(bn)), f) | |
706 | 706 | if ((eo == eo)) | |
707 | 707 | then { | |
708 | 708 | let dD = dm(toString(dk.caller), toBase58String(dk.transactionId), AttachedPayment(fromBase58String(bO), dB), AttachedPayment(fromBase58String(bP), dC), bi, true, true, true, cq, bK) | |
709 | 709 | let dE = dD._2 | |
710 | 710 | let dF = dD._7 | |
711 | 711 | let cg = dD._9 | |
712 | 712 | let cQ = dD._10 | |
713 | 713 | let cR = dD._11 | |
714 | 714 | let ep = bf(toBigInt(dE), toBigInt(ed), toBigInt(bi)) | |
715 | 715 | let cP = toInt(ep._2) | |
716 | 716 | let dW = invoke(ay, "emit", [cP], nil) | |
717 | 717 | if ((dW == dW)) | |
718 | 718 | then { | |
719 | 719 | let dX = { | |
720 | 720 | let as = dW | |
721 | 721 | if ($isInstanceOf(as, "Address")) | |
722 | 722 | then { | |
723 | 723 | let dY = as | |
724 | 724 | invoke(dY, "emit", [cP], nil) | |
725 | 725 | } | |
726 | 726 | else unit | |
727 | 727 | } | |
728 | 728 | if ((dX == dX)) | |
729 | 729 | then { | |
730 | 730 | let dZ = if ((cQ > 0)) | |
731 | 731 | then invoke(dV, "put", nil, [AttachedPayment(fromBase58String(bO), cQ)]) | |
732 | 732 | else nil | |
733 | 733 | if ((dZ == dZ)) | |
734 | 734 | then { | |
735 | 735 | let ea = if ((cR > 0)) | |
736 | 736 | then invoke(dV, "put", nil, [AttachedPayment(fromBase58String(bP), cR)]) | |
737 | 737 | else nil | |
738 | 738 | if ((ea == ea)) | |
739 | 739 | then { | |
740 | 740 | let eb = if (dS) | |
741 | 741 | then { | |
742 | 742 | let ec = invoke(dU, "stake", nil, [AttachedPayment(dF, cP)]) | |
743 | 743 | if ((ec == ec)) | |
744 | 744 | then nil | |
745 | 745 | else throw("Strict value is not equal to itself.") | |
746 | 746 | } | |
747 | 747 | else [ScriptTransfer(dk.caller, cP, dF)] | |
748 | 748 | (cg ++ eb) | |
749 | 749 | } | |
750 | 750 | else throw("Strict value is not equal to itself.") | |
751 | 751 | } | |
752 | 752 | else throw("Strict value is not equal to itself.") | |
753 | 753 | } | |
754 | 754 | else throw("Strict value is not equal to itself.") | |
755 | 755 | } | |
756 | 756 | else throw("Strict value is not equal to itself.") | |
757 | 757 | } | |
758 | 758 | else throw("Strict value is not equal to itself.") | |
759 | 759 | } | |
760 | 760 | } | |
761 | 761 | else throw("Strict value is not equal to itself.") | |
762 | 762 | } | |
763 | 763 | ||
764 | 764 | ||
765 | 765 | ||
766 | 766 | @Callable(dk) | |
767 | 767 | func putOneTknV2 (eq,dS) = if ((size(dk.payments) != 1)) | |
768 | 768 | then throw("1 pmnt expd") | |
769 | 769 | else { | |
770 | 770 | let dq = aC() | |
771 | 771 | let bO = dq[r] | |
772 | 772 | let bP = dq[s] | |
773 | 773 | let er = parseIntValue(dq[t]) | |
774 | 774 | let es = parseIntValue(dq[u]) | |
775 | 775 | let bM = if ((dk.caller == this)) | |
776 | 776 | then dk.originCaller | |
777 | 777 | else dk.caller | |
778 | 778 | let dl = value(dk.payments[0]) | |
779 | 779 | let bK = toBase58String(value(dl.assetId)) | |
780 | 780 | let cq = dl.amount | |
781 | 781 | if ((10000000 > cq)) | |
782 | 782 | then throw("Wrong pmt amt") | |
783 | 783 | else { | |
784 | 784 | let cC = dp(cq, bK, toString(bM), toBase58String(dk.transactionId)) | |
785 | 785 | let dE = cC._2 | |
786 | 786 | let dF = cC._7 | |
787 | 787 | let cg = cC._9 | |
788 | 788 | let cQ = cC._10 | |
789 | 789 | let cR = cC._11 | |
790 | 790 | let cP = if (if ((eq > 0)) | |
791 | 791 | then (eq > dE) | |
792 | 792 | else false) | |
793 | 793 | then throw(makeString(["amount to receive is less than ", toString(eq)], "")) | |
794 | 794 | else dE | |
795 | 795 | let dW = invoke(ay, "emit", [cP], nil) | |
796 | 796 | if ((dW == dW)) | |
797 | 797 | then { | |
798 | 798 | let dX = { | |
799 | 799 | let as = dW | |
800 | 800 | if ($isInstanceOf(as, "Address")) | |
801 | 801 | then { | |
802 | 802 | let dY = as | |
803 | 803 | invoke(dY, "emit", [cP], nil) | |
804 | 804 | } | |
805 | 805 | else unit | |
806 | 806 | } | |
807 | 807 | if ((dX == dX)) | |
808 | 808 | then { | |
809 | 809 | let dZ = if ((cQ > 0)) | |
810 | 810 | then invoke(aJ, "put", nil, [AttachedPayment(fromBase58String(bO), cQ)]) | |
811 | 811 | else nil | |
812 | 812 | if ((dZ == dZ)) | |
813 | 813 | then { | |
814 | 814 | let ea = if ((cR > 0)) | |
815 | 815 | then invoke(aJ, "put", nil, [AttachedPayment(fromBase58String(bP), cR)]) | |
816 | 816 | else nil | |
817 | 817 | if ((ea == ea)) | |
818 | 818 | then { | |
819 | 819 | let eb = if (dS) | |
820 | 820 | then { | |
821 | 821 | let ec = invoke(aI, "stake", nil, [AttachedPayment(dF, cP)]) | |
822 | 822 | if ((ec == ec)) | |
823 | 823 | then nil | |
824 | 824 | else throw("Strict value is not equal to itself.") | |
825 | 825 | } | |
826 | 826 | else [ScriptTransfer(dk.caller, cP, dF)] | |
827 | 827 | $Tuple2((cg ++ eb), cP) | |
828 | 828 | } | |
829 | 829 | else throw("Strict value is not equal to itself.") | |
830 | 830 | } | |
831 | 831 | else throw("Strict value is not equal to itself.") | |
832 | 832 | } | |
833 | 833 | else throw("Strict value is not equal to itself.") | |
834 | 834 | } | |
835 | 835 | else throw("Strict value is not equal to itself.") | |
836 | 836 | } | |
837 | 837 | } | |
838 | 838 | ||
839 | 839 | ||
840 | 840 | ||
841 | 841 | @Callable(dk) | |
842 | 842 | func putOneTknV2READONLY (et,eu) = { | |
843 | 843 | let cC = dp(et, eu, "", "") | |
844 | 844 | let dE = cC._2 | |
845 | 845 | let dF = cC._7 | |
846 | 846 | let cg = cC._9 | |
847 | 847 | let cQ = cC._10 | |
848 | 848 | let cR = cC._11 | |
849 | 849 | $Tuple2(nil, dE) | |
850 | 850 | } | |
851 | 851 | ||
852 | 852 | ||
853 | 853 | ||
854 | 854 | @Callable(dk) | |
855 | 855 | func putOneTknV2WithBonusREADONLY (et,eu) = { | |
856 | 856 | let dq = aC() | |
857 | 857 | let bO = dq[r] | |
858 | 858 | let bP = dq[s] | |
859 | 859 | let bU = ba(bO) | |
860 | 860 | let bW = ba(bP) | |
861 | 861 | let cC = dp(et, eu, "", "") | |
862 | 862 | let dE = cC._2 | |
863 | 863 | let bZ = cC._3 | |
864 | 864 | let ev = cC._6 | |
865 | 865 | let dF = cC._7 | |
866 | 866 | let ew = if ((eu == bO)) | |
867 | 867 | then { | |
868 | - | let ex = | |
868 | + | let ex = (et * bZ) | |
869 | 869 | $Tuple2(et, ex) | |
870 | 870 | } | |
871 | 871 | else { | |
872 | - | let ey = | |
872 | + | let ey = (et / bZ) | |
873 | 873 | $Tuple2(ey, et) | |
874 | 874 | } | |
875 | 875 | let ey = ew._1 | |
876 | 876 | let ex = ew._2 | |
877 | 877 | let ez = fraction(ev, ex, bW) | |
878 | 878 | let eA = if ((eu == bO)) | |
879 | 879 | then (ey / dE) | |
880 | 880 | else (ex / dE) | |
881 | 881 | let eB = ((ex + ey) / ez) | |
882 | 882 | let eC = ((eA - eB) / eA) | |
883 | 883 | $Tuple2(nil, eA) | |
884 | 884 | } | |
885 | 885 | ||
886 | 886 | ||
887 | 887 | ||
888 | 888 | @Callable(dk) | |
889 | 889 | func putForFree (eD) = if ((0 > eD)) | |
890 | 890 | then throw("Wrong slpg") | |
891 | 891 | else if ((size(dk.payments) != 2)) | |
892 | 892 | then throw("2 pmnts expd") | |
893 | 893 | else { | |
894 | 894 | let dD = dm(toString(dk.caller), toBase58String(dk.transactionId), AttachedPayment(value(dk.payments[0]).assetId, value(dk.payments[0]).amount), dk.payments[1], eD, false, false, true, 0, "") | |
895 | 895 | dD._9 | |
896 | 896 | } | |
897 | 897 | ||
898 | 898 | ||
899 | 899 | ||
900 | 900 | @Callable(dk) | |
901 | 901 | func get () = { | |
902 | 902 | let cC = dj(dk) | |
903 | 903 | let eE = cC._1 | |
904 | 904 | let cf = cC._2 | |
905 | 905 | let cq = cC._3 | |
906 | 906 | let bK = cC._4 | |
907 | 907 | let cg = cC._5 | |
908 | 908 | let eF = invoke(ay, "burn", [cq], [AttachedPayment(bK, cq)]) | |
909 | 909 | if ((eF == eF)) | |
910 | 910 | then cg | |
911 | 911 | else throw("Strict value is not equal to itself.") | |
912 | 912 | } | |
913 | 913 | ||
914 | 914 | ||
915 | 915 | ||
916 | 916 | @Callable(dk) | |
917 | 917 | func getOneTknV2 (eG,eq) = if ((size(dk.payments) != 1)) | |
918 | 918 | then throw("1 pmnt expd") | |
919 | 919 | else { | |
920 | 920 | let dq = aC() | |
921 | 921 | let bN = dq[q] | |
922 | 922 | let bO = dq[r] | |
923 | 923 | let bP = dq[s] | |
924 | 924 | let er = parseIntValue(dq[t]) | |
925 | 925 | let es = parseIntValue(dq[u]) | |
926 | 926 | let eH = dq[p] | |
927 | 927 | let bM = if ((dk.caller == this)) | |
928 | 928 | then dk.originCaller | |
929 | 929 | else dk.caller | |
930 | 930 | let dl = value(dk.payments[0]) | |
931 | 931 | let bK = value(dl.assetId) | |
932 | 932 | let cq = dl.amount | |
933 | 933 | if ((1000000000 > cq)) | |
934 | 934 | then throw("Min pmt 10 LP") | |
935 | 935 | else { | |
936 | 936 | let bJ = toBase58String(dk.transactionId) | |
937 | 937 | if ((bN != toBase58String(bK))) | |
938 | 938 | then throw("Wrong LP") | |
939 | 939 | else { | |
940 | 940 | let bU = ba(bO) | |
941 | 941 | let bW = ba(bP) | |
942 | 942 | let eI = { | |
943 | 943 | let dz = invoke(this, "getOneTknV2READONLY", [eG, cq], nil) | |
944 | 944 | if ($isInstanceOf(dz, "Int")) | |
945 | 945 | then dz | |
946 | 946 | else throw(($getType(invoke(this, "getOneTknV2READONLY", [eG, cq], nil)) + " couldn't be cast to Int")) | |
947 | 947 | } | |
948 | 948 | let eJ = if (if ((eq > 0)) | |
949 | 949 | then (eq > eI) | |
950 | 950 | else false) | |
951 | 951 | then throw(makeString(["amount to receive is less than ", toString(eq)], "")) | |
952 | 952 | else eI | |
953 | 953 | let eK = if ((eG == bO)) | |
954 | 954 | then $Tuple2(eJ, 0) | |
955 | 955 | else $Tuple2(0, eJ) | |
956 | 956 | let eL = eK._1 | |
957 | 957 | let eM = eK._2 | |
958 | 958 | let eN = bc(B(bW, es), B(bU, er)) | |
959 | 959 | let eO = E(eN, a) | |
960 | 960 | let cg = [ScriptTransfer(bM, eJ, if ((eG == "WAVES")) | |
961 | 961 | then unit | |
962 | 962 | else fromBase58String(eG)), StringEntry(W(toString(bM), bJ), aW(eL, eM, cq, eO, height, lastBlock.timestamp)), IntegerEntry(P(), eO), IntegerEntry(Q(height, lastBlock.timestamp), eO)] | |
963 | 963 | if ((cg == cg)) | |
964 | 964 | then { | |
965 | 965 | let eP = invoke(ay, "burn", [cq], [AttachedPayment(bK, cq)]) | |
966 | 966 | if ((eP == eP)) | |
967 | 967 | then $Tuple2(cg, eJ) | |
968 | 968 | else throw("Strict value is not equal to itself.") | |
969 | 969 | } | |
970 | 970 | else throw("Strict value is not equal to itself.") | |
971 | 971 | } | |
972 | 972 | } | |
973 | 973 | } | |
974 | 974 | ||
975 | 975 | ||
976 | 976 | ||
977 | 977 | @Callable(dk) | |
978 | 978 | func getOneTknV2READONLY (eG,eQ) = { | |
979 | 979 | let dq = aC() | |
980 | 980 | let bN = dq[q] | |
981 | 981 | let bO = dq[r] | |
982 | 982 | let bP = dq[s] | |
983 | 983 | let cC = bI("", bN, eQ, this) | |
984 | 984 | let eR = cC._1 | |
985 | 985 | let eS = cC._2 | |
986 | 986 | let bU = ba(bO) | |
987 | 987 | let bW = ba(bP) | |
988 | 988 | let ds = (bU - eR) | |
989 | 989 | let dt = (bW - eS) | |
990 | 990 | let eT = if ((eG == bO)) | |
991 | 991 | then $Tuple3(dt, ds, eS) | |
992 | 992 | else if ((eG == bP)) | |
993 | 993 | then $Tuple3(ds, dt, eR) | |
994 | 994 | else throw("wrong outAssetId") | |
995 | 995 | let eU = eT._1 | |
996 | 996 | let eV = eT._2 | |
997 | 997 | let eW = eT._3 | |
998 | 998 | let eX = 1 | |
999 | 999 | let eY = { | |
1000 | 1000 | let dz = invoke(aK, "calcSwapXToY", [toString(eW), toString(eU), toString(eV), "", az, g, toString(eX), h], nil) | |
1001 | 1001 | if ($isInstanceOf(dz, "Int")) | |
1002 | 1002 | then dz | |
1003 | 1003 | else throw(($getType(invoke(aK, "calcSwapXToY", [toString(eW), toString(eU), toString(eV), "", az, g, toString(eX), h], nil)) + " couldn't be cast to Int")) | |
1004 | 1004 | } | |
1005 | 1005 | let eI = (eY + (if ((eG == bO)) | |
1006 | 1006 | then eR | |
1007 | 1007 | else eS)) | |
1008 | 1008 | $Tuple2(nil, eI) | |
1009 | 1009 | } | |
1010 | 1010 | ||
1011 | 1011 | ||
1012 | 1012 | ||
1013 | 1013 | @Callable(dk) | |
1014 | 1014 | func getNoLess (eZ,fa) = { | |
1015 | 1015 | let cC = dj(dk) | |
1016 | 1016 | let ce = cC._1 | |
1017 | 1017 | let cf = cC._2 | |
1018 | 1018 | let cq = cC._3 | |
1019 | 1019 | let bK = cC._4 | |
1020 | 1020 | let cg = cC._5 | |
1021 | 1021 | if ((eZ > ce)) | |
1022 | 1022 | then throw(((("Failed: " + toString(ce)) + " < ") + toString(eZ))) | |
1023 | 1023 | else if ((fa > cf)) | |
1024 | 1024 | then throw(((("Failed: " + toString(cf)) + " < ") + toString(fa))) | |
1025 | 1025 | else { | |
1026 | 1026 | let fb = invoke(ay, "burn", [cq], [AttachedPayment(bK, cq)]) | |
1027 | 1027 | if ((fb == fb)) | |
1028 | 1028 | then cg | |
1029 | 1029 | else throw("Strict value is not equal to itself.") | |
1030 | 1030 | } | |
1031 | 1031 | } | |
1032 | 1032 | ||
1033 | 1033 | ||
1034 | 1034 | ||
1035 | 1035 | @Callable(dk) | |
1036 | 1036 | func unstakeAndGet (fc) = { | |
1037 | 1037 | let fd = if ((size(dk.payments) != 0)) | |
1038 | 1038 | then throw("No pmnts expd") | |
1039 | 1039 | else true | |
1040 | 1040 | if ((fd == fd)) | |
1041 | 1041 | then { | |
1042 | 1042 | let bz = aC() | |
1043 | 1043 | let fe = aG() | |
1044 | 1044 | let dF = fromBase58String(bz[q]) | |
1045 | 1045 | let ff = valueOrErrorMessage(addressFromString(fe[x]), "Wr st addr") | |
1046 | 1046 | let fg = invoke(ff, "unstake", [toBase58String(dF), fc], nil) | |
1047 | 1047 | if ((fg == fg)) | |
1048 | 1048 | then { | |
1049 | 1049 | let cC = bI(toBase58String(dk.transactionId), toBase58String(dF), fc, dk.caller) | |
1050 | 1050 | let bS = parseIntValue(cC._9) | |
1051 | 1051 | let cg = cC._10 | |
1052 | 1052 | let fh = if (if (aA()) | |
1053 | 1053 | then true | |
1054 | 1054 | else (bS == n)) | |
1055 | 1055 | then throw(("Blocked: " + toString(bS))) | |
1056 | 1056 | else true | |
1057 | 1057 | if ((fh == fh)) | |
1058 | 1058 | then { | |
1059 | 1059 | let fi = invoke(ay, "burn", [fc], [AttachedPayment(dF, fc)]) | |
1060 | 1060 | if ((fi == fi)) | |
1061 | 1061 | then cg | |
1062 | 1062 | else throw("Strict value is not equal to itself.") | |
1063 | 1063 | } | |
1064 | 1064 | else throw("Strict value is not equal to itself.") | |
1065 | 1065 | } | |
1066 | 1066 | else throw("Strict value is not equal to itself.") | |
1067 | 1067 | } | |
1068 | 1068 | else throw("Strict value is not equal to itself.") | |
1069 | 1069 | } | |
1070 | 1070 | ||
1071 | 1071 | ||
1072 | 1072 | ||
1073 | 1073 | @Callable(dk) | |
1074 | 1074 | func unstakeAndGetOneTkn (fc,fj,eG,bi) = { | |
1075 | 1075 | let fd = if ((size(dk.payments) != 0)) | |
1076 | 1076 | then throw("No pmnts expd") | |
1077 | 1077 | else true | |
1078 | 1078 | if ((fd == fd)) | |
1079 | 1079 | then { | |
1080 | 1080 | let bz = aC() | |
1081 | 1081 | let fe = aG() | |
1082 | 1082 | let dF = fromBase58String(bz[q]) | |
1083 | 1083 | let ff = valueOrErrorMessage(addressFromString(fe[x]), "Wr st addr") | |
1084 | 1084 | let fg = invoke(ff, "unstake", [toBase58String(dF), fc], nil) | |
1085 | 1085 | if ((fg == fg)) | |
1086 | 1086 | then { | |
1087 | 1087 | let fk = { | |
1088 | 1088 | let dz = invoke(this, "getOneTknV2", [fj, eG, bi], [AttachedPayment(dF, fc)]) | |
1089 | 1089 | if ($isInstanceOf(dz, "Int")) | |
1090 | 1090 | then dz | |
1091 | 1091 | else unit | |
1092 | 1092 | } | |
1093 | 1093 | if ((fk == fk)) | |
1094 | 1094 | then $Tuple2(nil, fk) | |
1095 | 1095 | else throw("Strict value is not equal to itself.") | |
1096 | 1096 | } | |
1097 | 1097 | else throw("Strict value is not equal to itself.") | |
1098 | 1098 | } | |
1099 | 1099 | else throw("Strict value is not equal to itself.") | |
1100 | 1100 | } | |
1101 | 1101 | ||
1102 | 1102 | ||
1103 | 1103 | ||
1104 | 1104 | @Callable(dk) | |
1105 | 1105 | func activate (fl,fm) = if ((toString(dk.caller) != toString(ay))) | |
1106 | 1106 | then throw("denied") | |
1107 | 1107 | else $Tuple2([StringEntry(X(), fl), StringEntry(Y(), fm)], "success") | |
1108 | 1108 | ||
1109 | 1109 | ||
1110 | 1110 | ||
1111 | 1111 | @Callable(dk) | |
1112 | 1112 | func setS (fn,fh) = if ((toString(dk.caller) != au(this, aa()))) | |
1113 | 1113 | then dJ | |
1114 | 1114 | else [StringEntry(fn, fh)] | |
1115 | 1115 | ||
1116 | 1116 | ||
1117 | 1117 | ||
1118 | 1118 | @Callable(dk) | |
1119 | 1119 | func setI (fn,fh) = if ((toString(dk.caller) != au(this, aa()))) | |
1120 | 1120 | then dJ | |
1121 | 1121 | else [IntegerEntry(fn, fh)] | |
1122 | 1122 | ||
1123 | 1123 | ||
1124 | 1124 | ||
1125 | 1125 | @Callable(dk) | |
1126 | 1126 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aC()) | |
1127 | 1127 | ||
1128 | 1128 | ||
1129 | 1129 | ||
1130 | 1130 | @Callable(dk) | |
1131 | 1131 | func getAccBalanceWrapperREADONLY (bb) = $Tuple2(nil, ba(bb)) | |
1132 | 1132 | ||
1133 | 1133 | ||
1134 | 1134 | ||
1135 | 1135 | @Callable(dk) | |
1136 | 1136 | func calcPricesWrapperREADONLY (bt,bu,by) = { | |
1137 | 1137 | let fo = bx(bt, bu, by) | |
1138 | 1138 | $Tuple2(nil, [toString(fo[0]), toString(fo[1]), toString(fo[2])]) | |
1139 | 1139 | } | |
1140 | 1140 | ||
1141 | 1141 | ||
1142 | 1142 | ||
1143 | 1143 | @Callable(dk) | |
1144 | 1144 | func fromX18WrapperREADONLY (F,fp) = $Tuple2(nil, E(parseBigIntValue(F), fp)) | |
1145 | 1145 | ||
1146 | 1146 | ||
1147 | 1147 | ||
1148 | 1148 | @Callable(dk) | |
1149 | 1149 | func toX18WrapperREADONLY (C,D) = $Tuple2(nil, toString(B(C, D))) | |
1150 | 1150 | ||
1151 | 1151 | ||
1152 | 1152 | ||
1153 | 1153 | @Callable(dk) | |
1154 | 1154 | func calcPriceBigIntWrapperREADONLY (bd,be) = $Tuple2(nil, toString(bc(parseBigIntValue(bd), parseBigIntValue(be)))) | |
1155 | 1155 | ||
1156 | 1156 | ||
1157 | 1157 | ||
1158 | 1158 | @Callable(dk) | |
1159 | 1159 | func estimatePutOperationWrapperREADONLY (bJ,bi,ci,cj,ck,cl,fq,cm,cn) = $Tuple2(nil, ch(bJ, bi, ci, cj, ck, cl, fq, cm, cn, true, false, 0, "")) | |
1160 | 1160 | ||
1161 | 1161 | ||
1162 | 1162 | ||
1163 | 1163 | @Callable(dk) | |
1164 | 1164 | func estimateGetOperationWrapperREADONLY (bJ,fr,bL,fq) = { | |
1165 | 1165 | let cC = bI(bJ, fr, bL, addressFromStringValue(fq)) | |
1166 | 1166 | $Tuple2(nil, $Tuple10(cC._1, cC._2, cC._3, cC._4, cC._5, cC._6, cC._7, toString(cC._8), cC._9, cC._10)) | |
1167 | 1167 | } | |
1168 | 1168 | ||
1169 | 1169 | ||
1170 | 1170 | @Verifier(fs) | |
1171 | 1171 | func ft () = { | |
1172 | 1172 | let fu = { | |
1173 | 1173 | let as = dG() | |
1174 | 1174 | if ($isInstanceOf(as, "ByteVector")) | |
1175 | 1175 | then { | |
1176 | 1176 | let dL = as | |
1177 | 1177 | dL | |
1178 | 1178 | } | |
1179 | 1179 | else if ($isInstanceOf(as, "Unit")) | |
1180 | 1180 | then fs.senderPublicKey | |
1181 | 1181 | else throw("Match error") | |
1182 | 1182 | } | |
1183 | 1183 | let as = fs | |
1184 | 1184 | if ($isInstanceOf(as, "Order")) | |
1185 | 1185 | then { | |
1186 | 1186 | let cX = as | |
1187 | 1187 | let fv = aB() | |
1188 | 1188 | let fw = cW(cX) | |
1189 | 1189 | let fx = sigVerify(cX.bodyBytes, cX.proofs[0], cX.senderPublicKey) | |
1190 | 1190 | let fy = sigVerify(cX.bodyBytes, cX.proofs[1], fv) | |
1191 | 1191 | if (if (if (fw) | |
1192 | 1192 | then fx | |
1193 | 1193 | else false) | |
1194 | 1194 | then fy | |
1195 | 1195 | else false) | |
1196 | 1196 | then true | |
1197 | 1197 | else an(fw, fx, fy) | |
1198 | 1198 | } | |
1199 | 1199 | else if ($isInstanceOf(as, "SetScriptTransaction")) | |
1200 | 1200 | then { | |
1201 | 1201 | let dH = as | |
1202 | 1202 | let fz = blake2b256(value(dH.script)) | |
1203 | 1203 | let fA = fromBase64String(value(getString(ay, am()))) | |
1204 | 1204 | let fB = scriptHash(this) | |
1205 | 1205 | if (if ((fA == fz)) | |
1206 | 1206 | then (fB != fz) | |
1207 | 1207 | else false) | |
1208 | 1208 | then true | |
1209 | 1209 | else sigVerify(fs.bodyBytes, fs.proofs[0], fu) | |
1210 | 1210 | } | |
1211 | 1211 | else sigVerify(fs.bodyBytes, fs.proofs[0], fu) | |
1212 | 1212 | } | |
1213 | 1213 |
github/deemru/w8io/026f985 155.40 ms ◑