Update alias.go

This commit is contained in:
Ethan Frey 2020-01-16 14:48:45 +01:00
parent a93195a21b
commit a14b6961ba
1 changed files with 49 additions and 49 deletions

View File

@ -1,4 +1,8 @@
// nolint // nolint
// autogenerated code using github.com/rigelrozanski/multitool
// aliases generated for the following subdirectories:
// ALIASGEN: github.com/cosmwasm/wasmd/x/wasm/internal/types
// ALIASGEN: github.com/cosmwasm/wasmd/x/wasm/internal/keeper
package wasm package wasm
import ( import (
@ -6,12 +10,13 @@ import (
"github.com/cosmwasm/wasmd/x/wasm/internal/types" "github.com/cosmwasm/wasmd/x/wasm/internal/types"
) )
// autogenerated code using github.com/rigelrozanski/multitool
// aliases generated for the following subdirectories:
// ALIASGEN: github.com/cosmwasm/wasmd/x/wasm/internal/keeper/
// ALIASGEN: github.com/cosmwasm/wasmd/x/wasm/internal/types/
const ( const (
ModuleName = types.ModuleName
StoreKey = types.StoreKey
TStoreKey = types.TStoreKey
QuerierRoute = types.QuerierRoute
RouterKey = types.RouterKey
MaxWasmSize = types.MaxWasmSize
GasMultiplier = keeper.GasMultiplier GasMultiplier = keeper.GasMultiplier
MaxGas = keeper.MaxGas MaxGas = keeper.MaxGas
QueryListContracts = keeper.QueryListContracts QueryListContracts = keeper.QueryListContracts
@ -19,33 +24,15 @@ const (
QueryGetContractState = keeper.QueryGetContractState QueryGetContractState = keeper.QueryGetContractState
QueryGetCode = keeper.QueryGetCode QueryGetCode = keeper.QueryGetCode
QueryListCode = keeper.QueryListCode QueryListCode = keeper.QueryListCode
DefaultCodespace = types.DefaultCodespace QueryMethodContractStateSmart = keeper.QueryMethodContractStateSmart
CodeCreatedFailed = types.CodeCreatedFailed QueryMethodContractStateAll = keeper.QueryMethodContractStateAll
CodeAccountExists = types.CodeAccountExists QueryMethodContractStateRaw = keeper.QueryMethodContractStateRaw
CodeInstantiateFailed = types.CodeInstantiateFailed
CodeExecuteFailed = types.CodeExecuteFailed
CodeGasLimit = types.CodeGasLimit
ModuleName = types.ModuleName
StoreKey = types.StoreKey
TStoreKey = types.TStoreKey
QuerierRoute = types.QuerierRoute
RouterKey = types.RouterKey
MaxWasmSize = types.MaxWasmSize
) )
var ( var (
// functions aliases // functions aliases
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
MakeTestCodec = keeper.MakeTestCodec
CreateTestInput = keeper.CreateTestInput
RegisterCodec = types.RegisterCodec RegisterCodec = types.RegisterCodec
ErrCreateFailed = types.ErrCreateFailed ValidateGenesis = types.ValidateGenesis
ErrAccountExists = types.ErrAccountExists
ErrInstantiateFailed = types.ErrInstantiateFailed
ErrExecuteFailed = types.ErrExecuteFailed
ErrGasLimit = types.ErrGasLimit
ErrInvalidGenesis = types.ErrInvalidGenesis
GetCodeKey = types.GetCodeKey GetCodeKey = types.GetCodeKey
GetContractAddressKey = types.GetContractAddressKey GetContractAddressKey = types.GetContractAddressKey
GetContractStorePrefixKey = types.GetContractStorePrefixKey GetContractStorePrefixKey = types.GetContractStorePrefixKey
@ -54,14 +41,24 @@ var (
NewWasmCoins = types.NewWasmCoins NewWasmCoins = types.NewWasmCoins
NewContractInfo = types.NewContractInfo NewContractInfo = types.NewContractInfo
CosmosResult = types.CosmosResult CosmosResult = types.CosmosResult
// genesis aliases
ValidateGenesis = types.ValidateGenesis
InitGenesis = keeper.InitGenesis InitGenesis = keeper.InitGenesis
ExportGenesis = keeper.ExportGenesis ExportGenesis = keeper.ExportGenesis
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
MakeTestCodec = keeper.MakeTestCodec
CreateTestInput = keeper.CreateTestInput
// variable aliases // variable aliases
ModuleCdc = types.ModuleCdc ModuleCdc = types.ModuleCdc
DefaultCodespace = types.DefaultCodespace
ErrCreateFailed = types.ErrCreateFailed
ErrAccountExists = types.ErrAccountExists
ErrInstantiateFailed = types.ErrInstantiateFailed
ErrExecuteFailed = types.ErrExecuteFailed
ErrGasLimit = types.ErrGasLimit
ErrInvalidGenesis = types.ErrInvalidGenesis
ErrNotFound = types.ErrNotFound
ErrQueryFailed = types.ErrQueryFailed
KeyLastCodeID = types.KeyLastCodeID KeyLastCodeID = types.KeyLastCodeID
KeyLastInstanceID = types.KeyLastInstanceID KeyLastInstanceID = types.KeyLastInstanceID
CodeKeyPrefix = types.CodeKeyPrefix CodeKeyPrefix = types.CodeKeyPrefix
@ -70,13 +67,16 @@ var (
) )
type ( type (
Keeper = keeper.Keeper GenesisState = types.GenesisState
GetCodeResponse = keeper.GetCodeResponse Code = types.Code
Contract = types.Contract
MsgStoreCode = types.MsgStoreCode MsgStoreCode = types.MsgStoreCode
MsgInstantiateContract = types.MsgInstantiateContract MsgInstantiateContract = types.MsgInstantiateContract
MsgExecuteContract = types.MsgExecuteContract MsgExecuteContract = types.MsgExecuteContract
Model = types.Model
CodeInfo = types.CodeInfo CodeInfo = types.CodeInfo
ContractInfo = types.ContractInfo ContractInfo = types.ContractInfo
Keeper = keeper.Keeper
GenesisState = types.GenesisState GetCodeResponse = keeper.GetCodeResponse
ListCodeResponse = keeper.ListCodeResponse
) )