types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT 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 = "cscalist"
	// StoreKey defines the primary module store key
	StoreKey = ModuleName
	// RouterKey is the message route for slashing
	RouterKey = ModuleName
	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_cscalist"
	// ParamsKey defines the store key for module params entry
	ParamsKey = "params"
	// NodeKeyPrefix defines the prefix for the Merkle tree's node entry
	NodeKeyPrefix = "Node/value/"
)
View Source
const (
	ProposalTypeEditCSCAList    = "cscalist/EditCSCAList"
	ProposalTypeReplaceCSCAList = "cscalist/ReplaceCSCAList"
)

Variables

View Source
var (
	ErrInvalidLengthCscalist        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCscalist          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCscalist = 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 (
	ErrInvalidLengthProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposal = 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 ErrUnknownRequest = errors.Register("cscalist", 6, "unknown request")

Functions

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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 EditCSCAListProposal

type EditCSCAListProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Keccak256 hashes of new CSCA public keys
	ToAdd []string `protobuf:"bytes,3,rep,name=toAdd,proto3" json:"toAdd,omitempty"`
	// Keccak256 hashes of existing CSCA public keys
	ToRemove []string `protobuf:"bytes,4,rep,name=toRemove,proto3" json:"toRemove,omitempty"`
}

EditCSCAListProposal allows to propose changes in CSCA list, which are required in case of a CSCA key compromise or adding new authorities. Use it when you want to add or remove a few CSCA keys.

func (*EditCSCAListProposal) Descriptor

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

func (*EditCSCAListProposal) GetDescription

func (m *EditCSCAListProposal) GetDescription() string

func (*EditCSCAListProposal) GetTitle

func (m *EditCSCAListProposal) GetTitle() string

func (*EditCSCAListProposal) GetToAdd

func (m *EditCSCAListProposal) GetToAdd() []string

func (*EditCSCAListProposal) GetToRemove

func (m *EditCSCAListProposal) GetToRemove() []string

func (*EditCSCAListProposal) Marshal

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

func (*EditCSCAListProposal) MarshalTo

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

func (*EditCSCAListProposal) MarshalToSizedBuffer

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

func (*EditCSCAListProposal) ProposalRoute

func (m *EditCSCAListProposal) ProposalRoute() string

func (*EditCSCAListProposal) ProposalType

func (m *EditCSCAListProposal) ProposalType() string

func (*EditCSCAListProposal) ProtoMessage

func (*EditCSCAListProposal) ProtoMessage()

func (*EditCSCAListProposal) Reset

func (m *EditCSCAListProposal) Reset()

func (*EditCSCAListProposal) Size

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

func (*EditCSCAListProposal) String

func (m *EditCSCAListProposal) String() string

func (*EditCSCAListProposal) Unmarshal

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

func (*EditCSCAListProposal) ValidateBasic

func (m *EditCSCAListProposal) ValidateBasic() error

func (*EditCSCAListProposal) XXX_DiscardUnknown

func (m *EditCSCAListProposal) XXX_DiscardUnknown()

func (*EditCSCAListProposal) XXX_Marshal

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

func (*EditCSCAListProposal) XXX_Merge

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

func (*EditCSCAListProposal) XXX_Size

func (m *EditCSCAListProposal) XXX_Size() int

func (*EditCSCAListProposal) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	Tree   []Node `protobuf:"bytes,2,rep,name=tree,proto3" json:"tree"`
}

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetTree

func (m *GenesisState) GetTree() []Node

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (*GenesisState) Validate

func (gs *GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type Node

type Node struct {
	// Node self key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Node priority (should be random)
	Priority uint64 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	// Node left son key
	Left string `protobuf:"bytes,4,opt,name=left,proto3" json:"left,omitempty"`
	// Node right son key
	Right string `protobuf:"bytes,5,opt,name=right,proto3" json:"right,omitempty"`
	// Merkle hash. H = Hash(Hash(left_key|right_key)|self_key)
	Hash string `protobuf:"bytes,6,opt,name=hash,proto3" json:"hash,omitempty"`
	// Hash(left_key|right_key)
	ChildrenHash string `protobuf:"bytes,7,opt,name=childrenHash,proto3" json:"childrenHash,omitempty"`
}

func (*Node) Descriptor

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

func (*Node) GetChildrenHash

func (m *Node) GetChildrenHash() string

func (*Node) GetHash

func (m *Node) GetHash() string

func (*Node) GetKey

func (m *Node) GetKey() string

func (*Node) GetLeft

func (m *Node) GetLeft() string

func (*Node) GetPriority

func (m *Node) GetPriority() uint64

func (*Node) GetRight

func (m *Node) GetRight() string

func (*Node) Marshal

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

func (*Node) MarshalTo

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

func (*Node) MarshalToSizedBuffer

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

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) Size

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

func (*Node) String

func (m *Node) String() string

func (*Node) Unmarshal

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

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

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

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

type Params

type Params struct {
	// RootKey is the key of the current root node
	RootKey string `protobuf:"bytes,1,opt,name=rootKey,proto3" json:"rootKey,omitempty"`
	// RootUpdated is true when the root node was updated in Rarimo, but not in Chain
	RootUpdated bool `protobuf:"varint,2,opt,name=rootUpdated,proto3" json:"rootUpdated,omitempty"`
	// UpdatedAtBlock is the block number of the last root update
	UpdatedAtBlock uint64 `protobuf:"varint,3,opt,name=updatedAtBlock,proto3" json:"updatedAtBlock,omitempty"`
	// LastUpdateOperationIndex is index of last root update operation
	LastUpdateOperationIndex string `protobuf:"bytes,4,opt,name=lastUpdateOperationIndex,proto3" json:"lastUpdateOperationIndex,omitempty"`
}

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

func (m *Params) GetLastUpdateOperationIndex() string

func (*Params) GetRootKey

func (m *Params) GetRootKey() string

func (*Params) GetRootUpdated

func (m *Params) GetRootUpdated() bool

func (*Params) GetUpdatedAtBlock

func (m *Params) GetUpdatedAtBlock() uint64

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) 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 QueryClient

type QueryClient interface {
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	Tree(ctx context.Context, in *QueryTreeRequest, opts ...grpc.CallOption) (*QueryTreeResponse, 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 QueryParamsRequest

type QueryParamsRequest struct {
}

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 Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

QueryServer is the server API for Query service.

type QueryTreeRequest

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

func (*QueryTreeRequest) Descriptor

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

func (*QueryTreeRequest) GetPagination

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

func (*QueryTreeRequest) Marshal

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

func (*QueryTreeRequest) MarshalTo

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

func (*QueryTreeRequest) MarshalToSizedBuffer

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

func (*QueryTreeRequest) ProtoMessage

func (*QueryTreeRequest) ProtoMessage()

func (*QueryTreeRequest) Reset

func (m *QueryTreeRequest) Reset()

func (*QueryTreeRequest) Size

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

func (*QueryTreeRequest) String

func (m *QueryTreeRequest) String() string

func (*QueryTreeRequest) Unmarshal

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

func (*QueryTreeRequest) XXX_DiscardUnknown

func (m *QueryTreeRequest) XXX_DiscardUnknown()

func (*QueryTreeRequest) XXX_Marshal

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

func (*QueryTreeRequest) XXX_Merge

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

func (*QueryTreeRequest) XXX_Size

func (m *QueryTreeRequest) XXX_Size() int

func (*QueryTreeRequest) XXX_Unmarshal

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

type QueryTreeResponse

type QueryTreeResponse struct {
	Tree       []Node              `protobuf:"bytes,1,rep,name=tree,proto3" json:"tree"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryTreeResponse) Descriptor

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

func (*QueryTreeResponse) GetPagination

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

func (*QueryTreeResponse) GetTree

func (m *QueryTreeResponse) GetTree() []Node

func (*QueryTreeResponse) Marshal

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

func (*QueryTreeResponse) MarshalTo

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

func (*QueryTreeResponse) MarshalToSizedBuffer

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

func (*QueryTreeResponse) ProtoMessage

func (*QueryTreeResponse) ProtoMessage()

func (*QueryTreeResponse) Reset

func (m *QueryTreeResponse) Reset()

func (*QueryTreeResponse) Size

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

func (*QueryTreeResponse) String

func (m *QueryTreeResponse) String() string

func (*QueryTreeResponse) Unmarshal

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

func (*QueryTreeResponse) XXX_DiscardUnknown

func (m *QueryTreeResponse) XXX_DiscardUnknown()

func (*QueryTreeResponse) XXX_Marshal

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

func (*QueryTreeResponse) XXX_Merge

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

func (*QueryTreeResponse) XXX_Size

func (m *QueryTreeResponse) XXX_Size() int

func (*QueryTreeResponse) XXX_Unmarshal

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

type RarimocoreKeeper

type RarimocoreKeeper interface {
	CreateCSCARootUpdateOperation(ctx sdk.Context, creator string, update *rarimo.CSCARootUpdate) (string, error)
}

type ReplaceCSCAListProposal

type ReplaceCSCAListProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Keccak256 hashes of all CSCA public keys
	Leaves []string `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"`
}

ReplaceCSCAListProposal allows to propose a different CSCA list. This drops the old tree and rebuilds the new one from scratch. Use EditCSCAListProposal instead, unless you know what you are doing.

func (*ReplaceCSCAListProposal) Descriptor

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

func (*ReplaceCSCAListProposal) GetDescription

func (m *ReplaceCSCAListProposal) GetDescription() string

func (*ReplaceCSCAListProposal) GetLeaves

func (m *ReplaceCSCAListProposal) GetLeaves() []string

func (*ReplaceCSCAListProposal) GetTitle

func (m *ReplaceCSCAListProposal) GetTitle() string

func (*ReplaceCSCAListProposal) Marshal

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

func (*ReplaceCSCAListProposal) MarshalTo

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

func (*ReplaceCSCAListProposal) MarshalToSizedBuffer

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

func (*ReplaceCSCAListProposal) ProposalRoute

func (m *ReplaceCSCAListProposal) ProposalRoute() string

func (*ReplaceCSCAListProposal) ProposalType

func (m *ReplaceCSCAListProposal) ProposalType() string

func (*ReplaceCSCAListProposal) ProtoMessage

func (*ReplaceCSCAListProposal) ProtoMessage()

func (*ReplaceCSCAListProposal) Reset

func (m *ReplaceCSCAListProposal) Reset()

func (*ReplaceCSCAListProposal) Size

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

func (*ReplaceCSCAListProposal) String

func (m *ReplaceCSCAListProposal) String() string

func (*ReplaceCSCAListProposal) Unmarshal

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

func (*ReplaceCSCAListProposal) ValidateBasic

func (m *ReplaceCSCAListProposal) ValidateBasic() error

func (*ReplaceCSCAListProposal) XXX_DiscardUnknown

func (m *ReplaceCSCAListProposal) XXX_DiscardUnknown()

func (*ReplaceCSCAListProposal) XXX_Marshal

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

func (*ReplaceCSCAListProposal) XXX_Merge

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

func (*ReplaceCSCAListProposal) XXX_Size

func (m *ReplaceCSCAListProposal) XXX_Size() int

func (*ReplaceCSCAListProposal) XXX_Unmarshal

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

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Tree

Jump to

Keyboard shortcuts

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