Documentation ¶
Index ¶
- func AccAddress() string
- func AccountRemoval(address string) *launch.AccountRemoval
- func AllRequestContents(chainID uint64, genesis, vesting, validator string) []launch.RequestContent
- func AlphaString(n int) string
- func Bytes(n int) []byte
- func Chain(id uint64, coordinatorID uint64) launch.Chain
- func Codec() codec.Marshaler
- func Coin() sdk.Coin
- func Coins() sdk.Coins
- func Coordinator() profile.Coordinator
- func CoordinatorDescription() profile.CoordinatorDescription
- func GenesisAccount(chainID uint64, address string) launch.GenesisAccount
- func GenesisAccountContent(chainID uint64, address string) launch.RequestContent
- func GenesisChainID() string
- func GenesisHash() string
- func GenesisValidator(chainID uint64, address string) launch.GenesisValidator
- func LaunchGenesisState() launch.GenesisState
- func LaunchParams() launch.Params
- func MsgCreateChain(coordAddress, genesisURL string) launch.MsgCreateChain
- func MsgCreateCoordinator(coordAddress string) profile.MsgCreateCoordinator
- func MsgEditChain(coordAddress string, chainID uint64, ...) launch.MsgEditChain
- func MsgRequestAddValidator(address string, chainID uint64) launch.MsgRequestAddValidator
- func ProfileGenesisState() profile.GenesisState
- func Request(chainID uint64) launch.Request
- func RequestWithContent(chainID uint64, content launch.RequestContent) launch.Request
- func String(n int) string
- func Uint64() uint64
- func ValidatorDescription(desc string) profile.ValidatorDescription
- func ValidatorRemoval(address string) launch.ValidatorRemoval
- func VestingAccount(chainID uint64, address string) launch.VestingAccount
- func VestingOptions() launch.VestingOptions
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 ¶
func AllRequestContents(chainID uint64, genesis, vesting, validator string) []launch.RequestContent
AllRequestContents creates all contents types for request
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 uint64, address string) launch.GenesisAccount
GenesisAccount returns a sample GenesisAccount
func GenesisAccountContent ¶
func GenesisAccountContent(chainID uint64, address string) launch.RequestContent
GenesisAccountContent returns a sample GenesisAccount request content
func GenesisHash ¶
func GenesisHash() string
GenesisHash returns a sample sha256 hash of custom genesis for GenesisURL
func GenesisValidator ¶
func GenesisValidator(chainID uint64, 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 LaunchParams ¶
LaunchParams returns a sample of params for the launch module
func MsgCreateChain ¶
func MsgCreateChain(coordAddress, 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 string, chainID uint64, modifyGenesisChainID, modifySource, modifyInitialGenesis, genesisURL bool, ) launch.MsgEditChain
MsgEditChain returns a sample MsgEditChain
func MsgRequestAddValidator ¶
func MsgRequestAddValidator(address string, chainID uint64) 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 ¶
func RequestWithContent(chainID uint64, content launch.RequestContent) launch.Request
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 VestingAccount ¶
func VestingAccount(chainID uint64, address string) launch.VestingAccount
VestingAccount returns a sample VestingAccount
func VestingOptions ¶
func VestingOptions() launch.VestingOptions
VestingOptions returns a sample VestingOptions
Types ¶
This section is empty.