Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract interface { ReserveSalt(context.Context) ([]byte, error) IsPlaying(context.Context, uint8) (bool, error) IsWinner(context.Context) (bool, error) Claim(context.Context) (common.Hash, error) Commit(context.Context, []byte, *big.Int) (common.Hash, error) Reveal(context.Context, uint8, []byte, []byte) (common.Hash, error) }
Click to show internal directories.
Click to hide internal directories.