tx · 6quCktLpL6HnYU16zTzVxzAWDYGWfU1EXvXxGVVYH6dn 3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u: -0.01440000 Waves 2021.01.26 19:58 [1370744] smart account 3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u > SELF 0.00000000 Waves
{ "type": 13, "id": "6quCktLpL6HnYU16zTzVxzAWDYGWfU1EXvXxGVVYH6dn", "fee": 1440000, "feeAssetId": null, "timestamp": 1611680345592, "version": 2, "chainId": 84, "sender": "3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u", "senderPublicKey": "FFDorDp8bC9dyUK2w8hYPWPVEcbbk9zYkpHn3gcq9svn", "proofs": [ "3E7m1JL2aZM183QBaJcRNwX4mL47X1P8hkvy96QEs55GdTT7gJ6LyemRFSYNqqz2FR95dELKLp77c24M9MeBB4FX" ], "script": "base64:AAIDAAAAAAAAAAsIARIAEgASAwoBAQAAAAAAAAADAAAAAWkBAAAAClB1c2hSZXdhcmQAAAAABAAAAAtTdGFrZWRUb2tlbgEAAAAgtdEoYbzmBKc83jS/KKdye173/DgIlmcoGG447AQsIbIEAAAAC0dvdmVyblRva2VuAQAAACAQgPg4uhu9buXgRp+zjv1718k6u+xhGgBJPw0oxb5duQQAAAAMbWluUHVzaEJsb2NrAAAAAAAAAAAKBAAAAA1taW5TdGFrZUJsb2NrAAAAAAAAAAAHBAAAAA5EZWxheUFmdGVyUHVzaAAAAAAAAAAAFAQAAAADcG10CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAFpAAAAB3BheW1lbnQDAwkAAGYAAAACCAUAAAADcG10AAAABmFtb3VudAAAAAAAAAAAAAkAAAAAAAACCAUAAAADcG10AAAAB2Fzc2V0SWQFAAAAC0dvdmVyblRva2VuBwQAAAAIVXNlclB1c2gJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAVfUHVzaAQAAAARVXNlckxhc3RQdXNoQmxvY2s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AAAABCQAAaQAAAAIFAAAADWN1cnJlbnRBbW91bnQAAAAAAAX14QADCQAAZgAAAAIAAAAAAAX14QAJAAPrAAAAAgUAAAAEdGhpcwUAAAALR292ZXJuVG9rZW4JAAACAAAAAQkAASwAAAACAgAAAB9Ob3QgZW5vdWdoIFRyb2lrYSBJbiBDb250cmFjdDogCQABpAAAAAEJAAPrAAAAAgUAAAAEdGhpcwUAAAALR292ZXJuVG9rZW4JAQAAAAxTY3JpcHRSZXN1bHQAAAACCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAABJVc2VyR292ZXJuVG9rZW5LZXkAAAAAAAX14QAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAElVzZXJTdGFrZWRUb2tlbktleQUAAAAJbmV3QW1vdW50CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAAxTdGFrZUJhbGFuY2UFAAAAElN0YWtlQmFsYW5jZUFtb3VudAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAHRnVuZEJveAUAAAALUHJpemVBbW91bnQJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAC1ByaXplSGVpZ2h0BQAAABBQcml6ZUhlaWdodFZhbHVlBQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAF9eEABQAAAAtHb3Zlcm5Ub2tlbgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAUAAAALU3Rha2VkVG9rZW4FAAAAA25pbAAAAAAmylmC", "height": 1370744, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4BxDD6WGarBj4GWjncLxdfRXf6TMQ3R8n14h3uKMev79 Next: CNFdCzpF4M3EC7Zmw3NRrw3sXUpBXPCgViiHJNQJi4p6 Diff:
Old | New | Differences | |
---|---|---|---|
292 | 292 | then throw("Can't withdraw negative amount") | |
293 | 293 | else if ((0 > T)) | |
294 | 294 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
295 | - | else if ((assetBalance(this, c) | |
296 | - | then throw(("Not enough | |
295 | + | else if ((100000000 > assetBalance(this, c))) | |
296 | + | then throw(("Not enough Troika In Contract: " + toString(assetBalance(this, c)))) | |
297 | 297 | else ScriptResult(WriteSet([DataEntry(E, 100000000), DataEntry(D, T), DataEntry("StakeBalance", L), DataEntry("FundBox", p), DataEntry("PrizeHeight", r)]), TransferSet([ScriptTransfer(a.caller, 100000000, c), ScriptTransfer(a.caller, Q, b)])) | |
298 | 298 | } | |
299 | 299 |
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(a) | |
7 | 7 | func PushReward () = { | |
8 | 8 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
9 | 9 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
10 | 10 | let d = 10 | |
11 | 11 | let e = 7 | |
12 | 12 | let f = 20 | |
13 | 13 | let g = extract(a.payment) | |
14 | 14 | if (if ((g.amount > 0)) | |
15 | 15 | then (g.assetId == c) | |
16 | 16 | else false) | |
17 | 17 | then { | |
18 | 18 | let h = (toBase58String(a.caller.bytes) + "_Push") | |
19 | 19 | let i = (toBase58String(a.caller.bytes) + "_UserLastPushBlock") | |
20 | 20 | let j = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
21 | 21 | let k = (toBase58String(a.caller.bytes) + "_Staking") | |
22 | 22 | let l = assetBalance(this, b) | |
23 | 23 | let m = { | |
24 | 24 | let n = getInteger(this, "StakeBalance") | |
25 | 25 | if ($isInstanceOf(n, "Int")) | |
26 | 26 | then { | |
27 | 27 | let o = n | |
28 | 28 | o | |
29 | 29 | } | |
30 | 30 | else 0 | |
31 | 31 | } | |
32 | 32 | let p = (l - m) | |
33 | 33 | let q = { | |
34 | 34 | let n = getInteger(this, "PrizeHeight") | |
35 | 35 | if ($isInstanceOf(n, "Int")) | |
36 | 36 | then { | |
37 | 37 | let o = n | |
38 | 38 | o | |
39 | 39 | } | |
40 | 40 | else 0 | |
41 | 41 | } | |
42 | 42 | let r = if (if ((q == 0)) | |
43 | 43 | then (p == 0) | |
44 | 44 | else false) | |
45 | 45 | then 0 | |
46 | 46 | else if (if ((q == 0)) | |
47 | 47 | then (p != 0) | |
48 | 48 | else false) | |
49 | 49 | then height | |
50 | 50 | else if (if ((q != 0)) | |
51 | 51 | then (p != 0) | |
52 | 52 | else false) | |
53 | 53 | then q | |
54 | 54 | else 0 | |
55 | 55 | let s = { | |
56 | 56 | let n = getInteger(this, "HighestPush") | |
57 | 57 | if ($isInstanceOf(n, "Int")) | |
58 | 58 | then { | |
59 | 59 | let o = n | |
60 | 60 | o | |
61 | 61 | } | |
62 | 62 | else 0 | |
63 | 63 | } | |
64 | 64 | let t = { | |
65 | 65 | let n = getInteger(this, h) | |
66 | 66 | if ($isInstanceOf(n, "Int")) | |
67 | 67 | then { | |
68 | 68 | let o = n | |
69 | 69 | o | |
70 | 70 | } | |
71 | 71 | else 0 | |
72 | 72 | } | |
73 | 73 | let u = { | |
74 | 74 | let n = getInteger(this, "Delay") | |
75 | 75 | if ($isInstanceOf(n, "Int")) | |
76 | 76 | then { | |
77 | 77 | let o = n | |
78 | 78 | o | |
79 | 79 | } | |
80 | 80 | else 0 | |
81 | 81 | } | |
82 | 82 | let v = (u + f) | |
83 | 83 | let w = { | |
84 | 84 | let n = getInteger(this, "HighestPushAddress") | |
85 | 85 | if ($isInstanceOf(n, "Int")) | |
86 | 86 | then { | |
87 | 87 | let o = n | |
88 | 88 | o | |
89 | 89 | } | |
90 | 90 | else 0 | |
91 | 91 | } | |
92 | 92 | let x = { | |
93 | 93 | let n = getInteger(this, i) | |
94 | 94 | if ($isInstanceOf(n, "Int")) | |
95 | 95 | then { | |
96 | 96 | let o = n | |
97 | 97 | o | |
98 | 98 | } | |
99 | 99 | else 0 | |
100 | 100 | } | |
101 | 101 | let y = { | |
102 | 102 | let n = getInteger(this, j) | |
103 | 103 | if ($isInstanceOf(n, "Int")) | |
104 | 104 | then { | |
105 | 105 | let o = n | |
106 | 106 | o | |
107 | 107 | } | |
108 | 108 | else 0 | |
109 | 109 | } | |
110 | 110 | let z = { | |
111 | 111 | let n = getInteger(this, k) | |
112 | 112 | if ($isInstanceOf(n, "Int")) | |
113 | 113 | then { | |
114 | 114 | let o = n | |
115 | 115 | o | |
116 | 116 | } | |
117 | 117 | else 0 | |
118 | 118 | } | |
119 | 119 | let A = (g.amount + t) | |
120 | 120 | if (if (if (if (if ((A > 0)) | |
121 | 121 | then ((height - y) > (1440 * e)) | |
122 | 122 | else false) | |
123 | 123 | then ((height - x) > d) | |
124 | 124 | else false) | |
125 | 125 | then (A > s) | |
126 | 126 | else false) | |
127 | 127 | then (z > 0) | |
128 | 128 | else false) | |
129 | 129 | then WriteSet([DataEntry(h, A), DataEntry("HighestPushAddress", toBase58String(a.caller.bytes)), DataEntry("HighestPush", A), DataEntry("PrizeHeight", height), DataEntry("Delay", v)]) | |
130 | 130 | else throw((("Your Push dot not comply one of the following conditions: " + " | |
131 | 131 | 1. Positive Value | |
132 | 132 | 2. Must Staked ASIMI Token for a minimum of week | |
133 | 133 | ") + "3. Should be Higher than last Highest Push | |
134 | 134 | 4. Should wait required time between Pushes")) | |
135 | 135 | } | |
136 | 136 | else throw("Can deposit only positive amounts of ASIMI Token") | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | ||
141 | 141 | @Callable(a) | |
142 | 142 | func Stake () = { | |
143 | 143 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
144 | 144 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
145 | 145 | let g = extract(a.payment) | |
146 | 146 | if (if ((g.amount > 0)) | |
147 | 147 | then (g.assetId == b) | |
148 | 148 | else false) | |
149 | 149 | then { | |
150 | 150 | let B = assetBalance(this, c) | |
151 | 151 | let C = (toBase58String(a.caller.bytes) + "_APY") | |
152 | 152 | let D = (toBase58String(a.caller.bytes) + "_Staking") | |
153 | 153 | let E = (toBase58String(a.caller.bytes) + "_Earnings") | |
154 | 154 | let j = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
155 | 155 | let F = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
156 | 156 | let G = (toBase58String(a.caller.bytes) + "_PrizeHeight") | |
157 | 157 | let H = { | |
158 | 158 | let n = getInteger(this, F) | |
159 | 159 | if ($isInstanceOf(n, "Int")) | |
160 | 160 | then { | |
161 | 161 | let o = n | |
162 | 162 | o | |
163 | 163 | } | |
164 | 164 | else 0 | |
165 | 165 | } | |
166 | 166 | let I = (H + 1) | |
167 | 167 | let J = { | |
168 | 168 | let n = getInteger(this, D) | |
169 | 169 | if ($isInstanceOf(n, "Int")) | |
170 | 170 | then { | |
171 | 171 | let o = n | |
172 | 172 | o | |
173 | 173 | } | |
174 | 174 | else 0 | |
175 | 175 | } | |
176 | 176 | let K = (J + g.amount) | |
177 | 177 | let l = assetBalance(this, b) | |
178 | 178 | let m = { | |
179 | 179 | let n = getInteger(this, "StakeBalance") | |
180 | 180 | if ($isInstanceOf(n, "Int")) | |
181 | 181 | then { | |
182 | 182 | let o = n | |
183 | 183 | o | |
184 | 184 | } | |
185 | 185 | else 0 | |
186 | 186 | } | |
187 | 187 | let L = (m + g.amount) | |
188 | 188 | let p = (l - m) | |
189 | 189 | let M = { | |
190 | 190 | let n = getInteger(this, E) | |
191 | 191 | if ($isInstanceOf(n, "Int")) | |
192 | 192 | then { | |
193 | 193 | let o = n | |
194 | 194 | o | |
195 | 195 | } | |
196 | 196 | else 0 | |
197 | 197 | } | |
198 | 198 | let q = { | |
199 | 199 | let n = getInteger(this, "PrizeHeight") | |
200 | 200 | if ($isInstanceOf(n, "Int")) | |
201 | 201 | then { | |
202 | 202 | let o = n | |
203 | 203 | o | |
204 | 204 | } | |
205 | 205 | else 0 | |
206 | 206 | } | |
207 | 207 | let r = if (if ((q == 0)) | |
208 | 208 | then (p == 0) | |
209 | 209 | else false) | |
210 | 210 | then 0 | |
211 | 211 | else if (if ((q == 0)) | |
212 | 212 | then (p != 0) | |
213 | 213 | else false) | |
214 | 214 | then height | |
215 | 215 | else if (if ((q != 0)) | |
216 | 216 | then (p != 0) | |
217 | 217 | else false) | |
218 | 218 | then q | |
219 | 219 | else 0 | |
220 | 220 | if ((100000000 > B)) | |
221 | 221 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
222 | 222 | else { | |
223 | 223 | let N = if ((m == 0)) | |
224 | 224 | then 10000 | |
225 | 225 | else if ((I > 10)) | |
226 | 226 | then ((10000 * I) * (1 + (K / m))) | |
227 | 227 | else (10000 * (1 + (K / m))) | |
228 | 228 | let O = if ((M > 0)) | |
229 | 229 | then ((100 * N) / M) | |
230 | 230 | else 0 | |
231 | 231 | let P = (M + N) | |
232 | 232 | ScriptResult(WriteSet([DataEntry(E, P), DataEntry(D, K), DataEntry(F, I), DataEntry("StakeBalance", L), DataEntry("FundBox", p), DataEntry("PrizeHeight", r), DataEntry(C, O), DataEntry(j, height)]), TransferSet([ScriptTransfer(a.caller, N, c)])) | |
233 | 233 | } | |
234 | 234 | } | |
235 | 235 | else throw("Can deposit only StakeToken") | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | ||
240 | 240 | @Callable(a) | |
241 | 241 | func WithdrawStakedFunds (Q) = { | |
242 | 242 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
243 | 243 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
244 | 244 | let D = (toBase58String(a.caller.bytes) + "_Staking") | |
245 | 245 | let E = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
246 | 246 | let l = assetBalance(this, b) | |
247 | 247 | let m = { | |
248 | 248 | let n = getInteger(this, "StakeBalance") | |
249 | 249 | if ($isInstanceOf(n, "Int")) | |
250 | 250 | then { | |
251 | 251 | let o = n | |
252 | 252 | o | |
253 | 253 | } | |
254 | 254 | else 0 | |
255 | 255 | } | |
256 | 256 | let p = (l - m) | |
257 | 257 | let q = { | |
258 | 258 | let n = getInteger(this, "PrizeHeight") | |
259 | 259 | if ($isInstanceOf(n, "Int")) | |
260 | 260 | then { | |
261 | 261 | let o = n | |
262 | 262 | o | |
263 | 263 | } | |
264 | 264 | else 0 | |
265 | 265 | } | |
266 | 266 | let r = if (if ((q == 0)) | |
267 | 267 | then (p == 0) | |
268 | 268 | else false) | |
269 | 269 | then 0 | |
270 | 270 | else if (if ((q == 0)) | |
271 | 271 | then (p != 0) | |
272 | 272 | else false) | |
273 | 273 | then height | |
274 | 274 | else if (if ((q != 0)) | |
275 | 275 | then (p != 0) | |
276 | 276 | else false) | |
277 | 277 | then q | |
278 | 278 | else 0 | |
279 | 279 | let R = toBase58String(a.caller.bytes) | |
280 | 280 | let S = { | |
281 | 281 | let n = getInteger(this, D) | |
282 | 282 | if ($isInstanceOf(n, "Int")) | |
283 | 283 | then { | |
284 | 284 | let o = n | |
285 | 285 | o | |
286 | 286 | } | |
287 | 287 | else 0 | |
288 | 288 | } | |
289 | 289 | let T = (S - Q) | |
290 | 290 | let L = (m - Q) | |
291 | 291 | if ((0 > Q)) | |
292 | 292 | then throw("Can't withdraw negative amount") | |
293 | 293 | else if ((0 > T)) | |
294 | 294 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
295 | - | else if ((assetBalance(this, c) | |
296 | - | then throw(("Not enough | |
295 | + | else if ((100000000 > assetBalance(this, c))) | |
296 | + | then throw(("Not enough Troika In Contract: " + toString(assetBalance(this, c)))) | |
297 | 297 | else ScriptResult(WriteSet([DataEntry(E, 100000000), DataEntry(D, T), DataEntry("StakeBalance", L), DataEntry("FundBox", p), DataEntry("PrizeHeight", r)]), TransferSet([ScriptTransfer(a.caller, 100000000, c), ScriptTransfer(a.caller, Q, b)])) | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 |
github/deemru/w8io/169f3d6 48.80 ms ◑