Skip to main content

Crate foundry_primitives

Crate foundry_primitives 

Source
Expand description

Foundry primitives

Modules§

base
Base-specific transaction conversions.
celo
CIP-64 transaction encoding. Execution-time fee currency accounting is not implemented.
deposit
Deposit helpers shared by Base and Optimism.
envelope
header
network 🔒
optimism
OP-stack-specific helpers and type aliases used by super::FoundryNetwork and super::FoundryTxReceipt.
receipt
request
transaction 🔒

Macros§

delegate_header_methods

Structs§

Cip64TransactionRequest
Celo CIP-64 request fields. Anvil currently charges native fees.
FoundryNetwork
Foundry network type.
FoundryTxReceipt
TempoTransactionRequest
An Ethereum [TransactionRequest] extended with Tempo-specific fields.
TxCip64
An EIP-1559-shaped transaction with a signed fee currency field.

Enums§

FoundryHeader
Consensus header used by Foundry’s multi-network tooling.
FoundryReceiptEnvelope
FoundryTransactionRequest
Foundry transaction request builder.
FoundryTxEnvelope
Container type for signed, typed transactions.
FoundryTxType
Transaction types supported by FoundryTxEnvelope.
FoundryTypedTx
Typed transaction enum corresponding to the FoundryTxEnvelope envelope.

Constants§

CIP64_TX_TYPE
Celo dynamic fee transaction type introduced by CIP-64.

Functions§

get_deposit_tx_parts
Converts OtherFields to DepositTransactionParts, produces error with missing fields.
rpc_phase_statuses

Type Aliases§

FoundryTransactionResponse
JSON-RPC transaction response type used by super::FoundryNetwork.