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+m5qGvN94ympfzgYhqGRqEA4AAAAACU1pbkFtb3VudAAAAAAAAAACvAAAAAAOS3Jvc3NDYXJSZXdh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luSm9pbldlZWtzBQAAAARXZWVrCQAAZQAAAAIFAAAABmhlaWdodAUAAAARVXNlck1hdHVyaXR5VmFsdWUJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAI1lvdSBzaG91bGQgYXQgbGVhc3QgYmUgYSBtZW1iZXIgb2YgCQABpAAAAAEFAAAADG1pbkpvaW5XZWVrcwIAAAAGIFdlZWtzAwkAAGYAAAACCQAAaAAAAAIFAAAADVRpbWVDYXJVbmxvY2sFAAAAA0RheQkAAGkAAAACCQAAZQAAAAIFAAAABmhlaWdodAUAAAAXTGFzdENhclVubG9ja0Jsb2NrVmFsdWUFAAAAA0RheQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgIAAAAkWW91IGNhbm5vdCBjbGFpbSB0aGUgcmV3YXJkIGJlZm9yZTogCQABpAAAAAEJAABlAAAAAgUAAAANVGltZUNhclVubG9jawkAAGkAAAACCQAAZQAAAAIFAAAABmhlaWdodAUAAAAXTGFzdENhclVubG9ja0Jsb2NrVmFsdWUFAAAAA0RheQIAAAAFIGRheXMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAgAAABNfTGFzdENhclVubG9ja0Jsb2NrBQAAAAZoZWlnaHQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIFAAAAD0NhclVubG9ja1Jld2FyZAAAAAAABfXhAAUAAAAJQ2FyVW5sb2NrBQAAAANuaWwAAAAAHoCqfA==", "height": 2090364, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AktiFZkUg2tkr3uKDmvWALDAxF1VoEbwViD9RNadAYbt Next: 5EwXodCHpudLoQdS7qkaZ1dbN8mGBr4tNH5qs8CG8xaV Diff:
OldNewDifferences
130130 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
131131 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
132132 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"))
134134 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
135135 }
136136
164164 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
165165 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
166166 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"))
168168 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
169169 }
170170
198198 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
199199 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
200200 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"))
202202 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
203203 }
204204
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, (10000 * 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 ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
129129 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
130130 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
131131 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
132132 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"))
134134 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
135135 }
136136
137137
138138
139139 @Callable(i)
140140 func RequestTyreAir () = {
141141 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
142142 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
143143 let LastTyreAirBlock = (toBase58String(i.caller.bytes) + "_LastTyreAirBlock")
144144 let amount = match getInteger(this, UserDeposit) {
145145 case a: Int =>
146146 a
147147 case _ =>
148148 0
149149 }
150150 let UserMaturityValue = match getInteger(this, UserMaturity) {
151151 case a: Int =>
152152 a
153153 case _ =>
154154 0
155155 }
156156 let LastTyreAirBlockValue = match getInteger(this, LastTyreAirBlock) {
157157 case a: Int =>
158158 a
159159 case _ =>
160160 0
161161 }
162162 if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
163163 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
164164 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
165165 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
166166 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"))
168168 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
169169 }
170170
171171
172172
173173 @Callable(i)
174174 func RequestFuel () = {
175175 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
176176 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
177177 let LastFuelBlock = (toBase58String(i.caller.bytes) + "_LastFuelBlock")
178178 let amount = match getInteger(this, UserDeposit) {
179179 case a: Int =>
180180 a
181181 case _ =>
182182 0
183183 }
184184 let UserMaturityValue = match getInteger(this, UserMaturity) {
185185 case a: Int =>
186186 a
187187 case _ =>
188188 0
189189 }
190190 let LastFuelBlockValue = match getInteger(this, LastFuelBlock) {
191191 case a: Int =>
192192 a
193193 case _ =>
194194 0
195195 }
196196 if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
197197 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
198198 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
199199 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
200200 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"))
202202 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
203203 }
204204
205205
206206
207207 @Callable(i)
208208 func RequestCarUnlock () = {
209209 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
210210 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
211211 let LastCarUnlockBlock = (toBase58String(i.caller.bytes) + "_LastCarUnlockBlock")
212212 let amount = match getInteger(this, UserDeposit) {
213213 case a: Int =>
214214 a
215215 case _ =>
216216 0
217217 }
218218 let UserMaturityValue = match getInteger(this, UserMaturity) {
219219 case a: Int =>
220220 a
221221 case _ =>
222222 0
223223 }
224224 let LastCarUnlockBlockValue = match getInteger(this, LastCarUnlockBlock) {
225225 case a: Int =>
226226 a
227227 case _ =>
228228 0
229229 }
230230 if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
231231 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
232232 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
233233 then throw((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks"))
234234 else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day)))
235235 then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days"))
236236 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)]
237237 }
238238
239239

github/deemru/w8io/026f985 
36.80 ms