Module ethcontract::prelude
source · Expand description
A prelude module for importing commonly used types when interacting with generated contracts.
Re-exports§
pub use crate::contract::Event;
pub use crate::contract::EventMetadata;
pub use crate::contract::EventStatus;
pub use crate::contract::RawLog;
pub use crate::contract::StreamEvent;
pub use crate::secret::Password;
pub use crate::secret::PrivateKey;
pub use crate::tokens::Bytes;
pub use crate::transaction::Account;
pub use crate::transaction::GasPrice;
Structs§
- Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
- Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- HTTP Transport
- Little-endian 256-bit signed integer.
- Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- Little-endian large integer type 256-bit unsigned integer.
Web3
wrapper for all namespaces
Enums§
- Block Identifier
- Block Number
- Acceptable topic possibilities.
- Represents condition on minimum block number or block timestamp.
Type Aliases§
- Address