tx · F2Xucr3cFHUAuEfKxt1SaZxyBLFR1ywL6tshby3SRxWa 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK: -0.01000000 Waves 2021.08.12 21:31 [1655509] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves
{ "type": 13, "id": "F2Xucr3cFHUAuEfKxt1SaZxyBLFR1ywL6tshby3SRxWa", "fee": 1000000, "feeAssetId": null, "timestamp": 1628793203389, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "2Cjy1bBJiLkLTEudy3gmmXaZxf4dFoLCbT6F1djogSK2urpu8YZqfncYQ7ENx3WM2RWKGaDRFPuZZ9DMVqEZTrT9" ], "script": "base64:AAIDAAAAAAAAB44IARIAEgASABIDCgEBEgASAwoBARIAEgASAwoBCBoHCgJhMRIBaRoQCgJhMhIKY3VycmVudEtleRoRCgJhMxILR292ZXJuVG9rZW4aEgoCYTQSDERldkJveEFtb3VudBoNCgJhNRIHJG1hdGNoMBoHCgJhNhIBYRoRCgJhNxILU3Rha2VkVG9rZW4aEgoCYTgSDG1pblB1c2hCbG9jaxoTCgJhORINbWluU3Rha2VCbG9jaxoUCgJiMRIORGVsYXlBZnRlclB1c2gaDgoCYjISCFdhaXRUaW1lGgwKAmIzEgZtaW5yZWYaFAoCYjQSDkZpcnN0UHVzaFRpbWVyGh0KAmI1Ehd1c2VyV2FsbGV0R292ZXJuQmFsYW5jZRoJCgJiNhIDcG10Gg4KAmI3EghVc2VyUHVzaBoaCgJiOBIUVXNlckxhc3RQdXNoT2xkVmFsdWUaEQoCYjkSC1VzZXJSZWZzTnVtGhYKAmMxEhBVc2VyUmVmc051bVZhbHVlGhYKAmMyEhBIaWdoZXN0UHVzaFZhbHVlGhcKAmMzEhFVc2VyTGFzdFB1c2hCbG9jaxoYCgJjN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plCQAAAgAAAAECAAAAYVlvdSBoYXZlIHRvIGJlIHRoZSB1c2VyIHdpdGggdGhlIGhpZ2hlc3QgUHVzaCBhbmQgd2FpdCB0aWxsIGNvdW50b3duIGlzIGZpbmlzaGVkLCB0byBjbGFpbSBSZXdhcmQAAAACYTEBAAAACUFkZG1lbnRvcgAAAAEAAAACaTkEAAAAAmE3AQAAACD5rl2FqqDB81weFWSW9S5FyKYquYAb4MpXXcAlqscPUAQAAAACYTMBAAAAIAFshcLXQMYuV8Rzs8ULZ07fOlzF6BxYes7P/1GRlpktBAAAAAJqMQkAASwAAAACCQACWAAAAAEICAUAAAACYTEAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAdfTWVudG9yAwkBAAAAAiE9AAAAAgUAAAACaTkCAAAAAAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAACajEFAAAAAmk5BQAAAANuaWwJAAACAAAAAQIAAAAgTWVudG9yJ3MgQWRkcmVzcyBjYW5ub3QgYmUgZW1wdHkAAAAAEk/zrA==", "height": 1655509, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BAH2C3ZCC15gYAqnrdis2G26m7vMJ5W3QnL8ot255m9J Next: 5K6ZcbDo51SuAfdQhRYMdV1dHPYkafi8uk4HQJBUB8gV Diff:
Old | New | Differences | |
---|---|---|---|
596 | 596 | func delayprize () = { | |
597 | 597 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
598 | 598 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
599 | - | let DelayDays = ( | |
599 | + | let DelayDays = (1 * 1) | |
600 | 600 | let WaitTime = (1 * 1) | |
601 | 601 | let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken)) | |
602 | 602 | let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken) |
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 | if ((0 > amount)) | |
533 | 533 | then throw("Can't withdraw negative amount ") | |
534 | 534 | else if (((1000 * 100000000) > UserGovernTokenAmount)) | |
535 | 535 | then throw(("Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString((UserGovernTokenAmount / 100000000)))) | |
536 | 536 | 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)])) | |
537 | 537 | } | |
538 | 538 | ||
539 | 539 | ||
540 | 540 | ||
541 | 541 | @Callable(i) | |
542 | 542 | func HarvestGovernToiken (amount) = { | |
543 | 543 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
544 | 544 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
545 | 545 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
546 | 546 | let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings") | |
547 | 547 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
548 | 548 | case a: Int => | |
549 | 549 | a | |
550 | 550 | case _ => | |
551 | 551 | 0 | |
552 | 552 | } | |
553 | 553 | let PrizeAmount = match getInteger(this, "FundBox") { | |
554 | 554 | case a: Int => | |
555 | 555 | a | |
556 | 556 | case _ => | |
557 | 557 | 0 | |
558 | 558 | } | |
559 | 559 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
560 | 560 | case a: Int => | |
561 | 561 | a | |
562 | 562 | case _ => | |
563 | 563 | 0 | |
564 | 564 | } | |
565 | 565 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
566 | 566 | then (PrizeAmount == 0) | |
567 | 567 | else false) | |
568 | 568 | then 0 | |
569 | 569 | else if (if ((HeightTransactFundBox == 0)) | |
570 | 570 | then (PrizeAmount != 0) | |
571 | 571 | else false) | |
572 | 572 | then height | |
573 | 573 | else if (if ((HeightTransactFundBox != 0)) | |
574 | 574 | then (PrizeAmount != 0) | |
575 | 575 | else false) | |
576 | 576 | then HeightTransactFundBox | |
577 | 577 | else 0 | |
578 | 578 | let currentKey = toBase58String(i.caller.bytes) | |
579 | 579 | let currentAmount = match getInteger(this, UserGovernTokenKey) { | |
580 | 580 | case a: Int => | |
581 | 581 | a | |
582 | 582 | case _ => | |
583 | 583 | 0 | |
584 | 584 | } | |
585 | 585 | let newAmount = (currentAmount - amount) | |
586 | 586 | if ((0 > amount)) | |
587 | 587 | then throw("Can't withdraw negative amount") | |
588 | 588 | else if ((0 > newAmount)) | |
589 | 589 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000)))) | |
590 | 590 | else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmount), DataEntry("PrizeHeight", PrizeHeightValue)]), TransferSet([ScriptTransfer(i.caller, amount, GovernToken)])) | |
591 | 591 | } | |
592 | 592 | ||
593 | 593 | ||
594 | 594 | ||
595 | 595 | @Callable(i) | |
596 | 596 | func delayprize () = { | |
597 | 597 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
598 | 598 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
599 | - | let DelayDays = ( | |
599 | + | let DelayDays = (1 * 1) | |
600 | 600 | let WaitTime = (1 * 1) | |
601 | 601 | let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken)) | |
602 | 602 | let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken) | |
603 | 603 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
604 | 604 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
605 | 605 | case a: Int => | |
606 | 606 | a | |
607 | 607 | case _ => | |
608 | 608 | 0 | |
609 | 609 | } | |
610 | 610 | let PrizeAmount = match getInteger(this, "FundBox") { | |
611 | 611 | case a: Int => | |
612 | 612 | a | |
613 | 613 | case _ => | |
614 | 614 | 0 | |
615 | 615 | } | |
616 | 616 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
617 | 617 | case a: Int => | |
618 | 618 | a | |
619 | 619 | case _ => | |
620 | 620 | 0 | |
621 | 621 | } | |
622 | 622 | let ActualDelay = match getInteger(this, "Delay") { | |
623 | 623 | case a: Int => | |
624 | 624 | a | |
625 | 625 | case _ => | |
626 | 626 | 0 | |
627 | 627 | } | |
628 | 628 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
629 | 629 | then (PrizeAmount == 0) | |
630 | 630 | else false) | |
631 | 631 | then 0 | |
632 | 632 | else if (if ((HeightTransactFundBox == 0)) | |
633 | 633 | then (PrizeAmount != 0) | |
634 | 634 | else false) | |
635 | 635 | then height | |
636 | 636 | else if (if ((HeightTransactFundBox != 0)) | |
637 | 637 | then (PrizeAmount != 0) | |
638 | 638 | else false) | |
639 | 639 | then HeightTransactFundBox | |
640 | 640 | else 0 | |
641 | 641 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
642 | 642 | case a: Int => | |
643 | 643 | a | |
644 | 644 | case _ => | |
645 | 645 | 0 | |
646 | 646 | } | |
647 | 647 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
648 | 648 | case a: Int => | |
649 | 649 | a | |
650 | 650 | case _ => | |
651 | 651 | 0 | |
652 | 652 | } | |
653 | 653 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
654 | 654 | then (HighestPushValue > 0) | |
655 | 655 | else false) | |
656 | 656 | then "" | |
657 | 657 | else HighestPushAddress | |
658 | 658 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
659 | 659 | then (HighestPushValue > 0) | |
660 | 660 | else false) | |
661 | 661 | then height | |
662 | 662 | else PrizeHeightValue | |
663 | 663 | let ActualDelayCost = match getInteger(this, "DelayCost") { | |
664 | 664 | case a: Int => | |
665 | 665 | a | |
666 | 666 | case _ => | |
667 | 667 | 10 | |
668 | 668 | } | |
669 | 669 | let pmt = extract(i.payment) | |
670 | 670 | let DevBoxBalance = match getInteger(this, "DevBox") { | |
671 | 671 | case a: Int => | |
672 | 672 | a | |
673 | 673 | case _ => | |
674 | 674 | 0 | |
675 | 675 | } | |
676 | 676 | if (if (isDefined(pmt.assetId)) | |
677 | 677 | then (extract(pmt.assetId) == GovernToken) | |
678 | 678 | else false) | |
679 | 679 | then if ((PrizeAmount > 0)) | |
680 | 680 | then { | |
681 | 681 | let UserGovernTokenAmount = pmt.amount | |
682 | 682 | let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000)) | |
683 | 683 | let NewDelayCost = if ((ActualDelayCost == 0)) | |
684 | 684 | then 1000000000 | |
685 | 685 | else (2 * ActualDelayCost) | |
686 | 686 | if ((UserGovernTokenAmount >= NewDelayCost)) | |
687 | 687 | then { | |
688 | 688 | let NewDelay = (ActualDelay + DelayDays) | |
689 | 689 | WriteSet([DataEntry("Delay", NewDelay), DataEntry("DelayCost", NewDelayCost), DataEntry("PrizeHeight", PrizeHeightValueNew), DataEntry("DevBox", DevBoxAmount), DataEntry("HighestPushAddress", HighestPushAddressValue)]) | |
690 | 690 | } | |
691 | 691 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(NewDelayCost)) + "TROIKAs")) | |
692 | 692 | } | |
693 | 693 | else throw("You cannot delay the reward before reward is received! Please wait until a reward is available") | |
694 | 694 | else throw("Can Use only Troika Token to Delay Reward") | |
695 | 695 | } | |
696 | 696 | ||
697 | 697 | ||
698 | 698 | ||
699 | 699 | @Callable(i) | |
700 | 700 | func ClaimPrize () = { | |
701 | 701 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
702 | 702 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
703 | 703 | let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking") | |
704 | 704 | let UserPush = (toBase58String(i.caller.bytes) + "_Push") | |
705 | 705 | let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock") | |
706 | 706 | let minStakeBlock = 7 | |
707 | 707 | let minref = 0 | |
708 | 708 | let ContractGovTokenBalance = assetBalance(this, GovernToken) | |
709 | 709 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
710 | 710 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
711 | 711 | case a: Int => | |
712 | 712 | a | |
713 | 713 | case _ => | |
714 | 714 | 0 | |
715 | 715 | } | |
716 | 716 | let PrizeAmount = match getInteger(this, "FundBox") { | |
717 | 717 | case a: Int => | |
718 | 718 | a | |
719 | 719 | case _ => | |
720 | 720 | 0 | |
721 | 721 | } | |
722 | 722 | let UserPushValue = match getInteger(this, UserPush) { | |
723 | 723 | case a: Int => | |
724 | 724 | a | |
725 | 725 | case _ => | |
726 | 726 | 0 | |
727 | 727 | } | |
728 | 728 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
729 | 729 | case a: Int => | |
730 | 730 | a | |
731 | 731 | case _ => | |
732 | 732 | 0 | |
733 | 733 | } | |
734 | 734 | let UserStakedTokenAmount = match getInteger(this, UserStakedTokenKey) { | |
735 | 735 | case a: Int => | |
736 | 736 | a | |
737 | 737 | case _ => | |
738 | 738 | 0 | |
739 | 739 | } | |
740 | 740 | let ActualDelay = match getInteger(this, "Delay") { | |
741 | 741 | case a: Int => | |
742 | 742 | a | |
743 | 743 | case _ => | |
744 | 744 | 0 | |
745 | 745 | } | |
746 | 746 | let PrizeWinner = getStringValue(this, "HighestPushAddress") | |
747 | 747 | let PrizeHeight = match getInteger(this, "PrizeHeight") { | |
748 | 748 | case a: Int => | |
749 | 749 | a | |
750 | 750 | case _ => | |
751 | 751 | 0 | |
752 | 752 | } | |
753 | 753 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
754 | 754 | case a: Int => | |
755 | 755 | a | |
756 | 756 | case _ => | |
757 | 757 | 0 | |
758 | 758 | } | |
759 | 759 | let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs") | |
760 | 760 | let UserRefsNumValue = match getInteger(this, UserRefsNum) { | |
761 | 761 | case a: Int => | |
762 | 762 | a | |
763 | 763 | case _ => | |
764 | 764 | 0 | |
765 | 765 | } | |
766 | 766 | if (if ((PrizeAmount == 0)) | |
767 | 767 | then true | |
768 | 768 | else (10000000000 > ContractGovTokenBalance)) | |
769 | 769 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
770 | 770 | else if ((toBase58String(i.caller.bytes) != PrizeWinner)) | |
771 | 771 | then throw("You are not the winner hence cannot claim the reward ") | |
772 | 772 | else if (if ((100000000 > UserStakedTokenAmount)) | |
773 | 773 | then (minStakeBlock > UserLastStakeBlockValue) | |
774 | 774 | else false) | |
775 | 775 | then throw("You have to Stake ASIMI Token to claim reward ") | |
776 | 776 | else if (if ((height > (PrizeHeight + ActualDelay))) | |
777 | 777 | then (UserPushValue >= HighestPushValue) | |
778 | 778 | else false) | |
779 | 779 | then if ((UserRefsNumValue >= minref)) | |
780 | 780 | 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)])) | |
781 | 781 | else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize") | |
782 | 782 | else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward") | |
783 | 783 | } | |
784 | 784 | ||
785 | 785 | ||
786 | 786 | ||
787 | 787 | @Callable(i) | |
788 | 788 | func Addmentor (Mentor) = { | |
789 | 789 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
790 | 790 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
791 | 791 | let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor") | |
792 | 792 | if ((Mentor != "")) | |
793 | 793 | then WriteSet([DataEntry(UserMentorAddress, Mentor)]) | |
794 | 794 | else throw("Mentor's Address cannot be empty") | |
795 | 795 | } | |
796 | 796 | ||
797 | 797 |
github/deemru/w8io/026f985 73.21 ms ◑