Modules§
- blokli_
client - Re-exports of the
blokli_clientcrate. - errors
Structs§
- Address
- Represents an Ethereum address
- Basic
Payload Generator - Generates transaction payloads that do not use Safe-compliant ABI
- Blockchain
Connector Config - Configuration of the
HoprBlockchainConnector. - Chain
Keypair - Represents a keypair consisting of a secp256k1 private and public key
- Contract
Addresses - Holds addresses of all smart contracts.
- Hopr
Blockchain Connector - A connector acting as middleware between the HOPR APIs (see the
hopr_apicrate) and the Blokli Client API (see the [blokli_client] crate). - Hopr
Blockchain Reader - A simplified version of
HoprBlockchainConnectorwhich only implements HOPR Chain API partially, allowing for read-only operations. - Safe
Payload Generator - Payload generator that generates Safe-compliant ABI
- Temp
DbBackend - A backend that is implemented via
redbdatabase stored in a temporary file.
Traits§
- Backend
- Represents a cache backend for the connector.
- Payload
Generator - Trait for various implementations of common on-chain transaction payloads generators.
Functions§
- create_
trustful_ hopr_ blokli_ connector - Convenience function to create
HoprBlockchainConnectorwith contract addresses retrieved from the givenclient. - create_
trustful_ safeless_ hopr_ blokli_ connector - Convenience function to create
HoprBlockchainConnectorwith contract addresses retrieved from the givenclient. - create_
trustless_ hopr_ blokli_ connector - Convenience function to create
HoprBlockchainConnectorwith own contract addresses. - create_
trustless_ safeless_ hopr_ blokli_ connector - Convenience function to create
HoprBlockchainConnectorwith own contract addresses.
Type Aliases§
- Hopr
Blockchain Basic Connector - Connector to HOPR on-chain contracts that uses standard EOA as a signer and
TempDbBackend. - Hopr
Blockchain Safe Connector - Connector to HOPR on-chain contracts that uses multisig Safe as a signer and
TempDbBackend.