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