tx · 5K6ZcbDo51SuAfdQhRYMdV1dHPYkafi8uk4HQJBUB8gV 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK: -0.01000000 Waves 2021.08.14 13:07 [1657891] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves
{ "type": 13, "id": "5K6ZcbDo51SuAfdQhRYMdV1dHPYkafi8uk4HQJBUB8gV", "fee": 1000000, "feeAssetId": null, "timestamp": 1628935647722, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "5S41A4Vre97Hs1gZCybXs7tgS66fJ1gaaJA58UUP2xAGSau8yGB1H4FJa2bSQcWF8gmnNcaddB8u9Tg9TL99BqBo" ], "script": "base64:AAIDAAAAAAAAB44IARIAEgASABIDCgEBEgASAwoBARIAEgASAwoBCBoHCgJhMRIBaRoQCgJhMhIKY3VycmVudEtleRoRCgJhMxILR292ZXJuVG9rZW4aEgoCYTQSDERldkJveEFtb3VudBoNCgJhNRIHJG1hdGNoMBoHCgJhNhIBYRoRCgJhNxILU3Rha2VkVG9rZW4aEgoCYTgSDG1pblB1c2hCbG9jaxoTCgJhORINbWluU3Rha2VCbG9jaxoUCgJiMRIORGVsYXlBZnRlclB1c2gaDgoCYjISCFdhaXRUaW1lGgwKAmIzEgZtaW5yZWYaFAoCYjQSDkZpcnN0UHVzaFRpbWVyGh0KAmI1Ehd1c2VyV2FsbGV0R292ZXJuQmFsYW5jZRoJCgJiNhIDcG10Gg4KAmI3EghVc2VyUHVzaBoaCgJiOBIUVXNlckxhc3RQdXNoT2xkVmFsdWUaEQoCYjkSC1VzZXJSZWZzTnVtGhYKAmMxEhBVc2VyUmVmc051bVZhbHVlGhYKAmMyEhBIaWdoZXN0UHVzaFZhbHVlGhcKAmMzEhFVc2VyTGFzdFB1c2hCbG9jaxoYCgJjN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AAgAAAAECAAAAYVlvdSBoYXZlIHRvIGJlIHRoZSB1c2VyIHdpdGggdGhlIGhpZ2hlc3QgUHVzaCBhbmQgd2FpdCB0aWxsIGNvdW50b3duIGlzIGZpbmlzaGVkLCB0byBjbGFpbSBSZXdhcmQAAAACYTEBAAAACUFkZG1lbnRvcgAAAAEAAAACaTkEAAAAAmE3AQAAACD5rl2FqqDB81weFWSW9S5FyKYquYAb4MpXXcAlqscPUAQAAAACYTMBAAAAIAFshcLXQMYuV8Rzs8ULZ07fOlzF6BxYes7P/1GRlpktBAAAAAJqMQkAASwAAAACCQACWAAAAAEICAUAAAACYTEAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAdfTWVudG9yAwkBAAAAAiE9AAAAAgUAAAACaTkCAAAAAAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAACajEFAAAAAmk5BQAAAANuaWwJAAACAAAAAQIAAAAgTWVudG9yJ3MgQWRkcmVzcyBjYW5ub3QgYmUgZW1wdHkAAAAAaVhGzw==", "height": 1657891, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F2Xucr3cFHUAuEfKxt1SaZxyBLFR1ywL6tshby3SRxWa Next: 2JFStFAMW6BCXeHX1BksKCkxRgbvAdVsxVqJbFFPohJK Diff:
Old | New | Differences | |
---|---|---|---|
657 | 657 | let af = (as - ak) | |
658 | 658 | let at = if (((height - ar) >= ap)) | |
659 | 659 | then (1 * 100000000) | |
660 | - | else (aq * (1 - (( | |
660 | + | else (aq * (1 - ((height - ar) / (ap * 1440)))) | |
661 | 661 | if ((0 > ak)) | |
662 | 662 | then throw("Can't withdraw negative amount ") | |
663 | 663 | else if (((1000 * 100000000) > aq)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func DevWithdraw () = { | |
8 | 8 | let b = toBase58String(a.caller.bytes) | |
9 | 9 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
10 | 10 | if ((b == "3Mu3nwxzGzeQBGxCKLyJcSDKmRiCea9FQSJ")) | |
11 | 11 | then { | |
12 | 12 | let d = { | |
13 | 13 | let e = getInteger(this, "DevBox") | |
14 | 14 | if ($isInstanceOf(e, "Int")) | |
15 | 15 | then { | |
16 | 16 | let f = e | |
17 | 17 | f | |
18 | 18 | } | |
19 | 19 | else 0 | |
20 | 20 | } | |
21 | 21 | if ((0 > d)) | |
22 | 22 | then throw("Not enough balance") | |
23 | 23 | else ScriptResult(WriteSet([DataEntry("DevBox", 0), DataEntry("Delay", 0), DataEntry("PrizeHeight", height)]), TransferSet([ScriptTransfer(a.caller, d, c)])) | |
24 | 24 | } | |
25 | 25 | else throw("You cannot withdraw as your are not the Dev.") | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | ||
30 | 30 | @Callable(a) | |
31 | 31 | func PushReward () = { | |
32 | 32 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
33 | 33 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
34 | 34 | let h = 10 | |
35 | 35 | let i = (7 * 1440) | |
36 | 36 | let j = 1 | |
37 | 37 | let k = (1 * 1) | |
38 | 38 | let l = 0 | |
39 | 39 | let m = 1 | |
40 | 40 | let n = assetBalance(Address(a.caller.bytes), c) | |
41 | 41 | let o = extract(a.payment) | |
42 | 42 | let p = (toBase58String(a.caller.bytes) + "_Push") | |
43 | 43 | let q = { | |
44 | 44 | let e = getInteger(this, p) | |
45 | 45 | if ($isInstanceOf(e, "Int")) | |
46 | 46 | then { | |
47 | 47 | let f = e | |
48 | 48 | f | |
49 | 49 | } | |
50 | 50 | else 0 | |
51 | 51 | } | |
52 | 52 | let r = (toBase58String(a.caller.bytes) + "_refs") | |
53 | 53 | let s = { | |
54 | 54 | let e = getInteger(this, r) | |
55 | 55 | if ($isInstanceOf(e, "Int")) | |
56 | 56 | then { | |
57 | 57 | let f = e | |
58 | 58 | f | |
59 | 59 | } | |
60 | 60 | else 0 | |
61 | 61 | } | |
62 | 62 | let t = { | |
63 | 63 | let e = getInteger(this, "HighestPush") | |
64 | 64 | if ($isInstanceOf(e, "Int")) | |
65 | 65 | then { | |
66 | 66 | let f = e | |
67 | 67 | f | |
68 | 68 | } | |
69 | 69 | else 0 | |
70 | 70 | } | |
71 | 71 | if ((n > o.amount)) | |
72 | 72 | then if (if (((o.amount + q) > t)) | |
73 | 73 | then (o.assetId == c) | |
74 | 74 | else false) | |
75 | 75 | then { | |
76 | 76 | let u = (toBase58String(a.caller.bytes) + "_UserLastPushBlock") | |
77 | 77 | let v = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
78 | 78 | let w = (toBase58String(a.caller.bytes) + "_Staking") | |
79 | 79 | let x = assetBalance(this, g) | |
80 | 80 | let y = { | |
81 | 81 | let e = getInteger(this, "StakeBalance") | |
82 | 82 | if ($isInstanceOf(e, "Int")) | |
83 | 83 | then { | |
84 | 84 | let f = e | |
85 | 85 | f | |
86 | 86 | } | |
87 | 87 | else 0 | |
88 | 88 | } | |
89 | 89 | let z = { | |
90 | 90 | let e = getInteger(this, "FundBox") | |
91 | 91 | if ($isInstanceOf(e, "Int")) | |
92 | 92 | then { | |
93 | 93 | let f = e | |
94 | 94 | f | |
95 | 95 | } | |
96 | 96 | else 0 | |
97 | 97 | } | |
98 | 98 | let A = { | |
99 | 99 | let e = getInteger(this, "PrizeHeight") | |
100 | 100 | if ($isInstanceOf(e, "Int")) | |
101 | 101 | then { | |
102 | 102 | let f = e | |
103 | 103 | f | |
104 | 104 | } | |
105 | 105 | else 0 | |
106 | 106 | } | |
107 | 107 | let B = if (if ((A == 0)) | |
108 | 108 | then (z == 0) | |
109 | 109 | else false) | |
110 | 110 | then 0 | |
111 | 111 | else if (if ((A == 0)) | |
112 | 112 | then (z != 0) | |
113 | 113 | else false) | |
114 | 114 | then height | |
115 | 115 | else if (if ((A != 0)) | |
116 | 116 | then (z != 0) | |
117 | 117 | else false) | |
118 | 118 | then A | |
119 | 119 | else 0 | |
120 | 120 | let C = { | |
121 | 121 | let e = getInteger(this, "Delay") | |
122 | 122 | if ($isInstanceOf(e, "Int")) | |
123 | 123 | then { | |
124 | 124 | let f = e | |
125 | 125 | f | |
126 | 126 | } | |
127 | 127 | else 0 | |
128 | 128 | } | |
129 | 129 | let D = { | |
130 | 130 | let e = getInteger(this, "HighestPushAddress") | |
131 | 131 | if ($isInstanceOf(e, "Int")) | |
132 | 132 | then { | |
133 | 133 | let f = e | |
134 | 134 | f | |
135 | 135 | } | |
136 | 136 | else 0 | |
137 | 137 | } | |
138 | 138 | let E = { | |
139 | 139 | let e = getInteger(this, u) | |
140 | 140 | if ($isInstanceOf(e, "Int")) | |
141 | 141 | then { | |
142 | 142 | let f = e | |
143 | 143 | f | |
144 | 144 | } | |
145 | 145 | else 0 | |
146 | 146 | } | |
147 | 147 | let F = { | |
148 | 148 | let e = getInteger(this, v) | |
149 | 149 | if ($isInstanceOf(e, "Int")) | |
150 | 150 | then { | |
151 | 151 | let f = e | |
152 | 152 | f | |
153 | 153 | } | |
154 | 154 | else 0 | |
155 | 155 | } | |
156 | 156 | let G = { | |
157 | 157 | let e = getInteger(this, w) | |
158 | 158 | if ($isInstanceOf(e, "Int")) | |
159 | 159 | then { | |
160 | 160 | let f = e | |
161 | 161 | f | |
162 | 162 | } | |
163 | 163 | else 0 | |
164 | 164 | } | |
165 | 165 | let H = { | |
166 | 166 | let e = getInteger(this, "DevBox") | |
167 | 167 | if ($isInstanceOf(e, "Int")) | |
168 | 168 | then { | |
169 | 169 | let f = e | |
170 | 170 | f | |
171 | 171 | } | |
172 | 172 | else 0 | |
173 | 173 | } | |
174 | 174 | let d = (H + ((o.amount * 5) / 1000)) | |
175 | 175 | let I = (o.amount + q) | |
176 | 176 | let J = if (if ((height > ((B + C) + k))) | |
177 | 177 | then (t > 0) | |
178 | 178 | else false) | |
179 | 179 | then m | |
180 | 180 | else (C + j) | |
181 | 181 | let K = if (if ((height > ((B + J) + k))) | |
182 | 182 | then (t > 0) | |
183 | 183 | else false) | |
184 | 184 | then "" | |
185 | 185 | else D | |
186 | 186 | let L = if (if ((height > ((B + J) + k))) | |
187 | 187 | then (t > 0) | |
188 | 188 | else false) | |
189 | 189 | then height | |
190 | 190 | else B | |
191 | 191 | if (if ((I > 0)) | |
192 | 192 | then ((height - F) > i) | |
193 | 193 | else false) | |
194 | 194 | then if (((height - E) > h)) | |
195 | 195 | then if ((G > 0)) | |
196 | 196 | then if ((I > t)) | |
197 | 197 | then if ((z > 0)) | |
198 | 198 | then if (if (if (if (((L + J) >= height)) | |
199 | 199 | then true | |
200 | 200 | else (height >= ((L + J) + k))) | |
201 | 201 | then (t > 0) | |
202 | 202 | else false) | |
203 | 203 | then true | |
204 | 204 | else (t == 0)) | |
205 | 205 | then if ((s >= l)) | |
206 | 206 | then WriteSet([DataEntry(p, I), DataEntry("HighestPushAddress", toBase58String(a.caller.bytes)), DataEntry("HighestPush", I), DataEntry(u, height), DataEntry("PrizeHeight", L), DataEntry("Delay", J), DataEntry("DevBox", d)]) | |
207 | 207 | else throw((("You have to have " + toString(l)) + " referrals already staking for a minimum of 10 days, to push")) | |
208 | 208 | else { | |
209 | 209 | let M = if ((t > 0)) | |
210 | 210 | then "You cannot Push after rewarding Prize and before One day has passed after award" | |
211 | 211 | else "Unexpected error" | |
212 | 212 | throw(M) | |
213 | 213 | } | |
214 | 214 | else throw("You cannot push before the reward is unlocked, no reward has been detected yet") | |
215 | 215 | else throw("Your push in troikan token, should be Higher than last Highest Push") | |
216 | 216 | else throw("To be able to participate in Pushing for the reward you need to Stake ASIMIs in the dApp") | |
217 | 217 | else throw("You have to wait 10min before you can make a new Push") | |
218 | 218 | else throw(("Your Push dot not comply one of the following conditions: " + "1. Positive Value for Push in Troikan Toke | |
219 | 219 | 2. Must Staked ASIMI Token for a minimum of week ")) | |
220 | 220 | } | |
221 | 221 | else throw((("Can deposit only positive amounts of Troikan Token, or Check your Wallet balance in Troika, you should have more than " + toString(t)) + " to push")) | |
222 | 222 | else throw("You do not have enough Troikan Tokens in your Wallet Balance, Please Harvest if you have earned Troikan wallet or transfer to your wallet necessary Troikan amount !") | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | ||
227 | 227 | @Callable(a) | |
228 | 228 | func Stake () = { | |
229 | 229 | let k = (1 * 1) | |
230 | 230 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
231 | 231 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
232 | 232 | let o = extract(a.payment) | |
233 | 233 | if (if ((o.amount > 0)) | |
234 | 234 | then (o.assetId == g) | |
235 | 235 | else false) | |
236 | 236 | then { | |
237 | 237 | let N = assetBalance(this, c) | |
238 | 238 | let O = (toBase58String(a.caller.bytes) + "_APY") | |
239 | 239 | let p = (toBase58String(a.caller.bytes) + "_Push") | |
240 | 240 | let P = (toBase58String(a.caller.bytes) + "_Staking") | |
241 | 241 | let Q = (toBase58String(a.caller.bytes) + "_Earnings") | |
242 | 242 | let v = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
243 | 243 | let R = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
244 | 244 | let S = (toBase58String(a.caller.bytes) + "_PrizeHeight") | |
245 | 245 | let T = { | |
246 | 246 | let e = getInteger(this, R) | |
247 | 247 | if ($isInstanceOf(e, "Int")) | |
248 | 248 | then { | |
249 | 249 | let f = e | |
250 | 250 | f | |
251 | 251 | } | |
252 | 252 | else 0 | |
253 | 253 | } | |
254 | 254 | let U = getStringValue(this, "MaxDepositer") | |
255 | 255 | let V = { | |
256 | 256 | let e = getInteger(this, "MaxDepositBlock") | |
257 | 257 | if ($isInstanceOf(e, "Int")) | |
258 | 258 | then { | |
259 | 259 | let f = e | |
260 | 260 | f | |
261 | 261 | } | |
262 | 262 | else 0 | |
263 | 263 | } | |
264 | 264 | let W = { | |
265 | 265 | let e = getInteger(this, "MaxDeposit") | |
266 | 266 | if ($isInstanceOf(e, "Int")) | |
267 | 267 | then { | |
268 | 268 | let f = e | |
269 | 269 | f | |
270 | 270 | } | |
271 | 271 | else 0 | |
272 | 272 | } | |
273 | 273 | let X = if ((o.amount > W)) | |
274 | 274 | then toBase58String(a.caller.bytes) | |
275 | 275 | else U | |
276 | 276 | let Y = if ((o.amount > W)) | |
277 | 277 | then o.amount | |
278 | 278 | else W | |
279 | 279 | let Z = if ((o.amount > W)) | |
280 | 280 | then height | |
281 | 281 | else V | |
282 | 282 | let aa = { | |
283 | 283 | let e = getInteger(this, p) | |
284 | 284 | if ($isInstanceOf(e, "Int")) | |
285 | 285 | then { | |
286 | 286 | let f = e | |
287 | 287 | f | |
288 | 288 | } | |
289 | 289 | else 0 | |
290 | 290 | } | |
291 | 291 | let F = { | |
292 | 292 | let e = getInteger(this, v) | |
293 | 293 | if ($isInstanceOf(e, "Int")) | |
294 | 294 | then { | |
295 | 295 | let f = e | |
296 | 296 | f | |
297 | 297 | } | |
298 | 298 | else 0 | |
299 | 299 | } | |
300 | 300 | let ab = if ((F == 0)) | |
301 | 301 | then height | |
302 | 302 | else F | |
303 | 303 | let ac = (T + 1) | |
304 | 304 | let ad = { | |
305 | 305 | let e = getInteger(this, P) | |
306 | 306 | if ($isInstanceOf(e, "Int")) | |
307 | 307 | then { | |
308 | 308 | let f = e | |
309 | 309 | f | |
310 | 310 | } | |
311 | 311 | else 0 | |
312 | 312 | } | |
313 | 313 | let ae = (ad + o.amount) | |
314 | 314 | let x = assetBalance(this, g) | |
315 | 315 | let y = { | |
316 | 316 | let e = getInteger(this, "StakeBalance") | |
317 | 317 | if ($isInstanceOf(e, "Int")) | |
318 | 318 | then { | |
319 | 319 | let f = e | |
320 | 320 | f | |
321 | 321 | } | |
322 | 322 | else 0 | |
323 | 323 | } | |
324 | 324 | let af = (y + o.amount) | |
325 | 325 | let z = { | |
326 | 326 | let e = getInteger(this, "FundBox") | |
327 | 327 | if ($isInstanceOf(e, "Int")) | |
328 | 328 | then { | |
329 | 329 | let f = e | |
330 | 330 | f | |
331 | 331 | } | |
332 | 332 | else 0 | |
333 | 333 | } | |
334 | 334 | let ag = { | |
335 | 335 | let e = getInteger(this, Q) | |
336 | 336 | if ($isInstanceOf(e, "Int")) | |
337 | 337 | then { | |
338 | 338 | let f = e | |
339 | 339 | f | |
340 | 340 | } | |
341 | 341 | else 0 | |
342 | 342 | } | |
343 | 343 | let A = { | |
344 | 344 | let e = getInteger(this, "PrizeHeight") | |
345 | 345 | if ($isInstanceOf(e, "Int")) | |
346 | 346 | then { | |
347 | 347 | let f = e | |
348 | 348 | f | |
349 | 349 | } | |
350 | 350 | else 0 | |
351 | 351 | } | |
352 | 352 | let B = if (if ((A == 0)) | |
353 | 353 | then (z == 0) | |
354 | 354 | else false) | |
355 | 355 | then 0 | |
356 | 356 | else if (if ((A == 0)) | |
357 | 357 | then (z != 0) | |
358 | 358 | else false) | |
359 | 359 | then height | |
360 | 360 | else if (if ((A != 0)) | |
361 | 361 | then (z != 0) | |
362 | 362 | else false) | |
363 | 363 | then A | |
364 | 364 | else 0 | |
365 | 365 | let C = { | |
366 | 366 | let e = getInteger(this, "Delay") | |
367 | 367 | if ($isInstanceOf(e, "Int")) | |
368 | 368 | then { | |
369 | 369 | let f = e | |
370 | 370 | f | |
371 | 371 | } | |
372 | 372 | else 0 | |
373 | 373 | } | |
374 | 374 | let t = { | |
375 | 375 | let e = getInteger(this, "HighestPush") | |
376 | 376 | if ($isInstanceOf(e, "Int")) | |
377 | 377 | then { | |
378 | 378 | let f = e | |
379 | 379 | f | |
380 | 380 | } | |
381 | 381 | else 0 | |
382 | 382 | } | |
383 | 383 | let D = { | |
384 | 384 | let e = getInteger(this, "HighestPushAddress") | |
385 | 385 | if ($isInstanceOf(e, "Int")) | |
386 | 386 | then { | |
387 | 387 | let f = e | |
388 | 388 | f | |
389 | 389 | } | |
390 | 390 | else 0 | |
391 | 391 | } | |
392 | 392 | let K = if (if ((height > ((B + C) + k))) | |
393 | 393 | then (t > 0) | |
394 | 394 | else false) | |
395 | 395 | then "" | |
396 | 396 | else D | |
397 | 397 | let L = if (if ((height > ((B + C) + k))) | |
398 | 398 | then (t > 0) | |
399 | 399 | else false) | |
400 | 400 | then height | |
401 | 401 | else B | |
402 | 402 | if ((100000000 > N)) | |
403 | 403 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
404 | 404 | else { | |
405 | 405 | let ah = if ((y == 0)) | |
406 | 406 | then 10000 | |
407 | 407 | else if ((ac > 10)) | |
408 | 408 | then ((10000 * ac) * (1 + (ae / y))) | |
409 | 409 | else (10000 * (1 + (ae / y))) | |
410 | 410 | let ai = if ((ag > 0)) | |
411 | 411 | then ((100 * ah) / ag) | |
412 | 412 | else 0 | |
413 | 413 | let aj = (ag + ah) | |
414 | 414 | ScriptResult(WriteSet([DataEntry(Q, aj), DataEntry(P, ae), DataEntry(R, ac), DataEntry("StakeBalance", af), DataEntry("PrizeHeight", L), DataEntry(O, ai), DataEntry(v, ab), DataEntry(p, aa), DataEntry("MaxDepositer", X), DataEntry("MaxDeposit", Y), DataEntry("MaxDepositBlock", Z), DataEntry("HighestPushAddress", K)]), TransferSet([ScriptTransfer(a.caller, ah, c)])) | |
415 | 415 | } | |
416 | 416 | } | |
417 | 417 | else throw("Can deposit only StakeToken") | |
418 | 418 | } | |
419 | 419 | ||
420 | 420 | ||
421 | 421 | ||
422 | 422 | @Callable(a) | |
423 | 423 | func WithdrawStakedFunds (ak) = { | |
424 | 424 | let k = (1 * 1) | |
425 | 425 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
426 | 426 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
427 | 427 | let v = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
428 | 428 | let P = (toBase58String(a.caller.bytes) + "_Staking") | |
429 | 429 | let Q = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
430 | 430 | let x = assetBalance(this, g) | |
431 | 431 | let F = { | |
432 | 432 | let e = getInteger(this, v) | |
433 | 433 | if ($isInstanceOf(e, "Int")) | |
434 | 434 | then { | |
435 | 435 | let f = e | |
436 | 436 | f | |
437 | 437 | } | |
438 | 438 | else 0 | |
439 | 439 | } | |
440 | 440 | let y = { | |
441 | 441 | let e = getInteger(this, "StakeBalance") | |
442 | 442 | if ($isInstanceOf(e, "Int")) | |
443 | 443 | then { | |
444 | 444 | let f = e | |
445 | 445 | f | |
446 | 446 | } | |
447 | 447 | else 0 | |
448 | 448 | } | |
449 | 449 | let z = { | |
450 | 450 | let e = getInteger(this, "FundBox") | |
451 | 451 | if ($isInstanceOf(e, "Int")) | |
452 | 452 | then { | |
453 | 453 | let f = e | |
454 | 454 | f | |
455 | 455 | } | |
456 | 456 | else 0 | |
457 | 457 | } | |
458 | 458 | let A = { | |
459 | 459 | let e = getInteger(this, "PrizeHeight") | |
460 | 460 | if ($isInstanceOf(e, "Int")) | |
461 | 461 | then { | |
462 | 462 | let f = e | |
463 | 463 | f | |
464 | 464 | } | |
465 | 465 | else 0 | |
466 | 466 | } | |
467 | 467 | let C = { | |
468 | 468 | let e = getInteger(this, "Delay") | |
469 | 469 | if ($isInstanceOf(e, "Int")) | |
470 | 470 | then { | |
471 | 471 | let f = e | |
472 | 472 | f | |
473 | 473 | } | |
474 | 474 | else 0 | |
475 | 475 | } | |
476 | 476 | let t = { | |
477 | 477 | let e = getInteger(this, "HighestPush") | |
478 | 478 | if ($isInstanceOf(e, "Int")) | |
479 | 479 | then { | |
480 | 480 | let f = e | |
481 | 481 | f | |
482 | 482 | } | |
483 | 483 | else 0 | |
484 | 484 | } | |
485 | 485 | let B = if (if ((A == 0)) | |
486 | 486 | then (z == 0) | |
487 | 487 | else false) | |
488 | 488 | then 0 | |
489 | 489 | else if (if ((A == 0)) | |
490 | 490 | then (z != 0) | |
491 | 491 | else false) | |
492 | 492 | then height | |
493 | 493 | else if (if ((A != 0)) | |
494 | 494 | then (z != 0) | |
495 | 495 | else false) | |
496 | 496 | then A | |
497 | 497 | else 0 | |
498 | 498 | let D = { | |
499 | 499 | let e = getInteger(this, "HighestPushAddress") | |
500 | 500 | if ($isInstanceOf(e, "Int")) | |
501 | 501 | then { | |
502 | 502 | let f = e | |
503 | 503 | f | |
504 | 504 | } | |
505 | 505 | else 0 | |
506 | 506 | } | |
507 | 507 | let K = if (if ((height > ((B + C) + k))) | |
508 | 508 | then (t > 0) | |
509 | 509 | else false) | |
510 | 510 | then "" | |
511 | 511 | else D | |
512 | 512 | let L = if (if ((height > ((B + C) + k))) | |
513 | 513 | then (t > 0) | |
514 | 514 | else false) | |
515 | 515 | then height | |
516 | 516 | else B | |
517 | 517 | let b = toBase58String(a.caller.bytes) | |
518 | 518 | let al = { | |
519 | 519 | let e = getInteger(this, P) | |
520 | 520 | if ($isInstanceOf(e, "Int")) | |
521 | 521 | then { | |
522 | 522 | let f = e | |
523 | 523 | f | |
524 | 524 | } | |
525 | 525 | else 0 | |
526 | 526 | } | |
527 | 527 | let am = (al - ak) | |
528 | 528 | let af = (y - ak) | |
529 | 529 | let ab = if ((af == 0)) | |
530 | 530 | then 0 | |
531 | 531 | else F | |
532 | 532 | if ((0 > ak)) | |
533 | 533 | then throw("Can't withdraw negative amount") | |
534 | 534 | else if ((0 > am)) | |
535 | 535 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((al / 100000000)))) | |
536 | 536 | else if ((100000000 > assetBalance(this, c))) | |
537 | 537 | then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, c) / 100000000)))) | |
538 | 538 | else ScriptResult(WriteSet([DataEntry(Q, 100000000), DataEntry(P, am), DataEntry("StakeBalance", af), DataEntry("PrizeHeight", L), DataEntry(v, ab), DataEntry("HighestPushAddress", K)]), TransferSet([ScriptTransfer(a.caller, 100000000, c), ScriptTransfer(a.caller, ak, g)])) | |
539 | 539 | } | |
540 | 540 | ||
541 | 541 | ||
542 | 542 | ||
543 | 543 | @Callable(a) | |
544 | 544 | func WithdrawBigStakeReward () = { | |
545 | 545 | let k = (1 * 1) | |
546 | 546 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
547 | 547 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
548 | 548 | let an = (toBase58String(a.caller.bytes) + "LastBigStakerRewardBlock") | |
549 | 549 | let ao = (toBase58String(a.caller.bytes) + "_BigStaker") | |
550 | 550 | let Q = (toBase58String(a.caller.bytes) + "_Earnings") | |
551 | 551 | let ap = 10 | |
552 | 552 | let aq = { | |
553 | 553 | let e = getInteger(this, Q) | |
554 | 554 | if ($isInstanceOf(e, "Int")) | |
555 | 555 | then { | |
556 | 556 | let f = e | |
557 | 557 | f | |
558 | 558 | } | |
559 | 559 | else 0 | |
560 | 560 | } | |
561 | 561 | let ar = { | |
562 | 562 | let e = getInteger(this, an) | |
563 | 563 | if ($isInstanceOf(e, "Int")) | |
564 | 564 | then { | |
565 | 565 | let f = e | |
566 | 566 | f | |
567 | 567 | } | |
568 | 568 | else 0 | |
569 | 569 | } | |
570 | 570 | let as = { | |
571 | 571 | let e = getInteger(this, "BigStakerRewardTotal") | |
572 | 572 | if ($isInstanceOf(e, "Int")) | |
573 | 573 | then { | |
574 | 574 | let f = e | |
575 | 575 | f | |
576 | 576 | } | |
577 | 577 | else 0 | |
578 | 578 | } | |
579 | 579 | let z = { | |
580 | 580 | let e = getInteger(this, "FundBox") | |
581 | 581 | if ($isInstanceOf(e, "Int")) | |
582 | 582 | then { | |
583 | 583 | let f = e | |
584 | 584 | f | |
585 | 585 | } | |
586 | 586 | else 0 | |
587 | 587 | } | |
588 | 588 | let A = { | |
589 | 589 | let e = getInteger(this, "PrizeHeight") | |
590 | 590 | if ($isInstanceOf(e, "Int")) | |
591 | 591 | then { | |
592 | 592 | let f = e | |
593 | 593 | f | |
594 | 594 | } | |
595 | 595 | else 0 | |
596 | 596 | } | |
597 | 597 | let B = if (if ((A == 0)) | |
598 | 598 | then (z == 0) | |
599 | 599 | else false) | |
600 | 600 | then 0 | |
601 | 601 | else if (if ((A == 0)) | |
602 | 602 | then (z != 0) | |
603 | 603 | else false) | |
604 | 604 | then height | |
605 | 605 | else if (if ((A != 0)) | |
606 | 606 | then (z != 0) | |
607 | 607 | else false) | |
608 | 608 | then A | |
609 | 609 | else 0 | |
610 | 610 | let C = { | |
611 | 611 | let e = getInteger(this, "Delay") | |
612 | 612 | if ($isInstanceOf(e, "Int")) | |
613 | 613 | then { | |
614 | 614 | let f = e | |
615 | 615 | f | |
616 | 616 | } | |
617 | 617 | else 0 | |
618 | 618 | } | |
619 | 619 | let t = { | |
620 | 620 | let e = getInteger(this, "HighestPush") | |
621 | 621 | if ($isInstanceOf(e, "Int")) | |
622 | 622 | then { | |
623 | 623 | let f = e | |
624 | 624 | f | |
625 | 625 | } | |
626 | 626 | else 0 | |
627 | 627 | } | |
628 | 628 | let D = { | |
629 | 629 | let e = getInteger(this, "HighestPushAddress") | |
630 | 630 | if ($isInstanceOf(e, "Int")) | |
631 | 631 | then { | |
632 | 632 | let f = e | |
633 | 633 | f | |
634 | 634 | } | |
635 | 635 | else 0 | |
636 | 636 | } | |
637 | 637 | let K = if (if ((height > ((B + C) + k))) | |
638 | 638 | then (t > 0) | |
639 | 639 | else false) | |
640 | 640 | then "" | |
641 | 641 | else D | |
642 | 642 | let L = if (if ((height > ((B + C) + k))) | |
643 | 643 | then (t > 0) | |
644 | 644 | else false) | |
645 | 645 | then height | |
646 | 646 | else B | |
647 | 647 | let b = toBase58String(a.caller.bytes) | |
648 | 648 | let ak = { | |
649 | 649 | let e = getInteger(this, ao) | |
650 | 650 | if ($isInstanceOf(e, "Int")) | |
651 | 651 | then { | |
652 | 652 | let f = e | |
653 | 653 | f | |
654 | 654 | } | |
655 | 655 | else 0 | |
656 | 656 | } | |
657 | 657 | let af = (as - ak) | |
658 | 658 | let at = if (((height - ar) >= ap)) | |
659 | 659 | then (1 * 100000000) | |
660 | - | else (aq * (1 - (( | |
660 | + | else (aq * (1 - ((height - ar) / (ap * 1440)))) | |
661 | 661 | if ((0 > ak)) | |
662 | 662 | then throw("Can't withdraw negative amount ") | |
663 | 663 | else if (((1000 * 100000000) > aq)) | |
664 | 664 | then throw(("Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString((aq / 100000000)))) | |
665 | 665 | else ScriptResult(WriteSet([DataEntry(ao, 0), DataEntry("BigStakerRewardTotal", af), DataEntry(Q, (aq - at)), DataEntry("PrizeHeight", B), DataEntry(an, height), DataEntry("HighestPushAddress", K)]), TransferSet([ScriptTransfer(a.caller, ak, g)])) | |
666 | 666 | } | |
667 | 667 | ||
668 | 668 | ||
669 | 669 | ||
670 | 670 | @Callable(a) | |
671 | 671 | func HarvestGovernToiken (ak) = { | |
672 | 672 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
673 | 673 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
674 | 674 | let x = assetBalance(this, g) | |
675 | 675 | let Q = (toBase58String(a.caller.bytes) + "_Earnings") | |
676 | 676 | let y = { | |
677 | 677 | let e = getInteger(this, "StakeBalance") | |
678 | 678 | if ($isInstanceOf(e, "Int")) | |
679 | 679 | then { | |
680 | 680 | let f = e | |
681 | 681 | f | |
682 | 682 | } | |
683 | 683 | else 0 | |
684 | 684 | } | |
685 | 685 | let z = { | |
686 | 686 | let e = getInteger(this, "FundBox") | |
687 | 687 | if ($isInstanceOf(e, "Int")) | |
688 | 688 | then { | |
689 | 689 | let f = e | |
690 | 690 | f | |
691 | 691 | } | |
692 | 692 | else 0 | |
693 | 693 | } | |
694 | 694 | let A = { | |
695 | 695 | let e = getInteger(this, "PrizeHeight") | |
696 | 696 | if ($isInstanceOf(e, "Int")) | |
697 | 697 | then { | |
698 | 698 | let f = e | |
699 | 699 | f | |
700 | 700 | } | |
701 | 701 | else 0 | |
702 | 702 | } | |
703 | 703 | let B = if (if ((A == 0)) | |
704 | 704 | then (z == 0) | |
705 | 705 | else false) | |
706 | 706 | then 0 | |
707 | 707 | else if (if ((A == 0)) | |
708 | 708 | then (z != 0) | |
709 | 709 | else false) | |
710 | 710 | then height | |
711 | 711 | else if (if ((A != 0)) | |
712 | 712 | then (z != 0) | |
713 | 713 | else false) | |
714 | 714 | then A | |
715 | 715 | else 0 | |
716 | 716 | let b = toBase58String(a.caller.bytes) | |
717 | 717 | let al = { | |
718 | 718 | let e = getInteger(this, Q) | |
719 | 719 | if ($isInstanceOf(e, "Int")) | |
720 | 720 | then { | |
721 | 721 | let f = e | |
722 | 722 | f | |
723 | 723 | } | |
724 | 724 | else 0 | |
725 | 725 | } | |
726 | 726 | let am = (al - ak) | |
727 | 727 | if ((0 > ak)) | |
728 | 728 | then throw("Can't withdraw negative amount") | |
729 | 729 | else if ((0 > am)) | |
730 | 730 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((al / 100000000)))) | |
731 | 731 | else ScriptResult(WriteSet([DataEntry(Q, am), DataEntry("PrizeHeight", B)]), TransferSet([ScriptTransfer(a.caller, ak, c)])) | |
732 | 732 | } | |
733 | 733 | ||
734 | 734 | ||
735 | 735 | ||
736 | 736 | @Callable(a) | |
737 | 737 | func delayprize () = { | |
738 | 738 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
739 | 739 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
740 | 740 | let au = (1 * 1) | |
741 | 741 | let k = (1 * 1) | |
742 | 742 | let Q = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
743 | 743 | let av = assetBalance(Address(a.caller.bytes), c) | |
744 | 744 | let x = assetBalance(this, g) | |
745 | 745 | let y = { | |
746 | 746 | let e = getInteger(this, "StakeBalance") | |
747 | 747 | if ($isInstanceOf(e, "Int")) | |
748 | 748 | then { | |
749 | 749 | let f = e | |
750 | 750 | f | |
751 | 751 | } | |
752 | 752 | else 0 | |
753 | 753 | } | |
754 | 754 | let z = { | |
755 | 755 | let e = getInteger(this, "FundBox") | |
756 | 756 | if ($isInstanceOf(e, "Int")) | |
757 | 757 | then { | |
758 | 758 | let f = e | |
759 | 759 | f | |
760 | 760 | } | |
761 | 761 | else 0 | |
762 | 762 | } | |
763 | 763 | let A = { | |
764 | 764 | let e = getInteger(this, "PrizeHeight") | |
765 | 765 | if ($isInstanceOf(e, "Int")) | |
766 | 766 | then { | |
767 | 767 | let f = e | |
768 | 768 | f | |
769 | 769 | } | |
770 | 770 | else 0 | |
771 | 771 | } | |
772 | 772 | let C = { | |
773 | 773 | let e = getInteger(this, "Delay") | |
774 | 774 | if ($isInstanceOf(e, "Int")) | |
775 | 775 | then { | |
776 | 776 | let f = e | |
777 | 777 | f | |
778 | 778 | } | |
779 | 779 | else 0 | |
780 | 780 | } | |
781 | 781 | let B = if (if ((A == 0)) | |
782 | 782 | then (z == 0) | |
783 | 783 | else false) | |
784 | 784 | then 0 | |
785 | 785 | else if (if ((A == 0)) | |
786 | 786 | then (z != 0) | |
787 | 787 | else false) | |
788 | 788 | then height | |
789 | 789 | else if (if ((A != 0)) | |
790 | 790 | then (z != 0) | |
791 | 791 | else false) | |
792 | 792 | then A | |
793 | 793 | else 0 | |
794 | 794 | let t = { | |
795 | 795 | let e = getInteger(this, "HighestPush") | |
796 | 796 | if ($isInstanceOf(e, "Int")) | |
797 | 797 | then { | |
798 | 798 | let f = e | |
799 | 799 | f | |
800 | 800 | } | |
801 | 801 | else 0 | |
802 | 802 | } | |
803 | 803 | let D = { | |
804 | 804 | let e = getInteger(this, "HighestPushAddress") | |
805 | 805 | if ($isInstanceOf(e, "Int")) | |
806 | 806 | then { | |
807 | 807 | let f = e | |
808 | 808 | f | |
809 | 809 | } | |
810 | 810 | else 0 | |
811 | 811 | } | |
812 | 812 | let K = if (if ((height > ((B + C) + k))) | |
813 | 813 | then (t > 0) | |
814 | 814 | else false) | |
815 | 815 | then "" | |
816 | 816 | else D | |
817 | 817 | let L = if (if ((height > ((B + C) + k))) | |
818 | 818 | then (t > 0) | |
819 | 819 | else false) | |
820 | 820 | then height | |
821 | 821 | else B | |
822 | 822 | let aw = { | |
823 | 823 | let e = getInteger(this, "DelayCost") | |
824 | 824 | if ($isInstanceOf(e, "Int")) | |
825 | 825 | then { | |
826 | 826 | let f = e | |
827 | 827 | f | |
828 | 828 | } | |
829 | 829 | else 10 | |
830 | 830 | } | |
831 | 831 | let o = extract(a.payment) | |
832 | 832 | let H = { | |
833 | 833 | let e = getInteger(this, "DevBox") | |
834 | 834 | if ($isInstanceOf(e, "Int")) | |
835 | 835 | then { | |
836 | 836 | let f = e | |
837 | 837 | f | |
838 | 838 | } | |
839 | 839 | else 0 | |
840 | 840 | } | |
841 | 841 | if (if (isDefined(o.assetId)) | |
842 | 842 | then (extract(o.assetId) == c) | |
843 | 843 | else false) | |
844 | 844 | then if ((z > 0)) | |
845 | 845 | then { | |
846 | 846 | let aq = o.amount | |
847 | 847 | let d = (H + ((o.amount * 5) / 1000)) | |
848 | 848 | let ax = if ((aw == 0)) | |
849 | 849 | then 1000000000 | |
850 | 850 | else (2 * aw) | |
851 | 851 | if ((aq >= ax)) | |
852 | 852 | then { | |
853 | 853 | let J = (C + au) | |
854 | 854 | WriteSet([DataEntry("Delay", J), DataEntry("DelayCost", ax), DataEntry("PrizeHeight", L), DataEntry("DevBox", d), DataEntry("HighestPushAddress", K)]) | |
855 | 855 | } | |
856 | 856 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(ax)) + "TROIKAs")) | |
857 | 857 | } | |
858 | 858 | else throw("You cannot delay the reward before reward is received! Please wait until a reward is available") | |
859 | 859 | else throw("Can Use only Troika Token to Delay Reward") | |
860 | 860 | } | |
861 | 861 | ||
862 | 862 | ||
863 | 863 | ||
864 | 864 | @Callable(a) | |
865 | 865 | func ClaimPrize () = { | |
866 | 866 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
867 | 867 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
868 | 868 | let P = (toBase58String(a.caller.bytes) + "_Staking") | |
869 | 869 | let p = (toBase58String(a.caller.bytes) + "_Push") | |
870 | 870 | let v = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
871 | 871 | let i = 7 | |
872 | 872 | let l = 0 | |
873 | 873 | let ay = assetBalance(this, c) | |
874 | 874 | let x = assetBalance(this, g) | |
875 | 875 | let y = { | |
876 | 876 | let e = getInteger(this, "StakeBalance") | |
877 | 877 | if ($isInstanceOf(e, "Int")) | |
878 | 878 | then { | |
879 | 879 | let f = e | |
880 | 880 | f | |
881 | 881 | } | |
882 | 882 | else 0 | |
883 | 883 | } | |
884 | 884 | let z = { | |
885 | 885 | let e = getInteger(this, "FundBox") | |
886 | 886 | if ($isInstanceOf(e, "Int")) | |
887 | 887 | then { | |
888 | 888 | let f = e | |
889 | 889 | f | |
890 | 890 | } | |
891 | 891 | else 0 | |
892 | 892 | } | |
893 | 893 | let aa = { | |
894 | 894 | let e = getInteger(this, p) | |
895 | 895 | if ($isInstanceOf(e, "Int")) | |
896 | 896 | then { | |
897 | 897 | let f = e | |
898 | 898 | f | |
899 | 899 | } | |
900 | 900 | else 0 | |
901 | 901 | } | |
902 | 902 | let F = { | |
903 | 903 | let e = getInteger(this, v) | |
904 | 904 | if ($isInstanceOf(e, "Int")) | |
905 | 905 | then { | |
906 | 906 | let f = e | |
907 | 907 | f | |
908 | 908 | } | |
909 | 909 | else 0 | |
910 | 910 | } | |
911 | 911 | let az = { | |
912 | 912 | let e = getInteger(this, P) | |
913 | 913 | if ($isInstanceOf(e, "Int")) | |
914 | 914 | then { | |
915 | 915 | let f = e | |
916 | 916 | f | |
917 | 917 | } | |
918 | 918 | else 0 | |
919 | 919 | } | |
920 | 920 | let C = { | |
921 | 921 | let e = getInteger(this, "Delay") | |
922 | 922 | if ($isInstanceOf(e, "Int")) | |
923 | 923 | then { | |
924 | 924 | let f = e | |
925 | 925 | f | |
926 | 926 | } | |
927 | 927 | else 0 | |
928 | 928 | } | |
929 | 929 | let aA = getStringValue(this, "HighestPushAddress") | |
930 | 930 | let aB = { | |
931 | 931 | let e = getInteger(this, "PrizeHeight") | |
932 | 932 | if ($isInstanceOf(e, "Int")) | |
933 | 933 | then { | |
934 | 934 | let f = e | |
935 | 935 | f | |
936 | 936 | } | |
937 | 937 | else 0 | |
938 | 938 | } | |
939 | 939 | let t = { | |
940 | 940 | let e = getInteger(this, "HighestPush") | |
941 | 941 | if ($isInstanceOf(e, "Int")) | |
942 | 942 | then { | |
943 | 943 | let f = e | |
944 | 944 | f | |
945 | 945 | } | |
946 | 946 | else 0 | |
947 | 947 | } | |
948 | 948 | let r = (toBase58String(a.caller.bytes) + "_refs") | |
949 | 949 | let s = { | |
950 | 950 | let e = getInteger(this, r) | |
951 | 951 | if ($isInstanceOf(e, "Int")) | |
952 | 952 | then { | |
953 | 953 | let f = e | |
954 | 954 | f | |
955 | 955 | } | |
956 | 956 | else 0 | |
957 | 957 | } | |
958 | 958 | if (if ((z == 0)) | |
959 | 959 | then true | |
960 | 960 | else (10000000000 > ay)) | |
961 | 961 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
962 | 962 | else if ((toBase58String(a.caller.bytes) != aA)) | |
963 | 963 | then throw("You are not the winner hence cannot claim the reward ") | |
964 | 964 | else if (if ((100000000 > az)) | |
965 | 965 | then (i > F) | |
966 | 966 | else false) | |
967 | 967 | then throw("You have to Stake ASIMI Token to claim reward ") | |
968 | 968 | else if (if ((height > (aB + C))) | |
969 | 969 | then (aa >= t) | |
970 | 970 | else false) | |
971 | 971 | then if ((s >= l)) | |
972 | 972 | then ScriptResult(WriteSet([DataEntry(aA, z), DataEntry("FundBox", 0), DataEntry("HighestPush", 0), DataEntry(p, 0), DataEntry("HighestPushAddress", ""), DataEntry("PrizeHeight", 0), DataEntry("Delay", 0), DataEntry("DelayCost", 0), DataEntry("LastWinner", aA), DataEntry("LastPrize", z)]), TransferSet([ScriptTransfer(a.caller, z, g), ScriptTransfer(a.caller, 1000000000, c)])) | |
973 | 973 | else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize") | |
974 | 974 | else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward") | |
975 | 975 | } | |
976 | 976 | ||
977 | 977 | ||
978 | 978 | ||
979 | 979 | @Callable(a) | |
980 | 980 | func Addmentor (aC) = { | |
981 | 981 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
982 | 982 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
983 | 983 | let aD = (toBase58String(a.caller.bytes) + "_Mentor") | |
984 | 984 | if ((aC != "")) | |
985 | 985 | then WriteSet([DataEntry(aD, aC)]) | |
986 | 986 | else throw("Mentor's Address cannot be empty") | |
987 | 987 | } | |
988 | 988 | ||
989 | 989 |
github/deemru/w8io/169f3d6 75.05 ms ◑