Struct FactScope
pub struct FactScope
{ /* private fields */ }
Implementations
impl FactScope
pub fn account(account: AztecAddress) -> Self
The scope of a single account.
pub fn public() -> Self
The scope shared by all accounts.
Trait implementations
impl Deserialize for FactScope
pub fn deserialize(fields: [Field; 2]) -> Self
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
impl Eq for FactScope
pub fn eq(_self: Self, _other: Self) -> bool
The scope a fact collection belongs to.
A collection under an account scope is only accessible to executions where that account is in scope. A collection under the public scope is shared by all accounts, so any execution of the contract can access it.