Crate lyquor_primitives

Crate lyquor_primitives 

Source

Re-exports§

pub extern crate serde;

Re-exports§

pub use alloy_primitives::hex;
pub use alloy_primitives;
pub use blake3;
pub use bytes;
pub use cb58;

Modules§

arc_option_serde
oracle

Macros§

address
Converts a sequence of string literals containing hex-encoded data into a new Address at compile time.
debug_struct_name
decode_by_fields
encode_by_fields
hex
Macro for converting sequence of string literals containing hex-encoded data into an array of bytes.
object_by_fields

Structs§

Address
An Ethereum address, 20 bytes in length.
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
CallParams
ChainPos
Position of a slot in the sequencer’s backend.
HashBytes
LyquidID
LyquidNumber
The verison number that uniquely identifies (and determines) the state of network variables.
LyteLog
NodeID
The ID of a node in the network. The ID is 35 bytes long, the first 32 bytes are the node’s ed25519 public key, and the following 2 bytes are checksums, the last byte is the version number (0)
Range
RegisterEvent
RequiredLyquid

Enums§

Cipher
Signature scheme used when requesting signatures from the host.
ConsoleSink
InputABI
StateCategory

Constants§

GROUP_DEFAULT
GROUP_NODE
GROUP_UPC_PREPARE
GROUP_UPC_REQ
GROUP_UPC_RESP

Traits§

Deserialize
A data structure that can be deserialized from any data format supported by Serde.
Serialize
A data structure that can be serialized into any data format supported by Serde.

Functions§

decode_object
encode_method_name
encode_object
encode_object_with_prefix

Type Aliases§

B256
32-byte [fixed byte-array][FixedBytes] type.
Hash
LyteLogTopic
U32
32-bit [unsigned integer type][Uint], consisting of 1, 64-bit limbs.
U64
64-bit [unsigned integer type][Uint], consisting of 1, 64-bit limbs.
U128
128-bit [unsigned integer type][Uint], consisting of 2, 64-bit limbs.
U256
256-bit [unsigned integer type][Uint], consisting of 4, 64-bit limbs.

Derive Macros§

Deserialize
Serialize