aztec-nr - protocol_types::abis::call_context

Struct CallContext

pub struct CallContext {
    pub msg_sender: AztecAddress,
    pub contract_address: AztecAddress,
    pub function_selector: FunctionSelector,
    pub is_static_call: bool,
}

Fields

msg_sender: AztecAddress
contract_address: AztecAddress
function_selector: FunctionSelector
is_static_call: bool

Trait implementations

impl Deserialize for CallContext

pub fn deserialize(serialized: [Field; 4]) -> Self

impl Empty for CallContext

pub fn empty() -> Self pub fn is_empty(self) -> bool pub fn assert_empty<let S: u32>(self, msg: str<S>)

impl Eq for CallContext

pub fn eq(_self: Self, _other: Self) -> bool

impl Serialize for CallContext

pub fn serialize(self) -> [Field; 4]