Daktic / TFSA

Transportation Flexible Spending Account
0 stars 0 forks source link

Riding Functionality #5

Open aghrist opened 1 month ago

aghrist commented 1 month ago

Contract to govern taking rides.

startRide should record the starting station in the transaction. endRide should look at that starting station and from the end station, calculate the fare owed and deduct tokens from the user wallet accordingly.