pub trait SmartContractHandle<AccountId> {
// Required methods
fn evm(address: H160) -> Self;
fn wasm(address: AccountId) -> Self;
}Expand description
Trait defining the interface for dApp staking smart contract types handler.
It can be used to create a representation of the specified smart contract instance type.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.