pub fn call<T: BorshDeserialize>(
address: PublicAddress,
method_name: &str,
arguments: Vec<u8>,
value: u64,
) -> Option<T>
Expand description
A call to contract. The caller should already know the data type of return value from the function call. It returns Option of T where T is return value from the function. If data type T is different from the actual return value type of the function, None is returned.