tx · BAH2C3ZCC15gYAqnrdis2G26m7vMJ5W3QnL8ot255m9J

3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK:  -0.01000000 Waves

2021.08.12 21:18 [1655495] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves

{ "type": 13, "id": "BAH2C3ZCC15gYAqnrdis2G26m7vMJ5W3QnL8ot255m9J", "fee": 1000000, "feeAssetId": null, "timestamp": 1628792327577, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "2TiSezjkWnxpGqqrkTt2KrAHP8ycWqStHLRByTStbMwy4E7H6fJsFUucaBGhkcnnRrpwsUjEaWGNsE6ESBubfnvX" ], "script": "base64:AAIDAAAAAAAAB44IARIAEgASABIDCgEBEgASAwoBARIAEgASAwoBCBoHCgJhMRIBaRoQCgJhMhIKY3VycmVudEtleRoRCgJhMxILR292ZXJuVG9rZW4aEgoCYTQSDERldkJveEFtb3VudBoNCgJhNRIHJG1hdGNoMBoHCgJhNhIBYRoRCgJhNxILU3Rha2VkVG9rZW4aEgoCYTgSDG1pblB1c2hCbG9jaxoTCgJhORINbWluU3Rha2VCbG9jaxoUCgJiMRIORGVsYXlBZnRlclB1c2gaDgoCYjISCFdhaXRUaW1lGgwKAmIzEgZtaW5yZWYaFAoCYjQSDkZpcnN0UHVzaFRpbWVyGh0KAmI1Ehd1c2VyV2FsbGV0R292ZXJuQmFsYW5jZRoJCgJiNhIDcG10Gg4KAmI3EghVc2VyUHVzaBoaCgJiOBIUVXNlckxhc3RQdXNoT2xkVmFsdWUaEQoCYjkSC1VzZXJSZWZzTnVtGhYKAmMxEhBVc2VyUmVmc051bVZhbHVlGhYKAmMyEhBIaWdoZXN0UHVzaFZhbHVlGhcKAmMzEhFVc2VyTGFzdFB1c2hCbG9jaxoYCgJjNBISVXN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AgAAAAECAAAAYVlvdSBoYXZlIHRvIGJlIHRoZSB1c2VyIHdpdGggdGhlIGhpZ2hlc3QgUHVzaCBhbmQgd2FpdCB0aWxsIGNvdW50b3duIGlzIGZpbmlzaGVkLCB0byBjbGFpbSBSZXdhcmQAAAACYTEBAAAACUFkZG1lbnRvcgAAAAEAAAACaTkEAAAAAmE3AQAAACD5rl2FqqDB81weFWSW9S5FyKYquYAb4MpXXcAlqscPUAQAAAACYTMBAAAAIAFshcLXQMYuV8Rzs8ULZ07fOlzF6BxYes7P/1GRlpktBAAAAAJqMQkAASwAAAACCQACWAAAAAEICAUAAAACYTEAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAdfTWVudG9yAwkBAAAAAiE9AAAAAgUAAAACaTkCAAAAAAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAACajEFAAAAAmk5BQAAAANuaWwJAAACAAAAAQIAAAAgTWVudG9yJ3MgQWRkcmVzcyBjYW5ub3QgYmUgZW1wdHkAAAAAvzh6Xw==", "height": 1655495, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4r9zJohtmUHEwT7PQfRf4LQZpc3Y8JKiKqMweJDg34Pu Next: F2Xucr3cFHUAuEfKxt1SaZxyBLFR1ywL6tshby3SRxWa 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'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
1010 if ((currentKey == "3Mu3nwxzGzeQBGxCKLyJcSDKmRiCea9FQSJ"))
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), DataEntry("Delay", 0), DataEntry("PrizeHeight", height)]), 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'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
3030 let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
3131 let minPushBlock = 10
3232 let minStakeBlock = (7 * 1440)
3333 let DelayAfterPush = 1
3434 let WaitTime = (1 * 1)
3535 let minref = 0
3636 let FirstPushTimer = 1
3737 let userWalletGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken)
3838 let pmt = extract(i.payment)
3939 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
4040 let UserLastPushOldValue = match getInteger(this, UserPush) {
4141 case a: Int =>
4242 a
4343 case _ =>
4444 0
4545 }
4646 let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs")
4747 let UserRefsNumValue = match getInteger(this, UserRefsNum) {
4848 case a: Int =>
4949 a
5050 case _ =>
5151 0
5252 }
5353 let HighestPushValue = match getInteger(this, "HighestPush") {
5454 case a: Int =>
5555 a
5656 case _ =>
5757 0
5858 }
5959 if ((userWalletGovernBalance > pmt.amount))
6060 then if (if (((pmt.amount + UserLastPushOldValue) > HighestPushValue))
6161 then (pmt.assetId == GovernToken)
6262 else false)
6363 then {
6464 let UserLastPushBlock = (toBase58String(i.caller.bytes) + "_UserLastPushBlock")
6565 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
6666 let UserStake = (toBase58String(i.caller.bytes) + "_Staking")
6767 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
6868 let StakeBalance = match getInteger(this, "StakeBalance") {
6969 case a: Int =>
7070 a
7171 case _ =>
7272 0
7373 }
7474 let PrizeAmount = match getInteger(this, "FundBox") {
7575 case a: Int =>
7676 a
7777 case _ =>
7878 0
7979 }
8080 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
8181 case a: Int =>
8282 a
8383 case _ =>
8484 0
8585 }
8686 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
8787 then (PrizeAmount == 0)
8888 else false)
8989 then 0
9090 else if (if ((HeightTransactFundBox == 0))
9191 then (PrizeAmount != 0)
9292 else false)
9393 then height
9494 else if (if ((HeightTransactFundBox != 0))
9595 then (PrizeAmount != 0)
9696 else false)
9797 then HeightTransactFundBox
9898 else 0
9999 let ActualDelay = match getInteger(this, "Delay") {
100100 case a: Int =>
101101 a
102102 case _ =>
103103 0
104104 }
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 NewDelay = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
138138 then (HighestPushValue > 0)
139139 else false)
140140 then FirstPushTimer
141141 else (ActualDelay + DelayAfterPush)
142142 let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + NewDelay) + WaitTime)))
143143 then (HighestPushValue > 0)
144144 else false)
145145 then ""
146146 else HighestPushAddress
147147 let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + NewDelay) + WaitTime)))
148148 then (HighestPushValue > 0)
149149 else false)
150150 then height
151151 else PrizeHeightValue
152152 if (if ((UserPushvalue > 0))
153153 then ((height - UserLastStakeBlockValue) > minStakeBlock)
154154 else false)
155155 then if (((height - UserLastPushBlockValue) > minPushBlock))
156156 then if ((UserStakeValue > 0))
157157 then if ((UserPushvalue > HighestPushValue))
158158 then if ((PrizeAmount > 0))
159159 then if (if (if (if (((PrizeHeightValueNew + NewDelay) >= height))
160160 then true
161161 else (height >= ((PrizeHeightValueNew + NewDelay) + WaitTime)))
162162 then (HighestPushValue > 0)
163163 else false)
164164 then true
165165 else (HighestPushValue == 0))
166166 then if ((UserRefsNumValue >= minref))
167167 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)])
168168 else throw((("You have to have " + toString(minref)) + " referrals already staking for a minimum of 10 days, to push"))
169169 else {
170170 let txt = if ((HighestPushValue > 0))
171171 then "You cannot Push after rewarding Prize and before One day has passed after award"
172172 else "Unexpected error"
173173 throw(txt)
174174 }
175175 else throw("You cannot push before the reward is unlocked, no reward has been detected yet")
176176 else throw("Your push in troikan token, should be Higher than last Highest Push")
177177 else throw("To be able to participate in Pushing for the reward you need to Stake ASIMIs in the dApp")
178178 else throw("You have to wait 10min before you can make a new Push")
179179 else throw(("Your Push dot not comply one of the following conditions: " + "1. Positive Value for Push in Troikan Toke
180180 2. Must Staked ASIMI Token for a minimum of week "))
181181 }
182182 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"))
183183 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 !")
184184 }
185185
186186
187187
188188 @Callable(i)
189189 func Stake () = {
190190 let WaitTime = (1 * 1)
191191 let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
192192 let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
193193 let pmt = extract(i.payment)
194194 if (if ((pmt.amount > 0))
195195 then (pmt.assetId == StakedToken)
196196 else false)
197197 then {
198198 let GovernTokenSmartContractBalance = assetBalance(this, GovernToken)
199199 let UserAPY = (toBase58String(i.caller.bytes) + "_APY")
200200 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
201201 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
202202 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
203203 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
204204 let UserStakeTransactionsKey = (toBase58String(i.caller.bytes) + "_StakedTransactions")
205205 let AddressHeight = (toBase58String(i.caller.bytes) + "_PrizeHeight")
206206 let UserStakeTransactions = match getInteger(this, UserStakeTransactionsKey) {
207207 case a: Int =>
208208 a
209209 case _ =>
210210 0
211211 }
212212 let MaxDepositer = getStringValue(this, "MaxDepositer")
213213 let MaxDepositBlock = match getInteger(this, "MaxDepositBlock") {
214214 case a: Int =>
215215 a
216216 case _ =>
217217 0
218218 }
219219 let MaxDeposit = match getInteger(this, "MaxDeposit") {
220220 case a: Int =>
221221 a
222222 case _ =>
223223 0
224224 }
225225 let MaxDepositerValue = if ((pmt.amount > MaxDeposit))
226226 then toBase58String(i.caller.bytes)
227227 else MaxDepositer
228228 let MaxDepositValue = if ((pmt.amount > MaxDeposit))
229229 then pmt.amount
230230 else MaxDeposit
231231 let MaxDepositBlockValue = if ((pmt.amount > MaxDeposit))
232232 then height
233233 else MaxDepositBlock
234234 let UserPushValue = match getInteger(this, UserPush) {
235235 case a: Int =>
236236 a
237237 case _ =>
238238 0
239239 }
240240 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
241241 case a: Int =>
242242 a
243243 case _ =>
244244 0
245245 }
246246 let UserLastStakeBlockNewValue = if ((UserLastStakeBlockValue == 0))
247247 then height
248248 else UserLastStakeBlockValue
249249 let NewUserStakeTransactions = (UserStakeTransactions + 1)
250250 let currentAmountStakedToken = match getInteger(this, UserStakedTokenKey) {
251251 case a: Int =>
252252 a
253253 case _ =>
254254 0
255255 }
256256 let newAmountStakedToken = (currentAmountStakedToken + pmt.amount)
257257 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
258258 let StakeBalance = match getInteger(this, "StakeBalance") {
259259 case a: Int =>
260260 a
261261 case _ =>
262262 0
263263 }
264264 let StakeBalanceAmount = (StakeBalance + pmt.amount)
265265 let PrizeAmount = match getInteger(this, "FundBox") {
266266 case a: Int =>
267267 a
268268 case _ =>
269269 0
270270 }
271271 let currentAmountGovernToken = match getInteger(this, UserGovernTokenKey) {
272272 case a: Int =>
273273 a
274274 case _ =>
275275 0
276276 }
277277 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
278278 case a: Int =>
279279 a
280280 case _ =>
281281 0
282282 }
283283 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
284284 then (PrizeAmount == 0)
285285 else false)
286286 then 0
287287 else if (if ((HeightTransactFundBox == 0))
288288 then (PrizeAmount != 0)
289289 else false)
290290 then height
291291 else if (if ((HeightTransactFundBox != 0))
292292 then (PrizeAmount != 0)
293293 else false)
294294 then HeightTransactFundBox
295295 else 0
296296 let ActualDelay = match getInteger(this, "Delay") {
297297 case a: Int =>
298298 a
299299 case _ =>
300300 0
301301 }
302302 let HighestPushValue = match getInteger(this, "HighestPush") {
303303 case a: Int =>
304304 a
305305 case _ =>
306306 0
307307 }
308308 let HighestPushAddress = match getInteger(this, "HighestPushAddress") {
309309 case a: Int =>
310310 a
311311 case _ =>
312312 0
313313 }
314314 let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
315315 then (HighestPushValue > 0)
316316 else false)
317317 then ""
318318 else HighestPushAddress
319319 let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
320320 then (HighestPushValue > 0)
321321 else false)
322322 then height
323323 else PrizeHeightValue
324324 if ((100000000 > GovernTokenSmartContractBalance))
325325 then throw("No enough GovernToken In Contract, Please deposit GovernTokens")
326326 else {
327327 let Reward = if ((StakeBalance == 0))
328328 then 10000
329329 else if ((NewUserStakeTransactions > 10))
330330 then ((10000 * NewUserStakeTransactions) * (1 + (newAmountStakedToken / StakeBalance)))
331331 else (10000 * (1 + (newAmountStakedToken / StakeBalance)))
332332 let UserAPYValue = if ((currentAmountGovernToken > 0))
333333 then ((100 * Reward) / currentAmountGovernToken)
334334 else 0
335335 let newAmountGovernToken = (currentAmountGovernToken + Reward)
336336 ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmountGovernToken), DataEntry(UserStakedTokenKey, newAmountStakedToken), DataEntry(UserStakeTransactionsKey, NewUserStakeTransactions), DataEntry("StakeBalance", StakeBalanceAmount), DataEntry("PrizeHeight", PrizeHeightValueNew), DataEntry(UserAPY, UserAPYValue), DataEntry(UserLastStakeBlock, UserLastStakeBlockNewValue), DataEntry(UserPush, UserPushValue), DataEntry("MaxDepositer", MaxDepositerValue), DataEntry("MaxDeposit", MaxDepositValue), DataEntry("MaxDepositBlock", MaxDepositBlockValue), DataEntry("HighestPushAddress", HighestPushAddressValue)]), TransferSet([ScriptTransfer(i.caller, Reward, GovernToken)]))
337337 }
338338 }
339339 else throw("Can deposit only StakeToken")
340340 }
341341
342342
343343
344344 @Callable(i)
345345 func WithdrawStakedFunds (amount) = {
346346 let WaitTime = (1 * 1)
347347 let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
348348 let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
349349 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
350350 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
351351 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
352352 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
353353 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
354354 case a: Int =>
355355 a
356356 case _ =>
357357 0
358358 }
359359 let StakeBalance = match getInteger(this, "StakeBalance") {
360360 case a: Int =>
361361 a
362362 case _ =>
363363 0
364364 }
365365 let PrizeAmount = match getInteger(this, "FundBox") {
366366 case a: Int =>
367367 a
368368 case _ =>
369369 0
370370 }
371371 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
372372 case a: Int =>
373373 a
374374 case _ =>
375375 0
376376 }
377377 let ActualDelay = match getInteger(this, "Delay") {
378378 case a: Int =>
379379 a
380380 case _ =>
381381 0
382382 }
383383 let HighestPushValue = match getInteger(this, "HighestPush") {
384384 case a: Int =>
385385 a
386386 case _ =>
387387 0
388388 }
389389 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
390390 then (PrizeAmount == 0)
391391 else false)
392392 then 0
393393 else if (if ((HeightTransactFundBox == 0))
394394 then (PrizeAmount != 0)
395395 else false)
396396 then height
397397 else if (if ((HeightTransactFundBox != 0))
398398 then (PrizeAmount != 0)
399399 else false)
400400 then HeightTransactFundBox
401401 else 0
402402 let HighestPushAddress = match getInteger(this, "HighestPushAddress") {
403403 case a: Int =>
404404 a
405405 case _ =>
406406 0
407407 }
408408 let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
409409 then (HighestPushValue > 0)
410410 else false)
411411 then ""
412412 else HighestPushAddress
413413 let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
414414 then (HighestPushValue > 0)
415415 else false)
416416 then height
417417 else PrizeHeightValue
418418 let currentKey = toBase58String(i.caller.bytes)
419419 let currentAmount = match getInteger(this, UserStakedTokenKey) {
420420 case a: Int =>
421421 a
422422 case _ =>
423423 0
424424 }
425425 let newAmount = (currentAmount - amount)
426426 let StakeBalanceAmount = (StakeBalance - amount)
427427 let UserLastStakeBlockNewValue = if ((StakeBalanceAmount == 0))
428428 then 0
429429 else UserLastStakeBlockValue
430430 if ((0 > amount))
431431 then throw("Can't withdraw negative amount")
432432 else if ((0 > newAmount))
433433 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000))))
434434 else if ((100000000 > assetBalance(this, GovernToken)))
435435 then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, GovernToken) / 100000000))))
436436 else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, 100000000), DataEntry(UserStakedTokenKey, newAmount), DataEntry("StakeBalance", StakeBalanceAmount), DataEntry("PrizeHeight", PrizeHeightValueNew), DataEntry(UserLastStakeBlock, UserLastStakeBlockNewValue), DataEntry("HighestPushAddress", HighestPushAddressValue)]), TransferSet([ScriptTransfer(i.caller, 100000000, GovernToken), ScriptTransfer(i.caller, amount, StakedToken)]))
437437 }
438438
439439
440440
441441 @Callable(i)
442442 func WithdrawBigStakeReward () = {
443443 let WaitTime = (1 * 1)
444444 let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
445445 let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
446446 let LastBigStakerRewardBlock = (toBase58String(i.caller.bytes) + "LastBigStakerRewardBlock")
447447 let BigStakerReward = (toBase58String(i.caller.bytes) + "_BigStaker")
448448 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
449449 let LimiWithdrawReward = 10
450450 let UserGovernTokenAmount = match getInteger(this, UserGovernTokenKey) {
451451 case a: Int =>
452452 a
453453 case _ =>
454454 0
455455 }
456456 let LastBigStakerRewardBlockValue = match getInteger(this, LastBigStakerRewardBlock) {
457457 case a: Int =>
458458 a
459459 case _ =>
460460 0
461461 }
462462 let BigStakerRewardTotalValue = match getInteger(this, "BigStakerRewardTotal") {
463463 case a: Int =>
464464 a
465465 case _ =>
466466 0
467467 }
468468 let PrizeAmount = match getInteger(this, "FundBox") {
469469 case a: Int =>
470470 a
471471 case _ =>
472472 0
473473 }
474474 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
475475 case a: Int =>
476476 a
477477 case _ =>
478478 0
479479 }
480480 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
481481 then (PrizeAmount == 0)
482482 else false)
483483 then 0
484484 else if (if ((HeightTransactFundBox == 0))
485485 then (PrizeAmount != 0)
486486 else false)
487487 then height
488488 else if (if ((HeightTransactFundBox != 0))
489489 then (PrizeAmount != 0)
490490 else false)
491491 then HeightTransactFundBox
492492 else 0
493493 let ActualDelay = match getInteger(this, "Delay") {
494494 case a: Int =>
495495 a
496496 case _ =>
497497 0
498498 }
499499 let HighestPushValue = match getInteger(this, "HighestPush") {
500500 case a: Int =>
501501 a
502502 case _ =>
503503 0
504504 }
505505 let HighestPushAddress = match getInteger(this, "HighestPushAddress") {
506506 case a: Int =>
507507 a
508508 case _ =>
509509 0
510510 }
511511 let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
512512 then (HighestPushValue > 0)
513513 else false)
514514 then ""
515515 else HighestPushAddress
516516 let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
517517 then (HighestPushValue > 0)
518518 else false)
519519 then height
520520 else PrizeHeightValue
521521 let currentKey = toBase58String(i.caller.bytes)
522522 let amount = match getInteger(this, BigStakerReward) {
523523 case a: Int =>
524524 a
525525 case _ =>
526526 0
527527 }
528528 let StakeBalanceAmount = (BigStakerRewardTotalValue - amount)
529529 let BigStakerRewardTax = if (((height - LastBigStakerRewardBlockValue) >= LimiWithdrawReward))
530530 then (1 * 100000000)
531531 else (UserGovernTokenAmount * (1 - (((height - LastBigStakerRewardBlockValue) / LimiWithdrawReward) * 1440)))
532532 if ((0 > amount))
533533 then throw("Can't withdraw negative amount ")
534534 else if (((1000 * 100000000) > UserGovernTokenAmount))
535535 then throw(("Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString((UserGovernTokenAmount / 100000000))))
536536 else ScriptResult(WriteSet([DataEntry(BigStakerReward, 0), DataEntry("BigStakerRewardTotal", StakeBalanceAmount), DataEntry(UserGovernTokenKey, (UserGovernTokenAmount - BigStakerRewardTax)), DataEntry("PrizeHeight", PrizeHeightValue), DataEntry(LastBigStakerRewardBlock, height), DataEntry("HighestPushAddress", HighestPushAddressValue)]), TransferSet([ScriptTransfer(i.caller, amount, StakedToken)]))
537537 }
538538
539539
540540
541541 @Callable(i)
542542 func HarvestGovernToiken (amount) = {
543543 let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
544544 let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
545545 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
546546 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
547547 let StakeBalance = match getInteger(this, "StakeBalance") {
548548 case a: Int =>
549549 a
550550 case _ =>
551551 0
552552 }
553553 let PrizeAmount = match getInteger(this, "FundBox") {
554554 case a: Int =>
555555 a
556556 case _ =>
557557 0
558558 }
559559 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
560560 case a: Int =>
561561 a
562562 case _ =>
563563 0
564564 }
565565 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
566566 then (PrizeAmount == 0)
567567 else false)
568568 then 0
569569 else if (if ((HeightTransactFundBox == 0))
570570 then (PrizeAmount != 0)
571571 else false)
572572 then height
573573 else if (if ((HeightTransactFundBox != 0))
574574 then (PrizeAmount != 0)
575575 else false)
576576 then HeightTransactFundBox
577577 else 0
578578 let currentKey = toBase58String(i.caller.bytes)
579579 let currentAmount = match getInteger(this, UserGovernTokenKey) {
580580 case a: Int =>
581581 a
582582 case _ =>
583583 0
584584 }
585585 let newAmount = (currentAmount - amount)
586586 if ((0 > amount))
587587 then throw("Can't withdraw negative amount")
588588 else if ((0 > newAmount))
589589 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000))))
590590 else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmount), DataEntry("PrizeHeight", PrizeHeightValue)]), TransferSet([ScriptTransfer(i.caller, amount, GovernToken)]))
591591 }
592592
593593
594594
595595 @Callable(i)
596596 func delayprize () = {
597597 let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
598598 let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
599599 let DelayDays = (1440 * 1)
600600 let WaitTime = (1 * 1)
601601 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
602602 let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken)
603603 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
604604 let StakeBalance = match getInteger(this, "StakeBalance") {
605605 case a: Int =>
606606 a
607607 case _ =>
608608 0
609609 }
610610 let PrizeAmount = match getInteger(this, "FundBox") {
611611 case a: Int =>
612612 a
613613 case _ =>
614614 0
615615 }
616616 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
617617 case a: Int =>
618618 a
619619 case _ =>
620620 0
621621 }
622622 let ActualDelay = match getInteger(this, "Delay") {
623623 case a: Int =>
624624 a
625625 case _ =>
626626 0
627627 }
628628 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
629629 then (PrizeAmount == 0)
630630 else false)
631631 then 0
632632 else if (if ((HeightTransactFundBox == 0))
633633 then (PrizeAmount != 0)
634634 else false)
635635 then height
636636 else if (if ((HeightTransactFundBox != 0))
637637 then (PrizeAmount != 0)
638638 else false)
639639 then HeightTransactFundBox
640640 else 0
641641 let HighestPushValue = match getInteger(this, "HighestPush") {
642642 case a: Int =>
643643 a
644644 case _ =>
645645 0
646646 }
647647 let HighestPushAddress = match getInteger(this, "HighestPushAddress") {
648648 case a: Int =>
649649 a
650650 case _ =>
651651 0
652652 }
653653 let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
654654 then (HighestPushValue > 0)
655655 else false)
656656 then ""
657657 else HighestPushAddress
658658 let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
659659 then (HighestPushValue > 0)
660660 else false)
661661 then height
662662 else PrizeHeightValue
663663 let ActualDelayCost = match getInteger(this, "DelayCost") {
664664 case a: Int =>
665665 a
666666 case _ =>
667667 10
668668 }
669669 let pmt = extract(i.payment)
670670 let DevBoxBalance = match getInteger(this, "DevBox") {
671671 case a: Int =>
672672 a
673673 case _ =>
674674 0
675675 }
676676 if (if (isDefined(pmt.assetId))
677677 then (extract(pmt.assetId) == GovernToken)
678678 else false)
679679 then if ((PrizeAmount > 0))
680680 then {
681681 let UserGovernTokenAmount = pmt.amount
682682 let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000))
683683 let NewDelayCost = if ((ActualDelayCost == 0))
684684 then 1000000000
685685 else (2 * ActualDelayCost)
686686 if ((UserGovernTokenAmount >= NewDelayCost))
687687 then {
688688 let NewDelay = (ActualDelay + DelayDays)
689689 WriteSet([DataEntry("Delay", NewDelay), DataEntry("DelayCost", NewDelayCost), DataEntry("PrizeHeight", PrizeHeightValueNew), DataEntry("DevBox", DevBoxAmount), DataEntry("HighestPushAddress", HighestPushAddressValue)])
690690 }
691691 else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(NewDelayCost)) + "TROIKAs"))
692692 }
693693 else throw("You cannot delay the reward before reward is received! Please wait until a reward is available")
694694 else throw("Can Use only Troika Token to Delay Reward")
695695 }
696696
697697
698698
699699 @Callable(i)
700700 func ClaimPrize () = {
701701 let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
702702 let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
703703 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
704704 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
705705 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
706706 let minStakeBlock = 7
707707 let minref = 0
708708 let ContractGovTokenBalance = assetBalance(this, GovernToken)
709709 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
710710 let StakeBalance = match getInteger(this, "StakeBalance") {
711711 case a: Int =>
712712 a
713713 case _ =>
714714 0
715715 }
716716 let PrizeAmount = match getInteger(this, "FundBox") {
717717 case a: Int =>
718718 a
719719 case _ =>
720720 0
721721 }
722722 let UserPushValue = match getInteger(this, UserPush) {
723723 case a: Int =>
724724 a
725725 case _ =>
726726 0
727727 }
728728 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
729729 case a: Int =>
730730 a
731731 case _ =>
732732 0
733733 }
734734 let UserStakedTokenAmount = match getInteger(this, UserStakedTokenKey) {
735735 case a: Int =>
736736 a
737737 case _ =>
738738 0
739739 }
740740 let ActualDelay = match getInteger(this, "Delay") {
741741 case a: Int =>
742742 a
743743 case _ =>
744744 0
745745 }
746746 let PrizeWinner = getStringValue(this, "HighestPushAddress")
747747 let PrizeHeight = match getInteger(this, "PrizeHeight") {
748748 case a: Int =>
749749 a
750750 case _ =>
751751 0
752752 }
753753 let HighestPushValue = match getInteger(this, "HighestPush") {
754754 case a: Int =>
755755 a
756756 case _ =>
757757 0
758758 }
759759 let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs")
760760 let UserRefsNumValue = match getInteger(this, UserRefsNum) {
761761 case a: Int =>
762762 a
763763 case _ =>
764764 0
765765 }
766766 if (if ((PrizeAmount == 0))
767767 then true
768768 else (10000000000 > ContractGovTokenBalance))
769769 then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)")
770770 else if ((toBase58String(i.caller.bytes) != PrizeWinner))
771771 then throw("You are not the winner hence cannot claim the reward ")
772772 else if (if ((100000000 > UserStakedTokenAmount))
773773 then (minStakeBlock > UserLastStakeBlockValue)
774774 else false)
775775 then throw("You have to Stake ASIMI Token to claim reward ")
776776 else if (if ((height > (PrizeHeight + ActualDelay)))
777777 then (UserPushValue >= HighestPushValue)
778778 else false)
779779 then if ((UserRefsNumValue >= minref))
780780 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)]))
781781 else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize")
782782 else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward")
783783 }
784784
785785
786786
787787 @Callable(i)
788788 func Addmentor (Mentor) = {
789789 let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
790790 let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
791791 let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor")
792792 if ((Mentor != ""))
793793 then WriteSet([DataEntry(UserMentorAddress, Mentor)])
794794 else throw("Mentor's Address cannot be empty")
795795 }
796796
797797

github/deemru/w8io/026f985 
71.55 ms