style: format code with gofmt
This commit is contained in:
@@ -14,11 +14,11 @@ import (
|
||||
)
|
||||
|
||||
type BlacklistEntry struct {
|
||||
Address string `json:"address"`
|
||||
FailureCount int `json:"failure_count"`
|
||||
LastReason string `json:"last_reason"`
|
||||
FirstSeen time.Time `json:"first_seen"`
|
||||
IsBlacklisted bool `json:"is_blacklisted"`
|
||||
Address string `json:"address"`
|
||||
FailureCount int `json:"failure_count"`
|
||||
LastReason string `json:"last_reason"`
|
||||
FirstSeen time.Time `json:"first_seen"`
|
||||
IsBlacklisted bool `json:"is_blacklisted"`
|
||||
}
|
||||
|
||||
func main() {
|
||||
@@ -44,10 +44,10 @@ func main() {
|
||||
fmt.Println()
|
||||
|
||||
// Function selectors
|
||||
token0Selector := []byte{0x0d, 0xfe, 0x16, 0x81} // token0()
|
||||
token1Selector := []byte{0xd2, 0x12, 0x20, 0xa7} // token1()
|
||||
feeSelector := []byte{0xdd, 0xca, 0x3f, 0x43} // fee()
|
||||
slot0Selector := []byte{0x38, 0x50, 0xc7, 0xbd} // slot0()
|
||||
token0Selector := []byte{0x0d, 0xfe, 0x16, 0x81} // token0()
|
||||
token1Selector := []byte{0xd2, 0x12, 0x20, 0xa7} // token1()
|
||||
feeSelector := []byte{0xdd, 0xca, 0x3f, 0x43} // fee()
|
||||
slot0Selector := []byte{0x38, 0x50, 0xc7, 0xbd} // slot0()
|
||||
reservesSelector := []byte{0x09, 0x02, 0xf1, 0xac} // getReserves()
|
||||
|
||||
uniV3Count := 0
|
||||
@@ -155,4 +155,4 @@ func main() {
|
||||
for reason, count := range reasonCounts {
|
||||
fmt.Printf("%s: %d\n", reason, count)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user