Skip to main content

CONTRACT_TEAM_ACTIONS_KEY

Constant CONTRACT_TEAM_ACTIONS_KEY 

Source
pub const CONTRACT_TEAM_ACTIONS_KEY: u8 = 24;
Expand description

The key under a contract’s other tree ([64, id, 2]) of the actions its seated moderation team votes on (protocol version 14), shaped like a token group’s actions: M (active) and X (closed), each action id -> { I: Item(the action), S: SumTree(signer id -> SumItem(1)) }, see encode_contract_team_action. Present when the contract has a document type that sets moderatorAbilities.deleteSettled, whose settled documents the team deletes by such an action. Written by the team’s proposals and approvals and read by them and by clients, never by a document transition, so it sorts below 128, beside the removal records at 16.