ClusterAccount
ClusterAccount =
ArciumTypes
["cluster"
]
Type Structure
{
activation: {
activationEpoch: number;
deactivationEpoch: number;
};
authority: PublicKey | null;
bump: number;
compositionRules: {
keyManagementTeeModel: string | null;
maxProtocolParticipants: number | null;
minProtocolParticipants: number | null;
supportedProtocols: ("CERBERUS" | "MANTICORE")[] | null;
} | null;
cuPrice: BN;
cuPriceProposals: BN[];
lastUpdatedEpoch: number;
maxCapacity: BN;
maxSize: number;
mxes: PublicKey[];
nodes: {
epochJoined: number;
nodePda: PublicKey;
}[];
pendingNodes: {
epochJoined: number;
nodePda: PublicKey;
}[];
}
Note: BN
is the Anchor's BigNumber type.