types

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 33 Imported by: 19

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ChainIDSeparator   = "-"
	ChainNameMaxLength = 30
)
View Source
const (
	// ChainKeyPrefix is the prefix to retrieve all Chain
	ChainKeyPrefix = "Chain/value/"
	ChainCountKey  = "Chain/count/"
)
View Source
const (
	// RequestKeyPrefix is the prefix to retrieve all Request
	RequestKeyPrefix      = "Request/value/"
	RequestCountKeyPrefix = "Request/count/"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "launch"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_launch"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	// GenesisAccountKeyPrefix is the prefix to retrieve all GenesisAccount
	GenesisAccountKeyPrefix = "GenesisAccount/value/"
)
View Source
const (
	// GenesisValidatorKeyPrefix is the prefix to retrieve all GenesisValidator
	GenesisValidatorKeyPrefix = "GenesisValidator/value/"
)
View Source
const HashLength = 64
View Source
const RevertDelay int64 = 60 * 60

RevertDelay is the delay after the launch time when it is possible to revert the launch of the chain Chain launch can be reverted on-chain when the actual chain launch failed (incorrect gentx, etc...) This delay must be small be big enough to ensure nodes had the time to bootstrap\ This currently corresponds to 1 hour

View Source
const (
	// VestingAccountKeyPrefix is the prefix to retrieve all VestingAccount
	VestingAccountKeyPrefix = "VestingAccount/value/"
)

Variables

View Source
var (
	ErrInvalidLengthChain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChain = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrChainNotFound         = sdkerrors.Register(ModuleName, 1, "chain not found")
	ErrInvalidGenesisChainID = sdkerrors.Register(ModuleName, 2, "the genesis chain id is invalid")
	ErrInvalidInitialGenesis = sdkerrors.Register(ModuleName, 3, "the initial genesis is invalid")
	ErrCodecNotPacked        = sdkerrors.Register(ModuleName, 4, "codec value couldn't be packed")
	ErrTriggeredLaunch       = sdkerrors.Register(ModuleName, 5, "launch is triggered for the chain")
	ErrNoAddressPermission   = sdkerrors.Register(ModuleName, 6, "you must be the coordinator or address owner to perform this action")
	ErrInvalidCoins          = sdkerrors.Register(ModuleName, 7, "the coin list is invalid")
	ErrInvalidVestingOption  = sdkerrors.Register(ModuleName, 8, "invalid vesting option")
	ErrInvalidTimestamp      = sdkerrors.Register(ModuleName, 9, "timestamp must be greater than zero")
	ErrLaunchTimeTooLow      = sdkerrors.Register(ModuleName, 10, "the remaining time is below authorized launch time")
	ErrLaunchTimeTooHigh     = sdkerrors.Register(ModuleName, 11, "the remaining time is above authorized launch time")
	ErrNotTriggeredLaunch    = sdkerrors.Register(ModuleName, 12, "the chain launch has not been triggered")
	ErrRevertDelayNotReached = sdkerrors.Register(ModuleName, 13, "the revert delay has not been reached")
	ErrRequestNotFound       = sdkerrors.Register(ModuleName, 14, "request not found")
	ErrInvalidConsPubKey     = sdkerrors.Register(ModuleName, 15, "the consensus public key is invalid")
	ErrInvalidGenTx          = sdkerrors.Register(ModuleName, 16, "the gentx is invalid")
	ErrInvalidSelfDelegation = sdkerrors.Register(ModuleName, 17, "the self delegation is invalid")
	ErrInvalidPeer           = sdkerrors.Register(ModuleName, 18, "the peer is invalid")
	ErrAccountAlreadyExist   = sdkerrors.Register(ModuleName, 19, "account already exists")
	ErrAccountNotFound       = sdkerrors.Register(ModuleName, 20, "account not found")
	ErrValidatorAlreadyExist = sdkerrors.Register(ModuleName, 21, "validator already exists")
	ErrValidatorNotFound     = sdkerrors.Register(ModuleName, 22, "validator not found")
	ErrChainInactive         = sdkerrors.Register(ModuleName, 23, "the chain is inactive")
)

x/launch module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesisAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesisAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesisAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesisValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesisValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesisValidator = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	DefaultMinLaunchTime = uint64(time.Hour.Seconds() * 24)
	DefaultMaxLaunchTime = uint64(time.Hour.Seconds() * 24 * 7)

	MaxParametrableLaunchTime = uint64(time.Hour.Seconds() * 24 * 31)

	KeyMinLaunchTime = []byte("MinLaunchTime")
	KeyMaxLaunchTime = []byte("MaxLaunchTime")
)

TODO: Determine default values

View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRequest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRequest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRequest = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVestingAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVestingAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVestingAccount = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ChainKey

func ChainKey(chainID uint64) []byte

ChainKey returns the store key to retrieve a Chain from the index fields

func CheckChainName

func CheckChainName(chainName string) error

CheckChainName verifies the name is valid as a chain name

func GenesisAccountAllKey

func GenesisAccountAllKey(chainID uint64) []byte

GenesisAccountAllKey returns the store key to retrieve all GenesisAccount by chainID

func GenesisAccountKey

func GenesisAccountKey(chainID uint64, address string) []byte

GenesisAccountKey returns the store key to retrieve a GenesisAccount from the index fields

func GenesisURLHash

func GenesisURLHash(content string) string

GenesisURLHash compute the hash of the URL from the resource content The hash function is sha256

func GenesisValidatorAllKey

func GenesisValidatorAllKey(chainID uint64) []byte

GenesisValidatorAllKey returns the store key to retrieve all GenesisValidator by chainID

func GenesisValidatorKey

func GenesisValidatorKey(chainID uint64, address string) []byte

GenesisValidatorKey returns the store key to retrieve a GenesisValidator from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func NewGenesisChainID

func NewGenesisChainID(chainName string, networkNumber uint64) string

NewGenesisChainID returns the genesis chain id from the chain name and the number

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func ParseGenesisChainID

func ParseGenesisChainID(genesisChainID string) (string, uint64, error)

ParseGenesisChainID returns the chain name and the number from the chain ID The chain ID follows the format <ChainName>-<Number> The function returns an error if the chain ID is invalid

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RequestCountKey

func RequestCountKey(chainID uint64) []byte

RequestCountKey returns the store key to retrieve the count of request from a chain ID

func RequestKey

func RequestKey(chainID, requestID uint64) []byte

RequestKey returns the store key to retrieve a Request from the index fields

func RequestPoolKey

func RequestPoolKey(chainID uint64) []byte

RequestPoolKey returns the store key to retrieve a Request Pool This is the entry with all the requests of a specific chain

func VestingAccountAllKey

func VestingAccountAllKey(chainID uint64) []byte

VestingAccountAllKey returns the store key to retrieve all VestingAccount by chainID

func VestingAccountKey

func VestingAccountKey(chainID uint64, address string) []byte

VestingAccountKey returns the store key to retrieve a VestingAccount from the index fields

Types

type AccountRemoval

type AccountRemoval struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*AccountRemoval) Descriptor

func (*AccountRemoval) Descriptor() ([]byte, []int)

func (*AccountRemoval) GetAddress

func (m *AccountRemoval) GetAddress() string

func (*AccountRemoval) Marshal

func (m *AccountRemoval) Marshal() (dAtA []byte, err error)

func (*AccountRemoval) MarshalTo

func (m *AccountRemoval) MarshalTo(dAtA []byte) (int, error)

func (*AccountRemoval) MarshalToSizedBuffer

func (m *AccountRemoval) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountRemoval) ProtoMessage

func (*AccountRemoval) ProtoMessage()

func (*AccountRemoval) Reset

func (m *AccountRemoval) Reset()

func (*AccountRemoval) Size

func (m *AccountRemoval) Size() (n int)

func (*AccountRemoval) String

func (m *AccountRemoval) String() string

func (*AccountRemoval) Unmarshal

func (m *AccountRemoval) Unmarshal(dAtA []byte) error

func (AccountRemoval) Validate

func (m AccountRemoval) Validate() error

Validate implements AccountRemoval validation

func (*AccountRemoval) XXX_DiscardUnknown

func (m *AccountRemoval) XXX_DiscardUnknown()

func (*AccountRemoval) XXX_Marshal

func (m *AccountRemoval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountRemoval) XXX_Merge

func (m *AccountRemoval) XXX_Merge(src proto.Message)

func (*AccountRemoval) XXX_Size

func (m *AccountRemoval) XXX_Size() int

func (*AccountRemoval) XXX_Unmarshal

func (m *AccountRemoval) XXX_Unmarshal(b []byte) error

type Chain

type Chain struct {
	Id              uint64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CoordinatorID   uint64         `protobuf:"varint,2,opt,name=coordinatorID,proto3" json:"coordinatorID,omitempty"`
	GenesisChainID  string         `protobuf:"bytes,3,opt,name=genesisChainID,proto3" json:"genesisChainID,omitempty"`
	CreatedAt       int64          `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	SourceURL       string         `protobuf:"bytes,5,opt,name=sourceURL,proto3" json:"sourceURL,omitempty"`
	SourceHash      string         `protobuf:"bytes,6,opt,name=sourceHash,proto3" json:"sourceHash,omitempty"`
	InitialGenesis  InitialGenesis `protobuf:"bytes,7,opt,name=initialGenesis,proto3" json:"initialGenesis"`
	LaunchTriggered bool           `protobuf:"varint,8,opt,name=launchTriggered,proto3" json:"launchTriggered,omitempty"`
	LaunchTimestamp int64          `protobuf:"varint,9,opt,name=launchTimestamp,proto3" json:"launchTimestamp,omitempty"`
}

func (*Chain) Descriptor

func (*Chain) Descriptor() ([]byte, []int)

func (*Chain) GetCoordinatorID

func (m *Chain) GetCoordinatorID() uint64

func (*Chain) GetCreatedAt

func (m *Chain) GetCreatedAt() int64

func (*Chain) GetGenesisChainID

func (m *Chain) GetGenesisChainID() string

func (*Chain) GetId

func (m *Chain) GetId() uint64

func (*Chain) GetInitialGenesis

func (m *Chain) GetInitialGenesis() InitialGenesis

func (*Chain) GetLaunchTimestamp

func (m *Chain) GetLaunchTimestamp() int64

func (*Chain) GetLaunchTriggered

func (m *Chain) GetLaunchTriggered() bool

func (*Chain) GetSourceHash

func (m *Chain) GetSourceHash() string

func (*Chain) GetSourceURL

func (m *Chain) GetSourceURL() string

func (*Chain) Marshal

func (m *Chain) Marshal() (dAtA []byte, err error)

func (*Chain) MarshalTo

func (m *Chain) MarshalTo(dAtA []byte) (int, error)

func (*Chain) MarshalToSizedBuffer

func (m *Chain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Chain) ProtoMessage

func (*Chain) ProtoMessage()

func (*Chain) Reset

func (m *Chain) Reset()

func (*Chain) Size

func (m *Chain) Size() (n int)

func (*Chain) String

func (m *Chain) String() string

func (*Chain) Unmarshal

func (m *Chain) Unmarshal(dAtA []byte) error

func (Chain) Validate

func (m Chain) Validate() error

Validate checks the chain has valid data

func (*Chain) XXX_DiscardUnknown

func (m *Chain) XXX_DiscardUnknown()

func (*Chain) XXX_Marshal

func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Chain) XXX_Merge

func (m *Chain) XXX_Merge(src proto.Message)

func (*Chain) XXX_Size

func (m *Chain) XXX_Size() int

func (*Chain) XXX_Unmarshal

func (m *Chain) XXX_Unmarshal(b []byte) error

type ChainNameCount

type ChainNameCount struct {
	ChainName string `protobuf:"bytes,1,opt,name=chainName,proto3" json:"chainName,omitempty"`
	Count     uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
}

func (*ChainNameCount) Descriptor

func (*ChainNameCount) Descriptor() ([]byte, []int)

func (*ChainNameCount) GetChainName

func (m *ChainNameCount) GetChainName() string

func (*ChainNameCount) GetCount

func (m *ChainNameCount) GetCount() uint64

func (*ChainNameCount) Marshal

func (m *ChainNameCount) Marshal() (dAtA []byte, err error)

func (*ChainNameCount) MarshalTo

func (m *ChainNameCount) MarshalTo(dAtA []byte) (int, error)

func (*ChainNameCount) MarshalToSizedBuffer

func (m *ChainNameCount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChainNameCount) ProtoMessage

func (*ChainNameCount) ProtoMessage()

func (*ChainNameCount) Reset

func (m *ChainNameCount) Reset()

func (*ChainNameCount) Size

func (m *ChainNameCount) Size() (n int)

func (*ChainNameCount) String

func (m *ChainNameCount) String() string

func (*ChainNameCount) Unmarshal

func (m *ChainNameCount) Unmarshal(dAtA []byte) error

func (*ChainNameCount) XXX_DiscardUnknown

func (m *ChainNameCount) XXX_DiscardUnknown()

func (*ChainNameCount) XXX_Marshal

func (m *ChainNameCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChainNameCount) XXX_Merge

func (m *ChainNameCount) XXX_Merge(src proto.Message)

func (*ChainNameCount) XXX_Size

func (m *ChainNameCount) XXX_Size() int

func (*ChainNameCount) XXX_Unmarshal

func (m *ChainNameCount) XXX_Unmarshal(b []byte) error

type DefaultInitialGenesis

type DefaultInitialGenesis struct {
}

DefaultInitialGenesis specifies using the default CLI-generated genesis as an initial genesis

func (*DefaultInitialGenesis) Descriptor

func (*DefaultInitialGenesis) Descriptor() ([]byte, []int)

func (*DefaultInitialGenesis) Marshal

func (m *DefaultInitialGenesis) Marshal() (dAtA []byte, err error)

func (*DefaultInitialGenesis) MarshalTo

func (m *DefaultInitialGenesis) MarshalTo(dAtA []byte) (int, error)

func (*DefaultInitialGenesis) MarshalToSizedBuffer

func (m *DefaultInitialGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DefaultInitialGenesis) ProtoMessage

func (*DefaultInitialGenesis) ProtoMessage()

func (*DefaultInitialGenesis) Reset

func (m *DefaultInitialGenesis) Reset()

func (*DefaultInitialGenesis) Size

func (m *DefaultInitialGenesis) Size() (n int)

func (*DefaultInitialGenesis) String

func (m *DefaultInitialGenesis) String() string

func (*DefaultInitialGenesis) Unmarshal

func (m *DefaultInitialGenesis) Unmarshal(dAtA []byte) error

func (*DefaultInitialGenesis) XXX_DiscardUnknown

func (m *DefaultInitialGenesis) XXX_DiscardUnknown()

func (*DefaultInitialGenesis) XXX_Marshal

func (m *DefaultInitialGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DefaultInitialGenesis) XXX_Merge

func (m *DefaultInitialGenesis) XXX_Merge(src proto.Message)

func (*DefaultInitialGenesis) XXX_Size

func (m *DefaultInitialGenesis) XXX_Size() int

func (*DefaultInitialGenesis) XXX_Unmarshal

func (m *DefaultInitialGenesis) XXX_Unmarshal(b []byte) error

type DelayedVesting

type DelayedVesting struct {
	Vesting github_com_cosmos_cosmos_sdk_types.Coins `` /* 160-byte string literal not displayed */
	EndTime int64                                    `protobuf:"varint,2,opt,name=endTime,proto3" json:"endTime,omitempty"`
}

DelayedVesting represents options for delayed vesting Delayed vesting is the type of vesting where all vesting coins are vested once end time is reached

func (*DelayedVesting) Descriptor

func (*DelayedVesting) Descriptor() ([]byte, []int)

func (*DelayedVesting) GetEndTime

func (m *DelayedVesting) GetEndTime() int64

func (*DelayedVesting) GetVesting

func (*DelayedVesting) Marshal

func (m *DelayedVesting) Marshal() (dAtA []byte, err error)

func (*DelayedVesting) MarshalTo

func (m *DelayedVesting) MarshalTo(dAtA []byte) (int, error)

func (*DelayedVesting) MarshalToSizedBuffer

func (m *DelayedVesting) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelayedVesting) ProtoMessage

func (*DelayedVesting) ProtoMessage()

func (*DelayedVesting) Reset

func (m *DelayedVesting) Reset()

func (*DelayedVesting) Size

func (m *DelayedVesting) Size() (n int)

func (*DelayedVesting) String

func (m *DelayedVesting) String() string

func (*DelayedVesting) Unmarshal

func (m *DelayedVesting) Unmarshal(dAtA []byte) error

func (*DelayedVesting) XXX_DiscardUnknown

func (m *DelayedVesting) XXX_DiscardUnknown()

func (*DelayedVesting) XXX_Marshal

func (m *DelayedVesting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelayedVesting) XXX_Merge

func (m *DelayedVesting) XXX_Merge(src proto.Message)

func (*DelayedVesting) XXX_Size

func (m *DelayedVesting) XXX_Size() int

func (*DelayedVesting) XXX_Unmarshal

func (m *DelayedVesting) XXX_Unmarshal(b []byte) error

type GenesisAccount

type GenesisAccount struct {
	ChainID uint64                                   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Address string                                   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Coins   github_com_cosmos_cosmos_sdk_types.Coins `` /* 156-byte string literal not displayed */
}

func (*GenesisAccount) Descriptor

func (*GenesisAccount) Descriptor() ([]byte, []int)

func (*GenesisAccount) GetAddress

func (m *GenesisAccount) GetAddress() string

func (*GenesisAccount) GetChainID

func (m *GenesisAccount) GetChainID() uint64

func (*GenesisAccount) GetCoins

func (*GenesisAccount) Marshal

func (m *GenesisAccount) Marshal() (dAtA []byte, err error)

func (*GenesisAccount) MarshalTo

func (m *GenesisAccount) MarshalTo(dAtA []byte) (int, error)

func (*GenesisAccount) MarshalToSizedBuffer

func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisAccount) ProtoMessage

func (*GenesisAccount) ProtoMessage()

func (*GenesisAccount) Reset

func (m *GenesisAccount) Reset()

func (*GenesisAccount) Size

func (m *GenesisAccount) Size() (n int)

func (*GenesisAccount) String

func (m *GenesisAccount) String() string

func (*GenesisAccount) Unmarshal

func (m *GenesisAccount) Unmarshal(dAtA []byte) error

func (GenesisAccount) Validate

func (m GenesisAccount) Validate() error

Validate implements GenesisAccount validation

func (*GenesisAccount) XXX_DiscardUnknown

func (m *GenesisAccount) XXX_DiscardUnknown()

func (*GenesisAccount) XXX_Marshal

func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisAccount) XXX_Merge

func (m *GenesisAccount) XXX_Merge(src proto.Message)

func (*GenesisAccount) XXX_Size

func (m *GenesisAccount) XXX_Size() int

func (*GenesisAccount) XXX_Unmarshal

func (m *GenesisAccount) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	// this line is used by starport scaffolding # genesis/proto/state
	ChainList            []Chain            `protobuf:"bytes,1,rep,name=chainList,proto3" json:"chainList"`
	ChainCount           uint64             `protobuf:"varint,2,opt,name=ChainCount,proto3" json:"ChainCount,omitempty"`
	GenesisAccountList   []GenesisAccount   `protobuf:"bytes,3,rep,name=genesisAccountList,proto3" json:"genesisAccountList"`
	VestingAccountList   []VestingAccount   `protobuf:"bytes,4,rep,name=vestingAccountList,proto3" json:"vestingAccountList"`
	GenesisValidatorList []GenesisValidator `protobuf:"bytes,5,rep,name=genesisValidatorList,proto3" json:"genesisValidatorList"`
	RequestList          []Request          `protobuf:"bytes,6,rep,name=requestList,proto3" json:"requestList"`
	RequestCountList     []RequestCount     `protobuf:"bytes,7,rep,name=requestCountList,proto3" json:"requestCountList"`
	Params               Params             `protobuf:"bytes,8,opt,name=params,proto3" json:"params"`
}

GenesisState defines the launch module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetChainCount

func (m *GenesisState) GetChainCount() uint64

func (*GenesisState) GetChainList

func (m *GenesisState) GetChainList() []Chain

func (*GenesisState) GetGenesisAccountList

func (m *GenesisState) GetGenesisAccountList() []GenesisAccount

func (*GenesisState) GetGenesisValidatorList

func (m *GenesisState) GetGenesisValidatorList() []GenesisValidator

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetRequestCountList

func (m *GenesisState) GetRequestCountList() []RequestCount

func (*GenesisState) GetRequestList

func (m *GenesisState) GetRequestList() []Request

func (*GenesisState) GetVestingAccountList

func (m *GenesisState) GetVestingAccountList() []VestingAccount

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type GenesisURL

type GenesisURL struct {
	Url  string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
}

GenesisURL specifies using a custom genesis from a URL as the initial genesis

func (*GenesisURL) Descriptor

func (*GenesisURL) Descriptor() ([]byte, []int)

func (*GenesisURL) GetHash

func (m *GenesisURL) GetHash() string

func (*GenesisURL) GetUrl

func (m *GenesisURL) GetUrl() string

func (*GenesisURL) Marshal

func (m *GenesisURL) Marshal() (dAtA []byte, err error)

func (*GenesisURL) MarshalTo

func (m *GenesisURL) MarshalTo(dAtA []byte) (int, error)

func (*GenesisURL) MarshalToSizedBuffer

func (m *GenesisURL) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisURL) ProtoMessage

func (*GenesisURL) ProtoMessage()

func (*GenesisURL) Reset

func (m *GenesisURL) Reset()

func (*GenesisURL) Size

func (m *GenesisURL) Size() (n int)

func (*GenesisURL) String

func (m *GenesisURL) String() string

func (*GenesisURL) Unmarshal

func (m *GenesisURL) Unmarshal(dAtA []byte) error

func (*GenesisURL) XXX_DiscardUnknown

func (m *GenesisURL) XXX_DiscardUnknown()

func (*GenesisURL) XXX_Marshal

func (m *GenesisURL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisURL) XXX_Merge

func (m *GenesisURL) XXX_Merge(src proto.Message)

func (*GenesisURL) XXX_Size

func (m *GenesisURL) XXX_Size() int

func (*GenesisURL) XXX_Unmarshal

func (m *GenesisURL) XXX_Unmarshal(b []byte) error

type GenesisValidator

type GenesisValidator struct {
	ChainID        uint64     `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Address        string     `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	GenTx          []byte     `protobuf:"bytes,3,opt,name=genTx,proto3" json:"genTx,omitempty"`
	ConsPubKey     []byte     `protobuf:"bytes,4,opt,name=consPubKey,proto3" json:"consPubKey,omitempty"`
	SelfDelegation types.Coin `protobuf:"bytes,5,opt,name=selfDelegation,proto3" json:"selfDelegation"`
	Peer           string     `protobuf:"bytes,6,opt,name=peer,proto3" json:"peer,omitempty"`
}

func (*GenesisValidator) Descriptor

func (*GenesisValidator) Descriptor() ([]byte, []int)

func (*GenesisValidator) GetAddress

func (m *GenesisValidator) GetAddress() string

func (*GenesisValidator) GetChainID

func (m *GenesisValidator) GetChainID() uint64

func (*GenesisValidator) GetConsPubKey

func (m *GenesisValidator) GetConsPubKey() []byte

func (*GenesisValidator) GetGenTx

func (m *GenesisValidator) GetGenTx() []byte

func (*GenesisValidator) GetPeer

func (m *GenesisValidator) GetPeer() string

func (*GenesisValidator) GetSelfDelegation

func (m *GenesisValidator) GetSelfDelegation() types.Coin

func (*GenesisValidator) Marshal

func (m *GenesisValidator) Marshal() (dAtA []byte, err error)

func (*GenesisValidator) MarshalTo

func (m *GenesisValidator) MarshalTo(dAtA []byte) (int, error)

func (*GenesisValidator) MarshalToSizedBuffer

func (m *GenesisValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisValidator) ProtoMessage

func (*GenesisValidator) ProtoMessage()

func (*GenesisValidator) Reset

func (m *GenesisValidator) Reset()

func (*GenesisValidator) Size

func (m *GenesisValidator) Size() (n int)

func (*GenesisValidator) String

func (m *GenesisValidator) String() string

func (*GenesisValidator) Unmarshal

func (m *GenesisValidator) Unmarshal(dAtA []byte) error

func (GenesisValidator) Validate

func (m GenesisValidator) Validate() error

Validate implements GenesisValidator validation

func (*GenesisValidator) XXX_DiscardUnknown

func (m *GenesisValidator) XXX_DiscardUnknown()

func (*GenesisValidator) XXX_Marshal

func (m *GenesisValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisValidator) XXX_Merge

func (m *GenesisValidator) XXX_Merge(src proto.Message)

func (*GenesisValidator) XXX_Size

func (m *GenesisValidator) XXX_Size() int

func (*GenesisValidator) XXX_Unmarshal

func (m *GenesisValidator) XXX_Unmarshal(b []byte) error

type InitialGenesis

type InitialGenesis struct {
	// Types that are valid to be assigned to Source:
	//	*InitialGenesis_DefaultInitialGenesis
	//	*InitialGenesis_GenesisURL
	Source isInitialGenesis_Source `protobuf_oneof:"source"`
}

func NewDefaultInitialGenesis

func NewDefaultInitialGenesis() InitialGenesis

NewDefaultInitialGenesis returns a InitialGenesis containing a DefaultInitialGenesis

func NewGenesisURL

func NewGenesisURL(url, hash string) InitialGenesis

NewGenesisURL returns a InitialGenesis containing a GenesisURL

func (*InitialGenesis) Descriptor

func (*InitialGenesis) Descriptor() ([]byte, []int)

func (*InitialGenesis) GetDefaultInitialGenesis

func (m *InitialGenesis) GetDefaultInitialGenesis() *DefaultInitialGenesis

func (*InitialGenesis) GetGenesisURL

func (m *InitialGenesis) GetGenesisURL() *GenesisURL

func (*InitialGenesis) GetSource

func (m *InitialGenesis) GetSource() isInitialGenesis_Source

func (*InitialGenesis) Marshal

func (m *InitialGenesis) Marshal() (dAtA []byte, err error)

func (*InitialGenesis) MarshalTo

func (m *InitialGenesis) MarshalTo(dAtA []byte) (int, error)

func (*InitialGenesis) MarshalToSizedBuffer

func (m *InitialGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InitialGenesis) ProtoMessage

func (*InitialGenesis) ProtoMessage()

func (*InitialGenesis) Reset

func (m *InitialGenesis) Reset()

func (*InitialGenesis) Size

func (m *InitialGenesis) Size() (n int)

func (*InitialGenesis) String

func (m *InitialGenesis) String() string

func (*InitialGenesis) Unmarshal

func (m *InitialGenesis) Unmarshal(dAtA []byte) error

func (InitialGenesis) Validate

func (m InitialGenesis) Validate() error

Validate verifies the initial genesis is valid

func (*InitialGenesis) XXX_DiscardUnknown

func (m *InitialGenesis) XXX_DiscardUnknown()

func (*InitialGenesis) XXX_Marshal

func (m *InitialGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InitialGenesis) XXX_Merge

func (m *InitialGenesis) XXX_Merge(src proto.Message)

func (*InitialGenesis) XXX_OneofWrappers

func (*InitialGenesis) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*InitialGenesis) XXX_Size

func (m *InitialGenesis) XXX_Size() int

func (*InitialGenesis) XXX_Unmarshal

func (m *InitialGenesis) XXX_Unmarshal(b []byte) error

type InitialGenesis_DefaultInitialGenesis

type InitialGenesis_DefaultInitialGenesis struct {
	DefaultInitialGenesis *DefaultInitialGenesis `protobuf:"bytes,1,opt,name=defaultInitialGenesis,proto3,oneof" json:"defaultInitialGenesis,omitempty"`
}

func (*InitialGenesis_DefaultInitialGenesis) MarshalTo

func (m *InitialGenesis_DefaultInitialGenesis) MarshalTo(dAtA []byte) (int, error)

func (*InitialGenesis_DefaultInitialGenesis) MarshalToSizedBuffer

func (m *InitialGenesis_DefaultInitialGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InitialGenesis_DefaultInitialGenesis) Size

type InitialGenesis_GenesisURL

type InitialGenesis_GenesisURL struct {
	GenesisURL *GenesisURL `protobuf:"bytes,2,opt,name=genesisURL,proto3,oneof" json:"genesisURL,omitempty"`
}

func (*InitialGenesis_GenesisURL) MarshalTo

func (m *InitialGenesis_GenesisURL) MarshalTo(dAtA []byte) (int, error)

func (*InitialGenesis_GenesisURL) MarshalToSizedBuffer

func (m *InitialGenesis_GenesisURL) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InitialGenesis_GenesisURL) Size

func (m *InitialGenesis_GenesisURL) Size() (n int)

type MsgClient

type MsgClient interface {
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateChain(ctx context.Context, in *MsgCreateChain, opts ...grpc.CallOption) (*MsgCreateChainResponse, error)
	EditChain(ctx context.Context, in *MsgEditChain, opts ...grpc.CallOption) (*MsgEditChainResponse, error)
	RequestAddAccount(ctx context.Context, in *MsgRequestAddAccount, opts ...grpc.CallOption) (*MsgRequestResponse, error)
	RequestAddVestingAccount(ctx context.Context, in *MsgRequestAddVestingAccount, opts ...grpc.CallOption) (*MsgRequestResponse, error)
	RequestRemoveAccount(ctx context.Context, in *MsgRequestRemoveAccount, opts ...grpc.CallOption) (*MsgRequestResponse, error)
	RequestAddValidator(ctx context.Context, in *MsgRequestAddValidator, opts ...grpc.CallOption) (*MsgRequestResponse, error)
	RequestRemoveValidator(ctx context.Context, in *MsgRequestRemoveValidator, opts ...grpc.CallOption) (*MsgRequestResponse, error)
	SettleRequest(ctx context.Context, in *MsgSettleRequest, opts ...grpc.CallOption) (*MsgSettleRequestResponse, error)
	TriggerLaunch(ctx context.Context, in *MsgTriggerLaunch, opts ...grpc.CallOption) (*MsgTriggerLaunchResponse, error)
	RevertLaunch(ctx context.Context, in *MsgRevertLaunch, opts ...grpc.CallOption) (*MsgRevertLaunchResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateChain

type MsgCreateChain struct {
	Coordinator    string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
	GenesisChainID string `protobuf:"bytes,2,opt,name=genesisChainID,proto3" json:"genesisChainID,omitempty"`
	SourceURL      string `protobuf:"bytes,3,opt,name=sourceURL,proto3" json:"sourceURL,omitempty"`
	SourceHash     string `protobuf:"bytes,4,opt,name=sourceHash,proto3" json:"sourceHash,omitempty"`
	GenesisURL     string `protobuf:"bytes,5,opt,name=genesisURL,proto3" json:"genesisURL,omitempty"`
	GenesisHash    string `protobuf:"bytes,6,opt,name=genesisHash,proto3" json:"genesisHash,omitempty"`
}

func NewMsgCreateChain

func NewMsgCreateChain(
	coordinator,
	genesisChainID,
	sourceURL,
	sourceHash,
	genesisURL,
	genesisHash string,
) *MsgCreateChain

func (*MsgCreateChain) Descriptor

func (*MsgCreateChain) Descriptor() ([]byte, []int)

func (*MsgCreateChain) GetCoordinator

func (m *MsgCreateChain) GetCoordinator() string

func (*MsgCreateChain) GetGenesisChainID

func (m *MsgCreateChain) GetGenesisChainID() string

func (*MsgCreateChain) GetGenesisHash

func (m *MsgCreateChain) GetGenesisHash() string

func (*MsgCreateChain) GetGenesisURL

func (m *MsgCreateChain) GetGenesisURL() string

func (*MsgCreateChain) GetSignBytes

func (msg *MsgCreateChain) GetSignBytes() []byte

func (*MsgCreateChain) GetSigners

func (msg *MsgCreateChain) GetSigners() []sdk.AccAddress

func (*MsgCreateChain) GetSourceHash

func (m *MsgCreateChain) GetSourceHash() string

func (*MsgCreateChain) GetSourceURL

func (m *MsgCreateChain) GetSourceURL() string

func (*MsgCreateChain) Marshal

func (m *MsgCreateChain) Marshal() (dAtA []byte, err error)

func (*MsgCreateChain) MarshalTo

func (m *MsgCreateChain) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateChain) MarshalToSizedBuffer

func (m *MsgCreateChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateChain) ProtoMessage

func (*MsgCreateChain) ProtoMessage()

func (*MsgCreateChain) Reset

func (m *MsgCreateChain) Reset()

func (*MsgCreateChain) Route

func (msg *MsgCreateChain) Route() string

func (*MsgCreateChain) Size

func (m *MsgCreateChain) Size() (n int)

func (*MsgCreateChain) String

func (m *MsgCreateChain) String() string

func (*MsgCreateChain) Type

func (msg *MsgCreateChain) Type() string

func (*MsgCreateChain) Unmarshal

func (m *MsgCreateChain) Unmarshal(dAtA []byte) error

func (*MsgCreateChain) ValidateBasic

func (msg *MsgCreateChain) ValidateBasic() error

func (*MsgCreateChain) XXX_DiscardUnknown

func (m *MsgCreateChain) XXX_DiscardUnknown()

func (*MsgCreateChain) XXX_Marshal

func (m *MsgCreateChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateChain) XXX_Merge

func (m *MsgCreateChain) XXX_Merge(src proto.Message)

func (*MsgCreateChain) XXX_Size

func (m *MsgCreateChain) XXX_Size() int

func (*MsgCreateChain) XXX_Unmarshal

func (m *MsgCreateChain) XXX_Unmarshal(b []byte) error

type MsgCreateChainResponse

type MsgCreateChainResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgCreateChainResponse) Descriptor

func (*MsgCreateChainResponse) Descriptor() ([]byte, []int)

func (*MsgCreateChainResponse) GetId

func (m *MsgCreateChainResponse) GetId() uint64

func (*MsgCreateChainResponse) Marshal

func (m *MsgCreateChainResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateChainResponse) MarshalTo

func (m *MsgCreateChainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateChainResponse) MarshalToSizedBuffer

func (m *MsgCreateChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateChainResponse) ProtoMessage

func (*MsgCreateChainResponse) ProtoMessage()

func (*MsgCreateChainResponse) Reset

func (m *MsgCreateChainResponse) Reset()

func (*MsgCreateChainResponse) Size

func (m *MsgCreateChainResponse) Size() (n int)

func (*MsgCreateChainResponse) String

func (m *MsgCreateChainResponse) String() string

func (*MsgCreateChainResponse) Unmarshal

func (m *MsgCreateChainResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateChainResponse) XXX_DiscardUnknown

func (m *MsgCreateChainResponse) XXX_DiscardUnknown()

func (*MsgCreateChainResponse) XXX_Marshal

func (m *MsgCreateChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateChainResponse) XXX_Merge

func (m *MsgCreateChainResponse) XXX_Merge(src proto.Message)

func (*MsgCreateChainResponse) XXX_Size

func (m *MsgCreateChainResponse) XXX_Size() int

func (*MsgCreateChainResponse) XXX_Unmarshal

func (m *MsgCreateChainResponse) XXX_Unmarshal(b []byte) error

type MsgEditChain

type MsgEditChain struct {
	Coordinator    string          `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
	ChainID        uint64          `protobuf:"varint,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	GenesisChainID string          `protobuf:"bytes,3,opt,name=genesisChainID,proto3" json:"genesisChainID,omitempty"`
	SourceURL      string          `protobuf:"bytes,4,opt,name=sourceURL,proto3" json:"sourceURL,omitempty"`
	SourceHash     string          `protobuf:"bytes,5,opt,name=sourceHash,proto3" json:"sourceHash,omitempty"`
	InitialGenesis *InitialGenesis `protobuf:"bytes,6,opt,name=initialGenesis,proto3" json:"initialGenesis,omitempty"`
}

func NewMsgEditChain

func NewMsgEditChain(
	coordinator string,
	chainID uint64,
	genesisChainID,
	sourceURL,
	sourceHash string,
	initialGenesis *InitialGenesis,
) *MsgEditChain

func (*MsgEditChain) Descriptor

func (*MsgEditChain) Descriptor() ([]byte, []int)

func (*MsgEditChain) GetChainID

func (m *MsgEditChain) GetChainID() uint64

func (*MsgEditChain) GetCoordinator

func (m *MsgEditChain) GetCoordinator() string

func (*MsgEditChain) GetGenesisChainID

func (m *MsgEditChain) GetGenesisChainID() string

func (*MsgEditChain) GetInitialGenesis

func (m *MsgEditChain) GetInitialGenesis() *InitialGenesis

func (*MsgEditChain) GetSignBytes

func (msg *MsgEditChain) GetSignBytes() []byte

func (*MsgEditChain) GetSigners

func (msg *MsgEditChain) GetSigners() []sdk.AccAddress

func (*MsgEditChain) GetSourceHash

func (m *MsgEditChain) GetSourceHash() string

func (*MsgEditChain) GetSourceURL

func (m *MsgEditChain) GetSourceURL() string

func (*MsgEditChain) Marshal

func (m *MsgEditChain) Marshal() (dAtA []byte, err error)

func (*MsgEditChain) MarshalTo

func (m *MsgEditChain) MarshalTo(dAtA []byte) (int, error)

func (*MsgEditChain) MarshalToSizedBuffer

func (m *MsgEditChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgEditChain) ProtoMessage

func (*MsgEditChain) ProtoMessage()

func (*MsgEditChain) Reset

func (m *MsgEditChain) Reset()

func (*MsgEditChain) Route

func (msg *MsgEditChain) Route() string

func (*MsgEditChain) Size

func (m *MsgEditChain) Size() (n int)

func (*MsgEditChain) String

func (m *MsgEditChain) String() string

func (*MsgEditChain) Type

func (msg *MsgEditChain) Type() string

func (*MsgEditChain) Unmarshal

func (m *MsgEditChain) Unmarshal(dAtA []byte) error

func (*MsgEditChain) ValidateBasic

func (msg *MsgEditChain) ValidateBasic() error

func (*MsgEditChain) XXX_DiscardUnknown

func (m *MsgEditChain) XXX_DiscardUnknown()

func (*MsgEditChain) XXX_Marshal

func (m *MsgEditChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgEditChain) XXX_Merge

func (m *MsgEditChain) XXX_Merge(src proto.Message)

func (*MsgEditChain) XXX_Size

func (m *MsgEditChain) XXX_Size() int

func (*MsgEditChain) XXX_Unmarshal

func (m *MsgEditChain) XXX_Unmarshal(b []byte) error

type MsgEditChainResponse

type MsgEditChainResponse struct {
}

func (*MsgEditChainResponse) Descriptor

func (*MsgEditChainResponse) Descriptor() ([]byte, []int)

func (*MsgEditChainResponse) Marshal

func (m *MsgEditChainResponse) Marshal() (dAtA []byte, err error)

func (*MsgEditChainResponse) MarshalTo

func (m *MsgEditChainResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgEditChainResponse) MarshalToSizedBuffer

func (m *MsgEditChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgEditChainResponse) ProtoMessage

func (*MsgEditChainResponse) ProtoMessage()

func (*MsgEditChainResponse) Reset

func (m *MsgEditChainResponse) Reset()

func (*MsgEditChainResponse) Size

func (m *MsgEditChainResponse) Size() (n int)

func (*MsgEditChainResponse) String

func (m *MsgEditChainResponse) String() string

func (*MsgEditChainResponse) Unmarshal

func (m *MsgEditChainResponse) Unmarshal(dAtA []byte) error

func (*MsgEditChainResponse) XXX_DiscardUnknown

func (m *MsgEditChainResponse) XXX_DiscardUnknown()

func (*MsgEditChainResponse) XXX_Marshal

func (m *MsgEditChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgEditChainResponse) XXX_Merge

func (m *MsgEditChainResponse) XXX_Merge(src proto.Message)

func (*MsgEditChainResponse) XXX_Size

func (m *MsgEditChainResponse) XXX_Size() int

func (*MsgEditChainResponse) XXX_Unmarshal

func (m *MsgEditChainResponse) XXX_Unmarshal(b []byte) error

type MsgRequestAddAccount

type MsgRequestAddAccount struct {
	ChainID uint64                                   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Address string                                   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Coins   github_com_cosmos_cosmos_sdk_types.Coins `` /* 156-byte string literal not displayed */
}

func NewMsgRequestAddAccount

func NewMsgRequestAddAccount(address string, chainID uint64, coins sdk.Coins) *MsgRequestAddAccount

func (*MsgRequestAddAccount) Descriptor

func (*MsgRequestAddAccount) Descriptor() ([]byte, []int)

func (*MsgRequestAddAccount) GetAddress

func (m *MsgRequestAddAccount) GetAddress() string

func (*MsgRequestAddAccount) GetChainID

func (m *MsgRequestAddAccount) GetChainID() uint64

func (*MsgRequestAddAccount) GetCoins

func (*MsgRequestAddAccount) GetSignBytes

func (msg *MsgRequestAddAccount) GetSignBytes() []byte

func (*MsgRequestAddAccount) GetSigners

func (msg *MsgRequestAddAccount) GetSigners() []sdk.AccAddress

func (*MsgRequestAddAccount) Marshal

func (m *MsgRequestAddAccount) Marshal() (dAtA []byte, err error)

func (*MsgRequestAddAccount) MarshalTo

func (m *MsgRequestAddAccount) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestAddAccount) MarshalToSizedBuffer

func (m *MsgRequestAddAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestAddAccount) ProtoMessage

func (*MsgRequestAddAccount) ProtoMessage()

func (*MsgRequestAddAccount) Reset

func (m *MsgRequestAddAccount) Reset()

func (*MsgRequestAddAccount) Route

func (msg *MsgRequestAddAccount) Route() string

func (*MsgRequestAddAccount) Size

func (m *MsgRequestAddAccount) Size() (n int)

func (*MsgRequestAddAccount) String

func (m *MsgRequestAddAccount) String() string

func (*MsgRequestAddAccount) Type

func (msg *MsgRequestAddAccount) Type() string

func (*MsgRequestAddAccount) Unmarshal

func (m *MsgRequestAddAccount) Unmarshal(dAtA []byte) error

func (*MsgRequestAddAccount) ValidateBasic

func (msg *MsgRequestAddAccount) ValidateBasic() error

func (*MsgRequestAddAccount) XXX_DiscardUnknown

func (m *MsgRequestAddAccount) XXX_DiscardUnknown()

func (*MsgRequestAddAccount) XXX_Marshal

func (m *MsgRequestAddAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestAddAccount) XXX_Merge

func (m *MsgRequestAddAccount) XXX_Merge(src proto.Message)

func (*MsgRequestAddAccount) XXX_Size

func (m *MsgRequestAddAccount) XXX_Size() int

func (*MsgRequestAddAccount) XXX_Unmarshal

func (m *MsgRequestAddAccount) XXX_Unmarshal(b []byte) error

type MsgRequestAddValidator

type MsgRequestAddValidator struct {
	ChainID        uint64     `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	ValAddress     string     `protobuf:"bytes,2,opt,name=valAddress,proto3" json:"valAddress,omitempty"`
	GenTx          []byte     `protobuf:"bytes,3,opt,name=genTx,proto3" json:"genTx,omitempty"`
	ConsPubKey     []byte     `protobuf:"bytes,4,opt,name=consPubKey,proto3" json:"consPubKey,omitempty"`
	SelfDelegation types.Coin `protobuf:"bytes,5,opt,name=selfDelegation,proto3" json:"selfDelegation"`
	Peer           string     `protobuf:"bytes,6,opt,name=peer,proto3" json:"peer,omitempty"`
}

func NewMsgRequestAddValidator

func NewMsgRequestAddValidator(
	valAddress string,
	chainID uint64,
	genTx,
	consPubKey []byte,
	selfDelegation sdk.Coin,
	peer string,
) *MsgRequestAddValidator

func (*MsgRequestAddValidator) Descriptor

func (*MsgRequestAddValidator) Descriptor() ([]byte, []int)

func (*MsgRequestAddValidator) GetChainID

func (m *MsgRequestAddValidator) GetChainID() uint64

func (*MsgRequestAddValidator) GetConsPubKey

func (m *MsgRequestAddValidator) GetConsPubKey() []byte

func (*MsgRequestAddValidator) GetGenTx

func (m *MsgRequestAddValidator) GetGenTx() []byte

func (*MsgRequestAddValidator) GetPeer

func (m *MsgRequestAddValidator) GetPeer() string

func (*MsgRequestAddValidator) GetSelfDelegation

func (m *MsgRequestAddValidator) GetSelfDelegation() types.Coin

func (*MsgRequestAddValidator) GetSignBytes

func (msg *MsgRequestAddValidator) GetSignBytes() []byte

func (*MsgRequestAddValidator) GetSigners

func (msg *MsgRequestAddValidator) GetSigners() []sdk.AccAddress

func (*MsgRequestAddValidator) GetValAddress

func (m *MsgRequestAddValidator) GetValAddress() string

func (*MsgRequestAddValidator) Marshal

func (m *MsgRequestAddValidator) Marshal() (dAtA []byte, err error)

func (*MsgRequestAddValidator) MarshalTo

func (m *MsgRequestAddValidator) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestAddValidator) MarshalToSizedBuffer

func (m *MsgRequestAddValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestAddValidator) ProtoMessage

func (*MsgRequestAddValidator) ProtoMessage()

func (*MsgRequestAddValidator) Reset

func (m *MsgRequestAddValidator) Reset()

func (*MsgRequestAddValidator) Route

func (msg *MsgRequestAddValidator) Route() string

func (*MsgRequestAddValidator) Size

func (m *MsgRequestAddValidator) Size() (n int)

func (*MsgRequestAddValidator) String

func (m *MsgRequestAddValidator) String() string

func (*MsgRequestAddValidator) Type

func (msg *MsgRequestAddValidator) Type() string

func (*MsgRequestAddValidator) Unmarshal

func (m *MsgRequestAddValidator) Unmarshal(dAtA []byte) error

func (*MsgRequestAddValidator) ValidateBasic

func (msg *MsgRequestAddValidator) ValidateBasic() error

func (*MsgRequestAddValidator) XXX_DiscardUnknown

func (m *MsgRequestAddValidator) XXX_DiscardUnknown()

func (*MsgRequestAddValidator) XXX_Marshal

func (m *MsgRequestAddValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestAddValidator) XXX_Merge

func (m *MsgRequestAddValidator) XXX_Merge(src proto.Message)

func (*MsgRequestAddValidator) XXX_Size

func (m *MsgRequestAddValidator) XXX_Size() int

func (*MsgRequestAddValidator) XXX_Unmarshal

func (m *MsgRequestAddValidator) XXX_Unmarshal(b []byte) error

type MsgRequestAddVestingAccount

type MsgRequestAddVestingAccount struct {
	ChainID         uint64                                   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Address         string                                   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	StartingBalance github_com_cosmos_cosmos_sdk_types.Coins `` /* 176-byte string literal not displayed */
	Options         VestingOptions                           `protobuf:"bytes,4,opt,name=options,proto3" json:"options"`
}

func NewMsgRequestAddVestingAccount

func NewMsgRequestAddVestingAccount(
	address string,
	chainID uint64,
	coins sdk.Coins,
	options VestingOptions,
) *MsgRequestAddVestingAccount

func (*MsgRequestAddVestingAccount) Descriptor

func (*MsgRequestAddVestingAccount) Descriptor() ([]byte, []int)

func (*MsgRequestAddVestingAccount) GetAddress

func (m *MsgRequestAddVestingAccount) GetAddress() string

func (*MsgRequestAddVestingAccount) GetChainID

func (m *MsgRequestAddVestingAccount) GetChainID() uint64

func (*MsgRequestAddVestingAccount) GetOptions

func (*MsgRequestAddVestingAccount) GetSignBytes

func (msg *MsgRequestAddVestingAccount) GetSignBytes() []byte

func (*MsgRequestAddVestingAccount) GetSigners

func (msg *MsgRequestAddVestingAccount) GetSigners() []sdk.AccAddress

func (*MsgRequestAddVestingAccount) GetStartingBalance

func (*MsgRequestAddVestingAccount) Marshal

func (m *MsgRequestAddVestingAccount) Marshal() (dAtA []byte, err error)

func (*MsgRequestAddVestingAccount) MarshalTo

func (m *MsgRequestAddVestingAccount) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestAddVestingAccount) MarshalToSizedBuffer

func (m *MsgRequestAddVestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestAddVestingAccount) ProtoMessage

func (*MsgRequestAddVestingAccount) ProtoMessage()

func (*MsgRequestAddVestingAccount) Reset

func (m *MsgRequestAddVestingAccount) Reset()

func (*MsgRequestAddVestingAccount) Route

func (msg *MsgRequestAddVestingAccount) Route() string

func (*MsgRequestAddVestingAccount) Size

func (m *MsgRequestAddVestingAccount) Size() (n int)

func (*MsgRequestAddVestingAccount) String

func (m *MsgRequestAddVestingAccount) String() string

func (*MsgRequestAddVestingAccount) Type

func (msg *MsgRequestAddVestingAccount) Type() string

func (*MsgRequestAddVestingAccount) Unmarshal

func (m *MsgRequestAddVestingAccount) Unmarshal(dAtA []byte) error

func (*MsgRequestAddVestingAccount) ValidateBasic

func (msg *MsgRequestAddVestingAccount) ValidateBasic() error

func (*MsgRequestAddVestingAccount) XXX_DiscardUnknown

func (m *MsgRequestAddVestingAccount) XXX_DiscardUnknown()

func (*MsgRequestAddVestingAccount) XXX_Marshal

func (m *MsgRequestAddVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestAddVestingAccount) XXX_Merge

func (m *MsgRequestAddVestingAccount) XXX_Merge(src proto.Message)

func (*MsgRequestAddVestingAccount) XXX_Size

func (m *MsgRequestAddVestingAccount) XXX_Size() int

func (*MsgRequestAddVestingAccount) XXX_Unmarshal

func (m *MsgRequestAddVestingAccount) XXX_Unmarshal(b []byte) error

type MsgRequestRemoveAccount

type MsgRequestRemoveAccount struct {
	ChainID uint64 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func NewMsgRequestRemoveAccount

func NewMsgRequestRemoveAccount(chainID uint64, creator, address string) *MsgRequestRemoveAccount

func (*MsgRequestRemoveAccount) Descriptor

func (*MsgRequestRemoveAccount) Descriptor() ([]byte, []int)

func (*MsgRequestRemoveAccount) GetAddress

func (m *MsgRequestRemoveAccount) GetAddress() string

func (*MsgRequestRemoveAccount) GetChainID

func (m *MsgRequestRemoveAccount) GetChainID() uint64

func (*MsgRequestRemoveAccount) GetCreator

func (m *MsgRequestRemoveAccount) GetCreator() string

func (*MsgRequestRemoveAccount) GetSignBytes

func (msg *MsgRequestRemoveAccount) GetSignBytes() []byte

func (*MsgRequestRemoveAccount) GetSigners

func (msg *MsgRequestRemoveAccount) GetSigners() []sdk.AccAddress

func (*MsgRequestRemoveAccount) Marshal

func (m *MsgRequestRemoveAccount) Marshal() (dAtA []byte, err error)

func (*MsgRequestRemoveAccount) MarshalTo

func (m *MsgRequestRemoveAccount) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestRemoveAccount) MarshalToSizedBuffer

func (m *MsgRequestRemoveAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestRemoveAccount) ProtoMessage

func (*MsgRequestRemoveAccount) ProtoMessage()

func (*MsgRequestRemoveAccount) Reset

func (m *MsgRequestRemoveAccount) Reset()

func (*MsgRequestRemoveAccount) Route

func (msg *MsgRequestRemoveAccount) Route() string

func (*MsgRequestRemoveAccount) Size

func (m *MsgRequestRemoveAccount) Size() (n int)

func (*MsgRequestRemoveAccount) String

func (m *MsgRequestRemoveAccount) String() string

func (*MsgRequestRemoveAccount) Type

func (msg *MsgRequestRemoveAccount) Type() string

func (*MsgRequestRemoveAccount) Unmarshal

func (m *MsgRequestRemoveAccount) Unmarshal(dAtA []byte) error

func (*MsgRequestRemoveAccount) ValidateBasic

func (msg *MsgRequestRemoveAccount) ValidateBasic() error

func (*MsgRequestRemoveAccount) XXX_DiscardUnknown

func (m *MsgRequestRemoveAccount) XXX_DiscardUnknown()

func (*MsgRequestRemoveAccount) XXX_Marshal

func (m *MsgRequestRemoveAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestRemoveAccount) XXX_Merge

func (m *MsgRequestRemoveAccount) XXX_Merge(src proto.Message)

func (*MsgRequestRemoveAccount) XXX_Size

func (m *MsgRequestRemoveAccount) XXX_Size() int

func (*MsgRequestRemoveAccount) XXX_Unmarshal

func (m *MsgRequestRemoveAccount) XXX_Unmarshal(b []byte) error

type MsgRequestRemoveValidator

type MsgRequestRemoveValidator struct {
	ChainID          uint64 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Creator          string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	ValidatorAddress string `protobuf:"bytes,3,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"`
}

func NewMsgRequestRemoveValidator

func NewMsgRequestRemoveValidator(chainID uint64, creator, validatorAddress string) *MsgRequestRemoveValidator

func (*MsgRequestRemoveValidator) Descriptor

func (*MsgRequestRemoveValidator) Descriptor() ([]byte, []int)

func (*MsgRequestRemoveValidator) GetChainID

func (m *MsgRequestRemoveValidator) GetChainID() uint64

func (*MsgRequestRemoveValidator) GetCreator

func (m *MsgRequestRemoveValidator) GetCreator() string

func (*MsgRequestRemoveValidator) GetSignBytes

func (msg *MsgRequestRemoveValidator) GetSignBytes() []byte

func (*MsgRequestRemoveValidator) GetSigners

func (msg *MsgRequestRemoveValidator) GetSigners() []sdk.AccAddress

func (*MsgRequestRemoveValidator) GetValidatorAddress

func (m *MsgRequestRemoveValidator) GetValidatorAddress() string

func (*MsgRequestRemoveValidator) Marshal

func (m *MsgRequestRemoveValidator) Marshal() (dAtA []byte, err error)

func (*MsgRequestRemoveValidator) MarshalTo

func (m *MsgRequestRemoveValidator) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestRemoveValidator) MarshalToSizedBuffer

func (m *MsgRequestRemoveValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestRemoveValidator) ProtoMessage

func (*MsgRequestRemoveValidator) ProtoMessage()

func (*MsgRequestRemoveValidator) Reset

func (m *MsgRequestRemoveValidator) Reset()

func (*MsgRequestRemoveValidator) Route

func (msg *MsgRequestRemoveValidator) Route() string

func (*MsgRequestRemoveValidator) Size

func (m *MsgRequestRemoveValidator) Size() (n int)

func (*MsgRequestRemoveValidator) String

func (m *MsgRequestRemoveValidator) String() string

func (*MsgRequestRemoveValidator) Type

func (msg *MsgRequestRemoveValidator) Type() string

func (*MsgRequestRemoveValidator) Unmarshal

func (m *MsgRequestRemoveValidator) Unmarshal(dAtA []byte) error

func (*MsgRequestRemoveValidator) ValidateBasic

func (msg *MsgRequestRemoveValidator) ValidateBasic() error

func (*MsgRequestRemoveValidator) XXX_DiscardUnknown

func (m *MsgRequestRemoveValidator) XXX_DiscardUnknown()

func (*MsgRequestRemoveValidator) XXX_Marshal

func (m *MsgRequestRemoveValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestRemoveValidator) XXX_Merge

func (m *MsgRequestRemoveValidator) XXX_Merge(src proto.Message)

func (*MsgRequestRemoveValidator) XXX_Size

func (m *MsgRequestRemoveValidator) XXX_Size() int

func (*MsgRequestRemoveValidator) XXX_Unmarshal

func (m *MsgRequestRemoveValidator) XXX_Unmarshal(b []byte) error

type MsgRequestResponse

type MsgRequestResponse struct {
	RequestID    uint64 `protobuf:"varint,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
	AutoApproved bool   `protobuf:"varint,2,opt,name=autoApproved,proto3" json:"autoApproved,omitempty"`
}

func (*MsgRequestResponse) Descriptor

func (*MsgRequestResponse) Descriptor() ([]byte, []int)

func (*MsgRequestResponse) GetAutoApproved

func (m *MsgRequestResponse) GetAutoApproved() bool

func (*MsgRequestResponse) GetRequestID

func (m *MsgRequestResponse) GetRequestID() uint64

func (*MsgRequestResponse) Marshal

func (m *MsgRequestResponse) Marshal() (dAtA []byte, err error)

func (*MsgRequestResponse) MarshalTo

func (m *MsgRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRequestResponse) MarshalToSizedBuffer

func (m *MsgRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRequestResponse) ProtoMessage

func (*MsgRequestResponse) ProtoMessage()

func (*MsgRequestResponse) Reset

func (m *MsgRequestResponse) Reset()

func (*MsgRequestResponse) Size

func (m *MsgRequestResponse) Size() (n int)

func (*MsgRequestResponse) String

func (m *MsgRequestResponse) String() string

func (*MsgRequestResponse) Unmarshal

func (m *MsgRequestResponse) Unmarshal(dAtA []byte) error

func (*MsgRequestResponse) XXX_DiscardUnknown

func (m *MsgRequestResponse) XXX_DiscardUnknown()

func (*MsgRequestResponse) XXX_Marshal

func (m *MsgRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRequestResponse) XXX_Merge

func (m *MsgRequestResponse) XXX_Merge(src proto.Message)

func (*MsgRequestResponse) XXX_Size

func (m *MsgRequestResponse) XXX_Size() int

func (*MsgRequestResponse) XXX_Unmarshal

func (m *MsgRequestResponse) XXX_Unmarshal(b []byte) error

type MsgRevertLaunch

type MsgRevertLaunch struct {
	Coordinator string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
	ChainID     uint64 `protobuf:"varint,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
}

func NewMsgRevertLaunch

func NewMsgRevertLaunch(coordinator string, chainID uint64) *MsgRevertLaunch

func (*MsgRevertLaunch) Descriptor

func (*MsgRevertLaunch) Descriptor() ([]byte, []int)

func (*MsgRevertLaunch) GetChainID

func (m *MsgRevertLaunch) GetChainID() uint64

func (*MsgRevertLaunch) GetCoordinator

func (m *MsgRevertLaunch) GetCoordinator() string

func (*MsgRevertLaunch) GetSignBytes

func (msg *MsgRevertLaunch) GetSignBytes() []byte

func (*MsgRevertLaunch) GetSigners

func (msg *MsgRevertLaunch) GetSigners() []sdk.AccAddress

func (*MsgRevertLaunch) Marshal

func (m *MsgRevertLaunch) Marshal() (dAtA []byte, err error)

func (*MsgRevertLaunch) MarshalTo

func (m *MsgRevertLaunch) MarshalTo(dAtA []byte) (int, error)

func (*MsgRevertLaunch) MarshalToSizedBuffer

func (m *MsgRevertLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRevertLaunch) ProtoMessage

func (*MsgRevertLaunch) ProtoMessage()

func (*MsgRevertLaunch) Reset

func (m *MsgRevertLaunch) Reset()

func (*MsgRevertLaunch) Route

func (msg *MsgRevertLaunch) Route() string

func (*MsgRevertLaunch) Size

func (m *MsgRevertLaunch) Size() (n int)

func (*MsgRevertLaunch) String

func (m *MsgRevertLaunch) String() string

func (*MsgRevertLaunch) Type

func (msg *MsgRevertLaunch) Type() string

func (*MsgRevertLaunch) Unmarshal

func (m *MsgRevertLaunch) Unmarshal(dAtA []byte) error

func (*MsgRevertLaunch) ValidateBasic

func (msg *MsgRevertLaunch) ValidateBasic() error

func (*MsgRevertLaunch) XXX_DiscardUnknown

func (m *MsgRevertLaunch) XXX_DiscardUnknown()

func (*MsgRevertLaunch) XXX_Marshal

func (m *MsgRevertLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRevertLaunch) XXX_Merge

func (m *MsgRevertLaunch) XXX_Merge(src proto.Message)

func (*MsgRevertLaunch) XXX_Size

func (m *MsgRevertLaunch) XXX_Size() int

func (*MsgRevertLaunch) XXX_Unmarshal

func (m *MsgRevertLaunch) XXX_Unmarshal(b []byte) error

type MsgRevertLaunchResponse

type MsgRevertLaunchResponse struct {
}

func (*MsgRevertLaunchResponse) Descriptor

func (*MsgRevertLaunchResponse) Descriptor() ([]byte, []int)

func (*MsgRevertLaunchResponse) Marshal

func (m *MsgRevertLaunchResponse) Marshal() (dAtA []byte, err error)

func (*MsgRevertLaunchResponse) MarshalTo

func (m *MsgRevertLaunchResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRevertLaunchResponse) MarshalToSizedBuffer

func (m *MsgRevertLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRevertLaunchResponse) ProtoMessage

func (*MsgRevertLaunchResponse) ProtoMessage()

func (*MsgRevertLaunchResponse) Reset

func (m *MsgRevertLaunchResponse) Reset()

func (*MsgRevertLaunchResponse) Size

func (m *MsgRevertLaunchResponse) Size() (n int)

func (*MsgRevertLaunchResponse) String

func (m *MsgRevertLaunchResponse) String() string

func (*MsgRevertLaunchResponse) Unmarshal

func (m *MsgRevertLaunchResponse) Unmarshal(dAtA []byte) error

func (*MsgRevertLaunchResponse) XXX_DiscardUnknown

func (m *MsgRevertLaunchResponse) XXX_DiscardUnknown()

func (*MsgRevertLaunchResponse) XXX_Marshal

func (m *MsgRevertLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRevertLaunchResponse) XXX_Merge

func (m *MsgRevertLaunchResponse) XXX_Merge(src proto.Message)

func (*MsgRevertLaunchResponse) XXX_Size

func (m *MsgRevertLaunchResponse) XXX_Size() int

func (*MsgRevertLaunchResponse) XXX_Unmarshal

func (m *MsgRevertLaunchResponse) XXX_Unmarshal(b []byte) error

type MsgServer

MsgServer is the server API for Msg service.

type MsgSettleRequest

type MsgSettleRequest struct {
	Coordinator string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
	ChainID     uint64 `protobuf:"varint,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	RequestID   uint64 `protobuf:"varint,3,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Approve     bool   `protobuf:"varint,4,opt,name=approve,proto3" json:"approve,omitempty"`
}

func NewMsgSettleRequest

func NewMsgSettleRequest(coordinator string, chainID uint64, requestID uint64, approve bool) *MsgSettleRequest

func (*MsgSettleRequest) Descriptor

func (*MsgSettleRequest) Descriptor() ([]byte, []int)

func (*MsgSettleRequest) GetApprove

func (m *MsgSettleRequest) GetApprove() bool

func (*MsgSettleRequest) GetChainID

func (m *MsgSettleRequest) GetChainID() uint64

func (*MsgSettleRequest) GetCoordinator

func (m *MsgSettleRequest) GetCoordinator() string

func (*MsgSettleRequest) GetRequestID

func (m *MsgSettleRequest) GetRequestID() uint64

func (*MsgSettleRequest) GetSignBytes

func (msg *MsgSettleRequest) GetSignBytes() []byte

func (*MsgSettleRequest) GetSigners

func (msg *MsgSettleRequest) GetSigners() []sdk.AccAddress

func (*MsgSettleRequest) Marshal

func (m *MsgSettleRequest) Marshal() (dAtA []byte, err error)

func (*MsgSettleRequest) MarshalTo

func (m *MsgSettleRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSettleRequest) MarshalToSizedBuffer

func (m *MsgSettleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSettleRequest) ProtoMessage

func (*MsgSettleRequest) ProtoMessage()

func (*MsgSettleRequest) Reset

func (m *MsgSettleRequest) Reset()

func (*MsgSettleRequest) Route

func (msg *MsgSettleRequest) Route() string

func (*MsgSettleRequest) Size

func (m *MsgSettleRequest) Size() (n int)

func (*MsgSettleRequest) String

func (m *MsgSettleRequest) String() string

func (*MsgSettleRequest) Type

func (msg *MsgSettleRequest) Type() string

func (*MsgSettleRequest) Unmarshal

func (m *MsgSettleRequest) Unmarshal(dAtA []byte) error

func (*MsgSettleRequest) ValidateBasic

func (msg *MsgSettleRequest) ValidateBasic() error

func (*MsgSettleRequest) XXX_DiscardUnknown

func (m *MsgSettleRequest) XXX_DiscardUnknown()

func (*MsgSettleRequest) XXX_Marshal

func (m *MsgSettleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSettleRequest) XXX_Merge

func (m *MsgSettleRequest) XXX_Merge(src proto.Message)

func (*MsgSettleRequest) XXX_Size

func (m *MsgSettleRequest) XXX_Size() int

func (*MsgSettleRequest) XXX_Unmarshal

func (m *MsgSettleRequest) XXX_Unmarshal(b []byte) error

type MsgSettleRequestResponse

type MsgSettleRequestResponse struct {
}

func (*MsgSettleRequestResponse) Descriptor

func (*MsgSettleRequestResponse) Descriptor() ([]byte, []int)

func (*MsgSettleRequestResponse) Marshal

func (m *MsgSettleRequestResponse) Marshal() (dAtA []byte, err error)

func (*MsgSettleRequestResponse) MarshalTo

func (m *MsgSettleRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSettleRequestResponse) MarshalToSizedBuffer

func (m *MsgSettleRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSettleRequestResponse) ProtoMessage

func (*MsgSettleRequestResponse) ProtoMessage()

func (*MsgSettleRequestResponse) Reset

func (m *MsgSettleRequestResponse) Reset()

func (*MsgSettleRequestResponse) Size

func (m *MsgSettleRequestResponse) Size() (n int)

func (*MsgSettleRequestResponse) String

func (m *MsgSettleRequestResponse) String() string

func (*MsgSettleRequestResponse) Unmarshal

func (m *MsgSettleRequestResponse) Unmarshal(dAtA []byte) error

func (*MsgSettleRequestResponse) XXX_DiscardUnknown

func (m *MsgSettleRequestResponse) XXX_DiscardUnknown()

func (*MsgSettleRequestResponse) XXX_Marshal

func (m *MsgSettleRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSettleRequestResponse) XXX_Merge

func (m *MsgSettleRequestResponse) XXX_Merge(src proto.Message)

func (*MsgSettleRequestResponse) XXX_Size

func (m *MsgSettleRequestResponse) XXX_Size() int

func (*MsgSettleRequestResponse) XXX_Unmarshal

func (m *MsgSettleRequestResponse) XXX_Unmarshal(b []byte) error

type MsgTriggerLaunch

type MsgTriggerLaunch struct {
	Coordinator   string `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator,omitempty"`
	ChainID       uint64 `protobuf:"varint,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	RemainingTime uint64 `protobuf:"varint,3,opt,name=remainingTime,proto3" json:"remainingTime,omitempty"`
}

func NewMsgTriggerLaunch

func NewMsgTriggerLaunch(coordinator string, chainID, remainingTime uint64) *MsgTriggerLaunch

func (*MsgTriggerLaunch) Descriptor

func (*MsgTriggerLaunch) Descriptor() ([]byte, []int)

func (*MsgTriggerLaunch) GetChainID

func (m *MsgTriggerLaunch) GetChainID() uint64

func (*MsgTriggerLaunch) GetCoordinator

func (m *MsgTriggerLaunch) GetCoordinator() string

func (*MsgTriggerLaunch) GetRemainingTime

func (m *MsgTriggerLaunch) GetRemainingTime() uint64

func (*MsgTriggerLaunch) GetSignBytes

func (msg *MsgTriggerLaunch) GetSignBytes() []byte

func (*MsgTriggerLaunch) GetSigners

func (msg *MsgTriggerLaunch) GetSigners() []sdk.AccAddress

func (*MsgTriggerLaunch) Marshal

func (m *MsgTriggerLaunch) Marshal() (dAtA []byte, err error)

func (*MsgTriggerLaunch) MarshalTo

func (m *MsgTriggerLaunch) MarshalTo(dAtA []byte) (int, error)

func (*MsgTriggerLaunch) MarshalToSizedBuffer

func (m *MsgTriggerLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTriggerLaunch) ProtoMessage

func (*MsgTriggerLaunch) ProtoMessage()

func (*MsgTriggerLaunch) Reset

func (m *MsgTriggerLaunch) Reset()

func (*MsgTriggerLaunch) Route

func (msg *MsgTriggerLaunch) Route() string

func (*MsgTriggerLaunch) Size

func (m *MsgTriggerLaunch) Size() (n int)

func (*MsgTriggerLaunch) String

func (m *MsgTriggerLaunch) String() string

func (*MsgTriggerLaunch) Type

func (msg *MsgTriggerLaunch) Type() string

func (*MsgTriggerLaunch) Unmarshal

func (m *MsgTriggerLaunch) Unmarshal(dAtA []byte) error

func (*MsgTriggerLaunch) ValidateBasic

func (msg *MsgTriggerLaunch) ValidateBasic() error

func (*MsgTriggerLaunch) XXX_DiscardUnknown

func (m *MsgTriggerLaunch) XXX_DiscardUnknown()

func (*MsgTriggerLaunch) XXX_Marshal

func (m *MsgTriggerLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTriggerLaunch) XXX_Merge

func (m *MsgTriggerLaunch) XXX_Merge(src proto.Message)

func (*MsgTriggerLaunch) XXX_Size

func (m *MsgTriggerLaunch) XXX_Size() int

func (*MsgTriggerLaunch) XXX_Unmarshal

func (m *MsgTriggerLaunch) XXX_Unmarshal(b []byte) error

type MsgTriggerLaunchResponse

type MsgTriggerLaunchResponse struct {
}

func (*MsgTriggerLaunchResponse) Descriptor

func (*MsgTriggerLaunchResponse) Descriptor() ([]byte, []int)

func (*MsgTriggerLaunchResponse) Marshal

func (m *MsgTriggerLaunchResponse) Marshal() (dAtA []byte, err error)

func (*MsgTriggerLaunchResponse) MarshalTo

func (m *MsgTriggerLaunchResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgTriggerLaunchResponse) MarshalToSizedBuffer

func (m *MsgTriggerLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTriggerLaunchResponse) ProtoMessage

func (*MsgTriggerLaunchResponse) ProtoMessage()

func (*MsgTriggerLaunchResponse) Reset

func (m *MsgTriggerLaunchResponse) Reset()

func (*MsgTriggerLaunchResponse) Size

func (m *MsgTriggerLaunchResponse) Size() (n int)

func (*MsgTriggerLaunchResponse) String

func (m *MsgTriggerLaunchResponse) String() string

func (*MsgTriggerLaunchResponse) Unmarshal

func (m *MsgTriggerLaunchResponse) Unmarshal(dAtA []byte) error

func (*MsgTriggerLaunchResponse) XXX_DiscardUnknown

func (m *MsgTriggerLaunchResponse) XXX_DiscardUnknown()

func (*MsgTriggerLaunchResponse) XXX_Marshal

func (m *MsgTriggerLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTriggerLaunchResponse) XXX_Merge

func (m *MsgTriggerLaunchResponse) XXX_Merge(src proto.Message)

func (*MsgTriggerLaunchResponse) XXX_Size

func (m *MsgTriggerLaunchResponse) XXX_Size() int

func (*MsgTriggerLaunchResponse) XXX_Unmarshal

func (m *MsgTriggerLaunchResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	MinLaunchTime uint64 `protobuf:"varint,1,opt,name=minLaunchTime,proto3" json:"minLaunchTime,omitempty"`
	MaxLaunchTime uint64 `protobuf:"varint,2,opt,name=maxLaunchTime,proto3" json:"maxLaunchTime,omitempty"`
}

Params defines the parameters for the staking module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(minLaunchTime, maxLaunchTime uint64) Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetMaxLaunchTime

func (m *Params) GetMaxLaunchTime() uint64

func (*Params) GetMinLaunchTime

func (m *Params) GetMinLaunchTime() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type ProfileKeeper

type ProfileKeeper interface {
	CoordinatorIDFromAddress(ctx sdk.Context, address string) (id uint64, found bool)
	GetCoordinatorAddressFromID(ctx sdk.Context, id uint64) (address string, found bool)
}

type QueryAllChainRequest

type QueryAllChainRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllChainRequest) Descriptor

func (*QueryAllChainRequest) Descriptor() ([]byte, []int)

func (*QueryAllChainRequest) GetPagination

func (m *QueryAllChainRequest) GetPagination() *query.PageRequest

func (*QueryAllChainRequest) Marshal

func (m *QueryAllChainRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllChainRequest) MarshalTo

func (m *QueryAllChainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllChainRequest) MarshalToSizedBuffer

func (m *QueryAllChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllChainRequest) ProtoMessage

func (*QueryAllChainRequest) ProtoMessage()

func (*QueryAllChainRequest) Reset

func (m *QueryAllChainRequest) Reset()

func (*QueryAllChainRequest) Size

func (m *QueryAllChainRequest) Size() (n int)

func (*QueryAllChainRequest) String

func (m *QueryAllChainRequest) String() string

func (*QueryAllChainRequest) Unmarshal

func (m *QueryAllChainRequest) Unmarshal(dAtA []byte) error

func (*QueryAllChainRequest) XXX_DiscardUnknown

func (m *QueryAllChainRequest) XXX_DiscardUnknown()

func (*QueryAllChainRequest) XXX_Marshal

func (m *QueryAllChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllChainRequest) XXX_Merge

func (m *QueryAllChainRequest) XXX_Merge(src proto.Message)

func (*QueryAllChainRequest) XXX_Size

func (m *QueryAllChainRequest) XXX_Size() int

func (*QueryAllChainRequest) XXX_Unmarshal

func (m *QueryAllChainRequest) XXX_Unmarshal(b []byte) error

type QueryAllChainResponse

type QueryAllChainResponse struct {
	Chain      []Chain             `protobuf:"bytes,1,rep,name=chain,proto3" json:"chain"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllChainResponse) Descriptor

func (*QueryAllChainResponse) Descriptor() ([]byte, []int)

func (*QueryAllChainResponse) GetChain

func (m *QueryAllChainResponse) GetChain() []Chain

func (*QueryAllChainResponse) GetPagination

func (m *QueryAllChainResponse) GetPagination() *query.PageResponse

func (*QueryAllChainResponse) Marshal

func (m *QueryAllChainResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllChainResponse) MarshalTo

func (m *QueryAllChainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllChainResponse) MarshalToSizedBuffer

func (m *QueryAllChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllChainResponse) ProtoMessage

func (*QueryAllChainResponse) ProtoMessage()

func (*QueryAllChainResponse) Reset

func (m *QueryAllChainResponse) Reset()

func (*QueryAllChainResponse) Size

func (m *QueryAllChainResponse) Size() (n int)

func (*QueryAllChainResponse) String

func (m *QueryAllChainResponse) String() string

func (*QueryAllChainResponse) Unmarshal

func (m *QueryAllChainResponse) Unmarshal(dAtA []byte) error

func (*QueryAllChainResponse) XXX_DiscardUnknown

func (m *QueryAllChainResponse) XXX_DiscardUnknown()

func (*QueryAllChainResponse) XXX_Marshal

func (m *QueryAllChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllChainResponse) XXX_Merge

func (m *QueryAllChainResponse) XXX_Merge(src proto.Message)

func (*QueryAllChainResponse) XXX_Size

func (m *QueryAllChainResponse) XXX_Size() int

func (*QueryAllChainResponse) XXX_Unmarshal

func (m *QueryAllChainResponse) XXX_Unmarshal(b []byte) error

type QueryAllGenesisAccountRequest

type QueryAllGenesisAccountRequest struct {
	ChainID    uint64             `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllGenesisAccountRequest) Descriptor

func (*QueryAllGenesisAccountRequest) Descriptor() ([]byte, []int)

func (*QueryAllGenesisAccountRequest) GetChainID

func (m *QueryAllGenesisAccountRequest) GetChainID() uint64

func (*QueryAllGenesisAccountRequest) GetPagination

func (m *QueryAllGenesisAccountRequest) GetPagination() *query.PageRequest

func (*QueryAllGenesisAccountRequest) Marshal

func (m *QueryAllGenesisAccountRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllGenesisAccountRequest) MarshalTo

func (m *QueryAllGenesisAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllGenesisAccountRequest) MarshalToSizedBuffer

func (m *QueryAllGenesisAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllGenesisAccountRequest) ProtoMessage

func (*QueryAllGenesisAccountRequest) ProtoMessage()

func (*QueryAllGenesisAccountRequest) Reset

func (m *QueryAllGenesisAccountRequest) Reset()

func (*QueryAllGenesisAccountRequest) Size

func (m *QueryAllGenesisAccountRequest) Size() (n int)

func (*QueryAllGenesisAccountRequest) String

func (*QueryAllGenesisAccountRequest) Unmarshal

func (m *QueryAllGenesisAccountRequest) Unmarshal(dAtA []byte) error

func (*QueryAllGenesisAccountRequest) XXX_DiscardUnknown

func (m *QueryAllGenesisAccountRequest) XXX_DiscardUnknown()

func (*QueryAllGenesisAccountRequest) XXX_Marshal

func (m *QueryAllGenesisAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllGenesisAccountRequest) XXX_Merge

func (m *QueryAllGenesisAccountRequest) XXX_Merge(src proto.Message)

func (*QueryAllGenesisAccountRequest) XXX_Size

func (m *QueryAllGenesisAccountRequest) XXX_Size() int

func (*QueryAllGenesisAccountRequest) XXX_Unmarshal

func (m *QueryAllGenesisAccountRequest) XXX_Unmarshal(b []byte) error

type QueryAllGenesisAccountResponse

type QueryAllGenesisAccountResponse struct {
	GenesisAccount []GenesisAccount    `protobuf:"bytes,1,rep,name=genesisAccount,proto3" json:"genesisAccount"`
	Pagination     *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllGenesisAccountResponse) Descriptor

func (*QueryAllGenesisAccountResponse) Descriptor() ([]byte, []int)

func (*QueryAllGenesisAccountResponse) GetGenesisAccount

func (m *QueryAllGenesisAccountResponse) GetGenesisAccount() []GenesisAccount

func (*QueryAllGenesisAccountResponse) GetPagination

func (*QueryAllGenesisAccountResponse) Marshal

func (m *QueryAllGenesisAccountResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllGenesisAccountResponse) MarshalTo

func (m *QueryAllGenesisAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllGenesisAccountResponse) MarshalToSizedBuffer

func (m *QueryAllGenesisAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllGenesisAccountResponse) ProtoMessage

func (*QueryAllGenesisAccountResponse) ProtoMessage()

func (*QueryAllGenesisAccountResponse) Reset

func (m *QueryAllGenesisAccountResponse) Reset()

func (*QueryAllGenesisAccountResponse) Size

func (m *QueryAllGenesisAccountResponse) Size() (n int)

func (*QueryAllGenesisAccountResponse) String

func (*QueryAllGenesisAccountResponse) Unmarshal

func (m *QueryAllGenesisAccountResponse) Unmarshal(dAtA []byte) error

func (*QueryAllGenesisAccountResponse) XXX_DiscardUnknown

func (m *QueryAllGenesisAccountResponse) XXX_DiscardUnknown()

func (*QueryAllGenesisAccountResponse) XXX_Marshal

func (m *QueryAllGenesisAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllGenesisAccountResponse) XXX_Merge

func (m *QueryAllGenesisAccountResponse) XXX_Merge(src proto.Message)

func (*QueryAllGenesisAccountResponse) XXX_Size

func (m *QueryAllGenesisAccountResponse) XXX_Size() int

func (*QueryAllGenesisAccountResponse) XXX_Unmarshal

func (m *QueryAllGenesisAccountResponse) XXX_Unmarshal(b []byte) error

type QueryAllGenesisValidatorRequest

type QueryAllGenesisValidatorRequest struct {
	ChainID    uint64             `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllGenesisValidatorRequest) Descriptor

func (*QueryAllGenesisValidatorRequest) Descriptor() ([]byte, []int)

func (*QueryAllGenesisValidatorRequest) GetChainID

func (m *QueryAllGenesisValidatorRequest) GetChainID() uint64

func (*QueryAllGenesisValidatorRequest) GetPagination

func (*QueryAllGenesisValidatorRequest) Marshal

func (m *QueryAllGenesisValidatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllGenesisValidatorRequest) MarshalTo

func (m *QueryAllGenesisValidatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllGenesisValidatorRequest) MarshalToSizedBuffer

func (m *QueryAllGenesisValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllGenesisValidatorRequest) ProtoMessage

func (*QueryAllGenesisValidatorRequest) ProtoMessage()

func (*QueryAllGenesisValidatorRequest) Reset

func (*QueryAllGenesisValidatorRequest) Size

func (m *QueryAllGenesisValidatorRequest) Size() (n int)

func (*QueryAllGenesisValidatorRequest) String

func (*QueryAllGenesisValidatorRequest) Unmarshal

func (m *QueryAllGenesisValidatorRequest) Unmarshal(dAtA []byte) error

func (*QueryAllGenesisValidatorRequest) XXX_DiscardUnknown

func (m *QueryAllGenesisValidatorRequest) XXX_DiscardUnknown()

func (*QueryAllGenesisValidatorRequest) XXX_Marshal

func (m *QueryAllGenesisValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllGenesisValidatorRequest) XXX_Merge

func (m *QueryAllGenesisValidatorRequest) XXX_Merge(src proto.Message)

func (*QueryAllGenesisValidatorRequest) XXX_Size

func (m *QueryAllGenesisValidatorRequest) XXX_Size() int

func (*QueryAllGenesisValidatorRequest) XXX_Unmarshal

func (m *QueryAllGenesisValidatorRequest) XXX_Unmarshal(b []byte) error

type QueryAllGenesisValidatorResponse

type QueryAllGenesisValidatorResponse struct {
	GenesisValidator []GenesisValidator  `protobuf:"bytes,1,rep,name=genesisValidator,proto3" json:"genesisValidator"`
	Pagination       *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllGenesisValidatorResponse) Descriptor

func (*QueryAllGenesisValidatorResponse) Descriptor() ([]byte, []int)

func (*QueryAllGenesisValidatorResponse) GetGenesisValidator

func (m *QueryAllGenesisValidatorResponse) GetGenesisValidator() []GenesisValidator

func (*QueryAllGenesisValidatorResponse) GetPagination

func (*QueryAllGenesisValidatorResponse) Marshal

func (m *QueryAllGenesisValidatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllGenesisValidatorResponse) MarshalTo

func (m *QueryAllGenesisValidatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllGenesisValidatorResponse) MarshalToSizedBuffer

func (m *QueryAllGenesisValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllGenesisValidatorResponse) ProtoMessage

func (*QueryAllGenesisValidatorResponse) ProtoMessage()

func (*QueryAllGenesisValidatorResponse) Reset

func (*QueryAllGenesisValidatorResponse) Size

func (m *QueryAllGenesisValidatorResponse) Size() (n int)

func (*QueryAllGenesisValidatorResponse) String

func (*QueryAllGenesisValidatorResponse) Unmarshal

func (m *QueryAllGenesisValidatorResponse) Unmarshal(dAtA []byte) error

func (*QueryAllGenesisValidatorResponse) XXX_DiscardUnknown

func (m *QueryAllGenesisValidatorResponse) XXX_DiscardUnknown()

func (*QueryAllGenesisValidatorResponse) XXX_Marshal

func (m *QueryAllGenesisValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllGenesisValidatorResponse) XXX_Merge

func (*QueryAllGenesisValidatorResponse) XXX_Size

func (m *QueryAllGenesisValidatorResponse) XXX_Size() int

func (*QueryAllGenesisValidatorResponse) XXX_Unmarshal

func (m *QueryAllGenesisValidatorResponse) XXX_Unmarshal(b []byte) error

type QueryAllRequestRequest

type QueryAllRequestRequest struct {
	ChainID    uint64             `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllRequestRequest) Descriptor

func (*QueryAllRequestRequest) Descriptor() ([]byte, []int)

func (*QueryAllRequestRequest) GetChainID

func (m *QueryAllRequestRequest) GetChainID() uint64

func (*QueryAllRequestRequest) GetPagination

func (m *QueryAllRequestRequest) GetPagination() *query.PageRequest

func (*QueryAllRequestRequest) Marshal

func (m *QueryAllRequestRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllRequestRequest) MarshalTo

func (m *QueryAllRequestRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllRequestRequest) MarshalToSizedBuffer

func (m *QueryAllRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllRequestRequest) ProtoMessage

func (*QueryAllRequestRequest) ProtoMessage()

func (*QueryAllRequestRequest) Reset

func (m *QueryAllRequestRequest) Reset()

func (*QueryAllRequestRequest) Size

func (m *QueryAllRequestRequest) Size() (n int)

func (*QueryAllRequestRequest) String

func (m *QueryAllRequestRequest) String() string

func (*QueryAllRequestRequest) Unmarshal

func (m *QueryAllRequestRequest) Unmarshal(dAtA []byte) error

func (*QueryAllRequestRequest) XXX_DiscardUnknown

func (m *QueryAllRequestRequest) XXX_DiscardUnknown()

func (*QueryAllRequestRequest) XXX_Marshal

func (m *QueryAllRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllRequestRequest) XXX_Merge

func (m *QueryAllRequestRequest) XXX_Merge(src proto.Message)

func (*QueryAllRequestRequest) XXX_Size

func (m *QueryAllRequestRequest) XXX_Size() int

func (*QueryAllRequestRequest) XXX_Unmarshal

func (m *QueryAllRequestRequest) XXX_Unmarshal(b []byte) error

type QueryAllRequestResponse

type QueryAllRequestResponse struct {
	Request    []Request           `protobuf:"bytes,1,rep,name=request,proto3" json:"request"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllRequestResponse) Descriptor

func (*QueryAllRequestResponse) Descriptor() ([]byte, []int)

func (*QueryAllRequestResponse) GetPagination

func (m *QueryAllRequestResponse) GetPagination() *query.PageResponse

func (*QueryAllRequestResponse) GetRequest

func (m *QueryAllRequestResponse) GetRequest() []Request

func (*QueryAllRequestResponse) Marshal

func (m *QueryAllRequestResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllRequestResponse) MarshalTo

func (m *QueryAllRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllRequestResponse) MarshalToSizedBuffer

func (m *QueryAllRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllRequestResponse) ProtoMessage

func (*QueryAllRequestResponse) ProtoMessage()

func (*QueryAllRequestResponse) Reset

func (m *QueryAllRequestResponse) Reset()

func (*QueryAllRequestResponse) Size

func (m *QueryAllRequestResponse) Size() (n int)

func (*QueryAllRequestResponse) String

func (m *QueryAllRequestResponse) String() string

func (*QueryAllRequestResponse) Unmarshal

func (m *QueryAllRequestResponse) Unmarshal(dAtA []byte) error

func (*QueryAllRequestResponse) XXX_DiscardUnknown

func (m *QueryAllRequestResponse) XXX_DiscardUnknown()

func (*QueryAllRequestResponse) XXX_Marshal

func (m *QueryAllRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllRequestResponse) XXX_Merge

func (m *QueryAllRequestResponse) XXX_Merge(src proto.Message)

func (*QueryAllRequestResponse) XXX_Size

func (m *QueryAllRequestResponse) XXX_Size() int

func (*QueryAllRequestResponse) XXX_Unmarshal

func (m *QueryAllRequestResponse) XXX_Unmarshal(b []byte) error

type QueryAllVestingAccountRequest

type QueryAllVestingAccountRequest struct {
	ChainID    uint64             `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllVestingAccountRequest) Descriptor

func (*QueryAllVestingAccountRequest) Descriptor() ([]byte, []int)

func (*QueryAllVestingAccountRequest) GetChainID

func (m *QueryAllVestingAccountRequest) GetChainID() uint64

func (*QueryAllVestingAccountRequest) GetPagination

func (m *QueryAllVestingAccountRequest) GetPagination() *query.PageRequest

func (*QueryAllVestingAccountRequest) Marshal

func (m *QueryAllVestingAccountRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllVestingAccountRequest) MarshalTo

func (m *QueryAllVestingAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllVestingAccountRequest) MarshalToSizedBuffer

func (m *QueryAllVestingAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllVestingAccountRequest) ProtoMessage

func (*QueryAllVestingAccountRequest) ProtoMessage()

func (*QueryAllVestingAccountRequest) Reset

func (m *QueryAllVestingAccountRequest) Reset()

func (*QueryAllVestingAccountRequest) Size

func (m *QueryAllVestingAccountRequest) Size() (n int)

func (*QueryAllVestingAccountRequest) String

func (*QueryAllVestingAccountRequest) Unmarshal

func (m *QueryAllVestingAccountRequest) Unmarshal(dAtA []byte) error

func (*QueryAllVestingAccountRequest) XXX_DiscardUnknown

func (m *QueryAllVestingAccountRequest) XXX_DiscardUnknown()

func (*QueryAllVestingAccountRequest) XXX_Marshal

func (m *QueryAllVestingAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllVestingAccountRequest) XXX_Merge

func (m *QueryAllVestingAccountRequest) XXX_Merge(src proto.Message)

func (*QueryAllVestingAccountRequest) XXX_Size

func (m *QueryAllVestingAccountRequest) XXX_Size() int

func (*QueryAllVestingAccountRequest) XXX_Unmarshal

func (m *QueryAllVestingAccountRequest) XXX_Unmarshal(b []byte) error

type QueryAllVestingAccountResponse

type QueryAllVestingAccountResponse struct {
	VestingAccount []VestingAccount    `protobuf:"bytes,1,rep,name=vestingAccount,proto3" json:"vestingAccount"`
	Pagination     *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllVestingAccountResponse) Descriptor

func (*QueryAllVestingAccountResponse) Descriptor() ([]byte, []int)

func (*QueryAllVestingAccountResponse) GetPagination

func (*QueryAllVestingAccountResponse) GetVestingAccount

func (m *QueryAllVestingAccountResponse) GetVestingAccount() []VestingAccount

func (*QueryAllVestingAccountResponse) Marshal

func (m *QueryAllVestingAccountResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllVestingAccountResponse) MarshalTo

func (m *QueryAllVestingAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllVestingAccountResponse) MarshalToSizedBuffer

func (m *QueryAllVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllVestingAccountResponse) ProtoMessage

func (*QueryAllVestingAccountResponse) ProtoMessage()

func (*QueryAllVestingAccountResponse) Reset

func (m *QueryAllVestingAccountResponse) Reset()

func (*QueryAllVestingAccountResponse) Size

func (m *QueryAllVestingAccountResponse) Size() (n int)

func (*QueryAllVestingAccountResponse) String

func (*QueryAllVestingAccountResponse) Unmarshal

func (m *QueryAllVestingAccountResponse) Unmarshal(dAtA []byte) error

func (*QueryAllVestingAccountResponse) XXX_DiscardUnknown

func (m *QueryAllVestingAccountResponse) XXX_DiscardUnknown()

func (*QueryAllVestingAccountResponse) XXX_Marshal

func (m *QueryAllVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllVestingAccountResponse) XXX_Merge

func (m *QueryAllVestingAccountResponse) XXX_Merge(src proto.Message)

func (*QueryAllVestingAccountResponse) XXX_Size

func (m *QueryAllVestingAccountResponse) XXX_Size() int

func (*QueryAllVestingAccountResponse) XXX_Unmarshal

func (m *QueryAllVestingAccountResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Queries a chain by index.
	Chain(ctx context.Context, in *QueryGetChainRequest, opts ...grpc.CallOption) (*QueryGetChainResponse, error)
	// Queries a list of chain items.
	ChainAll(ctx context.Context, in *QueryAllChainRequest, opts ...grpc.CallOption) (*QueryAllChainResponse, error)
	// Queries a genesisAccount by index.
	GenesisAccount(ctx context.Context, in *QueryGetGenesisAccountRequest, opts ...grpc.CallOption) (*QueryGetGenesisAccountResponse, error)
	// Queries a list of genesisAccount items.
	GenesisAccountAll(ctx context.Context, in *QueryAllGenesisAccountRequest, opts ...grpc.CallOption) (*QueryAllGenesisAccountResponse, error)
	// Queries a vestingAccount by index.
	VestingAccount(ctx context.Context, in *QueryGetVestingAccountRequest, opts ...grpc.CallOption) (*QueryGetVestingAccountResponse, error)
	// Queries a list of vestingAccount items.
	VestingAccountAll(ctx context.Context, in *QueryAllVestingAccountRequest, opts ...grpc.CallOption) (*QueryAllVestingAccountResponse, error)
	// Queries a genesisValidator by index.
	GenesisValidator(ctx context.Context, in *QueryGetGenesisValidatorRequest, opts ...grpc.CallOption) (*QueryGetGenesisValidatorResponse, error)
	// Queries a list of genesisValidator items.
	GenesisValidatorAll(ctx context.Context, in *QueryAllGenesisValidatorRequest, opts ...grpc.CallOption) (*QueryAllGenesisValidatorResponse, error)
	// Queries a request by index.
	Request(ctx context.Context, in *QueryGetRequestRequest, opts ...grpc.CallOption) (*QueryGetRequestResponse, error)
	// Queries a list of request for a chain.
	RequestAll(ctx context.Context, in *QueryAllRequestRequest, opts ...grpc.CallOption) (*QueryAllRequestResponse, error)
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetChainRequest

type QueryGetChainRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryGetChainRequest) Descriptor

func (*QueryGetChainRequest) Descriptor() ([]byte, []int)

func (*QueryGetChainRequest) GetId

func (m *QueryGetChainRequest) GetId() uint64

func (*QueryGetChainRequest) Marshal

func (m *QueryGetChainRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetChainRequest) MarshalTo

func (m *QueryGetChainRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetChainRequest) MarshalToSizedBuffer

func (m *QueryGetChainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetChainRequest) ProtoMessage

func (*QueryGetChainRequest) ProtoMessage()

func (*QueryGetChainRequest) Reset

func (m *QueryGetChainRequest) Reset()

func (*QueryGetChainRequest) Size

func (m *QueryGetChainRequest) Size() (n int)

func (*QueryGetChainRequest) String

func (m *QueryGetChainRequest) String() string

func (*QueryGetChainRequest) Unmarshal

func (m *QueryGetChainRequest) Unmarshal(dAtA []byte) error

func (*QueryGetChainRequest) XXX_DiscardUnknown

func (m *QueryGetChainRequest) XXX_DiscardUnknown()

func (*QueryGetChainRequest) XXX_Marshal

func (m *QueryGetChainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetChainRequest) XXX_Merge

func (m *QueryGetChainRequest) XXX_Merge(src proto.Message)

func (*QueryGetChainRequest) XXX_Size

func (m *QueryGetChainRequest) XXX_Size() int

func (*QueryGetChainRequest) XXX_Unmarshal

func (m *QueryGetChainRequest) XXX_Unmarshal(b []byte) error

type QueryGetChainResponse

type QueryGetChainResponse struct {
	Chain Chain `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain"`
}

func (*QueryGetChainResponse) Descriptor

func (*QueryGetChainResponse) Descriptor() ([]byte, []int)

func (*QueryGetChainResponse) GetChain

func (m *QueryGetChainResponse) GetChain() Chain

func (*QueryGetChainResponse) Marshal

func (m *QueryGetChainResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetChainResponse) MarshalTo

func (m *QueryGetChainResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetChainResponse) MarshalToSizedBuffer

func (m *QueryGetChainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetChainResponse) ProtoMessage

func (*QueryGetChainResponse) ProtoMessage()

func (*QueryGetChainResponse) Reset

func (m *QueryGetChainResponse) Reset()

func (*QueryGetChainResponse) Size

func (m *QueryGetChainResponse) Size() (n int)

func (*QueryGetChainResponse) String

func (m *QueryGetChainResponse) String() string

func (*QueryGetChainResponse) Unmarshal

func (m *QueryGetChainResponse) Unmarshal(dAtA []byte) error

func (*QueryGetChainResponse) XXX_DiscardUnknown

func (m *QueryGetChainResponse) XXX_DiscardUnknown()

func (*QueryGetChainResponse) XXX_Marshal

func (m *QueryGetChainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetChainResponse) XXX_Merge

func (m *QueryGetChainResponse) XXX_Merge(src proto.Message)

func (*QueryGetChainResponse) XXX_Size

func (m *QueryGetChainResponse) XXX_Size() int

func (*QueryGetChainResponse) XXX_Unmarshal

func (m *QueryGetChainResponse) XXX_Unmarshal(b []byte) error

type QueryGetGenesisAccountRequest

type QueryGetGenesisAccountRequest struct {
	ChainID uint64 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryGetGenesisAccountRequest) Descriptor

func (*QueryGetGenesisAccountRequest) Descriptor() ([]byte, []int)

func (*QueryGetGenesisAccountRequest) GetAddress

func (m *QueryGetGenesisAccountRequest) GetAddress() string

func (*QueryGetGenesisAccountRequest) GetChainID

func (m *QueryGetGenesisAccountRequest) GetChainID() uint64

func (*QueryGetGenesisAccountRequest) Marshal

func (m *QueryGetGenesisAccountRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetGenesisAccountRequest) MarshalTo

func (m *QueryGetGenesisAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetGenesisAccountRequest) MarshalToSizedBuffer

func (m *QueryGetGenesisAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetGenesisAccountRequest) ProtoMessage

func (*QueryGetGenesisAccountRequest) ProtoMessage()

func (*QueryGetGenesisAccountRequest) Reset

func (m *QueryGetGenesisAccountRequest) Reset()

func (*QueryGetGenesisAccountRequest) Size

func (m *QueryGetGenesisAccountRequest) Size() (n int)

func (*QueryGetGenesisAccountRequest) String

func (*QueryGetGenesisAccountRequest) Unmarshal

func (m *QueryGetGenesisAccountRequest) Unmarshal(dAtA []byte) error

func (*QueryGetGenesisAccountRequest) XXX_DiscardUnknown

func (m *QueryGetGenesisAccountRequest) XXX_DiscardUnknown()

func (*QueryGetGenesisAccountRequest) XXX_Marshal

func (m *QueryGetGenesisAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetGenesisAccountRequest) XXX_Merge

func (m *QueryGetGenesisAccountRequest) XXX_Merge(src proto.Message)

func (*QueryGetGenesisAccountRequest) XXX_Size

func (m *QueryGetGenesisAccountRequest) XXX_Size() int

func (*QueryGetGenesisAccountRequest) XXX_Unmarshal

func (m *QueryGetGenesisAccountRequest) XXX_Unmarshal(b []byte) error

type QueryGetGenesisAccountResponse

type QueryGetGenesisAccountResponse struct {
	GenesisAccount GenesisAccount `protobuf:"bytes,1,opt,name=genesisAccount,proto3" json:"genesisAccount"`
}

func (*QueryGetGenesisAccountResponse) Descriptor

func (*QueryGetGenesisAccountResponse) Descriptor() ([]byte, []int)

func (*QueryGetGenesisAccountResponse) GetGenesisAccount

func (m *QueryGetGenesisAccountResponse) GetGenesisAccount() GenesisAccount

func (*QueryGetGenesisAccountResponse) Marshal

func (m *QueryGetGenesisAccountResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetGenesisAccountResponse) MarshalTo

func (m *QueryGetGenesisAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetGenesisAccountResponse) MarshalToSizedBuffer

func (m *QueryGetGenesisAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetGenesisAccountResponse) ProtoMessage

func (*QueryGetGenesisAccountResponse) ProtoMessage()

func (*QueryGetGenesisAccountResponse) Reset

func (m *QueryGetGenesisAccountResponse) Reset()

func (*QueryGetGenesisAccountResponse) Size

func (m *QueryGetGenesisAccountResponse) Size() (n int)

func (*QueryGetGenesisAccountResponse) String

func (*QueryGetGenesisAccountResponse) Unmarshal

func (m *QueryGetGenesisAccountResponse) Unmarshal(dAtA []byte) error

func (*QueryGetGenesisAccountResponse) XXX_DiscardUnknown

func (m *QueryGetGenesisAccountResponse) XXX_DiscardUnknown()

func (*QueryGetGenesisAccountResponse) XXX_Marshal

func (m *QueryGetGenesisAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetGenesisAccountResponse) XXX_Merge

func (m *QueryGetGenesisAccountResponse) XXX_Merge(src proto.Message)

func (*QueryGetGenesisAccountResponse) XXX_Size

func (m *QueryGetGenesisAccountResponse) XXX_Size() int

func (*QueryGetGenesisAccountResponse) XXX_Unmarshal

func (m *QueryGetGenesisAccountResponse) XXX_Unmarshal(b []byte) error

type QueryGetGenesisValidatorRequest

type QueryGetGenesisValidatorRequest struct {
	ChainID uint64 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryGetGenesisValidatorRequest) Descriptor

func (*QueryGetGenesisValidatorRequest) Descriptor() ([]byte, []int)

func (*QueryGetGenesisValidatorRequest) GetAddress

func (m *QueryGetGenesisValidatorRequest) GetAddress() string

func (*QueryGetGenesisValidatorRequest) GetChainID

func (m *QueryGetGenesisValidatorRequest) GetChainID() uint64

func (*QueryGetGenesisValidatorRequest) Marshal

func (m *QueryGetGenesisValidatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetGenesisValidatorRequest) MarshalTo

func (m *QueryGetGenesisValidatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetGenesisValidatorRequest) MarshalToSizedBuffer

func (m *QueryGetGenesisValidatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetGenesisValidatorRequest) ProtoMessage

func (*QueryGetGenesisValidatorRequest) ProtoMessage()

func (*QueryGetGenesisValidatorRequest) Reset

func (*QueryGetGenesisValidatorRequest) Size

func (m *QueryGetGenesisValidatorRequest) Size() (n int)

func (*QueryGetGenesisValidatorRequest) String

func (*QueryGetGenesisValidatorRequest) Unmarshal

func (m *QueryGetGenesisValidatorRequest) Unmarshal(dAtA []byte) error

func (*QueryGetGenesisValidatorRequest) XXX_DiscardUnknown

func (m *QueryGetGenesisValidatorRequest) XXX_DiscardUnknown()

func (*QueryGetGenesisValidatorRequest) XXX_Marshal

func (m *QueryGetGenesisValidatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetGenesisValidatorRequest) XXX_Merge

func (m *QueryGetGenesisValidatorRequest) XXX_Merge(src proto.Message)

func (*QueryGetGenesisValidatorRequest) XXX_Size

func (m *QueryGetGenesisValidatorRequest) XXX_Size() int

func (*QueryGetGenesisValidatorRequest) XXX_Unmarshal

func (m *QueryGetGenesisValidatorRequest) XXX_Unmarshal(b []byte) error

type QueryGetGenesisValidatorResponse

type QueryGetGenesisValidatorResponse struct {
	GenesisValidator GenesisValidator `protobuf:"bytes,1,opt,name=genesisValidator,proto3" json:"genesisValidator"`
}

func (*QueryGetGenesisValidatorResponse) Descriptor

func (*QueryGetGenesisValidatorResponse) Descriptor() ([]byte, []int)

func (*QueryGetGenesisValidatorResponse) GetGenesisValidator

func (m *QueryGetGenesisValidatorResponse) GetGenesisValidator() GenesisValidator

func (*QueryGetGenesisValidatorResponse) Marshal

func (m *QueryGetGenesisValidatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetGenesisValidatorResponse) MarshalTo

func (m *QueryGetGenesisValidatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetGenesisValidatorResponse) MarshalToSizedBuffer

func (m *QueryGetGenesisValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetGenesisValidatorResponse) ProtoMessage

func (*QueryGetGenesisValidatorResponse) ProtoMessage()

func (*QueryGetGenesisValidatorResponse) Reset

func (*QueryGetGenesisValidatorResponse) Size

func (m *QueryGetGenesisValidatorResponse) Size() (n int)

func (*QueryGetGenesisValidatorResponse) String

func (*QueryGetGenesisValidatorResponse) Unmarshal

func (m *QueryGetGenesisValidatorResponse) Unmarshal(dAtA []byte) error

func (*QueryGetGenesisValidatorResponse) XXX_DiscardUnknown

func (m *QueryGetGenesisValidatorResponse) XXX_DiscardUnknown()

func (*QueryGetGenesisValidatorResponse) XXX_Marshal

func (m *QueryGetGenesisValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetGenesisValidatorResponse) XXX_Merge

func (*QueryGetGenesisValidatorResponse) XXX_Size

func (m *QueryGetGenesisValidatorResponse) XXX_Size() int

func (*QueryGetGenesisValidatorResponse) XXX_Unmarshal

func (m *QueryGetGenesisValidatorResponse) XXX_Unmarshal(b []byte) error

type QueryGetRequestRequest

type QueryGetRequestRequest struct {
	ChainID   uint64 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	RequestID uint64 `protobuf:"varint,2,opt,name=requestID,proto3" json:"requestID,omitempty"`
}

func (*QueryGetRequestRequest) Descriptor

func (*QueryGetRequestRequest) Descriptor() ([]byte, []int)

func (*QueryGetRequestRequest) GetChainID

func (m *QueryGetRequestRequest) GetChainID() uint64

func (*QueryGetRequestRequest) GetRequestID

func (m *QueryGetRequestRequest) GetRequestID() uint64

func (*QueryGetRequestRequest) Marshal

func (m *QueryGetRequestRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetRequestRequest) MarshalTo

func (m *QueryGetRequestRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRequestRequest) MarshalToSizedBuffer

func (m *QueryGetRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRequestRequest) ProtoMessage

func (*QueryGetRequestRequest) ProtoMessage()

func (*QueryGetRequestRequest) Reset

func (m *QueryGetRequestRequest) Reset()

func (*QueryGetRequestRequest) Size

func (m *QueryGetRequestRequest) Size() (n int)

func (*QueryGetRequestRequest) String

func (m *QueryGetRequestRequest) String() string

func (*QueryGetRequestRequest) Unmarshal

func (m *QueryGetRequestRequest) Unmarshal(dAtA []byte) error

func (*QueryGetRequestRequest) XXX_DiscardUnknown

func (m *QueryGetRequestRequest) XXX_DiscardUnknown()

func (*QueryGetRequestRequest) XXX_Marshal

func (m *QueryGetRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRequestRequest) XXX_Merge

func (m *QueryGetRequestRequest) XXX_Merge(src proto.Message)

func (*QueryGetRequestRequest) XXX_Size

func (m *QueryGetRequestRequest) XXX_Size() int

func (*QueryGetRequestRequest) XXX_Unmarshal

func (m *QueryGetRequestRequest) XXX_Unmarshal(b []byte) error

type QueryGetRequestResponse

type QueryGetRequestResponse struct {
	Request Request `protobuf:"bytes,1,opt,name=request,proto3" json:"request"`
}

func (*QueryGetRequestResponse) Descriptor

func (*QueryGetRequestResponse) Descriptor() ([]byte, []int)

func (*QueryGetRequestResponse) GetRequest

func (m *QueryGetRequestResponse) GetRequest() Request

func (*QueryGetRequestResponse) Marshal

func (m *QueryGetRequestResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetRequestResponse) MarshalTo

func (m *QueryGetRequestResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRequestResponse) MarshalToSizedBuffer

func (m *QueryGetRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRequestResponse) ProtoMessage

func (*QueryGetRequestResponse) ProtoMessage()

func (*QueryGetRequestResponse) Reset

func (m *QueryGetRequestResponse) Reset()

func (*QueryGetRequestResponse) Size

func (m *QueryGetRequestResponse) Size() (n int)

func (*QueryGetRequestResponse) String

func (m *QueryGetRequestResponse) String() string

func (*QueryGetRequestResponse) Unmarshal

func (m *QueryGetRequestResponse) Unmarshal(dAtA []byte) error

func (*QueryGetRequestResponse) XXX_DiscardUnknown

func (m *QueryGetRequestResponse) XXX_DiscardUnknown()

func (*QueryGetRequestResponse) XXX_Marshal

func (m *QueryGetRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRequestResponse) XXX_Merge

func (m *QueryGetRequestResponse) XXX_Merge(src proto.Message)

func (*QueryGetRequestResponse) XXX_Size

func (m *QueryGetRequestResponse) XXX_Size() int

func (*QueryGetRequestResponse) XXX_Unmarshal

func (m *QueryGetRequestResponse) XXX_Unmarshal(b []byte) error

type QueryGetVestingAccountRequest

type QueryGetVestingAccountRequest struct {
	ChainID uint64 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryGetVestingAccountRequest) Descriptor

func (*QueryGetVestingAccountRequest) Descriptor() ([]byte, []int)

func (*QueryGetVestingAccountRequest) GetAddress

func (m *QueryGetVestingAccountRequest) GetAddress() string

func (*QueryGetVestingAccountRequest) GetChainID

func (m *QueryGetVestingAccountRequest) GetChainID() uint64

func (*QueryGetVestingAccountRequest) Marshal

func (m *QueryGetVestingAccountRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetVestingAccountRequest) MarshalTo

func (m *QueryGetVestingAccountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetVestingAccountRequest) MarshalToSizedBuffer

func (m *QueryGetVestingAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetVestingAccountRequest) ProtoMessage

func (*QueryGetVestingAccountRequest) ProtoMessage()

func (*QueryGetVestingAccountRequest) Reset

func (m *QueryGetVestingAccountRequest) Reset()

func (*QueryGetVestingAccountRequest) Size

func (m *QueryGetVestingAccountRequest) Size() (n int)

func (*QueryGetVestingAccountRequest) String

func (*QueryGetVestingAccountRequest) Unmarshal

func (m *QueryGetVestingAccountRequest) Unmarshal(dAtA []byte) error

func (*QueryGetVestingAccountRequest) XXX_DiscardUnknown

func (m *QueryGetVestingAccountRequest) XXX_DiscardUnknown()

func (*QueryGetVestingAccountRequest) XXX_Marshal

func (m *QueryGetVestingAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetVestingAccountRequest) XXX_Merge

func (m *QueryGetVestingAccountRequest) XXX_Merge(src proto.Message)

func (*QueryGetVestingAccountRequest) XXX_Size

func (m *QueryGetVestingAccountRequest) XXX_Size() int

func (*QueryGetVestingAccountRequest) XXX_Unmarshal

func (m *QueryGetVestingAccountRequest) XXX_Unmarshal(b []byte) error

type QueryGetVestingAccountResponse

type QueryGetVestingAccountResponse struct {
	VestingAccount VestingAccount `protobuf:"bytes,1,opt,name=vestingAccount,proto3" json:"vestingAccount"`
}

func (*QueryGetVestingAccountResponse) Descriptor

func (*QueryGetVestingAccountResponse) Descriptor() ([]byte, []int)

func (*QueryGetVestingAccountResponse) GetVestingAccount

func (m *QueryGetVestingAccountResponse) GetVestingAccount() VestingAccount

func (*QueryGetVestingAccountResponse) Marshal

func (m *QueryGetVestingAccountResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetVestingAccountResponse) MarshalTo

func (m *QueryGetVestingAccountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetVestingAccountResponse) MarshalToSizedBuffer

func (m *QueryGetVestingAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetVestingAccountResponse) ProtoMessage

func (*QueryGetVestingAccountResponse) ProtoMessage()

func (*QueryGetVestingAccountResponse) Reset

func (m *QueryGetVestingAccountResponse) Reset()

func (*QueryGetVestingAccountResponse) Size

func (m *QueryGetVestingAccountResponse) Size() (n int)

func (*QueryGetVestingAccountResponse) String

func (*QueryGetVestingAccountResponse) Unmarshal

func (m *QueryGetVestingAccountResponse) Unmarshal(dAtA []byte) error

func (*QueryGetVestingAccountResponse) XXX_DiscardUnknown

func (m *QueryGetVestingAccountResponse) XXX_DiscardUnknown()

func (*QueryGetVestingAccountResponse) XXX_Marshal

func (m *QueryGetVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetVestingAccountResponse) XXX_Merge

func (m *QueryGetVestingAccountResponse) XXX_Merge(src proto.Message)

func (*QueryGetVestingAccountResponse) XXX_Size

func (m *QueryGetVestingAccountResponse) XXX_Size() int

func (*QueryGetVestingAccountResponse) XXX_Unmarshal

func (m *QueryGetVestingAccountResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Queries a chain by index.
	Chain(context.Context, *QueryGetChainRequest) (*QueryGetChainResponse, error)
	// Queries a list of chain items.
	ChainAll(context.Context, *QueryAllChainRequest) (*QueryAllChainResponse, error)
	// Queries a genesisAccount by index.
	GenesisAccount(context.Context, *QueryGetGenesisAccountRequest) (*QueryGetGenesisAccountResponse, error)
	// Queries a list of genesisAccount items.
	GenesisAccountAll(context.Context, *QueryAllGenesisAccountRequest) (*QueryAllGenesisAccountResponse, error)
	// Queries a vestingAccount by index.
	VestingAccount(context.Context, *QueryGetVestingAccountRequest) (*QueryGetVestingAccountResponse, error)
	// Queries a list of vestingAccount items.
	VestingAccountAll(context.Context, *QueryAllVestingAccountRequest) (*QueryAllVestingAccountResponse, error)
	// Queries a genesisValidator by index.
	GenesisValidator(context.Context, *QueryGetGenesisValidatorRequest) (*QueryGetGenesisValidatorResponse, error)
	// Queries a list of genesisValidator items.
	GenesisValidatorAll(context.Context, *QueryAllGenesisValidatorRequest) (*QueryAllGenesisValidatorResponse, error)
	// Queries a request by index.
	Request(context.Context, *QueryGetRequestRequest) (*QueryGetRequestResponse, error)
	// Queries a list of request for a chain.
	RequestAll(context.Context, *QueryAllRequestRequest) (*QueryAllRequestResponse, error)
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
}

QueryServer is the server API for Query service.

type Request

type Request struct {
	ChainID   uint64         `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	RequestID uint64         `protobuf:"varint,2,opt,name=requestID,proto3" json:"requestID,omitempty"`
	Creator   string         `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	CreatedAt int64          `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Content   RequestContent `protobuf:"bytes,5,opt,name=content,proto3" json:"content"`
}

func (*Request) Descriptor

func (*Request) Descriptor() ([]byte, []int)

func (*Request) GetChainID

func (m *Request) GetChainID() uint64

func (*Request) GetContent

func (m *Request) GetContent() RequestContent

func (*Request) GetCreatedAt

func (m *Request) GetCreatedAt() int64

func (*Request) GetCreator

func (m *Request) GetCreator() string

func (*Request) GetRequestID

func (m *Request) GetRequestID() uint64

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) MarshalToSizedBuffer

func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (m *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

type RequestContent

type RequestContent struct {
	// Types that are valid to be assigned to Content:
	//	*RequestContent_GenesisAccount
	//	*RequestContent_VestingAccount
	//	*RequestContent_GenesisValidator
	//	*RequestContent_AccountRemoval
	//	*RequestContent_ValidatorRemoval
	Content isRequestContent_Content `protobuf_oneof:"content"`
}

func NewAccountRemoval

func NewAccountRemoval(address string) RequestContent

NewAccountRemoval returns a RequestContent containing an AccountRemoval

func NewGenesisAccount

func NewGenesisAccount(chainID uint64, address string, coins sdk.Coins) RequestContent

NewGenesisAccount returns a RequestContent containing an GenesisAccount

func NewGenesisValidator

func NewGenesisValidator(
	chainID uint64,
	address string,
	genTx,
	consPubKey []byte,
	selfDelegation sdk.Coin,
	peer string,
) RequestContent

NewGenesisValidator returns a RequestContent containing a GenesisValidator

func NewValidatorRemoval

func NewValidatorRemoval(address string) RequestContent

NewValidatorRemoval returns a RequestContent containing a ValidatorRemoval

func NewVestingAccount

func NewVestingAccount(chainID uint64, address string, startingBalance sdk.Coins, vestingOptions VestingOptions) RequestContent

NewVestingAccount returns a RequestContent containing a VestingAccount

func (*RequestContent) Descriptor

func (*RequestContent) Descriptor() ([]byte, []int)

func (*RequestContent) GetAccountRemoval

func (m *RequestContent) GetAccountRemoval() *AccountRemoval

func (*RequestContent) GetContent

func (m *RequestContent) GetContent() isRequestContent_Content

func (*RequestContent) GetGenesisAccount

func (m *RequestContent) GetGenesisAccount() *GenesisAccount

func (*RequestContent) GetGenesisValidator

func (m *RequestContent) GetGenesisValidator() *GenesisValidator

func (*RequestContent) GetValidatorRemoval

func (m *RequestContent) GetValidatorRemoval() *ValidatorRemoval

func (*RequestContent) GetVestingAccount

func (m *RequestContent) GetVestingAccount() *VestingAccount

func (*RequestContent) Marshal

func (m *RequestContent) Marshal() (dAtA []byte, err error)

func (*RequestContent) MarshalTo

func (m *RequestContent) MarshalTo(dAtA []byte) (int, error)

func (*RequestContent) MarshalToSizedBuffer

func (m *RequestContent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestContent) ProtoMessage

func (*RequestContent) ProtoMessage()

func (*RequestContent) Reset

func (m *RequestContent) Reset()

func (*RequestContent) Size

func (m *RequestContent) Size() (n int)

func (*RequestContent) String

func (m *RequestContent) String() string

func (*RequestContent) Unmarshal

func (m *RequestContent) Unmarshal(dAtA []byte) error

func (RequestContent) Validate

func (m RequestContent) Validate() error

func (*RequestContent) XXX_DiscardUnknown

func (m *RequestContent) XXX_DiscardUnknown()

func (*RequestContent) XXX_Marshal

func (m *RequestContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestContent) XXX_Merge

func (m *RequestContent) XXX_Merge(src proto.Message)

func (*RequestContent) XXX_OneofWrappers

func (*RequestContent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RequestContent) XXX_Size

func (m *RequestContent) XXX_Size() int

func (*RequestContent) XXX_Unmarshal

func (m *RequestContent) XXX_Unmarshal(b []byte) error

type RequestContent_AccountRemoval

type RequestContent_AccountRemoval struct {
	AccountRemoval *AccountRemoval `protobuf:"bytes,4,opt,name=accountRemoval,proto3,oneof" json:"accountRemoval,omitempty"`
}

func (*RequestContent_AccountRemoval) MarshalTo

func (m *RequestContent_AccountRemoval) MarshalTo(dAtA []byte) (int, error)

func (*RequestContent_AccountRemoval) MarshalToSizedBuffer

func (m *RequestContent_AccountRemoval) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestContent_AccountRemoval) Size

func (m *RequestContent_AccountRemoval) Size() (n int)

type RequestContent_GenesisAccount

type RequestContent_GenesisAccount struct {
	GenesisAccount *GenesisAccount `protobuf:"bytes,1,opt,name=genesisAccount,proto3,oneof" json:"genesisAccount,omitempty"`
}

func (*RequestContent_GenesisAccount) MarshalTo

func (m *RequestContent_GenesisAccount) MarshalTo(dAtA []byte) (int, error)

func (*RequestContent_GenesisAccount) MarshalToSizedBuffer

func (m *RequestContent_GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestContent_GenesisAccount) Size

func (m *RequestContent_GenesisAccount) Size() (n int)

type RequestContent_GenesisValidator

type RequestContent_GenesisValidator struct {
	GenesisValidator *GenesisValidator `protobuf:"bytes,3,opt,name=genesisValidator,proto3,oneof" json:"genesisValidator,omitempty"`
}

func (*RequestContent_GenesisValidator) MarshalTo

func (m *RequestContent_GenesisValidator) MarshalTo(dAtA []byte) (int, error)

func (*RequestContent_GenesisValidator) MarshalToSizedBuffer

func (m *RequestContent_GenesisValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestContent_GenesisValidator) Size

func (m *RequestContent_GenesisValidator) Size() (n int)

type RequestContent_ValidatorRemoval

type RequestContent_ValidatorRemoval struct {
	ValidatorRemoval *ValidatorRemoval `protobuf:"bytes,5,opt,name=validatorRemoval,proto3,oneof" json:"validatorRemoval,omitempty"`
}

func (*RequestContent_ValidatorRemoval) MarshalTo

func (m *RequestContent_ValidatorRemoval) MarshalTo(dAtA []byte) (int, error)

func (*RequestContent_ValidatorRemoval) MarshalToSizedBuffer

func (m *RequestContent_ValidatorRemoval) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestContent_ValidatorRemoval) Size

func (m *RequestContent_ValidatorRemoval) Size() (n int)

type RequestContent_VestingAccount

type RequestContent_VestingAccount struct {
	VestingAccount *VestingAccount `protobuf:"bytes,2,opt,name=vestingAccount,proto3,oneof" json:"vestingAccount,omitempty"`
}

func (*RequestContent_VestingAccount) MarshalTo

func (m *RequestContent_VestingAccount) MarshalTo(dAtA []byte) (int, error)

func (*RequestContent_VestingAccount) MarshalToSizedBuffer

func (m *RequestContent_VestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestContent_VestingAccount) Size

func (m *RequestContent_VestingAccount) Size() (n int)

type RequestCount

type RequestCount struct {
	ChainID uint64 `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Count   uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
}

func (*RequestCount) Descriptor

func (*RequestCount) Descriptor() ([]byte, []int)

func (*RequestCount) GetChainID

func (m *RequestCount) GetChainID() uint64

func (*RequestCount) GetCount

func (m *RequestCount) GetCount() uint64

func (*RequestCount) Marshal

func (m *RequestCount) Marshal() (dAtA []byte, err error)

func (*RequestCount) MarshalTo

func (m *RequestCount) MarshalTo(dAtA []byte) (int, error)

func (*RequestCount) MarshalToSizedBuffer

func (m *RequestCount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestCount) ProtoMessage

func (*RequestCount) ProtoMessage()

func (*RequestCount) Reset

func (m *RequestCount) Reset()

func (*RequestCount) Size

func (m *RequestCount) Size() (n int)

func (*RequestCount) String

func (m *RequestCount) String() string

func (*RequestCount) Unmarshal

func (m *RequestCount) Unmarshal(dAtA []byte) error

func (*RequestCount) XXX_DiscardUnknown

func (m *RequestCount) XXX_DiscardUnknown()

func (*RequestCount) XXX_Marshal

func (m *RequestCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestCount) XXX_Merge

func (m *RequestCount) XXX_Merge(src proto.Message)

func (*RequestCount) XXX_Size

func (m *RequestCount) XXX_Size() int

func (*RequestCount) XXX_Unmarshal

func (m *RequestCount) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateChain

func (*UnimplementedMsgServer) EditChain

func (*UnimplementedMsgServer) RequestAddAccount

func (*UnimplementedMsgServer) RequestAddValidator

func (*UnimplementedMsgServer) RequestAddVestingAccount

func (*UnimplementedMsgServer) RequestRemoveAccount

func (*UnimplementedMsgServer) RequestRemoveValidator

func (*UnimplementedMsgServer) RevertLaunch

func (*UnimplementedMsgServer) SettleRequest

func (*UnimplementedMsgServer) TriggerLaunch

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Chain

func (*UnimplementedQueryServer) ChainAll

func (*UnimplementedQueryServer) GenesisAccount

func (*UnimplementedQueryServer) GenesisAccountAll

func (*UnimplementedQueryServer) GenesisValidatorAll

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Request

func (*UnimplementedQueryServer) RequestAll

func (*UnimplementedQueryServer) VestingAccount

func (*UnimplementedQueryServer) VestingAccountAll

type ValidatorRemoval

type ValidatorRemoval struct {
	ValAddress string `protobuf:"bytes,1,opt,name=valAddress,proto3" json:"valAddress,omitempty"`
}

func (*ValidatorRemoval) Descriptor

func (*ValidatorRemoval) Descriptor() ([]byte, []int)

func (*ValidatorRemoval) GetValAddress

func (m *ValidatorRemoval) GetValAddress() string

func (*ValidatorRemoval) Marshal

func (m *ValidatorRemoval) Marshal() (dAtA []byte, err error)

func (*ValidatorRemoval) MarshalTo

func (m *ValidatorRemoval) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorRemoval) MarshalToSizedBuffer

func (m *ValidatorRemoval) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorRemoval) ProtoMessage

func (*ValidatorRemoval) ProtoMessage()

func (*ValidatorRemoval) Reset

func (m *ValidatorRemoval) Reset()

func (*ValidatorRemoval) Size

func (m *ValidatorRemoval) Size() (n int)

func (*ValidatorRemoval) String

func (m *ValidatorRemoval) String() string

func (*ValidatorRemoval) Unmarshal

func (m *ValidatorRemoval) Unmarshal(dAtA []byte) error

func (ValidatorRemoval) Validate

func (m ValidatorRemoval) Validate() error

Validate implements ValidatorRemoval validation

func (*ValidatorRemoval) XXX_DiscardUnknown

func (m *ValidatorRemoval) XXX_DiscardUnknown()

func (*ValidatorRemoval) XXX_Marshal

func (m *ValidatorRemoval) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorRemoval) XXX_Merge

func (m *ValidatorRemoval) XXX_Merge(src proto.Message)

func (*ValidatorRemoval) XXX_Size

func (m *ValidatorRemoval) XXX_Size() int

func (*ValidatorRemoval) XXX_Unmarshal

func (m *ValidatorRemoval) XXX_Unmarshal(b []byte) error

type VestingAccount

type VestingAccount struct {
	ChainID         uint64                                   `protobuf:"varint,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Address         string                                   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	StartingBalance github_com_cosmos_cosmos_sdk_types.Coins `` /* 176-byte string literal not displayed */
	VestingOptions  VestingOptions                           `protobuf:"bytes,4,opt,name=vestingOptions,proto3" json:"vestingOptions"`
}

func (*VestingAccount) Descriptor

func (*VestingAccount) Descriptor() ([]byte, []int)

func (*VestingAccount) GetAddress

func (m *VestingAccount) GetAddress() string

func (*VestingAccount) GetChainID

func (m *VestingAccount) GetChainID() uint64

func (*VestingAccount) GetStartingBalance

func (*VestingAccount) GetVestingOptions

func (m *VestingAccount) GetVestingOptions() VestingOptions

func (*VestingAccount) Marshal

func (m *VestingAccount) Marshal() (dAtA []byte, err error)

func (*VestingAccount) MarshalTo

func (m *VestingAccount) MarshalTo(dAtA []byte) (int, error)

func (*VestingAccount) MarshalToSizedBuffer

func (m *VestingAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingAccount) ProtoMessage

func (*VestingAccount) ProtoMessage()

func (*VestingAccount) Reset

func (m *VestingAccount) Reset()

func (*VestingAccount) Size

func (m *VestingAccount) Size() (n int)

func (*VestingAccount) String

func (m *VestingAccount) String() string

func (*VestingAccount) Unmarshal

func (m *VestingAccount) Unmarshal(dAtA []byte) error

func (VestingAccount) Validate

func (m VestingAccount) Validate() error

Validate implements VestingAccount validation

func (*VestingAccount) XXX_DiscardUnknown

func (m *VestingAccount) XXX_DiscardUnknown()

func (*VestingAccount) XXX_Marshal

func (m *VestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VestingAccount) XXX_Merge

func (m *VestingAccount) XXX_Merge(src proto.Message)

func (*VestingAccount) XXX_Size

func (m *VestingAccount) XXX_Size() int

func (*VestingAccount) XXX_Unmarshal

func (m *VestingAccount) XXX_Unmarshal(b []byte) error

type VestingOptions

type VestingOptions struct {
	// Types that are valid to be assigned to Options:
	//	*VestingOptions_DelayedVesting
	Options isVestingOptions_Options `protobuf_oneof:"options"`
}

func NewDelayedVesting

func NewDelayedVesting(vesting sdk.Coins, endTime int64) *VestingOptions

func (*VestingOptions) Descriptor

func (*VestingOptions) Descriptor() ([]byte, []int)

func (*VestingOptions) GetDelayedVesting

func (m *VestingOptions) GetDelayedVesting() *DelayedVesting

func (*VestingOptions) GetOptions

func (m *VestingOptions) GetOptions() isVestingOptions_Options

func (*VestingOptions) Marshal

func (m *VestingOptions) Marshal() (dAtA []byte, err error)

func (*VestingOptions) MarshalTo

func (m *VestingOptions) MarshalTo(dAtA []byte) (int, error)

func (*VestingOptions) MarshalToSizedBuffer

func (m *VestingOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingOptions) ProtoMessage

func (*VestingOptions) ProtoMessage()

func (*VestingOptions) Reset

func (m *VestingOptions) Reset()

func (*VestingOptions) Size

func (m *VestingOptions) Size() (n int)

func (*VestingOptions) String

func (m *VestingOptions) String() string

func (*VestingOptions) Unmarshal

func (m *VestingOptions) Unmarshal(dAtA []byte) error

func (VestingOptions) Validate

func (m VestingOptions) Validate() error

Validate check the DelayedVesting object

func (*VestingOptions) XXX_DiscardUnknown

func (m *VestingOptions) XXX_DiscardUnknown()

func (*VestingOptions) XXX_Marshal

func (m *VestingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VestingOptions) XXX_Merge

func (m *VestingOptions) XXX_Merge(src proto.Message)

func (*VestingOptions) XXX_OneofWrappers

func (*VestingOptions) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*VestingOptions) XXX_Size

func (m *VestingOptions) XXX_Size() int

func (*VestingOptions) XXX_Unmarshal

func (m *VestingOptions) XXX_Unmarshal(b []byte) error

type VestingOptions_DelayedVesting

type VestingOptions_DelayedVesting struct {
	DelayedVesting *DelayedVesting `protobuf:"bytes,1,opt,name=delayedVesting,proto3,oneof" json:"delayedVesting,omitempty"`
}

func (*VestingOptions_DelayedVesting) MarshalTo

func (m *VestingOptions_DelayedVesting) MarshalTo(dAtA []byte) (int, error)

func (*VestingOptions_DelayedVesting) MarshalToSizedBuffer

func (m *VestingOptions_DelayedVesting) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VestingOptions_DelayedVesting) Size

func (m *VestingOptions_DelayedVesting) Size() (n int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL