aztec-nr - protocol_types::address::partial_address

Struct PartialAddress

pub struct PartialAddress {
    pub inner: Field,
}

Fields

inner: Field

Implementations

impl PartialAddress

pub fn from_field(field: Field) -> Self pub fn compute( contract_class_id: ContractClassId, salt: Field, initialization_hash: Field, deployer: AztecAddress, ) -> Self pub fn compute_from_salted_initialization_hash( contract_class_id: ContractClassId, salted_initialization_hash: SaltedInitializationHash, ) -> Self pub fn to_field(self) -> Field pub fn is_zero(self) -> bool pub fn assert_is_zero(self)

Trait implementations

impl Deserialize for PartialAddress

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

impl Empty for PartialAddress

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

impl Eq for PartialAddress

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

impl Serialize for PartialAddress

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

impl ToField for PartialAddress

pub fn to_field(self) -> Field