diff --git a/chains/substrate/events/events.go b/chains/substrate/events/events.go index 73de366c..331c38de 100644 --- a/chains/substrate/events/events.go +++ b/chains/substrate/events/events.go @@ -20,6 +20,7 @@ type Events struct { SygmaBridge_RegisterDestDomain []RegisterDestDomain SygmaBridge_UnRegisterDestDomain []UnregisterDestDomain SygmaFeeHandlerRouter_FeeHandlerSet []FeeHandlerSet + PhragmenElection } type Deposit struct { @@ -101,3 +102,14 @@ type FeeHandlerSet struct { HandlerType [1]byte Topics []types.Hash } + +type PhragmenElection struct { + // Substrate default events + PhragmenElection_CandidateSlashed []types.EventElectionsCandidateSlashed + PhragmenElection_ElectionError []types.EventElectionsElectionError + PhragmenElection_EmptyTerm []types.EventElectionsEmptyTerm + PhragmenElection_MemberKicked []types.EventElectionsMemberKicked + PhragmenElection_NewTerm []types.EventElectionsNewTerm + PhragmenElection_Renounced []types.EventElectionsRenounced + PhragmenElection_SeatHolderSlashed []types.EventElectionsSeatHolderSlashed +}