-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from forta-protocol/add-batch-to-reference
Add batch to reference
- Loading branch information
Showing
4 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
package domain | ||
|
||
import "github.com/forta-protocol/forta-node/protocol" | ||
|
||
type AlertBatch struct { | ||
Scanner string `json:"scanner"` | ||
ChainID int64 `json:"chainId"` | ||
BlockStart int64 `json:"blockStart"` | ||
BlockEnd int64 `json:"blockEnd"` | ||
AlertCount int64 `json:"alertCount"` | ||
MaxSeverity int64 `json:"maxSeverity"` | ||
Ref string `json:"ref"` | ||
Scanner string `json:"scanner"` | ||
ChainID int64 `json:"chainId"` | ||
BlockStart int64 `json:"blockStart"` | ||
BlockEnd int64 `json:"blockEnd"` | ||
AlertCount int64 `json:"alertCount"` | ||
MaxSeverity int64 `json:"maxSeverity"` | ||
Ref string `json:"ref"` | ||
SignedBatch *protocol.SignedAlertBatch `json:"signedBatch"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters