tx · 74s5enjE1kh9cF3KbraDPw1YKP4ZkumNtbR4xW1gL5Qp 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai: -0.03000000 Waves 2023.01.16 15:29 [2407502] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves
{ "type": 13, "id": "74s5enjE1kh9cF3KbraDPw1YKP4ZkumNtbR4xW1gL5Qp", "fee": 3000000, "feeAssetId": null, "timestamp": 1673872236389, "version": 1, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "3iYoyayYpun1ifKXFnDg5WH17932FSLNfmgBybX8yfouXFB5CRGKsYaoCzBWD9vWCcnc3VaCLvePMuWJY8qVu2pc" ], "script": "base64:AAIFAAAAAAAAEqsIAhIECgIICBIDCgEIEgoKCAgICAgICAgBEgMKAQgSBgoECAgICBIECgIIGBIDCgEIEgQKAggYEgMKAQgSABIDCgEYEgoKCAgICAgIAQgIEgQKAggBEgMKAQESAwoBARIECgIIARIGCgQICAgIEgQKAggIEgQKAggIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBCCIGU0NBTEU4IgVNVUxUOCIHU0NBTEUxOCIGTVVMVDE4Ig5QT09MV0VJR0hUTVVMVCIOR1dYdmlydHVhbFBPT0wiDGxhYmVsUG9vbHNMcCINZGVmYXVsdFNwcmVhZCIRZGVjaW1hbHNNdWx0UHJpY2UiA1NFUCIFRU1QVFkiClBvb2xBY3RpdmUiD1Bvb2xQdXREaXNhYmxlZCITUG9vbE1hdGNoZXJEaXNhYmxlZCIMUG9vbFNodXRkb3duIhJpZHhJbnRlcm5hbEFzc2V0SWQiD2lkeFJlc3V0QWN0aW9ucyIgaWR4SWZBc3NldElkQ2FsY3VsYXRpb25QZXJmb3JtZWQiDmlkeFBvb2xBZGRyZXNzIg1pZHhQb29sU3RhdH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AAJiagkABEwAAAACBQAAAAJiawkABEwAAAACBQAAAAJibAkABEwAAAACBQAAAAJibQkABEwAAAACBQAAAAJibgkABEwAAAACBQAAAAJibwkABEwAAAACBQAAAAJicAkABEwAAAACBQAAAAJicQkABEwAAAACBQAAAAJicgkABEwAAAACBQAAAAJicwkABEwAAAACBQAAAAJidAUAAAADbmlsBQAAAAFqAQAAAAJidQAAAAcAAAACYmoAAAACYmsAAAACYmwAAAACYm0AAAACYm4AAAACYm8AAAACYnAJAAS5AAAAAgkABEwAAAACAgAAAAwlcyVzJXMlcyVzJXMJAARMAAAAAgUAAAACYmoJAARMAAAAAgUAAAACYmsJAARMAAAAAgUAAAACYmwJAARMAAAAAgUAAAACYm0JAARMAAAAAgUAAAACYm4JAARMAAAAAgUAAAACYm8JAARMAAAAAgUAAAACYnAFAAAAA25pbAUAAAABagEAAAACYnYAAAALAAAAAVkAAAACYncAAAACYngAAAACYnkAAAACYnoAAAACYkEAAAACYkIAAAACYkMAAAACYkQAAAACYkUAAAACYkYJAAS5AAAAAgkABEwAAAACAgAAABYlcyVkJXMlcyVzJWQlZCVkJWQlZCVzCQAETAAAAAIFAAAAAVkJAARMAAAAAgUAAAACYncJAARMAAAAAgUAAAACYngJAARMAAAAAgUAAAACYnkJAARMAAAAAgUAAAACYnoJAARMAAAAAgkAAaQAAAABBQAAAAJiQQkABEwAAAACCQABpAAAAAEFAAAAAmJCCQAETAAAAAIJAAGkAAAAAQUAAAACYkMJAARMAAAAAgkAAaQAAAABBQAAAAJiRAkABEwAAAACCQABpAAAAAEFAAAAAmJFCQAETAAAAAIFAAAAAmJGBQAAAANuaWwFAAAAAWoBAAAAAmJHAAAAAgAAAAJiSAAAAAJiSQkABLkAAAACCQAETAAAAAICAAAABCVkJWQJAARMAAAAAgkAAaQAAAABBQAAAAJiSAkABEwAAAACCQABpAAAAAEFAAAAAmJJBQAAAANuaWwFAAAAAWoBAAAAAmJKAAAAAQAAAAFZBAAAAAJiSwkABLUAAAACCQEAAA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BAAAAAJhaAkAAZEAAAACBQAAAAJiSwAAAAAAAAAAAgQAAAACZWUJAAS1AAAAAgkBAAAAAmFFAAAAAQkBAAAAAmFmAAAAAgUAAAACYWcFAAAAAmFoBQAAAAFqCQAFFAAAAAIFAAAAA25pbAkBAAAADXBhcnNlSW50VmFsdWUAAAABCQABkQAAAAIFAAAAAmVlBQAAAAF0AAAAAQAAAAJlZgEAAAACZWcAAAAABAAAAAJlaAQAAAACYVoJAQAAAAJiYgAAAAADCQAAAQAAAAIFAAAAAmFaAgAAAApCeXRlVmVjdG9yBAAAAAJiaAUAAAACYVoFAAAAAmJoAwkAAAEAAAACBQAAAAJhWgIAAAAEVW5pdAgFAAAAAmVmAAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACZWYAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJlZgAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmVo0B6eJg==", "chainId": 84, "height": 2407502, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3kaCHEsuwi2Qu8xRLYax9LAKp3RPFXyeDzjxBU4kZEeu Next: GJqTRqDGs9DQfNBcrtzhPtLqki27SFchngjygo3PtgbA Diff:
Old | New | Differences | |
---|---|---|---|
17 | 17 | ||
18 | 18 | let h = 2000000 | |
19 | 19 | ||
20 | - | let i = | |
20 | + | let i = ((100 * 1000) * 1000) | |
21 | 21 | ||
22 | - | let j = | |
22 | + | let j = "__" | |
23 | 23 | ||
24 | - | let k = " | |
24 | + | let k = "" | |
25 | 25 | ||
26 | - | let l = | |
26 | + | let l = 1 | |
27 | 27 | ||
28 | - | let m = | |
28 | + | let m = 2 | |
29 | 29 | ||
30 | - | let n = | |
30 | + | let n = 3 | |
31 | 31 | ||
32 | - | let o = | |
32 | + | let o = 4 | |
33 | 33 | ||
34 | - | let p = | |
34 | + | let p = 1 | |
35 | 35 | ||
36 | - | let q = | |
36 | + | let q = 2 | |
37 | 37 | ||
38 | - | let r = | |
38 | + | let r = 3 | |
39 | 39 | ||
40 | - | let s = | |
40 | + | let s = 1 | |
41 | 41 | ||
42 | - | let t = | |
42 | + | let t = 2 | |
43 | 43 | ||
44 | - | let u = | |
44 | + | let u = 3 | |
45 | 45 | ||
46 | - | let v = | |
46 | + | let v = 4 | |
47 | 47 | ||
48 | - | let w = | |
48 | + | let w = 5 | |
49 | 49 | ||
50 | - | let x = | |
50 | + | let x = 6 | |
51 | 51 | ||
52 | - | let y = | |
52 | + | let y = 7 | |
53 | 53 | ||
54 | - | let z = | |
54 | + | let z = 8 | |
55 | 55 | ||
56 | - | let A = | |
56 | + | let A = 9 | |
57 | 57 | ||
58 | - | let B = | |
58 | + | let B = 10 | |
59 | 59 | ||
60 | - | let C = | |
60 | + | let C = 11 | |
61 | 61 | ||
62 | - | let D = | |
62 | + | let D = "WX_EMISSION" | |
63 | 63 | ||
64 | - | let E = | |
64 | + | let E = [D] | |
65 | 65 | ||
66 | - | let F = [E] | |
67 | - | ||
68 | - | func G () = "%s__allowedLpScriptHash" | |
66 | + | func F () = "%s__allowedLpScriptHash" | |
69 | 67 | ||
70 | 68 | ||
71 | - | func | |
69 | + | func G () = "%s__allowedLpStableScriptHash" | |
72 | 70 | ||
73 | 71 | ||
74 | - | func | |
72 | + | func H () = "%s__allowedLpStableAddonScriptHash" | |
75 | 73 | ||
76 | 74 | ||
77 | - | func | |
75 | + | func I () = "%s__factoryConfig" | |
78 | 76 | ||
79 | 77 | ||
80 | - | func | |
78 | + | func J () = "%s__lpTokensList" | |
81 | 79 | ||
82 | 80 | ||
83 | - | func | |
81 | + | func K () = "%s%s__pool__scriptHash" | |
84 | 82 | ||
85 | 83 | ||
86 | - | func | |
84 | + | func L () = "%s%s__matcher__publicKey" | |
87 | 85 | ||
88 | 86 | ||
89 | - | func | |
87 | + | func M () = "%s__legacyFactoryContract" | |
90 | 88 | ||
91 | 89 | ||
92 | - | func | |
90 | + | func N () = "%s__legacyPools" | |
93 | 91 | ||
94 | 92 | ||
95 | - | func | |
93 | + | func O () = "%s__managerPublicKey" | |
96 | 94 | ||
97 | 95 | ||
98 | - | func | |
96 | + | func P () = "%s__pendingManagerPublicKey" | |
99 | 97 | ||
100 | 98 | ||
101 | - | func | |
99 | + | func Q () = "%s__adminPubKeys" | |
102 | 100 | ||
103 | 101 | ||
104 | - | func | |
102 | + | func R () = "%s__assetsStoreContract" | |
105 | 103 | ||
106 | 104 | ||
107 | - | func | |
105 | + | func S () = "%s__votingEmissionContract" | |
108 | 106 | ||
109 | 107 | ||
110 | - | func | |
108 | + | func T () = makeString(["%s", "priceAssets"], j) | |
111 | 109 | ||
112 | 110 | ||
113 | - | func | |
111 | + | func U () = "%s__priceDecimals" | |
114 | 112 | ||
115 | 113 | ||
116 | - | func | |
114 | + | func V () = "%s__shutdown" | |
117 | 115 | ||
118 | 116 | ||
119 | - | func | |
117 | + | func W () = "%s__nextInternalAssetId" | |
120 | 118 | ||
121 | 119 | ||
122 | - | func | |
120 | + | func X (Y) = ("%s%s__poolWeight__" + Y) | |
123 | 121 | ||
124 | 122 | ||
125 | - | func | |
123 | + | func Z (Y,aa) = ((("%s%s__poolWeight__" + Y) + "__") + toString(aa)) | |
126 | 124 | ||
127 | 125 | ||
128 | - | func | |
126 | + | func ab (ac) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ac)) | |
129 | 127 | ||
130 | 128 | ||
131 | - | func | |
129 | + | func ad (ae) = ("%s%s%s__mappings__baseAsset2internalId__" + ae) | |
132 | 130 | ||
133 | 131 | ||
134 | - | func | |
132 | + | func af (ag,ah) = (((("%d%d%s__" + ag) + "__") + ah) + "__config") | |
135 | 133 | ||
136 | 134 | ||
137 | - | func | |
138 | - | let | |
139 | - | let | |
140 | - | let | |
141 | - | makeString(["%d%d%s", toString( | |
135 | + | func ai (aj) = { | |
136 | + | let ak = aj | |
137 | + | let ag = ak._1 | |
138 | + | let ah = ak._2 | |
139 | + | makeString(["%d%d%s", toString(ag), toString(ah), "oneTokenOperationsDisabled"], j) | |
142 | 140 | } | |
143 | 141 | ||
144 | 142 | ||
145 | - | func | |
143 | + | func al () = makeString(["%s", "oneTokenOperationsDisabled"], j) | |
146 | 144 | ||
147 | 145 | ||
148 | - | func | |
146 | + | func am (an) = (("%s%s%s__" + an) + "__mappings__lpAsset2Pool") | |
149 | 147 | ||
150 | 148 | ||
151 | - | func | |
149 | + | func ao (ap,aq) = (((("%d%d%s%s__" + ap) + "__") + aq) + "__mappings__PoolAssets2LpAsset") | |
152 | 150 | ||
153 | 151 | ||
154 | - | func | |
152 | + | func ar (Y) = ("%s%s__spread__" + Y) | |
155 | 153 | ||
156 | 154 | ||
157 | - | func | |
155 | + | func as (at) = (("%s%s%s__" + at) + "__mappings__poolContract2PoolAssets") | |
158 | 156 | ||
159 | 157 | ||
160 | - | func | |
158 | + | func au (ap,aq) = (((("%d%d%s%s__" + toString(ap)) + "__") + toString(aq)) + "__mappings__poolAssets2PoolContract") | |
161 | 159 | ||
162 | 160 | ||
163 | - | func | |
161 | + | func av (at) = (("%s%s%s__" + at) + "__mappings__poolContract2LpAsset") | |
164 | 162 | ||
165 | 163 | ||
166 | - | func | |
164 | + | func aw (an) = (("%s%s%s__" + an) + "__mappings__lpAsset2PoolContract") | |
167 | 165 | ||
168 | 166 | ||
169 | - | func | |
167 | + | func ax (ay,az) = ((("%s%s%s__wxEmission__" + ay) + "__") + az) | |
170 | 168 | ||
171 | 169 | ||
172 | - | func | |
170 | + | func aA (Y) = ("%s%s__inFee__" + Y) | |
173 | 171 | ||
174 | 172 | ||
175 | - | func | |
173 | + | func aB () = "%s__inFeeDefault" | |
176 | 174 | ||
177 | 175 | ||
178 | - | func | |
176 | + | func aC (Y) = ("%s%s__outFee__" + Y) | |
179 | 177 | ||
180 | 178 | ||
181 | - | func | |
179 | + | func aD () = "%s__outFeeDefault" | |
182 | 180 | ||
183 | 181 | ||
184 | - | func | |
182 | + | func aE (aF) = valueOrErrorMessage(getString(this, aF), ("No data for this.key=" + aF)) | |
185 | 183 | ||
186 | 184 | ||
187 | - | func | |
185 | + | func aG (aF) = valueOrErrorMessage(getBoolean(this, aF), ("No data for this.key=" + aF)) | |
188 | 186 | ||
189 | 187 | ||
190 | - | func | |
188 | + | func aH (aF) = valueOrErrorMessage(getInteger(this, aF), ("No data for this.key=" + aF)) | |
191 | 189 | ||
192 | 190 | ||
193 | - | func aJ (aK) = if ((aK == i)) | |
194 | - | then unit | |
195 | - | else fromBase58String(aK) | |
191 | + | let aI = 1 | |
192 | + | ||
193 | + | let aJ = 2 | |
194 | + | ||
195 | + | let aK = 3 | |
196 | + | ||
197 | + | let aL = 4 | |
198 | + | ||
199 | + | let aM = 5 | |
200 | + | ||
201 | + | let aN = 6 | |
202 | + | ||
203 | + | let aO = 7 | |
204 | + | ||
205 | + | let aP = 8 | |
206 | + | ||
207 | + | let aQ = 9 | |
208 | + | ||
209 | + | let aR = 10 | |
210 | + | ||
211 | + | let aS = 11 | |
212 | + | ||
213 | + | func aT (aU) = addressFromStringValue(aU[aJ]) | |
196 | 214 | ||
197 | 215 | ||
198 | - | let aL = 1 | |
199 | - | ||
200 | - | let aM = 2 | |
201 | - | ||
202 | - | let aN = 3 | |
203 | - | ||
204 | - | let aO = 4 | |
205 | - | ||
206 | - | let aP = 5 | |
207 | - | ||
208 | - | let aQ = 6 | |
209 | - | ||
210 | - | let aR = 7 | |
211 | - | ||
212 | - | let aS = 8 | |
213 | - | ||
214 | - | let aT = 9 | |
215 | - | ||
216 | - | let aU = 10 | |
217 | - | ||
218 | - | let aV = 11 | |
219 | - | ||
220 | - | func aW (aX) = addressFromStringValue(aX[aM]) | |
216 | + | func aV (aU) = addressFromStringValue(aU[aM]) | |
221 | 217 | ||
222 | 218 | ||
223 | - | func | |
219 | + | func aW (aU) = addressFromStringValue(aU[aI]) | |
224 | 220 | ||
225 | 221 | ||
226 | - | func | |
222 | + | func aX (aU) = addressFromStringValue(aU[aR]) | |
227 | 223 | ||
228 | 224 | ||
229 | - | func ba (aX) = addressFromStringValue(aX[aU]) | |
230 | - | ||
231 | - | ||
232 | - | func bb () = { | |
233 | - | let bc = getString(U()) | |
234 | - | if ($isInstanceOf(bc, "String")) | |
225 | + | func aY () = { | |
226 | + | let aZ = getString(T()) | |
227 | + | if ($isInstanceOf(aZ, "String")) | |
235 | 228 | then { | |
236 | - | let | |
237 | - | if ((size( | |
229 | + | let ba = aZ | |
230 | + | if ((size(ba) == 0)) | |
238 | 231 | then nil | |
239 | - | else split( | |
232 | + | else split(ba, j) | |
240 | 233 | } | |
241 | 234 | else nil | |
242 | 235 | } | |
243 | 236 | ||
244 | 237 | ||
245 | - | func | |
246 | - | let | |
247 | - | if ($isInstanceOf( | |
238 | + | func bb () = { | |
239 | + | let aZ = getString(O()) | |
240 | + | if ($isInstanceOf(aZ, "String")) | |
248 | 241 | then { | |
249 | - | let | |
250 | - | fromBase58String( | |
242 | + | let ba = aZ | |
243 | + | fromBase58String(ba) | |
251 | 244 | } | |
252 | - | else if ($isInstanceOf( | |
245 | + | else if ($isInstanceOf(aZ, "Unit")) | |
253 | 246 | then unit | |
254 | 247 | else throw("Match error") | |
255 | 248 | } | |
256 | 249 | ||
257 | 250 | ||
258 | - | func | |
259 | - | let | |
260 | - | if ($isInstanceOf( | |
251 | + | func bc () = { | |
252 | + | let aZ = getString(P()) | |
253 | + | if ($isInstanceOf(aZ, "String")) | |
261 | 254 | then { | |
262 | - | let | |
263 | - | fromBase58String( | |
255 | + | let ba = aZ | |
256 | + | fromBase58String(ba) | |
264 | 257 | } | |
265 | - | else if ($isInstanceOf( | |
258 | + | else if ($isInstanceOf(aZ, "Unit")) | |
266 | 259 | then unit | |
267 | 260 | else throw("Match error") | |
268 | 261 | } | |
269 | 262 | ||
270 | 263 | ||
271 | - | let | |
264 | + | let bd = throw("Permission denied") | |
272 | 265 | ||
273 | - | func | |
266 | + | func be (bf) = if ((bf.caller == this)) | |
274 | 267 | then true | |
275 | - | else | |
268 | + | else bd | |
276 | 269 | ||
277 | 270 | ||
278 | - | func | |
279 | - | let | |
280 | - | if ($isInstanceOf( | |
271 | + | func bg (bf) = { | |
272 | + | let aZ = bb() | |
273 | + | if ($isInstanceOf(aZ, "ByteVector")) | |
281 | 274 | then { | |
282 | - | let | |
283 | - | if (( | |
275 | + | let bh = aZ | |
276 | + | if ((bf.callerPublicKey == bh)) | |
284 | 277 | then true | |
285 | - | else | |
278 | + | else bd | |
286 | 279 | } | |
287 | - | else if ($isInstanceOf( | |
288 | - | then | |
280 | + | else if ($isInstanceOf(aZ, "Unit")) | |
281 | + | then be(bf) | |
289 | 282 | else throw("Match error") | |
290 | 283 | } | |
291 | 284 | ||
292 | 285 | ||
293 | - | func | |
286 | + | func bi (bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt], j) | |
294 | 287 | ||
295 | 288 | ||
296 | - | func | |
289 | + | func bu (bj,bk,bl,bm,bn,bo,bp) = makeString(["%s%s%s%s%s%s", bj, bk, bl, bm, bn, bo, bp], j) | |
297 | 290 | ||
298 | 291 | ||
299 | - | func | |
292 | + | func bv (Y,bw,bx,by,bz,bA,bB,bC,bD,bE,bF) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", Y, bw, bx, by, bz, toString(bA), toString(bB), toString(bC), toString(bD), toString(bE), bF], j) | |
300 | 293 | ||
301 | 294 | ||
302 | - | func | |
295 | + | func bG (bH,bI) = makeString(["%d%d", toString(bH), toString(bI)], j) | |
303 | 296 | ||
304 | 297 | ||
305 | - | func | |
306 | - | let | |
307 | - | let | |
308 | - | let | |
309 | - | split( | |
298 | + | func bJ (Y) = { | |
299 | + | let bK = split(aE(as(Y)), j) | |
300 | + | let ag = bK[1] | |
301 | + | let ah = bK[2] | |
302 | + | split(aE(af(ag, ah)), j) | |
310 | 303 | } | |
311 | 304 | ||
312 | 305 | ||
313 | - | func | |
314 | - | let | |
315 | - | let | |
316 | - | let | |
306 | + | func bL (bM,bN) = { | |
307 | + | let bO = valueOrElse(getInteger(this, ad(bM)), 0) | |
308 | + | let bP = valueOrElse(getInteger(this, W()), 0) | |
309 | + | let bQ = if ((bO == 0)) | |
317 | 310 | then { | |
318 | - | let | |
319 | - | $Tuple3( | |
311 | + | let bR = (bP + bN) | |
312 | + | $Tuple3(bR, [IntegerEntry(W(), bR), IntegerEntry(ad(bM), bR), StringEntry(ab(bR), bM)], true) | |
320 | 313 | } | |
321 | - | else $Tuple3( | |
322 | - | | |
314 | + | else $Tuple3(bO, nil, false) | |
315 | + | bQ | |
323 | 316 | } | |
324 | 317 | ||
325 | 318 | ||
326 | - | func | |
327 | - | let | |
328 | - | if (containsElement( | |
319 | + | func bS (bf) = { | |
320 | + | let bT = split(valueOrElse(getString(Q()), k), j) | |
321 | + | if (containsElement(bT, toBase58String(bf.callerPublicKey))) | |
329 | 322 | then true | |
330 | 323 | else { | |
331 | - | let | |
332 | - | if (( | |
324 | + | let bU = bg(bf) | |
325 | + | if ((bU == bU)) | |
333 | 326 | then true | |
334 | 327 | else throw("Strict value is not equal to itself.") | |
335 | 328 | } | |
336 | 329 | } | |
337 | 330 | ||
338 | 331 | ||
339 | - | func | |
332 | + | func bV (aF,bW,bX) = valueOrElse(getInteger(this, aF), valueOrElse(getInteger(this, bW), bX)) | |
340 | 333 | ||
341 | 334 | ||
342 | - | @Callable(bi) | |
343 | - | func constructor (cb,cc,bo,bp,bq,br,cd,ce) = { | |
344 | - | let cf = bj(bi) | |
335 | + | @Callable(bf) | |
336 | + | func getLpAssetFromPoolAssetsREADONLY (bY,bZ) = $Tuple2(nil, getString(this, ao(bY, bZ))) | |
337 | + | ||
338 | + | ||
339 | + | ||
340 | + | @Callable(bf) | |
341 | + | func getPoolAddressFromLpAssetREADONLY (ca) = $Tuple2(nil, getString(this, aw(ca))) | |
342 | + | ||
343 | + | ||
344 | + | ||
345 | + | @Callable(bf) | |
346 | + | func constructor (cb,cc,bl,bm,bn,bo,cd,ce) = { | |
347 | + | let cf = bg(bf) | |
345 | 348 | if ((cf == cf)) | |
346 | - | then [StringEntry( | |
349 | + | then [StringEntry(I(), bu(cb, cc, bl, bm, bn, bo, cd)), IntegerEntry(U(), ce)] | |
347 | 350 | else throw("Strict value is not equal to itself.") | |
348 | 351 | } | |
349 | 352 | ||
350 | 353 | ||
351 | 354 | ||
352 | - | @Callable( | |
355 | + | @Callable(bf) | |
353 | 356 | func constructorV2 (cg) = { | |
354 | - | let cf = | |
357 | + | let cf = bg(bf) | |
355 | 358 | if ((cf == cf)) | |
356 | 359 | then { | |
357 | 360 | let ch = addressFromPublicKey(fromBase58String(cg)) | |
358 | 361 | if ((ch == ch)) | |
359 | - | then [StringEntry( | |
362 | + | then [StringEntry(L(), cg)] | |
360 | 363 | else throw("Strict value is not equal to itself.") | |
361 | 364 | } | |
362 | 365 | else throw("Strict value is not equal to itself.") | |
364 | 367 | ||
365 | 368 | ||
366 | 369 | ||
367 | - | @Callable( | |
368 | - | func constructorV3 (bt | |
369 | - | let cf = | |
370 | + | @Callable(bf) | |
371 | + | func constructorV3 (bq,br,bs,bt) = { | |
372 | + | let cf = bg(bf) | |
370 | 373 | if ((cf == cf)) | |
371 | 374 | then { | |
372 | - | let | |
373 | - | [StringEntry( | |
375 | + | let aU = split(aE(I()), j) | |
376 | + | [StringEntry(I(), bi(aU[1], aU[2], aU[3], aU[4], aU[5], aU[6], aU[7], bq, br, bs, bt))] | |
374 | 377 | } | |
375 | 378 | else throw("Strict value is not equal to itself.") | |
376 | 379 | } | |
377 | 380 | ||
378 | 381 | ||
379 | 382 | ||
380 | - | @Callable( | |
383 | + | @Callable(bf) | |
381 | 384 | func constructorV4 (ci,cj) = { | |
382 | - | let cf = | |
385 | + | let cf = bg(bf) | |
383 | 386 | if ((cf == cf)) | |
384 | - | then [StringEntry( | |
387 | + | then [StringEntry(M(), ci), StringEntry(N(), makeString(cj, j))] | |
385 | 388 | else throw("Strict value is not equal to itself.") | |
386 | 389 | } | |
387 | 390 | ||
388 | 391 | ||
389 | 392 | ||
390 | - | @Callable( | |
393 | + | @Callable(bf) | |
391 | 394 | func constructorV5 (ck) = { | |
392 | - | let cf = | |
395 | + | let cf = bg(bf) | |
393 | 396 | if ((cf == cf)) | |
394 | - | then [StringEntry( | |
397 | + | then [StringEntry(R(), ck)] | |
395 | 398 | else throw("Strict value is not equal to itself.") | |
396 | 399 | } | |
397 | 400 | ||
398 | 401 | ||
399 | 402 | ||
400 | - | @Callable( | |
403 | + | @Callable(bf) | |
401 | 404 | func constructorV6 (cl,cm) = { | |
402 | - | let cn = [ | |
405 | + | let cn = [bg(bf), if ((addressFromString(cl) != unit)) | |
403 | 406 | then true | |
404 | 407 | else "invalid voting emission contract address"] | |
405 | 408 | if ((cn == cn)) | |
406 | - | then [StringEntry( | |
409 | + | then [StringEntry(S(), cl), StringEntry(T(), makeString(cm, j))] | |
407 | 410 | else throw("Strict value is not equal to itself.") | |
408 | 411 | } | |
409 | 412 | ||
410 | 413 | ||
411 | 414 | ||
412 | - | @Callable( | |
415 | + | @Callable(bf) | |
413 | 416 | func setManager (co) = { | |
414 | - | let cf = | |
417 | + | let cf = bg(bf) | |
415 | 418 | if ((cf == cf)) | |
416 | 419 | then { | |
417 | 420 | let cp = fromBase58String(co) | |
418 | 421 | if ((cp == cp)) | |
419 | - | then [StringEntry( | |
422 | + | then [StringEntry(P(), co)] | |
420 | 423 | else throw("Strict value is not equal to itself.") | |
421 | 424 | } | |
422 | 425 | else throw("Strict value is not equal to itself.") | |
424 | 427 | ||
425 | 428 | ||
426 | 429 | ||
427 | - | @Callable( | |
430 | + | @Callable(bf) | |
428 | 431 | func confirmManager () = { | |
429 | - | let cq = | |
432 | + | let cq = bc() | |
430 | 433 | let cr = if (isDefined(cq)) | |
431 | 434 | then true | |
432 | 435 | else throw("No pending manager") | |
433 | 436 | if ((cr == cr)) | |
434 | 437 | then { | |
435 | - | let cs = if (( | |
438 | + | let cs = if ((bf.callerPublicKey == value(cq))) | |
436 | 439 | then true | |
437 | 440 | else throw("You are not pending manager") | |
438 | 441 | if ((cs == cs)) | |
439 | - | then [StringEntry( | |
442 | + | then [StringEntry(O(), toBase58String(value(cq))), DeleteEntry(P())] | |
440 | 443 | else throw("Strict value is not equal to itself.") | |
441 | 444 | } | |
442 | 445 | else throw("Strict value is not equal to itself.") | |
444 | 447 | ||
445 | 448 | ||
446 | 449 | ||
447 | - | @Callable( | |
450 | + | @Callable(bf) | |
448 | 451 | func setAdmins (ct) = { | |
449 | - | let cf = | |
452 | + | let cf = bg(bf) | |
450 | 453 | if ((cf == cf)) | |
451 | - | then [StringEntry( | |
454 | + | then [StringEntry(Q(), makeString(ct, j))] | |
452 | 455 | else throw("Strict value is not equal to itself.") | |
453 | 456 | } | |
454 | 457 | ||
455 | 458 | ||
456 | 459 | ||
457 | - | @Callable( | |
458 | - | func activateNewPool ( | |
459 | - | let cf = | |
460 | + | @Callable(bf) | |
461 | + | func activateNewPool (Y,by,bz,cu,cv,cw,bF,cx) = { | |
462 | + | let cf = bS(bf) | |
460 | 463 | if ((cf == cf)) | |
461 | - | then if (isDefined(getString( | |
462 | - | then throw((("Pool address " + | |
464 | + | then if (isDefined(getString(as(Y)))) | |
465 | + | then throw((("Pool address " + Y) + " already registered.")) | |
463 | 466 | else { | |
464 | - | let cy = | |
467 | + | let cy = bL(by, 1) | |
465 | 468 | let cz = cy._1 | |
466 | - | let cA = | |
469 | + | let cA = bL(bz, if (cy._3) | |
467 | 470 | then 2 | |
468 | 471 | else 1) | |
469 | 472 | let cB = cA._1 | |
470 | - | let cC = valueOrErrorMessage(scriptHash(addressFromStringValue( | |
471 | - | let cD = getBinaryValue( | |
472 | - | let cE = getString(this, | |
473 | + | let cC = valueOrErrorMessage(scriptHash(addressFromStringValue(Y)), ("No script has been found on pool account " + Y)) | |
474 | + | let cD = getBinaryValue(K()) | |
475 | + | let cE = getString(this, af(toString(cz), toString(cB))) | |
473 | 476 | if (isDefined(cE)) | |
474 | - | then throw((((("Pool " + | |
477 | + | then throw((((("Pool " + by) + "/") + bz) + " has already been activated.")) | |
475 | 478 | else { | |
476 | - | let cF = value(getString(this, | |
477 | - | let cG = if (( | |
478 | - | then | |
479 | - | else pow(10, 0, value(assetInfo(fromBase58String( | |
480 | - | let cH = if (( | |
481 | - | then | |
482 | - | else pow(10, 0, value(assetInfo(fromBase58String( | |
479 | + | let cF = value(getString(this, af(toString(cz), toString(cB)))) | |
480 | + | let cG = if ((by == "WAVES")) | |
481 | + | then i | |
482 | + | else pow(10, 0, value(assetInfo(fromBase58String(by))).decimals, 0, 0, DOWN) | |
483 | + | let cH = if ((bz == "WAVES")) | |
484 | + | then i | |
485 | + | else pow(10, 0, value(assetInfo(fromBase58String(bz))).decimals, 0, 0, DOWN) | |
483 | 486 | let cI = Issue(cu, cv, 1, 8, true) | |
484 | - | let | |
485 | - | let cJ = toBase58String( | |
486 | - | let cK = invoke(addressFromStringValue( | |
487 | + | let bx = calculateAssetId(cI) | |
488 | + | let cJ = toBase58String(bx) | |
489 | + | let cK = invoke(addressFromStringValue(Y), "activate", [by, bz], nil) | |
487 | 490 | if ((cK == cK)) | |
488 | 491 | then if ((cK != "success")) | |
489 | 492 | then throw("Pool initialisation error happened.") | |
490 | 493 | else { | |
491 | - | let ck = addressFromStringValue( | |
494 | + | let ck = addressFromStringValue(aE(R())) | |
492 | 495 | let cL = invoke(ck, "createOrUpdate", [cJ, cu, false], nil) | |
493 | 496 | if ((cL == cL)) | |
494 | 497 | then { | |
498 | 501 | let cN = invoke(ck, "setLogo", [cJ, cx], nil) | |
499 | 502 | if ((cN == cN)) | |
500 | 503 | then { | |
501 | - | let cO = invoke(ck, "addAssetsLink", [ | |
504 | + | let cO = invoke(ck, "addAssetsLink", [by, bz, cJ], nil) | |
502 | 505 | if ((cO == cO)) | |
503 | 506 | then { | |
504 | - | let cP = invoke(ck, "increaseAssetPoolsNumber", [ | |
507 | + | let cP = invoke(ck, "increaseAssetPoolsNumber", [by], nil) | |
505 | 508 | if ((cP == cP)) | |
506 | - | then $Tuple2(((cy._2 ++ cA._2) ++ [cI, Burn( | |
509 | + | then $Tuple2(((cy._2 ++ cA._2) ++ [cI, Burn(bx, 1), StringEntry(af(toString(cz), toString(cB)), bv(Y, toString(l), cJ, by, bz, cG, cH, cz, cB, i, bF)), StringEntry(am(cJ), bG(cz, cB)), StringEntry(ao(toString(cz), toString(cB)), ("%s__" + cJ)), StringEntry(as(Y), bG(cz, cB)), StringEntry(au(cz, cB), Y), StringEntry(aw(cJ), Y), StringEntry(av(Y), cJ), IntegerEntry(X(Y), cw), IntegerEntry(ar(Y), h)]), cJ) | |
507 | 510 | else throw("Strict value is not equal to itself.") | |
508 | 511 | } | |
509 | 512 | else throw("Strict value is not equal to itself.") | |
522 | 525 | ||
523 | 526 | ||
524 | 527 | ||
525 | - | @Callable( | |
526 | - | func managePool ( | |
527 | - | let cf = | |
528 | + | @Callable(bf) | |
529 | + | func managePool (Y,cQ) = { | |
530 | + | let cf = bg(bf) | |
528 | 531 | if ((cf == cf)) | |
529 | 532 | then { | |
530 | - | let cE = | |
531 | - | let | |
532 | - | let cJ = cE[ | |
533 | - | let | |
534 | - | let | |
535 | - | let cG = parseIntValue(cE[ | |
536 | - | let cH = parseIntValue(cE[ | |
537 | - | let cz = parseIntValue(cE[ | |
538 | - | let cB = parseIntValue(cE[ | |
539 | - | let cR = parseIntValue(cE[ | |
540 | - | let | |
541 | - | [StringEntry( | |
533 | + | let cE = bJ(Y) | |
534 | + | let bw = cE[t] | |
535 | + | let cJ = cE[u] | |
536 | + | let by = cE[v] | |
537 | + | let bz = cE[w] | |
538 | + | let cG = parseIntValue(cE[x]) | |
539 | + | let cH = parseIntValue(cE[y]) | |
540 | + | let cz = parseIntValue(cE[z]) | |
541 | + | let cB = parseIntValue(cE[A]) | |
542 | + | let cR = parseIntValue(cE[B]) | |
543 | + | let bF = cE[C] | |
544 | + | [StringEntry(af(toString(cz), toString(cB)), bv(Y, toString(cQ), cJ, by, bz, cG, cH, cz, cB, cR, bF))] | |
542 | 545 | } | |
543 | 546 | else throw("Strict value is not equal to itself.") | |
544 | 547 | } | |
545 | 548 | ||
546 | 549 | ||
547 | 550 | ||
548 | - | @Callable( | |
551 | + | @Callable(bf) | |
549 | 552 | func emit (cS) = { | |
550 | - | let cT = | |
551 | - | let cU = | |
552 | - | let cV = valueOrErrorMessage(getString( | |
553 | + | let cT = bf.caller | |
554 | + | let cU = bf.originCaller | |
555 | + | let cV = valueOrErrorMessage(getString(av(toString(cT))), "Invalid LP address called me.") | |
553 | 556 | let cW = fromBase58String(cV) | |
554 | - | let cj = split(valueOrElse(getString( | |
555 | - | let ci = addressFromStringValue(valueOrErrorMessage(getString( | |
557 | + | let cj = split(valueOrElse(getString(N()), k), j) | |
558 | + | let ci = addressFromStringValue(valueOrErrorMessage(getString(M()), "Legacy factory contract does not exists.")) | |
556 | 559 | if ((0 >= cS)) | |
557 | 560 | then nil | |
558 | 561 | else if (containsElement(cj, toString(cT))) | |
559 | 562 | then $Tuple2(nil, ci) | |
560 | - | else $Tuple2([Reissue(cW, cS, true), ScriptTransfer( | |
563 | + | else $Tuple2([Reissue(cW, cS, true), ScriptTransfer(bf.caller, cS, cW)], "success") | |
561 | 564 | } | |
562 | 565 | ||
563 | 566 | ||
564 | 567 | ||
565 | - | @Callable( | |
568 | + | @Callable(bf) | |
566 | 569 | func burn (cX) = { | |
567 | - | let cT = | |
568 | - | let cU = | |
569 | - | let cY = value( | |
570 | + | let cT = bf.caller | |
571 | + | let cU = bf.originCaller | |
572 | + | let cY = value(bf.payments[0]) | |
570 | 573 | let cZ = value(cY.amount) | |
571 | 574 | let da = toBase58String(value(cY.assetId)) | |
572 | - | let db = valueOrErrorMessage(getString( | |
575 | + | let db = valueOrErrorMessage(getString(av(toString(cT))), "Invalid LP address called me.") | |
573 | 576 | if ((da != db)) | |
574 | 577 | then throw("Invalid asset passed.") | |
575 | 578 | else if ((cX != cZ)) | |
582 | 585 | ||
583 | 586 | ||
584 | 587 | ||
585 | - | @Callable( | |
586 | - | func modifyWeight ( | |
587 | - | let cf = if ((toBase58String( | |
588 | + | @Callable(bf) | |
589 | + | func modifyWeight (bx,dc) = { | |
590 | + | let cf = if ((toBase58String(bf.caller.bytes) == valueOrElse(getString(this, S()), ""))) | |
588 | 591 | then true | |
589 | - | else | |
592 | + | else bg(bf) | |
590 | 593 | if ((cf == cf)) | |
591 | 594 | then { | |
592 | - | let | |
593 | - | let dd = | |
594 | - | let de = | |
595 | + | let at = aE(aw(bx)) | |
596 | + | let dd = X(at) | |
597 | + | let de = X(f) | |
595 | 598 | let df = valueOrElse(getInteger(de), 0) | |
596 | 599 | let cw = valueOrElse(getInteger(dd), 0) | |
597 | 600 | let dg = dc | |
598 | - | let | |
599 | - | let cb = | |
600 | - | let dh = invoke(cb, "onModifyWeight", [ | |
601 | + | let aU = split(aE(I()), j) | |
602 | + | let cb = aW(aU) | |
603 | + | let dh = invoke(cb, "onModifyWeight", [bx, at], nil) | |
601 | 604 | if ((dh == dh)) | |
602 | 605 | then { | |
603 | 606 | let di = if ((df == 0)) | |
604 | 607 | then nil | |
605 | 608 | else [IntegerEntry(de, 0)] | |
606 | - | let dj = | |
609 | + | let dj = Z(at, 0) | |
607 | 610 | let dk = getInteger(dj) | |
608 | 611 | let dl = if ((dk == unit)) | |
609 | 612 | then nil | |
617 | 620 | ||
618 | 621 | ||
619 | 622 | ||
620 | - | @Callable( | |
623 | + | @Callable(bf) | |
621 | 624 | func modifyWeights (dm,dn,do,dp) = { | |
622 | - | let cf = | |
625 | + | let cf = bg(bf) | |
623 | 626 | if ((cf == cf)) | |
624 | 627 | then { | |
625 | 628 | let dq = ((5 * e) / 100) | |
626 | 629 | let dr = ((5 * e) / 100) | |
627 | 630 | let ds = ((5 * e) / 100) | |
628 | - | let | |
629 | - | let dt = | |
630 | - | let du = | |
631 | - | let dv = | |
632 | - | let dw = | |
633 | - | let dx = | |
634 | - | let dy = | |
635 | - | let dz = | |
636 | - | let dA = | |
631 | + | let aU = split(aE(I()), j) | |
632 | + | let dt = aW(aU) | |
633 | + | let du = aX(aU) | |
634 | + | let dv = X(dm) | |
635 | + | let dw = X(dn) | |
636 | + | let dx = X(do) | |
637 | + | let dy = X(dp) | |
638 | + | let dz = aH(dv) | |
639 | + | let dA = aH(dw) | |
637 | 640 | let dB = (dz - ds) | |
638 | 641 | let dC = (dA - ds) | |
639 | 642 | if ((0 >= dB)) | |
641 | 644 | else if ((0 >= dC)) | |
642 | 645 | then throw(("invalid ethWeightNew: " + toString(dC))) | |
643 | 646 | else { | |
644 | - | let dD = | |
645 | - | let dE = | |
646 | - | let dF = | |
647 | - | let dG = | |
647 | + | let dD = aE(av(dm)) | |
648 | + | let dE = aE(av(dn)) | |
649 | + | let dF = aE(av(do)) | |
650 | + | let dG = aE(av(dp)) | |
648 | 651 | let dH = invoke(dt, "onModifyWeight", [dD, dm], nil) | |
649 | 652 | if ((dH == dH)) | |
650 | 653 | then { | |
656 | 659 | then { | |
657 | 660 | let dK = invoke(dt, "onModifyWeight", [dG, dp], nil) | |
658 | 661 | if ((dK == dK)) | |
659 | - | then [IntegerEntry(dv, dB), IntegerEntry(dw, dC), IntegerEntry(dx, dq), IntegerEntry(dy, dr), IntegerEntry( | |
662 | + | then [IntegerEntry(dv, dB), IntegerEntry(dw, dC), IntegerEntry(dx, dq), IntegerEntry(dy, dr), IntegerEntry(Z(dm, 0), dz), IntegerEntry(Z(dn, 0), dA), IntegerEntry(Z(do, 0), dq), IntegerEntry(Z(dp, 0), dr)] | |
660 | 663 | else throw("Strict value is not equal to itself.") | |
661 | 664 | } | |
662 | 665 | else throw("Strict value is not equal to itself.") | |
671 | 674 | ||
672 | 675 | ||
673 | 676 | ||
674 | - | @Callable( | |
675 | - | func checkWxEmissionPoolLabel (az | |
677 | + | @Callable(bf) | |
678 | + | func checkWxEmissionPoolLabel (ay,az) = { | |
676 | 679 | let dL = { | |
677 | - | let | |
678 | - | if ($isInstanceOf( | |
680 | + | let aZ = getBoolean(ax(ay, az)) | |
681 | + | if ($isInstanceOf(aZ, "Boolean")) | |
679 | 682 | then { | |
680 | - | let dM = | |
683 | + | let dM = aZ | |
681 | 684 | dM | |
682 | 685 | } | |
683 | 686 | else false | |
687 | 690 | ||
688 | 691 | ||
689 | 692 | ||
690 | - | @Callable( | |
691 | - | func setWxEmissionPoolLabel (az | |
692 | - | let cf = | |
693 | + | @Callable(bf) | |
694 | + | func setWxEmissionPoolLabel (ay,az) = { | |
695 | + | let cf = bS(bf) | |
693 | 696 | if ((cf == cf)) | |
694 | - | then $Tuple2([BooleanEntry(ay | |
697 | + | then $Tuple2([BooleanEntry(ax(ay, az), true)], unit) | |
695 | 698 | else throw("Strict value is not equal to itself.") | |
696 | 699 | } | |
697 | 700 | ||
698 | 701 | ||
699 | 702 | ||
700 | - | @Callable( | |
701 | - | func deleteWxEmissionPoolLabel (az | |
702 | - | let cf = if ( | |
703 | + | @Callable(bf) | |
704 | + | func deleteWxEmissionPoolLabel (ay,az) = { | |
705 | + | let cf = if (be(bf)) | |
703 | 706 | then true | |
704 | - | else | |
707 | + | else bS(bf) | |
705 | 708 | if ((cf == cf)) | |
706 | - | then $Tuple2([DeleteEntry(ay | |
709 | + | then $Tuple2([DeleteEntry(ax(ay, az))], unit) | |
707 | 710 | else throw("Strict value is not equal to itself.") | |
708 | 711 | } | |
709 | 712 | ||
710 | 713 | ||
711 | 714 | ||
712 | - | @Callable( | |
715 | + | @Callable(bf) | |
713 | 716 | func onVerificationLoss (dN) = { | |
714 | - | let cf = if ((toBase58String( | |
717 | + | let cf = if ((toBase58String(bf.caller.bytes) == valueOrElse(getString(this, R()), ""))) | |
715 | 718 | then true | |
716 | - | else | |
719 | + | else bg(bf) | |
717 | 720 | if ((cf == cf)) | |
718 | 721 | then { | |
719 | - | let cm = | |
722 | + | let cm = aY() | |
720 | 723 | let dO = if ((size(cm) > 0)) | |
721 | 724 | then true | |
722 | 725 | else throw("invalid price assets") | |
754 | 757 | ||
755 | 758 | ||
756 | 759 | ||
757 | - | @Callable( | |
758 | - | func isPoolOneTokenOperationsDisabledREADONLY ( | |
759 | - | let cE = | |
760 | - | let | |
761 | - | let eb = valueOrElse(getBoolean(aj | |
762 | - | let ec = valueOrElse(getBoolean( | |
760 | + | @Callable(bf) | |
761 | + | func isPoolOneTokenOperationsDisabledREADONLY (Y) = { | |
762 | + | let cE = bJ(Y) | |
763 | + | let aj = $Tuple2(parseIntValue(cE[z]), parseIntValue(cE[A])) | |
764 | + | let eb = valueOrElse(getBoolean(ai(aj)), false) | |
765 | + | let ec = valueOrElse(getBoolean(al()), false) | |
763 | 766 | $Tuple2(nil, if (ec) | |
764 | 767 | then true | |
765 | 768 | else eb) | |
767 | 770 | ||
768 | 771 | ||
769 | 772 | ||
770 | - | @Callable( | |
771 | - | func getInFeeREADONLY ( | |
772 | - | let ed = | |
773 | + | @Callable(bf) | |
774 | + | func getInFeeREADONLY (Y) = { | |
775 | + | let ed = bV(aA(Y), aB(), 0) | |
773 | 776 | $Tuple2(nil, ed) | |
774 | 777 | } | |
775 | 778 | ||
776 | 779 | ||
777 | 780 | ||
778 | - | @Callable( | |
779 | - | func getOutFeeREADONLY ( | |
780 | - | let ed = | |
781 | + | @Callable(bf) | |
782 | + | func getOutFeeREADONLY (Y) = { | |
783 | + | let ed = bV(aC(Y), aD(), fraction(10, b, 10000)) | |
781 | 784 | $Tuple2(nil, ed) | |
782 | 785 | } | |
783 | 786 | ||
784 | 787 | ||
785 | 788 | ||
786 | - | @Callable(bi) | |
787 | - | func poolInfoREADONLY (ee,ef) = { | |
788 | - | let eg = getInteger(this, ae(ee)) | |
789 | - | let eh = getInteger(this, ae(ef)) | |
790 | - | let ei = getString(this, av(value(eg), value(eh))) | |
791 | - | let ej = getString(this, aw(value(ei))) | |
792 | - | let ek = if (if (isDefined(eg)) | |
793 | - | then isDefined(eh) | |
794 | - | else false) | |
795 | - | then isDefined(ei) | |
796 | - | else false | |
797 | - | let el = if (ek) | |
798 | - | then $Tuple2(addressFromStringValue(value(ei)), aJ(value(ej))) | |
799 | - | else unit | |
800 | - | $Tuple2(nil, el) | |
789 | + | @Callable(bf) | |
790 | + | func getPoolStatusREADONLY (Y) = { | |
791 | + | let bK = split(aE(as(Y)), j) | |
792 | + | let ag = bK[1] | |
793 | + | let ah = bK[2] | |
794 | + | let ee = split(aE(af(ag, ah)), j) | |
795 | + | $Tuple2(nil, parseIntValue(ee[t])) | |
801 | 796 | } | |
802 | 797 | ||
803 | 798 | ||
804 | - | ||
805 | - | @Callable(bi) | |
806 | - | func getPoolStatusREADONLY (Z) = { | |
807 | - | let bN = split(aF(at(Z)), k) | |
808 | - | let ah = bN[1] | |
809 | - | let ai = bN[2] | |
810 | - | let em = split(aF(ag(ah, ai)), k) | |
811 | - | $Tuple2(nil, parseIntValue(em[u])) | |
812 | - | } | |
813 | - | ||
814 | - | ||
815 | - | @Verifier(en) | |
816 | - | func eo () = { | |
817 | - | let ep = { | |
818 | - | let bc = be() | |
819 | - | if ($isInstanceOf(bc, "ByteVector")) | |
799 | + | @Verifier(ef) | |
800 | + | func eg () = { | |
801 | + | let eh = { | |
802 | + | let aZ = bb() | |
803 | + | if ($isInstanceOf(aZ, "ByteVector")) | |
820 | 804 | then { | |
821 | - | let | |
822 | - | | |
805 | + | let bh = aZ | |
806 | + | bh | |
823 | 807 | } | |
824 | - | else if ($isInstanceOf( | |
825 | - | then | |
808 | + | else if ($isInstanceOf(aZ, "Unit")) | |
809 | + | then ef.senderPublicKey | |
826 | 810 | else throw("Match error") | |
827 | 811 | } | |
828 | - | sigVerify( | |
812 | + | sigVerify(ef.bodyBytes, ef.proofs[0], eh) | |
829 | 813 | } | |
830 | 814 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
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 = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = b | |
13 | 13 | ||
14 | 14 | let f = "GWXvirtualPOOL" | |
15 | 15 | ||
16 | 16 | let g = "POOLS_LP" | |
17 | 17 | ||
18 | 18 | let h = 2000000 | |
19 | 19 | ||
20 | - | let i = | |
20 | + | let i = ((100 * 1000) * 1000) | |
21 | 21 | ||
22 | - | let j = | |
22 | + | let j = "__" | |
23 | 23 | ||
24 | - | let k = " | |
24 | + | let k = "" | |
25 | 25 | ||
26 | - | let l = | |
26 | + | let l = 1 | |
27 | 27 | ||
28 | - | let m = | |
28 | + | let m = 2 | |
29 | 29 | ||
30 | - | let n = | |
30 | + | let n = 3 | |
31 | 31 | ||
32 | - | let o = | |
32 | + | let o = 4 | |
33 | 33 | ||
34 | - | let p = | |
34 | + | let p = 1 | |
35 | 35 | ||
36 | - | let q = | |
36 | + | let q = 2 | |
37 | 37 | ||
38 | - | let r = | |
38 | + | let r = 3 | |
39 | 39 | ||
40 | - | let s = | |
40 | + | let s = 1 | |
41 | 41 | ||
42 | - | let t = | |
42 | + | let t = 2 | |
43 | 43 | ||
44 | - | let u = | |
44 | + | let u = 3 | |
45 | 45 | ||
46 | - | let v = | |
46 | + | let v = 4 | |
47 | 47 | ||
48 | - | let w = | |
48 | + | let w = 5 | |
49 | 49 | ||
50 | - | let x = | |
50 | + | let x = 6 | |
51 | 51 | ||
52 | - | let y = | |
52 | + | let y = 7 | |
53 | 53 | ||
54 | - | let z = | |
54 | + | let z = 8 | |
55 | 55 | ||
56 | - | let A = | |
56 | + | let A = 9 | |
57 | 57 | ||
58 | - | let B = | |
58 | + | let B = 10 | |
59 | 59 | ||
60 | - | let C = | |
60 | + | let C = 11 | |
61 | 61 | ||
62 | - | let D = | |
62 | + | let D = "WX_EMISSION" | |
63 | 63 | ||
64 | - | let E = | |
64 | + | let E = [D] | |
65 | 65 | ||
66 | - | let F = [E] | |
67 | - | ||
68 | - | func G () = "%s__allowedLpScriptHash" | |
66 | + | func F () = "%s__allowedLpScriptHash" | |
69 | 67 | ||
70 | 68 | ||
71 | - | func | |
69 | + | func G () = "%s__allowedLpStableScriptHash" | |
72 | 70 | ||
73 | 71 | ||
74 | - | func | |
72 | + | func H () = "%s__allowedLpStableAddonScriptHash" | |
75 | 73 | ||
76 | 74 | ||
77 | - | func | |
75 | + | func I () = "%s__factoryConfig" | |
78 | 76 | ||
79 | 77 | ||
80 | - | func | |
78 | + | func J () = "%s__lpTokensList" | |
81 | 79 | ||
82 | 80 | ||
83 | - | func | |
81 | + | func K () = "%s%s__pool__scriptHash" | |
84 | 82 | ||
85 | 83 | ||
86 | - | func | |
84 | + | func L () = "%s%s__matcher__publicKey" | |
87 | 85 | ||
88 | 86 | ||
89 | - | func | |
87 | + | func M () = "%s__legacyFactoryContract" | |
90 | 88 | ||
91 | 89 | ||
92 | - | func | |
90 | + | func N () = "%s__legacyPools" | |
93 | 91 | ||
94 | 92 | ||
95 | - | func | |
93 | + | func O () = "%s__managerPublicKey" | |
96 | 94 | ||
97 | 95 | ||
98 | - | func | |
96 | + | func P () = "%s__pendingManagerPublicKey" | |
99 | 97 | ||
100 | 98 | ||
101 | - | func | |
99 | + | func Q () = "%s__adminPubKeys" | |
102 | 100 | ||
103 | 101 | ||
104 | - | func | |
102 | + | func R () = "%s__assetsStoreContract" | |
105 | 103 | ||
106 | 104 | ||
107 | - | func | |
105 | + | func S () = "%s__votingEmissionContract" | |
108 | 106 | ||
109 | 107 | ||
110 | - | func | |
108 | + | func T () = makeString(["%s", "priceAssets"], j) | |
111 | 109 | ||
112 | 110 | ||
113 | - | func | |
111 | + | func U () = "%s__priceDecimals" | |
114 | 112 | ||
115 | 113 | ||
116 | - | func | |
114 | + | func V () = "%s__shutdown" | |
117 | 115 | ||
118 | 116 | ||
119 | - | func | |
117 | + | func W () = "%s__nextInternalAssetId" | |
120 | 118 | ||
121 | 119 | ||
122 | - | func | |
120 | + | func X (Y) = ("%s%s__poolWeight__" + Y) | |
123 | 121 | ||
124 | 122 | ||
125 | - | func | |
123 | + | func Z (Y,aa) = ((("%s%s__poolWeight__" + Y) + "__") + toString(aa)) | |
126 | 124 | ||
127 | 125 | ||
128 | - | func | |
126 | + | func ab (ac) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ac)) | |
129 | 127 | ||
130 | 128 | ||
131 | - | func | |
129 | + | func ad (ae) = ("%s%s%s__mappings__baseAsset2internalId__" + ae) | |
132 | 130 | ||
133 | 131 | ||
134 | - | func | |
132 | + | func af (ag,ah) = (((("%d%d%s__" + ag) + "__") + ah) + "__config") | |
135 | 133 | ||
136 | 134 | ||
137 | - | func | |
138 | - | let | |
139 | - | let | |
140 | - | let | |
141 | - | makeString(["%d%d%s", toString( | |
135 | + | func ai (aj) = { | |
136 | + | let ak = aj | |
137 | + | let ag = ak._1 | |
138 | + | let ah = ak._2 | |
139 | + | makeString(["%d%d%s", toString(ag), toString(ah), "oneTokenOperationsDisabled"], j) | |
142 | 140 | } | |
143 | 141 | ||
144 | 142 | ||
145 | - | func | |
143 | + | func al () = makeString(["%s", "oneTokenOperationsDisabled"], j) | |
146 | 144 | ||
147 | 145 | ||
148 | - | func | |
146 | + | func am (an) = (("%s%s%s__" + an) + "__mappings__lpAsset2Pool") | |
149 | 147 | ||
150 | 148 | ||
151 | - | func | |
149 | + | func ao (ap,aq) = (((("%d%d%s%s__" + ap) + "__") + aq) + "__mappings__PoolAssets2LpAsset") | |
152 | 150 | ||
153 | 151 | ||
154 | - | func | |
152 | + | func ar (Y) = ("%s%s__spread__" + Y) | |
155 | 153 | ||
156 | 154 | ||
157 | - | func | |
155 | + | func as (at) = (("%s%s%s__" + at) + "__mappings__poolContract2PoolAssets") | |
158 | 156 | ||
159 | 157 | ||
160 | - | func | |
158 | + | func au (ap,aq) = (((("%d%d%s%s__" + toString(ap)) + "__") + toString(aq)) + "__mappings__poolAssets2PoolContract") | |
161 | 159 | ||
162 | 160 | ||
163 | - | func | |
161 | + | func av (at) = (("%s%s%s__" + at) + "__mappings__poolContract2LpAsset") | |
164 | 162 | ||
165 | 163 | ||
166 | - | func | |
164 | + | func aw (an) = (("%s%s%s__" + an) + "__mappings__lpAsset2PoolContract") | |
167 | 165 | ||
168 | 166 | ||
169 | - | func | |
167 | + | func ax (ay,az) = ((("%s%s%s__wxEmission__" + ay) + "__") + az) | |
170 | 168 | ||
171 | 169 | ||
172 | - | func | |
170 | + | func aA (Y) = ("%s%s__inFee__" + Y) | |
173 | 171 | ||
174 | 172 | ||
175 | - | func | |
173 | + | func aB () = "%s__inFeeDefault" | |
176 | 174 | ||
177 | 175 | ||
178 | - | func | |
176 | + | func aC (Y) = ("%s%s__outFee__" + Y) | |
179 | 177 | ||
180 | 178 | ||
181 | - | func | |
179 | + | func aD () = "%s__outFeeDefault" | |
182 | 180 | ||
183 | 181 | ||
184 | - | func | |
182 | + | func aE (aF) = valueOrErrorMessage(getString(this, aF), ("No data for this.key=" + aF)) | |
185 | 183 | ||
186 | 184 | ||
187 | - | func | |
185 | + | func aG (aF) = valueOrErrorMessage(getBoolean(this, aF), ("No data for this.key=" + aF)) | |
188 | 186 | ||
189 | 187 | ||
190 | - | func | |
188 | + | func aH (aF) = valueOrErrorMessage(getInteger(this, aF), ("No data for this.key=" + aF)) | |
191 | 189 | ||
192 | 190 | ||
193 | - | func aJ (aK) = if ((aK == i)) | |
194 | - | then unit | |
195 | - | else fromBase58String(aK) | |
191 | + | let aI = 1 | |
192 | + | ||
193 | + | let aJ = 2 | |
194 | + | ||
195 | + | let aK = 3 | |
196 | + | ||
197 | + | let aL = 4 | |
198 | + | ||
199 | + | let aM = 5 | |
200 | + | ||
201 | + | let aN = 6 | |
202 | + | ||
203 | + | let aO = 7 | |
204 | + | ||
205 | + | let aP = 8 | |
206 | + | ||
207 | + | let aQ = 9 | |
208 | + | ||
209 | + | let aR = 10 | |
210 | + | ||
211 | + | let aS = 11 | |
212 | + | ||
213 | + | func aT (aU) = addressFromStringValue(aU[aJ]) | |
196 | 214 | ||
197 | 215 | ||
198 | - | let aL = 1 | |
199 | - | ||
200 | - | let aM = 2 | |
201 | - | ||
202 | - | let aN = 3 | |
203 | - | ||
204 | - | let aO = 4 | |
205 | - | ||
206 | - | let aP = 5 | |
207 | - | ||
208 | - | let aQ = 6 | |
209 | - | ||
210 | - | let aR = 7 | |
211 | - | ||
212 | - | let aS = 8 | |
213 | - | ||
214 | - | let aT = 9 | |
215 | - | ||
216 | - | let aU = 10 | |
217 | - | ||
218 | - | let aV = 11 | |
219 | - | ||
220 | - | func aW (aX) = addressFromStringValue(aX[aM]) | |
216 | + | func aV (aU) = addressFromStringValue(aU[aM]) | |
221 | 217 | ||
222 | 218 | ||
223 | - | func | |
219 | + | func aW (aU) = addressFromStringValue(aU[aI]) | |
224 | 220 | ||
225 | 221 | ||
226 | - | func | |
222 | + | func aX (aU) = addressFromStringValue(aU[aR]) | |
227 | 223 | ||
228 | 224 | ||
229 | - | func ba (aX) = addressFromStringValue(aX[aU]) | |
230 | - | ||
231 | - | ||
232 | - | func bb () = { | |
233 | - | let bc = getString(U()) | |
234 | - | if ($isInstanceOf(bc, "String")) | |
225 | + | func aY () = { | |
226 | + | let aZ = getString(T()) | |
227 | + | if ($isInstanceOf(aZ, "String")) | |
235 | 228 | then { | |
236 | - | let | |
237 | - | if ((size( | |
229 | + | let ba = aZ | |
230 | + | if ((size(ba) == 0)) | |
238 | 231 | then nil | |
239 | - | else split( | |
232 | + | else split(ba, j) | |
240 | 233 | } | |
241 | 234 | else nil | |
242 | 235 | } | |
243 | 236 | ||
244 | 237 | ||
245 | - | func | |
246 | - | let | |
247 | - | if ($isInstanceOf( | |
238 | + | func bb () = { | |
239 | + | let aZ = getString(O()) | |
240 | + | if ($isInstanceOf(aZ, "String")) | |
248 | 241 | then { | |
249 | - | let | |
250 | - | fromBase58String( | |
242 | + | let ba = aZ | |
243 | + | fromBase58String(ba) | |
251 | 244 | } | |
252 | - | else if ($isInstanceOf( | |
245 | + | else if ($isInstanceOf(aZ, "Unit")) | |
253 | 246 | then unit | |
254 | 247 | else throw("Match error") | |
255 | 248 | } | |
256 | 249 | ||
257 | 250 | ||
258 | - | func | |
259 | - | let | |
260 | - | if ($isInstanceOf( | |
251 | + | func bc () = { | |
252 | + | let aZ = getString(P()) | |
253 | + | if ($isInstanceOf(aZ, "String")) | |
261 | 254 | then { | |
262 | - | let | |
263 | - | fromBase58String( | |
255 | + | let ba = aZ | |
256 | + | fromBase58String(ba) | |
264 | 257 | } | |
265 | - | else if ($isInstanceOf( | |
258 | + | else if ($isInstanceOf(aZ, "Unit")) | |
266 | 259 | then unit | |
267 | 260 | else throw("Match error") | |
268 | 261 | } | |
269 | 262 | ||
270 | 263 | ||
271 | - | let | |
264 | + | let bd = throw("Permission denied") | |
272 | 265 | ||
273 | - | func | |
266 | + | func be (bf) = if ((bf.caller == this)) | |
274 | 267 | then true | |
275 | - | else | |
268 | + | else bd | |
276 | 269 | ||
277 | 270 | ||
278 | - | func | |
279 | - | let | |
280 | - | if ($isInstanceOf( | |
271 | + | func bg (bf) = { | |
272 | + | let aZ = bb() | |
273 | + | if ($isInstanceOf(aZ, "ByteVector")) | |
281 | 274 | then { | |
282 | - | let | |
283 | - | if (( | |
275 | + | let bh = aZ | |
276 | + | if ((bf.callerPublicKey == bh)) | |
284 | 277 | then true | |
285 | - | else | |
278 | + | else bd | |
286 | 279 | } | |
287 | - | else if ($isInstanceOf( | |
288 | - | then | |
280 | + | else if ($isInstanceOf(aZ, "Unit")) | |
281 | + | then be(bf) | |
289 | 282 | else throw("Match error") | |
290 | 283 | } | |
291 | 284 | ||
292 | 285 | ||
293 | - | func | |
286 | + | func bi (bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt], j) | |
294 | 287 | ||
295 | 288 | ||
296 | - | func | |
289 | + | func bu (bj,bk,bl,bm,bn,bo,bp) = makeString(["%s%s%s%s%s%s", bj, bk, bl, bm, bn, bo, bp], j) | |
297 | 290 | ||
298 | 291 | ||
299 | - | func | |
292 | + | func bv (Y,bw,bx,by,bz,bA,bB,bC,bD,bE,bF) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", Y, bw, bx, by, bz, toString(bA), toString(bB), toString(bC), toString(bD), toString(bE), bF], j) | |
300 | 293 | ||
301 | 294 | ||
302 | - | func | |
295 | + | func bG (bH,bI) = makeString(["%d%d", toString(bH), toString(bI)], j) | |
303 | 296 | ||
304 | 297 | ||
305 | - | func | |
306 | - | let | |
307 | - | let | |
308 | - | let | |
309 | - | split( | |
298 | + | func bJ (Y) = { | |
299 | + | let bK = split(aE(as(Y)), j) | |
300 | + | let ag = bK[1] | |
301 | + | let ah = bK[2] | |
302 | + | split(aE(af(ag, ah)), j) | |
310 | 303 | } | |
311 | 304 | ||
312 | 305 | ||
313 | - | func | |
314 | - | let | |
315 | - | let | |
316 | - | let | |
306 | + | func bL (bM,bN) = { | |
307 | + | let bO = valueOrElse(getInteger(this, ad(bM)), 0) | |
308 | + | let bP = valueOrElse(getInteger(this, W()), 0) | |
309 | + | let bQ = if ((bO == 0)) | |
317 | 310 | then { | |
318 | - | let | |
319 | - | $Tuple3( | |
311 | + | let bR = (bP + bN) | |
312 | + | $Tuple3(bR, [IntegerEntry(W(), bR), IntegerEntry(ad(bM), bR), StringEntry(ab(bR), bM)], true) | |
320 | 313 | } | |
321 | - | else $Tuple3( | |
322 | - | | |
314 | + | else $Tuple3(bO, nil, false) | |
315 | + | bQ | |
323 | 316 | } | |
324 | 317 | ||
325 | 318 | ||
326 | - | func | |
327 | - | let | |
328 | - | if (containsElement( | |
319 | + | func bS (bf) = { | |
320 | + | let bT = split(valueOrElse(getString(Q()), k), j) | |
321 | + | if (containsElement(bT, toBase58String(bf.callerPublicKey))) | |
329 | 322 | then true | |
330 | 323 | else { | |
331 | - | let | |
332 | - | if (( | |
324 | + | let bU = bg(bf) | |
325 | + | if ((bU == bU)) | |
333 | 326 | then true | |
334 | 327 | else throw("Strict value is not equal to itself.") | |
335 | 328 | } | |
336 | 329 | } | |
337 | 330 | ||
338 | 331 | ||
339 | - | func | |
332 | + | func bV (aF,bW,bX) = valueOrElse(getInteger(this, aF), valueOrElse(getInteger(this, bW), bX)) | |
340 | 333 | ||
341 | 334 | ||
342 | - | @Callable(bi) | |
343 | - | func constructor (cb,cc,bo,bp,bq,br,cd,ce) = { | |
344 | - | let cf = bj(bi) | |
335 | + | @Callable(bf) | |
336 | + | func getLpAssetFromPoolAssetsREADONLY (bY,bZ) = $Tuple2(nil, getString(this, ao(bY, bZ))) | |
337 | + | ||
338 | + | ||
339 | + | ||
340 | + | @Callable(bf) | |
341 | + | func getPoolAddressFromLpAssetREADONLY (ca) = $Tuple2(nil, getString(this, aw(ca))) | |
342 | + | ||
343 | + | ||
344 | + | ||
345 | + | @Callable(bf) | |
346 | + | func constructor (cb,cc,bl,bm,bn,bo,cd,ce) = { | |
347 | + | let cf = bg(bf) | |
345 | 348 | if ((cf == cf)) | |
346 | - | then [StringEntry( | |
349 | + | then [StringEntry(I(), bu(cb, cc, bl, bm, bn, bo, cd)), IntegerEntry(U(), ce)] | |
347 | 350 | else throw("Strict value is not equal to itself.") | |
348 | 351 | } | |
349 | 352 | ||
350 | 353 | ||
351 | 354 | ||
352 | - | @Callable( | |
355 | + | @Callable(bf) | |
353 | 356 | func constructorV2 (cg) = { | |
354 | - | let cf = | |
357 | + | let cf = bg(bf) | |
355 | 358 | if ((cf == cf)) | |
356 | 359 | then { | |
357 | 360 | let ch = addressFromPublicKey(fromBase58String(cg)) | |
358 | 361 | if ((ch == ch)) | |
359 | - | then [StringEntry( | |
362 | + | then [StringEntry(L(), cg)] | |
360 | 363 | else throw("Strict value is not equal to itself.") | |
361 | 364 | } | |
362 | 365 | else throw("Strict value is not equal to itself.") | |
363 | 366 | } | |
364 | 367 | ||
365 | 368 | ||
366 | 369 | ||
367 | - | @Callable( | |
368 | - | func constructorV3 (bt | |
369 | - | let cf = | |
370 | + | @Callable(bf) | |
371 | + | func constructorV3 (bq,br,bs,bt) = { | |
372 | + | let cf = bg(bf) | |
370 | 373 | if ((cf == cf)) | |
371 | 374 | then { | |
372 | - | let | |
373 | - | [StringEntry( | |
375 | + | let aU = split(aE(I()), j) | |
376 | + | [StringEntry(I(), bi(aU[1], aU[2], aU[3], aU[4], aU[5], aU[6], aU[7], bq, br, bs, bt))] | |
374 | 377 | } | |
375 | 378 | else throw("Strict value is not equal to itself.") | |
376 | 379 | } | |
377 | 380 | ||
378 | 381 | ||
379 | 382 | ||
380 | - | @Callable( | |
383 | + | @Callable(bf) | |
381 | 384 | func constructorV4 (ci,cj) = { | |
382 | - | let cf = | |
385 | + | let cf = bg(bf) | |
383 | 386 | if ((cf == cf)) | |
384 | - | then [StringEntry( | |
387 | + | then [StringEntry(M(), ci), StringEntry(N(), makeString(cj, j))] | |
385 | 388 | else throw("Strict value is not equal to itself.") | |
386 | 389 | } | |
387 | 390 | ||
388 | 391 | ||
389 | 392 | ||
390 | - | @Callable( | |
393 | + | @Callable(bf) | |
391 | 394 | func constructorV5 (ck) = { | |
392 | - | let cf = | |
395 | + | let cf = bg(bf) | |
393 | 396 | if ((cf == cf)) | |
394 | - | then [StringEntry( | |
397 | + | then [StringEntry(R(), ck)] | |
395 | 398 | else throw("Strict value is not equal to itself.") | |
396 | 399 | } | |
397 | 400 | ||
398 | 401 | ||
399 | 402 | ||
400 | - | @Callable( | |
403 | + | @Callable(bf) | |
401 | 404 | func constructorV6 (cl,cm) = { | |
402 | - | let cn = [ | |
405 | + | let cn = [bg(bf), if ((addressFromString(cl) != unit)) | |
403 | 406 | then true | |
404 | 407 | else "invalid voting emission contract address"] | |
405 | 408 | if ((cn == cn)) | |
406 | - | then [StringEntry( | |
409 | + | then [StringEntry(S(), cl), StringEntry(T(), makeString(cm, j))] | |
407 | 410 | else throw("Strict value is not equal to itself.") | |
408 | 411 | } | |
409 | 412 | ||
410 | 413 | ||
411 | 414 | ||
412 | - | @Callable( | |
415 | + | @Callable(bf) | |
413 | 416 | func setManager (co) = { | |
414 | - | let cf = | |
417 | + | let cf = bg(bf) | |
415 | 418 | if ((cf == cf)) | |
416 | 419 | then { | |
417 | 420 | let cp = fromBase58String(co) | |
418 | 421 | if ((cp == cp)) | |
419 | - | then [StringEntry( | |
422 | + | then [StringEntry(P(), co)] | |
420 | 423 | else throw("Strict value is not equal to itself.") | |
421 | 424 | } | |
422 | 425 | else throw("Strict value is not equal to itself.") | |
423 | 426 | } | |
424 | 427 | ||
425 | 428 | ||
426 | 429 | ||
427 | - | @Callable( | |
430 | + | @Callable(bf) | |
428 | 431 | func confirmManager () = { | |
429 | - | let cq = | |
432 | + | let cq = bc() | |
430 | 433 | let cr = if (isDefined(cq)) | |
431 | 434 | then true | |
432 | 435 | else throw("No pending manager") | |
433 | 436 | if ((cr == cr)) | |
434 | 437 | then { | |
435 | - | let cs = if (( | |
438 | + | let cs = if ((bf.callerPublicKey == value(cq))) | |
436 | 439 | then true | |
437 | 440 | else throw("You are not pending manager") | |
438 | 441 | if ((cs == cs)) | |
439 | - | then [StringEntry( | |
442 | + | then [StringEntry(O(), toBase58String(value(cq))), DeleteEntry(P())] | |
440 | 443 | else throw("Strict value is not equal to itself.") | |
441 | 444 | } | |
442 | 445 | else throw("Strict value is not equal to itself.") | |
443 | 446 | } | |
444 | 447 | ||
445 | 448 | ||
446 | 449 | ||
447 | - | @Callable( | |
450 | + | @Callable(bf) | |
448 | 451 | func setAdmins (ct) = { | |
449 | - | let cf = | |
452 | + | let cf = bg(bf) | |
450 | 453 | if ((cf == cf)) | |
451 | - | then [StringEntry( | |
454 | + | then [StringEntry(Q(), makeString(ct, j))] | |
452 | 455 | else throw("Strict value is not equal to itself.") | |
453 | 456 | } | |
454 | 457 | ||
455 | 458 | ||
456 | 459 | ||
457 | - | @Callable( | |
458 | - | func activateNewPool ( | |
459 | - | let cf = | |
460 | + | @Callable(bf) | |
461 | + | func activateNewPool (Y,by,bz,cu,cv,cw,bF,cx) = { | |
462 | + | let cf = bS(bf) | |
460 | 463 | if ((cf == cf)) | |
461 | - | then if (isDefined(getString( | |
462 | - | then throw((("Pool address " + | |
464 | + | then if (isDefined(getString(as(Y)))) | |
465 | + | then throw((("Pool address " + Y) + " already registered.")) | |
463 | 466 | else { | |
464 | - | let cy = | |
467 | + | let cy = bL(by, 1) | |
465 | 468 | let cz = cy._1 | |
466 | - | let cA = | |
469 | + | let cA = bL(bz, if (cy._3) | |
467 | 470 | then 2 | |
468 | 471 | else 1) | |
469 | 472 | let cB = cA._1 | |
470 | - | let cC = valueOrErrorMessage(scriptHash(addressFromStringValue( | |
471 | - | let cD = getBinaryValue( | |
472 | - | let cE = getString(this, | |
473 | + | let cC = valueOrErrorMessage(scriptHash(addressFromStringValue(Y)), ("No script has been found on pool account " + Y)) | |
474 | + | let cD = getBinaryValue(K()) | |
475 | + | let cE = getString(this, af(toString(cz), toString(cB))) | |
473 | 476 | if (isDefined(cE)) | |
474 | - | then throw((((("Pool " + | |
477 | + | then throw((((("Pool " + by) + "/") + bz) + " has already been activated.")) | |
475 | 478 | else { | |
476 | - | let cF = value(getString(this, | |
477 | - | let cG = if (( | |
478 | - | then | |
479 | - | else pow(10, 0, value(assetInfo(fromBase58String( | |
480 | - | let cH = if (( | |
481 | - | then | |
482 | - | else pow(10, 0, value(assetInfo(fromBase58String( | |
479 | + | let cF = value(getString(this, af(toString(cz), toString(cB)))) | |
480 | + | let cG = if ((by == "WAVES")) | |
481 | + | then i | |
482 | + | else pow(10, 0, value(assetInfo(fromBase58String(by))).decimals, 0, 0, DOWN) | |
483 | + | let cH = if ((bz == "WAVES")) | |
484 | + | then i | |
485 | + | else pow(10, 0, value(assetInfo(fromBase58String(bz))).decimals, 0, 0, DOWN) | |
483 | 486 | let cI = Issue(cu, cv, 1, 8, true) | |
484 | - | let | |
485 | - | let cJ = toBase58String( | |
486 | - | let cK = invoke(addressFromStringValue( | |
487 | + | let bx = calculateAssetId(cI) | |
488 | + | let cJ = toBase58String(bx) | |
489 | + | let cK = invoke(addressFromStringValue(Y), "activate", [by, bz], nil) | |
487 | 490 | if ((cK == cK)) | |
488 | 491 | then if ((cK != "success")) | |
489 | 492 | then throw("Pool initialisation error happened.") | |
490 | 493 | else { | |
491 | - | let ck = addressFromStringValue( | |
494 | + | let ck = addressFromStringValue(aE(R())) | |
492 | 495 | let cL = invoke(ck, "createOrUpdate", [cJ, cu, false], nil) | |
493 | 496 | if ((cL == cL)) | |
494 | 497 | then { | |
495 | 498 | let cM = invoke(ck, "addLabel", [cJ, g], nil) | |
496 | 499 | if ((cM == cM)) | |
497 | 500 | then { | |
498 | 501 | let cN = invoke(ck, "setLogo", [cJ, cx], nil) | |
499 | 502 | if ((cN == cN)) | |
500 | 503 | then { | |
501 | - | let cO = invoke(ck, "addAssetsLink", [ | |
504 | + | let cO = invoke(ck, "addAssetsLink", [by, bz, cJ], nil) | |
502 | 505 | if ((cO == cO)) | |
503 | 506 | then { | |
504 | - | let cP = invoke(ck, "increaseAssetPoolsNumber", [ | |
507 | + | let cP = invoke(ck, "increaseAssetPoolsNumber", [by], nil) | |
505 | 508 | if ((cP == cP)) | |
506 | - | then $Tuple2(((cy._2 ++ cA._2) ++ [cI, Burn( | |
509 | + | then $Tuple2(((cy._2 ++ cA._2) ++ [cI, Burn(bx, 1), StringEntry(af(toString(cz), toString(cB)), bv(Y, toString(l), cJ, by, bz, cG, cH, cz, cB, i, bF)), StringEntry(am(cJ), bG(cz, cB)), StringEntry(ao(toString(cz), toString(cB)), ("%s__" + cJ)), StringEntry(as(Y), bG(cz, cB)), StringEntry(au(cz, cB), Y), StringEntry(aw(cJ), Y), StringEntry(av(Y), cJ), IntegerEntry(X(Y), cw), IntegerEntry(ar(Y), h)]), cJ) | |
507 | 510 | else throw("Strict value is not equal to itself.") | |
508 | 511 | } | |
509 | 512 | else throw("Strict value is not equal to itself.") | |
510 | 513 | } | |
511 | 514 | else throw("Strict value is not equal to itself.") | |
512 | 515 | } | |
513 | 516 | else throw("Strict value is not equal to itself.") | |
514 | 517 | } | |
515 | 518 | else throw("Strict value is not equal to itself.") | |
516 | 519 | } | |
517 | 520 | else throw("Strict value is not equal to itself.") | |
518 | 521 | } | |
519 | 522 | } | |
520 | 523 | else throw("Strict value is not equal to itself.") | |
521 | 524 | } | |
522 | 525 | ||
523 | 526 | ||
524 | 527 | ||
525 | - | @Callable( | |
526 | - | func managePool ( | |
527 | - | let cf = | |
528 | + | @Callable(bf) | |
529 | + | func managePool (Y,cQ) = { | |
530 | + | let cf = bg(bf) | |
528 | 531 | if ((cf == cf)) | |
529 | 532 | then { | |
530 | - | let cE = | |
531 | - | let | |
532 | - | let cJ = cE[ | |
533 | - | let | |
534 | - | let | |
535 | - | let cG = parseIntValue(cE[ | |
536 | - | let cH = parseIntValue(cE[ | |
537 | - | let cz = parseIntValue(cE[ | |
538 | - | let cB = parseIntValue(cE[ | |
539 | - | let cR = parseIntValue(cE[ | |
540 | - | let | |
541 | - | [StringEntry( | |
533 | + | let cE = bJ(Y) | |
534 | + | let bw = cE[t] | |
535 | + | let cJ = cE[u] | |
536 | + | let by = cE[v] | |
537 | + | let bz = cE[w] | |
538 | + | let cG = parseIntValue(cE[x]) | |
539 | + | let cH = parseIntValue(cE[y]) | |
540 | + | let cz = parseIntValue(cE[z]) | |
541 | + | let cB = parseIntValue(cE[A]) | |
542 | + | let cR = parseIntValue(cE[B]) | |
543 | + | let bF = cE[C] | |
544 | + | [StringEntry(af(toString(cz), toString(cB)), bv(Y, toString(cQ), cJ, by, bz, cG, cH, cz, cB, cR, bF))] | |
542 | 545 | } | |
543 | 546 | else throw("Strict value is not equal to itself.") | |
544 | 547 | } | |
545 | 548 | ||
546 | 549 | ||
547 | 550 | ||
548 | - | @Callable( | |
551 | + | @Callable(bf) | |
549 | 552 | func emit (cS) = { | |
550 | - | let cT = | |
551 | - | let cU = | |
552 | - | let cV = valueOrErrorMessage(getString( | |
553 | + | let cT = bf.caller | |
554 | + | let cU = bf.originCaller | |
555 | + | let cV = valueOrErrorMessage(getString(av(toString(cT))), "Invalid LP address called me.") | |
553 | 556 | let cW = fromBase58String(cV) | |
554 | - | let cj = split(valueOrElse(getString( | |
555 | - | let ci = addressFromStringValue(valueOrErrorMessage(getString( | |
557 | + | let cj = split(valueOrElse(getString(N()), k), j) | |
558 | + | let ci = addressFromStringValue(valueOrErrorMessage(getString(M()), "Legacy factory contract does not exists.")) | |
556 | 559 | if ((0 >= cS)) | |
557 | 560 | then nil | |
558 | 561 | else if (containsElement(cj, toString(cT))) | |
559 | 562 | then $Tuple2(nil, ci) | |
560 | - | else $Tuple2([Reissue(cW, cS, true), ScriptTransfer( | |
563 | + | else $Tuple2([Reissue(cW, cS, true), ScriptTransfer(bf.caller, cS, cW)], "success") | |
561 | 564 | } | |
562 | 565 | ||
563 | 566 | ||
564 | 567 | ||
565 | - | @Callable( | |
568 | + | @Callable(bf) | |
566 | 569 | func burn (cX) = { | |
567 | - | let cT = | |
568 | - | let cU = | |
569 | - | let cY = value( | |
570 | + | let cT = bf.caller | |
571 | + | let cU = bf.originCaller | |
572 | + | let cY = value(bf.payments[0]) | |
570 | 573 | let cZ = value(cY.amount) | |
571 | 574 | let da = toBase58String(value(cY.assetId)) | |
572 | - | let db = valueOrErrorMessage(getString( | |
575 | + | let db = valueOrErrorMessage(getString(av(toString(cT))), "Invalid LP address called me.") | |
573 | 576 | if ((da != db)) | |
574 | 577 | then throw("Invalid asset passed.") | |
575 | 578 | else if ((cX != cZ)) | |
576 | 579 | then throw("Invalid amount passed.") | |
577 | 580 | else { | |
578 | 581 | let cW = fromBase58String(db) | |
579 | 582 | $Tuple2([Burn(cW, cX)], "success") | |
580 | 583 | } | |
581 | 584 | } | |
582 | 585 | ||
583 | 586 | ||
584 | 587 | ||
585 | - | @Callable( | |
586 | - | func modifyWeight ( | |
587 | - | let cf = if ((toBase58String( | |
588 | + | @Callable(bf) | |
589 | + | func modifyWeight (bx,dc) = { | |
590 | + | let cf = if ((toBase58String(bf.caller.bytes) == valueOrElse(getString(this, S()), ""))) | |
588 | 591 | then true | |
589 | - | else | |
592 | + | else bg(bf) | |
590 | 593 | if ((cf == cf)) | |
591 | 594 | then { | |
592 | - | let | |
593 | - | let dd = | |
594 | - | let de = | |
595 | + | let at = aE(aw(bx)) | |
596 | + | let dd = X(at) | |
597 | + | let de = X(f) | |
595 | 598 | let df = valueOrElse(getInteger(de), 0) | |
596 | 599 | let cw = valueOrElse(getInteger(dd), 0) | |
597 | 600 | let dg = dc | |
598 | - | let | |
599 | - | let cb = | |
600 | - | let dh = invoke(cb, "onModifyWeight", [ | |
601 | + | let aU = split(aE(I()), j) | |
602 | + | let cb = aW(aU) | |
603 | + | let dh = invoke(cb, "onModifyWeight", [bx, at], nil) | |
601 | 604 | if ((dh == dh)) | |
602 | 605 | then { | |
603 | 606 | let di = if ((df == 0)) | |
604 | 607 | then nil | |
605 | 608 | else [IntegerEntry(de, 0)] | |
606 | - | let dj = | |
609 | + | let dj = Z(at, 0) | |
607 | 610 | let dk = getInteger(dj) | |
608 | 611 | let dl = if ((dk == unit)) | |
609 | 612 | then nil | |
610 | 613 | else [DeleteEntry(dj)] | |
611 | 614 | (([IntegerEntry(dd, dg)] ++ di) ++ dl) | |
612 | 615 | } | |
613 | 616 | else throw("Strict value is not equal to itself.") | |
614 | 617 | } | |
615 | 618 | else throw("Strict value is not equal to itself.") | |
616 | 619 | } | |
617 | 620 | ||
618 | 621 | ||
619 | 622 | ||
620 | - | @Callable( | |
623 | + | @Callable(bf) | |
621 | 624 | func modifyWeights (dm,dn,do,dp) = { | |
622 | - | let cf = | |
625 | + | let cf = bg(bf) | |
623 | 626 | if ((cf == cf)) | |
624 | 627 | then { | |
625 | 628 | let dq = ((5 * e) / 100) | |
626 | 629 | let dr = ((5 * e) / 100) | |
627 | 630 | let ds = ((5 * e) / 100) | |
628 | - | let | |
629 | - | let dt = | |
630 | - | let du = | |
631 | - | let dv = | |
632 | - | let dw = | |
633 | - | let dx = | |
634 | - | let dy = | |
635 | - | let dz = | |
636 | - | let dA = | |
631 | + | let aU = split(aE(I()), j) | |
632 | + | let dt = aW(aU) | |
633 | + | let du = aX(aU) | |
634 | + | let dv = X(dm) | |
635 | + | let dw = X(dn) | |
636 | + | let dx = X(do) | |
637 | + | let dy = X(dp) | |
638 | + | let dz = aH(dv) | |
639 | + | let dA = aH(dw) | |
637 | 640 | let dB = (dz - ds) | |
638 | 641 | let dC = (dA - ds) | |
639 | 642 | if ((0 >= dB)) | |
640 | 643 | then throw(("invalid btcWeightNew: " + toString(dB))) | |
641 | 644 | else if ((0 >= dC)) | |
642 | 645 | then throw(("invalid ethWeightNew: " + toString(dC))) | |
643 | 646 | else { | |
644 | - | let dD = | |
645 | - | let dE = | |
646 | - | let dF = | |
647 | - | let dG = | |
647 | + | let dD = aE(av(dm)) | |
648 | + | let dE = aE(av(dn)) | |
649 | + | let dF = aE(av(do)) | |
650 | + | let dG = aE(av(dp)) | |
648 | 651 | let dH = invoke(dt, "onModifyWeight", [dD, dm], nil) | |
649 | 652 | if ((dH == dH)) | |
650 | 653 | then { | |
651 | 654 | let dI = invoke(dt, "onModifyWeight", [dE, dn], nil) | |
652 | 655 | if ((dI == dI)) | |
653 | 656 | then { | |
654 | 657 | let dJ = invoke(dt, "onModifyWeight", [dF, do], nil) | |
655 | 658 | if ((dJ == dJ)) | |
656 | 659 | then { | |
657 | 660 | let dK = invoke(dt, "onModifyWeight", [dG, dp], nil) | |
658 | 661 | if ((dK == dK)) | |
659 | - | then [IntegerEntry(dv, dB), IntegerEntry(dw, dC), IntegerEntry(dx, dq), IntegerEntry(dy, dr), IntegerEntry( | |
662 | + | then [IntegerEntry(dv, dB), IntegerEntry(dw, dC), IntegerEntry(dx, dq), IntegerEntry(dy, dr), IntegerEntry(Z(dm, 0), dz), IntegerEntry(Z(dn, 0), dA), IntegerEntry(Z(do, 0), dq), IntegerEntry(Z(dp, 0), dr)] | |
660 | 663 | else throw("Strict value is not equal to itself.") | |
661 | 664 | } | |
662 | 665 | else throw("Strict value is not equal to itself.") | |
663 | 666 | } | |
664 | 667 | else throw("Strict value is not equal to itself.") | |
665 | 668 | } | |
666 | 669 | else throw("Strict value is not equal to itself.") | |
667 | 670 | } | |
668 | 671 | } | |
669 | 672 | else throw("Strict value is not equal to itself.") | |
670 | 673 | } | |
671 | 674 | ||
672 | 675 | ||
673 | 676 | ||
674 | - | @Callable( | |
675 | - | func checkWxEmissionPoolLabel (az | |
677 | + | @Callable(bf) | |
678 | + | func checkWxEmissionPoolLabel (ay,az) = { | |
676 | 679 | let dL = { | |
677 | - | let | |
678 | - | if ($isInstanceOf( | |
680 | + | let aZ = getBoolean(ax(ay, az)) | |
681 | + | if ($isInstanceOf(aZ, "Boolean")) | |
679 | 682 | then { | |
680 | - | let dM = | |
683 | + | let dM = aZ | |
681 | 684 | dM | |
682 | 685 | } | |
683 | 686 | else false | |
684 | 687 | } | |
685 | 688 | $Tuple2(nil, dL) | |
686 | 689 | } | |
687 | 690 | ||
688 | 691 | ||
689 | 692 | ||
690 | - | @Callable( | |
691 | - | func setWxEmissionPoolLabel (az | |
692 | - | let cf = | |
693 | + | @Callable(bf) | |
694 | + | func setWxEmissionPoolLabel (ay,az) = { | |
695 | + | let cf = bS(bf) | |
693 | 696 | if ((cf == cf)) | |
694 | - | then $Tuple2([BooleanEntry(ay | |
697 | + | then $Tuple2([BooleanEntry(ax(ay, az), true)], unit) | |
695 | 698 | else throw("Strict value is not equal to itself.") | |
696 | 699 | } | |
697 | 700 | ||
698 | 701 | ||
699 | 702 | ||
700 | - | @Callable( | |
701 | - | func deleteWxEmissionPoolLabel (az | |
702 | - | let cf = if ( | |
703 | + | @Callable(bf) | |
704 | + | func deleteWxEmissionPoolLabel (ay,az) = { | |
705 | + | let cf = if (be(bf)) | |
703 | 706 | then true | |
704 | - | else | |
707 | + | else bS(bf) | |
705 | 708 | if ((cf == cf)) | |
706 | - | then $Tuple2([DeleteEntry(ay | |
709 | + | then $Tuple2([DeleteEntry(ax(ay, az))], unit) | |
707 | 710 | else throw("Strict value is not equal to itself.") | |
708 | 711 | } | |
709 | 712 | ||
710 | 713 | ||
711 | 714 | ||
712 | - | @Callable( | |
715 | + | @Callable(bf) | |
713 | 716 | func onVerificationLoss (dN) = { | |
714 | - | let cf = if ((toBase58String( | |
717 | + | let cf = if ((toBase58String(bf.caller.bytes) == valueOrElse(getString(this, R()), ""))) | |
715 | 718 | then true | |
716 | - | else | |
719 | + | else bg(bf) | |
717 | 720 | if ((cf == cf)) | |
718 | 721 | then { | |
719 | - | let cm = | |
722 | + | let cm = aY() | |
720 | 723 | let dO = if ((size(cm) > 0)) | |
721 | 724 | then true | |
722 | 725 | else throw("invalid price assets") | |
723 | 726 | if ((dO == dO)) | |
724 | 727 | then { | |
725 | 728 | func dP (dQ,dR) = { | |
726 | 729 | let dS = invoke(this, "deleteWxEmissionPoolLabel", [dN, dR], nil) | |
727 | 730 | if ((dS == dS)) | |
728 | 731 | then unit | |
729 | 732 | else throw("Strict value is not equal to itself.") | |
730 | 733 | } | |
731 | 734 | ||
732 | 735 | let dT = { | |
733 | 736 | let dU = cm | |
734 | 737 | let dV = size(dU) | |
735 | 738 | let dW = unit | |
736 | 739 | func dX (dY,dZ) = if ((dZ >= dV)) | |
737 | 740 | then dY | |
738 | 741 | else dP(dY, dU[dZ]) | |
739 | 742 | ||
740 | 743 | func ea (dY,dZ) = if ((dZ >= dV)) | |
741 | 744 | then dY | |
742 | 745 | else throw("List size exceeds 3") | |
743 | 746 | ||
744 | 747 | ea(dX(dX(dX(dW, 0), 1), 2), 3) | |
745 | 748 | } | |
746 | 749 | if ((dT == dT)) | |
747 | 750 | then $Tuple2(nil, unit) | |
748 | 751 | else throw("Strict value is not equal to itself.") | |
749 | 752 | } | |
750 | 753 | else throw("Strict value is not equal to itself.") | |
751 | 754 | } | |
752 | 755 | else throw("Strict value is not equal to itself.") | |
753 | 756 | } | |
754 | 757 | ||
755 | 758 | ||
756 | 759 | ||
757 | - | @Callable( | |
758 | - | func isPoolOneTokenOperationsDisabledREADONLY ( | |
759 | - | let cE = | |
760 | - | let | |
761 | - | let eb = valueOrElse(getBoolean(aj | |
762 | - | let ec = valueOrElse(getBoolean( | |
760 | + | @Callable(bf) | |
761 | + | func isPoolOneTokenOperationsDisabledREADONLY (Y) = { | |
762 | + | let cE = bJ(Y) | |
763 | + | let aj = $Tuple2(parseIntValue(cE[z]), parseIntValue(cE[A])) | |
764 | + | let eb = valueOrElse(getBoolean(ai(aj)), false) | |
765 | + | let ec = valueOrElse(getBoolean(al()), false) | |
763 | 766 | $Tuple2(nil, if (ec) | |
764 | 767 | then true | |
765 | 768 | else eb) | |
766 | 769 | } | |
767 | 770 | ||
768 | 771 | ||
769 | 772 | ||
770 | - | @Callable( | |
771 | - | func getInFeeREADONLY ( | |
772 | - | let ed = | |
773 | + | @Callable(bf) | |
774 | + | func getInFeeREADONLY (Y) = { | |
775 | + | let ed = bV(aA(Y), aB(), 0) | |
773 | 776 | $Tuple2(nil, ed) | |
774 | 777 | } | |
775 | 778 | ||
776 | 779 | ||
777 | 780 | ||
778 | - | @Callable( | |
779 | - | func getOutFeeREADONLY ( | |
780 | - | let ed = | |
781 | + | @Callable(bf) | |
782 | + | func getOutFeeREADONLY (Y) = { | |
783 | + | let ed = bV(aC(Y), aD(), fraction(10, b, 10000)) | |
781 | 784 | $Tuple2(nil, ed) | |
782 | 785 | } | |
783 | 786 | ||
784 | 787 | ||
785 | 788 | ||
786 | - | @Callable(bi) | |
787 | - | func poolInfoREADONLY (ee,ef) = { | |
788 | - | let eg = getInteger(this, ae(ee)) | |
789 | - | let eh = getInteger(this, ae(ef)) | |
790 | - | let ei = getString(this, av(value(eg), value(eh))) | |
791 | - | let ej = getString(this, aw(value(ei))) | |
792 | - | let ek = if (if (isDefined(eg)) | |
793 | - | then isDefined(eh) | |
794 | - | else false) | |
795 | - | then isDefined(ei) | |
796 | - | else false | |
797 | - | let el = if (ek) | |
798 | - | then $Tuple2(addressFromStringValue(value(ei)), aJ(value(ej))) | |
799 | - | else unit | |
800 | - | $Tuple2(nil, el) | |
789 | + | @Callable(bf) | |
790 | + | func getPoolStatusREADONLY (Y) = { | |
791 | + | let bK = split(aE(as(Y)), j) | |
792 | + | let ag = bK[1] | |
793 | + | let ah = bK[2] | |
794 | + | let ee = split(aE(af(ag, ah)), j) | |
795 | + | $Tuple2(nil, parseIntValue(ee[t])) | |
801 | 796 | } | |
802 | 797 | ||
803 | 798 | ||
804 | - | ||
805 | - | @Callable(bi) | |
806 | - | func getPoolStatusREADONLY (Z) = { | |
807 | - | let bN = split(aF(at(Z)), k) | |
808 | - | let ah = bN[1] | |
809 | - | let ai = bN[2] | |
810 | - | let em = split(aF(ag(ah, ai)), k) | |
811 | - | $Tuple2(nil, parseIntValue(em[u])) | |
812 | - | } | |
813 | - | ||
814 | - | ||
815 | - | @Verifier(en) | |
816 | - | func eo () = { | |
817 | - | let ep = { | |
818 | - | let bc = be() | |
819 | - | if ($isInstanceOf(bc, "ByteVector")) | |
799 | + | @Verifier(ef) | |
800 | + | func eg () = { | |
801 | + | let eh = { | |
802 | + | let aZ = bb() | |
803 | + | if ($isInstanceOf(aZ, "ByteVector")) | |
820 | 804 | then { | |
821 | - | let | |
822 | - | | |
805 | + | let bh = aZ | |
806 | + | bh | |
823 | 807 | } | |
824 | - | else if ($isInstanceOf( | |
825 | - | then | |
808 | + | else if ($isInstanceOf(aZ, "Unit")) | |
809 | + | then ef.senderPublicKey | |
826 | 810 | else throw("Match error") | |
827 | 811 | } | |
828 | - | sigVerify( | |
812 | + | sigVerify(ef.bodyBytes, ef.proofs[0], eh) | |
829 | 813 | } | |
830 | 814 |
github/deemru/w8io/169f3d6 304.67 ms ◑