This smart contract allows users to reserve parking spots by paying a fixed fee and ensures secure, transparent management of reservations. The contract is designed for simplicity, security, and transparency, with all transactions recorded on-chain and accessible to users and the contract owner.
- β Reserve parking spots by paying a predefined fee
- π Associate reservations with license plate number (vehicleID)
- π« Prevent double booking of the same license plate number (vehicleID)
- π Owner-only withdrawal of collected funds
- π Transparent event logging for reservations and withdrawals
- π View personal reservation history
- π Check if a vehicle has an active reservation