tx · ApsAtrkAf8AuMmYKxaEiR8Xz5wJb2i6EEUq2scsvStfx

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01000000 Waves

2022.06.12 09:35 [2092803] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "ApsAtrkAf8AuMmYKxaEiR8Xz5wJb2i6EEUq2scsvStfx", "fee": 1000000, "feeAssetId": null, "timestamp": 1655015701826, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "3fzYfukdxiHaX5MCkA7SLYXcFC7jxzigRDkZUpWrVFsurmVT3Q8S5whku6hrk2oc6ARH6SzqXqbTVbSth3RdRHQJ" ], "script": "base64:AAIFAAAAAAAAABMIAhIAEgASAwoBCBIAEgASABIAAAAAFgAAAAAESEFTSAEAAAAgmSXATeL679tzjy9/h38GdVeEwua5fh4H7zVBVc9zfqsAAAAACEtyb3NzQ2FyAQAAACA17Ai4nx+XQvdoMhd97kphQjilBs89yl0u1OKQBmiyuwAAAAAGVG93aW5nAQAAACAvNWf0XFc4QsdFX00ztYedHPzcA/SLYWxdhT+TFvjiSgAAAAAHVHlyZUFpcgEAAAAgS+6FRyOzyfCWm0X7cwnN0w7jM9BjB9cgVohQrZ6ugSAAAAAABEZ1ZWwBAAAAIIBmr5cPW4W2Mn2kTjOXd4m7RCu5rcRU8KqQ74wybKbVAAAAAAlDYXJVbmxvY2sBAAAAICTBg6jSibrpjtUIUVOhSWIiwt9Kttlqz6DgBMDPx7moAAAAAAhkQXBwRmVlcwEAAAAaAVeaawGX6Z7YZjatmTG8LOOB7ZemRJhtvIsAAAAACUFkbWluZEFwcAEAAAAaAVfQQ0LiHIS+m5qGvN94ympfzgYhqGRqEA4AAAAACU1pbkFtb3VudAAAAAAAAAACvAAAAAAOS3Jvc3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VW5sb2NrQmxvY2tWYWx1ZQUAAAADRGF5CQAAAgAAAAEJAAEsAAAAAgkAASwAAAACAgAAACRZb3UgY2Fubm90IGNsYWltIHRoZSByZXdhcmQgYmVmb3JlOiAJAAGkAAAAAQkAAGUAAAACBQAAAA1UaW1lQ2FyVW5sb2NrCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAABdMYXN0Q2FyVW5sb2NrQmxvY2tWYWx1ZQUAAAADRGF5AgAAAAUgZGF5cwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAE19MYXN0Q2FyVW5sb2NrQmxvY2sFAAAABmhlaWdodAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABoAAAAAgUAAAAPQ2FyVW5sb2NrUmV3YXJkAAAAAAAF9eEABQAAAAlDYXJVbmxvY2sFAAAAA25pbAAAAADMBoou", "height": 2092803, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2uTT6XCLZUkz55PmLwbgdqS8fcSj6muXFHnfig1MQVmH Next: D6PzWeC8DHrSqvKSaPhk9HFnFsysyKm9j6dmSmjAM2nL Diff:
OldNewDifferences
161161 case _ =>
162162 0
163163 }
164- if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
165- then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
166- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
167- then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
168- else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day)))
169- then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days"))
170- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
164+ if ((((height - UserMaturityValue) / Week) == 0))
165+ then throw("The minimum period of a Week has not yet passed")
166+ else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
167+ then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
168+ else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
169+ then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
170+ else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day)))
171+ then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days"))
172+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
171173 }
172174
173175
195197 case _ =>
196198 0
197199 }
198- if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
199- then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
200- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
201- then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
202- else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day)))
203- then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days"))
204- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
200+ if ((((height - UserMaturityValue) / Week) == 0))
201+ then throw("The minimum period of a Week has not yet passed")
202+ else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
203+ then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
204+ else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
205+ then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
206+ else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day)))
207+ then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days"))
208+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
205209 }
206210
207211
229233 case _ =>
230234 0
231235 }
232- if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
233- then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
234- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
235- then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
236- else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day)))
237- then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days"))
238- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)]
236+ if ((((height - UserMaturityValue) / Week) == 0))
237+ then throw("The minimum period of a Week has not yet passed")
238+ else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
239+ then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
240+ else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
241+ then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
242+ else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day)))
243+ then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days"))
244+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)]
239245 }
240246
241247
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 }
128128 if ((((height - UserMaturityValue) / Week) == 0))
129129 then throw("The minimum period of a Week has not yet passed")
130130 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
131131 then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
132132 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
133133 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
134134 else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
135135 then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
136136 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
137137 }
138138
139139
140140
141141 @Callable(i)
142142 func RequestTyreAir () = {
143143 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
144144 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
145145 let LastTyreAirBlock = (toBase58String(i.caller.bytes) + "_LastTyreAirBlock")
146146 let amount = match getInteger(this, UserDeposit) {
147147 case a: Int =>
148148 a
149149 case _ =>
150150 0
151151 }
152152 let UserMaturityValue = match getInteger(this, UserMaturity) {
153153 case a: Int =>
154154 a
155155 case _ =>
156156 0
157157 }
158158 let LastTyreAirBlockValue = match getInteger(this, LastTyreAirBlock) {
159159 case a: Int =>
160160 a
161161 case _ =>
162162 0
163163 }
164- if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
165- then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
166- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
167- then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
168- else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day)))
169- then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days"))
170- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
164+ if ((((height - UserMaturityValue) / Week) == 0))
165+ then throw("The minimum period of a Week has not yet passed")
166+ else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
167+ then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
168+ else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
169+ then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
170+ else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day)))
171+ then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days"))
172+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
171173 }
172174
173175
174176
175177 @Callable(i)
176178 func RequestFuel () = {
177179 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
178180 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
179181 let LastFuelBlock = (toBase58String(i.caller.bytes) + "_LastFuelBlock")
180182 let amount = match getInteger(this, UserDeposit) {
181183 case a: Int =>
182184 a
183185 case _ =>
184186 0
185187 }
186188 let UserMaturityValue = match getInteger(this, UserMaturity) {
187189 case a: Int =>
188190 a
189191 case _ =>
190192 0
191193 }
192194 let LastFuelBlockValue = match getInteger(this, LastFuelBlock) {
193195 case a: Int =>
194196 a
195197 case _ =>
196198 0
197199 }
198- if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
199- then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
200- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
201- then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
202- else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day)))
203- then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days"))
204- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
200+ if ((((height - UserMaturityValue) / Week) == 0))
201+ then throw("The minimum period of a Week has not yet passed")
202+ else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
203+ then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
204+ else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
205+ then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
206+ else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day)))
207+ then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days"))
208+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
205209 }
206210
207211
208212
209213 @Callable(i)
210214 func RequestCarUnlock () = {
211215 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
212216 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
213217 let LastCarUnlockBlock = (toBase58String(i.caller.bytes) + "_LastCarUnlockBlock")
214218 let amount = match getInteger(this, UserDeposit) {
215219 case a: Int =>
216220 a
217221 case _ =>
218222 0
219223 }
220224 let UserMaturityValue = match getInteger(this, UserMaturity) {
221225 case a: Int =>
222226 a
223227 case _ =>
224228 0
225229 }
226230 let LastCarUnlockBlockValue = match getInteger(this, LastCarUnlockBlock) {
227231 case a: Int =>
228232 a
229233 case _ =>
230234 0
231235 }
232- if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
233- then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
234- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
235- then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
236- else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day)))
237- then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days"))
238- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)]
236+ if ((((height - UserMaturityValue) / Week) == 0))
237+ then throw("The minimum period of a Week has not yet passed")
238+ else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
239+ then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
240+ else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
241+ then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
242+ else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day)))
243+ then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days"))
244+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)]
239245 }
240246
241247

github/deemru/w8io/169f3d6 
38.68 ms