Skip to content

Commit

Permalink
event: Add TransactionFeePaid event (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian authored Aug 4, 2022
1 parent 17e1c01 commit 77783c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/event_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ type EventRecords struct {
TransactionStorage_Renewed []EventTransactionStorageRenewed `test-gen-skip:"true"`
TransactionStorage_ProofChecked []EventTransactionStorageProofChecked `test-gen-skip:"true"`

TransactionPayment_TransactionFeePaid []EventTransactionPaymentTransactionFeePaid `test-gen-blockchain:"westend"`

Treasury_Awarded []EventTreasuryAwarded `test-gen-blockchain:"altair"`
Treasury_Burnt []EventTreasuryBurnt `test-gen-blockchain:"altair"`
Treasury_Deposit []EventTreasuryDeposit `test-gen-blockchain:"altair"`
Expand Down
8 changes: 8 additions & 0 deletions types/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -2576,6 +2576,14 @@ type EventTransactionStorageProofChecked struct {
Topics []Hash
}

type EventTransactionPaymentTransactionFeePaid struct {
Phase Phase
Who AccountID
ActualFee U128
Tip U128
Topics []Hash
}

// EventTipsTipRetracted is emitted when a tip suggestion has been retracted.
type EventTipsTipRetracted struct {
Phase Phase
Expand Down

0 comments on commit 77783c7

Please sign in to comment.