tx · 68THTkLDDbGHpz1pgyhY8mirMCL2AvA7EFDeW1RPsUhb 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy: -0.02900000 Waves 2022.07.26 10:59 [2156499] smart account 3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy > SELF 0.00000000 Waves
{ "type": 13, "id": "68THTkLDDbGHpz1pgyhY8mirMCL2AvA7EFDeW1RPsUhb", "fee": 2900000, "feeAssetId": null, "timestamp": 1658822393482, "version": 1, "sender": "3Myn55vLkduxbX3ZXfiDCZhaQsLxYp1kmCy", "senderPublicKey": "9W33iCCNfmFxUbiC6XZcH5x7f6xfwC7Jb3BoExT5q2PV", "proofs": [ "3GAGyXUhcx1xeXbL1k9Xs8JQsyTMSNAwniN9y3WG2rw9cnQKR7YYeoH6UCbN7imHzP7QQuhAwjgLnNKpx8wigKXG" ], "script": "base64:BgJACAISCAoGCAgBAQEIEgUKAwEIAhIDCgEBEgMKAQESBAoCCAgSBAoCCAgSAwoBCBIDCgEIEgQKAggBEgMKAQgSAGoAA1NFUAICX18ABlNDQUxFOAAIAAVNVUxUOACAwtcvAA5QT09MV0VJR0hUTVVMVAUFTVVMVDgBBHN0cmYCB2FkZHJlc3MDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJ0IAgUHYWRkcmVzcwUDa2V5CQCsAgIJAKwCAgIPbWFuZGF0b3J5IHRoaXMuBQNrZXkCDyBpcyBub3QgZGVmaW5lZAEDaW96AgdhZGRyZXNzA2tleQkBC3ZhbHVlT3JFbHNlAgkAmggCBQdhZGRyZXNzBQNrZXkAAAEDaW9kAwdhZGRyZXNzA2tleQpkZWZhdWx0VmFsCQELdmFsdWVPckVsc2UCCQCaCAIFB2FkZHJlc3MFA2tleQUKZGVmYXVsdFZhbAEDaW9mAgdhZGRyZXNzA2tleQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCaCAIFB2FkZHJlc3MFA2tleQkArAICCQCsAgICD21hbmRhdG9yeSB0aGl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NAwkBCWlzRGVmaW5lZAEFAnBtBgkAAgECEk5vIHBlbmRpbmcgbWFuYWdlcgMJAAACBQVoYXNQTQUFaGFzUE0EB2NoZWNrUE0DCQAAAggFAWkPY2FsbGVyUHVibGljS2V5CQEFdmFsdWUBBQJwbQYJAAIBAhtZb3UgYXJlIG5vdCBwZW5kaW5nIG1hbmFnZXIDCQAAAgUHY2hlY2tQTQUHY2hlY2tQTQkAzAgCCQELU3RyaW5nRW50cnkCCQETa2V5TWFuYWdlclB1YmxpY0tleQAJANgEAQkBBXZhbHVlAQUCcG0JAMwIAgkBC0RlbGV0ZUVudHJ5AQkBGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQPdGFyZ2V0UHVibGljS2V5BAckbWF0Y2gwCQEWbWFuYWdlclB1YmxpY0tleU9yVW5pdAADCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQCcGsFByRtYXRjaDAFAnBrAwkAAQIFByRtYXRjaDACBFVuaXQIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V554ICEA==", "chainId": 84, "height": 2156499, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4qAyQdNa4gyufRQxkRkH6EAA6PW9GRtGt6jn14A1NbNy Next: 8GSPM6h6gqDSXK5jUruTiL5fLqUZokWPnwrvT4MsJYxQ Diff:
Old | New | Differences | |
---|---|---|---|
48 | 48 | } | |
49 | 49 | ||
50 | 50 | ||
51 | - | func s () = "%s%s | |
51 | + | func s () = makeString(["%s%s", "config", "referralsContractAddress"], a) | |
52 | 52 | ||
53 | 53 | ||
54 | - | let t = | |
54 | + | let t = addressFromStringValue(e(this, s())) | |
55 | 55 | ||
56 | - | let u = | |
56 | + | let u = makeString(["%s%s", "referral", "programName"], a) | |
57 | 57 | ||
58 | - | let v = | |
58 | + | let v = "wxlock" | |
59 | 59 | ||
60 | - | let w = | |
60 | + | let w = valueOrElse(getString(this, u), v) | |
61 | 61 | ||
62 | - | let x = 5 | |
63 | - | ||
64 | - | let y = 6 | |
65 | - | ||
66 | - | let z = 7 | |
67 | - | ||
68 | - | let A = 8 | |
69 | - | ||
70 | - | let B = 9 | |
71 | - | ||
72 | - | let C = 10 | |
73 | - | ||
74 | - | let D = 11 | |
75 | - | ||
76 | - | func E () = "%s__factoryConfig" | |
62 | + | func x () = "%s%s__config__factoryAddress" | |
77 | 63 | ||
78 | 64 | ||
79 | - | func F (G) = makeString(["%s%s%s", G, "mappings__lpAsset2PoolContract"], a) | |
65 | + | let y = 1 | |
66 | + | ||
67 | + | let z = 2 | |
68 | + | ||
69 | + | let A = 3 | |
70 | + | ||
71 | + | let B = 4 | |
72 | + | ||
73 | + | let C = 5 | |
74 | + | ||
75 | + | let D = 6 | |
76 | + | ||
77 | + | let E = 7 | |
78 | + | ||
79 | + | let F = 8 | |
80 | + | ||
81 | + | let G = 9 | |
82 | + | ||
83 | + | let H = 10 | |
84 | + | ||
85 | + | let I = 11 | |
86 | + | ||
87 | + | func J () = "%s__factoryConfig" | |
80 | 88 | ||
81 | 89 | ||
82 | - | func | |
90 | + | func K (L) = makeString(["%s%s%s", L, "mappings__lpAsset2PoolContract"], a) | |
83 | 91 | ||
84 | 92 | ||
85 | - | func | |
93 | + | func M () = "%s__lpTokensList" | |
86 | 94 | ||
87 | 95 | ||
88 | - | func | |
96 | + | func N (L) = makeString(["%s%s%s", L, "mappings__lpAsset2PoolContract"], a) | |
89 | 97 | ||
90 | 98 | ||
91 | - | func | |
99 | + | func O (P) = makeString(["%s%s", "poolWeight", P], a) | |
92 | 100 | ||
93 | 101 | ||
94 | - | func | |
102 | + | func Q (R,S) = ((("%s%s__poolWeight__" + R) + "__") + toString(S)) | |
95 | 103 | ||
96 | 104 | ||
97 | - | func | |
105 | + | func T () = addressFromStringValue(e(this, x())) | |
98 | 106 | ||
99 | 107 | ||
100 | - | func | |
108 | + | func U () = split(valueOrElse(getString(T(), M()), ""), a) | |
101 | 109 | ||
102 | 110 | ||
103 | - | func | |
111 | + | func V (W) = split(e(W, J()), a) | |
104 | 112 | ||
105 | 113 | ||
106 | - | func | |
114 | + | func X (Y) = addressFromStringValue(Y[z]) | |
107 | 115 | ||
108 | 116 | ||
109 | - | func | |
117 | + | func Z (Y) = addressFromStringValue(Y[C]) | |
110 | 118 | ||
111 | 119 | ||
112 | - | func | |
120 | + | func aa (Y) = addressFromStringValue(Y[y]) | |
113 | 121 | ||
114 | 122 | ||
115 | - | func | |
123 | + | func ab (Y) = addressFromStringValue(Y[H]) | |
116 | 124 | ||
117 | 125 | ||
118 | - | func | |
126 | + | func ac () = "%s__managerPublicKey" | |
119 | 127 | ||
120 | 128 | ||
121 | - | func | |
129 | + | func ad () = "%s__pendingManagerPublicKey" | |
122 | 130 | ||
123 | 131 | ||
124 | - | func | |
132 | + | func ae () = "%s%s__ratePerBlock__current" | |
125 | 133 | ||
126 | 134 | ||
127 | - | func | |
135 | + | func af () = "%s%s__ratePerBlockMax__current" | |
128 | 136 | ||
129 | 137 | ||
130 | - | func | |
138 | + | func ag () = "%s%s__emission__startBlock" | |
131 | 139 | ||
132 | 140 | ||
133 | - | func | |
141 | + | func ah () = "%s%s__emission__duration" | |
134 | 142 | ||
135 | 143 | ||
136 | - | func | |
144 | + | func ai () = "%s%s__emission__endBlock" | |
137 | 145 | ||
138 | 146 | ||
139 | - | func | |
147 | + | func aj () = "%s__nextPeriod" | |
140 | 148 | ||
141 | 149 | ||
142 | - | let ag = 1 | |
143 | - | ||
144 | - | let ah = 2 | |
145 | - | ||
146 | - | let ai = 3 | |
147 | - | ||
148 | - | let aj = 4 | |
149 | - | ||
150 | - | let ak = 5 | |
151 | - | ||
152 | - | func al () = "%s__config" | |
150 | + | func ak () = "%s%s__gwxRewardEmissionPart__startHeight" | |
153 | 151 | ||
154 | 152 | ||
155 | - | func am () = split(e(this, al()), a) | |
153 | + | let al = 1 | |
154 | + | ||
155 | + | let am = 2 | |
156 | + | ||
157 | + | let an = 3 | |
158 | + | ||
159 | + | let ao = 4 | |
160 | + | ||
161 | + | let ap = 5 | |
162 | + | ||
163 | + | func aq () = "%s__config" | |
156 | 164 | ||
157 | 165 | ||
158 | - | func | |
166 | + | func ar () = split(e(this, aq()), a) | |
159 | 167 | ||
160 | 168 | ||
161 | - | func | |
169 | + | func as (at,au,av,aw,ax) = makeString(["%s%d%d%d", at, au, av, aw, ax], a) | |
162 | 170 | ||
163 | 171 | ||
164 | - | func au () = { | |
165 | - | let o = getString(X()) | |
172 | + | func ay (at,au,av,aw,ax) = as(at, toString(au), toString(av), toString(aw), ax) | |
173 | + | ||
174 | + | ||
175 | + | func az () = { | |
176 | + | let o = getString(ac()) | |
166 | 177 | if ($isInstanceOf(o, "String")) | |
167 | 178 | then { | |
168 | - | let | |
169 | - | fromBase58String( | |
179 | + | let aA = o | |
180 | + | fromBase58String(aA) | |
170 | 181 | } | |
171 | 182 | else if ($isInstanceOf(o, "Unit")) | |
172 | 183 | then unit | |
174 | 185 | } | |
175 | 186 | ||
176 | 187 | ||
177 | - | func | |
178 | - | let o = getString( | |
188 | + | func aB () = { | |
189 | + | let o = getString(ad()) | |
179 | 190 | if ($isInstanceOf(o, "String")) | |
180 | 191 | then { | |
181 | - | let | |
182 | - | fromBase58String( | |
192 | + | let aA = o | |
193 | + | fromBase58String(aA) | |
183 | 194 | } | |
184 | 195 | else if ($isInstanceOf(o, "Unit")) | |
185 | 196 | then unit | |
187 | 198 | } | |
188 | 199 | ||
189 | 200 | ||
190 | - | func | |
191 | - | let | |
192 | - | let o = | |
201 | + | func aC (aD) = { | |
202 | + | let aE = throw("Permission denied") | |
203 | + | let o = az() | |
193 | 204 | if ($isInstanceOf(o, "ByteVector")) | |
194 | 205 | then { | |
195 | - | let | |
196 | - | if (( | |
206 | + | let aF = o | |
207 | + | if ((aD.callerPublicKey == aF)) | |
197 | 208 | then true | |
198 | - | else | |
209 | + | else aE | |
199 | 210 | } | |
200 | 211 | else if ($isInstanceOf(o, "Unit")) | |
201 | - | then if (( | |
212 | + | then if ((aD.caller == this)) | |
202 | 213 | then true | |
203 | - | else | |
214 | + | else aE | |
204 | 215 | else throw("Match error") | |
205 | 216 | } | |
206 | 217 | ||
207 | 218 | ||
208 | - | let | |
219 | + | let aG = 1 | |
209 | 220 | ||
210 | - | let | |
221 | + | let aH = 2 | |
211 | 222 | ||
212 | - | let | |
223 | + | let aI = 3 | |
213 | 224 | ||
214 | - | let | |
225 | + | let aJ = 4 | |
215 | 226 | ||
216 | - | let | |
227 | + | let aK = 5 | |
217 | 228 | ||
218 | - | let | |
229 | + | let aL = 6 | |
219 | 230 | ||
220 | - | func | |
231 | + | func aM (aN) = makeString(["%s%s__lock", aN], a) | |
221 | 232 | ||
222 | 233 | ||
223 | - | func | |
234 | + | func aO (aN) = split(e(this, aM(aN)), a) | |
224 | 235 | ||
225 | 236 | ||
226 | - | func | |
237 | + | func aP (aQ,aR,aS,aT,aU,aV,aW,aX) = makeString(["%d%d%d%d%d%d%d%d", aQ, aR, aS, aT, aU, aV, aW, aX], a) | |
227 | 238 | ||
228 | 239 | ||
229 | - | func | |
240 | + | func aY (aQ,aR,aS,aT,aU,aV,aX) = aP(aQ, toString(aR), toString(aS), toString(aT), toString(aU), toString(aV), toString(lastBlock.timestamp), toString(aX)) | |
230 | 241 | ||
231 | 242 | ||
232 | - | func | |
243 | + | func aZ () = "%s__nextUserNum" | |
233 | 244 | ||
234 | 245 | ||
235 | - | func | |
246 | + | func ba (aN) = makeString(["%s%s%s__mapping__user2num", aN], a) | |
236 | 247 | ||
237 | 248 | ||
238 | - | func | |
249 | + | func bb (S) = makeString(["%s%s%s__mapping__num2user", S], a) | |
239 | 250 | ||
240 | 251 | ||
241 | - | func | |
252 | + | func bc (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "amount"], a) | |
242 | 253 | ||
243 | 254 | ||
244 | - | func | |
255 | + | func bd (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "start"], a) | |
245 | 256 | ||
246 | 257 | ||
247 | - | func | |
258 | + | func be (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "duration"], a) | |
248 | 259 | ||
249 | 260 | ||
250 | - | func | |
261 | + | func bf (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "k"], a) | |
251 | 262 | ||
252 | 263 | ||
253 | - | func | |
264 | + | func bg (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "b"], a) | |
254 | 265 | ||
255 | 266 | ||
256 | - | func | |
267 | + | func bh (aQ,bi) = makeString(["%s%d%s%d__paramByPeriod", aQ, "k", bi], a) | |
257 | 268 | ||
258 | 269 | ||
259 | - | func | |
270 | + | func bj (aQ,bi) = makeString(["%s%d%s%d__paramByPeriod", aQ, "b", bi], a) | |
260 | 271 | ||
261 | 272 | ||
262 | - | func | |
273 | + | func bk () = "%s%s__stats__activeTotalLocked" | |
263 | 274 | ||
264 | 275 | ||
265 | - | func | |
276 | + | func bl () = "%s%s__stats__locksDurationSumInBlocks" | |
266 | 277 | ||
267 | 278 | ||
268 | - | func | |
279 | + | func bm () = "%s%s__stats__locksCount" | |
269 | 280 | ||
270 | 281 | ||
271 | - | func | |
282 | + | func bn () = "%s%s__stats__activeUsersCount" | |
272 | 283 | ||
273 | 284 | ||
274 | - | func | |
285 | + | func bo (aQ) = makeString(["%s%d__userBoostEmissionLastInt", aQ], a) | |
275 | 286 | ||
276 | 287 | ||
277 | - | func | |
288 | + | func bp (aQ,bq) = makeString(["%s%d__userBoostEmissionLastInt", aQ, bq], a) | |
278 | 289 | ||
279 | 290 | ||
280 | - | func | |
291 | + | func br (aQ) = makeString(["%s%d__maxBoostInt", aQ], a) | |
281 | 292 | ||
282 | 293 | ||
283 | - | func | |
294 | + | func bs () = "%s%s__maxBoostInt__total" | |
284 | 295 | ||
285 | 296 | ||
286 | - | func | |
297 | + | func bt (aQ) = makeString(["%s%d__userBoostAvaliableToClaimTotal", aQ], a) | |
287 | 298 | ||
288 | 299 | ||
289 | - | func | |
300 | + | func bu (aQ) = makeString(["%s%d__userBoostClaimed", aQ], a) | |
290 | 301 | ||
291 | 302 | ||
292 | - | func | |
303 | + | func bv () = "%s%s__gwxCached__total" | |
293 | 304 | ||
294 | 305 | ||
295 | - | let | |
306 | + | let bw = T() | |
296 | 307 | ||
297 | - | let | |
308 | + | let Y = V(bw) | |
298 | 309 | ||
299 | - | let | |
310 | + | let bx = Z(Y) | |
300 | 311 | ||
301 | - | let | |
312 | + | let by = aa(Y) | |
302 | 313 | ||
303 | - | let | |
314 | + | let bz = ab(Y) | |
304 | 315 | ||
305 | - | func | |
306 | - | let | |
307 | - | let | |
308 | - | StringEntry( | |
316 | + | func bA (bB,bC,aR,bD,aT,bE,bF,aD) = { | |
317 | + | let bG = makeString(["%s%s%s%s__history", bB, bC, toBase58String(aD.transactionId)], a) | |
318 | + | let bH = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(aR), toString(bD), toString(aT), toString(bE), toString(bF)], a) | |
319 | + | StringEntry(bG, bH) | |
309 | 320 | } | |
310 | 321 | ||
311 | 322 | ||
312 | - | func | |
313 | - | let | |
314 | - | let | |
315 | - | let | |
316 | - | let | |
317 | - | let | |
318 | - | let | |
319 | - | let | |
320 | - | let | |
321 | - | [IntegerEntry( | |
323 | + | func bI (bJ,bK,bL,bM) = { | |
324 | + | let bN = bl() | |
325 | + | let bO = bm() | |
326 | + | let bP = bn() | |
327 | + | let bQ = bk() | |
328 | + | let bR = h(this, bN) | |
329 | + | let bS = h(this, bO) | |
330 | + | let bT = h(this, bP) | |
331 | + | let bU = h(this, bQ) | |
332 | + | [IntegerEntry(bN, (bR + bK)), IntegerEntry(bO, (bS + bL)), IntegerEntry(bP, (bT + bM)), IntegerEntry(bQ, (bU + bJ))] | |
322 | 333 | } | |
323 | 334 | ||
324 | 335 | ||
325 | - | func | |
326 | - | let | |
327 | - | ((( | |
336 | + | func bV (bW,bX,bY) = { | |
337 | + | let bZ = 1000 | |
338 | + | (((bW * bY) + bX) / bZ) | |
328 | 339 | } | |
329 | 340 | ||
330 | 341 | ||
331 | - | func | |
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | let | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | [ | |
342 | + | func ca (aN,aQ,aR,aS,aT,bE,bF,bi) = { | |
343 | + | let cb = bc(aQ) | |
344 | + | let cc = bd(aQ) | |
345 | + | let cd = be(aQ) | |
346 | + | let ce = bf(aQ) | |
347 | + | let cf = bg(aQ) | |
348 | + | let cg = bh(aQ, bi) | |
349 | + | let ch = bj(aQ, bi) | |
350 | + | let aX = bV(bE, bF, height) | |
351 | + | [IntegerEntry(cb, aR), IntegerEntry(cc, aS), IntegerEntry(cd, aT), IntegerEntry(ce, bE), IntegerEntry(cf, bF), IntegerEntry(cg, bE), IntegerEntry(ch, bF), StringEntry(aM(aN), aY(aQ, aR, aS, aT, bE, bF, aX))] | |
341 | 352 | } | |
342 | 353 | ||
343 | 354 | ||
344 | - | func | |
355 | + | func ci (aD,cj) = if ((size(aD.payments) > 1)) | |
345 | 356 | then throw("only one payment is allowed") | |
346 | - | else if ((size( | |
357 | + | else if ((size(aD.payments) == 0)) | |
347 | 358 | then 0 | |
348 | 359 | else { | |
349 | - | let | |
350 | - | if ((value( | |
360 | + | let ck = aD.payments[0] | |
361 | + | if ((value(ck.assetId) != cj)) | |
351 | 362 | then throw("invalid asset id in payment") | |
352 | - | else | |
363 | + | else ck.amount | |
353 | 364 | } | |
354 | 365 | ||
355 | 366 | ||
356 | - | func | |
357 | - | let | |
358 | - | let | |
359 | - | let | |
360 | - | let | |
361 | - | let | |
362 | - | let | |
363 | - | let | |
367 | + | func cl (aN,cm) = { | |
368 | + | let cn = "empty" | |
369 | + | let co = ba(aN) | |
370 | + | let aQ = valueOrElse(getString(co), cn) | |
371 | + | let bE = valueOrElse(getInteger(bf(aQ)), 0) | |
372 | + | let bF = valueOrElse(getInteger(bg(aQ)), 0) | |
373 | + | let cp = bV(bE, bF, cm) | |
374 | + | let aX = if ((0 > cp)) | |
364 | 375 | then 0 | |
365 | - | else | |
366 | - | | |
376 | + | else cp | |
377 | + | aX | |
367 | 378 | } | |
368 | 379 | ||
369 | 380 | ||
370 | - | func | |
381 | + | func cq (aN) = cl(aN, height) | |
371 | 382 | ||
372 | 383 | ||
373 | - | func | |
374 | - | let | |
375 | - | let | |
376 | - | if (( | |
384 | + | func cr (cs,ct,cu) = { | |
385 | + | let cn = "EMPTY" | |
386 | + | let cv = valueOrElse(getString(this, aM(ct)), cn) | |
387 | + | if ((cv == cn)) | |
377 | 388 | then $Tuple3(0, nil, "userRecord::is::empty") | |
378 | 389 | else { | |
379 | - | let | |
380 | - | let | |
381 | - | let | |
382 | - | let | |
383 | - | let | |
390 | + | let cw = split(cv, a) | |
391 | + | let cx = cw[aG] | |
392 | + | let cy = valueOrElse(getInteger(bz, ak()), 0) | |
393 | + | let cz = "empty" | |
394 | + | let cA = if ((cs != cz)) | |
384 | 395 | then { | |
385 | - | let | |
386 | - | let | |
387 | - | let | |
388 | - | $Tuple2( | |
396 | + | let cB = valueOrErrorMessage(getString(bw, K(cs)), ("unsupported lp asset " + cs)) | |
397 | + | let cC = getIntegerValue(bw, O(cB)) | |
398 | + | let cD = valueOrElse(getInteger(bw, Q(cB, 0)), cC) | |
399 | + | $Tuple2(cD, cC) | |
389 | 400 | } | |
390 | - | else if ( | |
401 | + | else if (cu) | |
391 | 402 | then $Tuple2(0, 0) | |
392 | - | else throw(("not readonly mode: unsupported lp asset " + | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | then | |
403 | + | else throw(("not readonly mode: unsupported lp asset " + cs)) | |
404 | + | let cE = cA._1 | |
405 | + | let cF = cA._2 | |
406 | + | let cG = k(bx, ae()) | |
407 | + | let cH = k(bx, ag()) | |
408 | + | let cI = k(bx, ai()) | |
409 | + | let bY = if ((height > cI)) | |
410 | + | then cI | |
400 | 411 | else height | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | let | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let | |
411 | - | if (if (if ((0 > | |
412 | + | let cJ = max([(bY - cH), 0]) | |
413 | + | let cK = bp(cx, cs) | |
414 | + | let cL = bo(cx) | |
415 | + | let cM = valueOrElse(getInteger(this, cK), h(this, cL)) | |
416 | + | let cN = (((cG * cJ) * 2) / 3) | |
417 | + | let cO = (cN - cM) | |
418 | + | let cP = fraction(cO, 3, (2 * cG)) | |
419 | + | let cQ = (bY - cP) | |
420 | + | let cR = max([(cy - cQ), 0]) | |
421 | + | let cS = ((bY - cQ) - cR) | |
422 | + | if (if (if ((0 > cQ)) | |
412 | 423 | then true | |
413 | - | else (0 > | |
424 | + | else (0 > cS)) | |
414 | 425 | then true | |
415 | - | else (l((( | |
416 | - | then throw(((((((("invalid udh calc: udh=" + toString( | |
417 | - | else if ((0 > | |
426 | + | else (l(((cR + cS) - cP)) >= 1)) | |
427 | + | then throw(((((((("invalid udh calc: udh=" + toString(cP)) + " uLastH=") + toString(cQ)) + " udh0=") + toString(cR)) + " udh1=") + toString(cS))) | |
428 | + | else if ((0 > cO)) | |
418 | 429 | then throw("wrong calculations") | |
419 | 430 | else { | |
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
431 | + | let cT = br(cx) | |
432 | + | let cU = bs() | |
433 | + | let cV = h(this, cT) | |
434 | + | let cW = h(this, cU) | |
435 | + | let cX = bv() | |
436 | + | let cY = valueOrElse(getInteger(this, cX), 0) | |
437 | + | let cZ = cq(ct) | |
438 | + | let da = bt(cx) | |
439 | + | let db = h(this, da) | |
440 | + | let dc = if ((cP == 0)) | |
430 | 441 | then 0 | |
431 | - | else fraction( | |
432 | - | let | |
442 | + | else fraction(cO, cR, cP) | |
443 | + | let dd = if ((cP == 0)) | |
433 | 444 | then 0 | |
434 | - | else fraction( | |
435 | - | let | |
436 | - | let | |
437 | - | let | |
445 | + | else fraction(cO, cS, cP) | |
446 | + | let de = fraction(dc, cE, d) | |
447 | + | let df = fraction(dd, cF, d) | |
448 | + | let dg = if ((cY == 0)) | |
438 | 449 | then 0 | |
439 | - | else fraction(cZ, | |
440 | - | let | |
450 | + | else fraction(de, cZ, cY) | |
451 | + | let dh = if ((cY == 0)) | |
441 | 452 | then 0 | |
442 | - | else fraction( | |
443 | - | let | |
444 | - | let | |
445 | - | let | |
446 | - | let | |
447 | - | let | |
448 | - | let | |
449 | - | $Tuple3( | |
453 | + | else fraction(df, cZ, cY) | |
454 | + | let di = (dg + dh) | |
455 | + | let dj = bu(cx) | |
456 | + | let dk = h(this, dj) | |
457 | + | let dl = (di - dk) | |
458 | + | let dm = [IntegerEntry(cK, cN)] | |
459 | + | let dn = makeString([toString(cM), toString(cO), toString(dk), toString(dl), toString(cE), toString(cF), toString(bY), toString(cP), toString(cQ), toString(cR), toString(cS), toString(cZ), toString(cY)], ":") | |
460 | + | $Tuple3(di, dm, dn) | |
450 | 461 | } | |
451 | 462 | } | |
452 | 463 | } | |
453 | 464 | ||
454 | 465 | ||
455 | - | @Callable( | |
456 | - | func constructor ( | |
457 | - | let | |
458 | - | if (( | |
459 | - | then ([IntegerEntry( | |
466 | + | @Callable(aD) | |
467 | + | func constructor (do,dp,au,dq,dr,ax) = { | |
468 | + | let ds = aC(aD) | |
469 | + | if ((ds == ds)) | |
470 | + | then ([IntegerEntry(aZ(), 0), StringEntry(aq(), ay(dp, au, dq, dr, ax)), StringEntry(x(), do)] ++ bI(0, 0, 0, 0)) | |
460 | 471 | else throw("Strict value is not equal to itself.") | |
461 | 472 | } | |
462 | 473 | ||
463 | 474 | ||
464 | 475 | ||
465 | - | @Callable(ay) | |
466 | - | func lock (aO) = { | |
467 | - | let do = am() | |
468 | - | let dp = do[ag] | |
469 | - | let ao = fromBase58String(dp) | |
470 | - | let ap = parseIntValue(do[ah]) | |
471 | - | let aq = parseIntValue(do[ai]) | |
472 | - | let ar = parseIntValue(do[aj]) | |
473 | - | let as = addressFromStringValue(do[ak]) | |
474 | - | if ((size(ay.payments) != 1)) | |
476 | + | @Callable(aD) | |
477 | + | func lockRef (aT,dt,du) = { | |
478 | + | let dv = invoke(this, "lock", [aT], aD.payments) | |
479 | + | if ((dv == dv)) | |
480 | + | then { | |
481 | + | let dw = toString(aD.caller) | |
482 | + | let dx = if (if ((dt == "")) | |
483 | + | then true | |
484 | + | else (du == base58'')) | |
485 | + | then unit | |
486 | + | else invoke(t, "createPair", [w, dt, dw, du], nil) | |
487 | + | if ((dx == dx)) | |
488 | + | then $Tuple2(nil, unit) | |
489 | + | else throw("Strict value is not equal to itself.") | |
490 | + | } | |
491 | + | else throw("Strict value is not equal to itself.") | |
492 | + | } | |
493 | + | ||
494 | + | ||
495 | + | ||
496 | + | @Callable(aD) | |
497 | + | func lock (aT) = { | |
498 | + | let dy = ar() | |
499 | + | let dz = dy[al] | |
500 | + | let at = fromBase58String(dz) | |
501 | + | let au = parseIntValue(dy[am]) | |
502 | + | let av = parseIntValue(dy[an]) | |
503 | + | let aw = parseIntValue(dy[ao]) | |
504 | + | let ax = addressFromStringValue(dy[ap]) | |
505 | + | if ((size(aD.payments) != 1)) | |
475 | 506 | then throw("invalid payment - exact one payment must be attached") | |
476 | 507 | else { | |
477 | - | let | |
478 | - | let | |
479 | - | if (( | |
480 | - | then throw((("invalid asset is in payment - " + | |
508 | + | let ck = aD.payments[0] | |
509 | + | let dA = ck.amount | |
510 | + | if ((at != value(ck.assetId))) | |
511 | + | then throw((("invalid asset is in payment - " + dz) + " is expected")) | |
481 | 512 | else { | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | then value(getString( | |
487 | - | else toString(k(this, | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | if (( | |
494 | - | then throw(("amount is less then minLockAmount=" + toString( | |
495 | - | else if (( | |
496 | - | then throw(("passed duration is less then minLockDuration=" + toString( | |
497 | - | else if (( | |
498 | - | then throw(("passed duration is greater then maxLockDuration=" + toString( | |
499 | - | else if (if ( | |
500 | - | then ((k(this, | |
513 | + | let dB = aZ() | |
514 | + | let ct = toString(aD.caller) | |
515 | + | let dC = isDefined(getString(ba(ct))) | |
516 | + | let cx = if (dC) | |
517 | + | then value(getString(ba(ct))) | |
518 | + | else toString(k(this, dB)) | |
519 | + | let aQ = parseIntValue(cx) | |
520 | + | let bD = height | |
521 | + | let cc = bd(cx) | |
522 | + | let cd = be(cx) | |
523 | + | let cb = bc(cx) | |
524 | + | if ((au > dA)) | |
525 | + | then throw(("amount is less then minLockAmount=" + toString(au))) | |
526 | + | else if ((av > aT)) | |
527 | + | then throw(("passed duration is less then minLockDuration=" + toString(av))) | |
528 | + | else if ((aT > aw)) | |
529 | + | then throw(("passed duration is greater then maxLockDuration=" + toString(aw))) | |
530 | + | else if (if (dC) | |
531 | + | then ((k(this, cc) + k(this, cd)) >= bD) | |
501 | 532 | else false) | |
502 | 533 | then throw("there is an active lock - consider to use increaseLock") | |
503 | - | else if ((h(this, | |
504 | - | then throw(("there are locked WXs - consider to use increaseLock " + | |
534 | + | else if ((h(this, cb) > 0)) | |
535 | + | then throw(("there are locked WXs - consider to use increaseLock " + cb)) | |
505 | 536 | else { | |
506 | - | let | |
507 | - | let | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | then | |
537 | + | let dD = fraction(aT, c, aw) | |
538 | + | let dE = fraction(dA, dD, c) | |
539 | + | let dF = n(invoke(ax, "calcGwxParamsREADONLY", [dE, bD, aT], nil)) | |
540 | + | let bE = q(dF[0]) | |
541 | + | let bF = q(dF[1]) | |
542 | + | let bi = toString(q(dF[2])) | |
543 | + | let cG = k(bx, ae()) | |
544 | + | let cH = k(bx, ag()) | |
545 | + | let cI = k(bx, ai()) | |
546 | + | let bY = if ((height > cI)) | |
547 | + | then cI | |
517 | 548 | else height | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
526 | - | let | |
527 | - | let | |
549 | + | let cJ = max([(bY - cH), 0]) | |
550 | + | let cL = bo(cx) | |
551 | + | let cN = (((cG * cJ) * 2) / 3) | |
552 | + | let cT = br(cx) | |
553 | + | let cU = bs() | |
554 | + | let cV = ((dE * aT) / 2) | |
555 | + | let cW = h(this, cU) | |
556 | + | let cX = bv() | |
557 | + | let cY = valueOrElse(getInteger(this, cX), 0) | |
558 | + | let dG = if (dC) | |
528 | 559 | then nil | |
529 | - | else [IntegerEntry( | |
530 | - | (((( | |
560 | + | else [IntegerEntry(dB, (aQ + 1)), StringEntry(ba(ct), cx), StringEntry(bb(cx), ct)] | |
561 | + | ((((dG ++ ca(ct, cx, dA, bD, aT, bE, bF, bi)) ++ bI(dA, aT, 1, if (dC) | |
531 | 562 | then 0 | |
532 | - | else 1)) :+ | |
563 | + | else 1)) :+ bA("lock", ct, dA, bD, aT, bE, bF, aD)) ++ [IntegerEntry(cL, cN), IntegerEntry(cX, (cY + dE))]) | |
533 | 564 | } | |
534 | 565 | } | |
535 | 566 | } | |
537 | 568 | ||
538 | 569 | ||
539 | 570 | ||
540 | - | @Callable( | |
541 | - | func increaseLock ( | |
542 | - | let | |
543 | - | let | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | let | |
548 | - | let | |
549 | - | let | |
550 | - | let | |
551 | - | let | |
552 | - | let | |
553 | - | let | |
554 | - | let | |
555 | - | let | |
556 | - | let | |
557 | - | let | |
558 | - | let | |
559 | - | if ((0 > | |
571 | + | @Callable(aD) | |
572 | + | func increaseLock (dH) = { | |
573 | + | let dy = ar() | |
574 | + | let dz = dy[al] | |
575 | + | let at = fromBase58String(dz) | |
576 | + | let av = parseIntValue(dy[an]) | |
577 | + | let aw = parseIntValue(dy[ao]) | |
578 | + | let ax = addressFromStringValue(dy[ap]) | |
579 | + | let dA = ci(aD, at) | |
580 | + | let ct = toString(aD.caller) | |
581 | + | let cw = aO(ct) | |
582 | + | let cx = cw[aG] | |
583 | + | let dI = parseIntValue(cw[aH]) | |
584 | + | let bD = parseIntValue(cw[aI]) | |
585 | + | let dJ = parseIntValue(cw[aJ]) | |
586 | + | let dK = (bD + dJ) | |
587 | + | let dL = max([(dK - height), 0]) | |
588 | + | let dM = (dI + dA) | |
589 | + | let dN = (dL + dH) | |
590 | + | if ((0 > dH)) | |
560 | 591 | then throw("duration is less then zero") | |
561 | - | else if (( | |
562 | - | then throw(("lockDurationNew is less then minLockDuration=" + toString( | |
563 | - | else if (( | |
564 | - | then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString( | |
592 | + | else if ((av > dN)) | |
593 | + | then throw(("lockDurationNew is less then minLockDuration=" + toString(av))) | |
594 | + | else if ((dN > aw)) | |
595 | + | then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString(aw))) | |
565 | 596 | else { | |
566 | - | let | |
567 | - | let | |
568 | - | let | |
569 | - | let | |
570 | - | let | |
571 | - | let | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | then | |
597 | + | let dD = fraction(dN, c, aw) | |
598 | + | let dE = fraction(dM, dD, c) | |
599 | + | let dO = height | |
600 | + | let dF = n(invoke(ax, "calcGwxParamsREADONLY", [dE, dO, dN], nil)) | |
601 | + | let bE = q(dF[0]) | |
602 | + | let bF = q(dF[1]) | |
603 | + | let bi = toString(q(dF[2])) | |
604 | + | let cG = k(bx, ae()) | |
605 | + | let cH = k(bx, ag()) | |
606 | + | let cI = k(bx, ai()) | |
607 | + | let bY = if ((height > cI)) | |
608 | + | then cI | |
578 | 609 | else height | |
579 | - | let | |
580 | - | let | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
584 | - | if ((0 > | |
610 | + | let cJ = max([(bY - cH), 0]) | |
611 | + | let cL = bo(cx) | |
612 | + | let cM = h(this, cL) | |
613 | + | let cN = (((cG * cJ) * 2) / 3) | |
614 | + | let cO = (cN - cM) | |
615 | + | if ((0 > cO)) | |
585 | 616 | then throw("wrong calculations") | |
586 | 617 | else { | |
587 | - | let | |
588 | - | let | |
589 | - | let | |
590 | - | let | |
591 | - | let | |
592 | - | let | |
593 | - | if ((0 > | |
594 | - | then throw(("gwxDiff is less then 0: " + toString( | |
618 | + | let cT = br(cx) | |
619 | + | let cU = bs() | |
620 | + | let cV = h(this, cT) | |
621 | + | let cW = h(this, cU) | |
622 | + | let dP = cq(ct) | |
623 | + | let dQ = (dE - dP) | |
624 | + | if ((0 > dQ)) | |
625 | + | then throw(("gwxDiff is less then 0: " + toString(dQ))) | |
595 | 626 | else { | |
596 | - | let | |
597 | - | let | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | let | |
603 | - | let | |
604 | - | ((( | |
627 | + | let cX = bv() | |
628 | + | let cY = valueOrElse(getInteger(this, cX), 0) | |
629 | + | let da = bt(cx) | |
630 | + | let db = h(this, da) | |
631 | + | let di = fraction(cO, dP, cY) | |
632 | + | let dR = ((dE * dN) / 2) | |
633 | + | let dS = ((dP * dL) / 2) | |
634 | + | let dT = (dR - dS) | |
635 | + | (((ca(ct, cx, dM, dO, dN, bE, bF, bi) ++ bI(dA, dH, 0, 0)) :+ bA("lock", ct, dA, bD, dN, bE, bF, aD)) ++ [IntegerEntry(cX, (cY + dQ))]) | |
605 | 636 | } | |
606 | 637 | } | |
607 | 638 | } | |
609 | 640 | ||
610 | 641 | ||
611 | 642 | ||
612 | - | @Callable( | |
613 | - | func claimWxBoost ( | |
643 | + | @Callable(aD) | |
644 | + | func claimWxBoost (cs,ct) = if ((by != aD.caller)) | |
614 | 645 | then throw("permissions denied") | |
615 | 646 | else { | |
616 | - | let | |
617 | - | let | |
618 | - | let | |
619 | - | let | |
620 | - | $Tuple2( | |
647 | + | let dU = cr(cs, ct, false) | |
648 | + | let dl = dU._1 | |
649 | + | let dm = dU._2 | |
650 | + | let dn = dU._3 | |
651 | + | $Tuple2(dm, [dl]) | |
621 | 652 | } | |
622 | 653 | ||
623 | 654 | ||
624 | 655 | ||
625 | - | @Callable( | |
626 | - | func claimWxBoostREADONLY ( | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
631 | - | $Tuple2(nil, [ | |
656 | + | @Callable(aD) | |
657 | + | func claimWxBoostREADONLY (cs,ct) = { | |
658 | + | let dV = cr(cs, ct, true) | |
659 | + | let dl = dV._1 | |
660 | + | let dm = dV._2 | |
661 | + | let dn = dV._3 | |
662 | + | $Tuple2(nil, [dl, dn]) | |
632 | 663 | } | |
633 | 664 | ||
634 | 665 | ||
635 | 666 | ||
636 | - | @Callable( | |
637 | - | func unlock ( | |
638 | - | let | |
639 | - | let | |
640 | - | let | |
641 | - | let | |
642 | - | let | |
643 | - | let | |
644 | - | let | |
645 | - | let | |
646 | - | let | |
647 | - | if (( | |
648 | - | then throw((("wait " + toString( | |
649 | - | else if ((0 >= | |
667 | + | @Callable(aD) | |
668 | + | func unlock (aN) = { | |
669 | + | let cw = aO(aN) | |
670 | + | let cx = cw[aG] | |
671 | + | let dI = parseIntValue(cw[aH]) | |
672 | + | let bD = parseIntValue(cw[aI]) | |
673 | + | let dJ = parseIntValue(cw[aJ]) | |
674 | + | let dK = (bD + dJ) | |
675 | + | let dy = ar() | |
676 | + | let at = fromBase58String(dy[al]) | |
677 | + | let ax = addressFromStringValue(dy[ap]) | |
678 | + | if ((dK >= height)) | |
679 | + | then throw((("wait " + toString(dK)) + " to unlock")) | |
680 | + | else if ((0 >= dI)) | |
650 | 681 | then throw("nothing to unlock") | |
651 | 682 | else { | |
652 | - | let | |
653 | - | ((( | |
683 | + | let bi = valueOrElse(getInteger(ax, aj()), 0) | |
684 | + | (((ca(aN, cx, 0, bD, dJ, 0, 0, toString(bi)) ++ bI(-(dI), 0, 0, -1)) :+ bA("unlock", aN, dI, bD, dJ, 0, 0, aD)) :+ ScriptTransfer(addressFromStringValue(aN), dI, at)) | |
654 | 685 | } | |
655 | 686 | } | |
656 | 687 | ||
657 | 688 | ||
658 | 689 | ||
659 | - | @Callable( | |
660 | - | func gwxUserInfoREADONLY ( | |
661 | - | let | |
662 | - | $Tuple2(nil, [ | |
690 | + | @Callable(aD) | |
691 | + | func gwxUserInfoREADONLY (aN) = { | |
692 | + | let aX = cq(aN) | |
693 | + | $Tuple2(nil, [aX]) | |
663 | 694 | } | |
664 | 695 | ||
665 | 696 | ||
666 | 697 | ||
667 | - | @Callable( | |
668 | - | func getUserGwxAmountAtHeightREADONLY ( | |
669 | - | let | |
670 | - | $Tuple2(nil, | |
698 | + | @Callable(aD) | |
699 | + | func getUserGwxAmountAtHeightREADONLY (aN,cm) = { | |
700 | + | let aX = cl(aN, cm) | |
701 | + | $Tuple2(nil, aX) | |
671 | 702 | } | |
672 | 703 | ||
673 | 704 | ||
674 | 705 | ||
675 | - | @Callable( | |
676 | - | func setManager ( | |
677 | - | let | |
678 | - | if (( | |
706 | + | @Callable(aD) | |
707 | + | func setManager (dW) = { | |
708 | + | let ds = aC(aD) | |
709 | + | if ((ds == ds)) | |
679 | 710 | then { | |
680 | - | let | |
681 | - | if (( | |
682 | - | then [StringEntry( | |
711 | + | let dX = fromBase58String(dW) | |
712 | + | if ((dX == dX)) | |
713 | + | then [StringEntry(ad(), dW)] | |
683 | 714 | else throw("Strict value is not equal to itself.") | |
684 | 715 | } | |
685 | 716 | else throw("Strict value is not equal to itself.") | |
687 | 718 | ||
688 | 719 | ||
689 | 720 | ||
690 | - | @Callable( | |
721 | + | @Callable(aD) | |
691 | 722 | func confirmManager () = { | |
692 | - | let | |
693 | - | let | |
723 | + | let dY = aB() | |
724 | + | let dZ = if (isDefined(dY)) | |
694 | 725 | then true | |
695 | 726 | else throw("No pending manager") | |
696 | - | if (( | |
727 | + | if ((dZ == dZ)) | |
697 | 728 | then { | |
698 | - | let | |
729 | + | let ea = if ((aD.callerPublicKey == value(dY))) | |
699 | 730 | then true | |
700 | 731 | else throw("You are not pending manager") | |
701 | - | if (( | |
702 | - | then [StringEntry( | |
732 | + | if ((ea == ea)) | |
733 | + | then [StringEntry(ac(), toBase58String(value(dY))), DeleteEntry(ad())] | |
703 | 734 | else throw("Strict value is not equal to itself.") | |
704 | 735 | } | |
705 | 736 | else throw("Strict value is not equal to itself.") | |
706 | 737 | } | |
707 | 738 | ||
708 | 739 | ||
709 | - | @Verifier( | |
710 | - | func | |
711 | - | let | |
712 | - | let o = | |
740 | + | @Verifier(eb) | |
741 | + | func ec () = { | |
742 | + | let ed = { | |
743 | + | let o = az() | |
713 | 744 | if ($isInstanceOf(o, "ByteVector")) | |
714 | 745 | then { | |
715 | - | let | |
716 | - | | |
746 | + | let aF = o | |
747 | + | aF | |
717 | 748 | } | |
718 | 749 | else if ($isInstanceOf(o, "Unit")) | |
719 | - | then | |
750 | + | then eb.senderPublicKey | |
720 | 751 | else throw("Match error") | |
721 | 752 | } | |
722 | - | sigVerify( | |
753 | + | sigVerify(eb.bodyBytes, eb.proofs[0], ed) | |
723 | 754 | } | |
724 | 755 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 8 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = c | |
11 | 11 | ||
12 | 12 | func e (f,g) = valueOrErrorMessage(getString(f, g), (("mandatory this." + g) + " is not defined")) | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func h (f,g) = valueOrElse(getInteger(f, g), 0) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func i (f,g,j) = valueOrElse(getInteger(f, g), j) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func k (f,g) = valueOrErrorMessage(getInteger(f, g), (("mandatory this." + g) + " is not defined")) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func l (m) = if ((0 > m)) | |
25 | 25 | then -(m) | |
26 | 26 | else m | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func n (m) = { | |
30 | 30 | let o = m | |
31 | 31 | if ($isInstanceOf(o, "List[Any]")) | |
32 | 32 | then { | |
33 | 33 | let p = o | |
34 | 34 | p | |
35 | 35 | } | |
36 | 36 | else throw("fail to cast into List[Any]") | |
37 | 37 | } | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func q (m) = { | |
41 | 41 | let o = m | |
42 | 42 | if ($isInstanceOf(o, "Int")) | |
43 | 43 | then { | |
44 | 44 | let r = o | |
45 | 45 | r | |
46 | 46 | } | |
47 | 47 | else throw("fail to cast into Int") | |
48 | 48 | } | |
49 | 49 | ||
50 | 50 | ||
51 | - | func s () = "%s%s | |
51 | + | func s () = makeString(["%s%s", "config", "referralsContractAddress"], a) | |
52 | 52 | ||
53 | 53 | ||
54 | - | let t = | |
54 | + | let t = addressFromStringValue(e(this, s())) | |
55 | 55 | ||
56 | - | let u = | |
56 | + | let u = makeString(["%s%s", "referral", "programName"], a) | |
57 | 57 | ||
58 | - | let v = | |
58 | + | let v = "wxlock" | |
59 | 59 | ||
60 | - | let w = | |
60 | + | let w = valueOrElse(getString(this, u), v) | |
61 | 61 | ||
62 | - | let x = 5 | |
63 | - | ||
64 | - | let y = 6 | |
65 | - | ||
66 | - | let z = 7 | |
67 | - | ||
68 | - | let A = 8 | |
69 | - | ||
70 | - | let B = 9 | |
71 | - | ||
72 | - | let C = 10 | |
73 | - | ||
74 | - | let D = 11 | |
75 | - | ||
76 | - | func E () = "%s__factoryConfig" | |
62 | + | func x () = "%s%s__config__factoryAddress" | |
77 | 63 | ||
78 | 64 | ||
79 | - | func F (G) = makeString(["%s%s%s", G, "mappings__lpAsset2PoolContract"], a) | |
65 | + | let y = 1 | |
66 | + | ||
67 | + | let z = 2 | |
68 | + | ||
69 | + | let A = 3 | |
70 | + | ||
71 | + | let B = 4 | |
72 | + | ||
73 | + | let C = 5 | |
74 | + | ||
75 | + | let D = 6 | |
76 | + | ||
77 | + | let E = 7 | |
78 | + | ||
79 | + | let F = 8 | |
80 | + | ||
81 | + | let G = 9 | |
82 | + | ||
83 | + | let H = 10 | |
84 | + | ||
85 | + | let I = 11 | |
86 | + | ||
87 | + | func J () = "%s__factoryConfig" | |
80 | 88 | ||
81 | 89 | ||
82 | - | func | |
90 | + | func K (L) = makeString(["%s%s%s", L, "mappings__lpAsset2PoolContract"], a) | |
83 | 91 | ||
84 | 92 | ||
85 | - | func | |
93 | + | func M () = "%s__lpTokensList" | |
86 | 94 | ||
87 | 95 | ||
88 | - | func | |
96 | + | func N (L) = makeString(["%s%s%s", L, "mappings__lpAsset2PoolContract"], a) | |
89 | 97 | ||
90 | 98 | ||
91 | - | func | |
99 | + | func O (P) = makeString(["%s%s", "poolWeight", P], a) | |
92 | 100 | ||
93 | 101 | ||
94 | - | func | |
102 | + | func Q (R,S) = ((("%s%s__poolWeight__" + R) + "__") + toString(S)) | |
95 | 103 | ||
96 | 104 | ||
97 | - | func | |
105 | + | func T () = addressFromStringValue(e(this, x())) | |
98 | 106 | ||
99 | 107 | ||
100 | - | func | |
108 | + | func U () = split(valueOrElse(getString(T(), M()), ""), a) | |
101 | 109 | ||
102 | 110 | ||
103 | - | func | |
111 | + | func V (W) = split(e(W, J()), a) | |
104 | 112 | ||
105 | 113 | ||
106 | - | func | |
114 | + | func X (Y) = addressFromStringValue(Y[z]) | |
107 | 115 | ||
108 | 116 | ||
109 | - | func | |
117 | + | func Z (Y) = addressFromStringValue(Y[C]) | |
110 | 118 | ||
111 | 119 | ||
112 | - | func | |
120 | + | func aa (Y) = addressFromStringValue(Y[y]) | |
113 | 121 | ||
114 | 122 | ||
115 | - | func | |
123 | + | func ab (Y) = addressFromStringValue(Y[H]) | |
116 | 124 | ||
117 | 125 | ||
118 | - | func | |
126 | + | func ac () = "%s__managerPublicKey" | |
119 | 127 | ||
120 | 128 | ||
121 | - | func | |
129 | + | func ad () = "%s__pendingManagerPublicKey" | |
122 | 130 | ||
123 | 131 | ||
124 | - | func | |
132 | + | func ae () = "%s%s__ratePerBlock__current" | |
125 | 133 | ||
126 | 134 | ||
127 | - | func | |
135 | + | func af () = "%s%s__ratePerBlockMax__current" | |
128 | 136 | ||
129 | 137 | ||
130 | - | func | |
138 | + | func ag () = "%s%s__emission__startBlock" | |
131 | 139 | ||
132 | 140 | ||
133 | - | func | |
141 | + | func ah () = "%s%s__emission__duration" | |
134 | 142 | ||
135 | 143 | ||
136 | - | func | |
144 | + | func ai () = "%s%s__emission__endBlock" | |
137 | 145 | ||
138 | 146 | ||
139 | - | func | |
147 | + | func aj () = "%s__nextPeriod" | |
140 | 148 | ||
141 | 149 | ||
142 | - | let ag = 1 | |
143 | - | ||
144 | - | let ah = 2 | |
145 | - | ||
146 | - | let ai = 3 | |
147 | - | ||
148 | - | let aj = 4 | |
149 | - | ||
150 | - | let ak = 5 | |
151 | - | ||
152 | - | func al () = "%s__config" | |
150 | + | func ak () = "%s%s__gwxRewardEmissionPart__startHeight" | |
153 | 151 | ||
154 | 152 | ||
155 | - | func am () = split(e(this, al()), a) | |
153 | + | let al = 1 | |
154 | + | ||
155 | + | let am = 2 | |
156 | + | ||
157 | + | let an = 3 | |
158 | + | ||
159 | + | let ao = 4 | |
160 | + | ||
161 | + | let ap = 5 | |
162 | + | ||
163 | + | func aq () = "%s__config" | |
156 | 164 | ||
157 | 165 | ||
158 | - | func | |
166 | + | func ar () = split(e(this, aq()), a) | |
159 | 167 | ||
160 | 168 | ||
161 | - | func | |
169 | + | func as (at,au,av,aw,ax) = makeString(["%s%d%d%d", at, au, av, aw, ax], a) | |
162 | 170 | ||
163 | 171 | ||
164 | - | func au () = { | |
165 | - | let o = getString(X()) | |
172 | + | func ay (at,au,av,aw,ax) = as(at, toString(au), toString(av), toString(aw), ax) | |
173 | + | ||
174 | + | ||
175 | + | func az () = { | |
176 | + | let o = getString(ac()) | |
166 | 177 | if ($isInstanceOf(o, "String")) | |
167 | 178 | then { | |
168 | - | let | |
169 | - | fromBase58String( | |
179 | + | let aA = o | |
180 | + | fromBase58String(aA) | |
170 | 181 | } | |
171 | 182 | else if ($isInstanceOf(o, "Unit")) | |
172 | 183 | then unit | |
173 | 184 | else throw("Match error") | |
174 | 185 | } | |
175 | 186 | ||
176 | 187 | ||
177 | - | func | |
178 | - | let o = getString( | |
188 | + | func aB () = { | |
189 | + | let o = getString(ad()) | |
179 | 190 | if ($isInstanceOf(o, "String")) | |
180 | 191 | then { | |
181 | - | let | |
182 | - | fromBase58String( | |
192 | + | let aA = o | |
193 | + | fromBase58String(aA) | |
183 | 194 | } | |
184 | 195 | else if ($isInstanceOf(o, "Unit")) | |
185 | 196 | then unit | |
186 | 197 | else throw("Match error") | |
187 | 198 | } | |
188 | 199 | ||
189 | 200 | ||
190 | - | func | |
191 | - | let | |
192 | - | let o = | |
201 | + | func aC (aD) = { | |
202 | + | let aE = throw("Permission denied") | |
203 | + | let o = az() | |
193 | 204 | if ($isInstanceOf(o, "ByteVector")) | |
194 | 205 | then { | |
195 | - | let | |
196 | - | if (( | |
206 | + | let aF = o | |
207 | + | if ((aD.callerPublicKey == aF)) | |
197 | 208 | then true | |
198 | - | else | |
209 | + | else aE | |
199 | 210 | } | |
200 | 211 | else if ($isInstanceOf(o, "Unit")) | |
201 | - | then if (( | |
212 | + | then if ((aD.caller == this)) | |
202 | 213 | then true | |
203 | - | else | |
214 | + | else aE | |
204 | 215 | else throw("Match error") | |
205 | 216 | } | |
206 | 217 | ||
207 | 218 | ||
208 | - | let | |
219 | + | let aG = 1 | |
209 | 220 | ||
210 | - | let | |
221 | + | let aH = 2 | |
211 | 222 | ||
212 | - | let | |
223 | + | let aI = 3 | |
213 | 224 | ||
214 | - | let | |
225 | + | let aJ = 4 | |
215 | 226 | ||
216 | - | let | |
227 | + | let aK = 5 | |
217 | 228 | ||
218 | - | let | |
229 | + | let aL = 6 | |
219 | 230 | ||
220 | - | func | |
231 | + | func aM (aN) = makeString(["%s%s__lock", aN], a) | |
221 | 232 | ||
222 | 233 | ||
223 | - | func | |
234 | + | func aO (aN) = split(e(this, aM(aN)), a) | |
224 | 235 | ||
225 | 236 | ||
226 | - | func | |
237 | + | func aP (aQ,aR,aS,aT,aU,aV,aW,aX) = makeString(["%d%d%d%d%d%d%d%d", aQ, aR, aS, aT, aU, aV, aW, aX], a) | |
227 | 238 | ||
228 | 239 | ||
229 | - | func | |
240 | + | func aY (aQ,aR,aS,aT,aU,aV,aX) = aP(aQ, toString(aR), toString(aS), toString(aT), toString(aU), toString(aV), toString(lastBlock.timestamp), toString(aX)) | |
230 | 241 | ||
231 | 242 | ||
232 | - | func | |
243 | + | func aZ () = "%s__nextUserNum" | |
233 | 244 | ||
234 | 245 | ||
235 | - | func | |
246 | + | func ba (aN) = makeString(["%s%s%s__mapping__user2num", aN], a) | |
236 | 247 | ||
237 | 248 | ||
238 | - | func | |
249 | + | func bb (S) = makeString(["%s%s%s__mapping__num2user", S], a) | |
239 | 250 | ||
240 | 251 | ||
241 | - | func | |
252 | + | func bc (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "amount"], a) | |
242 | 253 | ||
243 | 254 | ||
244 | - | func | |
255 | + | func bd (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "start"], a) | |
245 | 256 | ||
246 | 257 | ||
247 | - | func | |
258 | + | func be (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "duration"], a) | |
248 | 259 | ||
249 | 260 | ||
250 | - | func | |
261 | + | func bf (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "k"], a) | |
251 | 262 | ||
252 | 263 | ||
253 | - | func | |
264 | + | func bg (aQ) = makeString(["%s%d%s__paramByUserNum", aQ, "b"], a) | |
254 | 265 | ||
255 | 266 | ||
256 | - | func | |
267 | + | func bh (aQ,bi) = makeString(["%s%d%s%d__paramByPeriod", aQ, "k", bi], a) | |
257 | 268 | ||
258 | 269 | ||
259 | - | func | |
270 | + | func bj (aQ,bi) = makeString(["%s%d%s%d__paramByPeriod", aQ, "b", bi], a) | |
260 | 271 | ||
261 | 272 | ||
262 | - | func | |
273 | + | func bk () = "%s%s__stats__activeTotalLocked" | |
263 | 274 | ||
264 | 275 | ||
265 | - | func | |
276 | + | func bl () = "%s%s__stats__locksDurationSumInBlocks" | |
266 | 277 | ||
267 | 278 | ||
268 | - | func | |
279 | + | func bm () = "%s%s__stats__locksCount" | |
269 | 280 | ||
270 | 281 | ||
271 | - | func | |
282 | + | func bn () = "%s%s__stats__activeUsersCount" | |
272 | 283 | ||
273 | 284 | ||
274 | - | func | |
285 | + | func bo (aQ) = makeString(["%s%d__userBoostEmissionLastInt", aQ], a) | |
275 | 286 | ||
276 | 287 | ||
277 | - | func | |
288 | + | func bp (aQ,bq) = makeString(["%s%d__userBoostEmissionLastInt", aQ, bq], a) | |
278 | 289 | ||
279 | 290 | ||
280 | - | func | |
291 | + | func br (aQ) = makeString(["%s%d__maxBoostInt", aQ], a) | |
281 | 292 | ||
282 | 293 | ||
283 | - | func | |
294 | + | func bs () = "%s%s__maxBoostInt__total" | |
284 | 295 | ||
285 | 296 | ||
286 | - | func | |
297 | + | func bt (aQ) = makeString(["%s%d__userBoostAvaliableToClaimTotal", aQ], a) | |
287 | 298 | ||
288 | 299 | ||
289 | - | func | |
300 | + | func bu (aQ) = makeString(["%s%d__userBoostClaimed", aQ], a) | |
290 | 301 | ||
291 | 302 | ||
292 | - | func | |
303 | + | func bv () = "%s%s__gwxCached__total" | |
293 | 304 | ||
294 | 305 | ||
295 | - | let | |
306 | + | let bw = T() | |
296 | 307 | ||
297 | - | let | |
308 | + | let Y = V(bw) | |
298 | 309 | ||
299 | - | let | |
310 | + | let bx = Z(Y) | |
300 | 311 | ||
301 | - | let | |
312 | + | let by = aa(Y) | |
302 | 313 | ||
303 | - | let | |
314 | + | let bz = ab(Y) | |
304 | 315 | ||
305 | - | func | |
306 | - | let | |
307 | - | let | |
308 | - | StringEntry( | |
316 | + | func bA (bB,bC,aR,bD,aT,bE,bF,aD) = { | |
317 | + | let bG = makeString(["%s%s%s%s__history", bB, bC, toBase58String(aD.transactionId)], a) | |
318 | + | let bH = makeString(["%d%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(aR), toString(bD), toString(aT), toString(bE), toString(bF)], a) | |
319 | + | StringEntry(bG, bH) | |
309 | 320 | } | |
310 | 321 | ||
311 | 322 | ||
312 | - | func | |
313 | - | let | |
314 | - | let | |
315 | - | let | |
316 | - | let | |
317 | - | let | |
318 | - | let | |
319 | - | let | |
320 | - | let | |
321 | - | [IntegerEntry( | |
323 | + | func bI (bJ,bK,bL,bM) = { | |
324 | + | let bN = bl() | |
325 | + | let bO = bm() | |
326 | + | let bP = bn() | |
327 | + | let bQ = bk() | |
328 | + | let bR = h(this, bN) | |
329 | + | let bS = h(this, bO) | |
330 | + | let bT = h(this, bP) | |
331 | + | let bU = h(this, bQ) | |
332 | + | [IntegerEntry(bN, (bR + bK)), IntegerEntry(bO, (bS + bL)), IntegerEntry(bP, (bT + bM)), IntegerEntry(bQ, (bU + bJ))] | |
322 | 333 | } | |
323 | 334 | ||
324 | 335 | ||
325 | - | func | |
326 | - | let | |
327 | - | ((( | |
336 | + | func bV (bW,bX,bY) = { | |
337 | + | let bZ = 1000 | |
338 | + | (((bW * bY) + bX) / bZ) | |
328 | 339 | } | |
329 | 340 | ||
330 | 341 | ||
331 | - | func | |
332 | - | let | |
333 | - | let | |
334 | - | let | |
335 | - | let | |
336 | - | let | |
337 | - | let | |
338 | - | let | |
339 | - | let | |
340 | - | [ | |
342 | + | func ca (aN,aQ,aR,aS,aT,bE,bF,bi) = { | |
343 | + | let cb = bc(aQ) | |
344 | + | let cc = bd(aQ) | |
345 | + | let cd = be(aQ) | |
346 | + | let ce = bf(aQ) | |
347 | + | let cf = bg(aQ) | |
348 | + | let cg = bh(aQ, bi) | |
349 | + | let ch = bj(aQ, bi) | |
350 | + | let aX = bV(bE, bF, height) | |
351 | + | [IntegerEntry(cb, aR), IntegerEntry(cc, aS), IntegerEntry(cd, aT), IntegerEntry(ce, bE), IntegerEntry(cf, bF), IntegerEntry(cg, bE), IntegerEntry(ch, bF), StringEntry(aM(aN), aY(aQ, aR, aS, aT, bE, bF, aX))] | |
341 | 352 | } | |
342 | 353 | ||
343 | 354 | ||
344 | - | func | |
355 | + | func ci (aD,cj) = if ((size(aD.payments) > 1)) | |
345 | 356 | then throw("only one payment is allowed") | |
346 | - | else if ((size( | |
357 | + | else if ((size(aD.payments) == 0)) | |
347 | 358 | then 0 | |
348 | 359 | else { | |
349 | - | let | |
350 | - | if ((value( | |
360 | + | let ck = aD.payments[0] | |
361 | + | if ((value(ck.assetId) != cj)) | |
351 | 362 | then throw("invalid asset id in payment") | |
352 | - | else | |
363 | + | else ck.amount | |
353 | 364 | } | |
354 | 365 | ||
355 | 366 | ||
356 | - | func | |
357 | - | let | |
358 | - | let | |
359 | - | let | |
360 | - | let | |
361 | - | let | |
362 | - | let | |
363 | - | let | |
367 | + | func cl (aN,cm) = { | |
368 | + | let cn = "empty" | |
369 | + | let co = ba(aN) | |
370 | + | let aQ = valueOrElse(getString(co), cn) | |
371 | + | let bE = valueOrElse(getInteger(bf(aQ)), 0) | |
372 | + | let bF = valueOrElse(getInteger(bg(aQ)), 0) | |
373 | + | let cp = bV(bE, bF, cm) | |
374 | + | let aX = if ((0 > cp)) | |
364 | 375 | then 0 | |
365 | - | else | |
366 | - | | |
376 | + | else cp | |
377 | + | aX | |
367 | 378 | } | |
368 | 379 | ||
369 | 380 | ||
370 | - | func | |
381 | + | func cq (aN) = cl(aN, height) | |
371 | 382 | ||
372 | 383 | ||
373 | - | func | |
374 | - | let | |
375 | - | let | |
376 | - | if (( | |
384 | + | func cr (cs,ct,cu) = { | |
385 | + | let cn = "EMPTY" | |
386 | + | let cv = valueOrElse(getString(this, aM(ct)), cn) | |
387 | + | if ((cv == cn)) | |
377 | 388 | then $Tuple3(0, nil, "userRecord::is::empty") | |
378 | 389 | else { | |
379 | - | let | |
380 | - | let | |
381 | - | let | |
382 | - | let | |
383 | - | let | |
390 | + | let cw = split(cv, a) | |
391 | + | let cx = cw[aG] | |
392 | + | let cy = valueOrElse(getInteger(bz, ak()), 0) | |
393 | + | let cz = "empty" | |
394 | + | let cA = if ((cs != cz)) | |
384 | 395 | then { | |
385 | - | let | |
386 | - | let | |
387 | - | let | |
388 | - | $Tuple2( | |
396 | + | let cB = valueOrErrorMessage(getString(bw, K(cs)), ("unsupported lp asset " + cs)) | |
397 | + | let cC = getIntegerValue(bw, O(cB)) | |
398 | + | let cD = valueOrElse(getInteger(bw, Q(cB, 0)), cC) | |
399 | + | $Tuple2(cD, cC) | |
389 | 400 | } | |
390 | - | else if ( | |
401 | + | else if (cu) | |
391 | 402 | then $Tuple2(0, 0) | |
392 | - | else throw(("not readonly mode: unsupported lp asset " + | |
393 | - | let | |
394 | - | let | |
395 | - | let | |
396 | - | let | |
397 | - | let | |
398 | - | let | |
399 | - | then | |
403 | + | else throw(("not readonly mode: unsupported lp asset " + cs)) | |
404 | + | let cE = cA._1 | |
405 | + | let cF = cA._2 | |
406 | + | let cG = k(bx, ae()) | |
407 | + | let cH = k(bx, ag()) | |
408 | + | let cI = k(bx, ai()) | |
409 | + | let bY = if ((height > cI)) | |
410 | + | then cI | |
400 | 411 | else height | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | let | |
405 | - | let | |
406 | - | let | |
407 | - | let | |
408 | - | let | |
409 | - | let | |
410 | - | let | |
411 | - | if (if (if ((0 > | |
412 | + | let cJ = max([(bY - cH), 0]) | |
413 | + | let cK = bp(cx, cs) | |
414 | + | let cL = bo(cx) | |
415 | + | let cM = valueOrElse(getInteger(this, cK), h(this, cL)) | |
416 | + | let cN = (((cG * cJ) * 2) / 3) | |
417 | + | let cO = (cN - cM) | |
418 | + | let cP = fraction(cO, 3, (2 * cG)) | |
419 | + | let cQ = (bY - cP) | |
420 | + | let cR = max([(cy - cQ), 0]) | |
421 | + | let cS = ((bY - cQ) - cR) | |
422 | + | if (if (if ((0 > cQ)) | |
412 | 423 | then true | |
413 | - | else (0 > | |
424 | + | else (0 > cS)) | |
414 | 425 | then true | |
415 | - | else (l((( | |
416 | - | then throw(((((((("invalid udh calc: udh=" + toString( | |
417 | - | else if ((0 > | |
426 | + | else (l(((cR + cS) - cP)) >= 1)) | |
427 | + | then throw(((((((("invalid udh calc: udh=" + toString(cP)) + " uLastH=") + toString(cQ)) + " udh0=") + toString(cR)) + " udh1=") + toString(cS))) | |
428 | + | else if ((0 > cO)) | |
418 | 429 | then throw("wrong calculations") | |
419 | 430 | else { | |
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let | |
424 | - | let | |
425 | - | let | |
426 | - | let | |
427 | - | let | |
428 | - | let | |
429 | - | let | |
431 | + | let cT = br(cx) | |
432 | + | let cU = bs() | |
433 | + | let cV = h(this, cT) | |
434 | + | let cW = h(this, cU) | |
435 | + | let cX = bv() | |
436 | + | let cY = valueOrElse(getInteger(this, cX), 0) | |
437 | + | let cZ = cq(ct) | |
438 | + | let da = bt(cx) | |
439 | + | let db = h(this, da) | |
440 | + | let dc = if ((cP == 0)) | |
430 | 441 | then 0 | |
431 | - | else fraction( | |
432 | - | let | |
442 | + | else fraction(cO, cR, cP) | |
443 | + | let dd = if ((cP == 0)) | |
433 | 444 | then 0 | |
434 | - | else fraction( | |
435 | - | let | |
436 | - | let | |
437 | - | let | |
445 | + | else fraction(cO, cS, cP) | |
446 | + | let de = fraction(dc, cE, d) | |
447 | + | let df = fraction(dd, cF, d) | |
448 | + | let dg = if ((cY == 0)) | |
438 | 449 | then 0 | |
439 | - | else fraction(cZ, | |
440 | - | let | |
450 | + | else fraction(de, cZ, cY) | |
451 | + | let dh = if ((cY == 0)) | |
441 | 452 | then 0 | |
442 | - | else fraction( | |
443 | - | let | |
444 | - | let | |
445 | - | let | |
446 | - | let | |
447 | - | let | |
448 | - | let | |
449 | - | $Tuple3( | |
453 | + | else fraction(df, cZ, cY) | |
454 | + | let di = (dg + dh) | |
455 | + | let dj = bu(cx) | |
456 | + | let dk = h(this, dj) | |
457 | + | let dl = (di - dk) | |
458 | + | let dm = [IntegerEntry(cK, cN)] | |
459 | + | let dn = makeString([toString(cM), toString(cO), toString(dk), toString(dl), toString(cE), toString(cF), toString(bY), toString(cP), toString(cQ), toString(cR), toString(cS), toString(cZ), toString(cY)], ":") | |
460 | + | $Tuple3(di, dm, dn) | |
450 | 461 | } | |
451 | 462 | } | |
452 | 463 | } | |
453 | 464 | ||
454 | 465 | ||
455 | - | @Callable( | |
456 | - | func constructor ( | |
457 | - | let | |
458 | - | if (( | |
459 | - | then ([IntegerEntry( | |
466 | + | @Callable(aD) | |
467 | + | func constructor (do,dp,au,dq,dr,ax) = { | |
468 | + | let ds = aC(aD) | |
469 | + | if ((ds == ds)) | |
470 | + | then ([IntegerEntry(aZ(), 0), StringEntry(aq(), ay(dp, au, dq, dr, ax)), StringEntry(x(), do)] ++ bI(0, 0, 0, 0)) | |
460 | 471 | else throw("Strict value is not equal to itself.") | |
461 | 472 | } | |
462 | 473 | ||
463 | 474 | ||
464 | 475 | ||
465 | - | @Callable(ay) | |
466 | - | func lock (aO) = { | |
467 | - | let do = am() | |
468 | - | let dp = do[ag] | |
469 | - | let ao = fromBase58String(dp) | |
470 | - | let ap = parseIntValue(do[ah]) | |
471 | - | let aq = parseIntValue(do[ai]) | |
472 | - | let ar = parseIntValue(do[aj]) | |
473 | - | let as = addressFromStringValue(do[ak]) | |
474 | - | if ((size(ay.payments) != 1)) | |
476 | + | @Callable(aD) | |
477 | + | func lockRef (aT,dt,du) = { | |
478 | + | let dv = invoke(this, "lock", [aT], aD.payments) | |
479 | + | if ((dv == dv)) | |
480 | + | then { | |
481 | + | let dw = toString(aD.caller) | |
482 | + | let dx = if (if ((dt == "")) | |
483 | + | then true | |
484 | + | else (du == base58'')) | |
485 | + | then unit | |
486 | + | else invoke(t, "createPair", [w, dt, dw, du], nil) | |
487 | + | if ((dx == dx)) | |
488 | + | then $Tuple2(nil, unit) | |
489 | + | else throw("Strict value is not equal to itself.") | |
490 | + | } | |
491 | + | else throw("Strict value is not equal to itself.") | |
492 | + | } | |
493 | + | ||
494 | + | ||
495 | + | ||
496 | + | @Callable(aD) | |
497 | + | func lock (aT) = { | |
498 | + | let dy = ar() | |
499 | + | let dz = dy[al] | |
500 | + | let at = fromBase58String(dz) | |
501 | + | let au = parseIntValue(dy[am]) | |
502 | + | let av = parseIntValue(dy[an]) | |
503 | + | let aw = parseIntValue(dy[ao]) | |
504 | + | let ax = addressFromStringValue(dy[ap]) | |
505 | + | if ((size(aD.payments) != 1)) | |
475 | 506 | then throw("invalid payment - exact one payment must be attached") | |
476 | 507 | else { | |
477 | - | let | |
478 | - | let | |
479 | - | if (( | |
480 | - | then throw((("invalid asset is in payment - " + | |
508 | + | let ck = aD.payments[0] | |
509 | + | let dA = ck.amount | |
510 | + | if ((at != value(ck.assetId))) | |
511 | + | then throw((("invalid asset is in payment - " + dz) + " is expected")) | |
481 | 512 | else { | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | then value(getString( | |
487 | - | else toString(k(this, | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | if (( | |
494 | - | then throw(("amount is less then minLockAmount=" + toString( | |
495 | - | else if (( | |
496 | - | then throw(("passed duration is less then minLockDuration=" + toString( | |
497 | - | else if (( | |
498 | - | then throw(("passed duration is greater then maxLockDuration=" + toString( | |
499 | - | else if (if ( | |
500 | - | then ((k(this, | |
513 | + | let dB = aZ() | |
514 | + | let ct = toString(aD.caller) | |
515 | + | let dC = isDefined(getString(ba(ct))) | |
516 | + | let cx = if (dC) | |
517 | + | then value(getString(ba(ct))) | |
518 | + | else toString(k(this, dB)) | |
519 | + | let aQ = parseIntValue(cx) | |
520 | + | let bD = height | |
521 | + | let cc = bd(cx) | |
522 | + | let cd = be(cx) | |
523 | + | let cb = bc(cx) | |
524 | + | if ((au > dA)) | |
525 | + | then throw(("amount is less then minLockAmount=" + toString(au))) | |
526 | + | else if ((av > aT)) | |
527 | + | then throw(("passed duration is less then minLockDuration=" + toString(av))) | |
528 | + | else if ((aT > aw)) | |
529 | + | then throw(("passed duration is greater then maxLockDuration=" + toString(aw))) | |
530 | + | else if (if (dC) | |
531 | + | then ((k(this, cc) + k(this, cd)) >= bD) | |
501 | 532 | else false) | |
502 | 533 | then throw("there is an active lock - consider to use increaseLock") | |
503 | - | else if ((h(this, | |
504 | - | then throw(("there are locked WXs - consider to use increaseLock " + | |
534 | + | else if ((h(this, cb) > 0)) | |
535 | + | then throw(("there are locked WXs - consider to use increaseLock " + cb)) | |
505 | 536 | else { | |
506 | - | let | |
507 | - | let | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | then | |
537 | + | let dD = fraction(aT, c, aw) | |
538 | + | let dE = fraction(dA, dD, c) | |
539 | + | let dF = n(invoke(ax, "calcGwxParamsREADONLY", [dE, bD, aT], nil)) | |
540 | + | let bE = q(dF[0]) | |
541 | + | let bF = q(dF[1]) | |
542 | + | let bi = toString(q(dF[2])) | |
543 | + | let cG = k(bx, ae()) | |
544 | + | let cH = k(bx, ag()) | |
545 | + | let cI = k(bx, ai()) | |
546 | + | let bY = if ((height > cI)) | |
547 | + | then cI | |
517 | 548 | else height | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
526 | - | let | |
527 | - | let | |
549 | + | let cJ = max([(bY - cH), 0]) | |
550 | + | let cL = bo(cx) | |
551 | + | let cN = (((cG * cJ) * 2) / 3) | |
552 | + | let cT = br(cx) | |
553 | + | let cU = bs() | |
554 | + | let cV = ((dE * aT) / 2) | |
555 | + | let cW = h(this, cU) | |
556 | + | let cX = bv() | |
557 | + | let cY = valueOrElse(getInteger(this, cX), 0) | |
558 | + | let dG = if (dC) | |
528 | 559 | then nil | |
529 | - | else [IntegerEntry( | |
530 | - | (((( | |
560 | + | else [IntegerEntry(dB, (aQ + 1)), StringEntry(ba(ct), cx), StringEntry(bb(cx), ct)] | |
561 | + | ((((dG ++ ca(ct, cx, dA, bD, aT, bE, bF, bi)) ++ bI(dA, aT, 1, if (dC) | |
531 | 562 | then 0 | |
532 | - | else 1)) :+ | |
563 | + | else 1)) :+ bA("lock", ct, dA, bD, aT, bE, bF, aD)) ++ [IntegerEntry(cL, cN), IntegerEntry(cX, (cY + dE))]) | |
533 | 564 | } | |
534 | 565 | } | |
535 | 566 | } | |
536 | 567 | } | |
537 | 568 | ||
538 | 569 | ||
539 | 570 | ||
540 | - | @Callable( | |
541 | - | func increaseLock ( | |
542 | - | let | |
543 | - | let | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | let | |
548 | - | let | |
549 | - | let | |
550 | - | let | |
551 | - | let | |
552 | - | let | |
553 | - | let | |
554 | - | let | |
555 | - | let | |
556 | - | let | |
557 | - | let | |
558 | - | let | |
559 | - | if ((0 > | |
571 | + | @Callable(aD) | |
572 | + | func increaseLock (dH) = { | |
573 | + | let dy = ar() | |
574 | + | let dz = dy[al] | |
575 | + | let at = fromBase58String(dz) | |
576 | + | let av = parseIntValue(dy[an]) | |
577 | + | let aw = parseIntValue(dy[ao]) | |
578 | + | let ax = addressFromStringValue(dy[ap]) | |
579 | + | let dA = ci(aD, at) | |
580 | + | let ct = toString(aD.caller) | |
581 | + | let cw = aO(ct) | |
582 | + | let cx = cw[aG] | |
583 | + | let dI = parseIntValue(cw[aH]) | |
584 | + | let bD = parseIntValue(cw[aI]) | |
585 | + | let dJ = parseIntValue(cw[aJ]) | |
586 | + | let dK = (bD + dJ) | |
587 | + | let dL = max([(dK - height), 0]) | |
588 | + | let dM = (dI + dA) | |
589 | + | let dN = (dL + dH) | |
590 | + | if ((0 > dH)) | |
560 | 591 | then throw("duration is less then zero") | |
561 | - | else if (( | |
562 | - | then throw(("lockDurationNew is less then minLockDuration=" + toString( | |
563 | - | else if (( | |
564 | - | then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString( | |
592 | + | else if ((av > dN)) | |
593 | + | then throw(("lockDurationNew is less then minLockDuration=" + toString(av))) | |
594 | + | else if ((dN > aw)) | |
595 | + | then throw(("deltaDuration + existedLockDuration is greater then maxLockDuration=" + toString(aw))) | |
565 | 596 | else { | |
566 | - | let | |
567 | - | let | |
568 | - | let | |
569 | - | let | |
570 | - | let | |
571 | - | let | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | then | |
597 | + | let dD = fraction(dN, c, aw) | |
598 | + | let dE = fraction(dM, dD, c) | |
599 | + | let dO = height | |
600 | + | let dF = n(invoke(ax, "calcGwxParamsREADONLY", [dE, dO, dN], nil)) | |
601 | + | let bE = q(dF[0]) | |
602 | + | let bF = q(dF[1]) | |
603 | + | let bi = toString(q(dF[2])) | |
604 | + | let cG = k(bx, ae()) | |
605 | + | let cH = k(bx, ag()) | |
606 | + | let cI = k(bx, ai()) | |
607 | + | let bY = if ((height > cI)) | |
608 | + | then cI | |
578 | 609 | else height | |
579 | - | let | |
580 | - | let | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
584 | - | if ((0 > | |
610 | + | let cJ = max([(bY - cH), 0]) | |
611 | + | let cL = bo(cx) | |
612 | + | let cM = h(this, cL) | |
613 | + | let cN = (((cG * cJ) * 2) / 3) | |
614 | + | let cO = (cN - cM) | |
615 | + | if ((0 > cO)) | |
585 | 616 | then throw("wrong calculations") | |
586 | 617 | else { | |
587 | - | let | |
588 | - | let | |
589 | - | let | |
590 | - | let | |
591 | - | let | |
592 | - | let | |
593 | - | if ((0 > | |
594 | - | then throw(("gwxDiff is less then 0: " + toString( | |
618 | + | let cT = br(cx) | |
619 | + | let cU = bs() | |
620 | + | let cV = h(this, cT) | |
621 | + | let cW = h(this, cU) | |
622 | + | let dP = cq(ct) | |
623 | + | let dQ = (dE - dP) | |
624 | + | if ((0 > dQ)) | |
625 | + | then throw(("gwxDiff is less then 0: " + toString(dQ))) | |
595 | 626 | else { | |
596 | - | let | |
597 | - | let | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | let | |
603 | - | let | |
604 | - | ((( | |
627 | + | let cX = bv() | |
628 | + | let cY = valueOrElse(getInteger(this, cX), 0) | |
629 | + | let da = bt(cx) | |
630 | + | let db = h(this, da) | |
631 | + | let di = fraction(cO, dP, cY) | |
632 | + | let dR = ((dE * dN) / 2) | |
633 | + | let dS = ((dP * dL) / 2) | |
634 | + | let dT = (dR - dS) | |
635 | + | (((ca(ct, cx, dM, dO, dN, bE, bF, bi) ++ bI(dA, dH, 0, 0)) :+ bA("lock", ct, dA, bD, dN, bE, bF, aD)) ++ [IntegerEntry(cX, (cY + dQ))]) | |
605 | 636 | } | |
606 | 637 | } | |
607 | 638 | } | |
608 | 639 | } | |
609 | 640 | ||
610 | 641 | ||
611 | 642 | ||
612 | - | @Callable( | |
613 | - | func claimWxBoost ( | |
643 | + | @Callable(aD) | |
644 | + | func claimWxBoost (cs,ct) = if ((by != aD.caller)) | |
614 | 645 | then throw("permissions denied") | |
615 | 646 | else { | |
616 | - | let | |
617 | - | let | |
618 | - | let | |
619 | - | let | |
620 | - | $Tuple2( | |
647 | + | let dU = cr(cs, ct, false) | |
648 | + | let dl = dU._1 | |
649 | + | let dm = dU._2 | |
650 | + | let dn = dU._3 | |
651 | + | $Tuple2(dm, [dl]) | |
621 | 652 | } | |
622 | 653 | ||
623 | 654 | ||
624 | 655 | ||
625 | - | @Callable( | |
626 | - | func claimWxBoostREADONLY ( | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
631 | - | $Tuple2(nil, [ | |
656 | + | @Callable(aD) | |
657 | + | func claimWxBoostREADONLY (cs,ct) = { | |
658 | + | let dV = cr(cs, ct, true) | |
659 | + | let dl = dV._1 | |
660 | + | let dm = dV._2 | |
661 | + | let dn = dV._3 | |
662 | + | $Tuple2(nil, [dl, dn]) | |
632 | 663 | } | |
633 | 664 | ||
634 | 665 | ||
635 | 666 | ||
636 | - | @Callable( | |
637 | - | func unlock ( | |
638 | - | let | |
639 | - | let | |
640 | - | let | |
641 | - | let | |
642 | - | let | |
643 | - | let | |
644 | - | let | |
645 | - | let | |
646 | - | let | |
647 | - | if (( | |
648 | - | then throw((("wait " + toString( | |
649 | - | else if ((0 >= | |
667 | + | @Callable(aD) | |
668 | + | func unlock (aN) = { | |
669 | + | let cw = aO(aN) | |
670 | + | let cx = cw[aG] | |
671 | + | let dI = parseIntValue(cw[aH]) | |
672 | + | let bD = parseIntValue(cw[aI]) | |
673 | + | let dJ = parseIntValue(cw[aJ]) | |
674 | + | let dK = (bD + dJ) | |
675 | + | let dy = ar() | |
676 | + | let at = fromBase58String(dy[al]) | |
677 | + | let ax = addressFromStringValue(dy[ap]) | |
678 | + | if ((dK >= height)) | |
679 | + | then throw((("wait " + toString(dK)) + " to unlock")) | |
680 | + | else if ((0 >= dI)) | |
650 | 681 | then throw("nothing to unlock") | |
651 | 682 | else { | |
652 | - | let | |
653 | - | ((( | |
683 | + | let bi = valueOrElse(getInteger(ax, aj()), 0) | |
684 | + | (((ca(aN, cx, 0, bD, dJ, 0, 0, toString(bi)) ++ bI(-(dI), 0, 0, -1)) :+ bA("unlock", aN, dI, bD, dJ, 0, 0, aD)) :+ ScriptTransfer(addressFromStringValue(aN), dI, at)) | |
654 | 685 | } | |
655 | 686 | } | |
656 | 687 | ||
657 | 688 | ||
658 | 689 | ||
659 | - | @Callable( | |
660 | - | func gwxUserInfoREADONLY ( | |
661 | - | let | |
662 | - | $Tuple2(nil, [ | |
690 | + | @Callable(aD) | |
691 | + | func gwxUserInfoREADONLY (aN) = { | |
692 | + | let aX = cq(aN) | |
693 | + | $Tuple2(nil, [aX]) | |
663 | 694 | } | |
664 | 695 | ||
665 | 696 | ||
666 | 697 | ||
667 | - | @Callable( | |
668 | - | func getUserGwxAmountAtHeightREADONLY ( | |
669 | - | let | |
670 | - | $Tuple2(nil, | |
698 | + | @Callable(aD) | |
699 | + | func getUserGwxAmountAtHeightREADONLY (aN,cm) = { | |
700 | + | let aX = cl(aN, cm) | |
701 | + | $Tuple2(nil, aX) | |
671 | 702 | } | |
672 | 703 | ||
673 | 704 | ||
674 | 705 | ||
675 | - | @Callable( | |
676 | - | func setManager ( | |
677 | - | let | |
678 | - | if (( | |
706 | + | @Callable(aD) | |
707 | + | func setManager (dW) = { | |
708 | + | let ds = aC(aD) | |
709 | + | if ((ds == ds)) | |
679 | 710 | then { | |
680 | - | let | |
681 | - | if (( | |
682 | - | then [StringEntry( | |
711 | + | let dX = fromBase58String(dW) | |
712 | + | if ((dX == dX)) | |
713 | + | then [StringEntry(ad(), dW)] | |
683 | 714 | else throw("Strict value is not equal to itself.") | |
684 | 715 | } | |
685 | 716 | else throw("Strict value is not equal to itself.") | |
686 | 717 | } | |
687 | 718 | ||
688 | 719 | ||
689 | 720 | ||
690 | - | @Callable( | |
721 | + | @Callable(aD) | |
691 | 722 | func confirmManager () = { | |
692 | - | let | |
693 | - | let | |
723 | + | let dY = aB() | |
724 | + | let dZ = if (isDefined(dY)) | |
694 | 725 | then true | |
695 | 726 | else throw("No pending manager") | |
696 | - | if (( | |
727 | + | if ((dZ == dZ)) | |
697 | 728 | then { | |
698 | - | let | |
729 | + | let ea = if ((aD.callerPublicKey == value(dY))) | |
699 | 730 | then true | |
700 | 731 | else throw("You are not pending manager") | |
701 | - | if (( | |
702 | - | then [StringEntry( | |
732 | + | if ((ea == ea)) | |
733 | + | then [StringEntry(ac(), toBase58String(value(dY))), DeleteEntry(ad())] | |
703 | 734 | else throw("Strict value is not equal to itself.") | |
704 | 735 | } | |
705 | 736 | else throw("Strict value is not equal to itself.") | |
706 | 737 | } | |
707 | 738 | ||
708 | 739 | ||
709 | - | @Verifier( | |
710 | - | func | |
711 | - | let | |
712 | - | let o = | |
740 | + | @Verifier(eb) | |
741 | + | func ec () = { | |
742 | + | let ed = { | |
743 | + | let o = az() | |
713 | 744 | if ($isInstanceOf(o, "ByteVector")) | |
714 | 745 | then { | |
715 | - | let | |
716 | - | | |
746 | + | let aF = o | |
747 | + | aF | |
717 | 748 | } | |
718 | 749 | else if ($isInstanceOf(o, "Unit")) | |
719 | - | then | |
750 | + | then eb.senderPublicKey | |
720 | 751 | else throw("Match error") | |
721 | 752 | } | |
722 | - | sigVerify( | |
753 | + | sigVerify(eb.bodyBytes, eb.proofs[0], ed) | |
723 | 754 | } | |
724 | 755 |
github/deemru/w8io/026f985 281.61 ms ◑