Crate dusk_core

Source
Expand description

Types used for interacting with Dusk’s transfer and stake contracts.

Modules§

abi
The Application Binary Interface (ABI) for the Dusk network.
signatures
Signatures used in the Dusk protocol.
stake
Types used by Dusk’s stake contract.
transfer
Types related to Dusk’s transfer contract that are shared across the network.

Structs§

BlsScalar
Represents an element of the scalar field $\mathbb{F}_q$ of the BLS12-381 elliptic curve construction.

Enums§

Error
The dusk-core error type.

Constants§

GENERATOR_EXTENDED
GENERATOR in JubJubExtended form
GENERATOR_NUMS_EXTENDED
GENERATOR_NUMS in JubJubExtended form
LUX
The minimum increment of Dusk.

Functions§

dusk
Converts from floating point format to Dusk.
from_dusk
Converts from Dusk to floating point format.

Type Aliases§

Dusk
The Dusk denomination. Use the dusk function to convert from floating point format, and the from_dusk function to convert back to Dusk.
JubJubAffine
An alias for AffinePoint
JubJubExtended
An alias for ExtendedPoint
JubJubScalar
An alias for Fr.