Module spl_governance::state::realm [−][src]
Expand description
Realm Account
Structs
Governance Realm Account Account PDA seeds“ [‘governance’, name]
Functions
Checks whether realm account exists, is initialized and owned by Governance program
Returns Realm Token Holding PDA address
Returns Realm Token Holding PDA seeds
Returns Realm PDA address
Returns Realm PDA seeds
Deserializes account and checks owner program
Deserializes account and checks the given authority is Realm’s authority
Deserializes Ream account and asserts the given governing_token_mint is either Community or Council mint of the Realm