File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,6 +170,13 @@ type EventSystemExtrinsicFailed struct {
170170 Topics []Hash
171171}
172172
173+ // EventTreasuryDeposit is emitted when some funds have been deposited
174+ type EventTreasuryDeposit struct {
175+ Phase Phase
176+ Balance U128
177+ Topics []Hash
178+ }
179+
173180// EventRecords is a default set of possible event records that can be used as a target for
174181// `func (e EventRecordsRaw) Decode(...`
175182type EventRecords struct {
@@ -188,6 +195,7 @@ type EventRecords struct {
188195 Staking_Slash []EventStakingSlash //nolint:stylecheck,golint
189196 System_ExtrinsicSuccess []EventSystemExtrinsicSuccess //nolint:stylecheck,golint
190197 System_ExtrinsicFailed []EventSystemExtrinsicFailed //nolint:stylecheck,golint
198+ Treasury_Deposit []EventTreasuryDeposit //nolint:stylecheck,golint
191199}
192200
193201// DecodeEventRecords decodes the events records from an EventRecordRaw into a target t using the given Metadata m
You can’t perform that action at this time.
0 commit comments