tx · 7E4LRwiyMriLSFngQ5p29bJegQrH3bmZgctR2aCWcKzR 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK: -0.01000000 Waves 2021.08.14 16:39 [1658101] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves
{ "type": 13, "id": "7E4LRwiyMriLSFngQ5p29bJegQrH3bmZgctR2aCWcKzR", "fee": 1000000, "feeAssetId": null, "timestamp": 1628948417391, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "qjcfMKEX5r2yKgsedUKpao9KLeGLWBbwt7D426RWzcZcvTy7kTvC2XDzxKNeqCjS8iWrvhzSWWtMQ1hAwwm2oXW" ], "script": "base64:AAIDAAAAAAAAB5sIARIAEgASABIDCgEBEgASAwoBARIAEgASAwoBCBoHCgJhMRIBaRoQCgJhMhIKY3VycmVudEtleRoRCgJhMxILR292ZXJuVG9rZW4aEgoCYTQSDERldkJveEFtb3VudBoNCgJhNRIHJG1hdGNoMBoHCgJhNhIBYRoRCgJhNxILU3Rha2VkVG9rZW4aEgoCYTgSDG1pblB1c2hCbG9jaxoTCgJhORINbWluU3Rha2VCbG9jaxoUCgJiMRIORGVsYXlBZnRlclB1c2gaDgoCYjISCFdhaXRUaW1lGgwKAmIzEgZtaW5yZWYaFAoCYjQSDkZpcnN0UHVzaFRpbWVyGh0KAmI1Ehd1c2VyV2FsbGV0R292ZXJuQmFsYW5jZRoJCgJiNhIDcG10Gg4KAmI3EghVc2VyUHVzaBoaCgJiOBIUVXNlckxhc3RQdXNoT2xkVmFsdWUaEQoCYjkSC1VzZXJSZWZzTnVtGhYKAmMxEhBVc2VyUmVmc051bVZhbHVlGhYKAmMyEhBIaWdoZXN0UHVzaFZhbHVlGhcKAmMzEhFVc2VyTGFzdFB1c2hCbG9jaxoYCgJjNBISVX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mVyAAAAAwgFAAAAAmExAAAABmNhbGxlcgAAAAAAO5rKAAUAAAACYTMFAAAAA25pbAkAAAIAAAABAgAAAFlZb3UgaGF2ZSB0byBoYXZlIDEwIHJlZmVycmFscyBhbHJlYWR5IHN0YWtpbmcgZm9yIGEgbWluaW11bSBvZiAxMCBkYXlzIHRvIENsYWltIHRoZSBwcml6ZQkAAAIAAAABAgAAAGFZb3UgaGF2ZSB0byBiZSB0aGUgdXNlciB3aXRoIHRoZSBoaWdoZXN0IFB1c2ggYW5kIHdhaXQgdGlsbCBjb3VudG93biBpcyBmaW5pc2hlZCwgdG8gY2xhaW0gUmV3YXJkAAAAAmExAQAAAAlBZGRtZW50b3IAAAABAAAAAmoxBAAAAAJhNwEAAAAg+a5dhaqgwfNcHhVklvUuRcimKrmAG+DKV13AJarHD1AEAAAAAmEzAQAAACABbIXC10DGLlfEc7PFC2dO3zpcxegcWHrOz/9RkZaZLQQAAAACajIJAAEsAAAAAgkAAlgAAAABCAgFAAAAAmExAAAABmNhbGxlcgAAAAVieXRlcwIAAAAHX01lbnRvcgMJAQAAAAIhPQAAAAIFAAAAAmoxAgAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAAmoyBQAAAAJqMQUAAAADbmlsCQAAAgAAAAECAAAAIE1lbnRvcidzIEFkZHJlc3MgY2Fubm90IGJlIGVtcHR5AAAAAKryvLQ=", "height": 1658101, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G8wxrmJDqwMdiBQyyMttkoJyifTDg1vym8hbaCWePmWa Next: GpRUivepAmCS9nw8MaaWubr3Fgn3Fm86reyHKT6SA3qT Diff:
Old | New | Differences | |
---|---|---|---|
531 | 531 | else (UserGovernTokenAmount * (1 - ((height - LastBigStakerRewardBlockValue) / (LimiWithdrawReward * 1440)))) | |
532 | 532 | let Check = (1 - ((height - LastBigStakerRewardBlockValue) / (LimiWithdrawReward * 1440))) | |
533 | 533 | if ((amount > 0)) | |
534 | - | then throw(("Can't withdraw negative amount " + toString( | |
534 | + | then throw(("Can't withdraw negative amount " + toString(BigStakerRewardTax))) | |
535 | 535 | else if (((1000 * 100000000) > UserGovernTokenAmount)) | |
536 | 536 | then throw(("Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString((UserGovernTokenAmount / 100000000)))) | |
537 | 537 | 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)])) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func DevWithdraw () = { | |
8 | 8 | let currentKey = toBase58String(i.caller.bytes) | |
9 | 9 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
10 | 10 | if ((currentKey == "3Mu3nwxzGzeQBGxCKLyJcSDKmRiCea9FQSJ")) | |
11 | 11 | then { | |
12 | 12 | let DevBoxAmount = match getInteger(this, "DevBox") { | |
13 | 13 | case a: Int => | |
14 | 14 | a | |
15 | 15 | case _ => | |
16 | 16 | 0 | |
17 | 17 | } | |
18 | 18 | if ((0 > DevBoxAmount)) | |
19 | 19 | then throw("Not enough balance") | |
20 | 20 | else ScriptResult(WriteSet([DataEntry("DevBox", 0), DataEntry("Delay", 0), DataEntry("PrizeHeight", height)]), TransferSet([ScriptTransfer(i.caller, DevBoxAmount, GovernToken)])) | |
21 | 21 | } | |
22 | 22 | else throw("You cannot withdraw as your are not the Dev.") | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | ||
27 | 27 | @Callable(i) | |
28 | 28 | func PushReward () = { | |
29 | 29 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
30 | 30 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
31 | 31 | let minPushBlock = 10 | |
32 | 32 | let minStakeBlock = (7 * 1440) | |
33 | 33 | let DelayAfterPush = 1 | |
34 | 34 | let WaitTime = (1 * 1) | |
35 | 35 | let minref = 0 | |
36 | 36 | let FirstPushTimer = 1 | |
37 | 37 | let userWalletGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken) | |
38 | 38 | let pmt = extract(i.payment) | |
39 | 39 | let UserPush = (toBase58String(i.caller.bytes) + "_Push") | |
40 | 40 | let UserLastPushOldValue = match getInteger(this, UserPush) { | |
41 | 41 | case a: Int => | |
42 | 42 | a | |
43 | 43 | case _ => | |
44 | 44 | 0 | |
45 | 45 | } | |
46 | 46 | let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs") | |
47 | 47 | let UserRefsNumValue = match getInteger(this, UserRefsNum) { | |
48 | 48 | case a: Int => | |
49 | 49 | a | |
50 | 50 | case _ => | |
51 | 51 | 0 | |
52 | 52 | } | |
53 | 53 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
54 | 54 | case a: Int => | |
55 | 55 | a | |
56 | 56 | case _ => | |
57 | 57 | 0 | |
58 | 58 | } | |
59 | 59 | if ((userWalletGovernBalance > pmt.amount)) | |
60 | 60 | then if (if (((pmt.amount + UserLastPushOldValue) > HighestPushValue)) | |
61 | 61 | then (pmt.assetId == GovernToken) | |
62 | 62 | else false) | |
63 | 63 | then { | |
64 | 64 | let UserLastPushBlock = (toBase58String(i.caller.bytes) + "_UserLastPushBlock") | |
65 | 65 | let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock") | |
66 | 66 | let UserStake = (toBase58String(i.caller.bytes) + "_Staking") | |
67 | 67 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
68 | 68 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
69 | 69 | case a: Int => | |
70 | 70 | a | |
71 | 71 | case _ => | |
72 | 72 | 0 | |
73 | 73 | } | |
74 | 74 | let PrizeAmount = match getInteger(this, "FundBox") { | |
75 | 75 | case a: Int => | |
76 | 76 | a | |
77 | 77 | case _ => | |
78 | 78 | 0 | |
79 | 79 | } | |
80 | 80 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
81 | 81 | case a: Int => | |
82 | 82 | a | |
83 | 83 | case _ => | |
84 | 84 | 0 | |
85 | 85 | } | |
86 | 86 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
87 | 87 | then (PrizeAmount == 0) | |
88 | 88 | else false) | |
89 | 89 | then 0 | |
90 | 90 | else if (if ((HeightTransactFundBox == 0)) | |
91 | 91 | then (PrizeAmount != 0) | |
92 | 92 | else false) | |
93 | 93 | then height | |
94 | 94 | else if (if ((HeightTransactFundBox != 0)) | |
95 | 95 | then (PrizeAmount != 0) | |
96 | 96 | else false) | |
97 | 97 | then HeightTransactFundBox | |
98 | 98 | else 0 | |
99 | 99 | let ActualDelay = match getInteger(this, "Delay") { | |
100 | 100 | case a: Int => | |
101 | 101 | a | |
102 | 102 | case _ => | |
103 | 103 | 0 | |
104 | 104 | } | |
105 | 105 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
106 | 106 | case a: Int => | |
107 | 107 | a | |
108 | 108 | case _ => | |
109 | 109 | 0 | |
110 | 110 | } | |
111 | 111 | let UserLastPushBlockValue = match getInteger(this, UserLastPushBlock) { | |
112 | 112 | case a: Int => | |
113 | 113 | a | |
114 | 114 | case _ => | |
115 | 115 | 0 | |
116 | 116 | } | |
117 | 117 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
118 | 118 | case a: Int => | |
119 | 119 | a | |
120 | 120 | case _ => | |
121 | 121 | 0 | |
122 | 122 | } | |
123 | 123 | let UserStakeValue = match getInteger(this, UserStake) { | |
124 | 124 | case a: Int => | |
125 | 125 | a | |
126 | 126 | case _ => | |
127 | 127 | 0 | |
128 | 128 | } | |
129 | 129 | let DevBoxBalance = match getInteger(this, "DevBox") { | |
130 | 130 | case a: Int => | |
131 | 131 | a | |
132 | 132 | case _ => | |
133 | 133 | 0 | |
134 | 134 | } | |
135 | 135 | let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000)) | |
136 | 136 | let UserPushvalue = (pmt.amount + UserLastPushOldValue) | |
137 | 137 | let NewDelay = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
138 | 138 | then (HighestPushValue > 0) | |
139 | 139 | else false) | |
140 | 140 | then FirstPushTimer | |
141 | 141 | else (ActualDelay + DelayAfterPush) | |
142 | 142 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + NewDelay) + WaitTime))) | |
143 | 143 | then (HighestPushValue > 0) | |
144 | 144 | else false) | |
145 | 145 | then "" | |
146 | 146 | else HighestPushAddress | |
147 | 147 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + NewDelay) + WaitTime))) | |
148 | 148 | then (HighestPushValue > 0) | |
149 | 149 | else false) | |
150 | 150 | then height | |
151 | 151 | else PrizeHeightValue | |
152 | 152 | if (if ((UserPushvalue > 0)) | |
153 | 153 | then ((height - UserLastStakeBlockValue) > minStakeBlock) | |
154 | 154 | else false) | |
155 | 155 | then if (((height - UserLastPushBlockValue) > minPushBlock)) | |
156 | 156 | then if ((UserStakeValue > 0)) | |
157 | 157 | then if ((UserPushvalue > HighestPushValue)) | |
158 | 158 | then if ((PrizeAmount > 0)) | |
159 | 159 | then if (if (if (if (((PrizeHeightValueNew + NewDelay) >= height)) | |
160 | 160 | then true | |
161 | 161 | else (height >= ((PrizeHeightValueNew + NewDelay) + WaitTime))) | |
162 | 162 | then (HighestPushValue > 0) | |
163 | 163 | else false) | |
164 | 164 | then true | |
165 | 165 | else (HighestPushValue == 0)) | |
166 | 166 | then if ((UserRefsNumValue >= minref)) | |
167 | 167 | 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)]) | |
168 | 168 | else throw((("You have to have " + toString(minref)) + " referrals already staking for a minimum of 10 days, to push")) | |
169 | 169 | else { | |
170 | 170 | let txt = if ((HighestPushValue > 0)) | |
171 | 171 | then "You cannot Push after rewarding Prize and before One day has passed after award" | |
172 | 172 | else "Unexpected error" | |
173 | 173 | throw(txt) | |
174 | 174 | } | |
175 | 175 | else throw("You cannot push before the reward is unlocked, no reward has been detected yet") | |
176 | 176 | else throw("Your push in troikan token, should be Higher than last Highest Push") | |
177 | 177 | else throw("To be able to participate in Pushing for the reward you need to Stake ASIMIs in the dApp") | |
178 | 178 | else throw("You have to wait 10min before you can make a new Push") | |
179 | 179 | else throw(("Your Push dot not comply one of the following conditions: " + "1. Positive Value for Push in Troikan Toke | |
180 | 180 | 2. Must Staked ASIMI Token for a minimum of week ")) | |
181 | 181 | } | |
182 | 182 | 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")) | |
183 | 183 | 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 !") | |
184 | 184 | } | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | ||
188 | 188 | @Callable(i) | |
189 | 189 | func Stake () = { | |
190 | 190 | let WaitTime = (1 * 1) | |
191 | 191 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
192 | 192 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
193 | 193 | let pmt = extract(i.payment) | |
194 | 194 | if (if ((pmt.amount > 0)) | |
195 | 195 | then (pmt.assetId == StakedToken) | |
196 | 196 | else false) | |
197 | 197 | then { | |
198 | 198 | let GovernTokenSmartContractBalance = assetBalance(this, GovernToken) | |
199 | 199 | let UserAPY = (toBase58String(i.caller.bytes) + "_APY") | |
200 | 200 | let UserPush = (toBase58String(i.caller.bytes) + "_Push") | |
201 | 201 | let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking") | |
202 | 202 | let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings") | |
203 | 203 | let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock") | |
204 | 204 | let UserStakeTransactionsKey = (toBase58String(i.caller.bytes) + "_StakedTransactions") | |
205 | 205 | let AddressHeight = (toBase58String(i.caller.bytes) + "_PrizeHeight") | |
206 | 206 | let UserStakeTransactions = match getInteger(this, UserStakeTransactionsKey) { | |
207 | 207 | case a: Int => | |
208 | 208 | a | |
209 | 209 | case _ => | |
210 | 210 | 0 | |
211 | 211 | } | |
212 | 212 | let MaxDepositer = getStringValue(this, "MaxDepositer") | |
213 | 213 | let MaxDepositBlock = match getInteger(this, "MaxDepositBlock") { | |
214 | 214 | case a: Int => | |
215 | 215 | a | |
216 | 216 | case _ => | |
217 | 217 | 0 | |
218 | 218 | } | |
219 | 219 | let MaxDeposit = match getInteger(this, "MaxDeposit") { | |
220 | 220 | case a: Int => | |
221 | 221 | a | |
222 | 222 | case _ => | |
223 | 223 | 0 | |
224 | 224 | } | |
225 | 225 | let MaxDepositerValue = if ((pmt.amount > MaxDeposit)) | |
226 | 226 | then toBase58String(i.caller.bytes) | |
227 | 227 | else MaxDepositer | |
228 | 228 | let MaxDepositValue = if ((pmt.amount > MaxDeposit)) | |
229 | 229 | then pmt.amount | |
230 | 230 | else MaxDeposit | |
231 | 231 | let MaxDepositBlockValue = if ((pmt.amount > MaxDeposit)) | |
232 | 232 | then height | |
233 | 233 | else MaxDepositBlock | |
234 | 234 | let UserPushValue = match getInteger(this, UserPush) { | |
235 | 235 | case a: Int => | |
236 | 236 | a | |
237 | 237 | case _ => | |
238 | 238 | 0 | |
239 | 239 | } | |
240 | 240 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
241 | 241 | case a: Int => | |
242 | 242 | a | |
243 | 243 | case _ => | |
244 | 244 | 0 | |
245 | 245 | } | |
246 | 246 | let UserLastStakeBlockNewValue = if ((UserLastStakeBlockValue == 0)) | |
247 | 247 | then height | |
248 | 248 | else UserLastStakeBlockValue | |
249 | 249 | let NewUserStakeTransactions = (UserStakeTransactions + 1) | |
250 | 250 | let currentAmountStakedToken = match getInteger(this, UserStakedTokenKey) { | |
251 | 251 | case a: Int => | |
252 | 252 | a | |
253 | 253 | case _ => | |
254 | 254 | 0 | |
255 | 255 | } | |
256 | 256 | let newAmountStakedToken = (currentAmountStakedToken + pmt.amount) | |
257 | 257 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
258 | 258 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
259 | 259 | case a: Int => | |
260 | 260 | a | |
261 | 261 | case _ => | |
262 | 262 | 0 | |
263 | 263 | } | |
264 | 264 | let StakeBalanceAmount = (StakeBalance + pmt.amount) | |
265 | 265 | let PrizeAmount = match getInteger(this, "FundBox") { | |
266 | 266 | case a: Int => | |
267 | 267 | a | |
268 | 268 | case _ => | |
269 | 269 | 0 | |
270 | 270 | } | |
271 | 271 | let currentAmountGovernToken = match getInteger(this, UserGovernTokenKey) { | |
272 | 272 | case a: Int => | |
273 | 273 | a | |
274 | 274 | case _ => | |
275 | 275 | 0 | |
276 | 276 | } | |
277 | 277 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
278 | 278 | case a: Int => | |
279 | 279 | a | |
280 | 280 | case _ => | |
281 | 281 | 0 | |
282 | 282 | } | |
283 | 283 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
284 | 284 | then (PrizeAmount == 0) | |
285 | 285 | else false) | |
286 | 286 | then 0 | |
287 | 287 | else if (if ((HeightTransactFundBox == 0)) | |
288 | 288 | then (PrizeAmount != 0) | |
289 | 289 | else false) | |
290 | 290 | then height | |
291 | 291 | else if (if ((HeightTransactFundBox != 0)) | |
292 | 292 | then (PrizeAmount != 0) | |
293 | 293 | else false) | |
294 | 294 | then HeightTransactFundBox | |
295 | 295 | else 0 | |
296 | 296 | let ActualDelay = match getInteger(this, "Delay") { | |
297 | 297 | case a: Int => | |
298 | 298 | a | |
299 | 299 | case _ => | |
300 | 300 | 0 | |
301 | 301 | } | |
302 | 302 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
303 | 303 | case a: Int => | |
304 | 304 | a | |
305 | 305 | case _ => | |
306 | 306 | 0 | |
307 | 307 | } | |
308 | 308 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
309 | 309 | case a: Int => | |
310 | 310 | a | |
311 | 311 | case _ => | |
312 | 312 | 0 | |
313 | 313 | } | |
314 | 314 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
315 | 315 | then (HighestPushValue > 0) | |
316 | 316 | else false) | |
317 | 317 | then "" | |
318 | 318 | else HighestPushAddress | |
319 | 319 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
320 | 320 | then (HighestPushValue > 0) | |
321 | 321 | else false) | |
322 | 322 | then height | |
323 | 323 | else PrizeHeightValue | |
324 | 324 | if ((100000000 > GovernTokenSmartContractBalance)) | |
325 | 325 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
326 | 326 | else { | |
327 | 327 | let Reward = if ((StakeBalance == 0)) | |
328 | 328 | then 10000 | |
329 | 329 | else if ((NewUserStakeTransactions > 10)) | |
330 | 330 | then ((10000 * NewUserStakeTransactions) * (1 + (newAmountStakedToken / StakeBalance))) | |
331 | 331 | else (10000 * (1 + (newAmountStakedToken / StakeBalance))) | |
332 | 332 | let UserAPYValue = if ((currentAmountGovernToken > 0)) | |
333 | 333 | then ((100 * Reward) / currentAmountGovernToken) | |
334 | 334 | else 0 | |
335 | 335 | let newAmountGovernToken = (currentAmountGovernToken + Reward) | |
336 | 336 | 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)])) | |
337 | 337 | } | |
338 | 338 | } | |
339 | 339 | else throw("Can deposit only StakeToken") | |
340 | 340 | } | |
341 | 341 | ||
342 | 342 | ||
343 | 343 | ||
344 | 344 | @Callable(i) | |
345 | 345 | func WithdrawStakedFunds (amount) = { | |
346 | 346 | let WaitTime = (1 * 1) | |
347 | 347 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
348 | 348 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
349 | 349 | let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock") | |
350 | 350 | let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking") | |
351 | 351 | let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken)) | |
352 | 352 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
353 | 353 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
354 | 354 | case a: Int => | |
355 | 355 | a | |
356 | 356 | case _ => | |
357 | 357 | 0 | |
358 | 358 | } | |
359 | 359 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
360 | 360 | case a: Int => | |
361 | 361 | a | |
362 | 362 | case _ => | |
363 | 363 | 0 | |
364 | 364 | } | |
365 | 365 | let PrizeAmount = match getInteger(this, "FundBox") { | |
366 | 366 | case a: Int => | |
367 | 367 | a | |
368 | 368 | case _ => | |
369 | 369 | 0 | |
370 | 370 | } | |
371 | 371 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
372 | 372 | case a: Int => | |
373 | 373 | a | |
374 | 374 | case _ => | |
375 | 375 | 0 | |
376 | 376 | } | |
377 | 377 | let ActualDelay = match getInteger(this, "Delay") { | |
378 | 378 | case a: Int => | |
379 | 379 | a | |
380 | 380 | case _ => | |
381 | 381 | 0 | |
382 | 382 | } | |
383 | 383 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
384 | 384 | case a: Int => | |
385 | 385 | a | |
386 | 386 | case _ => | |
387 | 387 | 0 | |
388 | 388 | } | |
389 | 389 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
390 | 390 | then (PrizeAmount == 0) | |
391 | 391 | else false) | |
392 | 392 | then 0 | |
393 | 393 | else if (if ((HeightTransactFundBox == 0)) | |
394 | 394 | then (PrizeAmount != 0) | |
395 | 395 | else false) | |
396 | 396 | then height | |
397 | 397 | else if (if ((HeightTransactFundBox != 0)) | |
398 | 398 | then (PrizeAmount != 0) | |
399 | 399 | else false) | |
400 | 400 | then HeightTransactFundBox | |
401 | 401 | else 0 | |
402 | 402 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
403 | 403 | case a: Int => | |
404 | 404 | a | |
405 | 405 | case _ => | |
406 | 406 | 0 | |
407 | 407 | } | |
408 | 408 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
409 | 409 | then (HighestPushValue > 0) | |
410 | 410 | else false) | |
411 | 411 | then "" | |
412 | 412 | else HighestPushAddress | |
413 | 413 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
414 | 414 | then (HighestPushValue > 0) | |
415 | 415 | else false) | |
416 | 416 | then height | |
417 | 417 | else PrizeHeightValue | |
418 | 418 | let currentKey = toBase58String(i.caller.bytes) | |
419 | 419 | let currentAmount = match getInteger(this, UserStakedTokenKey) { | |
420 | 420 | case a: Int => | |
421 | 421 | a | |
422 | 422 | case _ => | |
423 | 423 | 0 | |
424 | 424 | } | |
425 | 425 | let newAmount = (currentAmount - amount) | |
426 | 426 | let StakeBalanceAmount = (StakeBalance - amount) | |
427 | 427 | let UserLastStakeBlockNewValue = if ((StakeBalanceAmount == 0)) | |
428 | 428 | then 0 | |
429 | 429 | else UserLastStakeBlockValue | |
430 | 430 | if ((0 > amount)) | |
431 | 431 | then throw("Can't withdraw negative amount") | |
432 | 432 | else if ((0 > newAmount)) | |
433 | 433 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000)))) | |
434 | 434 | else if ((100000000 > assetBalance(this, GovernToken))) | |
435 | 435 | then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, GovernToken) / 100000000)))) | |
436 | 436 | 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)])) | |
437 | 437 | } | |
438 | 438 | ||
439 | 439 | ||
440 | 440 | ||
441 | 441 | @Callable(i) | |
442 | 442 | func WithdrawBigStakeReward () = { | |
443 | 443 | let WaitTime = (1 * 1) | |
444 | 444 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
445 | 445 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
446 | 446 | let LastBigStakerRewardBlock = (toBase58String(i.caller.bytes) + "LastBigStakerRewardBlock") | |
447 | 447 | let BigStakerReward = (toBase58String(i.caller.bytes) + "_BigStaker") | |
448 | 448 | let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings") | |
449 | 449 | let LimiWithdrawReward = 10 | |
450 | 450 | let UserGovernTokenAmount = match getInteger(this, UserGovernTokenKey) { | |
451 | 451 | case a: Int => | |
452 | 452 | a | |
453 | 453 | case _ => | |
454 | 454 | 0 | |
455 | 455 | } | |
456 | 456 | let LastBigStakerRewardBlockValue = match getInteger(this, LastBigStakerRewardBlock) { | |
457 | 457 | case a: Int => | |
458 | 458 | a | |
459 | 459 | case _ => | |
460 | 460 | 0 | |
461 | 461 | } | |
462 | 462 | let BigStakerRewardTotalValue = match getInteger(this, "BigStakerRewardTotal") { | |
463 | 463 | case a: Int => | |
464 | 464 | a | |
465 | 465 | case _ => | |
466 | 466 | 0 | |
467 | 467 | } | |
468 | 468 | let PrizeAmount = match getInteger(this, "FundBox") { | |
469 | 469 | case a: Int => | |
470 | 470 | a | |
471 | 471 | case _ => | |
472 | 472 | 0 | |
473 | 473 | } | |
474 | 474 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
475 | 475 | case a: Int => | |
476 | 476 | a | |
477 | 477 | case _ => | |
478 | 478 | 0 | |
479 | 479 | } | |
480 | 480 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
481 | 481 | then (PrizeAmount == 0) | |
482 | 482 | else false) | |
483 | 483 | then 0 | |
484 | 484 | else if (if ((HeightTransactFundBox == 0)) | |
485 | 485 | then (PrizeAmount != 0) | |
486 | 486 | else false) | |
487 | 487 | then height | |
488 | 488 | else if (if ((HeightTransactFundBox != 0)) | |
489 | 489 | then (PrizeAmount != 0) | |
490 | 490 | else false) | |
491 | 491 | then HeightTransactFundBox | |
492 | 492 | else 0 | |
493 | 493 | let ActualDelay = match getInteger(this, "Delay") { | |
494 | 494 | case a: Int => | |
495 | 495 | a | |
496 | 496 | case _ => | |
497 | 497 | 0 | |
498 | 498 | } | |
499 | 499 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
500 | 500 | case a: Int => | |
501 | 501 | a | |
502 | 502 | case _ => | |
503 | 503 | 0 | |
504 | 504 | } | |
505 | 505 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
506 | 506 | case a: Int => | |
507 | 507 | a | |
508 | 508 | case _ => | |
509 | 509 | 0 | |
510 | 510 | } | |
511 | 511 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
512 | 512 | then (HighestPushValue > 0) | |
513 | 513 | else false) | |
514 | 514 | then "" | |
515 | 515 | else HighestPushAddress | |
516 | 516 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
517 | 517 | then (HighestPushValue > 0) | |
518 | 518 | else false) | |
519 | 519 | then height | |
520 | 520 | else PrizeHeightValue | |
521 | 521 | let currentKey = toBase58String(i.caller.bytes) | |
522 | 522 | let amount = match getInteger(this, BigStakerReward) { | |
523 | 523 | case a: Int => | |
524 | 524 | a | |
525 | 525 | case _ => | |
526 | 526 | 0 | |
527 | 527 | } | |
528 | 528 | let StakeBalanceAmount = (BigStakerRewardTotalValue - amount) | |
529 | 529 | let BigStakerRewardTax = if (((height - LastBigStakerRewardBlockValue) >= LimiWithdrawReward)) | |
530 | 530 | then (1 * 100000000) | |
531 | 531 | else (UserGovernTokenAmount * (1 - ((height - LastBigStakerRewardBlockValue) / (LimiWithdrawReward * 1440)))) | |
532 | 532 | let Check = (1 - ((height - LastBigStakerRewardBlockValue) / (LimiWithdrawReward * 1440))) | |
533 | 533 | if ((amount > 0)) | |
534 | - | then throw(("Can't withdraw negative amount " + toString( | |
534 | + | then throw(("Can't withdraw negative amount " + toString(BigStakerRewardTax))) | |
535 | 535 | else if (((1000 * 100000000) > UserGovernTokenAmount)) | |
536 | 536 | then throw(("Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString((UserGovernTokenAmount / 100000000)))) | |
537 | 537 | 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)])) | |
538 | 538 | } | |
539 | 539 | ||
540 | 540 | ||
541 | 541 | ||
542 | 542 | @Callable(i) | |
543 | 543 | func HarvestGovernToiken (amount) = { | |
544 | 544 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
545 | 545 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
546 | 546 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
547 | 547 | let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings") | |
548 | 548 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
549 | 549 | case a: Int => | |
550 | 550 | a | |
551 | 551 | case _ => | |
552 | 552 | 0 | |
553 | 553 | } | |
554 | 554 | let PrizeAmount = match getInteger(this, "FundBox") { | |
555 | 555 | case a: Int => | |
556 | 556 | a | |
557 | 557 | case _ => | |
558 | 558 | 0 | |
559 | 559 | } | |
560 | 560 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
561 | 561 | case a: Int => | |
562 | 562 | a | |
563 | 563 | case _ => | |
564 | 564 | 0 | |
565 | 565 | } | |
566 | 566 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
567 | 567 | then (PrizeAmount == 0) | |
568 | 568 | else false) | |
569 | 569 | then 0 | |
570 | 570 | else if (if ((HeightTransactFundBox == 0)) | |
571 | 571 | then (PrizeAmount != 0) | |
572 | 572 | else false) | |
573 | 573 | then height | |
574 | 574 | else if (if ((HeightTransactFundBox != 0)) | |
575 | 575 | then (PrizeAmount != 0) | |
576 | 576 | else false) | |
577 | 577 | then HeightTransactFundBox | |
578 | 578 | else 0 | |
579 | 579 | let currentKey = toBase58String(i.caller.bytes) | |
580 | 580 | let currentAmount = match getInteger(this, UserGovernTokenKey) { | |
581 | 581 | case a: Int => | |
582 | 582 | a | |
583 | 583 | case _ => | |
584 | 584 | 0 | |
585 | 585 | } | |
586 | 586 | let newAmount = (currentAmount - amount) | |
587 | 587 | if ((0 > amount)) | |
588 | 588 | then throw("Can't withdraw negative amount") | |
589 | 589 | else if ((0 > newAmount)) | |
590 | 590 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000)))) | |
591 | 591 | else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmount), DataEntry("PrizeHeight", PrizeHeightValue)]), TransferSet([ScriptTransfer(i.caller, amount, GovernToken)])) | |
592 | 592 | } | |
593 | 593 | ||
594 | 594 | ||
595 | 595 | ||
596 | 596 | @Callable(i) | |
597 | 597 | func delayprize () = { | |
598 | 598 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
599 | 599 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
600 | 600 | let DelayDays = (1 * 1) | |
601 | 601 | let WaitTime = (1 * 1) | |
602 | 602 | let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken)) | |
603 | 603 | let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken) | |
604 | 604 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
605 | 605 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
606 | 606 | case a: Int => | |
607 | 607 | a | |
608 | 608 | case _ => | |
609 | 609 | 0 | |
610 | 610 | } | |
611 | 611 | let PrizeAmount = match getInteger(this, "FundBox") { | |
612 | 612 | case a: Int => | |
613 | 613 | a | |
614 | 614 | case _ => | |
615 | 615 | 0 | |
616 | 616 | } | |
617 | 617 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
618 | 618 | case a: Int => | |
619 | 619 | a | |
620 | 620 | case _ => | |
621 | 621 | 0 | |
622 | 622 | } | |
623 | 623 | let ActualDelay = match getInteger(this, "Delay") { | |
624 | 624 | case a: Int => | |
625 | 625 | a | |
626 | 626 | case _ => | |
627 | 627 | 0 | |
628 | 628 | } | |
629 | 629 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
630 | 630 | then (PrizeAmount == 0) | |
631 | 631 | else false) | |
632 | 632 | then 0 | |
633 | 633 | else if (if ((HeightTransactFundBox == 0)) | |
634 | 634 | then (PrizeAmount != 0) | |
635 | 635 | else false) | |
636 | 636 | then height | |
637 | 637 | else if (if ((HeightTransactFundBox != 0)) | |
638 | 638 | then (PrizeAmount != 0) | |
639 | 639 | else false) | |
640 | 640 | then HeightTransactFundBox | |
641 | 641 | else 0 | |
642 | 642 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
643 | 643 | case a: Int => | |
644 | 644 | a | |
645 | 645 | case _ => | |
646 | 646 | 0 | |
647 | 647 | } | |
648 | 648 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
649 | 649 | case a: Int => | |
650 | 650 | a | |
651 | 651 | case _ => | |
652 | 652 | 0 | |
653 | 653 | } | |
654 | 654 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
655 | 655 | then (HighestPushValue > 0) | |
656 | 656 | else false) | |
657 | 657 | then "" | |
658 | 658 | else HighestPushAddress | |
659 | 659 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
660 | 660 | then (HighestPushValue > 0) | |
661 | 661 | else false) | |
662 | 662 | then height | |
663 | 663 | else PrizeHeightValue | |
664 | 664 | let ActualDelayCost = match getInteger(this, "DelayCost") { | |
665 | 665 | case a: Int => | |
666 | 666 | a | |
667 | 667 | case _ => | |
668 | 668 | 10 | |
669 | 669 | } | |
670 | 670 | let pmt = extract(i.payment) | |
671 | 671 | let DevBoxBalance = match getInteger(this, "DevBox") { | |
672 | 672 | case a: Int => | |
673 | 673 | a | |
674 | 674 | case _ => | |
675 | 675 | 0 | |
676 | 676 | } | |
677 | 677 | if (if (isDefined(pmt.assetId)) | |
678 | 678 | then (extract(pmt.assetId) == GovernToken) | |
679 | 679 | else false) | |
680 | 680 | then if ((PrizeAmount > 0)) | |
681 | 681 | then { | |
682 | 682 | let UserGovernTokenAmount = pmt.amount | |
683 | 683 | let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000)) | |
684 | 684 | let NewDelayCost = if ((ActualDelayCost == 0)) | |
685 | 685 | then 1000000000 | |
686 | 686 | else (2 * ActualDelayCost) | |
687 | 687 | if ((UserGovernTokenAmount >= NewDelayCost)) | |
688 | 688 | then { | |
689 | 689 | let NewDelay = (ActualDelay + DelayDays) | |
690 | 690 | WriteSet([DataEntry("Delay", NewDelay), DataEntry("DelayCost", NewDelayCost), DataEntry("PrizeHeight", PrizeHeightValueNew), DataEntry("DevBox", DevBoxAmount), DataEntry("HighestPushAddress", HighestPushAddressValue)]) | |
691 | 691 | } | |
692 | 692 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(NewDelayCost)) + "TROIKAs")) | |
693 | 693 | } | |
694 | 694 | else throw("You cannot delay the reward before reward is received! Please wait until a reward is available") | |
695 | 695 | else throw("Can Use only Troika Token to Delay Reward") | |
696 | 696 | } | |
697 | 697 | ||
698 | 698 | ||
699 | 699 | ||
700 | 700 | @Callable(i) | |
701 | 701 | func ClaimPrize () = { | |
702 | 702 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
703 | 703 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
704 | 704 | let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking") | |
705 | 705 | let UserPush = (toBase58String(i.caller.bytes) + "_Push") | |
706 | 706 | let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock") | |
707 | 707 | let minStakeBlock = 7 | |
708 | 708 | let minref = 0 | |
709 | 709 | let ContractGovTokenBalance = assetBalance(this, GovernToken) | |
710 | 710 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
711 | 711 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
712 | 712 | case a: Int => | |
713 | 713 | a | |
714 | 714 | case _ => | |
715 | 715 | 0 | |
716 | 716 | } | |
717 | 717 | let PrizeAmount = match getInteger(this, "FundBox") { | |
718 | 718 | case a: Int => | |
719 | 719 | a | |
720 | 720 | case _ => | |
721 | 721 | 0 | |
722 | 722 | } | |
723 | 723 | let UserPushValue = match getInteger(this, UserPush) { | |
724 | 724 | case a: Int => | |
725 | 725 | a | |
726 | 726 | case _ => | |
727 | 727 | 0 | |
728 | 728 | } | |
729 | 729 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
730 | 730 | case a: Int => | |
731 | 731 | a | |
732 | 732 | case _ => | |
733 | 733 | 0 | |
734 | 734 | } | |
735 | 735 | let UserStakedTokenAmount = match getInteger(this, UserStakedTokenKey) { | |
736 | 736 | case a: Int => | |
737 | 737 | a | |
738 | 738 | case _ => | |
739 | 739 | 0 | |
740 | 740 | } | |
741 | 741 | let ActualDelay = match getInteger(this, "Delay") { | |
742 | 742 | case a: Int => | |
743 | 743 | a | |
744 | 744 | case _ => | |
745 | 745 | 0 | |
746 | 746 | } | |
747 | 747 | let PrizeWinner = getStringValue(this, "HighestPushAddress") | |
748 | 748 | let PrizeHeight = match getInteger(this, "PrizeHeight") { | |
749 | 749 | case a: Int => | |
750 | 750 | a | |
751 | 751 | case _ => | |
752 | 752 | 0 | |
753 | 753 | } | |
754 | 754 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
755 | 755 | case a: Int => | |
756 | 756 | a | |
757 | 757 | case _ => | |
758 | 758 | 0 | |
759 | 759 | } | |
760 | 760 | let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs") | |
761 | 761 | let UserRefsNumValue = match getInteger(this, UserRefsNum) { | |
762 | 762 | case a: Int => | |
763 | 763 | a | |
764 | 764 | case _ => | |
765 | 765 | 0 | |
766 | 766 | } | |
767 | 767 | if (if ((PrizeAmount == 0)) | |
768 | 768 | then true | |
769 | 769 | else (10000000000 > ContractGovTokenBalance)) | |
770 | 770 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
771 | 771 | else if ((toBase58String(i.caller.bytes) != PrizeWinner)) | |
772 | 772 | then throw("You are not the winner hence cannot claim the reward ") | |
773 | 773 | else if (if ((100000000 > UserStakedTokenAmount)) | |
774 | 774 | then (minStakeBlock > UserLastStakeBlockValue) | |
775 | 775 | else false) | |
776 | 776 | then throw("You have to Stake ASIMI Token to claim reward ") | |
777 | 777 | else if (if ((height > (PrizeHeight + ActualDelay))) | |
778 | 778 | then (UserPushValue >= HighestPushValue) | |
779 | 779 | else false) | |
780 | 780 | then if ((UserRefsNumValue >= minref)) | |
781 | 781 | 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)])) | |
782 | 782 | else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize") | |
783 | 783 | else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward") | |
784 | 784 | } | |
785 | 785 | ||
786 | 786 | ||
787 | 787 | ||
788 | 788 | @Callable(i) | |
789 | 789 | func Addmentor (Mentor) = { | |
790 | 790 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
791 | 791 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
792 | 792 | let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor") | |
793 | 793 | if ((Mentor != "")) | |
794 | 794 | then WriteSet([DataEntry(UserMentorAddress, Mentor)]) | |
795 | 795 | else throw("Mentor's Address cannot be empty") | |
796 | 796 | } | |
797 | 797 | ||
798 | 798 |
github/deemru/w8io/169f3d6 64.03 ms ◑