Skip to content

Commit

Permalink
fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Dec 23, 2022
1 parent 8a1c797 commit 54b2630
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions data/outport/dtos.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ type AccountTokenData struct {

// AlteredAccount holds the data needed of an altered account in a block
type AlteredAccount struct {
Nonce uint64 `json:"nonce"`
Address string `json:"address"`
Balance string `json:"balance,omitempty"`
CurrentOwner string `json:"currentOwner,omitempty"`
UserName string `json:"userName,omitempty"`
DeveloperRewards string `json:"developerRewards,omitempty"`
Tokens []*AccountTokenData `json:"tokens"`
AdditionalData *AdditionalAccountData `json:"additionalData,omitempty"`
Nonce uint64 `json:"nonce"`
Address string `json:"address"`
Balance string `json:"balance,omitempty"`
Tokens []*AccountTokenData `json:"tokens"`
AdditionalData *AdditionalAccountData `json:"additionalData,omitempty"`
}

// AdditionalAccountData holds the additional data for an altered account
type AdditionalAccountData struct {
IsSender bool `json:"isSender,omitempty"`
BalanceChanged bool `json:"balanceChanged,omitempty"`
IsSender bool `json:"isSender,omitempty"`
BalanceChanged bool `json:"balanceChanged,omitempty"`
CurrentOwner string `json:"currentOwner,omitempty"`
UserName string `json:"userName,omitempty"`
DeveloperRewards string `json:"developerRewards,omitempty"`
}

// AdditionalAccountTokenData holds the additional data for indexing a token of an altered account
Expand Down

0 comments on commit 54b2630

Please sign in to comment.