You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Golang code for the account hash can be found here: [https://github.com/maticnetwork/heimdall/blob/develop/types/dividend-account.go#L91-L101](https://github.com/maticnetwork/heimdall/blob/develop/types/dividend-account.go#L91-L101)
103
+
Golang code for the account hash can be found here: [https://github.com/maticnetwork/heimdall/blob/develop/types/dividend-account.go](https://github.com/maticnetwork/heimdall/blob/develop/types/dividend-account.go)
104
104
105
105
```go
106
-
// DividendAccount contains Fee, Slashed amount
106
+
// DividendAccount contains burned Fee amount
107
107
type DividendAccount struct {
108
-
ID DividendAccountID `json:"ID"`
109
-
FeeAmount string `json:"feeAmount"` // string representation of big.Int
110
-
SlashedAmount string `json:"slashedAmount"` // string representation of big.Int
108
+
User HeimdallAddress `json:"user"`
109
+
FeeAmount string `json:"feeAmount"` // string representation of big.Int
111
110
}
112
111
113
-
// calculate hash for particular account
112
+
// CalculateHash hashes the values of a DividendAccount
0 commit comments