Skip to content

Commit d3e0f95

Browse files
committed
chore(repo): rename import paths
1 parent ea46f9c commit d3e0f95

13 files changed

+17
-17
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# etherscan-api
22

3-
[![GoDoc](https://godoc.org/github.com/timcki/etherscan-api/v2?status.svg)](https://godoc.org/github.com/timcki/etherscan-api)
3+
[![GoDoc](https://godoc.org/github.com/TokenTax/etherscan-api/v2?status.svg)](https://godoc.org/github.com/TokenTax/etherscan-api)
44

55
Golang client for the Etherscan.io v2 API with nearly full implementation(accounts, transactions, tokens, contracts, blocks, stats) and minimal dependencies.
66

77
# Usage
88

99
```bash
10-
go get github.com/timcki/etherscan-api/v2
10+
go get github.com/TokenTax/etherscan-api/v2
1111
```
1212

1313
Create an API instance and off you go. :rocket:
@@ -60,7 +60,7 @@ func main() {
6060
}
6161
```
6262

63-
You may find full method list at [GoDoc](https://godoc.org/github.com/timcki/etherscan-api/v2).
63+
You may find full method list at [GoDoc](https://godoc.org/github.com/TokenTax/etherscan-api/v2).
6464

6565
# Etherscan API Key
6666

pkg/client/account.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313
"strconv"
1414
"strings"
1515

16+
"github.com/TokenTax/etherscan-api/v2/internal/types"
17+
"github.com/TokenTax/etherscan-api/v2/pkg/response"
1618
"github.com/pkg/errors"
17-
"github.com/timcki/etherscan-api/v2/internal/types"
18-
"github.com/timcki/etherscan-api/v2/pkg/response"
1919
)
2020

2121
type AccountBalanceParams struct {

pkg/client/block.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"net/url"
1313
"strconv"
1414

15+
"github.com/TokenTax/etherscan-api/v2/pkg/response"
1516
"github.com/pkg/errors"
16-
"github.com/timcki/etherscan-api/v2/pkg/response"
1717
)
1818

1919
type BlockRewardParams struct {

pkg/client/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import (
1717
"strconv"
1818
"time"
1919

20+
"github.com/TokenTax/etherscan-api/v2/pkg/chain"
2021
"github.com/pkg/errors"
21-
"github.com/timcki/etherscan-api/v2/pkg/chain"
2222
)
2323

2424
type (

pkg/client/client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"net/url"
1212
"testing"
1313

14+
"github.com/TokenTax/etherscan-api/v2/pkg/chain"
1415
"github.com/stretchr/testify/assert"
15-
"github.com/timcki/etherscan-api/v2/pkg/chain"
1616
)
1717

1818
func TestClient_craftURL(t *testing.T) {

pkg/client/contract.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ package client
1010
import (
1111
"net/url"
1212

13+
"github.com/TokenTax/etherscan-api/v2/pkg/response"
1314
"github.com/pkg/errors"
14-
"github.com/timcki/etherscan-api/v2/pkg/response"
1515
)
1616

1717
type ContractParams struct {

pkg/client/gas_tracker.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"strconv"
1313
"time"
1414

15+
"github.com/TokenTax/etherscan-api/v2/pkg/response"
1516
"github.com/pkg/errors"
16-
"github.com/timcki/etherscan-api/v2/pkg/response"
1717
)
1818

1919
type GasEstimateParams struct {

pkg/client/logs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"net/url"
1212
"strconv"
1313

14+
"github.com/TokenTax/etherscan-api/v2/pkg/response"
1415
"github.com/pkg/errors"
15-
"github.com/timcki/etherscan-api/v2/pkg/response"
1616
)
1717

1818
type LogParams struct {

pkg/client/logs_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ package client
66
import (
77
"testing"
88

9+
"github.com/TokenTax/etherscan-api/v2/pkg/response"
910
"github.com/stretchr/testify/assert"
10-
"github.com/timcki/etherscan-api/v2/pkg/response"
1111
)
1212

1313
func TestClient_GetLogs(t *testing.T) {

pkg/client/setup_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"os"
1717
"time"
1818

19-
"github.com/timcki/etherscan-api/v2/internal/chain"
19+
"github.com/TokenTax/etherscan-api/v2/internal/chain"
2020
)
2121

2222
const apiKeyEnvName = "ETHERSCAN_API_KEY"

pkg/client/stat.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ package client
1010
import (
1111
"net/url"
1212

13+
"github.com/TokenTax/etherscan-api/v2/internal/types"
14+
"github.com/TokenTax/etherscan-api/v2/pkg/response"
1315
"github.com/pkg/errors"
14-
"github.com/timcki/etherscan-api/v2/internal/types"
15-
"github.com/timcki/etherscan-api/v2/pkg/response"
1616
)
1717

1818
type TokenTotalSupplyParams struct {

pkg/client/transaction.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ package client
1010
import (
1111
"net/url"
1212

13+
"github.com/TokenTax/etherscan-api/v2/pkg/response"
1314
"github.com/pkg/errors"
14-
"github.com/timcki/etherscan-api/v2/pkg/response"
1515
)
1616

1717
// ErrPreByzantiumTx transaction before 4,370,000 does not support receipt status check

pkg/response/response.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"strconv"
1515
"strings"
1616

17+
"github.com/TokenTax/etherscan-api/v2/internal/types"
1718
"github.com/pkg/errors"
18-
"github.com/timcki/etherscan-api/v2/internal/types"
1919
)
2020

2121
type EtherscanResponse interface {

0 commit comments

Comments
 (0)