Documentation ¶
Index ¶
- Constants
- func CounterContractHandlerProvider(k contract.Keeper) cross.ContractHandler
- func GetHotelContract() contract.Contract
- func GetTrainContract() contract.Contract
- func HotelReservationContractHandler(k contract.Keeper) cross.ContractHandler
- func MakeRoomKey(id int32) []byte
- func MakeSeatKey(id int32) []byte
- func TrainReservationContractHandler(k contract.Keeper) cross.ContractHandler
Constants ¶
View Source
const ( ReserveFnName = "reserve" TrainContractID = "train" HotelContractID = "hotel" )
Variables ¶
This section is empty.
Functions ¶
func CounterContractHandlerProvider ¶
func CounterContractHandlerProvider(k contract.Keeper) cross.ContractHandler
func GetHotelContract ¶
func GetTrainContract ¶
func HotelReservationContractHandler ¶
func HotelReservationContractHandler(k contract.Keeper) cross.ContractHandler
func MakeRoomKey ¶
func MakeSeatKey ¶
func TrainReservationContractHandler ¶
func TrainReservationContractHandler(k contract.Keeper) cross.ContractHandler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.