types.rs 392 B

12345678910111213
  1. //! Type aliases used in the codebase.
  2. // Helpful for changing the curve and crypto we're using.
  3. use pasta_curves::pallas;
  4. pub type DrkCircuitField = pallas::Base;
  5. pub type DrkTokenId = pallas::Base;
  6. pub type DrkValue = pallas::Base;
  7. pub type DrkSerial = pallas::Base;
  8. pub type DrkCoinBlind = pallas::Base;
  9. pub type DrkValueBlind = pallas::Scalar;
  10. pub type DrkValueCommit = pallas::Point;