Module ethcontract::prelude[][src]

Expand description

A prelude module for importing commonly used types when interacting with generated contracts.

Re-exports

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

A contract event

Additional metadata from the log for the event.

Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.

Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.

HTTP Transport (synchronous)

Little-endian 256-bit signed integer.

Raw log topics and data for a contract event.

Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.

Little-endian large integer type

Web3 wrapper for all namespaces

Enums

Block Identifier

Block Number

A type representing a contract event that was either added or removed. Note that this type intentionally an enum so that the handling of removed events is made more explicit.

Acceptable topic possibilities.

Represents condition on minimum block number or block timestamp.

Type Definitions

Address

A contract event from an event stream.