pub trait ProxyTrait: ProxyObjApi + Sized {
    // Provided methods
    fn get_user_id(
        self,
        address: &Address
    ) -> ContractCall<Self::SendApi, <usize as EndpointResult>::DecodeAs> { ... }
    fn get_user_address(
        self,
        user_id: usize
    ) -> ContractCall<Self::SendApi, <Address as EndpointResult>::DecodeAs> { ... }
    fn get_num_users(
        self
    ) -> ContractCall<Self::SendApi, <usize as EndpointResult>::DecodeAs> { ... }
    fn update_user_address(
        self,
        addresses: VarArgs<Address>
    ) -> ContractCall<Self::SendApi, <SCResult<()> as EndpointResult>::DecodeAs> { ... }
}

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§