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