Expand description
Types used for interacting with Dusk’s transfer and stake contracts.
Enums§
Traits§
- Convertible
Contract - A trait for converting between JSON and native RKYV formats in a contract.
Functions§
- from_
rkyv - Converts a serialized RKYV archive into a T.
- json_
to_ rkyv - Converts a JSON string into a serialized RKYV archive.
- json_
to_ rkyv_ pair_ u64 - Converts a JSON string into a serialized RKYV archive of a tuple
(u64, u64)
. - json_
to_ rkyv_ u64 - Converts a JSON string into a serialized RKYV archive of a
u64
value. - rkyv_
to_ json - Converts a serialized RKYV archive into a JSON object.
- rkyv_
to_ json_ pair_ u64 - Converts a serialized RKYV archive into a JSON array of two
u64
values. - rkyv_
to_ json_ u64 - Converts a serialized RKYV archive into a JSON string representing a
u64
value. - to_json
- Convert a
T
intoserde_json::Value
which is an enum that can represent any valid JSON data.