Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder committed Mar 26, 2024
1 parent e8f0b2e commit 56e7c35
Show file tree
Hide file tree
Showing 13 changed files with 311 additions and 1,107 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine AS build-env
FROM golang:1-alpine AS build-env
RUN apk --no-cache add build-base git mercurial gcc linux-headers
WORKDIR /myapp
# cache dependencies
Expand Down
4 changes: 2 additions & 2 deletions collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"time"

"cloud.google.com/go/firestore"
"github.com/gochain/gochain/v3/common"
"github.com/gochain/gochain/v3/goclient"
"github.com/gochain/gochain/v4/common"
"github.com/gochain/gochain/v4/goclient"
"github.com/goswap/stats-api/backend"
"github.com/goswap/stats-api/contracts"
"github.com/goswap/stats-api/models"
Expand Down
4 changes: 2 additions & 2 deletions collector/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"log"

"github.com/gochain/gochain/v3/goclient"
"github.com/gochain/gochain/v3/rpc"
"github.com/gochain/gochain/v4/goclient"
"github.com/gochain/gochain/v4/rpc"
"github.com/goswap/stats-api/collector"
"github.com/treeder/firetils"
"github.com/treeder/gcputils"
Expand Down
10 changes: 5 additions & 5 deletions collector/mints.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"time"

"github.com/gochain-io/explorer/server/utils"
"github.com/gochain/gochain/v3"
"github.com/gochain/gochain/v3/accounts/abi"
"github.com/gochain/gochain/v3/common"
"github.com/gochain/gochain/v3/core/types"
"github.com/gochain/gochain/v3/goclient"
"github.com/gochain/gochain/v4"
"github.com/gochain/gochain/v4/accounts/abi"
"github.com/gochain/gochain/v4/common"
"github.com/gochain/gochain/v4/core/types"
"github.com/gochain/gochain/v4/goclient"
"github.com/goswap/stats-api/contracts"
"github.com/treeder/gotils/v2"
)
Expand Down
10 changes: 5 additions & 5 deletions collector/swaps.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"time"

"github.com/gochain-io/explorer/server/utils"
"github.com/gochain/gochain/v3"
"github.com/gochain/gochain/v3/accounts/abi"
"github.com/gochain/gochain/v3/common"
"github.com/gochain/gochain/v3/core/types"
"github.com/gochain/gochain/v3/goclient"
"github.com/gochain/gochain/v4"
"github.com/gochain/gochain/v4/accounts/abi"
"github.com/gochain/gochain/v4/common"
"github.com/gochain/gochain/v4/core/types"
"github.com/gochain/gochain/v4/goclient"
"github.com/goswap/stats-api/contracts"
"github.com/treeder/gotils/v2"
)
Expand Down
12 changes: 6 additions & 6 deletions contracts/erc20.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions contracts/factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions contracts/pair.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions contracts/router.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 87 additions & 33 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,40 +1,94 @@
module github.com/goswap/stats-api

go 1.16
go 1.22

require (
cloud.google.com/go v0.93.3 // indirect
cloud.google.com/go/firestore v1.5.0
github.com/aristanetworks/goarista v0.0.0-20210715113802-a1396632fc37 // indirect
github.com/dgraph-io/ristretto v0.1.0
github.com/go-chi/chi/v5 v5.0.3
cloud.google.com/go/firestore v1.15.0
github.com/dgraph-io/ristretto v0.1.1
github.com/go-chi/chi/v5 v5.0.12
github.com/gochain-io/explorer v0.4.221
github.com/gochain/gochain/v4 v4.2.0
github.com/shopspring/decimal v1.3.1
github.com/treeder/firetils v0.0.42
github.com/treeder/gcputils v0.1.7
github.com/treeder/goapibase v1.0.4
github.com/treeder/gotils v0.1.3
github.com/treeder/gotils/v2 v2.1.15
golang.org/x/sync v0.6.0
google.golang.org/api v0.171.0
google.golang.org/grpc v1.62.1
)

require (
cloud.google.com/go v0.112.1 // indirect
cloud.google.com/go/compute v1.25.1 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.7 // indirect
cloud.google.com/go/kms v1.15.8 // indirect
cloud.google.com/go/logging v1.9.0 // indirect
cloud.google.com/go/longrunning v0.5.6 // indirect
cloud.google.com/go/storage v1.39.1 // indirect
firebase.google.com/go/v4 v4.13.0 // indirect
github.com/MicahParks/keyfunc v1.9.0 // indirect
github.com/allegro/bigcache v1.2.1 // indirect
github.com/aristanetworks/goarista v0.0.0-20240307142436-5ccdcd6ef354 // indirect
github.com/btcsuite/btcd v0.22.0-beta // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/edsrzf/mmap-go v1.1.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/gochain-io/explorer v0.4.202
github.com/gochain/gochain/v3 v3.4.7
github.com/golang/glog v0.0.0-20210429001901-424d2337a529 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/huin/goupnp v1.0.2 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/glog v1.2.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.3 // indirect
github.com/gorilla/websocket v1.5.1 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/huin/goupnp v1.3.0 // indirect
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
github.com/karalabe/usb v0.0.0-20210518091819-4ea20957c210 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/peterh/liner v1.2.1 // indirect
github.com/rs/xid v1.3.0 // indirect
github.com/shopspring/decimal v1.2.0
github.com/treeder/firetils v0.0.25
github.com/treeder/gcputils v0.1.1
github.com/treeder/goapibase v0.1.2
github.com/treeder/gotils v0.1.3
github.com/treeder/gotils/v2 v2.0.9
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.19.0 // indirect
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
golang.org/x/mod v0.5.0 // indirect
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
golang.org/x/oauth2 v0.0.0-20210817223510-7df4dd6e12ab // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sys v0.0.0-20210818153620-00dd8d7831e7 // indirect
google.golang.org/api v0.54.0
google.golang.org/genproto v0.0.0-20210818220304-27ea9cc85d9f // indirect
google.golang.org/grpc v1.40.0
github.com/karalabe/usb v0.0.2 // indirect
github.com/matoous/go-nanoid/v2 v2.0.0 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/peterh/liner v1.2.2 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rjeczalik/notify v0.9.3 // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/rs/xid v1.5.0 // indirect
github.com/status-im/keycard-go v0.3.2 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
github.com/wsddn/go-ecdh v0.0.0-20161211032359-48726bab9208 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/otel/trace v1.24.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/oauth2 v0.18.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/appengine/v2 v2.0.5 // indirect
google.golang.org/genproto v0.0.0-20240325203815-454cdb8f5daa // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240325203815-454cdb8f5daa // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240325203815-454cdb8f5daa // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
)
Loading

0 comments on commit 56e7c35

Please sign in to comment.