tx · EBrqqg84f7UWAGAqPkfhpj5YxiGKUH85Z5SUnK2dEgxb

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01100000 Waves

2022.06.12 21:20 [2093521] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "EBrqqg84f7UWAGAqPkfhpj5YxiGKUH85Z5SUnK2dEgxb", "fee": 1100000, "feeAssetId": null, "timestamp": 1655058067191, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "4ECYxH3kbeEeH71aKMuqibkCy6HfJBXacPmneeh7AqkAdCBPzbwfbZQ6GVdS3UsNneMunZrQkUFQscWcnhhQApK3" ], "script": "base64:AAIFAAAAAAAAABcIAhIAEgASABIAEgMKAQgSABIAEgASAAAAABYAAAAABEhBU0gBAAAAIJklwE3i+u/bc48vf4d/BnVXhMLmuX4eB+81QVXPc36rAAAAAAhLcm9zc0NhcgEAAAAgNewIuJ8fl0L3aDIXfe5KYUI4pQbPPcpdLtTikAZosrsAAAAABlRvd2luZwEAAAAgLzVn9FxXOELHRV9NM7WHnRz83AP0i2FsXYU/kxb44koAAAAAB1R5cmVBaXIBAAAAIEvuhUcjs8nwlptF+3MJzdMO4zPQYwfXIFaIUK2eroEgAAAAAARGdWVsAQAAACCAZq+XD1uFtjJ9pE4zl3eJu0Qrua3EVPCqkO+MMmym1QAAAAAJQ2FyVW5sb2NrAQAAACAkwYOo0om66Y7VCFFToUliIsLfSrbZas+g4ATAz8e5qAAAAAAIZEFwcEZlZXMBAAAAGgFXmmsBl+me2GY2rZkxvCzjge2XpkSYbbyLAAAAAAlBZG1pbmRBcHABAAAAGgFX0ENC4hyEvpuahrzfeMpqX84GIahkahAOAAAAAAlNaW5BbW91bnQAAAAAAAAAArwAAAAADktyb3NzQ2FyUmV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Z2h0BQAAABFVc2VyTWF0dXJpdHlWYWx1ZQUAAAAEV2VlawkAAAIAAAABCQABLAAAAAICAAAAI1lvdSBzaG91bGQgaGF2IGRlcG9zaXRlZCBhdCBsZWFzdDogCQABpAAAAAEJAABpAAAAAgkAAGgAAAACBQAAAAlNaW5BbW91bnQJAABlAAAAAgUAAAAGaGVpZ2h0BQAAABFVc2VyTWF0dXJpdHlWYWx1ZQUAAAAEV2VlawMJAABmAAAAAgkAAGgAAAACBQAAAA1UaW1lQ2FyVW5sb2NrBQAAAANEYXkJAABpAAAAAgkAAGUAAAACBQAAAAZoZWlnaHQFAAAAF0xhc3RDYXJVbmxvY2tCbG9ja1ZhbHVlBQAAAANEYXkJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAJFlvdSBjYW5ub3QgY2xhaW0gdGhlIHJld2FyZCBiZWZvcmU6IAkAAaQAAAABCQAAZQAAAAIFAAAADVRpbWVDYXJVbmxvY2sJAABpAAAAAgkAAGUAAAACBQAAAAZoZWlnaHQFAAAAF0xhc3RDYXJVbmxvY2tCbG9ja1ZhbHVlBQAAAANEYXkCAAAABSBkYXlzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAATX0xhc3RDYXJVbmxvY2tCbG9jawUAAAAGaGVpZ2h0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACBQAAAA9DYXJVbmxvY2tSZXdhcmQAAAAAAAX14QAFAAAACUNhclVubG9jawUAAAADbmlsAAAAAC2X70M=", "height": 2093521, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8ssoTi5JLm4cPyudrqCqFQsFb2ryPqUXeZkY4De7RWUG Next: 5PZW9yR5mMuwznDgDyozkCmgX6YCnPdYPtKrDRMFFgPk Diff:
OldNewDifferences
4444 let u = 10
4545
4646 let v = 5
47+
48+@Callable(w)
49+func ResetData () = [IntegerEntry((toBase58String(w.caller.bytes) + "_Deposit"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_DepositBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastTowingBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastFuelBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastCarUnlockBlock"), 0)]
50+
51+
4752
4853 @Callable(w)
4954 func ReceiveFakeHASHForTest () = [ScriptTransfer(w.caller, (1000000 * 100000000), a)]
191196 }
192197 else 0
193198 }
194- if ((((height - J) / u) == 0))
195- then throw("The minimum period of a Week has not yet passed")
199+ if (((p * u) > (height - J)))
200+ then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
196201 else if ((y >= (((i * 100000000) * (height - J)) / u)))
197202 then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u))))
198- else if (((p * u) > (height - J)))
199- then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
200- else if (((r * v) > ((height - M) / v)))
201- then throw((("You cannot claim the reward before: " + toString((r - ((height - M) / v)))) + " days"))
202- else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(w.caller, (l * 100000000), d)]
203+ else if (((r * v) > ((height - M) / v)))
204+ then throw((("You cannot claim the reward before: " + toString((r - ((height - M) / v)))) + " days"))
205+ else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(w.caller, (l * 100000000), d)]
203206 }
204207
205208
236239 }
237240 else 0
238241 }
239- if ((((height - J) / u) == 0))
240- then throw("The minimum period of a Week has not yet passed")
242+ if (((p * u) > (height - J)))
243+ then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
241244 else if ((y >= (((i * 100000000) * (height - J)) / u)))
242245 then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u))))
243- else if (((p * u) > (height - J)))
244- then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
245- else if (((s * v) > ((height - O) / v)))
246- then throw((("You cannot claim the reward before: " + toString((s - ((height - O) / v)))) + " days"))
247- else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(w.caller, (m * 100000000), e)]
246+ else if (((s * v) > ((height - O) / v)))
247+ then throw((("You cannot claim the reward before: " + toString((s - ((height - O) / v)))) + " days"))
248+ else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(w.caller, (m * 100000000), e)]
248249 }
249250
250251
281282 }
282283 else 0
283284 }
284- if ((((height - J) / u) == 0))
285- then throw("The minimum period of a Week has not yet passed")
285+ if (((p * u) > (height - J)))
286+ then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
286287 else if ((y >= (((i * 100000000) * (height - J)) / u)))
287288 then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u))))
288- else if (((p * u) > (height - J)))
289- then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
290- else if (((t * v) > ((height - Q) / v)))
291- then throw((("You cannot claim the reward before: " + toString((t - ((height - Q) / v)))) + " days"))
292- else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(w.caller, (n * 100000000), f)]
289+ else if (((t * v) > ((height - Q) / v)))
290+ then throw((("You cannot claim the reward before: " + toString((t - ((height - Q) / v)))) + " days"))
291+ else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(w.caller, (n * 100000000), f)]
293292 }
294293
295294
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'BJpmNoB9MABJ1ytHhbLNxuUaeoYcYVeTM1r7kh39P24i'
55
66 let b = base58'4dVMkKtzaWuHC21kmxBBUwKQ5LGayLZLV9snpkJxsGeW'
77
88 let c = base58'4BHPskP7pBoXLD7U8nk54CstqbsqRvuWr3SDP8uMrz5w'
99
1010 let d = base58'67QXX3ztyyTEP2jqQ5XwmmuV3L9dmtXpWbTxf9Y81gpo'
1111
1212 let e = base58'9eE15BVcRhp1XJBoYQUkxvktmq8tC3woRBUYyNymepZr'
1313
1414 let f = base58'3UUpggubgyFEJWG62MbMsJsZMaR8aLaJUWJmKfL5UVuR'
1515
1616 let g = base58'3PG1NyiC2rdgX46jb8c5zPGuEAzWXhr4L2W'
1717
1818 let h = base58'3PLv5rYMqR4gSiP5ZSjrX2FStLhHTRgFPbb'
1919
2020 let i = 700
2121
2222 let j = 1
2323
2424 let k = 1
2525
2626 let l = 1
2727
2828 let m = 1
2929
3030 let n = 1
3131
3232 let o = 1
3333
3434 let p = 8
3535
3636 let q = 2
3737
3838 let r = 4
3939
4040 let s = 2
4141
4242 let t = 6
4343
4444 let u = 10
4545
4646 let v = 5
47+
48+@Callable(w)
49+func ResetData () = [IntegerEntry((toBase58String(w.caller.bytes) + "_Deposit"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_DepositBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastTowingBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastFuelBlock"), 0), IntegerEntry((toBase58String(w.caller.bytes) + "_LastCarUnlockBlock"), 0)]
50+
51+
4752
4853 @Callable(w)
4954 func ReceiveFakeHASHForTest () = [ScriptTransfer(w.caller, (1000000 * 100000000), a)]
5055
5156
5257
5358 @Callable(w)
5459 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"))
5560
5661
5762
5863 @Callable(w)
5964 func DepositHASH () = {
6065 let x = (toBase58String(w.caller.bytes) + "_Deposit")
6166 let y = {
6267 let z = getInteger(this, x)
6368 if ($isInstanceOf(z, "Int"))
6469 then {
6570 let A = z
6671 A
6772 }
6873 else 0
6974 }
7075 let B = if ((size(w.payments) == 1))
7176 then w.payments[0]
7277 else throw("Attached payment is required")
7378 if (if (((i * 100000000) > B.amount))
7479 then true
7580 else (B.assetId != a))
7681 then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH")
7782 else {
7883 let C = (y + B.amount)
7984 [IntegerEntry((toBase58String(w.caller.bytes) + "_Deposit"), C), IntegerEntry((toBase58String(w.caller.bytes) + "_DepositBlock"), height), ScriptTransfer(w.caller, (j * 100000000), b)]
8085 }
8186 }
8287
8388
8489
8590 @Callable(w)
8691 func RewardReferrer (D) = if ((D == ""))
8792 then throw("Referrer Wallet Address cannot be empty !")
8893 else {
8994 let E = addressFromStringValue(D)
9095 let x = (toBase58String(w.caller.bytes) + "_Deposit")
9196 let F = (toBase58String(w.caller.bytes) + "_TippedStatus")
9297 let y = {
9398 let z = getInteger(this, x)
9499 if ($isInstanceOf(z, "Int"))
95100 then {
96101 let A = z
97102 A
98103 }
99104 else 0
100105 }
101106 let G = {
102107 let z = getString(this, F)
103108 if ($isInstanceOf(z, "String"))
104109 then {
105110 let A = z
106111 A
107112 }
108113 else "NO"
109114 }
110115 if ((G == "YES"))
111116 then throw("You already tipped a User, you only can tip once a user")
112117 else if (((i * 100000000) > y))
113118 then throw((("To tip your referrer you must have at least deposited: " + toString(i)) + " HASH"))
114119 else [StringEntry((toBase58String(w.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(E, (o * 100000000), b)]
115120 }
116121
117122
118123
119124 @Callable(w)
120125 func RequestTowing () = {
121126 let x = (toBase58String(w.caller.bytes) + "_Deposit")
122127 let H = (toBase58String(w.caller.bytes) + "_DepositBlock")
123128 let I = (toBase58String(w.caller.bytes) + "_LastTowingBlock")
124129 let y = {
125130 let z = getInteger(this, x)
126131 if ($isInstanceOf(z, "Int"))
127132 then {
128133 let A = z
129134 A
130135 }
131136 else 0
132137 }
133138 let J = {
134139 let z = getInteger(this, H)
135140 if ($isInstanceOf(z, "Int"))
136141 then {
137142 let A = z
138143 A
139144 }
140145 else 0
141146 }
142147 let K = {
143148 let z = getInteger(this, I)
144149 if ($isInstanceOf(z, "Int"))
145150 then {
146151 let A = z
147152 A
148153 }
149154 else 0
150155 }
151156 if (((p * u) > (height - J)))
152157 then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
153158 else if ((y >= (((i * 100000000) * (height - J)) / u)))
154159 then throw(("You should have deposited at least: " + toString(((i * (height - J)) / u))))
155160 else if (((q * v) > ((height - K) / v)))
156161 then throw((("You cannot claim the reward before: " + toString((q - ((height - K) / v)))) + " days"))
157162 else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(w.caller, (k * 100000000), c)]
158163 }
159164
160165
161166
162167 @Callable(w)
163168 func RequestTyreAir () = {
164169 let x = (toBase58String(w.caller.bytes) + "_Deposit")
165170 let H = (toBase58String(w.caller.bytes) + "_DepositBlock")
166171 let L = (toBase58String(w.caller.bytes) + "_LastTyreAirBlock")
167172 let y = {
168173 let z = getInteger(this, x)
169174 if ($isInstanceOf(z, "Int"))
170175 then {
171176 let A = z
172177 A
173178 }
174179 else 0
175180 }
176181 let J = {
177182 let z = getInteger(this, H)
178183 if ($isInstanceOf(z, "Int"))
179184 then {
180185 let A = z
181186 A
182187 }
183188 else 0
184189 }
185190 let M = {
186191 let z = getInteger(this, L)
187192 if ($isInstanceOf(z, "Int"))
188193 then {
189194 let A = z
190195 A
191196 }
192197 else 0
193198 }
194- if ((((height - J) / u) == 0))
195- then throw("The minimum period of a Week has not yet passed")
199+ if (((p * u) > (height - J)))
200+ then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
196201 else if ((y >= (((i * 100000000) * (height - J)) / u)))
197202 then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u))))
198- else if (((p * u) > (height - J)))
199- then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
200- else if (((r * v) > ((height - M) / v)))
201- then throw((("You cannot claim the reward before: " + toString((r - ((height - M) / v)))) + " days"))
202- else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(w.caller, (l * 100000000), d)]
203+ else if (((r * v) > ((height - M) / v)))
204+ then throw((("You cannot claim the reward before: " + toString((r - ((height - M) / v)))) + " days"))
205+ else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(w.caller, (l * 100000000), d)]
203206 }
204207
205208
206209
207210 @Callable(w)
208211 func RequestFuel () = {
209212 let x = (toBase58String(w.caller.bytes) + "_Deposit")
210213 let H = (toBase58String(w.caller.bytes) + "_DepositBlock")
211214 let N = (toBase58String(w.caller.bytes) + "_LastFuelBlock")
212215 let y = {
213216 let z = getInteger(this, x)
214217 if ($isInstanceOf(z, "Int"))
215218 then {
216219 let A = z
217220 A
218221 }
219222 else 0
220223 }
221224 let J = {
222225 let z = getInteger(this, H)
223226 if ($isInstanceOf(z, "Int"))
224227 then {
225228 let A = z
226229 A
227230 }
228231 else 0
229232 }
230233 let O = {
231234 let z = getInteger(this, N)
232235 if ($isInstanceOf(z, "Int"))
233236 then {
234237 let A = z
235238 A
236239 }
237240 else 0
238241 }
239- if ((((height - J) / u) == 0))
240- then throw("The minimum period of a Week has not yet passed")
242+ if (((p * u) > (height - J)))
243+ then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
241244 else if ((y >= (((i * 100000000) * (height - J)) / u)))
242245 then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u))))
243- else if (((p * u) > (height - J)))
244- then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
245- else if (((s * v) > ((height - O) / v)))
246- then throw((("You cannot claim the reward before: " + toString((s - ((height - O) / v)))) + " days"))
247- else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(w.caller, (m * 100000000), e)]
246+ else if (((s * v) > ((height - O) / v)))
247+ then throw((("You cannot claim the reward before: " + toString((s - ((height - O) / v)))) + " days"))
248+ else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(w.caller, (m * 100000000), e)]
248249 }
249250
250251
251252
252253 @Callable(w)
253254 func RequestCarUnlock () = {
254255 let x = (toBase58String(w.caller.bytes) + "_Deposit")
255256 let H = (toBase58String(w.caller.bytes) + "_DepositBlock")
256257 let P = (toBase58String(w.caller.bytes) + "_LastCarUnlockBlock")
257258 let y = {
258259 let z = getInteger(this, x)
259260 if ($isInstanceOf(z, "Int"))
260261 then {
261262 let A = z
262263 A
263264 }
264265 else 0
265266 }
266267 let J = {
267268 let z = getInteger(this, H)
268269 if ($isInstanceOf(z, "Int"))
269270 then {
270271 let A = z
271272 A
272273 }
273274 else 0
274275 }
275276 let Q = {
276277 let z = getInteger(this, P)
277278 if ($isInstanceOf(z, "Int"))
278279 then {
279280 let A = z
280281 A
281282 }
282283 else 0
283284 }
284- if ((((height - J) / u) == 0))
285- then throw("The minimum period of a Week has not yet passed")
285+ if (((p * u) > (height - J)))
286+ then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
286287 else if ((y >= (((i * 100000000) * (height - J)) / u)))
287288 then throw(("You should hav deposited at least: " + toString(((i * (height - J)) / u))))
288- else if (((p * u) > (height - J)))
289- then throw((((("You should at least be a member of " + toString(p)) + " Weeks") + " Your account maturity is: ") + toString(((height - J) / u))))
290- else if (((t * v) > ((height - Q) / v)))
291- then throw((("You cannot claim the reward before: " + toString((t - ((height - Q) / v)))) + " days"))
292- else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(w.caller, (n * 100000000), f)]
289+ else if (((t * v) > ((height - Q) / v)))
290+ then throw((("You cannot claim the reward before: " + toString((t - ((height - Q) / v)))) + " days"))
291+ else [IntegerEntry((toBase58String(w.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(w.caller, (n * 100000000), f)]
293292 }
294293
295294

github/deemru/w8io/169f3d6 
59.21 ms