aztec-nr - protocol_types::address::aztec_address

Struct AztecAddress

pub struct AztecAddress {
    pub inner: Field,
}

Fields

inner: Field

Implementations

impl AztecAddress

pub fn zero() -> Self pub fn to_address_point(self) -> AddressPoint pub fn compute(public_keys: PublicKeys, partial_address: PartialAddress) -> Self pub fn compute_from_class_id( contract_class_id: ContractClassId, salted_initialization_hash: SaltedInitializationHash, public_keys: PublicKeys, ) -> Self pub fn is_protocol_contract(self) -> bool pub fn is_zero(self) -> bool pub fn assert_is_zero(self)

Trait implementations

impl Deserialize for AztecAddress

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

impl Empty for AztecAddress

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

impl Eq for AztecAddress

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

impl FromField for AztecAddress

pub fn from_field(value: Field) -> Self

impl Packable for AztecAddress

pub fn pack(self) -> [Field; 1] pub fn unpack(packed: [Field; 1]) -> Self

impl Serialize for AztecAddress

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

impl ToField for AztecAddress

pub fn to_field(self) -> Field