cosmos-sdk: github.com/cosmos/cosmos-sdk/x/capability/simulation Index | Files

package simulation

import "github.com/cosmos/cosmos-sdk/x/capability/simulation"

Index

Package Files

decoder.go genesis.go

func GenIndex Uses

func GenIndex(r *rand.Rand) uint64

GenIndex returns a random global index between 1-1000

func NewDecodeStore Uses

func NewDecodeStore(cdc codec.Marshaler) func(kvA, kvB kv.Pair) string

NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding capaility type.

func RandomizedGenState Uses

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for capability

Package simulation imports 8 packages (graph) and is imported by 1 packages. Updated 2020-08-01. Refresh now. Tools for package owners.