tx · 8W9Wbh3eNzUdAGxrCjndE24ZFYx6RMJcuR8SfugTgtMn 3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u: -0.01440000 Waves 2021.01.13 19:03 [1351892] smart account 3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u > SELF 0.00000000 Waves
{ "type": 13, "id": "8W9Wbh3eNzUdAGxrCjndE24ZFYx6RMJcuR8SfugTgtMn", "fee": 1440000, "feeAssetId": null, "timestamp": 1610553806384, "version": 2, "chainId": 84, "sender": "3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u", "senderPublicKey": "FFDorDp8bC9dyUK2w8hYPWPVEcbbk9zYkpHn3gcq9svn", "proofs": [ "4HK5wEAYfoMvZapEosCVJ59zEw7beP1NjbyrcqBdGNs2zHxUm1ZWZReKfXF4ViDudx9q6TCEKUZpqpKcUCL9iD6o" ], "script": "base64:AAIDAAAAAAAAABgIARIAEgASABIAEgMKAQESAwoBARIAEgAAAAAAAAAACAAAAAFpAQAAAAxSZWFkUG9vbERhdGEAAAAABAAAAA5Hb3Zlcm5Ub2tlbktleQIAAAAVR292ZXJuVG9rZW5NYXhEZXBvc2l0BAAAABpNYXhHb3Zlcm5Ub2tlbkRlcG9zaXRlcktleQIAAAAaTWF4R292ZXJuVG9rZW5EZXBvc2l0ZXJLZXkEAAAAC1N0YWtlZFRva2VuAQAAACC10ShhvOYEpzzeNL8op3J7Xvf8OAiWZygYbjjsBCwhsgQAAAALR292ZXJuVG9rZW4BAAAAIBCA+Di6G71u5eBGn7OO/XvXyTq77GEaAEk/DSjFvl25BAAAABJVc2VyU3Rha2VkVG9rZW5LZXkJAAEsAAAAAgkAASwAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAAV8JAAJYAAAAAQUAAAALU3Rha2VkVG9rZW4EAAAAElVzZXJHb3Zlcm5Ub2tlbktleQkAASwAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAA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ZSBpczogCQABpAAAAAEFAAAAFVVzZXJHb3Zlcm5Ub2tlbkFtb3VudAIAAAATCiBEZXBvc2l0IGRvbmUgYXQ6IAkAAaQAAAABBQAAAAtQcml6ZUhlaWdodAIAAAALICBBbmQgd2FpdDoJAAGkAAAAAQkAAGQAAAACBQAAAAtQcml6ZUhlaWdodAUAAAALQWN0dWFsRGVsYXkCAAAADkFuZCBIZWlnaHQgaXM6CQABpAAAAAEFAAAABmhlaWdodAAAAABTRfox", "height": 1351892, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: UdMTNnrR4HcBAovjNqB3EbKC8MnwbEFgD2gEfofgTkL Next: 73tsSUXrnRYEhNp1AykWPefakJWRgkMAWNfTJER5npw3 Diff:
Old | New | Differences | |
---|---|---|---|
138 | 138 | then WriteSet([DataEntry(r, z), DataEntry(b, z), DataEntry(c, r), DataEntry("FundBox", u), DataEntry("PrizeHeight", height), DataEntry("Delay", 5)]) | |
139 | 139 | else throw((("You have to deposit more than " + toString((i / 100000000))) + " Troika")) | |
140 | 140 | else if ((((v + y) + 10) > height)) | |
141 | - | then throw(((("HeightTransactFundBox: " + toString(v)) + " ActualDelay+10: ") + toString((y + 10)))) | |
142 | - | else throw(((("HeightTransactFundBox !!!: " + toString(v)) + " ActualDelay+10: ") + toString((y + 10)))) | |
141 | + | then throw(((("HeightTransactFundBox: " + toString(v)) + " ActualDelay+10: ") + toString(((v + y) + 10)))) | |
142 | + | else throw(((("HeightTransactFundBox !!!: " + toString(v)) + " ActualDelay+10: ") + toString(((v + y) + 10)))) | |
143 | 143 | } | |
144 | 144 | else throw("Can deposit only StakeToken") | |
145 | 145 | } |
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 ReadPoolData () = { | |
8 | 8 | let b = "GovernTokenMaxDeposit" | |
9 | 9 | let c = "MaxGovernTokenDepositerKey" | |
10 | 10 | let d = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
11 | 11 | let e = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
12 | 12 | let f = ((toBase58String(a.caller.bytes) + "_") + toBase58String(d)) | |
13 | 13 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
14 | 14 | let h = getStringValue(this, c) | |
15 | 15 | let i = { | |
16 | 16 | let j = getInteger(this, b) | |
17 | 17 | if ($isInstanceOf(j, "Int")) | |
18 | 18 | then { | |
19 | 19 | let k = j | |
20 | 20 | k | |
21 | 21 | } | |
22 | 22 | else 0 | |
23 | 23 | } | |
24 | 24 | let l = getStringValue(this, g) | |
25 | 25 | let m = { | |
26 | 26 | let j = getInteger(this, g) | |
27 | 27 | if ($isInstanceOf(j, "Int")) | |
28 | 28 | then { | |
29 | 29 | let k = j | |
30 | 30 | k | |
31 | 31 | } | |
32 | 32 | else 0 | |
33 | 33 | } | |
34 | 34 | let n = getStringValue(this, f) | |
35 | 35 | let o = { | |
36 | 36 | let j = getInteger(this, f) | |
37 | 37 | if ($isInstanceOf(j, "Int")) | |
38 | 38 | then { | |
39 | 39 | let k = j | |
40 | 40 | k | |
41 | 41 | } | |
42 | 42 | else 0 | |
43 | 43 | } | |
44 | 44 | throw(((((((("Winner is.....: " + h) + " Balance is: ") + toString(i)) + " | |
45 | 45 | Staked Token in your Balance is.....: ") + toString(o)) + " | |
46 | 46 | Govern Token in your Balance is.....: ") + toString(m))) | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | ||
51 | 51 | @Callable(a) | |
52 | 52 | func ResetAccount () = { | |
53 | 53 | let d = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
54 | 54 | let e = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
55 | 55 | let f = (toBase58String(a.caller.bytes) + "_Staking") | |
56 | 56 | let g = (toBase58String(a.caller.bytes) + "_Earnings") | |
57 | 57 | let p = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
58 | 58 | WriteSet([DataEntry(g, 0), DataEntry(f, 0), DataEntry(p, 0), DataEntry("DelayCost", 0), DataEntry("Delay", 0), DataEntry("StakeBalance", 0), DataEntry("PrizeHeight", 0), DataEntry("FundBox", 0)]) | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | ||
63 | 63 | @Callable(a) | |
64 | 64 | func PushReward () = { | |
65 | 65 | let d = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
66 | 66 | let e = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
67 | 67 | let q = extract(a.payment) | |
68 | 68 | let r = (toBase58String(a.caller.bytes) + "_Push") | |
69 | 69 | let s = assetBalance(this, d) | |
70 | 70 | let t = { | |
71 | 71 | let j = getInteger(this, "StakeBalance") | |
72 | 72 | if ($isInstanceOf(j, "Int")) | |
73 | 73 | then { | |
74 | 74 | let k = j | |
75 | 75 | k | |
76 | 76 | } | |
77 | 77 | else 0 | |
78 | 78 | } | |
79 | 79 | let u = (s - t) | |
80 | 80 | let v = { | |
81 | 81 | let j = getInteger(this, "PrizeHeight") | |
82 | 82 | if ($isInstanceOf(j, "Int")) | |
83 | 83 | then { | |
84 | 84 | let k = j | |
85 | 85 | k | |
86 | 86 | } | |
87 | 87 | else 0 | |
88 | 88 | } | |
89 | 89 | let w = if (if ((v == 0)) | |
90 | 90 | then (u != 0) | |
91 | 91 | else false) | |
92 | 92 | then height | |
93 | 93 | else if (if ((v != 0)) | |
94 | 94 | then (u == 0) | |
95 | 95 | else false) | |
96 | 96 | then 0 | |
97 | 97 | else v | |
98 | 98 | if (if ((q.amount > 0)) | |
99 | 99 | then (q.assetId == e) | |
100 | 100 | else false) | |
101 | 101 | then { | |
102 | 102 | let b = "GovernTokenMaxDeposit" | |
103 | 103 | let c = "MaxGovernTokenDepositerKey" | |
104 | 104 | let i = { | |
105 | 105 | let j = getInteger(this, b) | |
106 | 106 | if ($isInstanceOf(j, "Int")) | |
107 | 107 | then { | |
108 | 108 | let k = j | |
109 | 109 | k | |
110 | 110 | } | |
111 | 111 | else 0 | |
112 | 112 | } | |
113 | 113 | let x = { | |
114 | 114 | let j = getInteger(this, r) | |
115 | 115 | if ($isInstanceOf(j, "Int")) | |
116 | 116 | then { | |
117 | 117 | let k = j | |
118 | 118 | k | |
119 | 119 | } | |
120 | 120 | else 0 | |
121 | 121 | } | |
122 | 122 | let y = { | |
123 | 123 | let j = getInteger(this, "Delay") | |
124 | 124 | if ($isInstanceOf(j, "Int")) | |
125 | 125 | then { | |
126 | 126 | let k = j | |
127 | 127 | k | |
128 | 128 | } | |
129 | 129 | else 0 | |
130 | 130 | } | |
131 | 131 | let z = q.amount | |
132 | 132 | if (if (if ((c != "")) | |
133 | 133 | then ((v + y) > height) | |
134 | 134 | else false) | |
135 | 135 | then (height > 0) | |
136 | 136 | else false) | |
137 | 137 | then if ((z > i)) | |
138 | 138 | then WriteSet([DataEntry(r, z), DataEntry(b, z), DataEntry(c, r), DataEntry("FundBox", u), DataEntry("PrizeHeight", height), DataEntry("Delay", 5)]) | |
139 | 139 | else throw((("You have to deposit more than " + toString((i / 100000000))) + " Troika")) | |
140 | 140 | else if ((((v + y) + 10) > height)) | |
141 | - | then throw(((("HeightTransactFundBox: " + toString(v)) + " ActualDelay+10: ") + toString((y + 10)))) | |
142 | - | else throw(((("HeightTransactFundBox !!!: " + toString(v)) + " ActualDelay+10: ") + toString((y + 10)))) | |
141 | + | then throw(((("HeightTransactFundBox: " + toString(v)) + " ActualDelay+10: ") + toString(((v + y) + 10)))) | |
142 | + | else throw(((("HeightTransactFundBox !!!: " + toString(v)) + " ActualDelay+10: ") + toString(((v + y) + 10)))) | |
143 | 143 | } | |
144 | 144 | else throw("Can deposit only StakeToken") | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | ||
149 | 149 | @Callable(a) | |
150 | 150 | func Stake () = { | |
151 | 151 | let d = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
152 | 152 | let e = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
153 | 153 | let A = assetBalance(this, e) | |
154 | 154 | let B = (toBase58String(a.caller.bytes) + "_APY") | |
155 | 155 | let q = extract(a.payment) | |
156 | 156 | if (if ((q.amount > 0)) | |
157 | 157 | then (q.assetId == d) | |
158 | 158 | else false) | |
159 | 159 | then { | |
160 | 160 | let f = (toBase58String(a.caller.bytes) + "_Staking") | |
161 | 161 | let g = (toBase58String(a.caller.bytes) + "_Earnings") | |
162 | 162 | let p = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
163 | 163 | let C = (toBase58String(a.caller.bytes) + "_PrizeHeight") | |
164 | 164 | let D = { | |
165 | 165 | let j = getInteger(this, p) | |
166 | 166 | if ($isInstanceOf(j, "Int")) | |
167 | 167 | then { | |
168 | 168 | let k = j | |
169 | 169 | k | |
170 | 170 | } | |
171 | 171 | else 0 | |
172 | 172 | } | |
173 | 173 | let E = (D + 1) | |
174 | 174 | let F = { | |
175 | 175 | let j = getInteger(this, f) | |
176 | 176 | if ($isInstanceOf(j, "Int")) | |
177 | 177 | then { | |
178 | 178 | let k = j | |
179 | 179 | k | |
180 | 180 | } | |
181 | 181 | else 0 | |
182 | 182 | } | |
183 | 183 | let G = (F + q.amount) | |
184 | 184 | let s = assetBalance(this, d) | |
185 | 185 | let t = { | |
186 | 186 | let j = getInteger(this, "StakeBalance") | |
187 | 187 | if ($isInstanceOf(j, "Int")) | |
188 | 188 | then { | |
189 | 189 | let k = j | |
190 | 190 | k | |
191 | 191 | } | |
192 | 192 | else 0 | |
193 | 193 | } | |
194 | 194 | let H = (t + q.amount) | |
195 | 195 | let u = (s - t) | |
196 | 196 | let I = { | |
197 | 197 | let j = getInteger(this, g) | |
198 | 198 | if ($isInstanceOf(j, "Int")) | |
199 | 199 | then { | |
200 | 200 | let k = j | |
201 | 201 | k | |
202 | 202 | } | |
203 | 203 | else 0 | |
204 | 204 | } | |
205 | 205 | let v = { | |
206 | 206 | let j = getInteger(this, "PrizeHeight") | |
207 | 207 | if ($isInstanceOf(j, "Int")) | |
208 | 208 | then { | |
209 | 209 | let k = j | |
210 | 210 | k | |
211 | 211 | } | |
212 | 212 | else 0 | |
213 | 213 | } | |
214 | 214 | let w = if (if ((v == 0)) | |
215 | 215 | then (u != 0) | |
216 | 216 | else false) | |
217 | 217 | then height | |
218 | 218 | else if (if ((v != 0)) | |
219 | 219 | then (u == 0) | |
220 | 220 | else false) | |
221 | 221 | then 0 | |
222 | 222 | else v | |
223 | 223 | if ((100000000 > A)) | |
224 | 224 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
225 | 225 | else { | |
226 | 226 | let J = if ((t == 0)) | |
227 | 227 | then 10000 | |
228 | 228 | else if ((E > 10)) | |
229 | 229 | then ((10000 * E) * (1 + (G / t))) | |
230 | 230 | else (10000 * (1 + (G / t))) | |
231 | 231 | let K = if ((I > 0)) | |
232 | 232 | then ((100 * J) / I) | |
233 | 233 | else 0 | |
234 | 234 | let L = (I + J) | |
235 | 235 | ScriptResult(WriteSet([DataEntry(g, L), DataEntry(f, G), DataEntry(p, E), DataEntry("StakeBalance", H), DataEntry("FundBox", u), DataEntry("PrizeHeight", w), DataEntry(B, K)]), TransferSet([ScriptTransfer(a.caller, J, e)])) | |
236 | 236 | } | |
237 | 237 | } | |
238 | 238 | else throw("Can deposit only StakeToken") | |
239 | 239 | } | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | ||
243 | 243 | @Callable(a) | |
244 | 244 | func WithdrawStakedFunds (M) = { | |
245 | 245 | let d = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
246 | 246 | let e = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
247 | 247 | let f = (toBase58String(a.caller.bytes) + "_Staking") | |
248 | 248 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
249 | 249 | let s = assetBalance(this, d) | |
250 | 250 | let t = { | |
251 | 251 | let j = getInteger(this, "StakeBalance") | |
252 | 252 | if ($isInstanceOf(j, "Int")) | |
253 | 253 | then { | |
254 | 254 | let k = j | |
255 | 255 | k | |
256 | 256 | } | |
257 | 257 | else 0 | |
258 | 258 | } | |
259 | 259 | let u = (s - t) | |
260 | 260 | let v = { | |
261 | 261 | let j = getInteger(this, "PrizeHeight") | |
262 | 262 | if ($isInstanceOf(j, "Int")) | |
263 | 263 | then { | |
264 | 264 | let k = j | |
265 | 265 | k | |
266 | 266 | } | |
267 | 267 | else 0 | |
268 | 268 | } | |
269 | 269 | let w = if (if ((v == 0)) | |
270 | 270 | then (u != 0) | |
271 | 271 | else false) | |
272 | 272 | then height | |
273 | 273 | else if (if ((v != 0)) | |
274 | 274 | then (u == 0) | |
275 | 275 | else false) | |
276 | 276 | then 0 | |
277 | 277 | else v | |
278 | 278 | let r = toBase58String(a.caller.bytes) | |
279 | 279 | let x = { | |
280 | 280 | let j = getInteger(this, f) | |
281 | 281 | if ($isInstanceOf(j, "Int")) | |
282 | 282 | then { | |
283 | 283 | let k = j | |
284 | 284 | k | |
285 | 285 | } | |
286 | 286 | else 0 | |
287 | 287 | } | |
288 | 288 | let N = (x - M) | |
289 | 289 | let H = (t - M) | |
290 | 290 | if ((0 > M)) | |
291 | 291 | then throw("Can't withdraw negative amount") | |
292 | 292 | else if ((0 > N)) | |
293 | 293 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((x / 100000000)))) | |
294 | 294 | else { | |
295 | 295 | let O = assetBalance(this, e) | |
296 | 296 | if ((1 > O)) | |
297 | 297 | then throw("No enough GovernToken In Contract") | |
298 | 298 | else ScriptResult(WriteSet([DataEntry(g, 100000000), DataEntry(f, N), DataEntry("StakeBalance", H), DataEntry("FundBox", u), DataEntry("PrizeHeight", w)]), TransferSet([ScriptTransfer(a.caller, 100000000, e), ScriptTransfer(a.caller, M, d)])) | |
299 | 299 | } | |
300 | 300 | } | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | ||
304 | 304 | @Callable(a) | |
305 | 305 | func HarvestGovernToiken (M) = { | |
306 | 306 | let d = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
307 | 307 | let e = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
308 | 308 | let g = (toBase58String(a.caller.bytes) + "_Earnings") | |
309 | 309 | let s = assetBalance(this, d) | |
310 | 310 | let t = { | |
311 | 311 | let j = getInteger(this, "StakeBalance") | |
312 | 312 | if ($isInstanceOf(j, "Int")) | |
313 | 313 | then { | |
314 | 314 | let k = j | |
315 | 315 | k | |
316 | 316 | } | |
317 | 317 | else 0 | |
318 | 318 | } | |
319 | 319 | let u = (s - t) | |
320 | 320 | let v = { | |
321 | 321 | let j = getInteger(this, "PrizeHeight") | |
322 | 322 | if ($isInstanceOf(j, "Int")) | |
323 | 323 | then { | |
324 | 324 | let k = j | |
325 | 325 | k | |
326 | 326 | } | |
327 | 327 | else 0 | |
328 | 328 | } | |
329 | 329 | let w = if (if ((v == 0)) | |
330 | 330 | then (u != 0) | |
331 | 331 | else false) | |
332 | 332 | then height | |
333 | 333 | else if (if ((v != 0)) | |
334 | 334 | then (u == 0) | |
335 | 335 | else false) | |
336 | 336 | then 0 | |
337 | 337 | else v | |
338 | 338 | let r = toBase58String(a.caller.bytes) | |
339 | 339 | let x = { | |
340 | 340 | let j = getInteger(this, g) | |
341 | 341 | if ($isInstanceOf(j, "Int")) | |
342 | 342 | then { | |
343 | 343 | let k = j | |
344 | 344 | k | |
345 | 345 | } | |
346 | 346 | else 0 | |
347 | 347 | } | |
348 | 348 | let N = (x - M) | |
349 | 349 | if ((0 > M)) | |
350 | 350 | then throw("Can't withdraw negative amount") | |
351 | 351 | else if ((0 > N)) | |
352 | 352 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((x / 100000000)))) | |
353 | 353 | else { | |
354 | 354 | let O = assetBalance(this, e) | |
355 | 355 | ScriptResult(WriteSet([DataEntry(g, N), DataEntry("FundBox", u), DataEntry("PrizeHeight", w)]), TransferSet([ScriptTransfer(a.caller, M, e)])) | |
356 | 356 | } | |
357 | 357 | } | |
358 | 358 | ||
359 | 359 | ||
360 | 360 | ||
361 | 361 | @Callable(a) | |
362 | 362 | func delayprize () = { | |
363 | 363 | let d = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
364 | 364 | let e = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
365 | 365 | let g = ((toBase58String(a.caller.bytes) + "_") + toBase58String(e)) | |
366 | 366 | let P = assetBalance(Address(a.caller.bytes), e) | |
367 | 367 | let s = assetBalance(this, d) | |
368 | 368 | let t = { | |
369 | 369 | let j = getInteger(this, "StakeBalance") | |
370 | 370 | if ($isInstanceOf(j, "Int")) | |
371 | 371 | then { | |
372 | 372 | let k = j | |
373 | 373 | k | |
374 | 374 | } | |
375 | 375 | else 0 | |
376 | 376 | } | |
377 | 377 | let u = (s - t) | |
378 | 378 | let v = { | |
379 | 379 | let j = getInteger(this, "PrizeHeight") | |
380 | 380 | if ($isInstanceOf(j, "Int")) | |
381 | 381 | then { | |
382 | 382 | let k = j | |
383 | 383 | k | |
384 | 384 | } | |
385 | 385 | else 0 | |
386 | 386 | } | |
387 | 387 | let w = if (if ((v == 0)) | |
388 | 388 | then (u != 0) | |
389 | 389 | else false) | |
390 | 390 | then height | |
391 | 391 | else if (if ((v != 0)) | |
392 | 392 | then (u == 0) | |
393 | 393 | else false) | |
394 | 394 | then 0 | |
395 | 395 | else v | |
396 | 396 | let y = { | |
397 | 397 | let j = getInteger(this, "Delay") | |
398 | 398 | if ($isInstanceOf(j, "Int")) | |
399 | 399 | then { | |
400 | 400 | let k = j | |
401 | 401 | k | |
402 | 402 | } | |
403 | 403 | else 0 | |
404 | 404 | } | |
405 | 405 | let Q = { | |
406 | 406 | let j = getInteger(this, "DelayCost") | |
407 | 407 | if ($isInstanceOf(j, "Int")) | |
408 | 408 | then { | |
409 | 409 | let k = j | |
410 | 410 | k | |
411 | 411 | } | |
412 | 412 | else 10 | |
413 | 413 | } | |
414 | 414 | let q = extract(a.payment) | |
415 | 415 | if (if (isDefined(q.assetId)) | |
416 | 416 | then (extract(q.assetId) == e) | |
417 | 417 | else false) | |
418 | 418 | then { | |
419 | 419 | let R = q.amount | |
420 | 420 | let S = if ((Q == 0)) | |
421 | 421 | then 1000000000 | |
422 | 422 | else (2 * Q) | |
423 | 423 | if ((R >= S)) | |
424 | 424 | then { | |
425 | 425 | let T = (y + 10) | |
426 | 426 | WriteSet([DataEntry("Delay", T), DataEntry("DelayCost", S), DataEntry("FundBox", u), DataEntry("PrizeHeight", height)]) | |
427 | 427 | } | |
428 | 428 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(S)) + "TROIKAs")) | |
429 | 429 | } | |
430 | 430 | else throw("Can Use only Govern Token to Delay Reward") | |
431 | 431 | } | |
432 | 432 | ||
433 | 433 | ||
434 | 434 | ||
435 | 435 | @Callable(a) | |
436 | 436 | func ClaimPrize () = { | |
437 | 437 | let d = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
438 | 438 | let e = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
439 | 439 | let f = (toBase58String(a.caller.bytes) + "_Staking") | |
440 | 440 | let g = (toBase58String(a.caller.bytes) + "_Push") | |
441 | 441 | let O = assetBalance(this, e) | |
442 | 442 | let s = assetBalance(this, d) | |
443 | 443 | let t = { | |
444 | 444 | let j = getInteger(this, "StakeBalance") | |
445 | 445 | if ($isInstanceOf(j, "Int")) | |
446 | 446 | then { | |
447 | 447 | let k = j | |
448 | 448 | k | |
449 | 449 | } | |
450 | 450 | else 0 | |
451 | 451 | } | |
452 | 452 | let u = (s - t) | |
453 | 453 | let R = { | |
454 | 454 | let j = getInteger(this, g) | |
455 | 455 | if ($isInstanceOf(j, "Int")) | |
456 | 456 | then { | |
457 | 457 | let k = j | |
458 | 458 | k | |
459 | 459 | } | |
460 | 460 | else 0 | |
461 | 461 | } | |
462 | 462 | let U = { | |
463 | 463 | let j = getInteger(this, f) | |
464 | 464 | if ($isInstanceOf(j, "Int")) | |
465 | 465 | then { | |
466 | 466 | let k = j | |
467 | 467 | k | |
468 | 468 | } | |
469 | 469 | else 0 | |
470 | 470 | } | |
471 | 471 | let y = { | |
472 | 472 | let j = getInteger(this, "Delay") | |
473 | 473 | if ($isInstanceOf(j, "Int")) | |
474 | 474 | then { | |
475 | 475 | let k = j | |
476 | 476 | k | |
477 | 477 | } | |
478 | 478 | else 0 | |
479 | 479 | } | |
480 | 480 | let b = "GovernTokenMaxDeposit" | |
481 | 481 | let c = "MaxGovernTokenDepositerKey" | |
482 | 482 | let V = getStringValue(this, c) | |
483 | 483 | let W = { | |
484 | 484 | let j = getInteger(this, "PrizeHeight") | |
485 | 485 | if ($isInstanceOf(j, "Int")) | |
486 | 486 | then { | |
487 | 487 | let k = j | |
488 | 488 | k | |
489 | 489 | } | |
490 | 490 | else 0 | |
491 | 491 | } | |
492 | 492 | let i = { | |
493 | 493 | let j = getInteger(this, b) | |
494 | 494 | if ($isInstanceOf(j, "Int")) | |
495 | 495 | then { | |
496 | 496 | let k = j | |
497 | 497 | k | |
498 | 498 | } | |
499 | 499 | else 0 | |
500 | 500 | } | |
501 | 501 | if (if ((u == 0)) | |
502 | 502 | then true | |
503 | 503 | else (10000000000 > O)) | |
504 | 504 | then throw("No prize to Claim or No enough Govern Token en Contract (Min 100 Troika)") | |
505 | 505 | else if ((g != V)) | |
506 | 506 | then throw("You are not the winner hence cannot claim the reward ") | |
507 | 507 | else if ((1 > U)) | |
508 | 508 | then throw(("You have to Stake StakedToken to claim reward | |
509 | 509 | Your Balance of Staked Tokens is: " + toString(U))) | |
510 | 510 | else if (if (if ((R >= 10000000000)) | |
511 | 511 | then (height >= (W + y)) | |
512 | 512 | else false) | |
513 | 513 | then (height > 0) | |
514 | 514 | else false) | |
515 | 515 | then if ((R >= i)) | |
516 | 516 | then ScriptResult(WriteSet([DataEntry(V, u), DataEntry("FundBox", 0), DataEntry(b, 0), DataEntry(g, 0), DataEntry(c, ""), DataEntry("PrizeHeight", 0), DataEntry("Delay", 0), DataEntry("DelayCost", 0), DataEntry("LastWinner", V), DataEntry("LastPrize", u)]), TransferSet([ScriptTransfer(a.caller, u, d), ScriptTransfer(a.caller, 1000000000, e)])) | |
517 | 517 | else throw((("You should deposit at least " + toString(i)) + " to be able to claim reward")) | |
518 | 518 | else throw(((((((("You have to deposit 100 GovernToken to claim Reward | |
519 | 519 | Your Balance is: " + toString(R)) + " | |
520 | 520 | Deposit done at: ") + toString(W)) + " And wait:") + toString((W + y))) + "And Height is:") + toString(height))) | |
521 | 521 | } | |
522 | 522 | ||
523 | 523 |
github/deemru/w8io/169f3d6 68.43 ms ◑