Documentation ¶
Index ¶
- Variables
- func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k Keeper) (tags sdk.Tags)
- func InitGenesis(ctx sdk.Context, k Keeper, data GenesisState)
- func NewHandler(k Keeper) sdk.Handler
- func SortAddresses(addrs []sdk.AccAddress)
- func SortByteArrays(src [][]byte) [][]byte
- type GenesisState
- type Keeper
- type MsgRequestRand
- type Params
- type QueryRandParams
- type QueryRandRequestQueueParams
- type Rand
- type Request
- type Requests
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultCodespace = types.DefaultCodespace DefaultParamSpace = types.DefaultParamSpace DefaultParams = types.DefaultParams DefaultParamsForTest = types.DefaultParamsForTest ValidateParams = types.ValidateParams RegisterCodec = types.RegisterCodec NewMsgRequestRand = types.NewMsgRequestRand NewRand = types.NewRand NewRequest = types.NewRequest MakePRNG = types.MakePRNG GenerateRequestID = types.GenerateRequestID CheckReqID = types.CheckReqID DefaultBlockInterval = types.DefaultBlockInterval RandPrec = types.RandPrec QueryRand = types.QueryRand QueryRandRequestQueue = types.QueryRandRequestQueue TagReqID = types.TagReqID TagRandHeight = types.TagRandHeight TagRand = types.TagRand NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier )
exported variables and functions
Functions ¶
func BeginBlocker ¶
BeginBlocker handles block beginning logic for rand
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k Keeper, data GenesisState)
InitGenesis stores genesis data
Types ¶
type GenesisState ¶
type GenesisState = types.GenesisState
exported types
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
DefaultGenesisState gets the default genesis state
func DefaultGenesisStateForTest ¶
func DefaultGenesisStateForTest() GenesisState
DefaultGenesisStateForTest gets the default genesis state for test
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) GenesisState
ExportGenesis outputs genesis data
type QueryRandRequestQueueParams ¶
type QueryRandRequestQueueParams = types.QueryRandRequestQueueParams
exported types
Click to show internal directories.
Click to hide internal directories.