tx · A5FxgzappeAYJZA3ZeRX5ZB1TuQ6bnYdChnCC2vJ6hsM

3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK:  -0.01000000 Waves

2021.08.08 21:15 [1649716] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves

{ "type": 13, "id": "A5FxgzappeAYJZA3ZeRX5ZB1TuQ6bnYdChnCC2vJ6hsM", "fee": 1000000, "feeAssetId": null, "timestamp": 1628446582255, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "ptqU8gsTR5hRvkAcVZ8pMWHxgezWiFAFAPbqe9NSoMvc4UooWumUA5cPFa7xgGGJkTdXbDRTvmQwvJcpeEBkaYa" ], "script": "base64:AAIDAAAAAAAAB1kIARIAEgASABIDCgEBEgASAwoBARIAEgASAwoBCBoHCgJhMRIBaRoQCgJhMhIKY3VycmVudEtleRoRCgJhMxILR292ZXJuVG9rZW4aEgoCYTQSDERldkJveEFtb3VudBoNCgJhNRIHJG1hdGNoMBoHCgJhNhIBYRoRCgJhNxILU3Rha2VkVG9rZW4aEgoCYTgSDG1pblB1c2hCbG9jaxoTCgJhORINbWluU3Rha2VCbG9jaxoUCgJiMRIORGVsYXlBZnRlclB1c2gaDgoCYjISCFdhaXRUaW1lGgwKAmIzEgZtaW5yZWYaHQoCYjQSF3VzZXJXYWxsZXRHb3Zlcm5CYWxhbmNlGgkKAmI1EgNwbXQaDgoCYjYSCFVzZXJQdXNoGhoKAmI3EhRVc2VyTGFzdFB1c2hPbGRWYWx1ZRoRCgJiOBILVXNlclJlZnNOdW0aFgoCYjkSEFVzZXJSZWZzTnVtVmFsdWUaFgoCYzESEEhpZ2hlc3RQdXNoVmFsdWUaFwoCYzISEVVzZXJMYXN0UHVzaEJsb2NrGhgKAmMzEhJVc2VyTGFzdFN0YWt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AAAACYTMBAAAAIB4wwL1VBtVXU87YSWiDJiMIWxcSbNusPk+CLmN02PekBAAAAAJpOAkAASwAAAACCQACWAAAAAEICAUAAAACYTEAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAdfTWVudG9yAwkBAAAAAiE9AAAAAgUAAAACaTcCAAAAAAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAACaTgFAAAAAmk3BQAAAANuaWwJAAACAAAAAQIAAAAgTWVudG9yJ3MgQWRkcmVzcyBjYW5ub3QgYmUgZW1wdHkAAAAAtlmRuA==", "height": 1649716, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3KqCZ72Eq7Qw4vwmemEoXDe2zELXqaBLSVVwrpNG8Kvn Next: 7mVM8AXjW8cDciokgcxxn4SFXJ6JMRrEWpD4ZYbEYM5r Diff:
OldNewDifferences
66 @Callable(i)
77 func DevWithdraw () = {
88 let currentKey = toBase58String(i.caller.bytes)
9- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
9+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
1010 if ((currentKey == "3P74buHt98BnojFcaREJZtb98KDyUmZGemJ"))
1111 then {
1212 let DevBoxAmount = match getInteger(this, "DevBox") {
2626
2727 @Callable(i)
2828 func PushReward () = {
29- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
30- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
29+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
30+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
3131 let minPushBlock = 10
3232 let minStakeBlock = (7 * 1440)
3333 let DelayAfterPush = 60
181181
182182 @Callable(i)
183183 func Stake () = {
184- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
185- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
184+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
185+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
186186 let pmt = extract(i.payment)
187187 if (if ((pmt.amount > 0))
188188 then (pmt.assetId == StakedToken)
308308
309309 @Callable(i)
310310 func WithdrawStakedFunds (amount) = {
311- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
312- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
311+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
312+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
313313 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
314314 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
315315 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
376376
377377 @Callable(i)
378378 func WithdrawBigStakeReward () = {
379- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
380- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
379+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
380+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
381381 let LastBigStakerRewardBlock = (toBase58String(i.caller.bytes) + "LastBigStakerRewardBlock")
382382 let BigStakerReward = (toBase58String(i.caller.bytes) + "_BigStaker")
383383 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
449449
450450 @Callable(i)
451451 func HarvestGovernToiken (amount) = {
452- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
453- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
452+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
453+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
454454 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
455455 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
456456 let StakeBalance = match getInteger(this, "StakeBalance") {
503503
504504 @Callable(i)
505505 func delayprize () = {
506- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
507- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
506+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
507+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
508508 let DelayDays = (1 * 1440)
509509 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
510510 let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken)
584584
585585 @Callable(i)
586586 func ClaimPrize () = {
587- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
588- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
587+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
588+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
589589 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
590590 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
591591 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
672672
673673 @Callable(i)
674674 func Addmentor (Mentor) = {
675- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
676- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
675+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
676+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
677677 let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor")
678678 if ((Mentor != ""))
679679 then WriteSet([DataEntry(UserMentorAddress, Mentor)])
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)
9- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
9+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
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 () = {
29- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
30- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
29+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
30+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
3131 let minPushBlock = 10
3232 let minStakeBlock = (7 * 1440)
3333 let DelayAfterPush = 60
3434 let WaitTime = 1440
3535 let minref = 1
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 HighestPushAddress = match getInteger(this, "HighestPushAddress") {
105105 case a: Int =>
106106 a
107107 case _ =>
108108 0
109109 }
110110 let UserLastPushBlockValue = match getInteger(this, UserLastPushBlock) {
111111 case a: Int =>
112112 a
113113 case _ =>
114114 0
115115 }
116116 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
117117 case a: Int =>
118118 a
119119 case _ =>
120120 0
121121 }
122122 let UserStakeValue = match getInteger(this, UserStake) {
123123 case a: Int =>
124124 a
125125 case _ =>
126126 0
127127 }
128128 let DevBoxBalance = match getInteger(this, "DevBox") {
129129 case a: Int =>
130130 a
131131 case _ =>
132132 0
133133 }
134134 let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000))
135135 let UserPushvalue = (pmt.amount + UserLastPushOldValue)
136136 let NewDelay = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime)))
137137 then (HighestPushValue > 0)
138138 else false)
139139 then 0
140140 else (ActualDelay + DelayAfterPush)
141141 let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + NewDelay) + WaitTime)))
142142 then (HighestPushValue > 0)
143143 else false)
144144 then height
145145 else PrizeHeightValue
146146 if (if ((UserPushvalue > 0))
147147 then ((height - UserLastStakeBlockValue) > minStakeBlock)
148148 else false)
149149 then if (((height - UserLastPushBlockValue) > minPushBlock))
150150 then if ((UserStakeValue > 0))
151151 then if ((UserPushvalue > HighestPushValue))
152152 then if ((PrizeAmount > 0))
153153 then if (if (if (if (((PrizeHeightValueNew + NewDelay) >= height))
154154 then true
155155 else (height >= ((PrizeHeightValueNew + NewDelay) + WaitTime)))
156156 then (HighestPushValue > 0)
157157 else false)
158158 then true
159159 else (HighestPushValue == 0))
160160 then if ((UserRefsNumValue >= minref))
161161 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)])
162162 else throw((("You have to have " + toString(minref)) + " referrals already staking for a minimum of 10 days, to push"))
163163 else {
164164 let txt = if ((HighestPushValue > 0))
165165 then "You cannot Push after rewarding Prize and before One day has passed after award"
166166 else "Unexpected error"
167167 throw(txt)
168168 }
169169 else throw("You cannot push before the reward is unlocked, no reward has been detected yet")
170170 else throw("Your push in troikan token, should be Higher than last Highest Push")
171171 else throw("To be able to participate in Pushing for the reward you need to Stake ASIMIs in the dApp")
172172 else throw("You have to wait 10min before you can make a new Push")
173173 else throw(("Your Push dot not comply one of the following conditions: " + "1. Positive Value for Push in Troikan Toke
174174 2. Must Staked ASIMI Token for a minimum of week "))
175175 }
176176 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"))
177177 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 !")
178178 }
179179
180180
181181
182182 @Callable(i)
183183 func Stake () = {
184- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
185- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
184+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
185+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
186186 let pmt = extract(i.payment)
187187 if (if ((pmt.amount > 0))
188188 then (pmt.assetId == StakedToken)
189189 else false)
190190 then {
191191 let GovernTokenSmartContractBalance = assetBalance(this, GovernToken)
192192 let UserAPY = (toBase58String(i.caller.bytes) + "_APY")
193193 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
194194 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
195195 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
196196 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
197197 let UserStakeTransactionsKey = (toBase58String(i.caller.bytes) + "_StakedTransactions")
198198 let AddressHeight = (toBase58String(i.caller.bytes) + "_PrizeHeight")
199199 let UserStakeTransactions = match getInteger(this, UserStakeTransactionsKey) {
200200 case a: Int =>
201201 a
202202 case _ =>
203203 0
204204 }
205205 let MaxDepositer = getStringValue(this, "MaxDepositer")
206206 let MaxDepositBlock = match getInteger(this, "MaxDepositBlock") {
207207 case a: Int =>
208208 a
209209 case _ =>
210210 0
211211 }
212212 let MaxDeposit = match getInteger(this, "MaxDeposit") {
213213 case a: Int =>
214214 a
215215 case _ =>
216216 0
217217 }
218218 let MaxDepositerValue = if ((pmt.amount > MaxDeposit))
219219 then toBase58String(i.caller.bytes)
220220 else MaxDepositer
221221 let MaxDepositValue = if ((pmt.amount > MaxDeposit))
222222 then pmt.amount
223223 else MaxDeposit
224224 let MaxDepositBlockValue = if ((pmt.amount > MaxDeposit))
225225 then height
226226 else MaxDepositBlock
227227 let UserPushValue = match getInteger(this, UserPush) {
228228 case a: Int =>
229229 a
230230 case _ =>
231231 0
232232 }
233233 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
234234 case a: Int =>
235235 a
236236 case _ =>
237237 0
238238 }
239239 let UserLastStakeBlockNewValue = if ((UserLastStakeBlockValue == 0))
240240 then height
241241 else UserLastStakeBlockValue
242242 let NewUserStakeTransactions = (UserStakeTransactions + 1)
243243 let currentAmountStakedToken = match getInteger(this, UserStakedTokenKey) {
244244 case a: Int =>
245245 a
246246 case _ =>
247247 0
248248 }
249249 let newAmountStakedToken = (currentAmountStakedToken + pmt.amount)
250250 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
251251 let StakeBalance = match getInteger(this, "StakeBalance") {
252252 case a: Int =>
253253 a
254254 case _ =>
255255 0
256256 }
257257 let StakeBalanceAmount = (StakeBalance + pmt.amount)
258258 let PrizeAmount = match getInteger(this, "FundBox") {
259259 case a: Int =>
260260 a
261261 case _ =>
262262 0
263263 }
264264 let currentAmountGovernToken = match getInteger(this, UserGovernTokenKey) {
265265 case a: Int =>
266266 a
267267 case _ =>
268268 0
269269 }
270270 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
271271 case a: Int =>
272272 a
273273 case _ =>
274274 0
275275 }
276276 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
277277 then (PrizeAmount == 0)
278278 else false)
279279 then 0
280280 else if (if ((HeightTransactFundBox == 0))
281281 then (PrizeAmount != 0)
282282 else false)
283283 then height
284284 else if (if ((HeightTransactFundBox != 0))
285285 then (PrizeAmount != 0)
286286 else false)
287287 then HeightTransactFundBox
288288 else 0
289289 if ((100000000 > GovernTokenSmartContractBalance))
290290 then throw("No enough GovernToken In Contract, Please deposit GovernTokens")
291291 else {
292292 let Reward = if ((StakeBalance == 0))
293293 then 10000
294294 else if ((NewUserStakeTransactions > 10))
295295 then ((10000 * NewUserStakeTransactions) * (1 + (newAmountStakedToken / StakeBalance)))
296296 else (10000 * (1 + (newAmountStakedToken / StakeBalance)))
297297 let UserAPYValue = if ((currentAmountGovernToken > 0))
298298 then ((100 * Reward) / currentAmountGovernToken)
299299 else 0
300300 let newAmountGovernToken = (currentAmountGovernToken + Reward)
301301 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)]))
302302 }
303303 }
304304 else throw("Can deposit only StakeToken")
305305 }
306306
307307
308308
309309 @Callable(i)
310310 func WithdrawStakedFunds (amount) = {
311- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
312- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
311+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
312+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
313313 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
314314 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
315315 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
316316 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
317317 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
318318 case a: Int =>
319319 a
320320 case _ =>
321321 0
322322 }
323323 let StakeBalance = match getInteger(this, "StakeBalance") {
324324 case a: Int =>
325325 a
326326 case _ =>
327327 0
328328 }
329329 let PrizeAmount = match getInteger(this, "FundBox") {
330330 case a: Int =>
331331 a
332332 case _ =>
333333 0
334334 }
335335 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
336336 case a: Int =>
337337 a
338338 case _ =>
339339 0
340340 }
341341 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
342342 then (PrizeAmount == 0)
343343 else false)
344344 then 0
345345 else if (if ((HeightTransactFundBox == 0))
346346 then (PrizeAmount != 0)
347347 else false)
348348 then height
349349 else if (if ((HeightTransactFundBox != 0))
350350 then (PrizeAmount != 0)
351351 else false)
352352 then HeightTransactFundBox
353353 else 0
354354 let currentKey = toBase58String(i.caller.bytes)
355355 let currentAmount = match getInteger(this, UserStakedTokenKey) {
356356 case a: Int =>
357357 a
358358 case _ =>
359359 0
360360 }
361361 let newAmount = (currentAmount - amount)
362362 let StakeBalanceAmount = (StakeBalance - amount)
363363 let UserLastStakeBlockNewValue = if ((StakeBalanceAmount == 0))
364364 then 0
365365 else UserLastStakeBlockValue
366366 if ((0 > amount))
367367 then throw("Can't withdraw negative amount")
368368 else if ((0 > newAmount))
369369 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000))))
370370 else if ((100000000 > assetBalance(this, GovernToken)))
371371 then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, GovernToken) / 100000000))))
372372 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)]))
373373 }
374374
375375
376376
377377 @Callable(i)
378378 func WithdrawBigStakeReward () = {
379- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
380- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
379+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
380+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
381381 let LastBigStakerRewardBlock = (toBase58String(i.caller.bytes) + "LastBigStakerRewardBlock")
382382 let BigStakerReward = (toBase58String(i.caller.bytes) + "_BigStaker")
383383 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
384384 let LimiWithdrawReward = 10
385385 let UserGovernTokenAmount = match getInteger(this, UserGovernTokenKey) {
386386 case a: Int =>
387387 a
388388 case _ =>
389389 0
390390 }
391391 let LastBigStakerRewardBlockValue = match getInteger(this, LastBigStakerRewardBlock) {
392392 case a: Int =>
393393 a
394394 case _ =>
395395 0
396396 }
397397 let BigStakerRewardTotalValue = match getInteger(this, "BigStakerRewardTotal") {
398398 case a: Int =>
399399 a
400400 case _ =>
401401 0
402402 }
403403 let PrizeAmount = match getInteger(this, "FundBox") {
404404 case a: Int =>
405405 a
406406 case _ =>
407407 0
408408 }
409409 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
410410 case a: Int =>
411411 a
412412 case _ =>
413413 0
414414 }
415415 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
416416 then (PrizeAmount == 0)
417417 else false)
418418 then 0
419419 else if (if ((HeightTransactFundBox == 0))
420420 then (PrizeAmount != 0)
421421 else false)
422422 then height
423423 else if (if ((HeightTransactFundBox != 0))
424424 then (PrizeAmount != 0)
425425 else false)
426426 then HeightTransactFundBox
427427 else 0
428428 let currentKey = toBase58String(i.caller.bytes)
429429 let amount = match getInteger(this, BigStakerReward) {
430430 case a: Int =>
431431 a
432432 case _ =>
433433 0
434434 }
435435 let StakeBalanceAmount = (BigStakerRewardTotalValue - amount)
436436 let BigStakerRewardTax = if (((height - LastBigStakerRewardBlockValue) >= LimiWithdrawReward))
437437 then (1 * 100000000)
438438 else (((UserGovernTokenAmount / 100) * LimiWithdrawReward) / (height - LastBigStakerRewardBlockValue))
439439 if ((0 > amount))
440440 then throw("Can't withdraw negative amount ")
441441 else if (((1000 * 100000000) > UserGovernTokenAmount))
442442 then throw(("Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString((assetBalance(this, GovernToken) / 100000000))))
443443 else if ((BigStakerRewardTax > (1 * 100000000)))
444444 then throw(("Be careful it will cost you: " + toString((BigStakerRewardTax / 100000000))))
445445 else ScriptResult(WriteSet([DataEntry(BigStakerReward, 0), DataEntry("BigStakerRewardTotal", StakeBalanceAmount), DataEntry(UserGovernTokenKey, (UserGovernTokenAmount - BigStakerRewardTax)), DataEntry("PrizeHeight", PrizeHeightValue), DataEntry(LastBigStakerRewardBlock, height)]), TransferSet([ScriptTransfer(i.caller, amount, StakedToken)]))
446446 }
447447
448448
449449
450450 @Callable(i)
451451 func HarvestGovernToiken (amount) = {
452- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
453- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
452+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
453+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
454454 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
455455 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
456456 let StakeBalance = match getInteger(this, "StakeBalance") {
457457 case a: Int =>
458458 a
459459 case _ =>
460460 0
461461 }
462462 let PrizeAmount = match getInteger(this, "FundBox") {
463463 case a: Int =>
464464 a
465465 case _ =>
466466 0
467467 }
468468 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
469469 case a: Int =>
470470 a
471471 case _ =>
472472 0
473473 }
474474 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
475475 then (PrizeAmount == 0)
476476 else false)
477477 then 0
478478 else if (if ((HeightTransactFundBox == 0))
479479 then (PrizeAmount != 0)
480480 else false)
481481 then height
482482 else if (if ((HeightTransactFundBox != 0))
483483 then (PrizeAmount != 0)
484484 else false)
485485 then HeightTransactFundBox
486486 else 0
487487 let currentKey = toBase58String(i.caller.bytes)
488488 let currentAmount = match getInteger(this, UserGovernTokenKey) {
489489 case a: Int =>
490490 a
491491 case _ =>
492492 0
493493 }
494494 let newAmount = (currentAmount - amount)
495495 if ((0 > amount))
496496 then throw("Can't withdraw negative amount")
497497 else if ((0 > newAmount))
498498 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000))))
499499 else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmount), DataEntry("PrizeHeight", PrizeHeightValue)]), TransferSet([ScriptTransfer(i.caller, amount, GovernToken)]))
500500 }
501501
502502
503503
504504 @Callable(i)
505505 func delayprize () = {
506- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
507- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
506+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
507+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
508508 let DelayDays = (1 * 1440)
509509 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
510510 let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken)
511511 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
512512 let StakeBalance = match getInteger(this, "StakeBalance") {
513513 case a: Int =>
514514 a
515515 case _ =>
516516 0
517517 }
518518 let PrizeAmount = match getInteger(this, "FundBox") {
519519 case a: Int =>
520520 a
521521 case _ =>
522522 0
523523 }
524524 let HeightTransactFundBox = match getInteger(this, "PrizeHeight") {
525525 case a: Int =>
526526 a
527527 case _ =>
528528 0
529529 }
530530 let PrizeHeightValue = if (if ((HeightTransactFundBox == 0))
531531 then (PrizeAmount == 0)
532532 else false)
533533 then 0
534534 else if (if ((HeightTransactFundBox == 0))
535535 then (PrizeAmount != 0)
536536 else false)
537537 then height
538538 else if (if ((HeightTransactFundBox != 0))
539539 then (PrizeAmount != 0)
540540 else false)
541541 then HeightTransactFundBox
542542 else 0
543543 let ActualDelay = match getInteger(this, "Delay") {
544544 case a: Int =>
545545 a
546546 case _ =>
547547 0
548548 }
549549 let ActualDelayCost = match getInteger(this, "DelayCost") {
550550 case a: Int =>
551551 a
552552 case _ =>
553553 10
554554 }
555555 let pmt = extract(i.payment)
556556 let DevBoxBalance = match getInteger(this, "DevBox") {
557557 case a: Int =>
558558 a
559559 case _ =>
560560 0
561561 }
562562 if (if (isDefined(pmt.assetId))
563563 then (extract(pmt.assetId) == GovernToken)
564564 else false)
565565 then if ((PrizeAmount > 0))
566566 then {
567567 let UserGovernTokenAmount = pmt.amount
568568 let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000))
569569 let NewDelayCost = if ((ActualDelayCost == 0))
570570 then 1000000000
571571 else (2 * ActualDelayCost)
572572 if ((UserGovernTokenAmount >= NewDelayCost))
573573 then {
574574 let NewDelay = (ActualDelay + DelayDays)
575575 WriteSet([DataEntry("Delay", NewDelay), DataEntry("DelayCost", NewDelayCost), DataEntry("PrizeHeight", PrizeHeightValue), DataEntry("DevBox", DevBoxAmount)])
576576 }
577577 else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(NewDelayCost)) + "TROIKAs"))
578578 }
579579 else throw("You cannot delay the reward before reward is received! Please wait until a reward is available")
580580 else throw("Can Use only Troika Token to Delay Reward")
581581 }
582582
583583
584584
585585 @Callable(i)
586586 func ClaimPrize () = {
587- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
588- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
587+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
588+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
589589 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
590590 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
591591 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
592592 let minStakeBlock = 7
593593 let minref = 1
594594 let ContractGovTokenBalance = assetBalance(this, GovernToken)
595595 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
596596 let StakeBalance = match getInteger(this, "StakeBalance") {
597597 case a: Int =>
598598 a
599599 case _ =>
600600 0
601601 }
602602 let PrizeAmount = match getInteger(this, "FundBox") {
603603 case a: Int =>
604604 a
605605 case _ =>
606606 0
607607 }
608608 let UserPushValue = match getInteger(this, UserPush) {
609609 case a: Int =>
610610 a
611611 case _ =>
612612 0
613613 }
614614 let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) {
615615 case a: Int =>
616616 a
617617 case _ =>
618618 0
619619 }
620620 let UserStakedTokenAmount = match getInteger(this, UserStakedTokenKey) {
621621 case a: Int =>
622622 a
623623 case _ =>
624624 0
625625 }
626626 let ActualDelay = match getInteger(this, "Delay") {
627627 case a: Int =>
628628 a
629629 case _ =>
630630 0
631631 }
632632 let PrizeWinner = getStringValue(this, "HighestPushAddress")
633633 let PrizeHeight = match getInteger(this, "PrizeHeight") {
634634 case a: Int =>
635635 a
636636 case _ =>
637637 0
638638 }
639639 let HighestPushValue = match getInteger(this, "HighestPush") {
640640 case a: Int =>
641641 a
642642 case _ =>
643643 0
644644 }
645645 let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs")
646646 let UserRefsNumValue = match getInteger(this, UserRefsNum) {
647647 case a: Int =>
648648 a
649649 case _ =>
650650 0
651651 }
652652 if (if ((PrizeAmount == 0))
653653 then true
654654 else (10000000000 > ContractGovTokenBalance))
655655 then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)")
656656 else if ((toBase58String(i.caller.bytes) != PrizeWinner))
657657 then throw("You are not the winner hence cannot claim the reward ")
658658 else if (if ((100000000 > UserStakedTokenAmount))
659659 then (minStakeBlock > UserLastStakeBlockValue)
660660 else false)
661661 then throw("You have to Stake ASIMI Token to claim reward ")
662662 else if (if ((height > (PrizeHeight + ActualDelay)))
663663 then (UserPushValue >= HighestPushValue)
664664 else false)
665665 then if ((UserRefsNumValue >= minref))
666666 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)]))
667667 else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize")
668668 else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward")
669669 }
670670
671671
672672
673673 @Callable(i)
674674 func Addmentor (Mentor) = {
675- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
676- let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
675+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
676+ let GovernToken = base58'32rMCTpxTer5LQz6HTd3dGpaFXfcaLv56k73YAzEVwsh'
677677 let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor")
678678 if ((Mentor != ""))
679679 then WriteSet([DataEntry(UserMentorAddress, Mentor)])
680680 else throw("Mentor's Address cannot be empty")
681681 }
682682
683683

github/deemru/w8io/026f985 
68.18 ms