mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
rename go mod path
This commit is contained in:
parent
e6244b7e89
commit
916f251143
@ -80,7 +80,7 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
|
|||||||
# change the params of the chain like a god - make it so 🖖🏽
|
# change the params of the chain like a god - make it so 🖖🏽
|
||||||
# make sure to update god committee member permissions for the module
|
# make sure to update god committee member permissions for the module
|
||||||
# and params being updated (see below for example)
|
# and params being updated (see below for example)
|
||||||
# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
# https://github.com/0glabs/0g-chain/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
||||||
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
||||||
|
|
||||||
# fetch current module params
|
# fetch current module params
|
||||||
|
2
.github/scripts/seed-internal-testnet.sh
vendored
2
.github/scripts/seed-internal-testnet.sh
vendored
@ -155,7 +155,7 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
|
|||||||
# change the params of the chain like a god - make it so 🖖🏽
|
# change the params of the chain like a god - make it so 🖖🏽
|
||||||
# make sure to update god committee member permissions for the module
|
# make sure to update god committee member permissions for the module
|
||||||
# and params being updated (see below for example)
|
# and params being updated (see below for example)
|
||||||
# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
# https://github.com/0glabs/0g-chain/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
||||||
# committee 1 is the stability committee. on internal testnet, this has only one member.
|
# committee 1 is the stability committee. on internal testnet, this has only one member.
|
||||||
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
||||||
|
|
||||||
|
2
.github/scripts/seed-protonet.sh
vendored
2
.github/scripts/seed-protonet.sh
vendored
@ -147,7 +147,7 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
|
|||||||
# change the params of the chain like a god - make it so 🖖🏽
|
# change the params of the chain like a god - make it so 🖖🏽
|
||||||
# make sure to update god committee member permissions for the module
|
# make sure to update god committee member permissions for the module
|
||||||
# and params being updated (see below for example)
|
# and params being updated (see below for example)
|
||||||
# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
# https://github.com/0glabs/0g-chain/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
|
||||||
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
|
||||||
|
|
||||||
# vote on the proposal. this assumes no other committee proposal has ever been submitted (id=1)
|
# vote on the proposal. this assumes no other committee proposal has ever been submitted (id=1)
|
||||||
|
4
Makefile
4
Makefile
@ -45,7 +45,7 @@ print-version:
|
|||||||
LEDGER_ENABLED ?= true
|
LEDGER_ENABLED ?= true
|
||||||
DOCKER:=docker
|
DOCKER:=docker
|
||||||
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf
|
DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf
|
||||||
HTTPS_GIT := https://github.com/Kava-Labs/kava.git
|
HTTPS_GIT := https://github.com/0glabs/0g-chain.git
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
### Machine Info ###
|
### Machine Info ###
|
||||||
@ -233,7 +233,7 @@ format:
|
|||||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs misspell -w
|
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs misspell -w
|
||||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/tendermint
|
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/tendermint
|
||||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/cosmos/cosmos-sdk
|
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/cosmos/cosmos-sdk
|
||||||
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/kava-labs/kava
|
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' | xargs goimports -w -local github.com/0glabs/0g-chain
|
||||||
.PHONY: format
|
.PHONY: format
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -32,15 +32,15 @@ import (
|
|||||||
"github.com/cosmos/cosmos-sdk/x/staking"
|
"github.com/cosmos/cosmos-sdk/x/staking"
|
||||||
"github.com/cosmos/cosmos-sdk/x/supply"
|
"github.com/cosmos/cosmos-sdk/x/supply"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/x/auction"
|
"github.com/0glabs/0g-chain/x/auction"
|
||||||
"github.com/kava-labs/kava/x/bep3"
|
"github.com/0glabs/0g-chain/x/bep3"
|
||||||
"github.com/kava-labs/kava/x/cdp"
|
"github.com/0glabs/0g-chain/x/cdp"
|
||||||
"github.com/kava-labs/kava/x/committee"
|
"github.com/0glabs/0g-chain/x/committee"
|
||||||
"github.com/kava-labs/kava/x/incentive"
|
"github.com/0glabs/0g-chain/x/incentive"
|
||||||
"github.com/kava-labs/kava/x/kavadist"
|
"github.com/0glabs/0g-chain/x/kavadist"
|
||||||
"github.com/kava-labs/kava/x/pricefeed"
|
"github.com/0glabs/0g-chain/x/pricefeed"
|
||||||
"github.com/kava-labs/kava/x/swap"
|
"github.com/0glabs/0g-chain/x/swap"
|
||||||
validatorvesting "github.com/kava-labs/kava/x/validator-vesting"
|
validatorvesting "github.com/0glabs/0g-chain/x/validator-vesting"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StoreKeysPrefixes struct {
|
type StoreKeysPrefixes struct {
|
||||||
|
@ -8,7 +8,8 @@ import (
|
|||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
"github.com/0glabs/0g-chain/app"
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client/context"
|
"github.com/cosmos/cosmos-sdk/client/context"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
|
@ -21,9 +21,9 @@ import (
|
|||||||
"github.com/tendermint/tendermint/libs/log"
|
"github.com/tendermint/tendermint/libs/log"
|
||||||
tmdb "github.com/tendermint/tm-db"
|
tmdb "github.com/tendermint/tm-db"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
bep3types "github.com/kava-labs/kava/x/bep3/types"
|
bep3types "github.com/0glabs/0g-chain/x/bep3/types"
|
||||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
func TestMain(m *testing.M) {
|
||||||
|
@ -10,8 +10,8 @@ import (
|
|||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ sdk.AnteHandler = (&MockAnteHandler{}).AnteHandle
|
var _ sdk.AnteHandler = (&MockAnteHandler{}).AnteHandle
|
||||||
|
@ -14,8 +14,8 @@ import (
|
|||||||
evmtypes "github.com/evmos/ethermint/x/evm/types"
|
evmtypes "github.com/evmos/ethermint/x/evm/types"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newMsgGrant(granter sdk.AccAddress, grantee sdk.AccAddress, a authz.Authorization, expiration time.Time) *authz.MsgGrant {
|
func newMsgGrant(granter sdk.AccAddress, grantee sdk.AccAddress, a authz.Authorization, expiration time.Time) *authz.MsgGrant {
|
||||||
|
@ -33,13 +33,13 @@ import (
|
|||||||
tmversion "github.com/tendermint/tendermint/proto/tendermint/version"
|
tmversion "github.com/tendermint/tendermint/proto/tendermint/version"
|
||||||
"github.com/tendermint/tendermint/version"
|
"github.com/tendermint/tendermint/version"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
cdptypes "github.com/kava-labs/kava/x/cdp/types"
|
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
|
||||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||||
evmutiltestutil "github.com/kava-labs/kava/x/evmutil/testutil"
|
evmutiltestutil "github.com/0glabs/0g-chain/x/evmutil/testutil"
|
||||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||||
hardtypes "github.com/kava-labs/kava/x/hard/types"
|
hardtypes "github.com/0glabs/0g-chain/x/hard/types"
|
||||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -11,8 +11,8 @@ import (
|
|||||||
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
||||||
tmtime "github.com/tendermint/tendermint/types/time"
|
tmtime "github.com/tendermint/tendermint/types/time"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
)
|
)
|
||||||
|
|
||||||
func mustParseDecCoins(value string) sdk.DecCoins {
|
func mustParseDecCoins(value string) sdk.DecCoins {
|
||||||
|
@ -12,8 +12,8 @@ import (
|
|||||||
vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
|
vesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
|
||||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestVestingMempoolDecorator_MsgCreateVestingAccount_Unauthorized(t *testing.T) {
|
func TestVestingMempoolDecorator_MsgCreateVestingAccount_Unauthorized(t *testing.T) {
|
||||||
|
118
app/app.go
118
app/app.go
@ -97,65 +97,65 @@ import (
|
|||||||
tmlog "github.com/tendermint/tendermint/libs/log"
|
tmlog "github.com/tendermint/tendermint/libs/log"
|
||||||
dbm "github.com/tendermint/tm-db"
|
dbm "github.com/tendermint/tm-db"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app/ante"
|
"github.com/0glabs/0g-chain/app/ante"
|
||||||
kavaparams "github.com/kava-labs/kava/app/params"
|
kavaparams "github.com/0glabs/0g-chain/app/params"
|
||||||
"github.com/kava-labs/kava/x/auction"
|
"github.com/0glabs/0g-chain/x/auction"
|
||||||
auctionkeeper "github.com/kava-labs/kava/x/auction/keeper"
|
auctionkeeper "github.com/0glabs/0g-chain/x/auction/keeper"
|
||||||
auctiontypes "github.com/kava-labs/kava/x/auction/types"
|
auctiontypes "github.com/0glabs/0g-chain/x/auction/types"
|
||||||
"github.com/kava-labs/kava/x/bep3"
|
"github.com/0glabs/0g-chain/x/bep3"
|
||||||
bep3keeper "github.com/kava-labs/kava/x/bep3/keeper"
|
bep3keeper "github.com/0glabs/0g-chain/x/bep3/keeper"
|
||||||
bep3types "github.com/kava-labs/kava/x/bep3/types"
|
bep3types "github.com/0glabs/0g-chain/x/bep3/types"
|
||||||
"github.com/kava-labs/kava/x/cdp"
|
"github.com/0glabs/0g-chain/x/cdp"
|
||||||
cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
|
cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
|
||||||
cdptypes "github.com/kava-labs/kava/x/cdp/types"
|
cdptypes "github.com/0glabs/0g-chain/x/cdp/types"
|
||||||
"github.com/kava-labs/kava/x/committee"
|
"github.com/0glabs/0g-chain/x/committee"
|
||||||
committeeclient "github.com/kava-labs/kava/x/committee/client"
|
committeeclient "github.com/0glabs/0g-chain/x/committee/client"
|
||||||
committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
|
committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
|
||||||
committeetypes "github.com/kava-labs/kava/x/committee/types"
|
committeetypes "github.com/0glabs/0g-chain/x/committee/types"
|
||||||
"github.com/kava-labs/kava/x/community"
|
"github.com/0glabs/0g-chain/x/community"
|
||||||
communityclient "github.com/kava-labs/kava/x/community/client"
|
communityclient "github.com/0glabs/0g-chain/x/community/client"
|
||||||
communitykeeper "github.com/kava-labs/kava/x/community/keeper"
|
communitykeeper "github.com/0glabs/0g-chain/x/community/keeper"
|
||||||
communitytypes "github.com/kava-labs/kava/x/community/types"
|
communitytypes "github.com/0glabs/0g-chain/x/community/types"
|
||||||
earn "github.com/kava-labs/kava/x/earn"
|
earn "github.com/0glabs/0g-chain/x/earn"
|
||||||
earnclient "github.com/kava-labs/kava/x/earn/client"
|
earnclient "github.com/0glabs/0g-chain/x/earn/client"
|
||||||
earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
|
earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
|
||||||
earntypes "github.com/kava-labs/kava/x/earn/types"
|
earntypes "github.com/0glabs/0g-chain/x/earn/types"
|
||||||
evmutil "github.com/kava-labs/kava/x/evmutil"
|
evmutil "github.com/0glabs/0g-chain/x/evmutil"
|
||||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||||
"github.com/kava-labs/kava/x/hard"
|
"github.com/0glabs/0g-chain/x/hard"
|
||||||
hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
|
hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
|
||||||
hardtypes "github.com/kava-labs/kava/x/hard/types"
|
hardtypes "github.com/0glabs/0g-chain/x/hard/types"
|
||||||
"github.com/kava-labs/kava/x/incentive"
|
"github.com/0glabs/0g-chain/x/incentive"
|
||||||
incentivekeeper "github.com/kava-labs/kava/x/incentive/keeper"
|
incentivekeeper "github.com/0glabs/0g-chain/x/incentive/keeper"
|
||||||
incentivetypes "github.com/kava-labs/kava/x/incentive/types"
|
incentivetypes "github.com/0glabs/0g-chain/x/incentive/types"
|
||||||
issuance "github.com/kava-labs/kava/x/issuance"
|
issuance "github.com/0glabs/0g-chain/x/issuance"
|
||||||
issuancekeeper "github.com/kava-labs/kava/x/issuance/keeper"
|
issuancekeeper "github.com/0glabs/0g-chain/x/issuance/keeper"
|
||||||
issuancetypes "github.com/kava-labs/kava/x/issuance/types"
|
issuancetypes "github.com/0glabs/0g-chain/x/issuance/types"
|
||||||
"github.com/kava-labs/kava/x/kavadist"
|
"github.com/0glabs/0g-chain/x/kavadist"
|
||||||
kavadistclient "github.com/kava-labs/kava/x/kavadist/client"
|
kavadistclient "github.com/0glabs/0g-chain/x/kavadist/client"
|
||||||
kavadistkeeper "github.com/kava-labs/kava/x/kavadist/keeper"
|
kavadistkeeper "github.com/0glabs/0g-chain/x/kavadist/keeper"
|
||||||
kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
|
kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
|
||||||
"github.com/kava-labs/kava/x/liquid"
|
"github.com/0glabs/0g-chain/x/liquid"
|
||||||
liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
|
liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
|
||||||
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
|
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
|
||||||
metrics "github.com/kava-labs/kava/x/metrics"
|
metrics "github.com/0glabs/0g-chain/x/metrics"
|
||||||
metricstypes "github.com/kava-labs/kava/x/metrics/types"
|
metricstypes "github.com/0glabs/0g-chain/x/metrics/types"
|
||||||
pricefeed "github.com/kava-labs/kava/x/pricefeed"
|
pricefeed "github.com/0glabs/0g-chain/x/pricefeed"
|
||||||
pricefeedkeeper "github.com/kava-labs/kava/x/pricefeed/keeper"
|
pricefeedkeeper "github.com/0glabs/0g-chain/x/pricefeed/keeper"
|
||||||
pricefeedtypes "github.com/kava-labs/kava/x/pricefeed/types"
|
pricefeedtypes "github.com/0glabs/0g-chain/x/pricefeed/types"
|
||||||
"github.com/kava-labs/kava/x/router"
|
"github.com/0glabs/0g-chain/x/router"
|
||||||
routerkeeper "github.com/kava-labs/kava/x/router/keeper"
|
routerkeeper "github.com/0glabs/0g-chain/x/router/keeper"
|
||||||
routertypes "github.com/kava-labs/kava/x/router/types"
|
routertypes "github.com/0glabs/0g-chain/x/router/types"
|
||||||
savings "github.com/kava-labs/kava/x/savings"
|
savings "github.com/0glabs/0g-chain/x/savings"
|
||||||
savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
|
savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
|
||||||
savingstypes "github.com/kava-labs/kava/x/savings/types"
|
savingstypes "github.com/0glabs/0g-chain/x/savings/types"
|
||||||
"github.com/kava-labs/kava/x/swap"
|
"github.com/0glabs/0g-chain/x/swap"
|
||||||
swapkeeper "github.com/kava-labs/kava/x/swap/keeper"
|
swapkeeper "github.com/0glabs/0g-chain/x/swap/keeper"
|
||||||
swaptypes "github.com/kava-labs/kava/x/swap/types"
|
swaptypes "github.com/0glabs/0g-chain/x/swap/types"
|
||||||
validatorvesting "github.com/kava-labs/kava/x/validator-vesting"
|
validatorvesting "github.com/0glabs/0g-chain/x/validator-vesting"
|
||||||
validatorvestingrest "github.com/kava-labs/kava/x/validator-vesting/client/rest"
|
validatorvestingrest "github.com/0glabs/0g-chain/x/validator-vesting/client/rest"
|
||||||
validatorvestingtypes "github.com/kava-labs/kava/x/validator-vesting/types"
|
validatorvestingtypes "github.com/0glabs/0g-chain/x/validator-vesting/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -3,7 +3,7 @@ package app
|
|||||||
import (
|
import (
|
||||||
enccodec "github.com/evmos/ethermint/encoding/codec"
|
enccodec "github.com/evmos/ethermint/encoding/codec"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app/params"
|
"github.com/0glabs/0g-chain/app/params"
|
||||||
)
|
)
|
||||||
|
|
||||||
// MakeEncodingConfig creates an EncodingConfig and registers the app's types on it.
|
// MakeEncodingConfig creates an EncodingConfig and registers the app's types on it.
|
||||||
|
@ -2,16 +2,16 @@ package app
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
|
||||||
|
liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
|
||||||
|
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
|
||||||
|
savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
|
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
|
||||||
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
|
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
|
||||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||||
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
|
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
|
||||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||||
earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
|
|
||||||
liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
|
|
||||||
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
|
|
||||||
savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ govv1.TallyHandler = TallyHandler{}
|
var _ govv1.TallyHandler = TallyHandler{}
|
||||||
|
@ -17,8 +17,8 @@ import (
|
|||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
||||||
|
|
||||||
earntypes "github.com/kava-labs/kava/x/earn/types"
|
earntypes "github.com/0glabs/0g-chain/x/earn/types"
|
||||||
liquidtypes "github.com/kava-labs/kava/x/liquid/types"
|
liquidtypes "github.com/0glabs/0g-chain/x/liquid/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// d is an alias for sdk.MustNewDecFromStr
|
// d is an alias for sdk.MustNewDecFromStr
|
||||||
|
@ -41,22 +41,22 @@ import (
|
|||||||
tmtypes "github.com/tendermint/tendermint/types"
|
tmtypes "github.com/tendermint/tendermint/types"
|
||||||
tmdb "github.com/tendermint/tm-db"
|
tmdb "github.com/tendermint/tm-db"
|
||||||
|
|
||||||
auctionkeeper "github.com/kava-labs/kava/x/auction/keeper"
|
auctionkeeper "github.com/0glabs/0g-chain/x/auction/keeper"
|
||||||
bep3keeper "github.com/kava-labs/kava/x/bep3/keeper"
|
bep3keeper "github.com/0glabs/0g-chain/x/bep3/keeper"
|
||||||
cdpkeeper "github.com/kava-labs/kava/x/cdp/keeper"
|
cdpkeeper "github.com/0glabs/0g-chain/x/cdp/keeper"
|
||||||
committeekeeper "github.com/kava-labs/kava/x/committee/keeper"
|
committeekeeper "github.com/0glabs/0g-chain/x/committee/keeper"
|
||||||
communitykeeper "github.com/kava-labs/kava/x/community/keeper"
|
communitykeeper "github.com/0glabs/0g-chain/x/community/keeper"
|
||||||
earnkeeper "github.com/kava-labs/kava/x/earn/keeper"
|
earnkeeper "github.com/0glabs/0g-chain/x/earn/keeper"
|
||||||
evmutilkeeper "github.com/kava-labs/kava/x/evmutil/keeper"
|
evmutilkeeper "github.com/0glabs/0g-chain/x/evmutil/keeper"
|
||||||
hardkeeper "github.com/kava-labs/kava/x/hard/keeper"
|
hardkeeper "github.com/0glabs/0g-chain/x/hard/keeper"
|
||||||
incentivekeeper "github.com/kava-labs/kava/x/incentive/keeper"
|
incentivekeeper "github.com/0glabs/0g-chain/x/incentive/keeper"
|
||||||
issuancekeeper "github.com/kava-labs/kava/x/issuance/keeper"
|
issuancekeeper "github.com/0glabs/0g-chain/x/issuance/keeper"
|
||||||
kavadistkeeper "github.com/kava-labs/kava/x/kavadist/keeper"
|
kavadistkeeper "github.com/0glabs/0g-chain/x/kavadist/keeper"
|
||||||
liquidkeeper "github.com/kava-labs/kava/x/liquid/keeper"
|
liquidkeeper "github.com/0glabs/0g-chain/x/liquid/keeper"
|
||||||
pricefeedkeeper "github.com/kava-labs/kava/x/pricefeed/keeper"
|
pricefeedkeeper "github.com/0glabs/0g-chain/x/pricefeed/keeper"
|
||||||
routerkeeper "github.com/kava-labs/kava/x/router/keeper"
|
routerkeeper "github.com/0glabs/0g-chain/x/router/keeper"
|
||||||
savingskeeper "github.com/kava-labs/kava/x/savings/keeper"
|
savingskeeper "github.com/0glabs/0g-chain/x/savings/keeper"
|
||||||
swapkeeper "github.com/kava-labs/kava/x/swap/keeper"
|
swapkeeper "github.com/0glabs/0g-chain/x/swap/keeper"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -14,8 +14,8 @@ import (
|
|||||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||||
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
|
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
|
||||||
|
|
||||||
communitytypes "github.com/kava-labs/kava/x/community/types"
|
communitytypes "github.com/0glabs/0g-chain/x/community/types"
|
||||||
kavadisttypes "github.com/kava-labs/kava/x/kavadist/types"
|
kavadisttypes "github.com/0glabs/0g-chain/x/kavadist/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -5,11 +5,11 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
sdkmath "cosmossdk.io/math"
|
sdkmath "cosmossdk.io/math"
|
||||||
|
"github.com/0glabs/0g-chain/app"
|
||||||
|
incentivetypes "github.com/0glabs/0g-chain/x/incentive/types"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
|
||||||
"github.com/evmos/ethermint/crypto/ethsecp256k1"
|
"github.com/evmos/ethermint/crypto/ethsecp256k1"
|
||||||
"github.com/kava-labs/kava/app"
|
|
||||||
incentivetypes "github.com/kava-labs/kava/x/incentive/types"
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
|
||||||
tmtime "github.com/tendermint/tendermint/types/time"
|
tmtime "github.com/tendermint/tendermint/types/time"
|
||||||
|
@ -7,7 +7,7 @@ proto-lint check-proto-lint: install-build-deps
|
|||||||
proto-gen: install-build-deps
|
proto-gen: install-build-deps
|
||||||
@echo "Generating go proto files"
|
@echo "Generating go proto files"
|
||||||
@$(BUF) generate --template proto/buf.gen.gogo.yaml proto
|
@$(BUF) generate --template proto/buf.gen.gogo.yaml proto
|
||||||
@cp -r out/github.com/kava-labs/kava/* ./
|
@cp -r out/github.com/0glabs/0g-chain/* ./
|
||||||
@rm -rf out/github.com
|
@rm -rf out/github.com
|
||||||
|
|
||||||
.PHONY: check-proto-gen
|
.PHONY: check-proto-gen
|
||||||
|
@ -28,7 +28,7 @@ import (
|
|||||||
"github.com/cosmos/cosmos-sdk/x/slashing"
|
"github.com/cosmos/cosmos-sdk/x/slashing"
|
||||||
"github.com/cosmos/cosmos-sdk/x/staking"
|
"github.com/cosmos/cosmos-sdk/x/staking"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
},
|
},
|
||||||
"externalDocs": {
|
"externalDocs": {
|
||||||
"description": "GitHub",
|
"description": "GitHub",
|
||||||
"url": "https://github.com/Kava-Labs/kava"
|
"url": "https://github.com/0glabs/0g-chain"
|
||||||
},
|
},
|
||||||
"host": "api.data.kava.io",
|
"host": "api.data.kava.io",
|
||||||
"schemes": ["https"],
|
"schemes": ["https"],
|
||||||
|
@ -5,7 +5,7 @@ info:
|
|||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
externalDocs:
|
externalDocs:
|
||||||
description: GitHub
|
description: GitHub
|
||||||
url: https://github.com/Kava-Labs/kava
|
url: https://github.com/0glabs/0g-chain
|
||||||
host: api.data.kava.io
|
host: api.data.kava.io
|
||||||
schemes:
|
schemes:
|
||||||
- https
|
- https
|
||||||
|
@ -12,6 +12,7 @@ import (
|
|||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
|
"github.com/0glabs/0g-chain/client/rest"
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"github.com/cosmos/cosmos-sdk/client"
|
||||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
"github.com/cosmos/cosmos-sdk/client/flags"
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
"github.com/cosmos/cosmos-sdk/codec"
|
||||||
@ -20,7 +21,6 @@ import (
|
|||||||
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
|
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
|
||||||
simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
|
simappparams "github.com/cosmos/cosmos-sdk/simapp/params"
|
||||||
"github.com/cosmos/cosmos-sdk/types"
|
"github.com/cosmos/cosmos-sdk/types"
|
||||||
"github.com/kava-labs/kava/client/rest"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBaseReq_Sanitize(t *testing.T) {
|
func TestBaseReq_Sanitize(t *testing.T) {
|
||||||
|
@ -22,9 +22,9 @@ import (
|
|||||||
"github.com/tendermint/tendermint/libs/log"
|
"github.com/tendermint/tendermint/libs/log"
|
||||||
db "github.com/tendermint/tm-db"
|
db "github.com/tendermint/tm-db"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/params"
|
"github.com/0glabs/0g-chain/app/params"
|
||||||
metricstypes "github.com/kava-labs/kava/x/metrics/types"
|
metricstypes "github.com/0glabs/0g-chain/x/metrics/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -9,8 +9,8 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
tmtypes "github.com/tendermint/tendermint/types"
|
tmtypes "github.com/tendermint/tendermint/types"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/params"
|
"github.com/0glabs/0g-chain/app/params"
|
||||||
)
|
)
|
||||||
|
|
||||||
func AssertInvariantsCmd(config params.EncodingConfig) *cobra.Command {
|
func AssertInvariantsCmd(config params.EncodingConfig) *cobra.Command {
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
// newQueryCmd creates all the commands for querying blockchain state.
|
// newQueryCmd creates all the commands for querying blockchain state.
|
||||||
|
@ -20,10 +20,10 @@ import (
|
|||||||
tmcfg "github.com/tendermint/tendermint/config"
|
tmcfg "github.com/tendermint/tendermint/config"
|
||||||
tmcli "github.com/tendermint/tendermint/libs/cli"
|
tmcli "github.com/tendermint/tendermint/libs/cli"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/app/params"
|
"github.com/0glabs/0g-chain/app/params"
|
||||||
kavaclient "github.com/kava-labs/kava/client"
|
kavaclient "github.com/0glabs/0g-chain/client"
|
||||||
"github.com/kava-labs/kava/cmd/kava/opendb"
|
"github.com/0glabs/0g-chain/cmd/kava/opendb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// EnvPrefix is the prefix environment variables must have to configure the app.
|
// EnvPrefix is the prefix environment variables must have to configure the app.
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
)
|
)
|
||||||
|
|
||||||
// newTxCmd creates all commands for submitting blockchain transactions.
|
// newTxCmd creates all commands for submitting blockchain transactions.
|
||||||
|
@ -6,8 +6,8 @@ import (
|
|||||||
"github.com/cosmos/cosmos-sdk/server"
|
"github.com/cosmos/cosmos-sdk/server"
|
||||||
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/app"
|
"github.com/0glabs/0g-chain/app"
|
||||||
"github.com/kava-labs/kava/cmd/kava/cmd"
|
"github.com/0glabs/0g-chain/cmd/kava/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module github.com/kava-labs/kava
|
module github.com/0glabs/0g-chain
|
||||||
|
|
||||||
go 1.20
|
go 1.20
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
option go_package = "github.com/0glabs/0g-chain/x/auction/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// BaseAuction defines common attributes of all auctions
|
// BaseAuction defines common attributes of all auctions
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
option go_package = "github.com/0glabs/0g-chain/x/auction/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// GenesisState defines the auction module's genesis state.
|
// GenesisState defines the auction module's genesis state.
|
||||||
|
@ -7,7 +7,7 @@ import "google/api/annotations.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "kava/auction/v1beta1/genesis.proto";
|
import "kava/auction/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
option go_package = "github.com/0glabs/0g-chain/x/auction/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for auction module
|
// Query defines the gRPC querier service for auction module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -4,7 +4,7 @@ package kava.auction.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/auction/types";
|
option go_package = "github.com/0glabs/0g-chain/x/auction/types";
|
||||||
|
|
||||||
// Msg defines the auction Msg service.
|
// Msg defines the auction Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
||||||
|
|
||||||
// Params defines the parameters for the bep3 module.
|
// Params defines the parameters for the bep3 module.
|
||||||
message Params {
|
message Params {
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/bep3/v1beta1/bep3.proto";
|
import "kava/bep3/v1beta1/bep3.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
||||||
|
|
||||||
// GenesisState defines the pricefeed module's genesis state.
|
// GenesisState defines the pricefeed module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -9,7 +9,7 @@ import "google/api/annotations.proto";
|
|||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
import "kava/bep3/v1beta1/bep3.proto";
|
import "kava/bep3/v1beta1/bep3.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for bep3 module
|
// Query defines the gRPC querier service for bep3 module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/bep3/types";
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
||||||
|
|
||||||
// Msg defines the bep3 Msg service.
|
// Msg defines the bep3 Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
option go_package = "github.com/0glabs/0g-chain/x/cdp/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// CDP defines the state of a single collateralized debt position.
|
// CDP defines the state of a single collateralized debt position.
|
||||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/cdp/v1beta1/cdp.proto";
|
import "kava/cdp/v1beta1/cdp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
option go_package = "github.com/0glabs/0g-chain/x/cdp/types";
|
||||||
|
|
||||||
// GenesisState defines the cdp module's genesis state.
|
// GenesisState defines the cdp module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -11,7 +11,7 @@ import "google/protobuf/timestamp.proto";
|
|||||||
import "kava/cdp/v1beta1/cdp.proto";
|
import "kava/cdp/v1beta1/cdp.proto";
|
||||||
import "kava/cdp/v1beta1/genesis.proto";
|
import "kava/cdp/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
option go_package = "github.com/0glabs/0g-chain/x/cdp/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for cdp module
|
// Query defines the gRPC querier service for cdp module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/cdp/types";
|
option go_package = "github.com/0glabs/0g-chain/x/cdp/types";
|
||||||
|
|
||||||
// Msg defines the cdp Msg service.
|
// Msg defines the cdp Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// BaseCommittee is a common type shared by all Committees
|
// BaseCommittee is a common type shared by all Committees
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
|
|
||||||
// GenesisState defines the committee module's genesis state.
|
// GenesisState defines the committee module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -4,7 +4,7 @@ package kava.committee.v1beta1;
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
|
|
||||||
// GodPermission allows any governance proposal. It is used mainly for testing.
|
// GodPermission allows any governance proposal. It is used mainly for testing.
|
||||||
message GodPermission {
|
message GodPermission {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// CommitteeChangeProposal is a gov proposal for creating a new committee or modifying an existing one.
|
// CommitteeChangeProposal is a gov proposal for creating a new committee or modifying an existing one.
|
||||||
|
@ -9,7 +9,7 @@ import "google/protobuf/any.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/committee/v1beta1/genesis.proto";
|
import "kava/committee/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Query defines the gRPC querier service for committee module
|
// Query defines the gRPC querier service for committee module
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "kava/committee/v1beta1/genesis.proto";
|
import "kava/committee/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/committee/types";
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Msg defines the committee Msg service
|
// Msg defines the committee Msg service
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "kava/community/v1beta1/params.proto";
|
import "kava/community/v1beta1/params.proto";
|
||||||
import "kava/community/v1beta1/staking.proto";
|
import "kava/community/v1beta1/staking.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// GenesisState defines the community module's genesis state.
|
// GenesisState defines the community module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// Params defines the parameters of the community module.
|
// Params defines the parameters of the community module.
|
||||||
message Params {
|
message Params {
|
||||||
|
@ -4,7 +4,7 @@ package kava.community.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// CommunityPoolLendDepositProposal deposits from the community pool into lend
|
// CommunityPoolLendDepositProposal deposits from the community pool into lend
|
||||||
message CommunityPoolLendDepositProposal {
|
message CommunityPoolLendDepositProposal {
|
||||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/community/v1beta1/params.proto";
|
import "kava/community/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for x/community.
|
// Query defines the gRPC querier service for x/community.
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
|
|
||||||
// StakingRewardsState represents the state of staking reward accumulation between blocks.
|
// StakingRewardsState represents the state of staking reward accumulation between blocks.
|
||||||
message StakingRewardsState {
|
message StakingRewardsState {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/community/v1beta1/params.proto";
|
import "kava/community/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/community/types";
|
option go_package = "github.com/0glabs/0g-chain/x/community/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
|
|
||||||
// Msg defines the community Msg service.
|
// Msg defines the community Msg service.
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "kava/earn/v1beta1/params.proto";
|
import "kava/earn/v1beta1/params.proto";
|
||||||
import "kava/earn/v1beta1/vault.proto";
|
import "kava/earn/v1beta1/vault.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// GenesisState defines the earn module's genesis state.
|
// GenesisState defines the earn module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -4,7 +4,7 @@ package kava.earn.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/earn/v1beta1/vault.proto";
|
import "kava/earn/v1beta1/vault.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// Params defines the parameters of the earn module.
|
// Params defines the parameters of the earn module.
|
||||||
message Params {
|
message Params {
|
||||||
|
@ -4,7 +4,7 @@ package kava.earn.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// CommunityPoolDepositProposal deposits from the community pool into an earn vault
|
// CommunityPoolDepositProposal deposits from the community pool into an earn vault
|
||||||
message CommunityPoolDepositProposal {
|
message CommunityPoolDepositProposal {
|
||||||
|
@ -10,7 +10,7 @@ import "kava/earn/v1beta1/params.proto";
|
|||||||
import "kava/earn/v1beta1/strategy.proto";
|
import "kava/earn/v1beta1/strategy.proto";
|
||||||
import "kava/earn/v1beta1/vault.proto";
|
import "kava/earn/v1beta1/vault.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Query defines the gRPC querier service for earn module
|
// Query defines the gRPC querier service for earn module
|
||||||
|
@ -3,7 +3,7 @@ package kava.earn.v1beta1;
|
|||||||
|
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// StrategyType is the type of strategy that a vault uses to optimize yields.
|
// StrategyType is the type of strategy that a vault uses to optimize yields.
|
||||||
enum StrategyType {
|
enum StrategyType {
|
||||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "kava/earn/v1beta1/strategy.proto";
|
import "kava/earn/v1beta1/strategy.proto";
|
||||||
import "kava/earn/v1beta1/vault.proto";
|
import "kava/earn/v1beta1/vault.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// Msg defines the earn Msg service.
|
// Msg defines the earn Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/earn/v1beta1/strategy.proto";
|
import "kava/earn/v1beta1/strategy.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
option go_package = "github.com/0glabs/0g-chain/x/earn/types";
|
||||||
|
|
||||||
// AllowedVault is a vault that is allowed to be created. These can be
|
// AllowedVault is a vault that is allowed to be created. These can be
|
||||||
// modified via parameter governance.
|
// modified via parameter governance.
|
||||||
|
@ -3,7 +3,7 @@ package kava.evmutil.v1beta1;
|
|||||||
|
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/evmutil/v1beta1/conversion_pair.proto";
|
import "kava/evmutil/v1beta1/conversion_pair.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/evmutil/v1beta1/genesis.proto";
|
import "kava/evmutil/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for evmutil module
|
// Query defines the gRPC querier service for evmutil module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/evmutil/types";
|
option go_package = "github.com/0glabs/0g-chain/x/evmutil/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/hard/v1beta1/hard.proto";
|
import "kava/hard/v1beta1/hard.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/hard/types";
|
option go_package = "github.com/0glabs/0g-chain/x/hard/types";
|
||||||
|
|
||||||
// GenesisState defines the hard module's genesis state.
|
// GenesisState defines the hard module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/hard/types";
|
option go_package = "github.com/0glabs/0g-chain/x/hard/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Params defines the parameters for the hard module.
|
// Params defines the parameters for the hard module.
|
||||||
|
@ -9,7 +9,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/hard/v1beta1/hard.proto";
|
import "kava/hard/v1beta1/hard.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/hard/types";
|
option go_package = "github.com/0glabs/0g-chain/x/hard/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for bep3 module.
|
// Query defines the gRPC querier service for bep3 module.
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/hard/types";
|
option go_package = "github.com/0glabs/0g-chain/x/hard/types";
|
||||||
|
|
||||||
// Msg defines the hard Msg service.
|
// Msg defines the hard Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -4,7 +4,7 @@ package kava.incentive.v1beta1;
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
|
|
||||||
// Apy contains the calculated APY for a given collateral type at a specific
|
// Apy contains the calculated APY for a given collateral type at a specific
|
||||||
// instant in time.
|
// instant in time.
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// -------------- Base Claim Types, Reward Indexes --------------
|
// -------------- Base Claim Types, Reward Indexes --------------
|
||||||
|
@ -9,7 +9,7 @@ import "kava/incentive/v1beta1/params.proto";
|
|||||||
// import "cosmos/base/v1beta1/coin.proto";
|
// import "cosmos/base/v1beta1/coin.proto";
|
||||||
// import "cosmos/base/v1beta1/coins.proto";
|
// import "cosmos/base/v1beta1/coins.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// AccumulationTime stores the previous reward distribution time and its corresponding collateral type
|
// AccumulationTime stores the previous reward distribution time and its corresponding collateral type
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// RewardPeriod stores the state of an ongoing reward
|
// RewardPeriod stores the state of an ongoing reward
|
||||||
|
@ -7,7 +7,7 @@ import "kava/incentive/v1beta1/apy.proto";
|
|||||||
import "kava/incentive/v1beta1/claims.proto";
|
import "kava/incentive/v1beta1/claims.proto";
|
||||||
import "kava/incentive/v1beta1/params.proto";
|
import "kava/incentive/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for incentive module.
|
// Query defines the gRPC querier service for incentive module.
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -3,7 +3,7 @@ package kava.incentive.v1beta1;
|
|||||||
|
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/incentive/types";
|
option go_package = "github.com/0glabs/0g-chain/x/incentive/types";
|
||||||
|
|
||||||
// Msg defines the incentive Msg service.
|
// Msg defines the incentive Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/issuance/types";
|
option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
|
||||||
|
|
||||||
// GenesisState defines the issuance module's genesis state.
|
// GenesisState defines the issuance module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/issuance/v1beta1/genesis.proto";
|
import "kava/issuance/v1beta1/genesis.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/issuance/types";
|
option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for issuance module
|
// Query defines the gRPC querier service for issuance module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -4,7 +4,7 @@ package kava.issuance.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/issuance/types";
|
option go_package = "github.com/0glabs/0g-chain/x/issuance/types";
|
||||||
|
|
||||||
// Msg defines the issuance Msg service.
|
// Msg defines the issuance Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/kavadist/v1beta1/params.proto";
|
import "kava/kavadist/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
option go_package = "github.com/0glabs/0g-chain/x/kavadist/types";
|
||||||
|
|
||||||
// GenesisState defines the kavadist module's genesis state.
|
// GenesisState defines the kavadist module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
option go_package = "github.com/0glabs/0g-chain/x/kavadist/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
option (gogoproto.goproto_stringer_all) = false;
|
option (gogoproto.goproto_stringer_all) = false;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ package kava.kavadist.v1beta1;
|
|||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
option go_package = "github.com/0glabs/0g-chain/x/kavadist/types";
|
||||||
|
|
||||||
// CommunityPoolMultiSpendProposal spends from the community pool by sending to one or more
|
// CommunityPoolMultiSpendProposal spends from the community pool by sending to one or more
|
||||||
// addresses
|
// addresses
|
||||||
|
@ -6,7 +6,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/kavadist/v1beta1/params.proto";
|
import "kava/kavadist/v1beta1/params.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
option go_package = "github.com/0glabs/0g-chain/x/kavadist/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service.
|
// Query defines the gRPC querier service.
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -6,7 +6,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/liquid/types";
|
option go_package = "github.com/0glabs/0g-chain/x/liquid/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Query defines the gRPC querier service for liquid module
|
// Query defines the gRPC querier service for liquid module
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/liquid/types";
|
option go_package = "github.com/0glabs/0g-chain/x/liquid/types";
|
||||||
|
|
||||||
// Msg defines the liquid Msg service.
|
// Msg defines the liquid Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -4,7 +4,7 @@ package kava.pricefeed.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/pricefeed/v1beta1/store.proto";
|
import "kava/pricefeed/v1beta1/store.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/pricefeed/types";
|
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import "google/api/annotations.proto";
|
|||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
import "kava/pricefeed/v1beta1/store.proto";
|
import "kava/pricefeed/v1beta1/store.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/pricefeed/types";
|
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos_proto/cosmos.proto";
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/pricefeed/types";
|
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ package kava.pricefeed.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/pricefeed/types";
|
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
|
||||||
option (gogoproto.equal_all) = true;
|
option (gogoproto.equal_all) = true;
|
||||||
option (gogoproto.verbose_equal_all) = true;
|
option (gogoproto.verbose_equal_all) = true;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/router/types";
|
option go_package = "github.com/0glabs/0g-chain/x/router/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Msg defines the router Msg service.
|
// Msg defines the router Msg service.
|
||||||
|
@ -4,7 +4,7 @@ package kava.savings.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/savings/v1beta1/store.proto";
|
import "kava/savings/v1beta1/store.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
||||||
|
|
||||||
// GenesisState defines the savings module's genesis state.
|
// GenesisState defines the savings module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -8,7 +8,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/savings/v1beta1/store.proto";
|
import "kava/savings/v1beta1/store.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for savings module
|
// Query defines the gRPC querier service for savings module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
||||||
// Params defines the parameters for the savings module.
|
// Params defines the parameters for the savings module.
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
||||||
|
|
||||||
// Msg defines the savings Msg service.
|
// Msg defines the savings Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -4,7 +4,7 @@ package kava.swap.v1beta1;
|
|||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
import "kava/swap/v1beta1/swap.proto";
|
import "kava/swap/v1beta1/swap.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
||||||
|
|
||||||
// GenesisState defines the swap module's genesis state.
|
// GenesisState defines the swap module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
|
@ -8,7 +8,7 @@ import "gogoproto/gogo.proto";
|
|||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "kava/swap/v1beta1/swap.proto";
|
import "kava/swap/v1beta1/swap.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for swap module
|
// Query defines the gRPC querier service for swap module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
||||||
|
|
||||||
// Params defines the parameters for the swap module.
|
// Params defines the parameters for the swap module.
|
||||||
message Params {
|
message Params {
|
||||||
|
@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto";
|
|||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
import "gogoproto/gogo.proto";
|
||||||
|
|
||||||
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
||||||
|
|
||||||
// Msg defines the swap Msg service.
|
// Msg defines the swap Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -12,9 +12,9 @@ import (
|
|||||||
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
|
||||||
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/tests/e2e/testutil"
|
"github.com/0glabs/0g-chain/tests/e2e/testutil"
|
||||||
"github.com/kava-labs/kava/tests/util"
|
"github.com/0glabs/0g-chain/tests/util"
|
||||||
communitytypes "github.com/kava-labs/kava/x/community/types"
|
communitytypes "github.com/0glabs/0g-chain/x/community/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (suite *IntegrationTestSuite) TestCommunityUpdateParams_NonAuthority() {
|
func (suite *IntegrationTestSuite) TestCommunityUpdateParams_NonAuthority() {
|
||||||
|
@ -12,9 +12,9 @@ import (
|
|||||||
|
|
||||||
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
ethtypes "github.com/ethereum/go-ethereum/core/types"
|
||||||
|
|
||||||
"github.com/kava-labs/kava/tests/e2e/testutil"
|
"github.com/0glabs/0g-chain/tests/e2e/testutil"
|
||||||
"github.com/kava-labs/kava/tests/util"
|
"github.com/0glabs/0g-chain/tests/util"
|
||||||
evmutiltypes "github.com/kava-labs/kava/x/evmutil/types"
|
evmutiltypes "github.com/0glabs/0g-chain/x/evmutil/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const initialCosmosCoinConversionDenomFunds = int64(1e4)
|
const initialCosmosCoinConversionDenomFunds = int64(1e4)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user