style: format code with gofmt

This commit is contained in:
Krypto Kajun
2025-11-08 10:37:52 -06:00
parent 8cba462024
commit ae4abc5b5c
32 changed files with 9207 additions and 5843 deletions

View File

@@ -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)
}
}
}