Struct sov_modules_api::default_context::ZkDefaultContext
source · pub struct ZkDefaultContext {
pub sender: Address,
}
Fields§
§sender: Address
Trait Implementations§
source§impl Clone for ZkDefaultContext
impl Clone for ZkDefaultContext
source§fn clone(&self) -> ZkDefaultContext
fn clone(&self) -> ZkDefaultContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Context for ZkDefaultContext
impl Context for ZkDefaultContext
source§impl Debug for ZkDefaultContext
impl Debug for ZkDefaultContext
source§impl PartialEq<ZkDefaultContext> for ZkDefaultContext
impl PartialEq<ZkDefaultContext> for ZkDefaultContext
source§fn eq(&self, other: &ZkDefaultContext) -> bool
fn eq(&self, other: &ZkDefaultContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Spec for ZkDefaultContext
impl Spec for ZkDefaultContext
§type Address = Address
type Address = Address
The Address type used on the rollup. Typically calculated as the hash of a public key.
§type Storage = ZkStorage<DefaultStorageSpec>
type Storage = ZkStorage<DefaultStorageSpec>
Authenticated state storage used by the rollup. Typically some variant of a merkle-patricia trie.
type PublicKey = DefaultPublicKey
§type Hasher = CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>
type Hasher = CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>
The hasher preferred by the rollup, such as Sha256 or Poseidon.
§type Signature = DefaultSignature
type Signature = DefaultSignature
The digital signature scheme used by the rollup
§type Witness = ArrayWitness
type Witness = ArrayWitness
A structure containing the non-deterministic inputs from the prover to the zk-circuit
impl StructuralPartialEq for ZkDefaultContext
Auto Trait Implementations§
impl RefUnwindSafe for ZkDefaultContext
impl Send for ZkDefaultContext
impl Sync for ZkDefaultContext
impl Unpin for ZkDefaultContext
impl UnwindSafe for ZkDefaultContext
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more