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/DSjFvl25AwkAAAAAAAACBQAAAApjdXJyZW50S2V5AgAAACMzUDc0YnVIdDk4Qm5vakZjYVJFSlp0Yjk4S0R5VW1aR2VtSgQAAAAMRGV2Qm94QW1vdW50BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMCAAAABkRldkJveAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAwkAAGYAAAACAAAAAAAAAAAABQAAAAxEZXZCb3hBbW91bnQJAAACAAAAAQIAAAASTm90IGVub3VnaCBiYWxhbmNlCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdy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3UgaGF2ZSB0byBiZSB0aGUgdXNlciB3aXRoIHRoZSBoaWdoZXN0IFB1c2ggYW5kIHdhaXQgdGlsbCBjb3VudG93biBpcyBmaW5pc2hlZCwgdG8gY2xhaW0gUmV3YXJkAAAAAWkBAAAACUFkZG1lbnRvcgAAAAEAAAAGTWVudG9yBAAAAAtTdGFrZWRUb2tlbgEAAAAgtdEoYbzmBKc83jS/KKdye173/DgIlmcoGG447AQsIbIEAAAAC0dvdmVyblRva2VuAQAAACAQgPg4uhu9buXgRp+zjv1718k6u+xhGgBJPw0oxb5duQQAAAARVXNlck1lbnRvckFkZHJlc3MJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAdfTWVudG9yAwkBAAAAAiE9AAAAAgUAAAAGTWVudG9yAgAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEVVzZXJNZW50b3JBZGRyZXNzBQAAAAZNZW50b3IFAAAAA25pbAkAAAIAAAABAgAAACBNZW50b3IncyBBZGRyZXNzIGNhbm5vdCBiZSBlbXB0eQAAAADrOzKc", "height": 1547390, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3TmG2oXgyFTp3ZuKhRzpsSzZV7B4byWfhXtfN52x6pAw Next: GuYBQUPbZj6R3iedPC4v1hQcGY4vnKmBjqvazWgzfdog Diff:
OldNewDifferences
3131 let minPushBlock = 0
3232 let minStakeBlock = (1 * 1)
3333 let DelayAfterPush = 5
34- let WaitTime = 2
34+ let WaitTime = 5
3535 let minref = 0
3636 let userWalletGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken)
3737 let pmt = extract(i.payment)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func DevWithdraw () = {
88 let currentKey = toBase58String(i.caller.bytes)
99 let GovernToken = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA'
1010 if ((currentKey == "3P74buHt98BnojFcaREJZtb98KDyUmZGemJ"))
1111 then {
1212 let DevBoxAmount = match getInteger(this, "DevBox") {
1313 case a: Int =>
1414 a
1515 case _ =>
1616 0
1717 }
1818 if ((0 > DevBoxAmount))
1919 then throw("Not enough balance")
2020 else ScriptResult(WriteSet([DataEntry("DevBox", 0)]), TransferSet([ScriptTransfer(i.caller, DevBoxAmount, GovernToken)]))
2121 }
2222 else throw("You cannot withdraw as your are not the Dev.")
2323 }
2424
2525
2626
2727 @Callable(i)
2828 func PushReward () = {
2929 let StakedToken = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21'
3030 let GovernToken = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA'
3131 let minPushBlock = 0
3232 let minStakeBlock = (1 * 1)
3333 let DelayAfterPush = 5
34- let WaitTime = 2
34+ let WaitTime = 5
3535 let minref = 0
3636 let userWalletGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken)
3737 let pmt = extract(i.payment)
3838 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
3939 let UserLastPushOldValue = match getInteger(this, UserPush) {
4040 case a: Int =>
4141 a
4242 case _ =>
4343 0
4444 }
4545 let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs")
4646 let UserRefsNumValue = match getInteger(this, UserRefsNum) {
4747 case a: Int =>
4848 a
4949 case _ =>
5050 0
5151 }
5252 let HighestPushValue = match getInteger(this, "HighestPush") {
5353 case a: Int =>
5454 a
5555 case _ =>
5656 0
5757 }
5858 if ((userWalletGovernBalance > pmt.amount))
5959 then if (if (((pmt.amount + UserLastPushOldValue) > HighestPushValue))
6060 then (pmt.assetId == GovernToken)
6161 else false)
6262 then {
6363 let UserLastPushBlock = (toBase58String(i.caller.bytes) + "_UserLastPushBlock")
6464 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
6565 let UserStake = (toBase58String(i.caller.bytes) + "_Staking")
6666 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
6767 let StakeBalance = match getInteger(this, "StakeBalance") {
6868 case a: Int =>
6969 a
7070 case _ =>
7171 0
7272 }
7373 let PrizeAmount = match getInteger(this, "FundBox") {
7474 case a: Int =>
7575 a
7676 case _ =>
7777 0
7878 }
7979 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
8080 case a: Int =>
8181 a
8282 case _ =>
8383 0
8484 }
8585 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
8686 then (PrizeAmount == 0)
8787 else false)
8888 then 0
8989 else if (if ((HeightTransactFundBox == 0))
9090 then (PrizeAmount != 0)
9191 else false)
9292 then height
9393 else if (if ((HeightTransactFundBox != 0))
9494 then (PrizeAmount != 0)
9595 else false)
9696 then HeightTransactFundBox
9797 else 0
9898 let ActualDelay = match getInteger(this, "Delay") {
9999 case a: Int =>
100100 a
101101 case _ =>
102102 0
103103 }
104104 let NewDelay = (ActualDelay + DelayAfterPush)
105105 let HighestPushAddress = match getInteger(this, "HighestPushAddress") {
106106 case a: Int =>
107107 a
108108 case _ =>
109109 0
110110 }
111111 let UserLastPushBlockValue = match getInteger(this, UserLastPushBlock) {
112112 case a: Int =>
113113 a
114114 case _ =>
115115 0
116116 }
117117 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
118118 case a: Int =>
119119 a
120120 case _ =>
121121 0
122122 }
123123 let UserStakeValue = match getInteger(this, UserStake) {
124124 case a: Int =>
125125 a
126126 case _ =>
127127 0
128128 }
129129 let DevBoxBalance = match getInteger(this, "DevBox") {
130130 case a: Int =>
131131 a
132132 case _ =>
133133 0
134134 }
135135 let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000))
136136 let UserPushvalue = (pmt.amount + UserLastPushOldValue)
137137 let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + NewDelay) + WaitTime)))
138138 then (HighestPushValue > 0)
139139 else false)
140140 then height
141141 else PrizeHeightValue
142142 if (if ((UserPushvalue > 0))
143143 then ((height - UserLastStakeBlockValue) > minStakeBlock)
144144 else false)
145145 then if (((height - UserLastPushBlockValue) > minPushBlock))
146146 then if ((UserStakeValue > 0))
147147 then if ((UserPushvalue > HighestPushValue))
148148 then if ((PrizeAmount > 0))
149149 then if (if (if (if (((PrizeHeightValueNew + NewDelay) > height))
150150 then true
151151 else (height > ((PrizeHeightValueNew + NewDelay) + WaitTime)))
152152 then (HighestPushValue > 0)
153153 else false)
154154 then true
155155 else (HighestPushValue == 0))
156156 then if ((UserRefsNumValue >= minref))
157157 then WriteSet([DataEntry(UserPush, UserPushvalue), DataEntry("HighestPushAddress", toBase58String(i.caller.bytes)), DataEntry("HighestPush", UserPushvalue), DataEntry(UserLastPushBlock, height), DataEntry("PrizeHeight", PrizeHeightValueNew), DataEntry("Delay", NewDelay), DataEntry("DevBox", DevBoxAmount)])
158158 else throw("You have to have 10 referrals already staking for a minimum of 10 days, to push")
159159 else {
160160 let txt = if ((HighestPushValue > 0))
161161 then "You cannot Push after rewarding Prize and before One day has passed after award"
162162 else "Unexpected error"
163163 throw(txt)
164164 }
165165 else throw("You cannot push before the reward is unlocked, no reward has been detected yet")
166166 else throw("Your push in troikan token, should be Higher than last Highest Push")
167167 else throw("To be able to participate in Pushing for the reward you need to Stake ASIMIs in the dApp")
168168 else throw("You have to wait 10min before you can make a new Push")
169169 else throw(("Your Push dot not comply one of the following conditions: " + "1. Positive Value for Push in Troikan Toke
170170 2. Must Staked ASIMI Token for a minimum of week "))
171171 }
172172 else throw((("Can deposit only positive amounts of Troikan Token, or Check your Wallet balance in Troika, you should have more than " + toString(HighestPushValue)) + " to push"))
173173 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 !")
174174 }
175175
176176
177177
178178 @Callable(i)
179179 func Stake () = {
180180 let StakedToken = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21'
181181 let GovernToken = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA'
182182 let pmt = extract(i.payment)
183183 if (if ((pmt.amount > 0))
184184 then (pmt.assetId == StakedToken)
185185 else false)
186186 then {
187187 let GovernTokenSmartContractBalance = assetBalance(this, GovernToken)
188188 let UserAPY = (toBase58String(i.caller.bytes) + "_APY")
189189 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
190190 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
191191 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
192192 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
193193 let UserStakeTransactionsKey = (toBase58String(i.caller.bytes) + "_StakedTransactions")
194194 let AddressHeight = (toBase58String(i.caller.bytes) + "_PrizeHeight")
195195 let UserStakeTransactions = match getInteger(this, UserStakeTransactionsKey) {
196196 case a: Int =>
197197 a
198198 case _ =>
199199 0
200200 }
201201 let UserPushValue = match getInteger(this, UserPush) {
202202 case a: Int =>
203203 a
204204 case _ =>
205205 0
206206 }
207207 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
208208 case a: Int =>
209209 a
210210 case _ =>
211211 0
212212 }
213213 let UserLastStakeBlockNewValue = if ((UserLastStakeBlockValue == 0))
214214 then height
215215 else UserLastStakeBlockValue
216216 let NewUserStakeTransactions = (UserStakeTransactions + 1)
217217 let currentAmountStakedToken = match getInteger(this, UserStakedTokenKey) {
218218 case a: Int =>
219219 a
220220 case _ =>
221221 0
222222 }
223223 let newAmountStakedToken = (currentAmountStakedToken + pmt.amount)
224224 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
225225 let StakeBalance = match getInteger(this, "StakeBalance") {
226226 case a: Int =>
227227 a
228228 case _ =>
229229 0
230230 }
231231 let StakeBalanceAmount = (StakeBalance + pmt.amount)
232232 let PrizeAmount = match getInteger(this, "FundBox") {
233233 case a: Int =>
234234 a
235235 case _ =>
236236 0
237237 }
238238 let currentAmountGovernToken = match getInteger(this, UserGovernTokenKey) {
239239 case a: Int =>
240240 a
241241 case _ =>
242242 0
243243 }
244244 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
245245 case a: Int =>
246246 a
247247 case _ =>
248248 0
249249 }
250250 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
251251 then (PrizeAmount == 0)
252252 else false)
253253 then 0
254254 else if (if ((HeightTransactFundBox == 0))
255255 then (PrizeAmount != 0)
256256 else false)
257257 then height
258258 else if (if ((HeightTransactFundBox != 0))
259259 then (PrizeAmount != 0)
260260 else false)
261261 then HeightTransactFundBox
262262 else 0
263263 if ((100000000 > GovernTokenSmartContractBalance))
264264 then throw("No enough GovernToken In Contract, Please deposit GovernTokens")
265265 else {
266266 let Reward = if ((StakeBalance == 0))
267267 then 10000
268268 else if ((NewUserStakeTransactions > 10))
269269 then ((10000 * NewUserStakeTransactions) * (1 + (newAmountStakedToken / StakeBalance)))
270270 else (10000 * (1 + (newAmountStakedToken / StakeBalance)))
271271 let UserAPYValue = if ((currentAmountGovernToken > 0))
272272 then ((100 * Reward) / currentAmountGovernToken)
273273 else 0
274274 let newAmountGovernToken = (currentAmountGovernToken + Reward)
275275 ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmountGovernToken), DataEntry(UserStakedTokenKey, newAmountStakedToken), DataEntry(UserStakeTransactionsKey, NewUserStakeTransactions), DataEntry("StakeBalance", StakeBalanceAmount), DataEntry("PrizeHeight", PrizeHeightValue), DataEntry(UserAPY, UserAPYValue), DataEntry(UserLastStakeBlock, UserLastStakeBlockNewValue), DataEntry(UserPush, UserPushValue)]), TransferSet([ScriptTransfer(i.caller, Reward, GovernToken)]))
276276 }
277277 }
278278 else throw("Can deposit only StakeToken")
279279 }
280280
281281
282282
283283 @Callable(i)
284284 func WithdrawStakedFunds (amount) = {
285285 let StakedToken = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21'
286286 let GovernToken = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA'
287287 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
288288 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
289289 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
290290 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
291291 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
292292 case a: Int =>
293293 a
294294 case _ =>
295295 0
296296 }
297297 let StakeBalance = match getInteger(this, "StakeBalance") {
298298 case a: Int =>
299299 a
300300 case _ =>
301301 0
302302 }
303303 let PrizeAmount = match getInteger(this, "FundBox") {
304304 case a: Int =>
305305 a
306306 case _ =>
307307 0
308308 }
309309 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
310310 case a: Int =>
311311 a
312312 case _ =>
313313 0
314314 }
315315 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
316316 then (PrizeAmount == 0)
317317 else false)
318318 then 0
319319 else if (if ((HeightTransactFundBox == 0))
320320 then (PrizeAmount != 0)
321321 else false)
322322 then height
323323 else if (if ((HeightTransactFundBox != 0))
324324 then (PrizeAmount != 0)
325325 else false)
326326 then HeightTransactFundBox
327327 else 0
328328 let currentKey = toBase58String(i.caller.bytes)
329329 let currentAmount = match getInteger(this, UserStakedTokenKey) {
330330 case a: Int =>
331331 a
332332 case _ =>
333333 0
334334 }
335335 let newAmount = (currentAmount - amount)
336336 let StakeBalanceAmount = (StakeBalance - amount)
337337 let UserLastStakeBlockNewValue = if ((StakeBalanceAmount == 0))
338338 then 0
339339 else UserLastStakeBlockValue
340340 if ((0 > amount))
341341 then throw("Can't withdraw negative amount")
342342 else if ((0 > newAmount))
343343 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000))))
344344 else if ((100000000 > assetBalance(this, GovernToken)))
345345 then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, GovernToken) / 100000000))))
346346 else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, 100000000), DataEntry(UserStakedTokenKey, newAmount), DataEntry("StakeBalance", StakeBalanceAmount), DataEntry("PrizeHeight", PrizeHeightValue), DataEntry(UserLastStakeBlock, UserLastStakeBlockNewValue)]), TransferSet([ScriptTransfer(i.caller, 100000000, GovernToken), ScriptTransfer(i.caller, amount, StakedToken)]))
347347 }
348348
349349
350350
351351 @Callable(i)
352352 func HarvestGovernToiken (amount) = {
353353 let StakedToken = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21'
354354 let GovernToken = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA'
355355 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
356356 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
357357 let StakeBalance = match getInteger(this, "StakeBalance") {
358358 case a: Int =>
359359 a
360360 case _ =>
361361 0
362362 }
363363 let PrizeAmount = match getInteger(this, "FundBox") {
364364 case a: Int =>
365365 a
366366 case _ =>
367367 0
368368 }
369369 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
370370 case a: Int =>
371371 a
372372 case _ =>
373373 0
374374 }
375375 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
376376 then (PrizeAmount == 0)
377377 else false)
378378 then 0
379379 else if (if ((HeightTransactFundBox == 0))
380380 then (PrizeAmount != 0)
381381 else false)
382382 then height
383383 else if (if ((HeightTransactFundBox != 0))
384384 then (PrizeAmount != 0)
385385 else false)
386386 then HeightTransactFundBox
387387 else 0
388388 let currentKey = toBase58String(i.caller.bytes)
389389 let currentAmount = match getInteger(this, UserGovernTokenKey) {
390390 case a: Int =>
391391 a
392392 case _ =>
393393 0
394394 }
395395 let newAmount = (currentAmount - amount)
396396 if ((0 > amount))
397397 then throw("Can't withdraw negative amount")
398398 else if ((0 > newAmount))
399399 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000))))
400400 else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmount), DataEntry("PrizeHeight", PrizeHeightValue)]), TransferSet([ScriptTransfer(i.caller, amount, GovernToken)]))
401401 }
402402
403403
404404
405405 @Callable(i)
406406 func delayprize () = {
407407 let StakedToken = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21'
408408 let GovernToken = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA'
409409 let DelayDays = (1 * 1)
410410 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
411411 let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken)
412412 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
413413 let StakeBalance = match getInteger(this, "StakeBalance") {
414414 case a: Int =>
415415 a
416416 case _ =>
417417 0
418418 }
419419 let PrizeAmount = match getInteger(this, "FundBox") {
420420 case a: Int =>
421421 a
422422 case _ =>
423423 0
424424 }
425425 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
426426 case a: Int =>
427427 a
428428 case _ =>
429429 0
430430 }
431431 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
432432 then (PrizeAmount == 0)
433433 else false)
434434 then 0
435435 else if (if ((HeightTransactFundBox == 0))
436436 then (PrizeAmount != 0)
437437 else false)
438438 then height
439439 else if (if ((HeightTransactFundBox != 0))
440440 then (PrizeAmount != 0)
441441 else false)
442442 then HeightTransactFundBox
443443 else 0
444444 let ActualDelay = match getInteger(this, "Delay") {
445445 case a: Int =>
446446 a
447447 case _ =>
448448 0
449449 }
450450 let ActualDelayCost = match getInteger(this, "DelayCost") {
451451 case a: Int =>
452452 a
453453 case _ =>
454454 10
455455 }
456456 let pmt = extract(i.payment)
457457 let DevBoxBalance = match getInteger(this, "DevBox") {
458458 case a: Int =>
459459 a
460460 case _ =>
461461 0
462462 }
463463 if (if (isDefined(pmt.assetId))
464464 then (extract(pmt.assetId) == GovernToken)
465465 else false)
466466 then if ((PrizeAmount > 0))
467467 then {
468468 let UserGovernTokenAmount = pmt.amount
469469 let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000))
470470 let NewDelayCost = if ((ActualDelayCost == 0))
471471 then 1000000000
472472 else (2 * ActualDelayCost)
473473 if ((UserGovernTokenAmount >= NewDelayCost))
474474 then {
475475 let NewDelay = (ActualDelay + DelayDays)
476476 WriteSet([DataEntry("Delay", NewDelay), DataEntry("DelayCost", NewDelayCost), DataEntry("PrizeHeight", PrizeHeightValue), DataEntry("DevBox", DevBoxAmount)])
477477 }
478478 else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(NewDelayCost)) + "TROIKAs"))
479479 }
480480 else throw("You cannot delay the reward before reward is received! Please wait until a reward is available")
481481 else throw("Can Use only Troika Token to Delay Reward")
482482 }
483483
484484
485485
486486 @Callable(i)
487487 func ClaimPrize () = {
488488 let StakedToken = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21'
489489 let GovernToken = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA'
490490 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
491491 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
492492 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
493493 let minStakeBlock = 7
494494 let minref = 0
495495 let ContractGovTokenBalance = assetBalance(this, GovernToken)
496496 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
497497 let StakeBalance = match getInteger(this, "StakeBalance") {
498498 case a: Int =>
499499 a
500500 case _ =>
501501 0
502502 }
503503 let PrizeAmount = match getInteger(this, "FundBox") {
504504 case a: Int =>
505505 a
506506 case _ =>
507507 0
508508 }
509509 let UserPushValue = match getInteger(this, UserPush) {
510510 case a: Int =>
511511 a
512512 case _ =>
513513 0
514514 }
515515 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
516516 case a: Int =>
517517 a
518518 case _ =>
519519 0
520520 }
521521 let UserStakedTokenAmount = match getInteger(this, UserStakedTokenKey) {
522522 case a: Int =>
523523 a
524524 case _ =>
525525 0
526526 }
527527 let ActualDelay = match getInteger(this, "Delay") {
528528 case a: Int =>
529529 a
530530 case _ =>
531531 0
532532 }
533533 let PrizeWinner = getStringValue(this, "HighestPushAddress")
534534 let PrizeHeight = match getInteger(this, "PrizeHeight") {
535535 case a: Int =>
536536 a
537537 case _ =>
538538 0
539539 }
540540 let HighestPushValue = match getInteger(this, "HighestPush") {
541541 case a: Int =>
542542 a
543543 case _ =>
544544 0
545545 }
546546 let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs")
547547 let UserRefsNumValue = match getInteger(this, UserRefsNum) {
548548 case a: Int =>
549549 a
550550 case _ =>
551551 0
552552 }
553553 if (if ((PrizeAmount == 0))
554554 then true
555555 else (10000000000 > ContractGovTokenBalance))
556556 then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)")
557557 else if ((toBase58String(i.caller.bytes) != PrizeWinner))
558558 then throw("You are not the winner hence cannot claim the reward ")
559559 else if (if ((100000000 > UserStakedTokenAmount))
560560 then (minStakeBlock > UserLastStakeBlockValue)
561561 else false)
562562 then throw("You have to Stake ASIMI Token to claim reward ")
563563 else if (if ((height > (PrizeHeight + ActualDelay)))
564564 then (UserPushValue >= HighestPushValue)
565565 else false)
566566 then if ((UserRefsNumValue >= minref))
567567 then ScriptResult(WriteSet([DataEntry(PrizeWinner, PrizeAmount), DataEntry("FundBox", 0), DataEntry("HighestPush", 0), DataEntry(UserPush, 0), DataEntry("HighestPushAddress", ""), DataEntry("PrizeHeight", 0), DataEntry("Delay", 0), DataEntry("DelayCost", 0), DataEntry("LastWinner", PrizeWinner), DataEntry("LastPrize", PrizeAmount)]), TransferSet([ScriptTransfer(i.caller, PrizeAmount, StakedToken), ScriptTransfer(i.caller, 1000000000, GovernToken)]))
568568 else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize")
569569 else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward")
570570 }
571571
572572
573573
574574 @Callable(i)
575575 func Addmentor (Mentor) = {
576576 let StakedToken = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21'
577577 let GovernToken = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA'
578578 let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor")
579579 if ((Mentor != ""))
580580 then WriteSet([DataEntry(UserMentorAddress, Mentor)])
581581 else throw("Mentor's Address cannot be empty")
582582 }
583583
584584

github/deemru/w8io/026f985 
56.79 ms