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