mod.rs 352 B

1234567891011121314151617181920
  1. use lazy_static::lazy_static;
  2. use pasta_curves::{group::ff::Field, pallas};
  3. use rand::rngs::OsRng;
  4. // mint()
  5. pub mod mint;
  6. // propose()
  7. pub mod propose;
  8. // vote{}
  9. pub mod vote;
  10. // exec{}
  11. pub mod exec;
  12. pub mod state;
  13. pub use state::{DaoBulla, State};
  14. lazy_static! {
  15. pub static ref CONTRACT_ID: pallas::Base = pallas::Base::random(&mut OsRng);
  16. }