Skip to main content

Crate primitives

Crate primitives 

Source
Expand description

Tempo primitive types

Modules§

ed25519
subblock
transaction

Structs§

AASigned
A transaction with an AA signature and hash seal.
Header
Ethereum Block header
RecoveredSubBlock
A subblock with recovered senders.
SignedSubBlock
A subblock with a signature.
SubBlock
SubBlockMetadata
Metadata for an included subblock.
TempoConsensusContext
Consensus context metadata for a Tempo block.
TempoHeader
Tempo block header.
TempoPrimitives
Marker type for Tempo node primitives. Implements [reth_primitives_traits::NodePrimitives] when the reth feature is enabled.
TempoTransaction
Tempo transaction following the Tempo spec.

Enums§

SignatureType
Signature type enumeration
SubBlockVersion
TempoSignature
AA transaction signature supporting multiple signature schemes
TempoTxEnvelope
Tempo transaction envelope containing all supported transaction types
TempoTxType
Transaction types supported by TempoTxEnvelope.

Constants§

MAX_WEBAUTHN_SIGNATURE_LENGTH
P256_SIGNATURE_LENGTH
SECP256K1_SIGNATURE_LENGTH
Signature type constants
TEMPO_GAS_PRICE_SCALING_FACTOR
Scaling factor for converting gas prices (attodollars) to TIP-20 token amounts (microdollars).
TEMPO_TX_TYPE_ID
Tempo transaction type byte (0x76)

Traits§

TempoAddressExt
Extension trait with helper functions for Tempo addresses.

Functions§

derive_p256_address
Derives a P256 address from public key coordinates
is_tip20_prefix
Returns true if addr has the TIP-20 token prefix.

Type Aliases§

Block
Tempo block.
BlockBody
Tempo block body.
MasterId
4-byte master identifier derived from the registration hash.
TempoReceipt
Tempo receipt.
UserTag
6-byte user tag occupying the trailing bytes of a virtual address.