use std::type_name;
use sui::package;
use sage_admin::admin;

Explore this module further in the Mover Registry: @sage/trust

Structs

GovernanceWitnessConfig

Holds the GovernanceWitness type for runtime type checks.

public struct GovernanceWitnessConfig has key

RewardWitnessConfig

Holds the RewardWitness type for runtime type checks.

public struct RewardWitnessConfig has key

Constants

Error code for attempting to update a finalized witness config.

const EIsFinalized: u64 = 370;

Error code for passing in the wrong withness type.

const EWitnessMismatch: u64 = 371;