tx · 2PALVXPqH9HEfiYPNMMPv9822GftRBrTL3J6q93dbH8Q

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01100000 Waves

2022.06.12 21:26 [2093525] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "2PALVXPqH9HEfiYPNMMPv9822GftRBrTL3J6q93dbH8Q", "fee": 1100000, "feeAssetId": null, "timestamp": 1655058362872, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "YxW2RFjNvFxg54HCbs1HYN2bTmy7yS5bTCAUrbQhcB43E4Ddgg4itkLuxWnFku4AWHkn6u7GgHEnbvyb3wgWVbk" ], "script": "base64:AAIFAAAAAAAAABcIAhIAEgASABIAEgMKAQgSABIAEgASAAAAABYAAAAABEhBU0gBAAAAIJklwE3i+u/bc48vf4d/BnVXhMLmuX4eB+81QVXPc36rAAAAAAhLcm9zc0NhcgEAAAAgNewIuJ8fl0L3aDIXfe5KYUI4pQbPPcpdLtTikAZosrsAAAAABlRvd2luZwEAAAAgLzVn9FxXOELHRV9NM7WHnRz83AP0i2FsXYU/kxb44koAAAAAB1R5cmVBaXIBAAAAIEvuhUcjs8nwlptF+3MJzdMO4zPQYwfXIFaIUK2eroEgAAAAAARGdWVsAQAAACCAZq+XD1uFtjJ9pE4zl3eJu0Qrua3EVPCqkO+MMmym1QAAAAAJQ2FyVW5sb2NrAQAAACAkwYOo0om66Y7VCFFToUliIsLfSrbZas+g4ATAz8e5qAAAAAAIZEFwcEZlZXMBAAAAGgFXmmsBl+me2GY2rZkxvCzjge2XpkSYbbyLAAAAAAlBZG1pbmRBcHABAAAAGgFX0ENC4hyEvpuahrzfeMpqX84GIahkahAOAAAAAAlNaW5BbW91bnQAAAAAAAAAArwAAAAADktyb3NzQ2FyUmV3Y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aW5BbW91bnQAAAAAAAX14QAJAABlAAAAAgUAAAAGaGVpZ2h0BQAAABFVc2VyTWF0dXJpdHlWYWx1ZQUAAAAEV2VlawkAAAIAAAABCQABLAAAAAICAAAAI1lvdSBzaG91bGQgaGF2IGRlcG9zaXRlZCBhdCBsZWFzdDogCQABpAAAAAEJAABpAAAAAgkAAGgAAAACBQAAAAlNaW5BbW91bnQJAABlAAAAAgUAAAAGaGVpZ2h0BQAAABFVc2VyTWF0dXJpdHlWYWx1ZQUAAAAEV2VlawMJAABmAAAAAgkAAGgAAAACBQAAAA1UaW1lQ2FyVW5sb2NrBQAAAANEYXkJAABpAAAAAgkAAGUAAAACBQAAAAZoZWlnaHQFAAAAF0xhc3RDYXJVbmxvY2tCbG9ja1ZhbHVlBQAAAANEYXkJAAACAAAAAQkAASwAAAACCQABLAAAAAICAAAAJFlvdSBjYW5ub3QgY2xhaW0gdGhlIHJld2FyZCBiZWZvcmU6IAkAAaQAAAABCQAAZQAAAAIFAAAADVRpbWVDYXJVbmxvY2sJAABpAAAAAgkAAGUAAAACBQAAAAZoZWlnaHQFAAAAF0xhc3RDYXJVbmxvY2tCbG9ja1ZhbHVlBQAAAANEYXkCAAAABSBkYXlzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAATX0xhc3RDYXJVbmxvY2tCbG9jawUAAAAGaGVpZ2h0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACBQAAAA9DYXJVbmxvY2tSZXdhcmQAAAAAAAX14QAFAAAACUNhclVubG9jawUAAAADbmlsAAAAAF8kGJc=", "height": 2093525, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: EZBEDF9sXRkD44GZjE2kBq4m3wSuuP5bhGMPAEsPfrfN Next: G1hgVjjMekfG9tE7Zdr8UFoE6mfvM3oVSaSnBpyRG46m Diff:
OldNewDifferences
138138 if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
139139 then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
140140 else if (((((MinAmount * 100000000) * (height - UserMaturityValue)) / Week) > amount))
141- then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
141+ then throw(("You should have deposited at least: " + toString((((MinAmount * (height - UserMaturityValue)) / Week) / 100000000))))
142142 else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
143143 then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
144144 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
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 ResetData () = [IntegerEntry((toBase58String(i.caller.bytes) + "_Deposit"), 0), IntegerEntry((toBase58String(i.caller.bytes) + "_DepositBlock"), 0), IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height)]
5050
5151
5252
5353 @Callable(i)
5454 func ReceiveFakeHASHForTest () = [ScriptTransfer(i.caller, (1000000 * 100000000), HASH)]
5555
5656
5757
5858 @Callable(i)
5959 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"))
6060
6161
6262
6363 @Callable(i)
6464 func DepositHASH () = {
6565 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
6666 let amount = match getInteger(this, UserDeposit) {
6767 case a: Int =>
6868 a
6969 case _ =>
7070 0
7171 }
7272 let pmt = if ((size(i.payments) == 1))
7373 then i.payments[0]
7474 else throw("Attached payment is required")
7575 if (if (((MinAmount * 100000000) > pmt.amount))
7676 then true
7777 else (pmt.assetId != HASH))
7878 then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH")
7979 else {
8080 let UserDepositValue = (amount + pmt.amount)
8181 [IntegerEntry((toBase58String(i.caller.bytes) + "_Deposit"), UserDepositValue), IntegerEntry((toBase58String(i.caller.bytes) + "_DepositBlock"), height), ScriptTransfer(i.caller, (KrossCarReward * 100000000), KrossCar)]
8282 }
8383 }
8484
8585
8686
8787 @Callable(i)
8888 func RewardReferrer (UserWalletAddressStr) = if ((UserWalletAddressStr == ""))
8989 then throw("Referrer Wallet Address cannot be empty !")
9090 else {
9191 let UserWalletAddress = addressFromStringValue(UserWalletAddressStr)
9292 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
9393 let TippedStatus = (toBase58String(i.caller.bytes) + "_TippedStatus")
9494 let amount = match getInteger(this, UserDeposit) {
9595 case a: Int =>
9696 a
9797 case _ =>
9898 0
9999 }
100100 let TippedStatusValue = match getString(this, TippedStatus) {
101101 case a: String =>
102102 a
103103 case _ =>
104104 "NO"
105105 }
106106 if ((TippedStatusValue == "YES"))
107107 then throw("You already tipped a User, you only can tip once a user")
108108 else if (((MinAmount * 100000000) > amount))
109109 then throw((("To tip your referrer you must have at least deposited: " + toString(MinAmount)) + " HASH"))
110110 else [StringEntry((toBase58String(i.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(UserWalletAddress, (ReferreTip * 100000000), KrossCar)]
111111 }
112112
113113
114114
115115 @Callable(i)
116116 func RequestTowing () = {
117117 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
118118 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
119119 let LastTowingBlock = (toBase58String(i.caller.bytes) + "_LastTowingBlock")
120120 let amount = match getInteger(this, UserDeposit) {
121121 case a: Int =>
122122 a
123123 case _ =>
124124 0
125125 }
126126 let UserMaturityValue = match getInteger(this, UserMaturity) {
127127 case a: Int =>
128128 a
129129 case _ =>
130130 0
131131 }
132132 let LastTowingBlockValue = match getInteger(this, LastTowingBlock) {
133133 case a: Int =>
134134 a
135135 case _ =>
136136 0
137137 }
138138 if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
139139 then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
140140 else if (((((MinAmount * 100000000) * (height - UserMaturityValue)) / Week) > amount))
141- then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
141+ then throw(("You should have deposited at least: " + toString((((MinAmount * (height - UserMaturityValue)) / Week) / 100000000))))
142142 else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
143143 then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
144144 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
145145 }
146146
147147
148148
149149 @Callable(i)
150150 func RequestTyreAir () = {
151151 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
152152 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
153153 let LastTyreAirBlock = (toBase58String(i.caller.bytes) + "_LastTyreAirBlock")
154154 let amount = match getInteger(this, UserDeposit) {
155155 case a: Int =>
156156 a
157157 case _ =>
158158 0
159159 }
160160 let UserMaturityValue = match getInteger(this, UserMaturity) {
161161 case a: Int =>
162162 a
163163 case _ =>
164164 0
165165 }
166166 let LastTyreAirBlockValue = match getInteger(this, LastTyreAirBlock) {
167167 case a: Int =>
168168 a
169169 case _ =>
170170 0
171171 }
172172 if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
173173 then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
174174 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
175175 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
176176 else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day)))
177177 then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days"))
178178 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
179179 }
180180
181181
182182
183183 @Callable(i)
184184 func RequestFuel () = {
185185 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
186186 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
187187 let LastFuelBlock = (toBase58String(i.caller.bytes) + "_LastFuelBlock")
188188 let amount = match getInteger(this, UserDeposit) {
189189 case a: Int =>
190190 a
191191 case _ =>
192192 0
193193 }
194194 let UserMaturityValue = match getInteger(this, UserMaturity) {
195195 case a: Int =>
196196 a
197197 case _ =>
198198 0
199199 }
200200 let LastFuelBlockValue = match getInteger(this, LastFuelBlock) {
201201 case a: Int =>
202202 a
203203 case _ =>
204204 0
205205 }
206206 if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
207207 then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
208208 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
209209 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
210210 else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day)))
211211 then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days"))
212212 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
213213 }
214214
215215
216216
217217 @Callable(i)
218218 func RequestCarUnlock () = {
219219 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
220220 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
221221 let LastCarUnlockBlock = (toBase58String(i.caller.bytes) + "_LastCarUnlockBlock")
222222 let amount = match getInteger(this, UserDeposit) {
223223 case a: Int =>
224224 a
225225 case _ =>
226226 0
227227 }
228228 let UserMaturityValue = match getInteger(this, UserMaturity) {
229229 case a: Int =>
230230 a
231231 case _ =>
232232 0
233233 }
234234 let LastCarUnlockBlockValue = match getInteger(this, LastCarUnlockBlock) {
235235 case a: Int =>
236236 a
237237 case _ =>
238238 0
239239 }
240240 if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
241241 then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
242242 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
243243 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
244244 else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day)))
245245 then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days"))
246246 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)]
247247 }
248248
249249

github/deemru/w8io/026f985 
46.78 ms