Expand description
Module defining various Ethereum transaction payload generators for the actions.
This module defines the basic PayloadGenerator trait that describes how an action
is translated into a TransactionRequest that can be submitted on-chain.
There are two main implementations:
BasicPayloadGeneratorwhich implements generation of a direct EIP1559 transaction payload. This is currently not used by a HOPR node.SafePayloadGeneratorwhich implements generation of a payload that embeds the transaction data into the SAFE transaction. This is currently the main mode of HOPR node operation.
These are currently based on the hopr-bindings crate.
Structs§
- Basic
Payload Generator - Generates transaction payloads that do not use Safe-compliant ABI
- GasEstimation
- Estimated gas parameters for a transaction.
- Safe
Payload Generator - Payload generator that generates Safe-compliant ABI
- Transaction
Request - Represents all transaction requests to/from RPC.
Traits§
- Payload
Generator - Trait for various implementations of common on-chain transaction payloads generators.
- Signable
Transaction - Trait for transaction payloads that can be signed and encoded to EIP2718 format.