Documentation ¶
Index ¶
- func AccAddress() string
- func AccountRemoval(address string) *launch.AccountRemoval
- func AllRequestContents(chainID, genesis, vested, validator string) []*types.Any
- func AlphaString(n int) string
- func Bytes(n int) []byte
- func Chain(chainID string, coordinatorID uint64) *launch.Chain
- func ChainID(number uint64) (string, string)
- func Codec() codec.Marshaler
- func Coin() sdk.Coin
- func Coins() sdk.Coins
- func Coordinator() profile.Coordinator
- func CoordinatorDescription() *profile.CoordinatorDescription
- func GenesisAccount(chainID, address string) *launch.GenesisAccount
- func GenesisAccountContent(chainID, address string) *types.Any
- func GenesisHash() string
- func GenesisValidator(chainID, address string) *launch.GenesisValidator
- func LaunchGenesisState() launch.GenesisState
- func MsgCreateChain(coordAddress, chainName, genesisURL string) launch.MsgCreateChain
- func MsgCreateCoordinator(coordAddress string) profile.MsgCreateCoordinator
- func MsgEditChain(coordAddress, chainID string, ...) launch.MsgEditChain
- func MsgRequestAddValidator(address, chainID string) launch.MsgRequestAddValidator
- func Params() launch.Params
- func ProfileGenesisState() profile.GenesisState
- func Request(chainID string) *launch.Request
- func RequestWithContent(chainID string, content *types.Any) *launch.Request
- func String(n int) string
- func Uint64() uint64
- func ValidatorDescription(desc string) *profile.ValidatorDescription
- func ValidatorRemoval(address string) *launch.ValidatorRemoval
- func VestedAccount(chainID, address string) *launch.VestedAccount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountRemoval ¶
func AccountRemoval(address string) *launch.AccountRemoval
AccountRemoval returns a sample AccountRemoval
func AllRequestContents ¶
AllRequestContents creates all contents types for request and returns a list of all pack contents converted to `types.Any` object
func AlphaString ¶
AlphaString returns a random string with lowercase alpha char of length n
func CoordinatorDescription ¶
func CoordinatorDescription() *profile.CoordinatorDescription
CoordinatorDescription returns a sample CoordinatorDescription
func GenesisAccount ¶
func GenesisAccount(chainID, address string) *launch.GenesisAccount
GenesisAccount returns a sample GenesisAccount
func GenesisAccountContent ¶
GenesisAccountContent returns a sample GenesisAccount request content packed into an *Any object
func GenesisHash ¶
func GenesisHash() string
GenesisHash returns a sample sha256 hash of custom genesis for GenesisURL
func GenesisValidator ¶
func GenesisValidator(chainID, address string) *launch.GenesisValidator
GenesisValidator returns a sample GenesisValidator
func LaunchGenesisState ¶
func LaunchGenesisState() launch.GenesisState
LaunchGenesisState returns a sample genesis state for the launch module
func MsgCreateChain ¶
func MsgCreateChain(coordAddress, chainName, genesisURL string) launch.MsgCreateChain
MsgCreateChain returns a sample MsgCreateChain
func MsgCreateCoordinator ¶
func MsgCreateCoordinator(coordAddress string) profile.MsgCreateCoordinator
MsgCreateCoordinator returns a sample MsgCreateCoordinator
func MsgEditChain ¶
func MsgEditChain( coordAddress, chainID string, modifySource, modifyInitialGenesis, genesisURL bool, ) launch.MsgEditChain
MsgEditChain returns a sample MsgEditChain
func MsgRequestAddValidator ¶
func MsgRequestAddValidator(address, chainID string) launch.MsgRequestAddValidator
MsgRequestAddValidator returns a sample MsgRequestAddValidator
func ProfileGenesisState ¶
func ProfileGenesisState() profile.GenesisState
ProfileGenesisState returns a sample genesis state for the profile module
func RequestWithContent ¶
RequestWithContent creates a launch request object with chain id and content
func ValidatorDescription ¶
func ValidatorDescription(desc string) *profile.ValidatorDescription
ValidatorDescription returns a sample ValidatorDescription
func ValidatorRemoval ¶
func ValidatorRemoval(address string) *launch.ValidatorRemoval
ValidatorRemoval returns a sample ValidatorRemoval
func VestedAccount ¶
func VestedAccount(chainID, address string) *launch.VestedAccount
VestedAccount returns a sample VestedAccount
Types ¶
This section is empty.