tx · 8ssoTi5JLm4cPyudrqCqFQsFb2ryPqUXeZkY4De7RWUG

3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw:  -0.01100000 Waves

2022.06.12 21:12 [2093513] smart account 3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw > SELF 0.00000000 Waves

{ "type": 13, "id": "8ssoTi5JLm4cPyudrqCqFQsFb2ryPqUXeZkY4De7RWUG", "fee": 1100000, "feeAssetId": null, "timestamp": 1655057599939, "version": 2, "chainId": 84, "sender": "3N7nJwbFGppbebBtXy6bWVcQCGu7m3kXFaw", "senderPublicKey": "GTKqLSK6nuFkRdebB5SmTwTU2DnTeLMvhymCFfT2CxX2", "proofs": [ "128SPeQh45REsTRFRfwiWtcg3YxHKNt5ohAsFy6iD18eEVqCDn379oyd2bQSWFM3t8PZX1VXA6qGua5k7ZCLUhU1" ], "script": "base64:AAIFAAAAAAAAABUIAhIAEgASABIDCgEIEgASABIAEgAAAAAWAAAAAARIQVNIAQAAACCZJcBN4vrv23OPL3+HfwZ1V4TC5rl+HgfvNUFVz3N+qwAAAAAIS3Jvc3NDYXIBAAAAIDXsCLifH5dC92gyF33uSmFCOKUGzz3KXS7U4pAGaLK7AAAAAAZUb3dpbmcBAAAAIC81Z/RcVzhCx0VfTTO1h50c/NwD9IthbF2FP5MW+OJKAAAAAAdUeXJlQWlyAQAAACBL7oVHI7PJ8JabRftzCc3TDuMz0GMH1yBWiFCtnq6BIAAAAAAERnVlbAEAAAAggGavlw9bhbYyfaROM5d3ibtEK7mtxFTwqpDvjDJsptUAAAAACUNhclVubG9jawEAAAAgJMGDqNKJuumO1QhRU6FJYiLC30q22WrPoOAEwM/HuagAAAAACGRBcHBGZWVzAQAAABoBV5prAZfpnthmNq2ZMbws44Htl6ZEmG28iwAAAAAJQWRtaW5kQXBwAQAAABoBV9BDQuIchL6bmoa833jKal/OBiGoZGoQDgAAAAAJTWluQW1vdW50AAAAAAAAAAK8AAAAAA5Lcm9zc0NhclJld2FyZA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UgY2Fubm90IGNsYWltIHRoZSByZXdhcmQgYmVmb3JlOiAJAAGkAAAAAQkAAGUAAAACBQAAAA1UaW1lQ2FyVW5sb2NrCQAAaQAAAAIJAABlAAAAAgUAAAAGaGVpZ2h0BQAAABdMYXN0Q2FyVW5sb2NrQmxvY2tWYWx1ZQUAAAADRGF5AgAAAAUgZGF5cwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMCAAAAE19MYXN0Q2FyVW5sb2NrQmxvY2sFAAAABmhlaWdodAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIJAABoAAAAAgUAAAAPQ2FyVW5sb2NrUmV3YXJkAAAAAAAF9eEABQAAAAlDYXJVbmxvY2sFAAAAA25pbAAAAAA6e9uI", "height": 2093513, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2c87DGDAmVk19QjurNASi1KxnrxGL3eNbbwQevbnrLe2 Next: EBrqqg84f7UWAGAqPkfhpj5YxiGKUH85Z5SUnK2dEgxb Diff:
OldNewDifferences
130130 case _ =>
131131 0
132132 }
133- if ((((height - UserMaturityValue) / Week) == 0))
134- then throw("The minimum period of a Week has not yet passed")
133+ if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
134+ then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
135135 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
136136 then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
137- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
138- then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
139- else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
140- then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
141- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
137+ else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
138+ then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
139+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
142140 }
143141
144142
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 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"))
5555
5656
5757
5858 @Callable(i)
5959 func DepositHASH () = {
6060 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
6161 let amount = match getInteger(this, UserDeposit) {
6262 case a: Int =>
6363 a
6464 case _ =>
6565 0
6666 }
6767 let pmt = if ((size(i.payments) == 1))
6868 then i.payments[0]
6969 else throw("Attached payment is required")
7070 if (if (((MinAmount * 100000000) > pmt.amount))
7171 then true
7272 else (pmt.assetId != HASH))
7373 then throw("Can only deposit HASH tokens, and minimum amount is 700 HASH")
7474 else {
7575 let UserDepositValue = (amount + pmt.amount)
7676 [IntegerEntry((toBase58String(i.caller.bytes) + "_Deposit"), UserDepositValue), IntegerEntry((toBase58String(i.caller.bytes) + "_DepositBlock"), height), ScriptTransfer(i.caller, (KrossCarReward * 100000000), KrossCar)]
7777 }
7878 }
7979
8080
8181
8282 @Callable(i)
8383 func RewardReferrer (UserWalletAddressStr) = if ((UserWalletAddressStr == ""))
8484 then throw("Referrer Wallet Address cannot be empty !")
8585 else {
8686 let UserWalletAddress = addressFromStringValue(UserWalletAddressStr)
8787 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
8888 let TippedStatus = (toBase58String(i.caller.bytes) + "_TippedStatus")
8989 let amount = match getInteger(this, UserDeposit) {
9090 case a: Int =>
9191 a
9292 case _ =>
9393 0
9494 }
9595 let TippedStatusValue = match getString(this, TippedStatus) {
9696 case a: String =>
9797 a
9898 case _ =>
9999 "NO"
100100 }
101101 if ((TippedStatusValue == "YES"))
102102 then throw("You already tipped a User, you only can tip once a user")
103103 else if (((MinAmount * 100000000) > amount))
104104 then throw((("To tip your referrer you must have at least deposited: " + toString(MinAmount)) + " HASH"))
105105 else [StringEntry((toBase58String(i.caller.bytes) + "_TippedStatus"), "YES"), ScriptTransfer(UserWalletAddress, (ReferreTip * 100000000), KrossCar)]
106106 }
107107
108108
109109
110110 @Callable(i)
111111 func RequestTowing () = {
112112 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
113113 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
114114 let LastTowingBlock = (toBase58String(i.caller.bytes) + "_LastTowingBlock")
115115 let amount = match getInteger(this, UserDeposit) {
116116 case a: Int =>
117117 a
118118 case _ =>
119119 0
120120 }
121121 let UserMaturityValue = match getInteger(this, UserMaturity) {
122122 case a: Int =>
123123 a
124124 case _ =>
125125 0
126126 }
127127 let LastTowingBlockValue = match getInteger(this, LastTowingBlock) {
128128 case a: Int =>
129129 a
130130 case _ =>
131131 0
132132 }
133- if ((((height - UserMaturityValue) / Week) == 0))
134- then throw("The minimum period of a Week has not yet passed")
133+ if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
134+ then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
135135 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
136136 then throw(("You should have deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
137- else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
138- then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
139- else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
140- then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
141- else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
137+ else if (((TimeTowing * Day) > ((height - LastTowingBlockValue) / Day)))
138+ then throw((("You cannot claim the reward before: " + toString((TimeTowing - ((height - LastTowingBlockValue) / Day)))) + " days"))
139+ else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTowingBlock"), height), ScriptTransfer(i.caller, (TowingReward * 100000000), Towing)]
142140 }
143141
144142
145143
146144 @Callable(i)
147145 func RequestTyreAir () = {
148146 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
149147 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
150148 let LastTyreAirBlock = (toBase58String(i.caller.bytes) + "_LastTyreAirBlock")
151149 let amount = match getInteger(this, UserDeposit) {
152150 case a: Int =>
153151 a
154152 case _ =>
155153 0
156154 }
157155 let UserMaturityValue = match getInteger(this, UserMaturity) {
158156 case a: Int =>
159157 a
160158 case _ =>
161159 0
162160 }
163161 let LastTyreAirBlockValue = match getInteger(this, LastTyreAirBlock) {
164162 case a: Int =>
165163 a
166164 case _ =>
167165 0
168166 }
169167 if ((((height - UserMaturityValue) / Week) == 0))
170168 then throw("The minimum period of a Week has not yet passed")
171169 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
172170 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
173171 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
174172 then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
175173 else if (((TimeTyreAir * Day) > ((height - LastTyreAirBlockValue) / Day)))
176174 then throw((("You cannot claim the reward before: " + toString((TimeTyreAir - ((height - LastTyreAirBlockValue) / Day)))) + " days"))
177175 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastTyreAirBlock"), height), ScriptTransfer(i.caller, (TyreAirReward * 100000000), TyreAir)]
178176 }
179177
180178
181179
182180 @Callable(i)
183181 func RequestFuel () = {
184182 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
185183 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
186184 let LastFuelBlock = (toBase58String(i.caller.bytes) + "_LastFuelBlock")
187185 let amount = match getInteger(this, UserDeposit) {
188186 case a: Int =>
189187 a
190188 case _ =>
191189 0
192190 }
193191 let UserMaturityValue = match getInteger(this, UserMaturity) {
194192 case a: Int =>
195193 a
196194 case _ =>
197195 0
198196 }
199197 let LastFuelBlockValue = match getInteger(this, LastFuelBlock) {
200198 case a: Int =>
201199 a
202200 case _ =>
203201 0
204202 }
205203 if ((((height - UserMaturityValue) / Week) == 0))
206204 then throw("The minimum period of a Week has not yet passed")
207205 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
208206 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
209207 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
210208 then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
211209 else if (((TimeFuel * Day) > ((height - LastFuelBlockValue) / Day)))
212210 then throw((("You cannot claim the reward before: " + toString((TimeFuel - ((height - LastFuelBlockValue) / Day)))) + " days"))
213211 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastFuelBlock"), height), ScriptTransfer(i.caller, (FuelReward * 100000000), Fuel)]
214212 }
215213
216214
217215
218216 @Callable(i)
219217 func RequestCarUnlock () = {
220218 let UserDeposit = (toBase58String(i.caller.bytes) + "_Deposit")
221219 let UserMaturity = (toBase58String(i.caller.bytes) + "_DepositBlock")
222220 let LastCarUnlockBlock = (toBase58String(i.caller.bytes) + "_LastCarUnlockBlock")
223221 let amount = match getInteger(this, UserDeposit) {
224222 case a: Int =>
225223 a
226224 case _ =>
227225 0
228226 }
229227 let UserMaturityValue = match getInteger(this, UserMaturity) {
230228 case a: Int =>
231229 a
232230 case _ =>
233231 0
234232 }
235233 let LastCarUnlockBlockValue = match getInteger(this, LastCarUnlockBlock) {
236234 case a: Int =>
237235 a
238236 case _ =>
239237 0
240238 }
241239 if ((((height - UserMaturityValue) / Week) == 0))
242240 then throw("The minimum period of a Week has not yet passed")
243241 else if ((amount >= (((MinAmount * 100000000) * (height - UserMaturityValue)) / Week)))
244242 then throw(("You should hav deposited at least: " + toString(((MinAmount * (height - UserMaturityValue)) / Week))))
245243 else if (((minJoinWeeks * Week) > (height - UserMaturityValue)))
246244 then throw((((("You should at least be a member of " + toString(minJoinWeeks)) + " Weeks") + " Your account maturity is: ") + toString(((height - UserMaturityValue) / Week))))
247245 else if (((TimeCarUnlock * Day) > ((height - LastCarUnlockBlockValue) / Day)))
248246 then throw((("You cannot claim the reward before: " + toString((TimeCarUnlock - ((height - LastCarUnlockBlockValue) / Day)))) + " days"))
249247 else [IntegerEntry((toBase58String(i.caller.bytes) + "_LastCarUnlockBlock"), height), ScriptTransfer(i.caller, (CarUnlockReward * 100000000), CarUnlock)]
250248 }
251249
252250

github/deemru/w8io/169f3d6 
54.53 ms