mod.rs 269 B

12345678910111213
  1. use lazy_static::lazy_static;
  2. use pasta_curves::{group::ff::Field, pallas};
  3. use rand::rngs::OsRng;
  4. // transfer()
  5. pub mod transfer;
  6. pub mod state;
  7. pub use state::State;
  8. lazy_static! {
  9. pub static ref CONTRACT_ID: pallas::Base = pallas::Base::random(&mut OsRng);
  10. }