Skip to main content

ContractClient

Trait ContractClient 

Source
pub trait ContractClient {
    const INTERFACE_ID: InterfaceId;

    // Required method
    fn new(address: &ContractAddress) -> Self;
}

Required Associated Constants§

Source

const INTERFACE_ID: InterfaceId

The id of the interface this client calls, matching that interface’s INTERFACE_ID.

Required Methods§

Source

fn new(address: &ContractAddress) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§