mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
14 lines
392 B
Rust
14 lines
392 B
Rust
//! Type aliases used in the codebase.
|
|
// Helpful for changing the curve and crypto we're using.
|
|
use pasta_curves::pallas;
|
|
|
|
pub type DrkCircuitField = pallas::Base;
|
|
|
|
pub type DrkTokenId = pallas::Base;
|
|
pub type DrkValue = pallas::Base;
|
|
pub type DrkSerial = pallas::Base;
|
|
|
|
pub type DrkCoinBlind = pallas::Base;
|
|
pub type DrkValueBlind = pallas::Scalar;
|
|
pub type DrkValueCommit = pallas::Point;
|