pub trait SolidityEventTrait: Send + Sync {
type Indexed: EventIndexEncodable;
type NonIndexed: ABIEncodable;
const EVENT_SIG: H256;
// Provided method
fn log(
indexed: &Self::Indexed,
non_indexed: &Self::NonIndexed,
param: &ActionParams,
context: &mut InternalRefContext<'_>
) -> Result<()> { ... }
}
Expand description
Native implementation of a solidity-interface function.
Required Associated Types§
Required Associated Constants§
Provided Methods§
fn log( indexed: &Self::Indexed, non_indexed: &Self::NonIndexed, param: &ActionParams, context: &mut InternalRefContext<'_> ) -> Result<()>
Object Safety§
This trait is not object safe.