Expand description

Implementations of the simple vote types.

Modules§

  • sealed 🔒
    Sealed is used to make sure no other files can implement the Voteable trait. All simple voteable types should be implemented here. This prevents us from creating/using improper types when using the vote types.

Structs§

Traits§

  • Marker trait for data or commitments that can be voted on. Only structs in this file can implement voteable. This is enforced with the Sealed trait Sealing this trait prevents creating new vote types outside this file.

Functions§

  • This implements commit for all the types which contain a view and relay public key.

Type Aliases§