Skip to content

Commit

Permalink
cosmos proto added
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsingh33 committed Sep 26, 2023
1 parent 51ce2b1 commit e986622
Show file tree
Hide file tree
Showing 67 changed files with 76 additions and 75 deletions.
2 changes: 1 addition & 1 deletion x/asset/keeper/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

"github.com/comdex-official/comdex/x/asset/types"
)
Expand Down
2 changes: 1 addition & 1 deletion x/asset/keeper/asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"regexp"

sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

"github.com/comdex-official/comdex/x/asset/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
Expand Down
2 changes: 1 addition & 1 deletion x/asset/keeper/pair.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package keeper

import (
sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

"github.com/comdex-official/comdex/x/asset/types"
)
Expand Down
2 changes: 1 addition & 1 deletion x/asset/keeper/pairs_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"regexp"

sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

"github.com/comdex-official/comdex/app/wasm/bindings"
rewardstypes "github.com/comdex-official/comdex/x/rewards/types"
Expand Down
2 changes: 1 addition & 1 deletion x/asset/types/extendedPairVault.pb.go

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

2 changes: 1 addition & 1 deletion x/asset/types/query.pb.go

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

2 changes: 1 addition & 1 deletion x/asset/types/tx.pb.go

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

2 changes: 1 addition & 1 deletion x/auction/keeper/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

auctiontypes "github.com/comdex-official/comdex/x/auction/types"
)
Expand Down
2 changes: 1 addition & 1 deletion x/auction/types/auction.pb.go

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

2 changes: 1 addition & 1 deletion x/auction/types/biddings.pb.go

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

2 changes: 1 addition & 1 deletion x/auction/types/query.pb.go

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

2 changes: 1 addition & 1 deletion x/auction/types/tx.pb.go

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

2 changes: 1 addition & 1 deletion x/auctionsV2/keeper/bid.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
collectortypes "github.com/comdex-official/comdex/x/collector/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"
)

func (k Keeper) PlaceDutchAuctionBid(ctx sdk.Context, auctionID uint64, bidder string, bid sdk.Coin, auctionData types.Auction, isAutoBid bool) (bidId uint64, err error) {
Expand Down
2 changes: 1 addition & 1 deletion x/auctionsV2/keeper/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/comdex-official/comdex/x/auctionsV2/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"
)

func (k Keeper) SetAuctionID(ctx sdk.Context, id uint64) {
Expand Down
2 changes: 1 addition & 1 deletion x/auctionsV2/types/auction.pb.go

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

2 changes: 1 addition & 1 deletion x/auctionsV2/types/bid.pb.go

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

2 changes: 1 addition & 1 deletion x/auctionsV2/types/query.pb.go

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

2 changes: 1 addition & 1 deletion x/auctionsV2/types/tx.pb.go

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

13 changes: 7 additions & 6 deletions x/bandoracle/keeper/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types"

// channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types"
protobuftypes "github.com/cosmos/gogoproto/types"
host "github.com/cosmos/ibc-go/v7/modules/core/24-host"
protobuftypes "github.com/gogo/protobuf/types"

"github.com/comdex-official/comdex/x/bandoracle/types"
)
Expand Down Expand Up @@ -98,11 +99,11 @@ func (k Keeper) FetchPrice(ctx sdk.Context, msg types.MsgFetchPriceData) (*types
// clienttypes.NewHeight(0, 0),
// uint64(ctx.BlockTime().UnixNano()+int64(10*time.Minute)), // Arbitrary timestamp timeout for now
// ))
_, err := k.channelKeeper.SendPacket(ctx,
channelCap,
sourcePort,
msg.SourceChannel,
clienttypes.NewHeight(0, 0),
_, err := k.channelKeeper.SendPacket(ctx,
channelCap,
sourcePort,
msg.SourceChannel,
clienttypes.NewHeight(0, 0),
uint64(ctx.BlockTime().UnixNano()+int64(10*time.Minute)), // Arbitrary timestamp timeout for now
packetData.GetBytes(),
)
Expand Down
2 changes: 1 addition & 1 deletion x/bandoracle/types/query.pb.go

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

2 changes: 1 addition & 1 deletion x/collector/types/collector.pb.go

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

2 changes: 1 addition & 1 deletion x/collector/types/query.pb.go

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

2 changes: 1 addition & 1 deletion x/collector/types/tx.pb.go

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

2 changes: 1 addition & 1 deletion x/esm/keeper/esm.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package keeper

import (
sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

"github.com/comdex-official/comdex/app/wasm/bindings"
assettypes "github.com/comdex-official/comdex/x/asset/types"
Expand Down
2 changes: 1 addition & 1 deletion x/esm/types/esm.pb.go

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

2 changes: 1 addition & 1 deletion x/esm/types/query.pb.go

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

2 changes: 1 addition & 1 deletion x/esm/types/tx.pb.go

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

2 changes: 1 addition & 1 deletion x/lend/keeper/borrow.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package keeper

import (
sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

"github.com/comdex-official/comdex/x/lend/types"
)
Expand Down
2 changes: 1 addition & 1 deletion x/lend/keeper/lend.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"sort"

sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

"github.com/comdex-official/comdex/x/lend/types"
)
Expand Down
2 changes: 1 addition & 1 deletion x/lend/keeper/pair.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

"github.com/comdex-official/comdex/x/lend/types"
)
Expand Down
2 changes: 1 addition & 1 deletion x/lend/types/lend.pb.go

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

2 changes: 1 addition & 1 deletion x/lend/types/query.pb.go

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

2 changes: 1 addition & 1 deletion x/lend/types/tx.pb.go

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

2 changes: 1 addition & 1 deletion x/liquidation/keeper/liquidate_vaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"

utils "github.com/comdex-official/comdex/types"
"github.com/comdex-official/comdex/x/liquidation/types"
Expand Down
2 changes: 1 addition & 1 deletion x/liquidation/types/locked_vault.pb.go

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

2 changes: 1 addition & 1 deletion x/liquidation/types/querier.pb.go

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

2 changes: 1 addition & 1 deletion x/liquidation/types/tx.pb.go

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

2 changes: 1 addition & 1 deletion x/liquidationsV2/keeper/liquidations.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package keeper
import (
"github.com/comdex-official/comdex/x/liquidationsV2/types"
sdk "github.com/cosmos/cosmos-sdk/types"
protobuftypes "github.com/gogo/protobuf/types"
protobuftypes "github.com/cosmos/gogoproto/types"
)

// locked vaults kvs
Expand Down
2 changes: 1 addition & 1 deletion x/liquidationsV2/types/liquidate.pb.go

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

2 changes: 1 addition & 1 deletion x/liquidationsV2/types/query.pb.go

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

2 changes: 1 addition & 1 deletion x/liquidationsV2/types/tx.pb.go

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

2 changes: 1 addition & 1 deletion x/liquidity/keeper/store.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package keeper

import (
gogotypes "github.com/gogo/protobuf/types"
gogotypes "github.com/cosmos/gogoproto/types"

sdk "github.com/cosmos/cosmos-sdk/types"

Expand Down
Loading

0 comments on commit e986622

Please sign in to comment.