tx · 2uTT6XCLZUkz55PmLwbgdqS8fcSj6muXFHnfig1MQVmH

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01000000 Waves

2022.06.12 09:30 [2092800] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "2uTT6XCLZUkz55PmLwbgdqS8fcSj6muXFHnfig1MQVmH", "fee": 1000000, "feeAssetId": null, "timestamp": 1655015511763, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "3HdGpvPE7t9b1amgEomNG4bDidp6N1ypMZ9Qgi6DbEidfFb4PwMBhpGujYAMCaDEtbKF7NPxJGpgToDXBuDaqrh9" ], "script": "base64:AAIFAAAAAAAAABMIAhIAEgASAwoBCBIAEgASABIAAAAAFgAAAAAESEFTSAEAAAAgmSXATeL679tzjy9/h38GdVeEwua5fh4H7zVBVc9zfqsAAAAACEtyb3NzQ2FyAQAAACA17Ai4nx+XQvdoMhd97kphQjilBs89yl0u1OKQBmiyuwAAAAAGVG93aW5nAQAAACAvNWf0XFc4QsdFX00ztYedHPzcA/SLYWxdhT+TFvjiSgAAAAAHVHlyZUFpcgEAAAAgS+6FRyOzyfCWm0X7cwnN0w7jM9BjB9cgVohQrZ6ugSAAAAAABEZ1ZWwBAAAAIIBmr5cPW4W2Mn2kTjOXd4m7RCu5rcRU8KqQ74wybKbVAAAAAAlDYXJVbmxvY2sBAAAAICTBg6jSibrpjtUIUVOhSWIiwt9Kttlqz6DgBMDPx7moAAAAAAhkQXBwRmVlcwEAAAAaAVeaawGX6Z7YZjatmTG8LOOB7ZemRJhtvIsAAAAACUFkbWluZEFwcAEAAAAaAVfQQ0LiHIS+m5qGvN94ympfzgYhqGRqEA4AAAAACU1pbkFtb3VudAAAAAAAAAACvAAAAAAOS3Jvc3NDY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XJVbmxvY2sFAAAAA25pbAAAAABrcSYR", "height": 2092800, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5WZCM97aNd4JSPVct6brviCKUQmYCUoLz533xYGaEgBb Next: ApsAtrkAf8AuMmYKxaEiR8Xz5wJb2i6EEUq2scsvStfx Diff:
OldNewDifferences
125125 case _ =>
126126 0
127127 }
128- if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
129- then throw(("You should have deposited at least: " + toString(((height - UserMaturityValue) / Week))))
130- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
131- then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
132- else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
133- then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
134- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
128+ if ((((height - UserMaturityValue) / Week) == 0))
129+ then throw("The minimum period of a Week has not yet passed")
130+ else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
131+ then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
132+ else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
133+ then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
134+ else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
135+ then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
136+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
135137 }
136138
137139
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let HASH = base58'BJpmNoB9MABJ1ytHhbLNxuUaeoYcYVeTM1r7kh39P24i'
55
66 let KrossCar = base58'4dVMkKtzaWuHC21kmxBBUwKQ5LGayLZLV9snpkJxsGeW'
77
88 let Towing = base58'4BHPskP7pBoXLD7U8nk54CstqbsqRvuWr3SDP8uMrz5w'
99
1010 let TyreAir = base58'67QXX3ztyyTEP2jqQ5XwmmuV3L9dmtXpWbTxf9Y81gpo'
1111
1212 let Fuel = base58'9eE15BVcRhp1XJBoYQUkxvktmq8tC3woRBUYyNymepZr'
1313
1414 let CarUnlock = base58'3UUpggubgyFEJWG62MbMsJsZMaR8aLaJUWJmKfL5UVuR'
1515
1616 let dAppFees = base58'3PG1NyiC2rdgX46jb8c5zPGuEAzWXhr4L2W'
1717
1818 let AdmindApp = base58'3PLv5rYMqR4gSiP5ZSjrX2FStLhHTRgFPbb'
1919
2020 let MinAmount = 700
2121
2222 let KrossCarReward = 1
2323
2424 let TowingReward = 1
2525
2626 let TyreAirReward = 1
2727
2828 let FuelReward = 1
2929
3030 let CarUnlockReward = 1
3131
3232 let ReferreTip = 1
3333
3434 let minJoinWeeks = 8
3535
3636 let TimeTowing = 2
3737
3838 let TimeTyreAir = 4
3939
4040 let TimeFuel = 2
4141
4242 let TimeCarUnlock = 6
4343
4444 let Week = 10
4545
4646 let Day = 5
4747
4848 @Callable(i)
4949 func ReceiveFakeHASHForTest () = [ScriptTransfer(i.caller, (1000000 * 100000000), HASH)]
5050
5151
5252
5353 @Callable(i)
5454 func DepositHASH () = {
5555 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
5656 let amount = match getInteger(this, UserDeposit) {
5757 case a: Int =>
5858 a
5959 case _ =>
6060 0
6161 }
6262 let pmt = if ((size(i.payments) == 1))
6363 then i.payments[0]
6464 else throw("Attached payment is required")
6565 if (if (((MinAmount * 100000000) > pmt.amount))
6666 then true
6767 else (pmt.assetId != HASH))
6868 then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH")
6969 else {
7070 let UserDepositValue = (amount + pmt.amount)
7171 [IntegerEntry((toBase58String(i.caller.bytes) + "_Deposit"), UserDepositValue), IntegerEntry((toBase58String(i.caller.bytes) + "_DepositBlock"), height), ScriptTransfer(i.caller, (KrossCarReward * 100000000), KrossCar)]
7272 }
7373 }
7474
7575
7676
7777 @Callable(i)
7878 func RewardReferrer (UserWalletAddressStr) = if ((UserWalletAddressStr == ""))
7979 then throw("Referrer Wallet Address cannot be empty !")
8080 else {
8181 let UserWalletAddress = addressFromStringValue(UserWalletAddressStr)
8282 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
8383 let TippedStatus = (toBase58String(i.caller.bytes) + "_TippedStatus")
8484 let amount = match getInteger(this, UserDeposit) {
8585 case a: Int =>
8686 a
8787 case _ =>
8888 0
8989 }
9090 let TippedStatusValue = match getString(this, TippedStatus) {
9191 case a: String =>
9292 a
9393 case _ =>
9494 "NO"
9595 }
9696 if ((TippedStatusValue == "YES"))
9797 then throw("You already tipped a User, you only can tip once a user")
9898 else if (((MinAmount * 100000000) > amount))
9999 then throw((("To tip your referrer you must have at least deposited: " + toString(MinAmount)) + " HASH"))
100100 else [StringEntry((toBase58String(i.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(UserWalletAddress, (ReferreTip * 100000000), KrossCar)]
101101 }
102102
103103
104104
105105 @Callable(i)
106106 func RequestTowing () = {
107107 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
108108 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
109109 let LastTowingBlock = (toBase58String(i.caller.bytes) + "_LastTowingBlock")
110110 let amount = match getInteger(this, UserDeposit) {
111111 case a: Int =>
112112 a
113113 case _ =>
114114 0
115115 }
116116 let UserMaturityValue = match getInteger(this, UserMaturity) {
117117 case a: Int =>
118118 a
119119 case _ =>
120120 0
121121 }
122122 let LastTowingBlockValue = match getInteger(this, LastTowingBlock) {
123123 case a: Int =>
124124 a
125125 case _ =>
126126 0
127127 }
128- if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
129- then throw(("You should have deposited at least: " + toString(((height - UserMaturityValue) / Week))))
130- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
131- then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
132- else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
133- then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
134- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
128+ if ((((height - UserMaturityValue) / Week) == 0))
129+ then throw("The minimum period of a Week has not yet passed")
130+ else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
131+ then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
132+ else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
133+ then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
134+ else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
135+ then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
136+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
135137 }
136138
137139
138140
139141 @Callable(i)
140142 func RequestTyreAir () = {
141143 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
142144 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
143145 let LastTyreAirBlock = (toBase58String(i.caller.bytes) + "_LastTyreAirBlock")
144146 let amount = match getInteger(this, UserDeposit) {
145147 case a: Int =>
146148 a
147149 case _ =>
148150 0
149151 }
150152 let UserMaturityValue = match getInteger(this, UserMaturity) {
151153 case a: Int =>
152154 a
153155 case _ =>
154156 0
155157 }
156158 let LastTyreAirBlockValue = match getInteger(this, LastTyreAirBlock) {
157159 case a: Int =>
158160 a
159161 case _ =>
160162 0
161163 }
162164 if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
163165 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
164166 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
165167 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
166168 else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day)))
167169 then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days"))
168170 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
169171 }
170172
171173
172174
173175 @Callable(i)
174176 func RequestFuel () = {
175177 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
176178 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
177179 let LastFuelBlock = (toBase58String(i.caller.bytes) + "_LastFuelBlock")
178180 let amount = match getInteger(this, UserDeposit) {
179181 case a: Int =>
180182 a
181183 case _ =>
182184 0
183185 }
184186 let UserMaturityValue = match getInteger(this, UserMaturity) {
185187 case a: Int =>
186188 a
187189 case _ =>
188190 0
189191 }
190192 let LastFuelBlockValue = match getInteger(this, LastFuelBlock) {
191193 case a: Int =>
192194 a
193195 case _ =>
194196 0
195197 }
196198 if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
197199 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
198200 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
199201 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
200202 else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day)))
201203 then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days"))
202204 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
203205 }
204206
205207
206208
207209 @Callable(i)
208210 func RequestCarUnlock () = {
209211 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
210212 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
211213 let LastCarUnlockBlock = (toBase58String(i.caller.bytes) + "_LastCarUnlockBlock")
212214 let amount = match getInteger(this, UserDeposit) {
213215 case a: Int =>
214216 a
215217 case _ =>
216218 0
217219 }
218220 let UserMaturityValue = match getInteger(this, UserMaturity) {
219221 case a: Int =>
220222 a
221223 case _ =>
222224 0
223225 }
224226 let LastCarUnlockBlockValue = match getInteger(this, LastCarUnlockBlock) {
225227 case a: Int =>
226228 a
227229 case _ =>
228230 0
229231 }
230232 if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
231233 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
232234 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
233235 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
234236 else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day)))
235237 then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days"))
236238 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)]
237239 }
238240
239241

github/deemru/w8io/169f3d6 
42.78 ms