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,46 +10,29 @@ 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 (
GasMultiplier = keeper.GasMultiplier ModuleName = types.ModuleName
MaxGas = keeper.MaxGas StoreKey = types.StoreKey
QueryListContracts = keeper.QueryListContracts TStoreKey = types.TStoreKey
QueryGetContract = keeper.QueryGetContract QuerierRoute = types.QuerierRoute
QueryGetContractState = keeper.QueryGetContractState RouterKey = types.RouterKey
QueryGetCode = keeper.QueryGetCode MaxWasmSize = types.MaxWasmSize
QueryListCode = keeper.QueryListCode GasMultiplier = keeper.GasMultiplier
DefaultCodespace = types.DefaultCodespace MaxGas = keeper.MaxGas
CodeCreatedFailed = types.CodeCreatedFailed QueryListContracts = keeper.QueryListContracts
CodeAccountExists = types.CodeAccountExists QueryGetContract = keeper.QueryGetContract
CodeInstantiateFailed = types.CodeInstantiateFailed QueryGetContractState = keeper.QueryGetContractState
CodeExecuteFailed = types.CodeExecuteFailed QueryGetCode = keeper.QueryGetCode
CodeGasLimit = types.CodeGasLimit QueryListCode = keeper.QueryListCode
ModuleName = types.ModuleName QueryMethodContractStateSmart = keeper.QueryMethodContractStateSmart
StoreKey = types.StoreKey QueryMethodContractStateAll = keeper.QueryMethodContractStateAll
TStoreKey = types.TStoreKey QueryMethodContractStateRaw = keeper.QueryMethodContractStateRaw
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,29 +41,42 @@ var (
NewWasmCoins = types.NewWasmCoins NewWasmCoins = types.NewWasmCoins
NewContractInfo = types.NewContractInfo NewContractInfo = types.NewContractInfo
CosmosResult = types.CosmosResult CosmosResult = types.CosmosResult
InitGenesis = keeper.InitGenesis
// genesis aliases ExportGenesis = keeper.ExportGenesis
ValidateGenesis = types.ValidateGenesis NewKeeper = keeper.NewKeeper
InitGenesis = keeper.InitGenesis NewQuerier = keeper.NewQuerier
ExportGenesis = keeper.ExportGenesis MakeTestCodec = keeper.MakeTestCodec
CreateTestInput = keeper.CreateTestInput
// variable aliases // variable aliases
ModuleCdc = types.ModuleCdc ModuleCdc = types.ModuleCdc
KeyLastCodeID = types.KeyLastCodeID DefaultCodespace = types.DefaultCodespace
KeyLastInstanceID = types.KeyLastInstanceID ErrCreateFailed = types.ErrCreateFailed
CodeKeyPrefix = types.CodeKeyPrefix ErrAccountExists = types.ErrAccountExists
ContractKeyPrefix = types.ContractKeyPrefix ErrInstantiateFailed = types.ErrInstantiateFailed
ContractStorePrefix = types.ContractStorePrefix ErrExecuteFailed = types.ErrExecuteFailed
ErrGasLimit = types.ErrGasLimit
ErrInvalidGenesis = types.ErrInvalidGenesis
ErrNotFound = types.ErrNotFound
ErrQueryFailed = types.ErrQueryFailed
KeyLastCodeID = types.KeyLastCodeID
KeyLastInstanceID = types.KeyLastInstanceID
CodeKeyPrefix = types.CodeKeyPrefix
ContractKeyPrefix = types.ContractKeyPrefix
ContractStorePrefix = types.ContractStorePrefix
) )
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
) )