types

package
v0.0.0-...-49173f0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "profile"

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_profile"
)

Variables

View Source
var (
	ErrInvalidLengthCoordinator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCoordinator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCoordinator = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidSigner                      = sdkerrors.Register(ModuleName, 1101, "expected gov account as only signer for proposal message")
	ErrCoordinatorAlreadyExist            = sdkerrors.Register(ModuleName, 1102, "coordinator address already exist")
	ErrCoordinatorAddressNotFound         = sdkerrors.Register(ModuleName, 1103, "coordinator address not found")
	ErrCoordinatorInvalid                 = sdkerrors.Register(ModuleName, 1104, "invalid coordinator")
	ErrEmptyDescription                   = sdkerrors.Register(ModuleName, 1105, "you must provide at least one description parameter")
	ErrDupAddress                         = sdkerrors.Register(ModuleName, 1106, "address is duplicated")
	ErrCoordinatorInactive                = sdkerrors.Register(ModuleName, 1107, "inactive coordinator")
	ErrInvalidCoordinatorAddress          = sdkerrors.Register(ModuleName, 1108, "invalid coordinator address")
	ErrInvalidValidatorAddress            = sdkerrors.Register(ModuleName, 1109, "invalid validator address")
	ErrInvalidOperatorAddress             = sdkerrors.Register(ModuleName, 1110, "invalid operator address")
	ErrValidatorNotFound                  = sdkerrors.Register(ModuleName, 1111, "validator not found")
	ErrValidatorByOperatorAddressNotFound = sdkerrors.Register(ModuleName, 1112, "validator by operator address not found")
	ErrCoordinatorNotFound                = sdkerrors.Register(ModuleName, 1113, "coordinator not found")
)

x/profile module sentinel errors

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
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 (
	// ParamsKey is the prefix to retrieve all Params
	ParamsKey = collections.NewPrefix("p_profile")

	// CoordinatorKey is the prefix to retrieve all Coordinator
	CoordinatorKey = collections.NewPrefix("coordinator/value/")
	// CoordinatorCountKey is the prefix to retrieve all CoordinatorCount
	CoordinatorCountKey = collections.NewPrefix("coordinator/count/")
	// CoordinatorByAddressKey is the prefix to retrieve all CoordinatorByAddress
	CoordinatorByAddressKey = collections.NewPrefix("coordinatorByAddress/value/")

	// ValidatorKey is the prefix to retrieve all Validator
	ValidatorKey = collections.NewPrefix("Validator/value/")

	// ValidatorByOperatorAddressKey is the prefix to retrieve all ValidatorByOperatorAddress
	ValidatorByOperatorAddressKey = collections.NewPrefix("ValidatorByOperatorAddress/value/")
)
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 (
	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 (
	ErrInvalidLengthValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

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)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation
}

AccountKeeper defines the expected interface for the Account module.

type BankKeeper

type BankKeeper interface {
	SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface for the Bank module.

type Coordinator

type Coordinator struct {
	CoordinatorId uint64                 `protobuf:"varint,1,opt,name=coordinator_id,json=coordinatorId,proto3" json:"coordinator_id,omitempty"`
	Address       string                 `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Description   CoordinatorDescription `protobuf:"bytes,3,opt,name=description,proto3" json:"description"`
	Active        bool                   `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
}

func (*Coordinator) Descriptor

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

func (*Coordinator) GetActive

func (m *Coordinator) GetActive() bool

func (*Coordinator) GetAddress

func (m *Coordinator) GetAddress() string

func (*Coordinator) GetCoordinatorId

func (m *Coordinator) GetCoordinatorId() uint64

func (*Coordinator) GetDescription

func (m *Coordinator) GetDescription() CoordinatorDescription

func (*Coordinator) Marshal

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

func (*Coordinator) MarshalTo

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

func (*Coordinator) MarshalToSizedBuffer

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

func (*Coordinator) ProtoMessage

func (*Coordinator) ProtoMessage()

func (*Coordinator) Reset

func (m *Coordinator) Reset()

func (*Coordinator) Size

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

func (*Coordinator) String

func (m *Coordinator) String() string

func (*Coordinator) Unmarshal

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

func (*Coordinator) XXX_DiscardUnknown

func (m *Coordinator) XXX_DiscardUnknown()

func (*Coordinator) XXX_Marshal

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

func (*Coordinator) XXX_Merge

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

func (*Coordinator) XXX_Size

func (m *Coordinator) XXX_Size() int

func (*Coordinator) XXX_Unmarshal

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

type CoordinatorByAddress

type CoordinatorByAddress struct {
	Address       string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	CoordinatorId uint64 `protobuf:"varint,2,opt,name=coordinator_id,json=coordinatorId,proto3" json:"coordinator_id,omitempty"`
}

func (*CoordinatorByAddress) Descriptor

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

func (*CoordinatorByAddress) GetAddress

func (m *CoordinatorByAddress) GetAddress() string

func (*CoordinatorByAddress) GetCoordinatorId

func (m *CoordinatorByAddress) GetCoordinatorId() uint64

func (*CoordinatorByAddress) Marshal

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

func (*CoordinatorByAddress) MarshalTo

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

func (*CoordinatorByAddress) MarshalToSizedBuffer

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

func (*CoordinatorByAddress) ProtoMessage

func (*CoordinatorByAddress) ProtoMessage()

func (*CoordinatorByAddress) Reset

func (m *CoordinatorByAddress) Reset()

func (*CoordinatorByAddress) Size

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

func (*CoordinatorByAddress) String

func (m *CoordinatorByAddress) String() string

func (*CoordinatorByAddress) Unmarshal

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

func (*CoordinatorByAddress) XXX_DiscardUnknown

func (m *CoordinatorByAddress) XXX_DiscardUnknown()

func (*CoordinatorByAddress) XXX_Marshal

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

func (*CoordinatorByAddress) XXX_Merge

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

func (*CoordinatorByAddress) XXX_Size

func (m *CoordinatorByAddress) XXX_Size() int

func (*CoordinatorByAddress) XXX_Unmarshal

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

type CoordinatorDescription

type CoordinatorDescription struct {
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Website  string `protobuf:"bytes,2,opt,name=website,proto3" json:"website,omitempty"`
	Details  string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
}

func (*CoordinatorDescription) Descriptor

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

func (*CoordinatorDescription) GetDetails

func (m *CoordinatorDescription) GetDetails() string

func (*CoordinatorDescription) GetIdentity

func (m *CoordinatorDescription) GetIdentity() string

func (*CoordinatorDescription) GetWebsite

func (m *CoordinatorDescription) GetWebsite() string

func (*CoordinatorDescription) Marshal

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

func (*CoordinatorDescription) MarshalTo

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

func (*CoordinatorDescription) MarshalToSizedBuffer

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

func (*CoordinatorDescription) ProtoMessage

func (*CoordinatorDescription) ProtoMessage()

func (*CoordinatorDescription) Reset

func (m *CoordinatorDescription) Reset()

func (*CoordinatorDescription) Size

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

func (*CoordinatorDescription) String

func (m *CoordinatorDescription) String() string

func (*CoordinatorDescription) Unmarshal

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

func (*CoordinatorDescription) XXX_DiscardUnknown

func (m *CoordinatorDescription) XXX_DiscardUnknown()

func (*CoordinatorDescription) XXX_Marshal

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

func (*CoordinatorDescription) XXX_Merge

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

func (*CoordinatorDescription) XXX_Size

func (m *CoordinatorDescription) XXX_Size() int

func (*CoordinatorDescription) XXX_Unmarshal

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

type EventCoordinatorAddressUpdated

type EventCoordinatorAddressUpdated struct {
	CoordinatorId uint64 `protobuf:"varint,1,opt,name=coordinator_id,json=coordinatorId,proto3" json:"coordinator_id,omitempty"`
	NewAddress    string `protobuf:"bytes,2,opt,name=new_address,json=newAddress,proto3" json:"new_address,omitempty"`
}

func (*EventCoordinatorAddressUpdated) Descriptor

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

func (*EventCoordinatorAddressUpdated) GetCoordinatorId

func (m *EventCoordinatorAddressUpdated) GetCoordinatorId() uint64

func (*EventCoordinatorAddressUpdated) GetNewAddress

func (m *EventCoordinatorAddressUpdated) GetNewAddress() string

func (*EventCoordinatorAddressUpdated) Marshal

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

func (*EventCoordinatorAddressUpdated) MarshalTo

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

func (*EventCoordinatorAddressUpdated) MarshalToSizedBuffer

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

func (*EventCoordinatorAddressUpdated) ProtoMessage

func (*EventCoordinatorAddressUpdated) ProtoMessage()

func (*EventCoordinatorAddressUpdated) Reset

func (m *EventCoordinatorAddressUpdated) Reset()

func (*EventCoordinatorAddressUpdated) Size

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

func (*EventCoordinatorAddressUpdated) String

func (*EventCoordinatorAddressUpdated) Unmarshal

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

func (*EventCoordinatorAddressUpdated) XXX_DiscardUnknown

func (m *EventCoordinatorAddressUpdated) XXX_DiscardUnknown()

func (*EventCoordinatorAddressUpdated) XXX_Marshal

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

func (*EventCoordinatorAddressUpdated) XXX_Merge

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

func (*EventCoordinatorAddressUpdated) XXX_Size

func (m *EventCoordinatorAddressUpdated) XXX_Size() int

func (*EventCoordinatorAddressUpdated) XXX_Unmarshal

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

type EventCoordinatorCreated

type EventCoordinatorCreated struct {
	CoordinatorId uint64 `protobuf:"varint,1,opt,name=coordinator_id,json=coordinatorId,proto3" json:"coordinator_id,omitempty"`
	Address       string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*EventCoordinatorCreated) Descriptor

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

func (*EventCoordinatorCreated) GetAddress

func (m *EventCoordinatorCreated) GetAddress() string

func (*EventCoordinatorCreated) GetCoordinatorId

func (m *EventCoordinatorCreated) GetCoordinatorId() uint64

func (*EventCoordinatorCreated) Marshal

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

func (*EventCoordinatorCreated) MarshalTo

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

func (*EventCoordinatorCreated) MarshalToSizedBuffer

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

func (*EventCoordinatorCreated) ProtoMessage

func (*EventCoordinatorCreated) ProtoMessage()

func (*EventCoordinatorCreated) Reset

func (m *EventCoordinatorCreated) Reset()

func (*EventCoordinatorCreated) Size

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

func (*EventCoordinatorCreated) String

func (m *EventCoordinatorCreated) String() string

func (*EventCoordinatorCreated) Unmarshal

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

func (*EventCoordinatorCreated) XXX_DiscardUnknown

func (m *EventCoordinatorCreated) XXX_DiscardUnknown()

func (*EventCoordinatorCreated) XXX_Marshal

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

func (*EventCoordinatorCreated) XXX_Merge

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

func (*EventCoordinatorCreated) XXX_Size

func (m *EventCoordinatorCreated) XXX_Size() int

func (*EventCoordinatorCreated) XXX_Unmarshal

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

type EventCoordinatorDisabled

type EventCoordinatorDisabled struct {
	CoordinatorId uint64 `protobuf:"varint,1,opt,name=coordinator_id,json=coordinatorId,proto3" json:"coordinator_id,omitempty"`
	Address       string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}

func (*EventCoordinatorDisabled) Descriptor

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

func (*EventCoordinatorDisabled) GetAddress

func (m *EventCoordinatorDisabled) GetAddress() string

func (*EventCoordinatorDisabled) GetCoordinatorId

func (m *EventCoordinatorDisabled) GetCoordinatorId() uint64

func (*EventCoordinatorDisabled) Marshal

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

func (*EventCoordinatorDisabled) MarshalTo

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

func (*EventCoordinatorDisabled) MarshalToSizedBuffer

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

func (*EventCoordinatorDisabled) ProtoMessage

func (*EventCoordinatorDisabled) ProtoMessage()

func (*EventCoordinatorDisabled) Reset

func (m *EventCoordinatorDisabled) Reset()

func (*EventCoordinatorDisabled) Size

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

func (*EventCoordinatorDisabled) String

func (m *EventCoordinatorDisabled) String() string

func (*EventCoordinatorDisabled) Unmarshal

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

func (*EventCoordinatorDisabled) XXX_DiscardUnknown

func (m *EventCoordinatorDisabled) XXX_DiscardUnknown()

func (*EventCoordinatorDisabled) XXX_Marshal

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

func (*EventCoordinatorDisabled) XXX_Merge

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

func (*EventCoordinatorDisabled) XXX_Size

func (m *EventCoordinatorDisabled) XXX_Size() int

func (*EventCoordinatorDisabled) XXX_Unmarshal

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

type EventValidatorCreated

type EventValidatorCreated struct {
	Address           string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	OperatorAddresses []string `protobuf:"bytes,2,rep,name=operator_addresses,json=operatorAddresses,proto3" json:"operator_addresses,omitempty"`
}

func (*EventValidatorCreated) Descriptor

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

func (*EventValidatorCreated) GetAddress

func (m *EventValidatorCreated) GetAddress() string

func (*EventValidatorCreated) GetOperatorAddresses

func (m *EventValidatorCreated) GetOperatorAddresses() []string

func (*EventValidatorCreated) Marshal

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

func (*EventValidatorCreated) MarshalTo

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

func (*EventValidatorCreated) MarshalToSizedBuffer

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

func (*EventValidatorCreated) ProtoMessage

func (*EventValidatorCreated) ProtoMessage()

func (*EventValidatorCreated) Reset

func (m *EventValidatorCreated) Reset()

func (*EventValidatorCreated) Size

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

func (*EventValidatorCreated) String

func (m *EventValidatorCreated) String() string

func (*EventValidatorCreated) Unmarshal

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

func (*EventValidatorCreated) XXX_DiscardUnknown

func (m *EventValidatorCreated) XXX_DiscardUnknown()

func (*EventValidatorCreated) XXX_Marshal

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

func (*EventValidatorCreated) XXX_Merge

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

func (*EventValidatorCreated) XXX_Size

func (m *EventValidatorCreated) XXX_Size() int

func (*EventValidatorCreated) XXX_Unmarshal

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

type EventValidatorOperatorAddressesUpdated

type EventValidatorOperatorAddressesUpdated struct {
	Address           string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	OperatorAddresses []string `protobuf:"bytes,2,rep,name=operator_addresses,json=operatorAddresses,proto3" json:"operator_addresses,omitempty"`
}

func (*EventValidatorOperatorAddressesUpdated) Descriptor

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

func (*EventValidatorOperatorAddressesUpdated) GetAddress

func (*EventValidatorOperatorAddressesUpdated) GetOperatorAddresses

func (m *EventValidatorOperatorAddressesUpdated) GetOperatorAddresses() []string

func (*EventValidatorOperatorAddressesUpdated) Marshal

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

func (*EventValidatorOperatorAddressesUpdated) MarshalTo

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

func (*EventValidatorOperatorAddressesUpdated) MarshalToSizedBuffer

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

func (*EventValidatorOperatorAddressesUpdated) ProtoMessage

func (*EventValidatorOperatorAddressesUpdated) Reset

func (*EventValidatorOperatorAddressesUpdated) Size

func (*EventValidatorOperatorAddressesUpdated) String

func (*EventValidatorOperatorAddressesUpdated) Unmarshal

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

func (*EventValidatorOperatorAddressesUpdated) XXX_DiscardUnknown

func (m *EventValidatorOperatorAddressesUpdated) XXX_DiscardUnknown()

func (*EventValidatorOperatorAddressesUpdated) XXX_Marshal

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

func (*EventValidatorOperatorAddressesUpdated) XXX_Merge

func (*EventValidatorOperatorAddressesUpdated) XXX_Size

func (*EventValidatorOperatorAddressesUpdated) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params                      Params                       `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	ValidatorList               []Validator                  `protobuf:"bytes,2,rep,name=validator_list,json=validatorList,proto3" json:"validator_list"`
	ValidatorsByOperatorAddress []ValidatorByOperatorAddress `` /* 136-byte string literal not displayed */
	CoordinatorList             []Coordinator                `protobuf:"bytes,4,rep,name=coordinator_list,json=coordinatorList,proto3" json:"coordinator_list"`
	CoordinatorCount            uint64                       `protobuf:"varint,5,opt,name=coordinator_count,json=coordinatorCount,proto3" json:"coordinator_count,omitempty"`
	CoordinatorByAddress        []CoordinatorByAddress       `protobuf:"bytes,6,rep,name=coordinator_by_address,json=coordinatorByAddress,proto3" json:"coordinator_by_address"`
}

GenesisState defines the profile module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCoordinatorByAddress

func (m *GenesisState) GetCoordinatorByAddress() []CoordinatorByAddress

func (*GenesisState) GetCoordinatorCount

func (m *GenesisState) GetCoordinatorCount() uint64

func (*GenesisState) GetCoordinatorList

func (m *GenesisState) GetCoordinatorList() []Coordinator

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetValidatorList

func (m *GenesisState) GetValidatorList() []Validator

func (*GenesisState) GetValidatorsByOperatorAddress

func (m *GenesisState) GetValidatorsByOperatorAddress() []ValidatorByOperatorAddress

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) ValidateCoordinators

func (gs GenesisState) ValidateCoordinators() error

func (GenesisState) ValidateValidators

func (gs GenesisState) ValidateValidators() error

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 MsgAddValidatorOperatorAddress

type MsgAddValidatorOperatorAddress struct {
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	OperatorAddress  string `protobuf:"bytes,2,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
}

func NewMsgAddValidatorOperatorAddress

func NewMsgAddValidatorOperatorAddress(validatorAddress string, operatorAddress string) *MsgAddValidatorOperatorAddress

func (*MsgAddValidatorOperatorAddress) Descriptor

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

func (*MsgAddValidatorOperatorAddress) GetOperatorAddress

func (m *MsgAddValidatorOperatorAddress) GetOperatorAddress() string

func (*MsgAddValidatorOperatorAddress) GetValidatorAddress

func (m *MsgAddValidatorOperatorAddress) GetValidatorAddress() string

func (*MsgAddValidatorOperatorAddress) Marshal

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

func (*MsgAddValidatorOperatorAddress) MarshalTo

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

func (*MsgAddValidatorOperatorAddress) MarshalToSizedBuffer

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

func (*MsgAddValidatorOperatorAddress) ProtoMessage

func (*MsgAddValidatorOperatorAddress) ProtoMessage()

func (*MsgAddValidatorOperatorAddress) Reset

func (m *MsgAddValidatorOperatorAddress) Reset()

func (*MsgAddValidatorOperatorAddress) Size

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

func (*MsgAddValidatorOperatorAddress) String

func (*MsgAddValidatorOperatorAddress) Type

Type returns the msg type.

func (*MsgAddValidatorOperatorAddress) Unmarshal

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

func (*MsgAddValidatorOperatorAddress) ValidateBasic

func (msg *MsgAddValidatorOperatorAddress) ValidateBasic() error

func (*MsgAddValidatorOperatorAddress) XXX_DiscardUnknown

func (m *MsgAddValidatorOperatorAddress) XXX_DiscardUnknown()

func (*MsgAddValidatorOperatorAddress) XXX_Marshal

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

func (*MsgAddValidatorOperatorAddress) XXX_Merge

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

func (*MsgAddValidatorOperatorAddress) XXX_Size

func (m *MsgAddValidatorOperatorAddress) XXX_Size() int

func (*MsgAddValidatorOperatorAddress) XXX_Unmarshal

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

type MsgAddValidatorOperatorAddressResponse

type MsgAddValidatorOperatorAddressResponse struct {
}

func (*MsgAddValidatorOperatorAddressResponse) Descriptor

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

func (*MsgAddValidatorOperatorAddressResponse) Marshal

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

func (*MsgAddValidatorOperatorAddressResponse) MarshalTo

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

func (*MsgAddValidatorOperatorAddressResponse) MarshalToSizedBuffer

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

func (*MsgAddValidatorOperatorAddressResponse) ProtoMessage

func (*MsgAddValidatorOperatorAddressResponse) Reset

func (*MsgAddValidatorOperatorAddressResponse) Size

func (*MsgAddValidatorOperatorAddressResponse) String

func (*MsgAddValidatorOperatorAddressResponse) Unmarshal

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

func (*MsgAddValidatorOperatorAddressResponse) XXX_DiscardUnknown

func (m *MsgAddValidatorOperatorAddressResponse) XXX_DiscardUnknown()

func (*MsgAddValidatorOperatorAddressResponse) XXX_Marshal

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

func (*MsgAddValidatorOperatorAddressResponse) XXX_Merge

func (*MsgAddValidatorOperatorAddressResponse) XXX_Size

func (*MsgAddValidatorOperatorAddressResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	UpdateValidatorDescription(ctx context.Context, in *MsgUpdateValidatorDescription, opts ...grpc.CallOption) (*MsgUpdateValidatorDescriptionResponse, error)
	AddValidatorOperatorAddress(ctx context.Context, in *MsgAddValidatorOperatorAddress, opts ...grpc.CallOption) (*MsgAddValidatorOperatorAddressResponse, error)
	CreateCoordinator(ctx context.Context, in *MsgCreateCoordinator, opts ...grpc.CallOption) (*MsgCreateCoordinatorResponse, error)
	UpdateCoordinatorDescription(ctx context.Context, in *MsgUpdateCoordinatorDescription, opts ...grpc.CallOption) (*MsgUpdateCoordinatorDescriptionResponse, error)
	UpdateCoordinatorAddress(ctx context.Context, in *MsgUpdateCoordinatorAddress, opts ...grpc.CallOption) (*MsgUpdateCoordinatorAddressResponse, error)
	DisableCoordinator(ctx context.Context, in *MsgDisableCoordinator, opts ...grpc.CallOption) (*MsgDisableCoordinatorResponse, 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 MsgCreateCoordinator

type MsgCreateCoordinator struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Website  string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
	Details  string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
}

func NewMsgCreateCoordinator

func NewMsgCreateCoordinator(address, identity, website, details string) *MsgCreateCoordinator

func (*MsgCreateCoordinator) Descriptor

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

func (*MsgCreateCoordinator) GetAddress

func (m *MsgCreateCoordinator) GetAddress() string

func (*MsgCreateCoordinator) GetDetails

func (m *MsgCreateCoordinator) GetDetails() string

func (*MsgCreateCoordinator) GetIdentity

func (m *MsgCreateCoordinator) GetIdentity() string

func (*MsgCreateCoordinator) GetWebsite

func (m *MsgCreateCoordinator) GetWebsite() string

func (*MsgCreateCoordinator) Marshal

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

func (*MsgCreateCoordinator) MarshalTo

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

func (*MsgCreateCoordinator) MarshalToSizedBuffer

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

func (*MsgCreateCoordinator) ProtoMessage

func (*MsgCreateCoordinator) ProtoMessage()

func (*MsgCreateCoordinator) Reset

func (m *MsgCreateCoordinator) Reset()

func (*MsgCreateCoordinator) Size

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

func (*MsgCreateCoordinator) String

func (m *MsgCreateCoordinator) String() string

func (*MsgCreateCoordinator) Type

func (msg *MsgCreateCoordinator) Type() string

Type returns the msg type.

func (*MsgCreateCoordinator) Unmarshal

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

func (*MsgCreateCoordinator) XXX_DiscardUnknown

func (m *MsgCreateCoordinator) XXX_DiscardUnknown()

func (*MsgCreateCoordinator) XXX_Marshal

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

func (*MsgCreateCoordinator) XXX_Merge

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

func (*MsgCreateCoordinator) XXX_Size

func (m *MsgCreateCoordinator) XXX_Size() int

func (*MsgCreateCoordinator) XXX_Unmarshal

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

type MsgCreateCoordinatorResponse

type MsgCreateCoordinatorResponse struct {
	CoordinatorId uint64 `protobuf:"varint,1,opt,name=coordinator_id,json=coordinatorId,proto3" json:"coordinator_id,omitempty"`
}

func (*MsgCreateCoordinatorResponse) Descriptor

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

func (*MsgCreateCoordinatorResponse) GetCoordinatorId

func (m *MsgCreateCoordinatorResponse) GetCoordinatorId() uint64

func (*MsgCreateCoordinatorResponse) Marshal

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

func (*MsgCreateCoordinatorResponse) MarshalTo

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

func (*MsgCreateCoordinatorResponse) MarshalToSizedBuffer

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

func (*MsgCreateCoordinatorResponse) ProtoMessage

func (*MsgCreateCoordinatorResponse) ProtoMessage()

func (*MsgCreateCoordinatorResponse) Reset

func (m *MsgCreateCoordinatorResponse) Reset()

func (*MsgCreateCoordinatorResponse) Size

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

func (*MsgCreateCoordinatorResponse) String

func (*MsgCreateCoordinatorResponse) Unmarshal

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

func (*MsgCreateCoordinatorResponse) XXX_DiscardUnknown

func (m *MsgCreateCoordinatorResponse) XXX_DiscardUnknown()

func (*MsgCreateCoordinatorResponse) XXX_Marshal

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

func (*MsgCreateCoordinatorResponse) XXX_Merge

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

func (*MsgCreateCoordinatorResponse) XXX_Size

func (m *MsgCreateCoordinatorResponse) XXX_Size() int

func (*MsgCreateCoordinatorResponse) XXX_Unmarshal

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

type MsgDisableCoordinator

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

func NewMsgDisableCoordinator

func NewMsgDisableCoordinator(address string) *MsgDisableCoordinator

func (*MsgDisableCoordinator) Descriptor

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

func (*MsgDisableCoordinator) GetAddress

func (m *MsgDisableCoordinator) GetAddress() string

func (*MsgDisableCoordinator) Marshal

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

func (*MsgDisableCoordinator) MarshalTo

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

func (*MsgDisableCoordinator) MarshalToSizedBuffer

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

func (*MsgDisableCoordinator) ProtoMessage

func (*MsgDisableCoordinator) ProtoMessage()

func (*MsgDisableCoordinator) Reset

func (m *MsgDisableCoordinator) Reset()

func (*MsgDisableCoordinator) Size

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

func (*MsgDisableCoordinator) String

func (m *MsgDisableCoordinator) String() string

func (*MsgDisableCoordinator) Type

func (msg *MsgDisableCoordinator) Type() string

Type returns the msg type.

func (*MsgDisableCoordinator) Unmarshal

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

func (*MsgDisableCoordinator) XXX_DiscardUnknown

func (m *MsgDisableCoordinator) XXX_DiscardUnknown()

func (*MsgDisableCoordinator) XXX_Marshal

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

func (*MsgDisableCoordinator) XXX_Merge

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

func (*MsgDisableCoordinator) XXX_Size

func (m *MsgDisableCoordinator) XXX_Size() int

func (*MsgDisableCoordinator) XXX_Unmarshal

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

type MsgDisableCoordinatorResponse

type MsgDisableCoordinatorResponse struct {
	CoordinatorId uint64 `protobuf:"varint,1,opt,name=coordinator_id,json=coordinatorId,proto3" json:"coordinator_id,omitempty"`
}

func (*MsgDisableCoordinatorResponse) Descriptor

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

func (*MsgDisableCoordinatorResponse) GetCoordinatorId

func (m *MsgDisableCoordinatorResponse) GetCoordinatorId() uint64

func (*MsgDisableCoordinatorResponse) Marshal

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

func (*MsgDisableCoordinatorResponse) MarshalTo

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

func (*MsgDisableCoordinatorResponse) MarshalToSizedBuffer

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

func (*MsgDisableCoordinatorResponse) ProtoMessage

func (*MsgDisableCoordinatorResponse) ProtoMessage()

func (*MsgDisableCoordinatorResponse) Reset

func (m *MsgDisableCoordinatorResponse) Reset()

func (*MsgDisableCoordinatorResponse) Size

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

func (*MsgDisableCoordinatorResponse) String

func (*MsgDisableCoordinatorResponse) Unmarshal

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

func (*MsgDisableCoordinatorResponse) XXX_DiscardUnknown

func (m *MsgDisableCoordinatorResponse) XXX_DiscardUnknown()

func (*MsgDisableCoordinatorResponse) XXX_Marshal

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

func (*MsgDisableCoordinatorResponse) XXX_Merge

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

func (*MsgDisableCoordinatorResponse) XXX_Size

func (m *MsgDisableCoordinatorResponse) XXX_Size() int

func (*MsgDisableCoordinatorResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	UpdateValidatorDescription(context.Context, *MsgUpdateValidatorDescription) (*MsgUpdateValidatorDescriptionResponse, error)
	AddValidatorOperatorAddress(context.Context, *MsgAddValidatorOperatorAddress) (*MsgAddValidatorOperatorAddressResponse, error)
	CreateCoordinator(context.Context, *MsgCreateCoordinator) (*MsgCreateCoordinatorResponse, error)
	UpdateCoordinatorDescription(context.Context, *MsgUpdateCoordinatorDescription) (*MsgUpdateCoordinatorDescriptionResponse, error)
	UpdateCoordinatorAddress(context.Context, *MsgUpdateCoordinatorAddress) (*MsgUpdateCoordinatorAddressResponse, error)
	DisableCoordinator(context.Context, *MsgDisableCoordinator) (*MsgDisableCoordinatorResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateCoordinatorAddress

type MsgUpdateCoordinatorAddress struct {
	Address    string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	NewAddress string `protobuf:"bytes,2,opt,name=new_address,json=newAddress,proto3" json:"new_address,omitempty"`
}

func NewMsgUpdateCoordinatorAddress

func NewMsgUpdateCoordinatorAddress(address string, newAddress string) *MsgUpdateCoordinatorAddress

func (*MsgUpdateCoordinatorAddress) Descriptor

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

func (*MsgUpdateCoordinatorAddress) GetAddress

func (m *MsgUpdateCoordinatorAddress) GetAddress() string

func (*MsgUpdateCoordinatorAddress) GetNewAddress

func (m *MsgUpdateCoordinatorAddress) GetNewAddress() string

func (*MsgUpdateCoordinatorAddress) Marshal

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

func (*MsgUpdateCoordinatorAddress) MarshalTo

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

func (*MsgUpdateCoordinatorAddress) MarshalToSizedBuffer

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

func (*MsgUpdateCoordinatorAddress) ProtoMessage

func (*MsgUpdateCoordinatorAddress) ProtoMessage()

func (*MsgUpdateCoordinatorAddress) Reset

func (m *MsgUpdateCoordinatorAddress) Reset()

func (*MsgUpdateCoordinatorAddress) Size

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

func (*MsgUpdateCoordinatorAddress) String

func (m *MsgUpdateCoordinatorAddress) String() string

func (*MsgUpdateCoordinatorAddress) Type

func (msg *MsgUpdateCoordinatorAddress) Type() string

Type returns the msg type.

func (*MsgUpdateCoordinatorAddress) Unmarshal

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

func (*MsgUpdateCoordinatorAddress) ValidateBasic

func (msg *MsgUpdateCoordinatorAddress) ValidateBasic() error

func (*MsgUpdateCoordinatorAddress) XXX_DiscardUnknown

func (m *MsgUpdateCoordinatorAddress) XXX_DiscardUnknown()

func (*MsgUpdateCoordinatorAddress) XXX_Marshal

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

func (*MsgUpdateCoordinatorAddress) XXX_Merge

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

func (*MsgUpdateCoordinatorAddress) XXX_Size

func (m *MsgUpdateCoordinatorAddress) XXX_Size() int

func (*MsgUpdateCoordinatorAddress) XXX_Unmarshal

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

type MsgUpdateCoordinatorAddressResponse

type MsgUpdateCoordinatorAddressResponse struct {
}

func (*MsgUpdateCoordinatorAddressResponse) Descriptor

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

func (*MsgUpdateCoordinatorAddressResponse) Marshal

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

func (*MsgUpdateCoordinatorAddressResponse) MarshalTo

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

func (*MsgUpdateCoordinatorAddressResponse) MarshalToSizedBuffer

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

func (*MsgUpdateCoordinatorAddressResponse) ProtoMessage

func (*MsgUpdateCoordinatorAddressResponse) ProtoMessage()

func (*MsgUpdateCoordinatorAddressResponse) Reset

func (*MsgUpdateCoordinatorAddressResponse) Size

func (*MsgUpdateCoordinatorAddressResponse) String

func (*MsgUpdateCoordinatorAddressResponse) Unmarshal

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

func (*MsgUpdateCoordinatorAddressResponse) XXX_DiscardUnknown

func (m *MsgUpdateCoordinatorAddressResponse) XXX_DiscardUnknown()

func (*MsgUpdateCoordinatorAddressResponse) XXX_Marshal

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

func (*MsgUpdateCoordinatorAddressResponse) XXX_Merge

func (*MsgUpdateCoordinatorAddressResponse) XXX_Size

func (*MsgUpdateCoordinatorAddressResponse) XXX_Unmarshal

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

type MsgUpdateCoordinatorDescription

type MsgUpdateCoordinatorDescription struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Website  string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
	Details  string `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"`
}

func NewMsgUpdateCoordinatorDescription

func NewMsgUpdateCoordinatorDescription(address, identity, website, details string) *MsgUpdateCoordinatorDescription

func (*MsgUpdateCoordinatorDescription) Descriptor

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

func (*MsgUpdateCoordinatorDescription) GetAddress

func (m *MsgUpdateCoordinatorDescription) GetAddress() string

func (*MsgUpdateCoordinatorDescription) GetDetails

func (m *MsgUpdateCoordinatorDescription) GetDetails() string

func (*MsgUpdateCoordinatorDescription) GetIdentity

func (m *MsgUpdateCoordinatorDescription) GetIdentity() string

func (*MsgUpdateCoordinatorDescription) GetWebsite

func (m *MsgUpdateCoordinatorDescription) GetWebsite() string

func (*MsgUpdateCoordinatorDescription) Marshal

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

func (*MsgUpdateCoordinatorDescription) MarshalTo

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

func (*MsgUpdateCoordinatorDescription) MarshalToSizedBuffer

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

func (*MsgUpdateCoordinatorDescription) ProtoMessage

func (*MsgUpdateCoordinatorDescription) ProtoMessage()

func (*MsgUpdateCoordinatorDescription) Reset

func (*MsgUpdateCoordinatorDescription) Size

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

func (*MsgUpdateCoordinatorDescription) String

func (*MsgUpdateCoordinatorDescription) Type

Type returns the msg type.

func (*MsgUpdateCoordinatorDescription) Unmarshal

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

func (*MsgUpdateCoordinatorDescription) ValidateBasic

func (msg *MsgUpdateCoordinatorDescription) ValidateBasic() error

func (*MsgUpdateCoordinatorDescription) XXX_DiscardUnknown

func (m *MsgUpdateCoordinatorDescription) XXX_DiscardUnknown()

func (*MsgUpdateCoordinatorDescription) XXX_Marshal

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

func (*MsgUpdateCoordinatorDescription) XXX_Merge

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

func (*MsgUpdateCoordinatorDescription) XXX_Size

func (m *MsgUpdateCoordinatorDescription) XXX_Size() int

func (*MsgUpdateCoordinatorDescription) XXX_Unmarshal

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

type MsgUpdateCoordinatorDescriptionResponse

type MsgUpdateCoordinatorDescriptionResponse struct {
}

func (*MsgUpdateCoordinatorDescriptionResponse) Descriptor

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

func (*MsgUpdateCoordinatorDescriptionResponse) Marshal

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

func (*MsgUpdateCoordinatorDescriptionResponse) MarshalTo

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

func (*MsgUpdateCoordinatorDescriptionResponse) MarshalToSizedBuffer

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

func (*MsgUpdateCoordinatorDescriptionResponse) ProtoMessage

func (*MsgUpdateCoordinatorDescriptionResponse) Reset

func (*MsgUpdateCoordinatorDescriptionResponse) Size

func (*MsgUpdateCoordinatorDescriptionResponse) String

func (*MsgUpdateCoordinatorDescriptionResponse) Unmarshal

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

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_DiscardUnknown

func (m *MsgUpdateCoordinatorDescriptionResponse) XXX_DiscardUnknown()

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Marshal

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

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Merge

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Size

func (*MsgUpdateCoordinatorDescriptionResponse) XXX_Unmarshal

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

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type MsgUpdateValidatorDescription

type MsgUpdateValidatorDescription struct {
	Address         string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Identity        string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Moniker         string `protobuf:"bytes,3,opt,name=moniker,proto3" json:"moniker,omitempty"`
	Website         string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	SecurityContact string `protobuf:"bytes,5,opt,name=security_contact,json=securityContact,proto3" json:"security_contact,omitempty"`
	Details         string `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"`
}

func NewMsgUpdateValidatorDescription

func NewMsgUpdateValidatorDescription(
	address,
	identity,
	moniker,
	website,
	securityContact,
	details string,
) *MsgUpdateValidatorDescription

func (*MsgUpdateValidatorDescription) Descriptor

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

func (*MsgUpdateValidatorDescription) GetAddress

func (m *MsgUpdateValidatorDescription) GetAddress() string

func (*MsgUpdateValidatorDescription) GetDetails

func (m *MsgUpdateValidatorDescription) GetDetails() string

func (*MsgUpdateValidatorDescription) GetIdentity

func (m *MsgUpdateValidatorDescription) GetIdentity() string

func (*MsgUpdateValidatorDescription) GetMoniker

func (m *MsgUpdateValidatorDescription) GetMoniker() string

func (*MsgUpdateValidatorDescription) GetSecurityContact

func (m *MsgUpdateValidatorDescription) GetSecurityContact() string

func (*MsgUpdateValidatorDescription) GetWebsite

func (m *MsgUpdateValidatorDescription) GetWebsite() string

func (*MsgUpdateValidatorDescription) Marshal

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

func (*MsgUpdateValidatorDescription) MarshalTo

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

func (*MsgUpdateValidatorDescription) MarshalToSizedBuffer

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

func (*MsgUpdateValidatorDescription) ProtoMessage

func (*MsgUpdateValidatorDescription) ProtoMessage()

func (*MsgUpdateValidatorDescription) Reset

func (m *MsgUpdateValidatorDescription) Reset()

func (*MsgUpdateValidatorDescription) Size

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

func (*MsgUpdateValidatorDescription) String

func (*MsgUpdateValidatorDescription) Type

Type returns the msg type.

func (*MsgUpdateValidatorDescription) Unmarshal

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

func (*MsgUpdateValidatorDescription) ValidateBasic

func (msg *MsgUpdateValidatorDescription) ValidateBasic() error

func (*MsgUpdateValidatorDescription) XXX_DiscardUnknown

func (m *MsgUpdateValidatorDescription) XXX_DiscardUnknown()

func (*MsgUpdateValidatorDescription) XXX_Marshal

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

func (*MsgUpdateValidatorDescription) XXX_Merge

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

func (*MsgUpdateValidatorDescription) XXX_Size

func (m *MsgUpdateValidatorDescription) XXX_Size() int

func (*MsgUpdateValidatorDescription) XXX_Unmarshal

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

type MsgUpdateValidatorDescriptionResponse

type MsgUpdateValidatorDescriptionResponse struct {
}

func (*MsgUpdateValidatorDescriptionResponse) Descriptor

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

func (*MsgUpdateValidatorDescriptionResponse) Marshal

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

func (*MsgUpdateValidatorDescriptionResponse) MarshalTo

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

func (*MsgUpdateValidatorDescriptionResponse) MarshalToSizedBuffer

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

func (*MsgUpdateValidatorDescriptionResponse) ProtoMessage

func (*MsgUpdateValidatorDescriptionResponse) ProtoMessage()

func (*MsgUpdateValidatorDescriptionResponse) Reset

func (*MsgUpdateValidatorDescriptionResponse) Size

func (*MsgUpdateValidatorDescriptionResponse) String

func (*MsgUpdateValidatorDescriptionResponse) Unmarshal

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

func (*MsgUpdateValidatorDescriptionResponse) XXX_DiscardUnknown

func (m *MsgUpdateValidatorDescriptionResponse) XXX_DiscardUnknown()

func (*MsgUpdateValidatorDescriptionResponse) XXX_Marshal

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

func (*MsgUpdateValidatorDescriptionResponse) XXX_Merge

func (*MsgUpdateValidatorDescriptionResponse) XXX_Size

func (*MsgUpdateValidatorDescriptionResponse) XXX_Unmarshal

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

type ParamSubspace

type ParamSubspace interface {
	Get(context.Context, []byte, interface{})
	Set(context.Context, []byte, interface{})
}

ParamSubspace defines the expected Subspace interface for parameters.

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters.

func NewParams

func NewParams() Params

NewParams creates a new Params instance.

func (*Params) Descriptor

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

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

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) 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 QueryAllCoordinatorRequest

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

func (*QueryAllCoordinatorRequest) Descriptor

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

func (*QueryAllCoordinatorRequest) GetPagination

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

func (*QueryAllCoordinatorRequest) Marshal

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

func (*QueryAllCoordinatorRequest) MarshalTo

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

func (*QueryAllCoordinatorRequest) MarshalToSizedBuffer

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

func (*QueryAllCoordinatorRequest) ProtoMessage

func (*QueryAllCoordinatorRequest) ProtoMessage()

func (*QueryAllCoordinatorRequest) Reset

func (m *QueryAllCoordinatorRequest) Reset()

func (*QueryAllCoordinatorRequest) Size

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

func (*QueryAllCoordinatorRequest) String

func (m *QueryAllCoordinatorRequest) String() string

func (*QueryAllCoordinatorRequest) Unmarshal

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

func (*QueryAllCoordinatorRequest) XXX_DiscardUnknown

func (m *QueryAllCoordinatorRequest) XXX_DiscardUnknown()

func (*QueryAllCoordinatorRequest) XXX_Marshal

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

func (*QueryAllCoordinatorRequest) XXX_Merge

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

func (*QueryAllCoordinatorRequest) XXX_Size

func (m *QueryAllCoordinatorRequest) XXX_Size() int

func (*QueryAllCoordinatorRequest) XXX_Unmarshal

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

type QueryAllCoordinatorResponse

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

func (*QueryAllCoordinatorResponse) Descriptor

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

func (*QueryAllCoordinatorResponse) GetCoordinator

func (m *QueryAllCoordinatorResponse) GetCoordinator() []Coordinator

func (*QueryAllCoordinatorResponse) GetPagination

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

func (*QueryAllCoordinatorResponse) Marshal

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

func (*QueryAllCoordinatorResponse) MarshalTo

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

func (*QueryAllCoordinatorResponse) MarshalToSizedBuffer

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

func (*QueryAllCoordinatorResponse) ProtoMessage

func (*QueryAllCoordinatorResponse) ProtoMessage()

func (*QueryAllCoordinatorResponse) Reset

func (m *QueryAllCoordinatorResponse) Reset()

func (*QueryAllCoordinatorResponse) Size

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

func (*QueryAllCoordinatorResponse) String

func (m *QueryAllCoordinatorResponse) String() string

func (*QueryAllCoordinatorResponse) Unmarshal

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

func (*QueryAllCoordinatorResponse) XXX_DiscardUnknown

func (m *QueryAllCoordinatorResponse) XXX_DiscardUnknown()

func (*QueryAllCoordinatorResponse) XXX_Marshal

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

func (*QueryAllCoordinatorResponse) XXX_Merge

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

func (*QueryAllCoordinatorResponse) XXX_Size

func (m *QueryAllCoordinatorResponse) XXX_Size() int

func (*QueryAllCoordinatorResponse) XXX_Unmarshal

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

type QueryAllValidatorRequest

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

func (*QueryAllValidatorRequest) Descriptor

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

func (*QueryAllValidatorRequest) GetPagination

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

func (*QueryAllValidatorRequest) Marshal

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

func (*QueryAllValidatorRequest) MarshalTo

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

func (*QueryAllValidatorRequest) MarshalToSizedBuffer

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

func (*QueryAllValidatorRequest) ProtoMessage

func (*QueryAllValidatorRequest) ProtoMessage()

func (*QueryAllValidatorRequest) Reset

func (m *QueryAllValidatorRequest) Reset()

func (*QueryAllValidatorRequest) Size

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

func (*QueryAllValidatorRequest) String

func (m *QueryAllValidatorRequest) String() string

func (*QueryAllValidatorRequest) Unmarshal

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

func (*QueryAllValidatorRequest) XXX_DiscardUnknown

func (m *QueryAllValidatorRequest) XXX_DiscardUnknown()

func (*QueryAllValidatorRequest) XXX_Marshal

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

func (*QueryAllValidatorRequest) XXX_Merge

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

func (*QueryAllValidatorRequest) XXX_Size

func (m *QueryAllValidatorRequest) XXX_Size() int

func (*QueryAllValidatorRequest) XXX_Unmarshal

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

type QueryAllValidatorResponse

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

func (*QueryAllValidatorResponse) Descriptor

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

func (*QueryAllValidatorResponse) GetPagination

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

func (*QueryAllValidatorResponse) GetValidator

func (m *QueryAllValidatorResponse) GetValidator() []Validator

func (*QueryAllValidatorResponse) Marshal

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

func (*QueryAllValidatorResponse) MarshalTo

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

func (*QueryAllValidatorResponse) MarshalToSizedBuffer

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

func (*QueryAllValidatorResponse) ProtoMessage

func (*QueryAllValidatorResponse) ProtoMessage()

func (*QueryAllValidatorResponse) Reset

func (m *QueryAllValidatorResponse) Reset()

func (*QueryAllValidatorResponse) Size

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

func (*QueryAllValidatorResponse) String

func (m *QueryAllValidatorResponse) String() string

func (*QueryAllValidatorResponse) Unmarshal

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

func (*QueryAllValidatorResponse) XXX_DiscardUnknown

func (m *QueryAllValidatorResponse) XXX_DiscardUnknown()

func (*QueryAllValidatorResponse) XXX_Marshal

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

func (*QueryAllValidatorResponse) XXX_Merge

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

func (*QueryAllValidatorResponse) XXX_Size

func (m *QueryAllValidatorResponse) XXX_Size() int

func (*QueryAllValidatorResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of Coordinator items.
	GetCoordinator(ctx context.Context, in *QueryGetCoordinatorRequest, opts ...grpc.CallOption) (*QueryGetCoordinatorResponse, error)
	ListCoordinator(ctx context.Context, in *QueryAllCoordinatorRequest, opts ...grpc.CallOption) (*QueryAllCoordinatorResponse, error)
	// Queries a list of Validator items.
	GetValidator(ctx context.Context, in *QueryGetValidatorRequest, opts ...grpc.CallOption) (*QueryGetValidatorResponse, error)
	ListValidator(ctx context.Context, in *QueryAllValidatorRequest, opts ...grpc.CallOption) (*QueryAllValidatorResponse, error)
	// Queries a list of GetCoordinatorByAddress items.
	GetCoordinatorByAddress(ctx context.Context, in *QueryGetCoordinatorByAddressRequest, opts ...grpc.CallOption) (*QueryGetCoordinatorByAddressResponse, error)
	// Queries a list of GetValidatorByOperatorAddress items.
	GetValidatorByOperatorAddress(ctx context.Context, in *QueryGetValidatorByOperatorAddressRequest, opts ...grpc.CallOption) (*QueryGetValidatorByOperatorAddressResponse, 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 QueryGetCoordinatorByAddressRequest

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

func (*QueryGetCoordinatorByAddressRequest) Descriptor

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

func (*QueryGetCoordinatorByAddressRequest) GetAddress

func (*QueryGetCoordinatorByAddressRequest) Marshal

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

func (*QueryGetCoordinatorByAddressRequest) MarshalTo

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

func (*QueryGetCoordinatorByAddressRequest) MarshalToSizedBuffer

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

func (*QueryGetCoordinatorByAddressRequest) ProtoMessage

func (*QueryGetCoordinatorByAddressRequest) ProtoMessage()

func (*QueryGetCoordinatorByAddressRequest) Reset

func (*QueryGetCoordinatorByAddressRequest) Size

func (*QueryGetCoordinatorByAddressRequest) String

func (*QueryGetCoordinatorByAddressRequest) Unmarshal

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

func (*QueryGetCoordinatorByAddressRequest) XXX_DiscardUnknown

func (m *QueryGetCoordinatorByAddressRequest) XXX_DiscardUnknown()

func (*QueryGetCoordinatorByAddressRequest) XXX_Marshal

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

func (*QueryGetCoordinatorByAddressRequest) XXX_Merge

func (*QueryGetCoordinatorByAddressRequest) XXX_Size

func (*QueryGetCoordinatorByAddressRequest) XXX_Unmarshal

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

type QueryGetCoordinatorByAddressResponse

type QueryGetCoordinatorByAddressResponse struct {
	Coordinator Coordinator `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator"`
}

func (*QueryGetCoordinatorByAddressResponse) Descriptor

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

func (*QueryGetCoordinatorByAddressResponse) GetCoordinator

func (*QueryGetCoordinatorByAddressResponse) Marshal

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

func (*QueryGetCoordinatorByAddressResponse) MarshalTo

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

func (*QueryGetCoordinatorByAddressResponse) MarshalToSizedBuffer

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

func (*QueryGetCoordinatorByAddressResponse) ProtoMessage

func (*QueryGetCoordinatorByAddressResponse) ProtoMessage()

func (*QueryGetCoordinatorByAddressResponse) Reset

func (*QueryGetCoordinatorByAddressResponse) Size

func (*QueryGetCoordinatorByAddressResponse) String

func (*QueryGetCoordinatorByAddressResponse) Unmarshal

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

func (*QueryGetCoordinatorByAddressResponse) XXX_DiscardUnknown

func (m *QueryGetCoordinatorByAddressResponse) XXX_DiscardUnknown()

func (*QueryGetCoordinatorByAddressResponse) XXX_Marshal

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

func (*QueryGetCoordinatorByAddressResponse) XXX_Merge

func (*QueryGetCoordinatorByAddressResponse) XXX_Size

func (*QueryGetCoordinatorByAddressResponse) XXX_Unmarshal

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

type QueryGetCoordinatorRequest

type QueryGetCoordinatorRequest struct {
	CoordinatorId uint64 `protobuf:"varint,1,opt,name=coordinator_id,json=coordinatorId,proto3" json:"coordinator_id,omitempty"`
}

func (*QueryGetCoordinatorRequest) Descriptor

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

func (*QueryGetCoordinatorRequest) GetCoordinatorId

func (m *QueryGetCoordinatorRequest) GetCoordinatorId() uint64

func (*QueryGetCoordinatorRequest) Marshal

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

func (*QueryGetCoordinatorRequest) MarshalTo

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

func (*QueryGetCoordinatorRequest) MarshalToSizedBuffer

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

func (*QueryGetCoordinatorRequest) ProtoMessage

func (*QueryGetCoordinatorRequest) ProtoMessage()

func (*QueryGetCoordinatorRequest) Reset

func (m *QueryGetCoordinatorRequest) Reset()

func (*QueryGetCoordinatorRequest) Size

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

func (*QueryGetCoordinatorRequest) String

func (m *QueryGetCoordinatorRequest) String() string

func (*QueryGetCoordinatorRequest) Unmarshal

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

func (*QueryGetCoordinatorRequest) XXX_DiscardUnknown

func (m *QueryGetCoordinatorRequest) XXX_DiscardUnknown()

func (*QueryGetCoordinatorRequest) XXX_Marshal

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

func (*QueryGetCoordinatorRequest) XXX_Merge

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

func (*QueryGetCoordinatorRequest) XXX_Size

func (m *QueryGetCoordinatorRequest) XXX_Size() int

func (*QueryGetCoordinatorRequest) XXX_Unmarshal

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

type QueryGetCoordinatorResponse

type QueryGetCoordinatorResponse struct {
	Coordinator Coordinator `protobuf:"bytes,1,opt,name=coordinator,proto3" json:"coordinator"`
}

func (*QueryGetCoordinatorResponse) Descriptor

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

func (*QueryGetCoordinatorResponse) GetCoordinator

func (m *QueryGetCoordinatorResponse) GetCoordinator() Coordinator

func (*QueryGetCoordinatorResponse) Marshal

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

func (*QueryGetCoordinatorResponse) MarshalTo

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

func (*QueryGetCoordinatorResponse) MarshalToSizedBuffer

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

func (*QueryGetCoordinatorResponse) ProtoMessage

func (*QueryGetCoordinatorResponse) ProtoMessage()

func (*QueryGetCoordinatorResponse) Reset

func (m *QueryGetCoordinatorResponse) Reset()

func (*QueryGetCoordinatorResponse) Size

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

func (*QueryGetCoordinatorResponse) String

func (m *QueryGetCoordinatorResponse) String() string

func (*QueryGetCoordinatorResponse) Unmarshal

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

func (*QueryGetCoordinatorResponse) XXX_DiscardUnknown

func (m *QueryGetCoordinatorResponse) XXX_DiscardUnknown()

func (*QueryGetCoordinatorResponse) XXX_Marshal

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

func (*QueryGetCoordinatorResponse) XXX_Merge

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

func (*QueryGetCoordinatorResponse) XXX_Size

func (m *QueryGetCoordinatorResponse) XXX_Size() int

func (*QueryGetCoordinatorResponse) XXX_Unmarshal

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

type QueryGetValidatorByOperatorAddressRequest

type QueryGetValidatorByOperatorAddressRequest struct {
	OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
}

func (*QueryGetValidatorByOperatorAddressRequest) Descriptor

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

func (*QueryGetValidatorByOperatorAddressRequest) GetOperatorAddress

func (m *QueryGetValidatorByOperatorAddressRequest) GetOperatorAddress() string

func (*QueryGetValidatorByOperatorAddressRequest) Marshal

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

func (*QueryGetValidatorByOperatorAddressRequest) MarshalTo

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

func (*QueryGetValidatorByOperatorAddressRequest) MarshalToSizedBuffer

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

func (*QueryGetValidatorByOperatorAddressRequest) ProtoMessage

func (*QueryGetValidatorByOperatorAddressRequest) Reset

func (*QueryGetValidatorByOperatorAddressRequest) Size

func (*QueryGetValidatorByOperatorAddressRequest) String

func (*QueryGetValidatorByOperatorAddressRequest) Unmarshal

func (*QueryGetValidatorByOperatorAddressRequest) XXX_DiscardUnknown

func (m *QueryGetValidatorByOperatorAddressRequest) XXX_DiscardUnknown()

func (*QueryGetValidatorByOperatorAddressRequest) XXX_Marshal

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

func (*QueryGetValidatorByOperatorAddressRequest) XXX_Merge

func (*QueryGetValidatorByOperatorAddressRequest) XXX_Size

func (*QueryGetValidatorByOperatorAddressRequest) XXX_Unmarshal

type QueryGetValidatorByOperatorAddressResponse

type QueryGetValidatorByOperatorAddressResponse struct {
	Validator Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
}

func (*QueryGetValidatorByOperatorAddressResponse) Descriptor

func (*QueryGetValidatorByOperatorAddressResponse) GetValidator

func (*QueryGetValidatorByOperatorAddressResponse) Marshal

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

func (*QueryGetValidatorByOperatorAddressResponse) MarshalTo

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

func (*QueryGetValidatorByOperatorAddressResponse) MarshalToSizedBuffer

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

func (*QueryGetValidatorByOperatorAddressResponse) ProtoMessage

func (*QueryGetValidatorByOperatorAddressResponse) Reset

func (*QueryGetValidatorByOperatorAddressResponse) Size

func (*QueryGetValidatorByOperatorAddressResponse) String

func (*QueryGetValidatorByOperatorAddressResponse) Unmarshal

func (*QueryGetValidatorByOperatorAddressResponse) XXX_DiscardUnknown

func (m *QueryGetValidatorByOperatorAddressResponse) XXX_DiscardUnknown()

func (*QueryGetValidatorByOperatorAddressResponse) XXX_Marshal

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

func (*QueryGetValidatorByOperatorAddressResponse) XXX_Merge

func (*QueryGetValidatorByOperatorAddressResponse) XXX_Size

func (*QueryGetValidatorByOperatorAddressResponse) XXX_Unmarshal

type QueryGetValidatorRequest

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

func (*QueryGetValidatorRequest) Descriptor

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

func (*QueryGetValidatorRequest) GetAddress

func (m *QueryGetValidatorRequest) GetAddress() string

func (*QueryGetValidatorRequest) Marshal

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

func (*QueryGetValidatorRequest) MarshalTo

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

func (*QueryGetValidatorRequest) MarshalToSizedBuffer

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

func (*QueryGetValidatorRequest) ProtoMessage

func (*QueryGetValidatorRequest) ProtoMessage()

func (*QueryGetValidatorRequest) Reset

func (m *QueryGetValidatorRequest) Reset()

func (*QueryGetValidatorRequest) Size

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

func (*QueryGetValidatorRequest) String

func (m *QueryGetValidatorRequest) String() string

func (*QueryGetValidatorRequest) Unmarshal

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

func (*QueryGetValidatorRequest) XXX_DiscardUnknown

func (m *QueryGetValidatorRequest) XXX_DiscardUnknown()

func (*QueryGetValidatorRequest) XXX_Marshal

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

func (*QueryGetValidatorRequest) XXX_Merge

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

func (*QueryGetValidatorRequest) XXX_Size

func (m *QueryGetValidatorRequest) XXX_Size() int

func (*QueryGetValidatorRequest) XXX_Unmarshal

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

type QueryGetValidatorResponse

type QueryGetValidatorResponse struct {
	Validator Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
}

func (*QueryGetValidatorResponse) Descriptor

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

func (*QueryGetValidatorResponse) GetValidator

func (m *QueryGetValidatorResponse) GetValidator() Validator

func (*QueryGetValidatorResponse) Marshal

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

func (*QueryGetValidatorResponse) MarshalTo

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

func (*QueryGetValidatorResponse) MarshalToSizedBuffer

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

func (*QueryGetValidatorResponse) ProtoMessage

func (*QueryGetValidatorResponse) ProtoMessage()

func (*QueryGetValidatorResponse) Reset

func (m *QueryGetValidatorResponse) Reset()

func (*QueryGetValidatorResponse) Size

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

func (*QueryGetValidatorResponse) String

func (m *QueryGetValidatorResponse) String() string

func (*QueryGetValidatorResponse) Unmarshal

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

func (*QueryGetValidatorResponse) XXX_DiscardUnknown

func (m *QueryGetValidatorResponse) XXX_DiscardUnknown()

func (*QueryGetValidatorResponse) XXX_Marshal

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

func (*QueryGetValidatorResponse) XXX_Merge

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

func (*QueryGetValidatorResponse) XXX_Size

func (m *QueryGetValidatorResponse) XXX_Size() int

func (*QueryGetValidatorResponse) XXX_Unmarshal

func (m *QueryGetValidatorResponse) 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 {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Coordinator items.
	GetCoordinator(context.Context, *QueryGetCoordinatorRequest) (*QueryGetCoordinatorResponse, error)
	ListCoordinator(context.Context, *QueryAllCoordinatorRequest) (*QueryAllCoordinatorResponse, error)
	// Queries a list of Validator items.
	GetValidator(context.Context, *QueryGetValidatorRequest) (*QueryGetValidatorResponse, error)
	ListValidator(context.Context, *QueryAllValidatorRequest) (*QueryAllValidatorResponse, error)
	// Queries a list of GetCoordinatorByAddress items.
	GetCoordinatorByAddress(context.Context, *QueryGetCoordinatorByAddressRequest) (*QueryGetCoordinatorByAddressResponse, error)
	// Queries a list of GetValidatorByOperatorAddress items.
	GetValidatorByOperatorAddress(context.Context, *QueryGetValidatorByOperatorAddressRequest) (*QueryGetValidatorByOperatorAddressResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateCoordinator

func (*UnimplementedMsgServer) DisableCoordinator

func (*UnimplementedMsgServer) UpdateCoordinatorAddress

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) UpdateValidatorDescription

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetCoordinator

func (*UnimplementedQueryServer) GetValidator

func (*UnimplementedQueryServer) ListCoordinator

func (*UnimplementedQueryServer) ListValidator

func (*UnimplementedQueryServer) Params

type Validator

type Validator struct {
	Address           string               `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	OperatorAddresses []string             `protobuf:"bytes,2,rep,name=operator_addresses,json=operatorAddresses,proto3" json:"operator_addresses,omitempty"`
	Description       ValidatorDescription `protobuf:"bytes,3,opt,name=description,proto3" json:"description"`
}

func (Validator) AddValidatorOperatorAddress

func (v Validator) AddValidatorOperatorAddress(operatorAddress string) Validator

AddValidatorOperatorAddress adds a specific operator address without duplication in the Validator and return it

func (*Validator) Descriptor

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

func (*Validator) GetAddress

func (m *Validator) GetAddress() string

func (*Validator) GetDescription

func (m *Validator) GetDescription() ValidatorDescription

func (*Validator) GetOperatorAddresses

func (m *Validator) GetOperatorAddresses() []string

func (Validator) HasOperatorAddress

func (v Validator) HasOperatorAddress(operatorAddress string) bool

HasOperatorAddress checks if the validator has a specific operator address associated to it

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorByOperatorAddress

type ValidatorByOperatorAddress struct {
	OperatorAddress  string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
}

func (*ValidatorByOperatorAddress) Descriptor

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

func (*ValidatorByOperatorAddress) GetOperatorAddress

func (m *ValidatorByOperatorAddress) GetOperatorAddress() string

func (*ValidatorByOperatorAddress) GetValidatorAddress

func (m *ValidatorByOperatorAddress) GetValidatorAddress() string

func (*ValidatorByOperatorAddress) Marshal

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

func (*ValidatorByOperatorAddress) MarshalTo

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

func (*ValidatorByOperatorAddress) MarshalToSizedBuffer

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

func (*ValidatorByOperatorAddress) ProtoMessage

func (*ValidatorByOperatorAddress) ProtoMessage()

func (*ValidatorByOperatorAddress) Reset

func (m *ValidatorByOperatorAddress) Reset()

func (*ValidatorByOperatorAddress) Size

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

func (*ValidatorByOperatorAddress) String

func (m *ValidatorByOperatorAddress) String() string

func (*ValidatorByOperatorAddress) Unmarshal

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

func (*ValidatorByOperatorAddress) XXX_DiscardUnknown

func (m *ValidatorByOperatorAddress) XXX_DiscardUnknown()

func (*ValidatorByOperatorAddress) XXX_Marshal

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

func (*ValidatorByOperatorAddress) XXX_Merge

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

func (*ValidatorByOperatorAddress) XXX_Size

func (m *ValidatorByOperatorAddress) XXX_Size() int

func (*ValidatorByOperatorAddress) XXX_Unmarshal

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

type ValidatorDescription

type ValidatorDescription struct {
	Identity        string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Moniker         string `protobuf:"bytes,2,opt,name=moniker,proto3" json:"moniker,omitempty"`
	Website         string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
	SecurityContact string `protobuf:"bytes,4,opt,name=security_contact,json=securityContact,proto3" json:"security_contact,omitempty"`
	Details         string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
}

func (*ValidatorDescription) Descriptor

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

func (*ValidatorDescription) GetDetails

func (m *ValidatorDescription) GetDetails() string

func (*ValidatorDescription) GetIdentity

func (m *ValidatorDescription) GetIdentity() string

func (*ValidatorDescription) GetMoniker

func (m *ValidatorDescription) GetMoniker() string

func (*ValidatorDescription) GetSecurityContact

func (m *ValidatorDescription) GetSecurityContact() string

func (*ValidatorDescription) GetWebsite

func (m *ValidatorDescription) GetWebsite() string

func (*ValidatorDescription) Marshal

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

func (*ValidatorDescription) MarshalTo

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

func (*ValidatorDescription) MarshalToSizedBuffer

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

func (*ValidatorDescription) ProtoMessage

func (*ValidatorDescription) ProtoMessage()

func (*ValidatorDescription) Reset

func (m *ValidatorDescription) Reset()

func (*ValidatorDescription) Size

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

func (*ValidatorDescription) String

func (m *ValidatorDescription) String() string

func (*ValidatorDescription) Unmarshal

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

func (*ValidatorDescription) XXX_DiscardUnknown

func (m *ValidatorDescription) XXX_DiscardUnknown()

func (*ValidatorDescription) XXX_Marshal

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

func (*ValidatorDescription) XXX_Merge

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

func (*ValidatorDescription) XXX_Size

func (m *ValidatorDescription) XXX_Size() int

func (*ValidatorDescription) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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