Skip to content

Commit

Permalink
fix: Add substrate default event (#150)
Browse files Browse the repository at this point in the history
Signed-off-by: tcar <tcar121293@gmail.com>
  • Loading branch information
tcar121293 authored Mar 30, 2023
1 parent b0f3c1c commit bc3bbb5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions chains/substrate/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type Events struct {
SygmaBridge_RegisterDestDomain []RegisterDestDomain
SygmaBridge_UnRegisterDestDomain []UnregisterDestDomain
SygmaFeeHandlerRouter_FeeHandlerSet []FeeHandlerSet
PhragmenElection
}

type Deposit struct {
Expand Down Expand Up @@ -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
}

0 comments on commit bc3bbb5

Please sign in to comment.