mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 16:25:21 +00:00
51fc70b5ac
* adding empty query files where we will implement the cli and rest interfaces * adding querier file * adding aliases, querier, expected keepers, types, module updates * starting to work on query * adding alias for QueryCirculatingSupply * adding TotalCirculatingSupply type * adding alias for TotalCirculatingSupply type * adding QueryCirculatingSupplyCmd to clieng query file * adding register routes function * adding rest query handling function, register endpoint * fix types include statement * remove unused mux include * another import fix * remove unused variable * adding rest to module * fix missing variable names * another missing variable fix * remove dead code comment * fix typo in circulating-supply * fix import * fix querierroute return to return the module name instead of empty string * rename function, fix build issue * return error instead of nil if there is an error * import types from cosmos sdk, fix return type * set querier route to module name in key.go * adding query and rest updates * aliasing new querying circulating supply function * directly write output * fix routes * adding total supply functionality * converting from microkava to kava * Update x/validator-vesting/client/cli/query.go typo fix Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
72 lines
3.2 KiB
Go
72 lines
3.2 KiB
Go
// nolint
|
|
// autogenerated code using github.com/rigelrozanski/multitool
|
|
// aliases generated for the following subdirectories:
|
|
// ALIASGEN: github.com/kava-labs/kava/x/validator-vesting/internal/keeper
|
|
// ALIASGEN: github.com/kava-labs/kava/x/validator-vesting/internal/types
|
|
package validatorvesting
|
|
|
|
import (
|
|
"github.com/kava-labs/kava/x/validator-vesting/internal/keeper"
|
|
"github.com/kava-labs/kava/x/validator-vesting/internal/types"
|
|
)
|
|
|
|
const (
|
|
ModuleName = types.ModuleName
|
|
StoreKey = types.StoreKey
|
|
QuerierRoute = types.QuerierRoute
|
|
QueryCirculatingSupply = types.QueryCirculatingSupply
|
|
QueryTotalSupply = types.QueryTotalSupply
|
|
)
|
|
|
|
var (
|
|
// functions aliases
|
|
NewKeeper = keeper.NewKeeper
|
|
NewQuerier = keeper.NewQuerier
|
|
MakeTestCodec = keeper.MakeTestCodec
|
|
CreateTestInput = keeper.CreateTestInput
|
|
ValidatorVestingTestAccount = keeper.ValidatorVestingTestAccount
|
|
ValidatorVestingTestAccounts = keeper.ValidatorVestingTestAccounts
|
|
ValidatorVestingDelegatorTestAccount = keeper.ValidatorVestingDelegatorTestAccount
|
|
CreateValidators = keeper.CreateValidators
|
|
RegisterCodec = types.RegisterCodec
|
|
NewGenesisState = types.NewGenesisState
|
|
DefaultGenesisState = types.DefaultGenesisState
|
|
ValidateGenesis = types.ValidateGenesis
|
|
ValidatorVestingAccountKey = types.ValidatorVestingAccountKey
|
|
NewBaseQueryParams = types.NewBaseQueryParams
|
|
CreateTestAddrs = types.CreateTestAddrs
|
|
TestAddr = types.TestAddr
|
|
CreateTestPubKeys = types.CreateTestPubKeys
|
|
NewPubKey = types.NewPubKey
|
|
NewValidatorVestingAccountRaw = types.NewValidatorVestingAccountRaw
|
|
NewValidatorVestingAccount = types.NewValidatorVestingAccount
|
|
|
|
// variable aliases
|
|
ValOpPk1 = keeper.ValOpPk1
|
|
ValOpPk2 = keeper.ValOpPk2
|
|
ValOpPk3 = keeper.ValOpPk3
|
|
ValOpAddr1 = keeper.ValOpAddr1
|
|
ValOpAddr2 = keeper.ValOpAddr2
|
|
ValOpAddr3 = keeper.ValOpAddr3
|
|
ValConsPk11 = keeper.ValConsPk11
|
|
ValConsPk12 = keeper.ValConsPk12
|
|
ValConsPk13 = keeper.ValConsPk13
|
|
ValConsAddr1 = keeper.ValConsAddr1
|
|
ValConsAddr2 = keeper.ValConsAddr2
|
|
ValConsAddr3 = keeper.ValConsAddr3
|
|
TestAddrs = keeper.TestAddrs
|
|
ModuleCdc = types.ModuleCdc
|
|
BlocktimeKey = types.BlocktimeKey
|
|
ValidatorVestingAccountPrefix = types.ValidatorVestingAccountPrefix
|
|
)
|
|
|
|
type (
|
|
Keeper = keeper.Keeper
|
|
GenesisState = types.GenesisState
|
|
BaseQueryParams = types.BaseQueryParams
|
|
VestingProgress = types.VestingProgress
|
|
CurrentPeriodProgress = types.CurrentPeriodProgress
|
|
ValidatorVestingAccount = types.ValidatorVestingAccount
|
|
TotalCirculatingSupply = types.TotalCirculatingSupply
|
|
)
|