tx · FNFvzW2FKXqjcT6WJYA4MaYLtz3zm7LwJ1h9ocHs4Tm9

3NBLe4xzkgpMKGWL8QgqDkVnkxHnLsGsi3a:  -0.09000000 Waves

2021.07.01 19:14 [1594782] smart account 3NBLe4xzkgpMKGWL8QgqDkVnkxHnLsGsi3a > SELF 0.00000000 Waves

{ "type": 13, "id": "FNFvzW2FKXqjcT6WJYA4MaYLtz3zm7LwJ1h9ocHs4Tm9", "fee": 9000000, "feeAssetId": null, "timestamp": 1625156055849, "version": 2, "chainId": 84, "sender": "3NBLe4xzkgpMKGWL8QgqDkVnkxHnLsGsi3a", "senderPublicKey": "GrooFTfmnAwZPXYbL5faJSzKDpyALDvuhUU9V5ztzFxy", "proofs": [ "3FqPSojUubUjcbZM1zRtzyyHRDAeKVkw8oUSYoBDkAMA1VksdFwRJqMBjj2sUBvXmwJMPZdJ2tuqpBgesnV8cB9n" ], "script": "base64:AAIEAAAAAAAAACUIAhIICgYICAEBAQgSAwoBCBIECgIIARIHCgUIAQEBCBIDCgEIAAAAAQEAAAAWY3JlYXRlUGFya2luZ1Nwb3RTbGljZQAAAAQAAAANcGFya2luZ1Nwb3RJZAAAAAlzdGFydFRpbWUAAAAHZW5kVGltZQAAAAVzbGljZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAANcGFya2luZ1Nwb3RJZAIAAAAHX3NsaWNlXwkAAaQAAAABBQAAAAVzbGljZQIAAAAKX3N0YXJ0VGltZQUAAAAJc3RhcnRUaW1lCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAA1wYXJraW5nU3BvdElkAgAAAAdfc2xpY2VfCQABpAAAAAEFAAAABXNsaWNlAgAAAAhfZW5kVGltZQUAAAAHZW5kVGltZQkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAA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AAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkSNGPL", "height": 1594782, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: jxgSN9NqUkPxfx442Ajcu2AtNhMuLCRhcLnFJKNjBhe Next: UUaU5YoMQ9og98AcBeM6f2j3sVPymYT8fGvaaDGb7T6 Diff:
OldNewDifferences
55
66
77 @Callable(i)
8-func createParkingSpot (lat,long,startTime,endTime,cost) = {
8+func createParkingSpot (lat,long,startTime,endTime,cost,description) = {
99 let roundedStartTime = (startTime - (startTime % 3600))
1010 let roundedEndTime = (endTime - (endTime % 3600))
11- ([StringEntry((toBase58String(i.transactionId) + "_owner"), toString(i.caller)), StringEntry((toBase58String(i.transactionId) + "_lat"), lat), StringEntry((toBase58String(i.transactionId) + "_long"), long), IntegerEntry((toBase58String(i.transactionId) + "_cost"), cost), IntegerEntry((toBase58String(i.transactionId) + "_slice"), 0), IntegerEntry((toBase58String(i.transactionId) + "_payoutTime"), (roundedEndTime + 3600)), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0)] ++ createParkingSpotSlice(toBase58String(i.transactionId), roundedStartTime, roundedEndTime, 0))
11+ ([StringEntry((toBase58String(i.transactionId) + "_owner"), toString(i.caller)), StringEntry((toBase58String(i.transactionId) + "_lat"), lat), StringEntry((toBase58String(i.transactionId) + "_long"), long), IntegerEntry((toBase58String(i.transactionId) + "_cost"), cost), IntegerEntry((toBase58String(i.transactionId) + "_slice"), 0), IntegerEntry((toBase58String(i.transactionId) + "_payoutTime"), (roundedEndTime + 3600)), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0), StringEntry((toBase58String(i.transactionId) + "_description"), description)] ++ createParkingSpotSlice(toBase58String(i.transactionId), roundedStartTime, roundedEndTime, 0))
1212 }
1313
1414
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func createParkingSpotSlice (parkingSpotId,startTime,endTime,slice) = [IntegerEntry((((parkingSpotId + "_slice_") + toString(slice)) + "_startTime"), startTime), IntegerEntry((((parkingSpotId + "_slice_") + toString(slice)) + "_endTime"), endTime), BooleanEntry((((parkingSpotId + "_slice_") + toString(slice)) + "_payed"), false)]
55
66
77 @Callable(i)
8-func createParkingSpot (lat,long,startTime,endTime,cost) = {
8+func createParkingSpot (lat,long,startTime,endTime,cost,description) = {
99 let roundedStartTime = (startTime - (startTime % 3600))
1010 let roundedEndTime = (endTime - (endTime % 3600))
11- ([StringEntry((toBase58String(i.transactionId) + "_owner"), toString(i.caller)), StringEntry((toBase58String(i.transactionId) + "_lat"), lat), StringEntry((toBase58String(i.transactionId) + "_long"), long), IntegerEntry((toBase58String(i.transactionId) + "_cost"), cost), IntegerEntry((toBase58String(i.transactionId) + "_slice"), 0), IntegerEntry((toBase58String(i.transactionId) + "_payoutTime"), (roundedEndTime + 3600)), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0)] ++ createParkingSpotSlice(toBase58String(i.transactionId), roundedStartTime, roundedEndTime, 0))
11+ ([StringEntry((toBase58String(i.transactionId) + "_owner"), toString(i.caller)), StringEntry((toBase58String(i.transactionId) + "_lat"), lat), StringEntry((toBase58String(i.transactionId) + "_long"), long), IntegerEntry((toBase58String(i.transactionId) + "_cost"), cost), IntegerEntry((toBase58String(i.transactionId) + "_slice"), 0), IntegerEntry((toBase58String(i.transactionId) + "_payoutTime"), (roundedEndTime + 3600)), IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0), IntegerEntry((toBase58String(i.transactionId) + "_blockedPayout"), 0), StringEntry((toBase58String(i.transactionId) + "_description"), description)] ++ createParkingSpotSlice(toBase58String(i.transactionId), roundedStartTime, roundedEndTime, 0))
1212 }
1313
1414
1515
1616 @Callable(i)
1717 func payoutParkingSpot (parkingSpotId) = {
1818 let parkingSpotPayoutTime = getIntegerValue(this, (parkingSpotId + "_payoutTime"))
1919 let owner = getStringValue(this, (parkingSpotId + "_owner"))
2020 let payedParkingSpot = getBoolean(this, (parkingSpotId + "_payed"))
2121 let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout"))
2222 let currentTime = lastBlock.timestamp
2323 if ((toString(i.caller) != owner))
2424 then throw("caller does not match owner of parking spot")
2525 else if ((parkingSpotPayoutTime > ((currentTime / 1000) + 3600)))
2626 then throw("payout can only happen one hour after parking spot endtime")
2727 else if ((availablePayout == 0))
2828 then throw("available payout is 0, skipping")
2929 else [IntegerEntry((parkingSpotId + "_availablePayout"), 0), ScriptTransfer(i.caller, availablePayout, unit), BooleanEntry((parkingSpotId + "_payed"), true)]
3030 }
3131
3232
3333
3434 @Callable(i)
3535 func payoutParkingSpotSlice (parkingSpotId,slice) = {
3636 let parkingSpotStartTime = getIntegerValue(this, (((parkingSpotId + "_slice_") + toString(slice)) + "_startTime"))
3737 let parkingSpotEndTime = getIntegerValue(this, (((parkingSpotId + "_slice_") + toString(slice)) + "_endTime"))
3838 let parkingSpotPayoutTime = getIntegerValue(this, (parkingSpotId + "_payoutTime"))
3939 let costPerHour = getIntegerValue(this, (parkingSpotId + "_cost"))
4040 let sliceCost = ((costPerHour * (parkingSpotStartTime - parkingSpotEndTime)) / 3600)
4141 let owner = getStringValue(this, (parkingSpotId + "_owner"))
4242 let complaint = getString(this, (((parkingSpotId + "_slice_") + toString(slice)) + "_complaint"))
4343 let payedParkingSpotSlice = getBooleanValue(this, (((parkingSpotId + "_slice_") + toString(slice)) + "_payed"))
4444 let payedParkingSpot = getBoolean(this, (parkingSpotId + "_payed"))
4545 let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout"))
4646 let currentTime = lastBlock.timestamp
4747 if ((toString(i.caller) != owner))
4848 then throw("caller does not match owner of parking spot")
4949 else if ((((currentTime / 1000) + 3600) > parkingSpotPayoutTime))
5050 then throw("parking spot payout time is due, please cash out all slices at once")
5151 else if ((parkingSpotEndTime > ((currentTime / 1000) + 3600)))
5252 then throw("you have to wait one hour, until you can receive the payment for this slice")
5353 else if ((complaint != unit))
5454 then throw("there is an active complaint, please resolve it first")
5555 else if ((payedParkingSpotSlice == true))
5656 then throw("slice has already been payed, denying payment")
5757 else if ((payedParkingSpot == true))
5858 then throw("whole parking spot has already been payed, denying payment")
5959 else [IntegerEntry((parkingSpotId + "_availablePayout"), (availablePayout - sliceCost)), ScriptTransfer(i.caller, sliceCost, unit), BooleanEntry((((parkingSpotId + "_slice_") + toString(slice)) + "_payed"), true)]
6060 }
6161
6262
6363
6464 @Callable(i)
6565 func bookParkingSpotSlice (parkingSpotId,desiredSlice,startTime,endTime,renter) = {
6666 let payment = value(i.payments[0])
6767 let bookedStartTime = (startTime - (startTime % 3600))
6868 let bookedEndTime = (endTime - (endTime % 3600))
6969 let parkingSpotStartTime = getIntegerValue(this, (((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_startTime"))
7070 let parkingSpotEndTime = getIntegerValue(this, (((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_endTime"))
7171 let existingSlice = getIntegerValue(this, (parkingSpotId + "_slice"))
7272 let costPerHour = getIntegerValue(this, (parkingSpotId + "_cost"))
7373 let totalCost = ((costPerHour * (bookedEndTime - bookedStartTime)) / 3600)
7474 let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout"))
7575 let existingRenter = getString(this, (((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"))
7676 let currentTime = (lastBlock.timestamp / 1000)
7777 if (!(isDefined(payment)))
7878 then throw("no payment defined")
7979 else if ((payment.assetId != unit))
8080 then throw("payment should be in waves")
8181 else if ((payment.amount != totalCost))
8282 then throw((((("payment does not match cost, got '" + toString(payment.amount)) + "' Waves, excpected: '") + toString(totalCost)) + "' Waves."))
8383 else if (if ((parkingSpotStartTime > bookedStartTime))
8484 then true
8585 else (bookedEndTime > parkingSpotEndTime))
8686 then throw("time is out of range for parking spot")
8787 else if ((existingRenter != unit))
8888 then throw("parking spot has already been booked")
8989 else if (if ((bookedStartTime == parkingSpotStartTime))
9090 then (bookedEndTime == parkingSpotEndTime)
9191 else false)
9292 then [StringEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"), renter), IntegerEntry((parkingSpotId + "_availablePayout"), (availablePayout + totalCost))]
9393 else if (if ((bookedStartTime == parkingSpotStartTime))
9494 then (bookedEndTime != parkingSpotEndTime)
9595 else false)
9696 then ([StringEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"), renter), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_startTime"), bookedStartTime), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_endTime"), bookedEndTime), IntegerEntry((parkingSpotId + "_slice"), (existingSlice + 1)), IntegerEntry((parkingSpotId + "_availablePayout"), (availablePayout + totalCost))] ++ createParkingSpotSlice(parkingSpotId, bookedEndTime, parkingSpotEndTime, (existingSlice + 1)))
9797 else if (if ((bookedEndTime == parkingSpotEndTime))
9898 then (bookedStartTime != parkingSpotStartTime)
9999 else false)
100100 then ([StringEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"), renter), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_startTime"), bookedStartTime), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_endTime"), bookedEndTime), IntegerEntry((parkingSpotId + "_slice"), (existingSlice + 1)), IntegerEntry((parkingSpotId + "_availablePayout"), (availablePayout + totalCost))] ++ createParkingSpotSlice(parkingSpotId, parkingSpotStartTime, bookedStartTime, (existingSlice + 1)))
101101 else (([StringEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_renter"), renter), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_startTime"), bookedStartTime), IntegerEntry((((parkingSpotId + "_slice_") + toString(desiredSlice)) + "_endTime"), bookedEndTime), IntegerEntry((parkingSpotId + "_slice"), (existingSlice + 2)), IntegerEntry((parkingSpotId + "_availablePayout"), (availablePayout + totalCost))] ++ createParkingSpotSlice(parkingSpotId, parkingSpotStartTime, bookedStartTime, (existingSlice + 1))) ++ createParkingSpotSlice(parkingSpotId, bookedEndTime, parkingSpotEndTime, (existingSlice + 2)))
102102 }
103103
104104
105105
106106 @Callable(i)
107107 func uploadImage (parkingSpotId) = {
108108 let parkingSpotPayoutTime = getIntegerValue(this, (parkingSpotId + "_payoutTime"))
109109 let owner = getStringValue(this, (parkingSpotId + "_owner"))
110110 let payedParkingSpot = getBoolean(this, (parkingSpotId + "_payed"))
111111 let availablePayout = getIntegerValue(this, (parkingSpotId + "_availablePayout"))
112112 let currentTime = lastBlock.timestamp
113113 if ((toString(i.caller) != owner))
114114 then throw("caller does not match owner of parking spot")
115115 else if ((parkingSpotPayoutTime > ((currentTime / 1000) + 3600)))
116116 then throw("payout can only happen one hour after parking spot endtime")
117117 else [IntegerEntry((toBase58String(i.transactionId) + "_availablePayout"), 0), ScriptTransfer(i.caller, availablePayout, unit), BooleanEntry((parkingSpotId + "_payed"), true)]
118118 }
119119
120120
121121 @Verifier(tx)
122122 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
123123

github/deemru/w8io/169f3d6 
56.25 ms