tx · 888psQnvP4zQVcRzT8zjsXFPAbFNsivAr1mXCRwp4amT 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK: -0.01000000 Waves 2021.09.14 14:14 [1702624] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves
{ "type": 13, "id": "888psQnvP4zQVcRzT8zjsXFPAbFNsivAr1mXCRwp4amT", "fee": 1000000, "feeAssetId": null, "timestamp": 1631618147332, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "5q3Hv2dVw8H2UAsufJXNKxYiHCqnWk5Sn6cZDjTuRoMZmfBX2zDzMmaHuqtH4v2n7xmdoKzz8NGRHExKnsUzRZna" ], "script": "base64:AAIDAAAAAAAAB8MIARIAEgASABIDCgEBEgASAwoBARIAEgASAwoBCBoHCgJhMRIBaRoQCgJhMhIKY3VycmVudEtleRoRCgJhMxILR292ZXJuVG9rZW4aEgoCYTQSDERldkJveEFtb3VudBoNCgJhNRIHJG1hdGNoMBoHCgJhNhIBYRoRCgJhNxILU3Rha2VkVG9rZW4aEgoCYTgSDG1pblB1c2hCbG9jaxoTCgJhORINbWluU3Rha2VCbG9jaxoUCgJiMRIORGVsYXlBZnRlclB1c2gaDgoCYjISCFdhaXRUaW1lGgwKAmIzEgZtaW5yZWYaFAoCYjQSDkZpcnN0UHVzaFRpbWVyGh0KAmI1Ehd1c2VyV2FsbGV0R292ZXJuQmFsYW5jZRoJCgJiNhIDcG10Gg4KAmI3EghVc2VyUHVzaBoaCgJiOBIUVXNlckxhc3RQdXNoT2xkVmFsdWUaEQoCYjkSC1VzZXJSZWZzTnVtGhYKAmMxEhBVc2VyUmVmc051bVZhbHVlGhYKAmMyEhBIaWdoZXN0UHVzaFZhbHVlGhcKAmMzEhFVc2VyTGFzdFB1c2hCbG9jaxoYCgJjNBISV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AAAAIJAAJYAAAAAQgIBQAAAAJhMQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAB19NZW50b3IDCQEAAAACIT0AAAACBQAAAAJqMgIAAAAACQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAJqMwUAAAACajIFAAAAA25pbAkAAAIAAAABAgAAACBNZW50b3IncyBBZGRyZXNzIGNhbm5vdCBiZSBlbXB0eQAAAABljN0K", "height": 1702624, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7HBmDRgBTjYgbkyjGAKkSKVQe22YX3wEU6ohjEjthBPQ Next: CrEDcPdALoDYvSdie1ByGgAVc5b16Q5QoV6BzLyBnsDu Diff:
Old | New | Differences | |
---|---|---|---|
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 | + | let UserWeekEarnings = (toBase58String(i.caller.bytes) + "_WeekEarning") | |
206 | 207 | let UserStakeTransactions = match getInteger(this, UserStakeTransactionsKey) { | |
207 | 208 | case a: Int => | |
208 | 209 | a | |
263 | 264 | } | |
264 | 265 | let StakeBalanceAmount = (StakeBalance + pmt.amount) | |
265 | 266 | let PrizeAmount = match getInteger(this, "FundBox") { | |
267 | + | case a: Int => | |
268 | + | a | |
269 | + | case _ => | |
270 | + | 0 | |
271 | + | } | |
272 | + | let UserWeekEarningsValue = match getInteger(this, UserWeekEarnings) { | |
266 | 273 | case a: Int => | |
267 | 274 | a | |
268 | 275 | case _ => | |
333 | 340 | then ((100 * Reward) / currentAmountGovernToken) | |
334 | 341 | else 0 | |
335 | 342 | let newAmountGovernToken = (currentAmountGovernToken + Reward) | |
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)])) | |
343 | + | 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), DataEntry(UserWeekEarnings, UserWeekEarningsValue)]), TransferSet([ScriptTransfer(i.caller, Reward, GovernToken)])) | |
337 | 344 | } | |
338 | 345 | } | |
339 | 346 | else throw("Can deposit only StakeToken") |
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("FundBox", 0), DataEntry("BigStakerRewardTotal", 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 | + | let UserWeekEarnings = (toBase58String(i.caller.bytes) + "_WeekEarning") | |
206 | 207 | let UserStakeTransactions = match getInteger(this, UserStakeTransactionsKey) { | |
207 | 208 | case a: Int => | |
208 | 209 | a | |
209 | 210 | case _ => | |
210 | 211 | 0 | |
211 | 212 | } | |
212 | 213 | let MaxDepositer = getStringValue(this, "MaxDepositer") | |
213 | 214 | let MaxDepositBlock = match getInteger(this, "MaxDepositBlock") { | |
214 | 215 | case a: Int => | |
215 | 216 | a | |
216 | 217 | case _ => | |
217 | 218 | 0 | |
218 | 219 | } | |
219 | 220 | let MaxDeposit = match getInteger(this, "MaxDeposit") { | |
220 | 221 | case a: Int => | |
221 | 222 | a | |
222 | 223 | case _ => | |
223 | 224 | 0 | |
224 | 225 | } | |
225 | 226 | let MaxDepositerValue = if ((pmt.amount > MaxDeposit)) | |
226 | 227 | then toBase58String(i.caller.bytes) | |
227 | 228 | else MaxDepositer | |
228 | 229 | let MaxDepositValue = if ((pmt.amount > MaxDeposit)) | |
229 | 230 | then pmt.amount | |
230 | 231 | else MaxDeposit | |
231 | 232 | let MaxDepositBlockValue = if ((pmt.amount > MaxDeposit)) | |
232 | 233 | then height | |
233 | 234 | else MaxDepositBlock | |
234 | 235 | let UserPushValue = match getInteger(this, UserPush) { | |
235 | 236 | case a: Int => | |
236 | 237 | a | |
237 | 238 | case _ => | |
238 | 239 | 0 | |
239 | 240 | } | |
240 | 241 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
241 | 242 | case a: Int => | |
242 | 243 | a | |
243 | 244 | case _ => | |
244 | 245 | 0 | |
245 | 246 | } | |
246 | 247 | let UserLastStakeBlockNewValue = if ((UserLastStakeBlockValue == 0)) | |
247 | 248 | then height | |
248 | 249 | else UserLastStakeBlockValue | |
249 | 250 | let NewUserStakeTransactions = (UserStakeTransactions + 1) | |
250 | 251 | let currentAmountStakedToken = match getInteger(this, UserStakedTokenKey) { | |
251 | 252 | case a: Int => | |
252 | 253 | a | |
253 | 254 | case _ => | |
254 | 255 | 0 | |
255 | 256 | } | |
256 | 257 | let newAmountStakedToken = (currentAmountStakedToken + pmt.amount) | |
257 | 258 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
258 | 259 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
259 | 260 | case a: Int => | |
260 | 261 | a | |
261 | 262 | case _ => | |
262 | 263 | 0 | |
263 | 264 | } | |
264 | 265 | let StakeBalanceAmount = (StakeBalance + pmt.amount) | |
265 | 266 | let PrizeAmount = match getInteger(this, "FundBox") { | |
267 | + | case a: Int => | |
268 | + | a | |
269 | + | case _ => | |
270 | + | 0 | |
271 | + | } | |
272 | + | let UserWeekEarningsValue = match getInteger(this, UserWeekEarnings) { | |
266 | 273 | case a: Int => | |
267 | 274 | a | |
268 | 275 | case _ => | |
269 | 276 | 0 | |
270 | 277 | } | |
271 | 278 | let currentAmountGovernToken = match getInteger(this, UserGovernTokenKey) { | |
272 | 279 | case a: Int => | |
273 | 280 | a | |
274 | 281 | case _ => | |
275 | 282 | 0 | |
276 | 283 | } | |
277 | 284 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
278 | 285 | case a: Int => | |
279 | 286 | a | |
280 | 287 | case _ => | |
281 | 288 | 0 | |
282 | 289 | } | |
283 | 290 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
284 | 291 | then (PrizeAmount == 0) | |
285 | 292 | else false) | |
286 | 293 | then 0 | |
287 | 294 | else if (if ((HeightTransactFundBox == 0)) | |
288 | 295 | then (PrizeAmount != 0) | |
289 | 296 | else false) | |
290 | 297 | then height | |
291 | 298 | else if (if ((HeightTransactFundBox != 0)) | |
292 | 299 | then (PrizeAmount != 0) | |
293 | 300 | else false) | |
294 | 301 | then HeightTransactFundBox | |
295 | 302 | else 0 | |
296 | 303 | let ActualDelay = match getInteger(this, "Delay") { | |
297 | 304 | case a: Int => | |
298 | 305 | a | |
299 | 306 | case _ => | |
300 | 307 | 0 | |
301 | 308 | } | |
302 | 309 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
303 | 310 | case a: Int => | |
304 | 311 | a | |
305 | 312 | case _ => | |
306 | 313 | 0 | |
307 | 314 | } | |
308 | 315 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
309 | 316 | case a: Int => | |
310 | 317 | a | |
311 | 318 | case _ => | |
312 | 319 | 0 | |
313 | 320 | } | |
314 | 321 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
315 | 322 | then (HighestPushValue > 0) | |
316 | 323 | else false) | |
317 | 324 | then "" | |
318 | 325 | else HighestPushAddress | |
319 | 326 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
320 | 327 | then (HighestPushValue > 0) | |
321 | 328 | else false) | |
322 | 329 | then height | |
323 | 330 | else PrizeHeightValue | |
324 | 331 | if ((100000000 > GovernTokenSmartContractBalance)) | |
325 | 332 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
326 | 333 | else { | |
327 | 334 | let Reward = if ((StakeBalance == 0)) | |
328 | 335 | then 10000 | |
329 | 336 | else if ((NewUserStakeTransactions > 10)) | |
330 | 337 | then ((10000 * NewUserStakeTransactions) * (1 + (newAmountStakedToken / StakeBalance))) | |
331 | 338 | else (10000 * (1 + (newAmountStakedToken / StakeBalance))) | |
332 | 339 | let UserAPYValue = if ((currentAmountGovernToken > 0)) | |
333 | 340 | then ((100 * Reward) / currentAmountGovernToken) | |
334 | 341 | else 0 | |
335 | 342 | let newAmountGovernToken = (currentAmountGovernToken + Reward) | |
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)])) | |
343 | + | 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), DataEntry(UserWeekEarnings, UserWeekEarningsValue)]), TransferSet([ScriptTransfer(i.caller, Reward, GovernToken)])) | |
337 | 344 | } | |
338 | 345 | } | |
339 | 346 | else throw("Can deposit only StakeToken") | |
340 | 347 | } | |
341 | 348 | ||
342 | 349 | ||
343 | 350 | ||
344 | 351 | @Callable(i) | |
345 | 352 | func WithdrawStakedFunds (amount) = { | |
346 | 353 | let WaitTime = (1 * 1) | |
347 | 354 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
348 | 355 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
349 | 356 | let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock") | |
350 | 357 | let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking") | |
351 | 358 | let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken)) | |
352 | 359 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
353 | 360 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
354 | 361 | case a: Int => | |
355 | 362 | a | |
356 | 363 | case _ => | |
357 | 364 | 0 | |
358 | 365 | } | |
359 | 366 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
360 | 367 | case a: Int => | |
361 | 368 | a | |
362 | 369 | case _ => | |
363 | 370 | 0 | |
364 | 371 | } | |
365 | 372 | let PrizeAmount = match getInteger(this, "FundBox") { | |
366 | 373 | case a: Int => | |
367 | 374 | a | |
368 | 375 | case _ => | |
369 | 376 | 0 | |
370 | 377 | } | |
371 | 378 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
372 | 379 | case a: Int => | |
373 | 380 | a | |
374 | 381 | case _ => | |
375 | 382 | 0 | |
376 | 383 | } | |
377 | 384 | let ActualDelay = match getInteger(this, "Delay") { | |
378 | 385 | case a: Int => | |
379 | 386 | a | |
380 | 387 | case _ => | |
381 | 388 | 0 | |
382 | 389 | } | |
383 | 390 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
384 | 391 | case a: Int => | |
385 | 392 | a | |
386 | 393 | case _ => | |
387 | 394 | 0 | |
388 | 395 | } | |
389 | 396 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
390 | 397 | then (PrizeAmount == 0) | |
391 | 398 | else false) | |
392 | 399 | then 0 | |
393 | 400 | else if (if ((HeightTransactFundBox == 0)) | |
394 | 401 | then (PrizeAmount != 0) | |
395 | 402 | else false) | |
396 | 403 | then height | |
397 | 404 | else if (if ((HeightTransactFundBox != 0)) | |
398 | 405 | then (PrizeAmount != 0) | |
399 | 406 | else false) | |
400 | 407 | then HeightTransactFundBox | |
401 | 408 | else 0 | |
402 | 409 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
403 | 410 | case a: Int => | |
404 | 411 | a | |
405 | 412 | case _ => | |
406 | 413 | 0 | |
407 | 414 | } | |
408 | 415 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
409 | 416 | then (HighestPushValue > 0) | |
410 | 417 | else false) | |
411 | 418 | then "" | |
412 | 419 | else HighestPushAddress | |
413 | 420 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
414 | 421 | then (HighestPushValue > 0) | |
415 | 422 | else false) | |
416 | 423 | then height | |
417 | 424 | else PrizeHeightValue | |
418 | 425 | let currentKey = toBase58String(i.caller.bytes) | |
419 | 426 | let currentAmount = match getInteger(this, UserStakedTokenKey) { | |
420 | 427 | case a: Int => | |
421 | 428 | a | |
422 | 429 | case _ => | |
423 | 430 | 0 | |
424 | 431 | } | |
425 | 432 | let newAmount = (currentAmount - amount) | |
426 | 433 | let StakeBalanceAmount = (StakeBalance - amount) | |
427 | 434 | let UserLastStakeBlockNewValue = if ((StakeBalanceAmount == 0)) | |
428 | 435 | then 0 | |
429 | 436 | else UserLastStakeBlockValue | |
430 | 437 | if ((0 > amount)) | |
431 | 438 | then throw("Can't withdraw negative amount") | |
432 | 439 | else if ((0 > newAmount)) | |
433 | 440 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000)))) | |
434 | 441 | else if ((100000000 > assetBalance(this, GovernToken))) | |
435 | 442 | then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, GovernToken) / 100000000)))) | |
436 | 443 | 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 | 444 | } | |
438 | 445 | ||
439 | 446 | ||
440 | 447 | ||
441 | 448 | @Callable(i) | |
442 | 449 | func WithdrawBigStakeReward () = { | |
443 | 450 | let WaitTime = (1 * 1) | |
444 | 451 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
445 | 452 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
446 | 453 | let LastBigStakerRewardBlock = (toBase58String(i.caller.bytes) + "LastBigStakerRewardBlock") | |
447 | 454 | let BigStakerReward = (toBase58String(i.caller.bytes) + "_BigStaker") | |
448 | 455 | let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings") | |
449 | 456 | let LimiWithdrawReward = 1 | |
450 | 457 | let UserGovernTokenAmount = match getInteger(this, UserGovernTokenKey) { | |
451 | 458 | case a: Int => | |
452 | 459 | a | |
453 | 460 | case _ => | |
454 | 461 | 0 | |
455 | 462 | } | |
456 | 463 | let LastBigStakerRewardBlockValue = match getInteger(this, LastBigStakerRewardBlock) { | |
457 | 464 | case a: Int => | |
458 | 465 | a | |
459 | 466 | case _ => | |
460 | 467 | 0 | |
461 | 468 | } | |
462 | 469 | let BigStakerRewardTotalValue = match getInteger(this, "BigStakerRewardTotal") { | |
463 | 470 | case a: Int => | |
464 | 471 | a | |
465 | 472 | case _ => | |
466 | 473 | 0 | |
467 | 474 | } | |
468 | 475 | let PrizeAmount = match getInteger(this, "FundBox") { | |
469 | 476 | case a: Int => | |
470 | 477 | a | |
471 | 478 | case _ => | |
472 | 479 | 0 | |
473 | 480 | } | |
474 | 481 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
475 | 482 | case a: Int => | |
476 | 483 | a | |
477 | 484 | case _ => | |
478 | 485 | 0 | |
479 | 486 | } | |
480 | 487 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
481 | 488 | then (PrizeAmount == 0) | |
482 | 489 | else false) | |
483 | 490 | then 0 | |
484 | 491 | else if (if ((HeightTransactFundBox == 0)) | |
485 | 492 | then (PrizeAmount != 0) | |
486 | 493 | else false) | |
487 | 494 | then height | |
488 | 495 | else if (if ((HeightTransactFundBox != 0)) | |
489 | 496 | then (PrizeAmount != 0) | |
490 | 497 | else false) | |
491 | 498 | then HeightTransactFundBox | |
492 | 499 | else 0 | |
493 | 500 | let ActualDelay = match getInteger(this, "Delay") { | |
494 | 501 | case a: Int => | |
495 | 502 | a | |
496 | 503 | case _ => | |
497 | 504 | 0 | |
498 | 505 | } | |
499 | 506 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
500 | 507 | case a: Int => | |
501 | 508 | a | |
502 | 509 | case _ => | |
503 | 510 | 0 | |
504 | 511 | } | |
505 | 512 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
506 | 513 | case a: Int => | |
507 | 514 | a | |
508 | 515 | case _ => | |
509 | 516 | 0 | |
510 | 517 | } | |
511 | 518 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
512 | 519 | then (HighestPushValue > 0) | |
513 | 520 | else false) | |
514 | 521 | then "" | |
515 | 522 | else HighestPushAddress | |
516 | 523 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
517 | 524 | then (HighestPushValue > 0) | |
518 | 525 | else false) | |
519 | 526 | then height | |
520 | 527 | else PrizeHeightValue | |
521 | 528 | let currentKey = toBase58String(i.caller.bytes) | |
522 | 529 | let amount = match getInteger(this, BigStakerReward) { | |
523 | 530 | case a: Int => | |
524 | 531 | a | |
525 | 532 | case _ => | |
526 | 533 | 0 | |
527 | 534 | } | |
528 | 535 | let StakeBalanceAmount = (BigStakerRewardTotalValue - amount) | |
529 | 536 | let BigStakerRewardTax = if ((0 > ((UserGovernTokenAmount / 1000) * (1000 - ((1000 * (height - LastBigStakerRewardBlockValue)) / (LimiWithdrawReward * 1440)))))) | |
530 | 537 | then 100000000 | |
531 | 538 | else ((UserGovernTokenAmount / 1000) * (1000 - ((1000 * (height - LastBigStakerRewardBlockValue)) / (LimiWithdrawReward * 1440)))) | |
532 | 539 | if ((0 > amount)) | |
533 | 540 | then throw("Can't withdraw negative amount ") | |
534 | 541 | else if (if (((1000 * 100000000) > UserGovernTokenAmount)) | |
535 | 542 | then (1 > amount) | |
536 | 543 | else false) | |
537 | 544 | 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)))) | |
538 | 545 | 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)])) | |
539 | 546 | } | |
540 | 547 | ||
541 | 548 | ||
542 | 549 | ||
543 | 550 | @Callable(i) | |
544 | 551 | func HarvestGovernToiken (amount) = { | |
545 | 552 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
546 | 553 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
547 | 554 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
548 | 555 | let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings") | |
549 | 556 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
550 | 557 | case a: Int => | |
551 | 558 | a | |
552 | 559 | case _ => | |
553 | 560 | 0 | |
554 | 561 | } | |
555 | 562 | let PrizeAmount = match getInteger(this, "FundBox") { | |
556 | 563 | case a: Int => | |
557 | 564 | a | |
558 | 565 | case _ => | |
559 | 566 | 0 | |
560 | 567 | } | |
561 | 568 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
562 | 569 | case a: Int => | |
563 | 570 | a | |
564 | 571 | case _ => | |
565 | 572 | 0 | |
566 | 573 | } | |
567 | 574 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
568 | 575 | then (PrizeAmount == 0) | |
569 | 576 | else false) | |
570 | 577 | then 0 | |
571 | 578 | else if (if ((HeightTransactFundBox == 0)) | |
572 | 579 | then (PrizeAmount != 0) | |
573 | 580 | else false) | |
574 | 581 | then height | |
575 | 582 | else if (if ((HeightTransactFundBox != 0)) | |
576 | 583 | then (PrizeAmount != 0) | |
577 | 584 | else false) | |
578 | 585 | then HeightTransactFundBox | |
579 | 586 | else 0 | |
580 | 587 | let currentKey = toBase58String(i.caller.bytes) | |
581 | 588 | let currentAmount = match getInteger(this, UserGovernTokenKey) { | |
582 | 589 | case a: Int => | |
583 | 590 | a | |
584 | 591 | case _ => | |
585 | 592 | 0 | |
586 | 593 | } | |
587 | 594 | let newAmount = (currentAmount - amount) | |
588 | 595 | if ((0 > amount)) | |
589 | 596 | then throw("Can't withdraw negative amount") | |
590 | 597 | else if ((0 > newAmount)) | |
591 | 598 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000)))) | |
592 | 599 | else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmount), DataEntry("PrizeHeight", PrizeHeightValue)]), TransferSet([ScriptTransfer(i.caller, amount, GovernToken)])) | |
593 | 600 | } | |
594 | 601 | ||
595 | 602 | ||
596 | 603 | ||
597 | 604 | @Callable(i) | |
598 | 605 | func delayprize () = { | |
599 | 606 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
600 | 607 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
601 | 608 | let DelayDays = (1 * 1) | |
602 | 609 | let WaitTime = (1 * 1) | |
603 | 610 | let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken)) | |
604 | 611 | let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken) | |
605 | 612 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
606 | 613 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
607 | 614 | case a: Int => | |
608 | 615 | a | |
609 | 616 | case _ => | |
610 | 617 | 0 | |
611 | 618 | } | |
612 | 619 | let PrizeAmount = match getInteger(this, "FundBox") { | |
613 | 620 | case a: Int => | |
614 | 621 | a | |
615 | 622 | case _ => | |
616 | 623 | 0 | |
617 | 624 | } | |
618 | 625 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
619 | 626 | case a: Int => | |
620 | 627 | a | |
621 | 628 | case _ => | |
622 | 629 | 0 | |
623 | 630 | } | |
624 | 631 | let ActualDelay = match getInteger(this, "Delay") { | |
625 | 632 | case a: Int => | |
626 | 633 | a | |
627 | 634 | case _ => | |
628 | 635 | 0 | |
629 | 636 | } | |
630 | 637 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
631 | 638 | then (PrizeAmount == 0) | |
632 | 639 | else false) | |
633 | 640 | then 0 | |
634 | 641 | else if (if ((HeightTransactFundBox == 0)) | |
635 | 642 | then (PrizeAmount != 0) | |
636 | 643 | else false) | |
637 | 644 | then height | |
638 | 645 | else if (if ((HeightTransactFundBox != 0)) | |
639 | 646 | then (PrizeAmount != 0) | |
640 | 647 | else false) | |
641 | 648 | then HeightTransactFundBox | |
642 | 649 | else 0 | |
643 | 650 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
644 | 651 | case a: Int => | |
645 | 652 | a | |
646 | 653 | case _ => | |
647 | 654 | 0 | |
648 | 655 | } | |
649 | 656 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
650 | 657 | case a: Int => | |
651 | 658 | a | |
652 | 659 | case _ => | |
653 | 660 | 0 | |
654 | 661 | } | |
655 | 662 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
656 | 663 | then (HighestPushValue > 0) | |
657 | 664 | else false) | |
658 | 665 | then "" | |
659 | 666 | else HighestPushAddress | |
660 | 667 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
661 | 668 | then (HighestPushValue > 0) | |
662 | 669 | else false) | |
663 | 670 | then height | |
664 | 671 | else PrizeHeightValue | |
665 | 672 | let ActualDelayCost = match getInteger(this, "DelayCost") { | |
666 | 673 | case a: Int => | |
667 | 674 | a | |
668 | 675 | case _ => | |
669 | 676 | 10 | |
670 | 677 | } | |
671 | 678 | let pmt = extract(i.payment) | |
672 | 679 | let DevBoxBalance = match getInteger(this, "DevBox") { | |
673 | 680 | case a: Int => | |
674 | 681 | a | |
675 | 682 | case _ => | |
676 | 683 | 0 | |
677 | 684 | } | |
678 | 685 | if (if (isDefined(pmt.assetId)) | |
679 | 686 | then (extract(pmt.assetId) == GovernToken) | |
680 | 687 | else false) | |
681 | 688 | then if ((PrizeAmount > 0)) | |
682 | 689 | then { | |
683 | 690 | let UserGovernTokenAmount = pmt.amount | |
684 | 691 | let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000)) | |
685 | 692 | let NewDelayCost = if ((ActualDelayCost == 0)) | |
686 | 693 | then 1000000000 | |
687 | 694 | else (2 * ActualDelayCost) | |
688 | 695 | if ((UserGovernTokenAmount >= NewDelayCost)) | |
689 | 696 | then { | |
690 | 697 | let NewDelay = (ActualDelay + DelayDays) | |
691 | 698 | WriteSet([DataEntry("Delay", NewDelay), DataEntry("DelayCost", NewDelayCost), DataEntry("PrizeHeight", PrizeHeightValueNew), DataEntry("DevBox", DevBoxAmount), DataEntry("HighestPushAddress", HighestPushAddressValue)]) | |
692 | 699 | } | |
693 | 700 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(NewDelayCost)) + "TROIKAs")) | |
694 | 701 | } | |
695 | 702 | else throw("You cannot delay the reward before reward is received! Please wait until a reward is available") | |
696 | 703 | else throw("Can Use only Troika Token to Delay Reward") | |
697 | 704 | } | |
698 | 705 | ||
699 | 706 | ||
700 | 707 | ||
701 | 708 | @Callable(i) | |
702 | 709 | func ClaimPrize () = { | |
703 | 710 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
704 | 711 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
705 | 712 | let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking") | |
706 | 713 | let UserPush = (toBase58String(i.caller.bytes) + "_Push") | |
707 | 714 | let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock") | |
708 | 715 | let minStakeBlock = 7 | |
709 | 716 | let minref = 0 | |
710 | 717 | let ContractGovTokenBalance = assetBalance(this, GovernToken) | |
711 | 718 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
712 | 719 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
713 | 720 | case a: Int => | |
714 | 721 | a | |
715 | 722 | case _ => | |
716 | 723 | 0 | |
717 | 724 | } | |
718 | 725 | let PrizeAmount = match getInteger(this, "FundBox") { | |
719 | 726 | case a: Int => | |
720 | 727 | a | |
721 | 728 | case _ => | |
722 | 729 | 0 | |
723 | 730 | } | |
724 | 731 | let UserPushValue = match getInteger(this, UserPush) { | |
725 | 732 | case a: Int => | |
726 | 733 | a | |
727 | 734 | case _ => | |
728 | 735 | 0 | |
729 | 736 | } | |
730 | 737 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
731 | 738 | case a: Int => | |
732 | 739 | a | |
733 | 740 | case _ => | |
734 | 741 | 0 | |
735 | 742 | } | |
736 | 743 | let UserStakedTokenAmount = match getInteger(this, UserStakedTokenKey) { | |
737 | 744 | case a: Int => | |
738 | 745 | a | |
739 | 746 | case _ => | |
740 | 747 | 0 | |
741 | 748 | } | |
742 | 749 | let ActualDelay = match getInteger(this, "Delay") { | |
743 | 750 | case a: Int => | |
744 | 751 | a | |
745 | 752 | case _ => | |
746 | 753 | 0 | |
747 | 754 | } | |
748 | 755 | let PrizeWinner = getStringValue(this, "HighestPushAddress") | |
749 | 756 | let PrizeHeight = match getInteger(this, "PrizeHeight") { | |
750 | 757 | case a: Int => | |
751 | 758 | a | |
752 | 759 | case _ => | |
753 | 760 | 0 | |
754 | 761 | } | |
755 | 762 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
756 | 763 | case a: Int => | |
757 | 764 | a | |
758 | 765 | case _ => | |
759 | 766 | 0 | |
760 | 767 | } | |
761 | 768 | let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs") | |
762 | 769 | let UserRefsNumValue = match getInteger(this, UserRefsNum) { | |
763 | 770 | case a: Int => | |
764 | 771 | a | |
765 | 772 | case _ => | |
766 | 773 | 0 | |
767 | 774 | } | |
768 | 775 | if (if ((PrizeAmount == 0)) | |
769 | 776 | then true | |
770 | 777 | else (10000000000 > ContractGovTokenBalance)) | |
771 | 778 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
772 | 779 | else if ((toBase58String(i.caller.bytes) != PrizeWinner)) | |
773 | 780 | then throw("You are not the winner hence cannot claim the reward ") | |
774 | 781 | else if (if ((100000000 > UserStakedTokenAmount)) | |
775 | 782 | then (minStakeBlock > UserLastStakeBlockValue) | |
776 | 783 | else false) | |
777 | 784 | then throw("You have to Stake ASIMI Token to claim reward ") | |
778 | 785 | else if (if ((height > (PrizeHeight + ActualDelay))) | |
779 | 786 | then (UserPushValue >= HighestPushValue) | |
780 | 787 | else false) | |
781 | 788 | then if ((UserRefsNumValue >= minref)) | |
782 | 789 | 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)])) | |
783 | 790 | else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize") | |
784 | 791 | else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward") | |
785 | 792 | } | |
786 | 793 | ||
787 | 794 | ||
788 | 795 | ||
789 | 796 | @Callable(i) | |
790 | 797 | func Addmentor (Mentor) = { | |
791 | 798 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
792 | 799 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
793 | 800 | let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor") | |
794 | 801 | if ((Mentor != "")) | |
795 | 802 | then WriteSet([DataEntry(UserMentorAddress, Mentor)]) | |
796 | 803 | else throw("Mentor's Address cannot be empty") | |
797 | 804 | } | |
798 | 805 | ||
799 | 806 |
github/deemru/w8io/169f3d6 74.43 ms ◑