tx · 8yParr3mjJefsP7mm1PRHecJg9x4HW6tjYMjyD6be3V8 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK: -0.01000000 Waves 2021.09.26 13:13 [1719784] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves
{ "type": 13, "id": "8yParr3mjJefsP7mm1PRHecJg9x4HW6tjYMjyD6be3V8", "fee": 1000000, "feeAssetId": null, "timestamp": 1632651342477, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "ooa6gvUUPDDuQVXg9NfxiZtTcZMchDJx9XJb7NkiHgNQqSKLk1DF21HUj6i59u5qEUpLqrpBYp13Vb3ov6Eycvo" ], "script": "base64:AAIDAAAAAAAAB8UIARIAEgASABIAEgMKAQESABIDCgEBEgASABIDCgEIGgcKAmExEgFpGhAKAmEyEgpjdXJyZW50S2V5GhEKAmEzEgtHb3Zlcm5Ub2tlbhoSCgJhNBIMRGV2Qm94QW1vdW50Gg0KAmE1EgckbWF0Y2gwGgcKAmE2EgFhGhEKAmE3EgtTdGFrZWRUb2tlbhogCgJhOBIaQ29udHJhY3RXYWxsZXRTdGFrZUJhbGFuY2UaEgoCYTkSDE1heERlcG9zaXRlchoYCgJiMRISVXNlckdvdmVyblRva2VuS2V5GhIKAmIyEgxTdGFrZUJhbGFuY2UaEQoCYjMSC1ByaXplQW1vdW50GhsKAmI0EhVIZWlnaHRUcmFuc2FjdEZ1bmRCb3gaFgoCYjUSEFByaXplSGVpZ2h0VmFsdWUaDwoCYjYSCW5ld0Ftb3VudBoSCgJiNxIMbWluUHVzaEJsb2NrGhMKAmI4Eg1taW5TdGFrZUJsb2NrGhQKAmI5Eg5EZWxheUFmdGVyUHVzaBoOCgJjMRIIV2FpdFRpbWUaDAoCYzISBm1pbnJlZhoUCgJjMxIORmlyc3RQd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AAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAJqMwUAAAACajIFAAAAA25pbAkAAAIAAAABAgAAACBNZW50b3IncyBBZGRyZXNzIGNhbm5vdCBiZSBlbXB0eQAAAABEdrmF", "height": 1719784, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 52xCCNcWnK9XUgFp76PLntvemC9oS3jiPnJeJyRkbURt Next: 9QpLEzAg6bYKYn5tNJEf7AtUofQfdA2qNKUJD1VfJwnF Diff:
Old | New | Differences | |
---|---|---|---|
17 | 17 | } | |
18 | 18 | if ((0 > DevBoxAmount)) | |
19 | 19 | then throw("Not enough balance") | |
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)])) | |
20 | + | else ScriptResult(WriteSet([DataEntry("DevBox", 0), DataEntry("Delay", 0), DataEntry("FundBox", 0), DataEntry("BigStakerRewardTotal", 0), DataEntry("PrizeHeight", height), DataEntry("StakeBalance", height)]), TransferSet([ScriptTransfer(i.caller, DevBoxAmount, GovernToken)])) | |
21 | 21 | } | |
22 | 22 | else throw("You cannot withdraw as your are not the Dev.") | |
23 | 23 | } |
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 | - | else ScriptResult(WriteSet([DataEntry("DevBox", 0), DataEntry("Delay", 0), DataEntry("FundBox", 0), DataEntry("BigStakerRewardTotal", 0), DataEntry("PrizeHeight", height)]), TransferSet([ScriptTransfer(i.caller, DevBoxAmount, GovernToken)])) | |
20 | + | else ScriptResult(WriteSet([DataEntry("DevBox", 0), DataEntry("Delay", 0), DataEntry("FundBox", 0), DataEntry("BigStakerRewardTotal", 0), DataEntry("PrizeHeight", height), DataEntry("StakeBalance", 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 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 UserGovernTokenKey = (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, UserGovernTokenKey) { | |
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(UserGovernTokenKey, 0), DataEntry("PrizeHeight", PrizeHeightValue), DataEntry("MaxDeposit", 0)]), TransferSet([ScriptTransfer(i.caller, newAmount, GovernToken)])) | |
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 = 1 | |
88 | 88 | let WaitTime = (1 * 1) | |
89 | 89 | let minref = 0 | |
90 | 90 | let FirstPushTimer = 1 | |
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 = (1 * 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 = (1 * 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 = (1 * 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 = 1 | |
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 ") | |
595 | 595 | else if (if (((1000 * 100000000) > UserGovernTokenAmount)) | |
596 | 596 | then (1 > amount) | |
597 | 597 | else false) | |
598 | 598 | 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)))) | |
599 | 599 | 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)])) | |
600 | 600 | } | |
601 | 601 | ||
602 | 602 | ||
603 | 603 | ||
604 | 604 | @Callable(i) | |
605 | 605 | func HarvestGovernToiken (amount) = { | |
606 | 606 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
607 | 607 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
608 | 608 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
609 | 609 | let UserGovernTokenKey = (toBase58String(i.caller.bytes) + "_Earnings") | |
610 | 610 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
611 | 611 | case a: Int => | |
612 | 612 | a | |
613 | 613 | case _ => | |
614 | 614 | 0 | |
615 | 615 | } | |
616 | 616 | let PrizeAmount = match getInteger(this, "FundBox") { | |
617 | 617 | case a: Int => | |
618 | 618 | a | |
619 | 619 | case _ => | |
620 | 620 | 0 | |
621 | 621 | } | |
622 | 622 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
623 | 623 | case a: Int => | |
624 | 624 | a | |
625 | 625 | case _ => | |
626 | 626 | 0 | |
627 | 627 | } | |
628 | 628 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
629 | 629 | then (PrizeAmount == 0) | |
630 | 630 | else false) | |
631 | 631 | then 0 | |
632 | 632 | else if (if ((HeightTransactFundBox == 0)) | |
633 | 633 | then (PrizeAmount != 0) | |
634 | 634 | else false) | |
635 | 635 | then height | |
636 | 636 | else if (if ((HeightTransactFundBox != 0)) | |
637 | 637 | then (PrizeAmount != 0) | |
638 | 638 | else false) | |
639 | 639 | then HeightTransactFundBox | |
640 | 640 | else 0 | |
641 | 641 | let currentKey = toBase58String(i.caller.bytes) | |
642 | 642 | let currentAmount = match getInteger(this, UserGovernTokenKey) { | |
643 | 643 | case a: Int => | |
644 | 644 | a | |
645 | 645 | case _ => | |
646 | 646 | 0 | |
647 | 647 | } | |
648 | 648 | let newAmount = (currentAmount - amount) | |
649 | 649 | if ((0 > amount)) | |
650 | 650 | then throw("Can't withdraw negative amount") | |
651 | 651 | else if ((0 > newAmount)) | |
652 | 652 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((currentAmount / 100000000)))) | |
653 | 653 | else ScriptResult(WriteSet([DataEntry(UserGovernTokenKey, newAmount), DataEntry("PrizeHeight", PrizeHeightValue)]), TransferSet([ScriptTransfer(i.caller, amount, GovernToken)])) | |
654 | 654 | } | |
655 | 655 | ||
656 | 656 | ||
657 | 657 | ||
658 | 658 | @Callable(i) | |
659 | 659 | func delayprize () = { | |
660 | 660 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
661 | 661 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
662 | 662 | let DelayDays = (1 * 1) | |
663 | 663 | let WaitTime = (1 * 1) | |
664 | 664 | let UserGovernTokenKey = ((toBase58String(i.caller.bytes) + "_") + toBase58String(GovernToken)) | |
665 | 665 | let UserWalletSGovernBalance = assetBalance(Address(i.caller.bytes), GovernToken) | |
666 | 666 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
667 | 667 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
668 | 668 | case a: Int => | |
669 | 669 | a | |
670 | 670 | case _ => | |
671 | 671 | 0 | |
672 | 672 | } | |
673 | 673 | let PrizeAmount = match getInteger(this, "FundBox") { | |
674 | 674 | case a: Int => | |
675 | 675 | a | |
676 | 676 | case _ => | |
677 | 677 | 0 | |
678 | 678 | } | |
679 | 679 | let HeightTransactFundBox = match getInteger(this, "PrizeHeight") { | |
680 | 680 | case a: Int => | |
681 | 681 | a | |
682 | 682 | case _ => | |
683 | 683 | 0 | |
684 | 684 | } | |
685 | 685 | let ActualDelay = match getInteger(this, "Delay") { | |
686 | 686 | case a: Int => | |
687 | 687 | a | |
688 | 688 | case _ => | |
689 | 689 | 0 | |
690 | 690 | } | |
691 | 691 | let PrizeHeightValue = if (if ((HeightTransactFundBox == 0)) | |
692 | 692 | then (PrizeAmount == 0) | |
693 | 693 | else false) | |
694 | 694 | then 0 | |
695 | 695 | else if (if ((HeightTransactFundBox == 0)) | |
696 | 696 | then (PrizeAmount != 0) | |
697 | 697 | else false) | |
698 | 698 | then height | |
699 | 699 | else if (if ((HeightTransactFundBox != 0)) | |
700 | 700 | then (PrizeAmount != 0) | |
701 | 701 | else false) | |
702 | 702 | then HeightTransactFundBox | |
703 | 703 | else 0 | |
704 | 704 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
705 | 705 | case a: Int => | |
706 | 706 | a | |
707 | 707 | case _ => | |
708 | 708 | 0 | |
709 | 709 | } | |
710 | 710 | let HighestPushAddress = match getInteger(this, "HighestPushAddress") { | |
711 | 711 | case a: Int => | |
712 | 712 | a | |
713 | 713 | case _ => | |
714 | 714 | 0 | |
715 | 715 | } | |
716 | 716 | let HighestPushAddressValue = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
717 | 717 | then (HighestPushValue > 0) | |
718 | 718 | else false) | |
719 | 719 | then "" | |
720 | 720 | else HighestPushAddress | |
721 | 721 | let PrizeHeightValueNew = if (if ((height > ((PrizeHeightValue + ActualDelay) + WaitTime))) | |
722 | 722 | then (HighestPushValue > 0) | |
723 | 723 | else false) | |
724 | 724 | then height | |
725 | 725 | else PrizeHeightValue | |
726 | 726 | let ActualDelayCost = match getInteger(this, "DelayCost") { | |
727 | 727 | case a: Int => | |
728 | 728 | a | |
729 | 729 | case _ => | |
730 | 730 | 10 | |
731 | 731 | } | |
732 | 732 | let pmt = extract(i.payment) | |
733 | 733 | let DevBoxBalance = match getInteger(this, "DevBox") { | |
734 | 734 | case a: Int => | |
735 | 735 | a | |
736 | 736 | case _ => | |
737 | 737 | 0 | |
738 | 738 | } | |
739 | 739 | if (if (isDefined(pmt.assetId)) | |
740 | 740 | then (extract(pmt.assetId) == GovernToken) | |
741 | 741 | else false) | |
742 | 742 | then if ((PrizeAmount > 0)) | |
743 | 743 | then { | |
744 | 744 | let UserGovernTokenAmount = pmt.amount | |
745 | 745 | let DevBoxAmount = (DevBoxBalance + ((pmt.amount * 5) / 1000)) | |
746 | 746 | let NewDelayCost = if ((ActualDelayCost == 0)) | |
747 | 747 | then 1000000000 | |
748 | 748 | else (2 * ActualDelayCost) | |
749 | 749 | if ((UserGovernTokenAmount >= NewDelayCost)) | |
750 | 750 | then { | |
751 | 751 | let NewDelay = (ActualDelay + DelayDays) | |
752 | 752 | WriteSet([DataEntry("Delay", NewDelay), DataEntry("DelayCost", NewDelayCost), DataEntry("PrizeHeight", PrizeHeightValueNew), DataEntry("DevBox", DevBoxAmount), DataEntry("HighestPushAddress", HighestPushAddressValue)]) | |
753 | 753 | } | |
754 | 754 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(NewDelayCost)) + "TROIKAs")) | |
755 | 755 | } | |
756 | 756 | else throw("You cannot delay the reward before reward is received! Please wait until a reward is available") | |
757 | 757 | else throw("Can Use only Troika Token to Delay Reward") | |
758 | 758 | } | |
759 | 759 | ||
760 | 760 | ||
761 | 761 | ||
762 | 762 | @Callable(i) | |
763 | 763 | func ClaimPrize () = { | |
764 | 764 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
765 | 765 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
766 | 766 | let UserStakedTokenKey = (toBase58String(i.caller.bytes) + "_Staking") | |
767 | 767 | let UserPush = (toBase58String(i.caller.bytes) + "_Push") | |
768 | 768 | let UserLastStakeBlock = (toBase58String(i.caller.bytes) + "_UserLastStakeBlock") | |
769 | 769 | let minStakeBlock = 7 | |
770 | 770 | let minref = 0 | |
771 | 771 | let ContractGovTokenBalance = assetBalance(this, GovernToken) | |
772 | 772 | let ContractWalletStakeBalance = assetBalance(this, StakedToken) | |
773 | 773 | let StakeBalance = match getInteger(this, "StakeBalance") { | |
774 | 774 | case a: Int => | |
775 | 775 | a | |
776 | 776 | case _ => | |
777 | 777 | 0 | |
778 | 778 | } | |
779 | 779 | let PrizeAmount = match getInteger(this, "FundBox") { | |
780 | 780 | case a: Int => | |
781 | 781 | a | |
782 | 782 | case _ => | |
783 | 783 | 0 | |
784 | 784 | } | |
785 | 785 | let UserPushValue = match getInteger(this, UserPush) { | |
786 | 786 | case a: Int => | |
787 | 787 | a | |
788 | 788 | case _ => | |
789 | 789 | 0 | |
790 | 790 | } | |
791 | 791 | let UserLastStakeBlockValue = match getInteger(this, UserLastStakeBlock) { | |
792 | 792 | case a: Int => | |
793 | 793 | a | |
794 | 794 | case _ => | |
795 | 795 | 0 | |
796 | 796 | } | |
797 | 797 | let UserStakedTokenAmount = match getInteger(this, UserStakedTokenKey) { | |
798 | 798 | case a: Int => | |
799 | 799 | a | |
800 | 800 | case _ => | |
801 | 801 | 0 | |
802 | 802 | } | |
803 | 803 | let ActualDelay = match getInteger(this, "Delay") { | |
804 | 804 | case a: Int => | |
805 | 805 | a | |
806 | 806 | case _ => | |
807 | 807 | 0 | |
808 | 808 | } | |
809 | 809 | let PrizeWinner = getStringValue(this, "HighestPushAddress") | |
810 | 810 | let PrizeHeight = match getInteger(this, "PrizeHeight") { | |
811 | 811 | case a: Int => | |
812 | 812 | a | |
813 | 813 | case _ => | |
814 | 814 | 0 | |
815 | 815 | } | |
816 | 816 | let HighestPushValue = match getInteger(this, "HighestPush") { | |
817 | 817 | case a: Int => | |
818 | 818 | a | |
819 | 819 | case _ => | |
820 | 820 | 0 | |
821 | 821 | } | |
822 | 822 | let UserRefsNum = (toBase58String(i.caller.bytes) + "_refs") | |
823 | 823 | let UserRefsNumValue = match getInteger(this, UserRefsNum) { | |
824 | 824 | case a: Int => | |
825 | 825 | a | |
826 | 826 | case _ => | |
827 | 827 | 0 | |
828 | 828 | } | |
829 | 829 | if (if ((PrizeAmount == 0)) | |
830 | 830 | then true | |
831 | 831 | else (10000000000 > ContractGovTokenBalance)) | |
832 | 832 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
833 | 833 | else if ((toBase58String(i.caller.bytes) != PrizeWinner)) | |
834 | 834 | then throw("You are not the winner hence cannot claim the reward ") | |
835 | 835 | else if (if ((100000000 > UserStakedTokenAmount)) | |
836 | 836 | then (minStakeBlock > UserLastStakeBlockValue) | |
837 | 837 | else false) | |
838 | 838 | then throw("You have to Stake ASIMI Token to claim reward ") | |
839 | 839 | else if (if ((height > (PrizeHeight + ActualDelay))) | |
840 | 840 | then (UserPushValue >= HighestPushValue) | |
841 | 841 | else false) | |
842 | 842 | then if ((UserRefsNumValue >= minref)) | |
843 | 843 | 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)])) | |
844 | 844 | else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize") | |
845 | 845 | else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward") | |
846 | 846 | } | |
847 | 847 | ||
848 | 848 | ||
849 | 849 | ||
850 | 850 | @Callable(i) | |
851 | 851 | func Addmentor (Mentor) = { | |
852 | 852 | let StakedToken = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
853 | 853 | let GovernToken = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
854 | 854 | let UserMentorAddress = (toBase58String(i.caller.bytes) + "_Mentor") | |
855 | 855 | if ((Mentor != "")) | |
856 | 856 | then WriteSet([DataEntry(UserMentorAddress, Mentor)]) | |
857 | 857 | else throw("Mentor's Address cannot be empty") | |
858 | 858 | } | |
859 | 859 | ||
860 | 860 |
github/deemru/w8io/026f985 74.54 ms ◑