tx · 996dKCuTV8rrgAHbBPwjJjsJWTscQcTGWX7hBBue1uxV 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw: -0.01100000 Waves 2022.06.12 09:50 [2092817] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves
{ "type": 13, "id": "996dKCuTV8rrgAHbBPwjJjsJWTscQcTGWX7hBBue1uxV", "fee": 1100000, "feeAssetId": null, "timestamp": 1655016651159, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "671AFAP9oAKviwQZziV2fRMeyoa8PStsZCdbqrSsbVohqeV95UtF33gW6zXCQVLVGCKagk89A2mqgUCZhNGHLR5p" ], "script": "base64:AAIFAAAAAAAAABUIAhIAEgASABIDCgEIEgASABIAEgAAAAAWAAAAAARIQVNIAQAAACCZJcBN4vrv23OPL3+HfwZ1V4TC5rl+HgfvNUFVz3N+qwAAAAAIS3Jvc3NDYXIBAAAAIDXsCLifH5dC92gyF33uSmFCOKUGzz3KXS7U4pAGaLK7AAAAAAZUb3dpbmcBAAAAIC81Z/RcVzhCx0VfTTO1h50c/NwD9IthbF2FP5MW+OJKAAAAAAdUeXJlQWlyAQAAACBL7oVHI7PJ8JabRftzCc3TDuMz0GMH1yBWiFCtnq6BIAAAAAAERnVlbAEAAAAggGavlw9bhbYyfaROM5d3ibtEK7mtxFTwqpDvjDJsptUAAAAACUNhclVubG9jawEAAAAgJMGDqNKJuumO1QhRU6FJYiLC30q22WrPoOAEwM/HuagAAAAACGRBcHBGZWVzAQAAABoBV5prAZfpnthmNq2ZMbws44Htl6ZEmG28iwAAAAAJQWRtaW5kQXBwAQAAABoBV9BDQuIchL6bmoa833jKal/OBiGoZGoQDgAAAAAJTWluQW1vdW50AAAAAAAAAAK8AAAAAA5Lcm9zc0NhclJld2FyZAAAAAAAAA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cwIAAAATX0xhc3RDYXJVbmxvY2tCbG9jawUAAAAGaGVpZ2h0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACBQAAAA9DYXJVbmxvY2tSZXdhcmQAAAAAAAX14QAFAAAACUNhclVubG9jawUAAAADbmlsAAAAAJqC0/M=", "height": 2092817, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ARaGdwRMpmF1LxFMoEZLEo3hiFjGq62yqLbhTxHesj4m Next: 4A6ybDqmwhZLdJTtECuad2vawXANGwZ4e72MGYUPo8A1 Diff:
Old | New | Differences | |
---|---|---|---|
135 | 135 | else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
136 | 136 | then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
137 | 137 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
138 | - | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
138 | + | then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString((height - UserMaturityValue)))) | |
139 | 139 | else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day))) | |
140 | 140 | then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days")) | |
141 | 141 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)] |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let HASH = base58'BJpmNoB9MABJ1ytHhbLNxuUaeoYcYVeTM1r7kh39P24i' | |
5 | 5 | ||
6 | 6 | let KrossCar = base58'4dVMkKtzaWuHC21kmxBBUwKQ5LGayLZLV9snpkJxsGeW' | |
7 | 7 | ||
8 | 8 | let Towing = base58'4BHPskP7pBoXLD7U8nk54CstqbsqRvuWr3SDP8uMrz5w' | |
9 | 9 | ||
10 | 10 | let TyreAir = base58'67QXX3ztyyTEP2jqQ5XwmmuV3L9dmtXpWbTxf9Y81gpo' | |
11 | 11 | ||
12 | 12 | let Fuel = base58'9eE15BVcRhp1XJBoYQUkxvktmq8tC3woRBUYyNymepZr' | |
13 | 13 | ||
14 | 14 | let CarUnlock = base58'3UUpggubgyFEJWG62MbMsJsZMaR8aLaJUWJmKfL5UVuR' | |
15 | 15 | ||
16 | 16 | let dAppFees = base58'3PG1NyiC2rdgX46jb8c5zPGuEAzWXhr4L2W' | |
17 | 17 | ||
18 | 18 | let AdmindApp = base58'3PLv5rYMqR4gSiP5ZSjrX2FStLhHTRgFPbb' | |
19 | 19 | ||
20 | 20 | let MinAmount = 700 | |
21 | 21 | ||
22 | 22 | let KrossCarReward = 1 | |
23 | 23 | ||
24 | 24 | let TowingReward = 1 | |
25 | 25 | ||
26 | 26 | let TyreAirReward = 1 | |
27 | 27 | ||
28 | 28 | let FuelReward = 1 | |
29 | 29 | ||
30 | 30 | let CarUnlockReward = 1 | |
31 | 31 | ||
32 | 32 | let ReferreTip = 1 | |
33 | 33 | ||
34 | 34 | let minJoinWeeks = 8 | |
35 | 35 | ||
36 | 36 | let TimeTowing = 2 | |
37 | 37 | ||
38 | 38 | let TimeTyreAir = 4 | |
39 | 39 | ||
40 | 40 | let TimeFuel = 2 | |
41 | 41 | ||
42 | 42 | let TimeCarUnlock = 6 | |
43 | 43 | ||
44 | 44 | let Week = 10 | |
45 | 45 | ||
46 | 46 | let Day = 5 | |
47 | 47 | ||
48 | 48 | @Callable(i) | |
49 | 49 | func ReceiveFakeHASHForTest () = [ScriptTransfer(i.caller, (1000000 * 100000000), HASH)] | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | ||
53 | 53 | @Callable(i) | |
54 | 54 | func ShowMeTimersOfdApp () = throw(((((((((((((((("Timers in the dApp: " + "Minimum Join Weeks: ") + toString(minJoinWeeks)) + " min") + "Timer Towing: ") + toString(TimeTowing)) + " min") + "TimerTyreAire: ") + toString(TimeTyreAir)) + " min") + "Timer Fuel: ") + toString(TimeFuel)) + " min") + "Timer CarUnlock: ") + toString(TimeCarUnlock)) + " min")) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | ||
58 | 58 | @Callable(i) | |
59 | 59 | func DepositHASH () = { | |
60 | 60 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
61 | 61 | let amount = match getInteger(this, UserDeposit) { | |
62 | 62 | case a: Int => | |
63 | 63 | a | |
64 | 64 | case _ => | |
65 | 65 | 0 | |
66 | 66 | } | |
67 | 67 | let pmt = if ((size(i.payments) == 1)) | |
68 | 68 | then i.payments[0] | |
69 | 69 | else throw("Attached payment is required") | |
70 | 70 | if (if (((MinAmount * 100000000) > pmt.amount)) | |
71 | 71 | then true | |
72 | 72 | else (pmt.assetId != HASH)) | |
73 | 73 | then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH") | |
74 | 74 | else { | |
75 | 75 | let UserDepositValue = (amount + pmt.amount) | |
76 | 76 | [IntegerEntry((toBase58String(i.caller.bytes) + "_Deposit"), UserDepositValue), IntegerEntry((toBase58String(i.caller.bytes) + "_DepositBlock"), height), ScriptTransfer(i.caller, (KrossCarReward * 100000000), KrossCar)] | |
77 | 77 | } | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | ||
82 | 82 | @Callable(i) | |
83 | 83 | func RewardReferrer (UserWalletAddressStr) = if ((UserWalletAddressStr == "")) | |
84 | 84 | then throw("Referrer Wallet Address cannot be empty !") | |
85 | 85 | else { | |
86 | 86 | let UserWalletAddress = addressFromStringValue(UserWalletAddressStr) | |
87 | 87 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
88 | 88 | let TippedStatus = (toBase58String(i.caller.bytes) + "_TippedStatus") | |
89 | 89 | let amount = match getInteger(this, UserDeposit) { | |
90 | 90 | case a: Int => | |
91 | 91 | a | |
92 | 92 | case _ => | |
93 | 93 | 0 | |
94 | 94 | } | |
95 | 95 | let TippedStatusValue = match getString(this, TippedStatus) { | |
96 | 96 | case a: String => | |
97 | 97 | a | |
98 | 98 | case _ => | |
99 | 99 | "NO" | |
100 | 100 | } | |
101 | 101 | if ((TippedStatusValue == "YES")) | |
102 | 102 | then throw("You already tipped a User, you only can tip once a user") | |
103 | 103 | else if (((MinAmount * 100000000) > amount)) | |
104 | 104 | then throw((("To tip your referrer you must have at least deposited: " + toString(MinAmount)) + " HASH")) | |
105 | 105 | else [StringEntry((toBase58String(i.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(UserWalletAddress, (ReferreTip * 100000000), KrossCar)] | |
106 | 106 | } | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | ||
110 | 110 | @Callable(i) | |
111 | 111 | func RequestTowing () = { | |
112 | 112 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
113 | 113 | let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock") | |
114 | 114 | let LastTowingBlock = (toBase58String(i.caller.bytes) + "_LastTowingBlock") | |
115 | 115 | let amount = match getInteger(this, UserDeposit) { | |
116 | 116 | case a: Int => | |
117 | 117 | a | |
118 | 118 | case _ => | |
119 | 119 | 0 | |
120 | 120 | } | |
121 | 121 | let UserMaturityValue = match getInteger(this, UserMaturity) { | |
122 | 122 | case a: Int => | |
123 | 123 | a | |
124 | 124 | case _ => | |
125 | 125 | 0 | |
126 | 126 | } | |
127 | 127 | let LastTowingBlockValue = match getInteger(this, LastTowingBlock) { | |
128 | 128 | case a: Int => | |
129 | 129 | a | |
130 | 130 | case _ => | |
131 | 131 | 0 | |
132 | 132 | } | |
133 | 133 | if ((((height - UserMaturityValue) / Week) == 0)) | |
134 | 134 | then throw("The minimum period of a Week has not yet passed") | |
135 | 135 | else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
136 | 136 | then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
137 | 137 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
138 | - | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
138 | + | then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString((height - UserMaturityValue)))) | |
139 | 139 | else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day))) | |
140 | 140 | then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days")) | |
141 | 141 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)] | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | ||
146 | 146 | @Callable(i) | |
147 | 147 | func RequestTyreAir () = { | |
148 | 148 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
149 | 149 | let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock") | |
150 | 150 | let LastTyreAirBlock = (toBase58String(i.caller.bytes) + "_LastTyreAirBlock") | |
151 | 151 | let amount = match getInteger(this, UserDeposit) { | |
152 | 152 | case a: Int => | |
153 | 153 | a | |
154 | 154 | case _ => | |
155 | 155 | 0 | |
156 | 156 | } | |
157 | 157 | let UserMaturityValue = match getInteger(this, UserMaturity) { | |
158 | 158 | case a: Int => | |
159 | 159 | a | |
160 | 160 | case _ => | |
161 | 161 | 0 | |
162 | 162 | } | |
163 | 163 | let LastTyreAirBlockValue = match getInteger(this, LastTyreAirBlock) { | |
164 | 164 | case a: Int => | |
165 | 165 | a | |
166 | 166 | case _ => | |
167 | 167 | 0 | |
168 | 168 | } | |
169 | 169 | if ((((height - UserMaturityValue) / Week) == 0)) | |
170 | 170 | then throw("The minimum period of a Week has not yet passed") | |
171 | 171 | else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
172 | 172 | then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
173 | 173 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
174 | 174 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
175 | 175 | else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day))) | |
176 | 176 | then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days")) | |
177 | 177 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)] | |
178 | 178 | } | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | ||
182 | 182 | @Callable(i) | |
183 | 183 | func RequestFuel () = { | |
184 | 184 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
185 | 185 | let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock") | |
186 | 186 | let LastFuelBlock = (toBase58String(i.caller.bytes) + "_LastFuelBlock") | |
187 | 187 | let amount = match getInteger(this, UserDeposit) { | |
188 | 188 | case a: Int => | |
189 | 189 | a | |
190 | 190 | case _ => | |
191 | 191 | 0 | |
192 | 192 | } | |
193 | 193 | let UserMaturityValue = match getInteger(this, UserMaturity) { | |
194 | 194 | case a: Int => | |
195 | 195 | a | |
196 | 196 | case _ => | |
197 | 197 | 0 | |
198 | 198 | } | |
199 | 199 | let LastFuelBlockValue = match getInteger(this, LastFuelBlock) { | |
200 | 200 | case a: Int => | |
201 | 201 | a | |
202 | 202 | case _ => | |
203 | 203 | 0 | |
204 | 204 | } | |
205 | 205 | if ((((height - UserMaturityValue) / Week) == 0)) | |
206 | 206 | then throw("The minimum period of a Week has not yet passed") | |
207 | 207 | else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
208 | 208 | then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
209 | 209 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
210 | 210 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
211 | 211 | else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day))) | |
212 | 212 | then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days")) | |
213 | 213 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)] | |
214 | 214 | } | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | ||
218 | 218 | @Callable(i) | |
219 | 219 | func RequestCarUnlock () = { | |
220 | 220 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
221 | 221 | let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock") | |
222 | 222 | let LastCarUnlockBlock = (toBase58String(i.caller.bytes) + "_LastCarUnlockBlock") | |
223 | 223 | let amount = match getInteger(this, UserDeposit) { | |
224 | 224 | case a: Int => | |
225 | 225 | a | |
226 | 226 | case _ => | |
227 | 227 | 0 | |
228 | 228 | } | |
229 | 229 | let UserMaturityValue = match getInteger(this, UserMaturity) { | |
230 | 230 | case a: Int => | |
231 | 231 | a | |
232 | 232 | case _ => | |
233 | 233 | 0 | |
234 | 234 | } | |
235 | 235 | let LastCarUnlockBlockValue = match getInteger(this, LastCarUnlockBlock) { | |
236 | 236 | case a: Int => | |
237 | 237 | a | |
238 | 238 | case _ => | |
239 | 239 | 0 | |
240 | 240 | } | |
241 | 241 | if ((((height - UserMaturityValue) / Week) == 0)) | |
242 | 242 | then throw("The minimum period of a Week has not yet passed") | |
243 | 243 | else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
244 | 244 | then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
245 | 245 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
246 | 246 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
247 | 247 | else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day))) | |
248 | 248 | then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days")) | |
249 | 249 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)] | |
250 | 250 | } | |
251 | 251 | ||
252 | 252 |
github/deemru/w8io/026f985 42.94 ms ◑