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