types.rs 550 B

123456789101112131415161718
  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 DrkSpendHook = pallas::Base;
  9. pub type DrkUserData = pallas::Base;
  10. pub type DrkUserDataBlind = pallas::Base;
  11. pub type DrkUserDataEnc = pallas::Base;
  12. pub type DrkCoinBlind = pallas::Base;
  13. pub type DrkValueBlind = pallas::Scalar;
  14. pub type DrkValueCommit = pallas::Point;