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.
- TxPrecondition
Error - Error type for checking transaction conditions.
Constants§
- GENERATOR_
EXTENDED GENERATORinJubJubExtendedform- GENERATOR_
NUMS_ EXTENDED GENERATOR_NUMSinJubJubExtendedform- 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
duskfunction to convert from floating point format, and thefrom_duskfunction to convert back to Dusk. - JubJub
Affine - An alias for
AffinePoint - JubJub
Extended - An alias for
ExtendedPoint - JubJub
Scalar - An alias for
Fr.