0x0::witness

Module of the WitnessGenerator used for generating authenticating witnesses on demand.

Structs

witness::WitnessGenerator<C> has store

Collection witness generator

witness::Witness<C> has copy, drop

Collection generic witness type

Methods

public fun generator<C, W>(_witness: &W): 
    witness::WitnessGenerator<C>

Create a new WitnessGenerator from collection witness

public fun from_witness<C, W>(_witness: &W): 
    witness::Witness<C>

Delegate a witness from collection witness

public fun delegate<C>(
    _generator: &witness::WitnessGenerator<C>,
): witness::Witness<C>

Delegate a collection generic witness