Skip to content

Commit

Permalink
chore: parser lint import
Browse files Browse the repository at this point in the history
  • Loading branch information
vaigay committed Aug 28, 2024
1 parent f601452 commit 7d5efda
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pkg/parser/hashflow_v3/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package hashflowv3
import (
"encoding/json"
"errors"
"github.com/KyberNetwork/tradelogs/pkg/types"
"strings"

"github.com/KyberNetwork/tradelogs/pkg/decoder"
"github.com/KyberNetwork/tradelogs/pkg/parser"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/types"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
ethereumTypes "github.com/ethereum/go-ethereum/core/types"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/kyberswap/parser.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package kyberswap

import (
"github.com/KyberNetwork/tradelogs/pkg/types"
"strings"

ethereumTypes "github.com/ethereum/go-ethereum/core/types"

"github.com/KyberNetwork/tradelogs/pkg/parser"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/types"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/kyberswap_rfq/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/KyberNetwork/tradelogs/pkg/types"
"strings"

"github.com/KyberNetwork/tradelogs/pkg/decoder"
"github.com/KyberNetwork/tradelogs/pkg/parser"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/types"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"

Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/oneinch/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/KyberNetwork/tradelogs/pkg/types"
"math/big"
"strings"

Expand All @@ -13,6 +12,7 @@ import (
"github.com/KyberNetwork/tradelogs/pkg/parser"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/tracecall"
"github.com/KyberNetwork/tradelogs/pkg/types"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/oneinchv6/makertraits.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package oneinchv6
import (
"bytes"
"errors"
"github.com/ethereum/go-ethereum/common/math"
"math/big"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
)

type MakerTraitsOption struct {
Expand Down
3 changes: 2 additions & 1 deletion pkg/parser/oneinchv6/makertraits_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package oneinchv6

import (
"github.com/ethereum/go-ethereum/common/math"
"math/big"
"testing"

"github.com/ethereum/go-ethereum/common/math"
)

func TestDecodeTraits(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/paraswap/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package paraswap
import (
"encoding/json"
"errors"
"github.com/KyberNetwork/tradelogs/pkg/types"
"strings"

"github.com/KyberNetwork/tradelogs/pkg/decoder"
"github.com/KyberNetwork/tradelogs/pkg/parser"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/types"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
ethereumTypes "github.com/ethereum/go-ethereum/core/types"
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package parser

import (
"errors"
"github.com/KyberNetwork/tradelogs/pkg/types"

"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/types"
ethereumTypes "github.com/ethereum/go-ethereum/core/types"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/zxotc/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package zxotc
import (
"encoding/json"
"errors"
"github.com/KyberNetwork/tradelogs/pkg/types"
"strings"

"github.com/KyberNetwork/tradelogs/pkg/decoder"
"github.com/KyberNetwork/tradelogs/pkg/parser"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/types"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"
ethereumTypes "github.com/ethereum/go-ethereum/core/types"
Expand Down

0 comments on commit 7d5efda

Please sign in to comment.