tx · 3DcyngzWj7RfopsocsfyDJBhEBYe6DiyDfkKYtVioMWA 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK: -0.01000000 Waves 2021.05.29 22:48 [1547390] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves
{ "type": 13, "id": "3DcyngzWj7RfopsocsfyDJBhEBYe6DiyDfkKYtVioMWA", "fee": 1000000, "feeAssetId": null, "timestamp": 1622317711677, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "3HDUGwwvLXCBLuhSXj5iLjidsUVDXn4iznKFANnzCQkj9Y3BiLC6YA7ubNuzCyU6ENP8Qd1PrDNnjFyYVLYgBrXq" ], "script": "base64:AAIDAAAAAAAAABsIARIAEgASABIDCgEBEgMKAQESABIAEgMKAQgAAAAAAAAACAAAAAFpAQAAAAtEZXZXaXRoZHJhdwAAAAAEAAAACmN1cnJlbnRLZXkJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAALR292ZXJuVG9rZW4BAAAAIBCA+Di6G71u5eBGn7OO/XvXyTq77GEaAEk/DSjFvl25AwkAAAAAAAACBQAAAApjdXJyZW50S2V5AgAAACMzUDc0YnVIdDk4Qm5vakZjYVJFSlp0Yjk4S0R5VW1aR2VtSgQAAAAMRGV2Qm94QW1vdW50BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAABkRldkJveAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAwkAAGYAAAACAAAAAAAAAAAABQAAAAxEZXZCb3hBbW91bnQJAAACAAAAAQIAAAASTm90IGVub3VnaCBiYWxhbmNlCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdya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UgaGF2ZSB0byBiZSB0aGUgdXNlciB3aXRoIHRoZSBoaWdoZXN0IFB1c2ggYW5kIHdhaXQgdGlsbCBjb3VudG93biBpcyBmaW5pc2hlZCwgdG8gY2xhaW0gUmV3YXJkAAAAAWkBAAAACUFkZG1lbnRvcgAAAAEAAAAGTWVudG9yBAAAAAtTdGFrZWRUb2tlbgEAAAAgtdEoYbzmBKc83jS/KKdye173/DgIlmcoGG447AQsIbIEAAAAC0dvdmVyblRva2VuAQAAACAQgPg4uhu9buXgRp+zjv1718k6u+xhGgBJPw0oxb5duQQAAAARVXNlck1lbnRvckFkZHJlc3MJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAdfTWVudG9yAwkBAAAAAiE9AAAAAgUAAAAGTWVudG9yAgAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEVVzZXJNZW50b3JBZGRyZXNzBQAAAAZNZW50b3IFAAAAA25pbAkAAAIAAAABAgAAACBNZW50b3IncyBBZGRyZXNzIGNhbm5vdCBiZSBlbXB0eQAAAADrOzKc", "height": 1547390, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3TmG2oXgyFTp3ZuKhRzpsSzZV7B4byWfhXtfN52x6pAw Next: GuYBQUPbZj6R3iedPC4v1hQcGY4vnKmBjqvazWgzfdog Diff:
Old | New | Differences | |
---|---|---|---|
34 | 34 | let h = 0 | |
35 | 35 | let i = (1 * 1) | |
36 | 36 | let j = 5 | |
37 | - | let k = | |
37 | + | let k = 5 | |
38 | 38 | let l = 0 | |
39 | 39 | let m = assetBalance(Address(a.caller.bytes), c) | |
40 | 40 | let n = extract(a.payment) |
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'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
10 | 10 | if ((b == "3P74buHt98BnojFcaREJZtb98KDyUmZGemJ")) | |
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)]), 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'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
33 | 33 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
34 | 34 | let h = 0 | |
35 | 35 | let i = (1 * 1) | |
36 | 36 | let j = 5 | |
37 | - | let k = | |
37 | + | let k = 5 | |
38 | 38 | let l = 0 | |
39 | 39 | let m = assetBalance(Address(a.caller.bytes), c) | |
40 | 40 | let n = extract(a.payment) | |
41 | 41 | let o = (toBase58String(a.caller.bytes) + "_Push") | |
42 | 42 | let p = { | |
43 | 43 | let e = getInteger(this, o) | |
44 | 44 | if ($isInstanceOf(e, "Int")) | |
45 | 45 | then { | |
46 | 46 | let f = e | |
47 | 47 | f | |
48 | 48 | } | |
49 | 49 | else 0 | |
50 | 50 | } | |
51 | 51 | let q = (toBase58String(a.caller.bytes) + "_refs") | |
52 | 52 | let r = { | |
53 | 53 | let e = getInteger(this, q) | |
54 | 54 | if ($isInstanceOf(e, "Int")) | |
55 | 55 | then { | |
56 | 56 | let f = e | |
57 | 57 | f | |
58 | 58 | } | |
59 | 59 | else 0 | |
60 | 60 | } | |
61 | 61 | let s = { | |
62 | 62 | let e = getInteger(this, "HighestPush") | |
63 | 63 | if ($isInstanceOf(e, "Int")) | |
64 | 64 | then { | |
65 | 65 | let f = e | |
66 | 66 | f | |
67 | 67 | } | |
68 | 68 | else 0 | |
69 | 69 | } | |
70 | 70 | if ((m > n.amount)) | |
71 | 71 | then if (if (((n.amount + p) > s)) | |
72 | 72 | then (n.assetId == c) | |
73 | 73 | else false) | |
74 | 74 | then { | |
75 | 75 | let t = (toBase58String(a.caller.bytes) + "_UserLastPushBlock") | |
76 | 76 | let u = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
77 | 77 | let v = (toBase58String(a.caller.bytes) + "_Staking") | |
78 | 78 | let w = assetBalance(this, g) | |
79 | 79 | let x = { | |
80 | 80 | let e = getInteger(this, "StakeBalance") | |
81 | 81 | if ($isInstanceOf(e, "Int")) | |
82 | 82 | then { | |
83 | 83 | let f = e | |
84 | 84 | f | |
85 | 85 | } | |
86 | 86 | else 0 | |
87 | 87 | } | |
88 | 88 | let y = { | |
89 | 89 | let e = getInteger(this, "FundBox") | |
90 | 90 | if ($isInstanceOf(e, "Int")) | |
91 | 91 | then { | |
92 | 92 | let f = e | |
93 | 93 | f | |
94 | 94 | } | |
95 | 95 | else 0 | |
96 | 96 | } | |
97 | 97 | let z = { | |
98 | 98 | let e = getInteger(this, "PrizeHeight") | |
99 | 99 | if ($isInstanceOf(e, "Int")) | |
100 | 100 | then { | |
101 | 101 | let f = e | |
102 | 102 | f | |
103 | 103 | } | |
104 | 104 | else 0 | |
105 | 105 | } | |
106 | 106 | let A = if (if ((z == 0)) | |
107 | 107 | then (y == 0) | |
108 | 108 | else false) | |
109 | 109 | then 0 | |
110 | 110 | else if (if ((z == 0)) | |
111 | 111 | then (y != 0) | |
112 | 112 | else false) | |
113 | 113 | then height | |
114 | 114 | else if (if ((z != 0)) | |
115 | 115 | then (y != 0) | |
116 | 116 | else false) | |
117 | 117 | then z | |
118 | 118 | else 0 | |
119 | 119 | let B = { | |
120 | 120 | let e = getInteger(this, "Delay") | |
121 | 121 | if ($isInstanceOf(e, "Int")) | |
122 | 122 | then { | |
123 | 123 | let f = e | |
124 | 124 | f | |
125 | 125 | } | |
126 | 126 | else 0 | |
127 | 127 | } | |
128 | 128 | let C = (B + j) | |
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, t) | |
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, u) | |
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, v) | |
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 + ((n.amount * 5) / 1000)) | |
175 | 175 | let I = (n.amount + p) | |
176 | 176 | let J = if (if ((height > ((A + C) + k))) | |
177 | 177 | then (s > 0) | |
178 | 178 | else false) | |
179 | 179 | then height | |
180 | 180 | else A | |
181 | 181 | if (if ((I > 0)) | |
182 | 182 | then ((height - F) > i) | |
183 | 183 | else false) | |
184 | 184 | then if (((height - E) > h)) | |
185 | 185 | then if ((G > 0)) | |
186 | 186 | then if ((I > s)) | |
187 | 187 | then if ((y > 0)) | |
188 | 188 | then if (if (if (if (((J + C) > height)) | |
189 | 189 | then true | |
190 | 190 | else (height > ((J + C) + k))) | |
191 | 191 | then (s > 0) | |
192 | 192 | else false) | |
193 | 193 | then true | |
194 | 194 | else (s == 0)) | |
195 | 195 | then if ((r >= l)) | |
196 | 196 | then WriteSet([DataEntry(o, I), DataEntry("HighestPushAddress", toBase58String(a.caller.bytes)), DataEntry("HighestPush", I), DataEntry(t, height), DataEntry("PrizeHeight", J), DataEntry("Delay", C), DataEntry("DevBox", d)]) | |
197 | 197 | else throw("You have to have 10 referrals already staking for a minimum of 10 days, to push") | |
198 | 198 | else { | |
199 | 199 | let K = if ((s > 0)) | |
200 | 200 | then "You cannot Push after rewarding Prize and before One day has passed after award" | |
201 | 201 | else "Unexpected error" | |
202 | 202 | throw(K) | |
203 | 203 | } | |
204 | 204 | else throw("You cannot push before the reward is unlocked, no reward has been detected yet") | |
205 | 205 | else throw("Your push in troikan token, should be Higher than last Highest Push") | |
206 | 206 | else throw("To be able to participate in Pushing for the reward you need to Stake ASIMIs in the dApp") | |
207 | 207 | else throw("You have to wait 10min before you can make a new Push") | |
208 | 208 | else throw(("Your Push dot not comply one of the following conditions: " + "1. Positive Value for Push in Troikan Toke | |
209 | 209 | 2. Must Staked ASIMI Token for a minimum of week ")) | |
210 | 210 | } | |
211 | 211 | else throw((("Can deposit only positive amounts of Troikan Token, or Check your Wallet balance in Troika, you should have more than " + toString(s)) + " to push")) | |
212 | 212 | 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 !") | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | ||
217 | 217 | @Callable(a) | |
218 | 218 | func Stake () = { | |
219 | 219 | let g = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
220 | 220 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
221 | 221 | let n = extract(a.payment) | |
222 | 222 | if (if ((n.amount > 0)) | |
223 | 223 | then (n.assetId == g) | |
224 | 224 | else false) | |
225 | 225 | then { | |
226 | 226 | let L = assetBalance(this, c) | |
227 | 227 | let M = (toBase58String(a.caller.bytes) + "_APY") | |
228 | 228 | let o = (toBase58String(a.caller.bytes) + "_Push") | |
229 | 229 | let N = (toBase58String(a.caller.bytes) + "_Staking") | |
230 | 230 | let O = (toBase58String(a.caller.bytes) + "_Earnings") | |
231 | 231 | let u = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
232 | 232 | let P = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
233 | 233 | let Q = (toBase58String(a.caller.bytes) + "_PrizeHeight") | |
234 | 234 | let R = { | |
235 | 235 | let e = getInteger(this, P) | |
236 | 236 | if ($isInstanceOf(e, "Int")) | |
237 | 237 | then { | |
238 | 238 | let f = e | |
239 | 239 | f | |
240 | 240 | } | |
241 | 241 | else 0 | |
242 | 242 | } | |
243 | 243 | let S = { | |
244 | 244 | let e = getInteger(this, o) | |
245 | 245 | if ($isInstanceOf(e, "Int")) | |
246 | 246 | then { | |
247 | 247 | let f = e | |
248 | 248 | f | |
249 | 249 | } | |
250 | 250 | else 0 | |
251 | 251 | } | |
252 | 252 | let F = { | |
253 | 253 | let e = getInteger(this, u) | |
254 | 254 | if ($isInstanceOf(e, "Int")) | |
255 | 255 | then { | |
256 | 256 | let f = e | |
257 | 257 | f | |
258 | 258 | } | |
259 | 259 | else 0 | |
260 | 260 | } | |
261 | 261 | let T = if ((F == 0)) | |
262 | 262 | then height | |
263 | 263 | else F | |
264 | 264 | let U = (R + 1) | |
265 | 265 | let V = { | |
266 | 266 | let e = getInteger(this, N) | |
267 | 267 | if ($isInstanceOf(e, "Int")) | |
268 | 268 | then { | |
269 | 269 | let f = e | |
270 | 270 | f | |
271 | 271 | } | |
272 | 272 | else 0 | |
273 | 273 | } | |
274 | 274 | let W = (V + n.amount) | |
275 | 275 | let w = assetBalance(this, g) | |
276 | 276 | let x = { | |
277 | 277 | let e = getInteger(this, "StakeBalance") | |
278 | 278 | if ($isInstanceOf(e, "Int")) | |
279 | 279 | then { | |
280 | 280 | let f = e | |
281 | 281 | f | |
282 | 282 | } | |
283 | 283 | else 0 | |
284 | 284 | } | |
285 | 285 | let X = (x + n.amount) | |
286 | 286 | let y = { | |
287 | 287 | let e = getInteger(this, "FundBox") | |
288 | 288 | if ($isInstanceOf(e, "Int")) | |
289 | 289 | then { | |
290 | 290 | let f = e | |
291 | 291 | f | |
292 | 292 | } | |
293 | 293 | else 0 | |
294 | 294 | } | |
295 | 295 | let Y = { | |
296 | 296 | let e = getInteger(this, O) | |
297 | 297 | if ($isInstanceOf(e, "Int")) | |
298 | 298 | then { | |
299 | 299 | let f = e | |
300 | 300 | f | |
301 | 301 | } | |
302 | 302 | else 0 | |
303 | 303 | } | |
304 | 304 | let z = { | |
305 | 305 | let e = getInteger(this, "PrizeHeight") | |
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 A = if (if ((z == 0)) | |
314 | 314 | then (y == 0) | |
315 | 315 | else false) | |
316 | 316 | then 0 | |
317 | 317 | else if (if ((z == 0)) | |
318 | 318 | then (y != 0) | |
319 | 319 | else false) | |
320 | 320 | then height | |
321 | 321 | else if (if ((z != 0)) | |
322 | 322 | then (y != 0) | |
323 | 323 | else false) | |
324 | 324 | then z | |
325 | 325 | else 0 | |
326 | 326 | if ((100000000 > L)) | |
327 | 327 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
328 | 328 | else { | |
329 | 329 | let Z = if ((x == 0)) | |
330 | 330 | then 10000 | |
331 | 331 | else if ((U > 10)) | |
332 | 332 | then ((10000 * U) * (1 + (W / x))) | |
333 | 333 | else (10000 * (1 + (W / x))) | |
334 | 334 | let aa = if ((Y > 0)) | |
335 | 335 | then ((100 * Z) / Y) | |
336 | 336 | else 0 | |
337 | 337 | let ab = (Y + Z) | |
338 | 338 | ScriptResult(WriteSet([DataEntry(O, ab), DataEntry(N, W), DataEntry(P, U), DataEntry("StakeBalance", X), DataEntry("PrizeHeight", A), DataEntry(M, aa), DataEntry(u, T), DataEntry(o, S)]), TransferSet([ScriptTransfer(a.caller, Z, c)])) | |
339 | 339 | } | |
340 | 340 | } | |
341 | 341 | else throw("Can deposit only StakeToken") | |
342 | 342 | } | |
343 | 343 | ||
344 | 344 | ||
345 | 345 | ||
346 | 346 | @Callable(a) | |
347 | 347 | func WithdrawStakedFunds (ac) = { | |
348 | 348 | let g = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
349 | 349 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
350 | 350 | let u = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
351 | 351 | let N = (toBase58String(a.caller.bytes) + "_Staking") | |
352 | 352 | let O = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
353 | 353 | let w = assetBalance(this, g) | |
354 | 354 | let F = { | |
355 | 355 | let e = getInteger(this, u) | |
356 | 356 | if ($isInstanceOf(e, "Int")) | |
357 | 357 | then { | |
358 | 358 | let f = e | |
359 | 359 | f | |
360 | 360 | } | |
361 | 361 | else 0 | |
362 | 362 | } | |
363 | 363 | let x = { | |
364 | 364 | let e = getInteger(this, "StakeBalance") | |
365 | 365 | if ($isInstanceOf(e, "Int")) | |
366 | 366 | then { | |
367 | 367 | let f = e | |
368 | 368 | f | |
369 | 369 | } | |
370 | 370 | else 0 | |
371 | 371 | } | |
372 | 372 | let y = { | |
373 | 373 | let e = getInteger(this, "FundBox") | |
374 | 374 | if ($isInstanceOf(e, "Int")) | |
375 | 375 | then { | |
376 | 376 | let f = e | |
377 | 377 | f | |
378 | 378 | } | |
379 | 379 | else 0 | |
380 | 380 | } | |
381 | 381 | let z = { | |
382 | 382 | let e = getInteger(this, "PrizeHeight") | |
383 | 383 | if ($isInstanceOf(e, "Int")) | |
384 | 384 | then { | |
385 | 385 | let f = e | |
386 | 386 | f | |
387 | 387 | } | |
388 | 388 | else 0 | |
389 | 389 | } | |
390 | 390 | let A = if (if ((z == 0)) | |
391 | 391 | then (y == 0) | |
392 | 392 | else false) | |
393 | 393 | then 0 | |
394 | 394 | else if (if ((z == 0)) | |
395 | 395 | then (y != 0) | |
396 | 396 | else false) | |
397 | 397 | then height | |
398 | 398 | else if (if ((z != 0)) | |
399 | 399 | then (y != 0) | |
400 | 400 | else false) | |
401 | 401 | then z | |
402 | 402 | else 0 | |
403 | 403 | let b = toBase58String(a.caller.bytes) | |
404 | 404 | let ad = { | |
405 | 405 | let e = getInteger(this, N) | |
406 | 406 | if ($isInstanceOf(e, "Int")) | |
407 | 407 | then { | |
408 | 408 | let f = e | |
409 | 409 | f | |
410 | 410 | } | |
411 | 411 | else 0 | |
412 | 412 | } | |
413 | 413 | let ae = (ad - ac) | |
414 | 414 | let X = (x - ac) | |
415 | 415 | let T = if ((X == 0)) | |
416 | 416 | then 0 | |
417 | 417 | else F | |
418 | 418 | if ((0 > ac)) | |
419 | 419 | then throw("Can't withdraw negative amount") | |
420 | 420 | else if ((0 > ae)) | |
421 | 421 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((ad / 100000000)))) | |
422 | 422 | else if ((100000000 > assetBalance(this, c))) | |
423 | 423 | then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, c) / 100000000)))) | |
424 | 424 | else ScriptResult(WriteSet([DataEntry(O, 100000000), DataEntry(N, ae), DataEntry("StakeBalance", X), DataEntry("PrizeHeight", A), DataEntry(u, T)]), TransferSet([ScriptTransfer(a.caller, 100000000, c), ScriptTransfer(a.caller, ac, g)])) | |
425 | 425 | } | |
426 | 426 | ||
427 | 427 | ||
428 | 428 | ||
429 | 429 | @Callable(a) | |
430 | 430 | func HarvestGovernToiken (ac) = { | |
431 | 431 | let g = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
432 | 432 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
433 | 433 | let w = assetBalance(this, g) | |
434 | 434 | let O = (toBase58String(a.caller.bytes) + "_Earnings") | |
435 | 435 | let x = { | |
436 | 436 | let e = getInteger(this, "StakeBalance") | |
437 | 437 | if ($isInstanceOf(e, "Int")) | |
438 | 438 | then { | |
439 | 439 | let f = e | |
440 | 440 | f | |
441 | 441 | } | |
442 | 442 | else 0 | |
443 | 443 | } | |
444 | 444 | let y = { | |
445 | 445 | let e = getInteger(this, "FundBox") | |
446 | 446 | if ($isInstanceOf(e, "Int")) | |
447 | 447 | then { | |
448 | 448 | let f = e | |
449 | 449 | f | |
450 | 450 | } | |
451 | 451 | else 0 | |
452 | 452 | } | |
453 | 453 | let z = { | |
454 | 454 | let e = getInteger(this, "PrizeHeight") | |
455 | 455 | if ($isInstanceOf(e, "Int")) | |
456 | 456 | then { | |
457 | 457 | let f = e | |
458 | 458 | f | |
459 | 459 | } | |
460 | 460 | else 0 | |
461 | 461 | } | |
462 | 462 | let A = if (if ((z == 0)) | |
463 | 463 | then (y == 0) | |
464 | 464 | else false) | |
465 | 465 | then 0 | |
466 | 466 | else if (if ((z == 0)) | |
467 | 467 | then (y != 0) | |
468 | 468 | else false) | |
469 | 469 | then height | |
470 | 470 | else if (if ((z != 0)) | |
471 | 471 | then (y != 0) | |
472 | 472 | else false) | |
473 | 473 | then z | |
474 | 474 | else 0 | |
475 | 475 | let b = toBase58String(a.caller.bytes) | |
476 | 476 | let ad = { | |
477 | 477 | let e = getInteger(this, O) | |
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 ae = (ad - ac) | |
486 | 486 | if ((0 > ac)) | |
487 | 487 | then throw("Can't withdraw negative amount") | |
488 | 488 | else if ((0 > ae)) | |
489 | 489 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((ad / 100000000)))) | |
490 | 490 | else ScriptResult(WriteSet([DataEntry(O, ae), DataEntry("PrizeHeight", A)]), TransferSet([ScriptTransfer(a.caller, ac, c)])) | |
491 | 491 | } | |
492 | 492 | ||
493 | 493 | ||
494 | 494 | ||
495 | 495 | @Callable(a) | |
496 | 496 | func delayprize () = { | |
497 | 497 | let g = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
498 | 498 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
499 | 499 | let af = (1 * 1) | |
500 | 500 | let O = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
501 | 501 | let ag = assetBalance(Address(a.caller.bytes), c) | |
502 | 502 | let w = assetBalance(this, g) | |
503 | 503 | let x = { | |
504 | 504 | let e = getInteger(this, "StakeBalance") | |
505 | 505 | if ($isInstanceOf(e, "Int")) | |
506 | 506 | then { | |
507 | 507 | let f = e | |
508 | 508 | f | |
509 | 509 | } | |
510 | 510 | else 0 | |
511 | 511 | } | |
512 | 512 | let y = { | |
513 | 513 | let e = getInteger(this, "FundBox") | |
514 | 514 | if ($isInstanceOf(e, "Int")) | |
515 | 515 | then { | |
516 | 516 | let f = e | |
517 | 517 | f | |
518 | 518 | } | |
519 | 519 | else 0 | |
520 | 520 | } | |
521 | 521 | let z = { | |
522 | 522 | let e = getInteger(this, "PrizeHeight") | |
523 | 523 | if ($isInstanceOf(e, "Int")) | |
524 | 524 | then { | |
525 | 525 | let f = e | |
526 | 526 | f | |
527 | 527 | } | |
528 | 528 | else 0 | |
529 | 529 | } | |
530 | 530 | let A = if (if ((z == 0)) | |
531 | 531 | then (y == 0) | |
532 | 532 | else false) | |
533 | 533 | then 0 | |
534 | 534 | else if (if ((z == 0)) | |
535 | 535 | then (y != 0) | |
536 | 536 | else false) | |
537 | 537 | then height | |
538 | 538 | else if (if ((z != 0)) | |
539 | 539 | then (y != 0) | |
540 | 540 | else false) | |
541 | 541 | then z | |
542 | 542 | else 0 | |
543 | 543 | let B = { | |
544 | 544 | let e = getInteger(this, "Delay") | |
545 | 545 | if ($isInstanceOf(e, "Int")) | |
546 | 546 | then { | |
547 | 547 | let f = e | |
548 | 548 | f | |
549 | 549 | } | |
550 | 550 | else 0 | |
551 | 551 | } | |
552 | 552 | let ah = { | |
553 | 553 | let e = getInteger(this, "DelayCost") | |
554 | 554 | if ($isInstanceOf(e, "Int")) | |
555 | 555 | then { | |
556 | 556 | let f = e | |
557 | 557 | f | |
558 | 558 | } | |
559 | 559 | else 10 | |
560 | 560 | } | |
561 | 561 | let n = extract(a.payment) | |
562 | 562 | let H = { | |
563 | 563 | let e = getInteger(this, "DevBox") | |
564 | 564 | if ($isInstanceOf(e, "Int")) | |
565 | 565 | then { | |
566 | 566 | let f = e | |
567 | 567 | f | |
568 | 568 | } | |
569 | 569 | else 0 | |
570 | 570 | } | |
571 | 571 | if (if (isDefined(n.assetId)) | |
572 | 572 | then (extract(n.assetId) == c) | |
573 | 573 | else false) | |
574 | 574 | then if ((y > 0)) | |
575 | 575 | then { | |
576 | 576 | let ai = n.amount | |
577 | 577 | let d = (H + ((n.amount * 5) / 1000)) | |
578 | 578 | let aj = if ((ah == 0)) | |
579 | 579 | then 1000000000 | |
580 | 580 | else (2 * ah) | |
581 | 581 | if ((ai >= aj)) | |
582 | 582 | then { | |
583 | 583 | let C = (B + af) | |
584 | 584 | WriteSet([DataEntry("Delay", C), DataEntry("DelayCost", aj), DataEntry("PrizeHeight", A), DataEntry("DevBox", d)]) | |
585 | 585 | } | |
586 | 586 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(aj)) + "TROIKAs")) | |
587 | 587 | } | |
588 | 588 | else throw("You cannot delay the reward before reward is received! Please wait until a reward is available") | |
589 | 589 | else throw("Can Use only Troika Token to Delay Reward") | |
590 | 590 | } | |
591 | 591 | ||
592 | 592 | ||
593 | 593 | ||
594 | 594 | @Callable(a) | |
595 | 595 | func ClaimPrize () = { | |
596 | 596 | let g = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
597 | 597 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
598 | 598 | let N = (toBase58String(a.caller.bytes) + "_Staking") | |
599 | 599 | let o = (toBase58String(a.caller.bytes) + "_Push") | |
600 | 600 | let u = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
601 | 601 | let i = 7 | |
602 | 602 | let l = 0 | |
603 | 603 | let ak = assetBalance(this, c) | |
604 | 604 | let w = assetBalance(this, g) | |
605 | 605 | let x = { | |
606 | 606 | let e = getInteger(this, "StakeBalance") | |
607 | 607 | if ($isInstanceOf(e, "Int")) | |
608 | 608 | then { | |
609 | 609 | let f = e | |
610 | 610 | f | |
611 | 611 | } | |
612 | 612 | else 0 | |
613 | 613 | } | |
614 | 614 | let y = { | |
615 | 615 | let e = getInteger(this, "FundBox") | |
616 | 616 | if ($isInstanceOf(e, "Int")) | |
617 | 617 | then { | |
618 | 618 | let f = e | |
619 | 619 | f | |
620 | 620 | } | |
621 | 621 | else 0 | |
622 | 622 | } | |
623 | 623 | let S = { | |
624 | 624 | let e = getInteger(this, o) | |
625 | 625 | if ($isInstanceOf(e, "Int")) | |
626 | 626 | then { | |
627 | 627 | let f = e | |
628 | 628 | f | |
629 | 629 | } | |
630 | 630 | else 0 | |
631 | 631 | } | |
632 | 632 | let F = { | |
633 | 633 | let e = getInteger(this, u) | |
634 | 634 | if ($isInstanceOf(e, "Int")) | |
635 | 635 | then { | |
636 | 636 | let f = e | |
637 | 637 | f | |
638 | 638 | } | |
639 | 639 | else 0 | |
640 | 640 | } | |
641 | 641 | let al = { | |
642 | 642 | let e = getInteger(this, N) | |
643 | 643 | if ($isInstanceOf(e, "Int")) | |
644 | 644 | then { | |
645 | 645 | let f = e | |
646 | 646 | f | |
647 | 647 | } | |
648 | 648 | else 0 | |
649 | 649 | } | |
650 | 650 | let B = { | |
651 | 651 | let e = getInteger(this, "Delay") | |
652 | 652 | if ($isInstanceOf(e, "Int")) | |
653 | 653 | then { | |
654 | 654 | let f = e | |
655 | 655 | f | |
656 | 656 | } | |
657 | 657 | else 0 | |
658 | 658 | } | |
659 | 659 | let am = getStringValue(this, "HighestPushAddress") | |
660 | 660 | let an = { | |
661 | 661 | let e = getInteger(this, "PrizeHeight") | |
662 | 662 | if ($isInstanceOf(e, "Int")) | |
663 | 663 | then { | |
664 | 664 | let f = e | |
665 | 665 | f | |
666 | 666 | } | |
667 | 667 | else 0 | |
668 | 668 | } | |
669 | 669 | let s = { | |
670 | 670 | let e = getInteger(this, "HighestPush") | |
671 | 671 | if ($isInstanceOf(e, "Int")) | |
672 | 672 | then { | |
673 | 673 | let f = e | |
674 | 674 | f | |
675 | 675 | } | |
676 | 676 | else 0 | |
677 | 677 | } | |
678 | 678 | let q = (toBase58String(a.caller.bytes) + "_refs") | |
679 | 679 | let r = { | |
680 | 680 | let e = getInteger(this, q) | |
681 | 681 | if ($isInstanceOf(e, "Int")) | |
682 | 682 | then { | |
683 | 683 | let f = e | |
684 | 684 | f | |
685 | 685 | } | |
686 | 686 | else 0 | |
687 | 687 | } | |
688 | 688 | if (if ((y == 0)) | |
689 | 689 | then true | |
690 | 690 | else (10000000000 > ak)) | |
691 | 691 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
692 | 692 | else if ((toBase58String(a.caller.bytes) != am)) | |
693 | 693 | then throw("You are not the winner hence cannot claim the reward ") | |
694 | 694 | else if (if ((100000000 > al)) | |
695 | 695 | then (i > F) | |
696 | 696 | else false) | |
697 | 697 | then throw("You have to Stake ASIMI Token to claim reward ") | |
698 | 698 | else if (if ((height > (an + B))) | |
699 | 699 | then (S >= s) | |
700 | 700 | else false) | |
701 | 701 | then if ((r >= l)) | |
702 | 702 | then ScriptResult(WriteSet([DataEntry(am, y), DataEntry("FundBox", 0), DataEntry("HighestPush", 0), DataEntry(o, 0), DataEntry("HighestPushAddress", ""), DataEntry("PrizeHeight", 0), DataEntry("Delay", 0), DataEntry("DelayCost", 0), DataEntry("LastWinner", am), DataEntry("LastPrize", y)]), TransferSet([ScriptTransfer(a.caller, y, g), ScriptTransfer(a.caller, 1000000000, c)])) | |
703 | 703 | else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize") | |
704 | 704 | else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward") | |
705 | 705 | } | |
706 | 706 | ||
707 | 707 | ||
708 | 708 | ||
709 | 709 | @Callable(a) | |
710 | 710 | func Addmentor (ao) = { | |
711 | 711 | let g = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
712 | 712 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
713 | 713 | let ap = (toBase58String(a.caller.bytes) + "_Mentor") | |
714 | 714 | if ((ao != "")) | |
715 | 715 | then WriteSet([DataEntry(ap, ao)]) | |
716 | 716 | else throw("Mentor's Address cannot be empty") | |
717 | 717 | } | |
718 | 718 | ||
719 | 719 |
github/deemru/w8io/026f985 52.98 ms ◑