-
Notifications
You must be signed in to change notification settings - Fork 0
/
contracts_Route_sol_Route.abi
1 lines (1 loc) · 2.46 KB
/
contracts_Route_sol_Route.abi
1
[{"constant":true,"inputs":[],"name":"routeID","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"description","type":"string"},{"name":"dateTime","type":"uint256"}],"name":"createTrip","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"manager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tickets","outputs":[{"name":"travelDescription","type":"string"},{"name":"amount","type":"uint256"},{"name":"isUsed","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"busStopCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"description","type":"string"}],"name":"purchaseTicket","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"index","type":"uint256"}],"name":"completeTrip","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tripIndex","type":"uint256"},{"name":"ticketIndex","type":"uint256"}],"name":"approveTrip","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"routeDescription","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"trips","outputs":[{"name":"tripDescription","type":"string"},{"name":"startDateTime","type":"uint256"},{"name":"amount","type":"uint256"},{"name":"approversCount","type":"uint256"},{"name":"isComplete","type":"bool"},{"name":"reportedArrivalTimes","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tripIndex","type":"uint256"},{"name":"busStop","type":"bytes32"},{"name":"arrivalTime","type":"uint256"}],"name":"arrival","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"creator","type":"address"},{"name":"route","type":"string"},{"name":"count","type":"uint256"},{"name":"description","type":"bytes32[]"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]