types

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 28 Imported by: 15

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

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

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

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

	// CoordinatorKey is the prefix to retrieve all Coordinator
	CoordinatorKey = "Coordinator/value/"

	// CoordinatorCounterKey is the prefix to store coordinator counter
	CoordinatorCounterKey = "Coordinator/count/"

	// CoordinatorByAddressKeyPrefix is the prefix to retrieve all CoordinatorByAddress
	CoordinatorByAddressKeyPrefix = "CoordinatorByAddress/value/"

	// ValidatorKeyPrefix is the prefix to retrieve all Validator
	ValidatorKeyPrefix = "Validator/value/"

	// ValidatorByOperatorAddressKeyPrefix is the prefix to retrieve all ValidatorByOperatorAddress
	ValidatorByOperatorAddressKeyPrefix = "ValidatorByOperatorAddress/value/"
)
View Source
const TypeMsgAddValidatorOperatorAddress = "add_validator_operator_address"
View Source
const TypeMsgCreateCoordinator = "create_coordinator"
View Source
const TypeMsgDisableCoordinator = "disable_coordinator"
View Source
const TypeMsgUpdateCoordinatorAddress = "update_coordinator_address"
View Source
const TypeMsgUpdateCoordinatorDescription = "update_coordinator_description"
View Source
const TypeMsgUpdateValidatorDescription = "update_validator_description"

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 (
	ErrCoordAlreadyExist    = sdkerrors.Register(ModuleName, 2, "coordinator address already exist")
	ErrCoordAddressNotFound = sdkerrors.Register(ModuleName, 3, "coordinator address not found")
	ErrCoordInvalid         = sdkerrors.Register(ModuleName, 4, "invalid coordinator")
	ErrEmptyDescription     = sdkerrors.Register(ModuleName, 5, "you must provide at least one description parameter")
	ErrDupAddress           = sdkerrors.Register(ModuleName, 6, "address is duplicated")
	ErrCoordInactive        = sdkerrors.Register(ModuleName, 7, "inactive coordinator")
	ErrInvalidCoordAddress  = sdkerrors.Register(ModuleName, 8, "invalid coordinator address")
	ErrInvalidValAddress    = sdkerrors.Register(ModuleName, 9, "invalid validator address")
	ErrInvalidOpAddress     = sdkerrors.Register(ModuleName, 10, "invalid operator address")
)

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 (
	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")
)

Functions

func CoordinatorByAddressKey

func CoordinatorByAddressKey(address string) []byte

CoordinatorByAddressKey returns the store key to retrieve a CoordinatorByAddress from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidatorByOperatorAddressKey added in v0.2.0

func ValidatorByOperatorAddressKey(operatorAddress string) []byte

ValidatorByOperatorAddressKey returns the store key to retrieve a ValidatorByOperatorAddress from the index fields

func ValidatorKey

func ValidatorKey(address string) []byte

ValidatorKey returns the store key to retrieve a Validator from the index fields

Types

type AccountKeeper added in v0.2.0

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
}

type BankKeeper added in v0.2.0

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

type Coordinator

type Coordinator struct {
	CoordinatorID uint64                 `protobuf:"varint,1,opt,name=coordinatorID,proto3" json:"coordinatorID,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 added in v0.2.0

func (m *Coordinator) GetActive() bool

func (*Coordinator) GetAddress

func (m *Coordinator) GetAddress() string

func (*Coordinator) GetCoordinatorID added in v0.2.0

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=coordinatorID,proto3" json:"coordinatorID,omitempty"`
}

func (*CoordinatorByAddress) Descriptor

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

func (*CoordinatorByAddress) GetAddress

func (m *CoordinatorByAddress) GetAddress() string

func (*CoordinatorByAddress) GetCoordinatorID added in v0.2.0

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 added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) Descriptor added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) GetCoordinatorID added in v0.3.0

func (m *EventCoordinatorAddressUpdated) GetCoordinatorID() uint64

func (*EventCoordinatorAddressUpdated) GetNewAddress added in v0.3.0

func (m *EventCoordinatorAddressUpdated) GetNewAddress() string

func (*EventCoordinatorAddressUpdated) Marshal added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) MarshalTo added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) MarshalToSizedBuffer added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) ProtoMessage added in v0.3.0

func (*EventCoordinatorAddressUpdated) ProtoMessage()

func (*EventCoordinatorAddressUpdated) Reset added in v0.3.0

func (m *EventCoordinatorAddressUpdated) Reset()

func (*EventCoordinatorAddressUpdated) Size added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) String added in v0.3.0

func (*EventCoordinatorAddressUpdated) Unmarshal added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) XXX_DiscardUnknown added in v0.3.0

func (m *EventCoordinatorAddressUpdated) XXX_DiscardUnknown()

func (*EventCoordinatorAddressUpdated) XXX_Marshal added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) XXX_Merge added in v0.3.0

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

func (*EventCoordinatorAddressUpdated) XXX_Size added in v0.3.0

func (m *EventCoordinatorAddressUpdated) XXX_Size() int

func (*EventCoordinatorAddressUpdated) XXX_Unmarshal added in v0.3.0

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

type EventCoordinatorCreated added in v0.3.0

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

func (*EventCoordinatorCreated) Descriptor added in v0.3.0

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

func (*EventCoordinatorCreated) GetAddress added in v0.3.0

func (m *EventCoordinatorCreated) GetAddress() string

func (*EventCoordinatorCreated) GetCoordinatorID added in v0.3.0

func (m *EventCoordinatorCreated) GetCoordinatorID() uint64

func (*EventCoordinatorCreated) Marshal added in v0.3.0

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

func (*EventCoordinatorCreated) MarshalTo added in v0.3.0

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

func (*EventCoordinatorCreated) MarshalToSizedBuffer added in v0.3.0

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

func (*EventCoordinatorCreated) ProtoMessage added in v0.3.0

func (*EventCoordinatorCreated) ProtoMessage()

func (*EventCoordinatorCreated) Reset added in v0.3.0

func (m *EventCoordinatorCreated) Reset()

func (*EventCoordinatorCreated) Size added in v0.3.0

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

func (*EventCoordinatorCreated) String added in v0.3.0

func (m *EventCoordinatorCreated) String() string

func (*EventCoordinatorCreated) Unmarshal added in v0.3.0

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

func (*EventCoordinatorCreated) XXX_DiscardUnknown added in v0.3.0

func (m *EventCoordinatorCreated) XXX_DiscardUnknown()

func (*EventCoordinatorCreated) XXX_Marshal added in v0.3.0

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

func (*EventCoordinatorCreated) XXX_Merge added in v0.3.0

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

func (*EventCoordinatorCreated) XXX_Size added in v0.3.0

func (m *EventCoordinatorCreated) XXX_Size() int

func (*EventCoordinatorCreated) XXX_Unmarshal added in v0.3.0

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

type EventCoordinatorDisabled added in v0.3.0

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

func (*EventCoordinatorDisabled) Descriptor added in v0.3.0

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

func (*EventCoordinatorDisabled) GetAddress added in v0.3.0

func (m *EventCoordinatorDisabled) GetAddress() string

func (*EventCoordinatorDisabled) GetCoordinatorID added in v0.3.0

func (m *EventCoordinatorDisabled) GetCoordinatorID() uint64

func (*EventCoordinatorDisabled) Marshal added in v0.3.0

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

func (*EventCoordinatorDisabled) MarshalTo added in v0.3.0

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

func (*EventCoordinatorDisabled) MarshalToSizedBuffer added in v0.3.0

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

func (*EventCoordinatorDisabled) ProtoMessage added in v0.3.0

func (*EventCoordinatorDisabled) ProtoMessage()

func (*EventCoordinatorDisabled) Reset added in v0.3.0

func (m *EventCoordinatorDisabled) Reset()

func (*EventCoordinatorDisabled) Size added in v0.3.0

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

func (*EventCoordinatorDisabled) String added in v0.3.0

func (m *EventCoordinatorDisabled) String() string

func (*EventCoordinatorDisabled) Unmarshal added in v0.3.0

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

func (*EventCoordinatorDisabled) XXX_DiscardUnknown added in v0.3.0

func (m *EventCoordinatorDisabled) XXX_DiscardUnknown()

func (*EventCoordinatorDisabled) XXX_Marshal added in v0.3.0

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

func (*EventCoordinatorDisabled) XXX_Merge added in v0.3.0

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

func (*EventCoordinatorDisabled) XXX_Size added in v0.3.0

func (m *EventCoordinatorDisabled) XXX_Size() int

func (*EventCoordinatorDisabled) XXX_Unmarshal added in v0.3.0

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

type EventValidatorCreated added in v0.3.0

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

func (*EventValidatorCreated) Descriptor added in v0.3.0

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

func (*EventValidatorCreated) GetAddress added in v0.3.0

func (m *EventValidatorCreated) GetAddress() string

func (*EventValidatorCreated) GetOperatorAddresses added in v0.3.0

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

func (*EventValidatorCreated) Marshal added in v0.3.0

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

func (*EventValidatorCreated) MarshalTo added in v0.3.0

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

func (*EventValidatorCreated) MarshalToSizedBuffer added in v0.3.0

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

func (*EventValidatorCreated) ProtoMessage added in v0.3.0

func (*EventValidatorCreated) ProtoMessage()

func (*EventValidatorCreated) Reset added in v0.3.0

func (m *EventValidatorCreated) Reset()

func (*EventValidatorCreated) Size added in v0.3.0

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

func (*EventValidatorCreated) String added in v0.3.0

func (m *EventValidatorCreated) String() string

func (*EventValidatorCreated) Unmarshal added in v0.3.0

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

func (*EventValidatorCreated) XXX_DiscardUnknown added in v0.3.0

func (m *EventValidatorCreated) XXX_DiscardUnknown()

func (*EventValidatorCreated) XXX_Marshal added in v0.3.0

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

func (*EventValidatorCreated) XXX_Merge added in v0.3.0

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

func (*EventValidatorCreated) XXX_Size added in v0.3.0

func (m *EventValidatorCreated) XXX_Size() int

func (*EventValidatorCreated) XXX_Unmarshal added in v0.3.0

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

type EventValidatorOperatorAddressesUpdated added in v0.3.0

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

func (*EventValidatorOperatorAddressesUpdated) Descriptor added in v0.3.0

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

func (*EventValidatorOperatorAddressesUpdated) GetAddress added in v0.3.0

func (*EventValidatorOperatorAddressesUpdated) GetOperatorAddresses added in v0.3.0

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

func (*EventValidatorOperatorAddressesUpdated) Marshal added in v0.3.0

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

func (*EventValidatorOperatorAddressesUpdated) MarshalTo added in v0.3.0

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

func (*EventValidatorOperatorAddressesUpdated) MarshalToSizedBuffer added in v0.3.0

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

func (*EventValidatorOperatorAddressesUpdated) ProtoMessage added in v0.3.0

func (*EventValidatorOperatorAddressesUpdated) Reset added in v0.3.0

func (*EventValidatorOperatorAddressesUpdated) Size added in v0.3.0

func (*EventValidatorOperatorAddressesUpdated) String added in v0.3.0

func (*EventValidatorOperatorAddressesUpdated) Unmarshal added in v0.3.0

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

func (*EventValidatorOperatorAddressesUpdated) XXX_DiscardUnknown added in v0.3.0

func (m *EventValidatorOperatorAddressesUpdated) XXX_DiscardUnknown()

func (*EventValidatorOperatorAddressesUpdated) XXX_Marshal added in v0.3.0

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

func (*EventValidatorOperatorAddressesUpdated) XXX_Merge added in v0.3.0

func (*EventValidatorOperatorAddressesUpdated) XXX_Size added in v0.3.0

func (*EventValidatorOperatorAddressesUpdated) XXX_Unmarshal added in v0.3.0

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

type GenesisState

type GenesisState struct {
	Validators                  []Validator                  `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators"`
	ValidatorsByOperatorAddress []ValidatorByOperatorAddress `protobuf:"bytes,2,rep,name=validatorsByOperatorAddress,proto3" json:"validatorsByOperatorAddress"`
	Coordinators                []Coordinator                `protobuf:"bytes,3,rep,name=coordinators,proto3" json:"coordinators"`
	CoordinatorCounter          uint64                       `protobuf:"varint,4,opt,name=coordinatorCounter,proto3" json:"coordinatorCounter,omitempty"`
	CoordinatorsByAddress       []CoordinatorByAddress       `protobuf:"bytes,5,rep,name=coordinatorsByAddress,proto3" json:"coordinatorsByAddress"`
}

GenesisState defines the profile module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetCoordinatorCounter added in v0.2.0

func (m *GenesisState) GetCoordinatorCounter() uint64

func (*GenesisState) GetCoordinators added in v0.3.0

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

func (*GenesisState) GetCoordinatorsByAddress added in v0.3.0

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

func (*GenesisState) GetValidators added in v0.3.0

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

func (*GenesisState) GetValidatorsByOperatorAddress added in v0.3.0

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 added in v0.2.0

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

func NewMsgSAddValidatorOperatorAddress added in v0.2.0

func NewMsgSAddValidatorOperatorAddress(
	validatorAddress,
	operatorAddress string,
) *MsgAddValidatorOperatorAddress

func (*MsgAddValidatorOperatorAddress) Descriptor added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) GetOperatorAddress added in v0.2.0

func (m *MsgAddValidatorOperatorAddress) GetOperatorAddress() string

func (*MsgAddValidatorOperatorAddress) GetSignBytes added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) GetSigners added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) GetValidatorAddress added in v0.2.0

func (m *MsgAddValidatorOperatorAddress) GetValidatorAddress() string

func (*MsgAddValidatorOperatorAddress) Marshal added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) MarshalTo added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) ProtoMessage added in v0.2.0

func (*MsgAddValidatorOperatorAddress) ProtoMessage()

func (*MsgAddValidatorOperatorAddress) Reset added in v0.2.0

func (m *MsgAddValidatorOperatorAddress) Reset()

func (*MsgAddValidatorOperatorAddress) Route added in v0.2.0

func (*MsgAddValidatorOperatorAddress) Size added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) String added in v0.2.0

func (*MsgAddValidatorOperatorAddress) Type added in v0.2.0

func (*MsgAddValidatorOperatorAddress) Unmarshal added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) ValidateBasic added in v0.2.0

func (msg *MsgAddValidatorOperatorAddress) ValidateBasic() error

func (*MsgAddValidatorOperatorAddress) XXX_DiscardUnknown added in v0.2.0

func (m *MsgAddValidatorOperatorAddress) XXX_DiscardUnknown()

func (*MsgAddValidatorOperatorAddress) XXX_Marshal added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) XXX_Merge added in v0.2.0

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

func (*MsgAddValidatorOperatorAddress) XXX_Size added in v0.2.0

func (m *MsgAddValidatorOperatorAddress) XXX_Size() int

func (*MsgAddValidatorOperatorAddress) XXX_Unmarshal added in v0.2.0

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

type MsgAddValidatorOperatorAddressResponse added in v0.2.0

type MsgAddValidatorOperatorAddressResponse struct {
}

func (*MsgAddValidatorOperatorAddressResponse) Descriptor added in v0.2.0

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

func (*MsgAddValidatorOperatorAddressResponse) Marshal added in v0.2.0

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

func (*MsgAddValidatorOperatorAddressResponse) MarshalTo added in v0.2.0

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

func (*MsgAddValidatorOperatorAddressResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgAddValidatorOperatorAddressResponse) ProtoMessage added in v0.2.0

func (*MsgAddValidatorOperatorAddressResponse) Reset added in v0.2.0

func (*MsgAddValidatorOperatorAddressResponse) Size added in v0.2.0

func (*MsgAddValidatorOperatorAddressResponse) String added in v0.2.0

func (*MsgAddValidatorOperatorAddressResponse) Unmarshal added in v0.2.0

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

func (*MsgAddValidatorOperatorAddressResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MsgAddValidatorOperatorAddressResponse) XXX_DiscardUnknown()

func (*MsgAddValidatorOperatorAddressResponse) XXX_Marshal added in v0.2.0

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

func (*MsgAddValidatorOperatorAddressResponse) XXX_Merge added in v0.2.0

func (*MsgAddValidatorOperatorAddressResponse) XXX_Size added in v0.2.0

func (*MsgAddValidatorOperatorAddressResponse) XXX_Unmarshal added in v0.2.0

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

type MsgClient

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"`
	Description CoordinatorDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description"`
}

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

func (m *MsgCreateCoordinator) GetDescription() CoordinatorDescription

func (*MsgCreateCoordinator) GetSignBytes

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

func (*MsgCreateCoordinator) GetSigners

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

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

func (msg *MsgCreateCoordinator) Route() string

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

func (*MsgCreateCoordinator) Unmarshal

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

func (*MsgCreateCoordinator) ValidateBasic

func (msg *MsgCreateCoordinator) ValidateBasic() 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=coordinatorID,proto3" json:"coordinatorID,omitempty"`
}

func (*MsgCreateCoordinatorResponse) Descriptor

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

func (*MsgCreateCoordinatorResponse) GetCoordinatorID added in v0.2.0

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 added in v0.2.0

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

func NewMsgDisableCoordinator added in v0.2.0

func NewMsgDisableCoordinator(address string) *MsgDisableCoordinator

func (*MsgDisableCoordinator) Descriptor added in v0.2.0

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

func (*MsgDisableCoordinator) GetAddress added in v0.2.0

func (m *MsgDisableCoordinator) GetAddress() string

func (*MsgDisableCoordinator) GetSignBytes added in v0.2.0

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

func (*MsgDisableCoordinator) GetSigners added in v0.2.0

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

func (*MsgDisableCoordinator) Marshal added in v0.2.0

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

func (*MsgDisableCoordinator) MarshalTo added in v0.2.0

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

func (*MsgDisableCoordinator) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgDisableCoordinator) ProtoMessage added in v0.2.0

func (*MsgDisableCoordinator) ProtoMessage()

func (*MsgDisableCoordinator) Reset added in v0.2.0

func (m *MsgDisableCoordinator) Reset()

func (*MsgDisableCoordinator) Route added in v0.2.0

func (msg *MsgDisableCoordinator) Route() string

func (*MsgDisableCoordinator) Size added in v0.2.0

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

func (*MsgDisableCoordinator) String added in v0.2.0

func (m *MsgDisableCoordinator) String() string

func (*MsgDisableCoordinator) Type added in v0.2.0

func (msg *MsgDisableCoordinator) Type() string

func (*MsgDisableCoordinator) Unmarshal added in v0.2.0

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

func (*MsgDisableCoordinator) ValidateBasic added in v0.2.0

func (msg *MsgDisableCoordinator) ValidateBasic() error

func (*MsgDisableCoordinator) XXX_DiscardUnknown added in v0.2.0

func (m *MsgDisableCoordinator) XXX_DiscardUnknown()

func (*MsgDisableCoordinator) XXX_Marshal added in v0.2.0

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

func (*MsgDisableCoordinator) XXX_Merge added in v0.2.0

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

func (*MsgDisableCoordinator) XXX_Size added in v0.2.0

func (m *MsgDisableCoordinator) XXX_Size() int

func (*MsgDisableCoordinator) XXX_Unmarshal added in v0.2.0

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

type MsgDisableCoordinatorResponse added in v0.2.0

type MsgDisableCoordinatorResponse struct {
	CoordinatorID uint64 `protobuf:"varint,1,opt,name=coordinatorID,proto3" json:"coordinatorID,omitempty"`
}

func (*MsgDisableCoordinatorResponse) Descriptor added in v0.2.0

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

func (*MsgDisableCoordinatorResponse) GetCoordinatorID added in v0.2.0

func (m *MsgDisableCoordinatorResponse) GetCoordinatorID() uint64

func (*MsgDisableCoordinatorResponse) Marshal added in v0.2.0

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

func (*MsgDisableCoordinatorResponse) MarshalTo added in v0.2.0

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

func (*MsgDisableCoordinatorResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgDisableCoordinatorResponse) ProtoMessage added in v0.2.0

func (*MsgDisableCoordinatorResponse) ProtoMessage()

func (*MsgDisableCoordinatorResponse) Reset added in v0.2.0

func (m *MsgDisableCoordinatorResponse) Reset()

func (*MsgDisableCoordinatorResponse) Size added in v0.2.0

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

func (*MsgDisableCoordinatorResponse) String added in v0.2.0

func (*MsgDisableCoordinatorResponse) Unmarshal added in v0.2.0

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

func (*MsgDisableCoordinatorResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MsgDisableCoordinatorResponse) XXX_DiscardUnknown()

func (*MsgDisableCoordinatorResponse) XXX_Marshal added in v0.2.0

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

func (*MsgDisableCoordinatorResponse) XXX_Merge added in v0.2.0

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

func (*MsgDisableCoordinatorResponse) XXX_Size added in v0.2.0

func (m *MsgDisableCoordinatorResponse) XXX_Size() int

func (*MsgDisableCoordinatorResponse) XXX_Unmarshal added in v0.2.0

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

type MsgUpdateCoordinatorAddress

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

func NewMsgUpdateCoordinatorAddress

func NewMsgUpdateCoordinatorAddress(address, 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) GetSignBytes

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

func (*MsgUpdateCoordinatorAddress) GetSigners

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

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

func (msg *MsgUpdateCoordinatorAddress) Route() string

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

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"`
	Description CoordinatorDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description"`
}

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

func (*MsgUpdateCoordinatorDescription) GetSignBytes

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

func (*MsgUpdateCoordinatorDescription) GetSigners

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

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

func (*MsgUpdateCoordinatorDescription) Size

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

func (*MsgUpdateCoordinatorDescription) String

func (*MsgUpdateCoordinatorDescription) 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 MsgUpdateValidatorDescription

type MsgUpdateValidatorDescription struct {
	Address     string               `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Description ValidatorDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description"`
}

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

func (*MsgUpdateValidatorDescription) GetSignBytes

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

func (*MsgUpdateValidatorDescription) GetSigners

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

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

func (*MsgUpdateValidatorDescription) Size

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

func (*MsgUpdateValidatorDescription) String

func (*MsgUpdateValidatorDescription) 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 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 {
	// Queries a validator by index.
	Validator(ctx context.Context, in *QueryGetValidatorRequest, opts ...grpc.CallOption) (*QueryGetValidatorResponse, error)
	// Queries a list of validator items.
	ValidatorAll(ctx context.Context, in *QueryAllValidatorRequest, opts ...grpc.CallOption) (*QueryAllValidatorResponse, error)
	// Queries a ValidatorByConsAddress by consensus address.
	ValidatorByOperatorAddress(ctx context.Context, in *QueryGetValidatorByOperatorAddressRequest, opts ...grpc.CallOption) (*QueryGetValidatorByOperatorAddressResponse, error)
	// Queries a coordinator by id.
	Coordinator(ctx context.Context, in *QueryGetCoordinatorRequest, opts ...grpc.CallOption) (*QueryGetCoordinatorResponse, error)
	// Queries a list of coordinator items.
	CoordinatorAll(ctx context.Context, in *QueryAllCoordinatorRequest, opts ...grpc.CallOption) (*QueryAllCoordinatorResponse, error)
	// Queries a coordinatorByAddress by index.
	CoordinatorByAddress(ctx context.Context, in *QueryGetCoordinatorByAddressRequest, opts ...grpc.CallOption) (*QueryGetCoordinatorByAddressResponse, 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 {
	CoordinatorByAddress CoordinatorByAddress `protobuf:"bytes,1,opt,name=coordinatorByAddress,proto3" json:"coordinatorByAddress"`
}

func (*QueryGetCoordinatorByAddressResponse) Descriptor

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

func (*QueryGetCoordinatorByAddressResponse) GetCoordinatorByAddress

func (m *QueryGetCoordinatorByAddressResponse) GetCoordinatorByAddress() CoordinatorByAddress

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=coordinatorID,proto3" json:"coordinatorID,omitempty"`
}

func (*QueryGetCoordinatorRequest) Descriptor

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

func (*QueryGetCoordinatorRequest) GetCoordinatorID added in v0.2.0

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 added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressRequest) Descriptor added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressRequest) GetOperatorAddress added in v0.2.0

func (m *QueryGetValidatorByOperatorAddressRequest) GetOperatorAddress() string

func (*QueryGetValidatorByOperatorAddressRequest) Marshal added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressRequest) MarshalTo added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressRequest) ProtoMessage added in v0.2.0

func (*QueryGetValidatorByOperatorAddressRequest) Reset added in v0.2.0

func (*QueryGetValidatorByOperatorAddressRequest) Size added in v0.2.0

func (*QueryGetValidatorByOperatorAddressRequest) String added in v0.2.0

func (*QueryGetValidatorByOperatorAddressRequest) Unmarshal added in v0.2.0

func (*QueryGetValidatorByOperatorAddressRequest) XXX_DiscardUnknown added in v0.2.0

func (m *QueryGetValidatorByOperatorAddressRequest) XXX_DiscardUnknown()

func (*QueryGetValidatorByOperatorAddressRequest) XXX_Marshal added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressRequest) XXX_Merge added in v0.2.0

func (*QueryGetValidatorByOperatorAddressRequest) XXX_Size added in v0.2.0

func (*QueryGetValidatorByOperatorAddressRequest) XXX_Unmarshal added in v0.2.0

type QueryGetValidatorByOperatorAddressResponse added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressResponse) Descriptor added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) GetValidatorByOperatorAddress added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) Marshal added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressResponse) MarshalTo added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressResponse) ProtoMessage added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) Reset added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) Size added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) String added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) Unmarshal added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) XXX_DiscardUnknown added in v0.2.0

func (m *QueryGetValidatorByOperatorAddressResponse) XXX_DiscardUnknown()

func (*QueryGetValidatorByOperatorAddressResponse) XXX_Marshal added in v0.2.0

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

func (*QueryGetValidatorByOperatorAddressResponse) XXX_Merge added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) XXX_Size added in v0.2.0

func (*QueryGetValidatorByOperatorAddressResponse) XXX_Unmarshal added in v0.2.0

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 QueryServer

type QueryServer interface {
	// Queries a validator by index.
	Validator(context.Context, *QueryGetValidatorRequest) (*QueryGetValidatorResponse, error)
	// Queries a list of validator items.
	ValidatorAll(context.Context, *QueryAllValidatorRequest) (*QueryAllValidatorResponse, error)
	// Queries a ValidatorByConsAddress by consensus address.
	ValidatorByOperatorAddress(context.Context, *QueryGetValidatorByOperatorAddressRequest) (*QueryGetValidatorByOperatorAddressResponse, error)
	// Queries a coordinator by id.
	Coordinator(context.Context, *QueryGetCoordinatorRequest) (*QueryGetCoordinatorResponse, error)
	// Queries a list of coordinator items.
	CoordinatorAll(context.Context, *QueryAllCoordinatorRequest) (*QueryAllCoordinatorResponse, error)
	// Queries a coordinatorByAddress by index.
	CoordinatorByAddress(context.Context, *QueryGetCoordinatorByAddressRequest) (*QueryGetCoordinatorByAddressResponse, 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) AddValidatorOperatorAddress added in v0.2.0

func (*UnimplementedMsgServer) CreateCoordinator

func (*UnimplementedMsgServer) DisableCoordinator added in v0.2.0

func (*UnimplementedMsgServer) UpdateCoordinatorAddress

func (*UnimplementedMsgServer) UpdateValidatorDescription

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Coordinator

func (*UnimplementedQueryServer) CoordinatorAll

func (*UnimplementedQueryServer) Validator

func (*UnimplementedQueryServer) ValidatorAll

func (*UnimplementedQueryServer) ValidatorByOperatorAddress added in v0.2.0

type Validator

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

func (Validator) AddValidatorOperatorAddress added in v0.2.0

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 added in v0.2.0

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

func (Validator) HasOperatorAddress added in v0.2.0

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 added in v0.2.0

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

func (*ValidatorByOperatorAddress) Descriptor added in v0.2.0

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

func (*ValidatorByOperatorAddress) GetOperatorAddress added in v0.2.0

func (m *ValidatorByOperatorAddress) GetOperatorAddress() string

func (*ValidatorByOperatorAddress) GetValidatorAddress added in v0.2.0

func (m *ValidatorByOperatorAddress) GetValidatorAddress() string

func (*ValidatorByOperatorAddress) Marshal added in v0.2.0

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

func (*ValidatorByOperatorAddress) MarshalTo added in v0.2.0

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

func (*ValidatorByOperatorAddress) MarshalToSizedBuffer added in v0.2.0

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

func (*ValidatorByOperatorAddress) ProtoMessage added in v0.2.0

func (*ValidatorByOperatorAddress) ProtoMessage()

func (*ValidatorByOperatorAddress) Reset added in v0.2.0

func (m *ValidatorByOperatorAddress) Reset()

func (*ValidatorByOperatorAddress) Size added in v0.2.0

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

func (*ValidatorByOperatorAddress) String added in v0.2.0

func (m *ValidatorByOperatorAddress) String() string

func (*ValidatorByOperatorAddress) Unmarshal added in v0.2.0

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

func (*ValidatorByOperatorAddress) XXX_DiscardUnknown added in v0.2.0

func (m *ValidatorByOperatorAddress) XXX_DiscardUnknown()

func (*ValidatorByOperatorAddress) XXX_Marshal added in v0.2.0

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

func (*ValidatorByOperatorAddress) XXX_Merge added in v0.2.0

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

func (*ValidatorByOperatorAddress) XXX_Size added in v0.2.0

func (m *ValidatorByOperatorAddress) XXX_Size() int

func (*ValidatorByOperatorAddress) XXX_Unmarshal added in v0.2.0

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=securityContact,proto3" json:"securityContact,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