CarBloc Blockchain Structure
Auction Module: Handles auction creation, bid management, updating, and automatic termination of auctions and bids.
Commands:
InitiateAuction: Allows a seller to start an auction by specifying the car details, minimum bid, and auction duration in blocks.SubmitBid: Allows a buyer to place a bid on an auction.UpdateBid: Allows a buyer to update their current bid.CancelBid: Allows a buyer to cancel their bid.FinalizeBid: Triggered internally by users. Checks the highest bid after the auction duration is over and finalises the auction. users can only be allowed to run the revealBid function after the auction duration elapses and only the user is allowed to reveal the bids belonging to them
Queries:
GetAuction: Returns details of a particular auction.GetAllAuctions: Lists all ongoing auctions.GetBid: Returns the bid details for a particular auction from a specific bidder.
Interchain Security Module: Ensures secure and authenticated transactions within CarBloc chains.
Last updated