tx · 7amCy2K8chBxWWy9tN9EyQZskS61mmH21u2WEuLbUDsP 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw: -0.01000000 Waves 2022.06.10 16:41 [2090364] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves
{ "type": 13, "id": "7amCy2K8chBxWWy9tN9EyQZskS61mmH21u2WEuLbUDsP", "fee": 1000000, "feeAssetId": null, "timestamp": 1654868499674, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "MJcJWzyBgp61mLFnx22JZJ6Mt83X63S5AENh6sZfmyfbJry7gNWtraZjQPSpyVtg4PyXj5ypnmyPd8tQe4YADV7" ], "script": "base64:AAIFAAAAAAAAABMIAhIAEgASAwoBCBIAEgASABIAAAAAFgAAAAAESEFTSAEAAAAgmSXATeL679tzjy9/h38GdVeEwua5fh4H7zVBVc9zfqsAAAAACEtyb3NzQ2FyAQAAACA17Ai4nx+XQvdoMhd97kphQjilBs89yl0u1OKQBmiyuwAAAAAGVG93aW5nAQAAACAvNWf0XFc4QsdFX00ztYedHPzcA/SLYWxdhT+TFvjiSgAAAAAHVHlyZUFpcgEAAAAgS+6FRyOzyfCWm0X7cwnN0w7jM9BjB9cgVohQrZ6ugSAAAAAABEZ1ZWwBAAAAIIBmr5cPW4W2Mn2kTjOXd4m7RCu5rcRU8KqQ74wybKbVAAAAAAlDYXJVbmxvY2sBAAAAICTBg6jSibrpjtUIUVOhSWIiwt9Kttlqz6DgBMDPx7moAAAAAAhkQXBwRmVlcwEAAAAaAVeaawGX6Z7YZjatmTG8LOOB7ZemRJhtvIsAAAAACUFkbWluZEFwcAEAAAAaAVfQQ0LiHIS+m5qGvN94ympfzgYhqGRqEA4AAAAACU1pbkFtb3VudAAAAAAAAAACvAAAAAAOS3Jvc3NDYXJSZXdhc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Sm9pbldlZWtzBQAAAARXZWVrCQAAZQAAAAIFAAAABmhlaWdodAUAAAARVXNlck1hdHVyaXR5VmFsdWUJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAI1lvdSBzaG91bGQgYXQgbGVhc3QgYmUgYSBtZW1iZXIgb2YgCQABpAAAAAEFAAAADG1pbkpvaW5XZWVrcwIAAAAGIFdlZWtzAwkAAGYAAAACCQAAaAAAAAIFAAAADVRpbWVDYXJVbmxvY2sFAAAAA0RheQkAAGkAAAACCQAAZQAAAAIFAAAABmhlaWdodAUAAAAXTGFzdENhclVubG9ja0Jsb2NrVmFsdWUFAAAAA0RheQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAkWW91IGNhbm5vdCBjbGFpbSB0aGUgcmV3YXJkIGJlZm9yZTogCQABpAAAAAEJAABlAAAAAgUAAAANVGltZUNhclVubG9jawkAAGkAAAACCQAAZQAAAAIFAAAABmhlaWdodAUAAAAXTGFzdENhclVubG9ja0Jsb2NrVmFsdWUFAAAAA0RheQIAAAAFIGRheXMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAgAAABNfTGFzdENhclVubG9ja0Jsb2NrBQAAAAZoZWlnaHQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIFAAAAD0NhclVubG9ja1Jld2FyZAAAAAAABfXhAAUAAAAJQ2FyVW5sb2NrBQAAAANuaWwAAAAAHoCqfA==", "height": 2090364, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AktiFZkUg2tkr3uKDmvWALDAxF1VoEbwViD9RNadAYbt Next: 5EwXodCHpudLoQdS7qkaZ1dbN8mGBr4tNH5qs8CG8xaV Diff:
Old | New | Differences | |
---|---|---|---|
130 | 130 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
131 | 131 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
132 | 132 | else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day))) | |
133 | - | then throw((("You cannot claim the reward before: " + toString(((height - LastTowingBlockValue) / Day))) + " days")) | |
133 | + | then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days")) | |
134 | 134 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)] | |
135 | 135 | } | |
136 | 136 | ||
164 | 164 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
165 | 165 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
166 | 166 | else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day))) | |
167 | - | then throw((("You cannot claim the reward before: " + toString(((height - LastTyreAirBlockValue) / Day))) + " days")) | |
167 | + | then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days")) | |
168 | 168 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)] | |
169 | 169 | } | |
170 | 170 | ||
198 | 198 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
199 | 199 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
200 | 200 | else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day))) | |
201 | - | then throw((("You cannot claim the reward before: " + toString(((height - LastFuelBlockValue) / Day))) + " days")) | |
201 | + | then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days")) | |
202 | 202 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)] | |
203 | 203 | } | |
204 | 204 |
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, (10000 * 100000000), HASH)] | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | ||
53 | 53 | @Callable(i) | |
54 | 54 | func DepositHASH () = { | |
55 | 55 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
56 | 56 | let amount = match getInteger(this, UserDeposit) { | |
57 | 57 | case a: Int => | |
58 | 58 | a | |
59 | 59 | case _ => | |
60 | 60 | 0 | |
61 | 61 | } | |
62 | 62 | let pmt = if ((size(i.payments) == 1)) | |
63 | 63 | then i.payments[0] | |
64 | 64 | else throw("Attached payment is required") | |
65 | 65 | if (if (((MinAmount * 100000000) > pmt.amount)) | |
66 | 66 | then true | |
67 | 67 | else (pmt.assetId != HASH)) | |
68 | 68 | then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH") | |
69 | 69 | else { | |
70 | 70 | let UserDepositValue = (amount + pmt.amount) | |
71 | 71 | [IntegerEntry((toBase58String(i.caller.bytes) + "_Deposit"), UserDepositValue), IntegerEntry((toBase58String(i.caller.bytes) + "_DepositBlock"), height), ScriptTransfer(i.caller, (KrossCarReward * 100000000), KrossCar)] | |
72 | 72 | } | |
73 | 73 | } | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | ||
77 | 77 | @Callable(i) | |
78 | 78 | func RewardReferrer (UserWalletAddressStr) = if ((UserWalletAddressStr == "")) | |
79 | 79 | then throw("Referrer Wallet Address cannot be empty !") | |
80 | 80 | else { | |
81 | 81 | let UserWalletAddress = addressFromStringValue(UserWalletAddressStr) | |
82 | 82 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
83 | 83 | let TippedStatus = (toBase58String(i.caller.bytes) + "_TippedStatus") | |
84 | 84 | let amount = match getInteger(this, UserDeposit) { | |
85 | 85 | case a: Int => | |
86 | 86 | a | |
87 | 87 | case _ => | |
88 | 88 | 0 | |
89 | 89 | } | |
90 | 90 | let TippedStatusValue = match getString(this, TippedStatus) { | |
91 | 91 | case a: String => | |
92 | 92 | a | |
93 | 93 | case _ => | |
94 | 94 | "NO" | |
95 | 95 | } | |
96 | 96 | if ((TippedStatusValue == "YES")) | |
97 | 97 | then throw("You already tipped a User, you only can tip once a user") | |
98 | 98 | else if (((MinAmount * 100000000) > amount)) | |
99 | 99 | then throw((("To tip your referrer you must have at least deposited: " + toString(MinAmount)) + " HASH")) | |
100 | 100 | else [StringEntry((toBase58String(i.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(UserWalletAddress, (ReferreTip * 100000000), KrossCar)] | |
101 | 101 | } | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | ||
105 | 105 | @Callable(i) | |
106 | 106 | func RequestTowing () = { | |
107 | 107 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
108 | 108 | let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock") | |
109 | 109 | let LastTowingBlock = (toBase58String(i.caller.bytes) + "_LastTowingBlock") | |
110 | 110 | let amount = match getInteger(this, UserDeposit) { | |
111 | 111 | case a: Int => | |
112 | 112 | a | |
113 | 113 | case _ => | |
114 | 114 | 0 | |
115 | 115 | } | |
116 | 116 | let UserMaturityValue = match getInteger(this, UserMaturity) { | |
117 | 117 | case a: Int => | |
118 | 118 | a | |
119 | 119 | case _ => | |
120 | 120 | 0 | |
121 | 121 | } | |
122 | 122 | let LastTowingBlockValue = match getInteger(this, LastTowingBlock) { | |
123 | 123 | case a: Int => | |
124 | 124 | a | |
125 | 125 | case _ => | |
126 | 126 | 0 | |
127 | 127 | } | |
128 | 128 | if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
129 | 129 | then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
130 | 130 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
131 | 131 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
132 | 132 | else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day))) | |
133 | - | then throw((("You cannot claim the reward before: " + toString(((height - LastTowingBlockValue) / Day))) + " days")) | |
133 | + | then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days")) | |
134 | 134 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)] | |
135 | 135 | } | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | ||
139 | 139 | @Callable(i) | |
140 | 140 | func RequestTyreAir () = { | |
141 | 141 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
142 | 142 | let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock") | |
143 | 143 | let LastTyreAirBlock = (toBase58String(i.caller.bytes) + "_LastTyreAirBlock") | |
144 | 144 | let amount = match getInteger(this, UserDeposit) { | |
145 | 145 | case a: Int => | |
146 | 146 | a | |
147 | 147 | case _ => | |
148 | 148 | 0 | |
149 | 149 | } | |
150 | 150 | let UserMaturityValue = match getInteger(this, UserMaturity) { | |
151 | 151 | case a: Int => | |
152 | 152 | a | |
153 | 153 | case _ => | |
154 | 154 | 0 | |
155 | 155 | } | |
156 | 156 | let LastTyreAirBlockValue = match getInteger(this, LastTyreAirBlock) { | |
157 | 157 | case a: Int => | |
158 | 158 | a | |
159 | 159 | case _ => | |
160 | 160 | 0 | |
161 | 161 | } | |
162 | 162 | if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
163 | 163 | then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
164 | 164 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
165 | 165 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
166 | 166 | else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day))) | |
167 | - | then throw((("You cannot claim the reward before: " + toString(((height - LastTyreAirBlockValue) / Day))) + " days")) | |
167 | + | then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days")) | |
168 | 168 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)] | |
169 | 169 | } | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | ||
173 | 173 | @Callable(i) | |
174 | 174 | func RequestFuel () = { | |
175 | 175 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
176 | 176 | let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock") | |
177 | 177 | let LastFuelBlock = (toBase58String(i.caller.bytes) + "_LastFuelBlock") | |
178 | 178 | let amount = match getInteger(this, UserDeposit) { | |
179 | 179 | case a: Int => | |
180 | 180 | a | |
181 | 181 | case _ => | |
182 | 182 | 0 | |
183 | 183 | } | |
184 | 184 | let UserMaturityValue = match getInteger(this, UserMaturity) { | |
185 | 185 | case a: Int => | |
186 | 186 | a | |
187 | 187 | case _ => | |
188 | 188 | 0 | |
189 | 189 | } | |
190 | 190 | let LastFuelBlockValue = match getInteger(this, LastFuelBlock) { | |
191 | 191 | case a: Int => | |
192 | 192 | a | |
193 | 193 | case _ => | |
194 | 194 | 0 | |
195 | 195 | } | |
196 | 196 | if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
197 | 197 | then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
198 | 198 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
199 | 199 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
200 | 200 | else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day))) | |
201 | - | then throw((("You cannot claim the reward before: " + toString(((height - LastFuelBlockValue) / Day))) + " days")) | |
201 | + | then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days")) | |
202 | 202 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)] | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | ||
207 | 207 | @Callable(i) | |
208 | 208 | func RequestCarUnlock () = { | |
209 | 209 | let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit") | |
210 | 210 | let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock") | |
211 | 211 | let LastCarUnlockBlock = (toBase58String(i.caller.bytes) + "_LastCarUnlockBlock") | |
212 | 212 | let amount = match getInteger(this, UserDeposit) { | |
213 | 213 | case a: Int => | |
214 | 214 | a | |
215 | 215 | case _ => | |
216 | 216 | 0 | |
217 | 217 | } | |
218 | 218 | let UserMaturityValue = match getInteger(this, UserMaturity) { | |
219 | 219 | case a: Int => | |
220 | 220 | a | |
221 | 221 | case _ => | |
222 | 222 | 0 | |
223 | 223 | } | |
224 | 224 | let LastCarUnlockBlockValue = match getInteger(this, LastCarUnlockBlock) { | |
225 | 225 | case a: Int => | |
226 | 226 | a | |
227 | 227 | case _ => | |
228 | 228 | 0 | |
229 | 229 | } | |
230 | 230 | if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week))) | |
231 | 231 | then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week)))) | |
232 | 232 | else if (((minJoinWeeks * Week) > (height - UserMaturityValue))) | |
233 | 233 | then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks")) | |
234 | 234 | else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day))) | |
235 | 235 | then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days")) | |
236 | 236 | else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)] | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 |
github/deemru/w8io/026f985 36.80 ms ◑