tx · 8ssoTi5JLm4cPyudrqCqFQsFb2ryPqUXeZkY4De7RWUG 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw: -0.01100000 Waves 2022.06.12 21:12 [2093513] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves
{ "type": 13, "id": "8ssoTi5JLm4cPyudrqCqFQsFb2ryPqUXeZkY4De7RWUG", "fee": 1100000, "feeAssetId": null, "timestamp": 1655057599939, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "128SPeQh45REsTRFRfwiWtcg3YxHKNt5ohAsFy6iD18eEVqCDn379oyd2bQSWFM3t8PZX1VXA6qGua5k7ZCLUhU1" ], "script": "base64:AAIFAAAAAAAAABUIAhIAEgASABIDCgEIEgASABIAEgAAAAAWAAAAAARIQVNIAQAAACCZJcBN4vrv23OPL3+HfwZ1V4TC5rl+HgfvNUFVz3N+qwAAAAAIS3Jvc3NDYXIBAAAAIDXsCLifH5dC92gyF33uSmFCOKUGzz3KXS7U4pAGaLK7AAAAAAZUb3dpbmcBAAAAIC81Z/RcVzhCx0VfTTO1h50c/NwD9IthbF2FP5MW+OJKAAAAAAdUeXJlQWlyAQAAACBL7oVHI7PJ8JabRftzCc3TDuMz0GMH1yBWiFCtnq6BIAAAAAAERnVlbAEAAAAggGavlw9bhbYyfaROM5d3ibtEK7mtxFTwqpDvjDJsptUAAAAACUNhclVubG9jawEAAAAgJMGDqNKJuumO1QhRU6FJYiLC30q22WrPoOAEwM/HuagAAAAACGRBcHBGZWVzAQAAABoBV5prAZfpnthmNq2ZMbws44Htl6ZEmG28iwAAAAAJQWRtaW5kQXBwAQAAABoBV9BDQuIchL6bmoa833jKal/OBiGoZGoQDgAAAAAJTWluQW1vdW50AAAAAAAAAAK8AAAAAA5Lcm9zc0NhclJld2FyZAA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gY2Fubm90IGNsYWltIHRoZSByZXdhcmQgYmVmb3JlOiAJAAGkAAAAAQkAAGUAAAACBQAAAA1UaW1lQ2FyVW5sb2NrCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAABdMYXN0Q2FyVW5sb2NrQmxvY2tWYWx1ZQUAAAADRGF5AgAAAAUgZGF5cwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAE19MYXN0Q2FyVW5sb2NrQmxvY2sFAAAABmhlaWdodAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABoAAAAAgUAAAAPQ2FyVW5sb2NrUmV3YXJkAAAAAAAF9eEABQAAAAlDYXJVbmxvY2sFAAAAA25pbAAAAAA6e9uI", "height": 2093513, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2c87DGDAmVk19QjurNASi1KxnrxGL3eNbbwQevbnrLe2 Next: EBrqqg84f7UWAGAqPkfhpj5YxiGKUH85Z5SUnK2dEgxb Diff:
Old | New | Differences | |
---|---|---|---|
148 | 148 | } | |
149 | 149 | else 0 | |
150 | 150 | } | |
151 | - | if ((((height - J) | |
152 | - | then throw(" | |
151 | + | if (((p * u) > (height - J))) | |
152 | + | then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u)))) | |
153 | 153 | else if ((y >= (((i * 100000000) * (height - J)) / u))) | |
154 | 154 | then throw(("You should have deposited at least: " + toString(((i * (height - J)) / u)))) | |
155 | - | else if (((p * u) > (height - J))) | |
156 | - | then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u)))) | |
157 | - | else if (((q * v) > ((height - K) / v))) | |
158 | - | then throw((("You cannot claim the reward before: " + toString((q - ((height - K) / v)))) + " days")) | |
159 | - | else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(w.caller, (k * 100000000), c)] | |
155 | + | else if (((q * v) > ((height - K) / v))) | |
156 | + | then throw((("You cannot claim the reward before: " + toString((q - ((height - K) / v)))) + " days")) | |
157 | + | else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(w.caller, (k * 100000000), c)] | |
160 | 158 | } | |
161 | 159 | ||
162 | 160 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'BJpmNoB9MABJ1ytHhbLNxuUaeoYcYVeTM1r7kh39P24i' | |
5 | 5 | ||
6 | 6 | let b = base58'4dVMkKtzaWuHC21kmxBBUwKQ5LGayLZLV9snpkJxsGeW' | |
7 | 7 | ||
8 | 8 | let c = base58'4BHPskP7pBoXLD7U8nk54CstqbsqRvuWr3SDP8uMrz5w' | |
9 | 9 | ||
10 | 10 | let d = base58'67QXX3ztyyTEP2jqQ5XwmmuV3L9dmtXpWbTxf9Y81gpo' | |
11 | 11 | ||
12 | 12 | let e = base58'9eE15BVcRhp1XJBoYQUkxvktmq8tC3woRBUYyNymepZr' | |
13 | 13 | ||
14 | 14 | let f = base58'3UUpggubgyFEJWG62MbMsJsZMaR8aLaJUWJmKfL5UVuR' | |
15 | 15 | ||
16 | 16 | let g = base58'3PG1NyiC2rdgX46jb8c5zPGuEAzWXhr4L2W' | |
17 | 17 | ||
18 | 18 | let h = base58'3PLv5rYMqR4gSiP5ZSjrX2FStLhHTRgFPbb' | |
19 | 19 | ||
20 | 20 | let i = 700 | |
21 | 21 | ||
22 | 22 | let j = 1 | |
23 | 23 | ||
24 | 24 | let k = 1 | |
25 | 25 | ||
26 | 26 | let l = 1 | |
27 | 27 | ||
28 | 28 | let m = 1 | |
29 | 29 | ||
30 | 30 | let n = 1 | |
31 | 31 | ||
32 | 32 | let o = 1 | |
33 | 33 | ||
34 | 34 | let p = 8 | |
35 | 35 | ||
36 | 36 | let q = 2 | |
37 | 37 | ||
38 | 38 | let r = 4 | |
39 | 39 | ||
40 | 40 | let s = 2 | |
41 | 41 | ||
42 | 42 | let t = 6 | |
43 | 43 | ||
44 | 44 | let u = 10 | |
45 | 45 | ||
46 | 46 | let v = 5 | |
47 | 47 | ||
48 | 48 | @Callable(w) | |
49 | 49 | func ReceiveFakeHASHForTest () = [ScriptTransfer(w.caller, (1000000 * 100000000), a)] | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | ||
53 | 53 | @Callable(w) | |
54 | 54 | func ShowMeTimersOfdApp () = throw(((((((((((((((("Timers in the dApp: " + "Minimum Join Weeks: ") + toString(p)) + " min") + "Timer Towing: ") + toString(q)) + " min") + "TimerTyreAire: ") + toString(r)) + " min") + "Timer Fuel: ") + toString(s)) + " min") + "Timer CarUnlock: ") + toString(t)) + " min")) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | ||
58 | 58 | @Callable(w) | |
59 | 59 | func DepositHASH () = { | |
60 | 60 | let x = (toBase58String(w.caller.bytes) + "_Deposit") | |
61 | 61 | let y = { | |
62 | 62 | let z = getInteger(this, x) | |
63 | 63 | if ($isInstanceOf(z, "Int")) | |
64 | 64 | then { | |
65 | 65 | let A = z | |
66 | 66 | A | |
67 | 67 | } | |
68 | 68 | else 0 | |
69 | 69 | } | |
70 | 70 | let B = if ((size(w.payments) == 1)) | |
71 | 71 | then w.payments[0] | |
72 | 72 | else throw("Attached payment is required") | |
73 | 73 | if (if (((i * 100000000) > B.amount)) | |
74 | 74 | then true | |
75 | 75 | else (B.assetId != a)) | |
76 | 76 | then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH") | |
77 | 77 | else { | |
78 | 78 | let C = (y + B.amount) | |
79 | 79 | [IntegerEntry((toBase58String(w.caller.bytes) + "_Deposit"), C), IntegerEntry((toBase58String(w.caller.bytes) + "_DepositBlock"), height), ScriptTransfer(w.caller, (j * 100000000), b)] | |
80 | 80 | } | |
81 | 81 | } | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | ||
85 | 85 | @Callable(w) | |
86 | 86 | func RewardReferrer (D) = if ((D == "")) | |
87 | 87 | then throw("Referrer Wallet Address cannot be empty !") | |
88 | 88 | else { | |
89 | 89 | let E = addressFromStringValue(D) | |
90 | 90 | let x = (toBase58String(w.caller.bytes) + "_Deposit") | |
91 | 91 | let F = (toBase58String(w.caller.bytes) + "_TippedStatus") | |
92 | 92 | let y = { | |
93 | 93 | let z = getInteger(this, x) | |
94 | 94 | if ($isInstanceOf(z, "Int")) | |
95 | 95 | then { | |
96 | 96 | let A = z | |
97 | 97 | A | |
98 | 98 | } | |
99 | 99 | else 0 | |
100 | 100 | } | |
101 | 101 | let G = { | |
102 | 102 | let z = getString(this, F) | |
103 | 103 | if ($isInstanceOf(z, "String")) | |
104 | 104 | then { | |
105 | 105 | let A = z | |
106 | 106 | A | |
107 | 107 | } | |
108 | 108 | else "NO" | |
109 | 109 | } | |
110 | 110 | if ((G == "YES")) | |
111 | 111 | then throw("You already tipped a User, you only can tip once a user") | |
112 | 112 | else if (((i * 100000000) > y)) | |
113 | 113 | then throw((("To tip your referrer you must have at least deposited: " + toString(i)) + " HASH")) | |
114 | 114 | else [StringEntry((toBase58String(w.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(E, (o * 100000000), b)] | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | ||
119 | 119 | @Callable(w) | |
120 | 120 | func RequestTowing () = { | |
121 | 121 | let x = (toBase58String(w.caller.bytes) + "_Deposit") | |
122 | 122 | let H = (toBase58String(w.caller.bytes) + "_DepositBlock") | |
123 | 123 | let I = (toBase58String(w.caller.bytes) + "_LastTowingBlock") | |
124 | 124 | let y = { | |
125 | 125 | let z = getInteger(this, x) | |
126 | 126 | if ($isInstanceOf(z, "Int")) | |
127 | 127 | then { | |
128 | 128 | let A = z | |
129 | 129 | A | |
130 | 130 | } | |
131 | 131 | else 0 | |
132 | 132 | } | |
133 | 133 | let J = { | |
134 | 134 | let z = getInteger(this, H) | |
135 | 135 | if ($isInstanceOf(z, "Int")) | |
136 | 136 | then { | |
137 | 137 | let A = z | |
138 | 138 | A | |
139 | 139 | } | |
140 | 140 | else 0 | |
141 | 141 | } | |
142 | 142 | let K = { | |
143 | 143 | let z = getInteger(this, I) | |
144 | 144 | if ($isInstanceOf(z, "Int")) | |
145 | 145 | then { | |
146 | 146 | let A = z | |
147 | 147 | A | |
148 | 148 | } | |
149 | 149 | else 0 | |
150 | 150 | } | |
151 | - | if ((((height - J) | |
152 | - | then throw(" | |
151 | + | if (((p * u) > (height - J))) | |
152 | + | then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u)))) | |
153 | 153 | else if ((y >= (((i * 100000000) * (height - J)) / u))) | |
154 | 154 | then throw(("You should have deposited at least: " + toString(((i * (height - J)) / u)))) | |
155 | - | else if (((p * u) > (height - J))) | |
156 | - | then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u)))) | |
157 | - | else if (((q * v) > ((height - K) / v))) | |
158 | - | then throw((("You cannot claim the reward before: " + toString((q - ((height - K) / v)))) + " days")) | |
159 | - | else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(w.caller, (k * 100000000), c)] | |
155 | + | else if (((q * v) > ((height - K) / v))) | |
156 | + | then throw((("You cannot claim the reward before: " + toString((q - ((height - K) / v)))) + " days")) | |
157 | + | else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(w.caller, (k * 100000000), c)] | |
160 | 158 | } | |
161 | 159 | ||
162 | 160 | ||
163 | 161 | ||
164 | 162 | @Callable(w) | |
165 | 163 | func RequestTyreAir () = { | |
166 | 164 | let x = (toBase58String(w.caller.bytes) + "_Deposit") | |
167 | 165 | let H = (toBase58String(w.caller.bytes) + "_DepositBlock") | |
168 | 166 | let L = (toBase58String(w.caller.bytes) + "_LastTyreAirBlock") | |
169 | 167 | let y = { | |
170 | 168 | let z = getInteger(this, x) | |
171 | 169 | if ($isInstanceOf(z, "Int")) | |
172 | 170 | then { | |
173 | 171 | let A = z | |
174 | 172 | A | |
175 | 173 | } | |
176 | 174 | else 0 | |
177 | 175 | } | |
178 | 176 | let J = { | |
179 | 177 | let z = getInteger(this, H) | |
180 | 178 | if ($isInstanceOf(z, "Int")) | |
181 | 179 | then { | |
182 | 180 | let A = z | |
183 | 181 | A | |
184 | 182 | } | |
185 | 183 | else 0 | |
186 | 184 | } | |
187 | 185 | let M = { | |
188 | 186 | let z = getInteger(this, L) | |
189 | 187 | if ($isInstanceOf(z, "Int")) | |
190 | 188 | then { | |
191 | 189 | let A = z | |
192 | 190 | A | |
193 | 191 | } | |
194 | 192 | else 0 | |
195 | 193 | } | |
196 | 194 | if ((((height - J) / u) == 0)) | |
197 | 195 | then throw("The minimum period of a Week has not yet passed") | |
198 | 196 | else if ((y >= (((i * 100000000) * (height - J)) / u))) | |
199 | 197 | then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u)))) | |
200 | 198 | else if (((p * u) > (height - J))) | |
201 | 199 | then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u)))) | |
202 | 200 | else if (((r * v) > ((height - M) / v))) | |
203 | 201 | then throw((("You cannot claim the reward before: " + toString((r - ((height - M) / v)))) + " days")) | |
204 | 202 | else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(w.caller, (l * 100000000), d)] | |
205 | 203 | } | |
206 | 204 | ||
207 | 205 | ||
208 | 206 | ||
209 | 207 | @Callable(w) | |
210 | 208 | func RequestFuel () = { | |
211 | 209 | let x = (toBase58String(w.caller.bytes) + "_Deposit") | |
212 | 210 | let H = (toBase58String(w.caller.bytes) + "_DepositBlock") | |
213 | 211 | let N = (toBase58String(w.caller.bytes) + "_LastFuelBlock") | |
214 | 212 | let y = { | |
215 | 213 | let z = getInteger(this, x) | |
216 | 214 | if ($isInstanceOf(z, "Int")) | |
217 | 215 | then { | |
218 | 216 | let A = z | |
219 | 217 | A | |
220 | 218 | } | |
221 | 219 | else 0 | |
222 | 220 | } | |
223 | 221 | let J = { | |
224 | 222 | let z = getInteger(this, H) | |
225 | 223 | if ($isInstanceOf(z, "Int")) | |
226 | 224 | then { | |
227 | 225 | let A = z | |
228 | 226 | A | |
229 | 227 | } | |
230 | 228 | else 0 | |
231 | 229 | } | |
232 | 230 | let O = { | |
233 | 231 | let z = getInteger(this, N) | |
234 | 232 | if ($isInstanceOf(z, "Int")) | |
235 | 233 | then { | |
236 | 234 | let A = z | |
237 | 235 | A | |
238 | 236 | } | |
239 | 237 | else 0 | |
240 | 238 | } | |
241 | 239 | if ((((height - J) / u) == 0)) | |
242 | 240 | then throw("The minimum period of a Week has not yet passed") | |
243 | 241 | else if ((y >= (((i * 100000000) * (height - J)) / u))) | |
244 | 242 | then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u)))) | |
245 | 243 | else if (((p * u) > (height - J))) | |
246 | 244 | then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u)))) | |
247 | 245 | else if (((s * v) > ((height - O) / v))) | |
248 | 246 | then throw((("You cannot claim the reward before: " + toString((s - ((height - O) / v)))) + " days")) | |
249 | 247 | else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(w.caller, (m * 100000000), e)] | |
250 | 248 | } | |
251 | 249 | ||
252 | 250 | ||
253 | 251 | ||
254 | 252 | @Callable(w) | |
255 | 253 | func RequestCarUnlock () = { | |
256 | 254 | let x = (toBase58String(w.caller.bytes) + "_Deposit") | |
257 | 255 | let H = (toBase58String(w.caller.bytes) + "_DepositBlock") | |
258 | 256 | let P = (toBase58String(w.caller.bytes) + "_LastCarUnlockBlock") | |
259 | 257 | let y = { | |
260 | 258 | let z = getInteger(this, x) | |
261 | 259 | if ($isInstanceOf(z, "Int")) | |
262 | 260 | then { | |
263 | 261 | let A = z | |
264 | 262 | A | |
265 | 263 | } | |
266 | 264 | else 0 | |
267 | 265 | } | |
268 | 266 | let J = { | |
269 | 267 | let z = getInteger(this, H) | |
270 | 268 | if ($isInstanceOf(z, "Int")) | |
271 | 269 | then { | |
272 | 270 | let A = z | |
273 | 271 | A | |
274 | 272 | } | |
275 | 273 | else 0 | |
276 | 274 | } | |
277 | 275 | let Q = { | |
278 | 276 | let z = getInteger(this, P) | |
279 | 277 | if ($isInstanceOf(z, "Int")) | |
280 | 278 | then { | |
281 | 279 | let A = z | |
282 | 280 | A | |
283 | 281 | } | |
284 | 282 | else 0 | |
285 | 283 | } | |
286 | 284 | if ((((height - J) / u) == 0)) | |
287 | 285 | then throw("The minimum period of a Week has not yet passed") | |
288 | 286 | else if ((y >= (((i * 100000000) * (height - J)) / u))) | |
289 | 287 | then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u)))) | |
290 | 288 | else if (((p * u) > (height - J))) | |
291 | 289 | then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u)))) | |
292 | 290 | else if (((t * v) > ((height - Q) / v))) | |
293 | 291 | then throw((("You cannot claim the reward before: " + toString((t - ((height - Q) / v)))) + " days")) | |
294 | 292 | else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(w.caller, (n * 100000000), f)] | |
295 | 293 | } | |
296 | 294 | ||
297 | 295 |
github/deemru/w8io/169f3d6 125.16 ms ◑