Struct PrivateCall
pub struct PrivateCall<let M: u32, let N: u32, T> {
pub target_contract: AztecAddress,
pub selector: FunctionSelector,
pub name: str<M>,
pub args: [Field; N],
/* private fields */
}
Fields
target_contract: AztecAddressselector: FunctionSelectorname: str<M>args: [Field; N]Implementations
impl<let M: u32, let N: u32, T> PrivateCall<M, N, T>
pub fn new(
target_contract: AztecAddress,
selector: FunctionSelector,
name: str<M>,
args: [Field; N],
) -> Self
impl<let M: u32, let N: u32, T> PrivateCall<M, N, T>
pub fn call(self, context: &mut PrivateContext) -> T
where
T: Deserialize
[DEPRECATED] This function is deprecated. Please use the new contract API:
self.call(MyContract::at(address).my_private_function(...args))instead of manually constructing and callingPrivateCall.