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