aztec-nr - noir_aztec::context::calls

Struct UtilityCall

pub struct UtilityCall<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: AztecAddress
selector: FunctionSelector
name: str<M>
args: [Field; N]

Implementations

impl<let M: u32, let N: u32, T> UtilityCall<M, N, T>

pub fn new( target_contract: AztecAddress, selector: FunctionSelector, name: str<M>, args: [Field; N], ) -> Self