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
id: sui::object::UID,
finalized: bool,
type_name: std::type_name::TypeName
RewardWitnessConfig
Holds the RewardWitness type for runtime type checks.
public struct RewardWitnessConfig has key
id: sui::object::UID,
finalized: bool,
type_name: std::type_name::TypeName
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;