tx · 7VDJDyLMXPBWzD6stgNwFXXpAif6d3Xc69hLUwmVAkHR

3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK:  -0.01000000 Waves

2021.08.10 20:01 [1652520] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves

{ "type": 13, "id": "7VDJDyLMXPBWzD6stgNwFXXpAif6d3Xc69hLUwmVAkHR", "fee": 1000000, "feeAssetId": null, "timestamp": 1628614893380, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "5DRg1BZAiSgRkaDT9Y1QGTDsfssFsAH6VqXBfwETwgDmwTsBG57MrsnzR2ddUfHNhvTxVRWpPNkgEWkbs8hZMpMB" ], "script": "base64:AAIDAAAAAAAAB1kIARIAEgASABIDCgEBEgASAwoBARIAEgASAwoBCBoHCgJhMRIBaRoQCgJhMhIKY3VycmVudEtleRoRCgJhMxILR292ZXJuVG9rZW4aEgoCYTQSDERldkJveEFtb3VudBoNCgJhNRIHJG1hdGNoMBoHCgJhNhIBYRoRCgJhNxILU3Rha2VkVG9rZW4aEgoCYTgSDG1pblB1c2hCbG9jaxoTCgJhORINbWluU3Rha2VCbG9jaxoUCgJiMRIORGVsYXlBZnRlclB1c2gaDgoCYjISCFdhaXRUaW1lGgwKAmIzEgZtaW5yZWYaHQoCYjQSF3VzZXJXYWxsZXRHb3Zlcm5CYWxhbmNlGgkKAmI1EgNwbXQaDgoCYjYSCFVzZXJQdXNoGhoKAmI3EhRVc2VyTGFzdFB1c2hPbGRWYWx1ZRoRCgJiOBILVXNlclJlZnNOdW0aFgoCYjkSEFVzZXJSZWZzTnVtVmFsdWUaFgoCYzESEEhpZ2hlc3RQdXNoVmFsdWUaFwoCYzISEVVzZXJMYXN0UHVzaEJsb2NrGhgKAmMzEhJVc2VyTGFzdFN0YWtlQmx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aGUgdXNlciB3aXRoIHRoZSBoaWdoZXN0IFB1c2ggYW5kIHdhaXQgdGlsbCBjb3VudG93biBpcyBmaW5pc2hlZCwgdG8gY2xhaW0gUmV3YXJkAAAAAmExAQAAAAlBZGRtZW50b3IAAAABAAAAAmk3BAAAAAJhNwEAAAAg+a5dhaqgwfNcHhVklvUuRcimKrmAG+DKV13AJarHD1AEAAAAAmEzAQAAACC2ikUgda1HfHfe3ScIylr93sF2+hRqNFA399oMKwR5MAQAAAACaTgJAAEsAAAAAgkAAlgAAAABCAgFAAAAAmExAAAABmNhbGxlcgAAAAVieXRlcwIAAAAHX01lbnRvcgMJAQAAAAIhPQAAAAIFAAAAAmk3AgAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAAmk4BQAAAAJpNwUAAAADbmlsCQAAAgAAAAECAAAAIE1lbnRvcidzIEFkZHJlc3MgY2Fubm90IGJlIGVtcHR5AAAAAAgY/dg=", "height": 1652520, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BWpD5WGQRxPds6vt5evHS23BDp2bXsBtJujHG8o1w4jr Next: 8EupG7MhVBUU4FBZvA73eyzP5YVBGR4aNQGPcG5W43Lm Diff:
OldNewDifferences
2626
2727 @Callable(i)
2828 func PushReward () = {
29- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
29+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
3030 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
3131 let minPushBlock = 10
3232 let minStakeBlock = (7 * 1440)
181181
182182 @Callable(i)
183183 func Stake () = {
184- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
184+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
185185 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
186186 let pmt = extract(i.payment)
187187 if (if ((pmt.amount > 0))
308308
309309 @Callable(i)
310310 func WithdrawStakedFunds (amount) = {
311- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
311+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
312312 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
313313 let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock")
314314 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
376376
377377 @Callable(i)
378378 func WithdrawBigStakeReward () = {
379- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
379+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
380380 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
381381 let LastBigStakerRewardBlock = (toBase58String(i.caller.bytes) + "LastBigStakerRewardBlock")
382382 let BigStakerReward = (toBase58String(i.caller.bytes) + "_BigStaker")
449449
450450 @Callable(i)
451451 func HarvestGovernToiken (amount) = {
452- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
452+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
453453 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
454454 let ContractWalletStakeBalance = assetBalance(this, StakedToken)
455455 let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings")
503503
504504 @Callable(i)
505505 func delayprize () = {
506- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
506+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
507507 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
508508 let DelayDays = (1 * 1440)
509509 let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken))
584584
585585 @Callable(i)
586586 func ClaimPrize () = {
587- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
587+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
588588 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
589589 let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking")
590590 let UserPush = (toBase58String(i.caller.bytes) + "_Push")
672672
673673 @Callable(i)
674674 func Addmentor (Mentor) = {
675- let StakedToken = base58'EbLVSrAi6vS3AkLwBinzZCvAXP2yYiFJEzj1MBVHcwZ5'
675+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
676676 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
677677 let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor")
678678 if ((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)
99 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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'
29+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
3030 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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 1440
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'
184+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
185185 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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), DataEntry("MaxDepositer", MaxDepositerValue), DataEntry("MaxDeposit", MaxDepositValue), DataEntry("MaxDepositBlock", MaxDepositBlockValue)]), 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'
311+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
312312 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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'
379+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
380380 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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'
452+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
453453 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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'
506+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
507507 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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'
587+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
588588 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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'
675+ let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
676676 let GovernToken = base58'DHZVHe6JzD61zTwH4ZnHnmo3w7oKGABXwgBt4S8KkzUP'
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 
84.84 ms