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