Skip to content

Commit

Permalink
Add new balances events
Browse files Browse the repository at this point in the history
  • Loading branch information
hacpy committed Nov 23, 2021
1 parent f9c746d commit e45de8b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
1 change: 0 additions & 1 deletion expand/extra/extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ type ExtraEvents struct {

type ExtraEventRecord struct {
// Fix some events
Balances_ReserveRepatriated []gsrpcTypes.EventBalancesReserveRepatriated
System_Remarked []Remarked
Scheduler_Dispatched []SchedulerDispatched
Scheduler_Scheduled []SchedulerScheduled
Expand Down
19 changes: 11 additions & 8 deletions expand/extra/origin.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ type OriginEvents struct {

type OriginEventRecord struct {
// refer origin
Claims_Claimed []gsrpcTypes.EventClaimsClaimed //nolint:stylecheck,golint
Balances_Endowed []gsrpcTypes.EventBalancesEndowed //nolint:stylecheck,golint
Balances_DustLost []gsrpcTypes.EventBalancesDustLost //nolint:stylecheck,golint
Balances_Transfer []gsrpcTypes.EventBalancesTransfer //nolint:stylecheck,golint
Balances_BalanceSet []gsrpcTypes.EventBalancesBalanceSet //nolint:stylecheck,golint
Balances_Deposit []gsrpcTypes.EventBalancesDeposit //nolint:stylecheck,golint
Balances_Reserved []gsrpcTypes.EventBalancesReserved //nolint:stylecheck,golint
Balances_Unreserved []gsrpcTypes.EventBalancesUnreserved //nolint:stylecheck,golint
Claims_Claimed []gsrpcTypes.EventClaimsClaimed //nolint:stylecheck,golint
Balances_Endowed []gsrpcTypes.EventBalancesEndowed //nolint:stylecheck,golint
Balances_DustLost []gsrpcTypes.EventBalancesDustLost //nolint:stylecheck,golint
Balances_Transfer []gsrpcTypes.EventBalancesTransfer //nolint:stylecheck,golint
Balances_BalanceSet []gsrpcTypes.EventBalancesBalanceSet //nolint:stylecheck,golint
Balances_Reserved []gsrpcTypes.EventBalancesReserved //nolint:stylecheck,golint
Balances_Unreserved []gsrpcTypes.EventBalancesUnreserved //nolint:stylecheck,golint
Balances_ReserveRepatriated []gsrpcTypes.EventBalancesReserveRepatriated
Balances_Deposit []gsrpcTypes.EventBalancesDeposit //nolint:stylecheck,golint
Balances_Withdraw []gsrpcTypes.EventBalancesWithdraw
Balances_Slashed []gsrpcTypes.EventBalancesSlashed
//Balances_ReservedRepatriated []gsrpcTypes.EventBalancesReserveRepatriated //nolint:stylecheck,golint
Grandpa_NewAuthorities []gsrpcTypes.EventGrandpaNewAuthorities //nolint:stylecheck,golint
Grandpa_Paused []gsrpcTypes.EventGrandpaPaused //nolint:stylecheck,golint
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Platdot-Network/substrate-go
go 1.15

require (
github.com/Platdot-Network/go-substrate-rpc-client/v3 v3.0.9
github.com/Platdot-Network/go-substrate-rpc-client/v3 v3.0.10
github.com/ethereum/go-ethereum v1.10.12
github.com/hacpy/chainbridge-substrate-events v1.0.0
github.com/huandu/xstrings v1.3.2
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ github.com/ChainSafe/go-schnorrkel v0.0.0-20210318173838-ccb5cd955283 h1:bCAjrlK
github.com/ChainSafe/go-schnorrkel v0.0.0-20210318173838-ccb5cd955283/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4=
github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/Platdot-Network/go-substrate-rpc-client/v3 v3.0.10 h1:QP1DjI/sGt05qcdE56pClRdYR2FIM/2JsAkZeR24b50=
github.com/Platdot-Network/go-substrate-rpc-client/v3 v3.0.10/go.mod h1:R1XC66btlxDwmmtIiqIv9UZuw9xGwznsKfuauLQZV80=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8=
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8=
Expand Down

0 comments on commit e45de8b

Please sign in to comment.