Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AddManagedCellarIDsProposal
- func (*AddManagedCellarIDsProposal) Descriptor() ([]byte, []int)
- func (m *AddManagedCellarIDsProposal) GetCellarIds() *CellarIDSet
- func (m *AddManagedCellarIDsProposal) GetDescription() string
- func (m *AddManagedCellarIDsProposal) GetPublisherDomain() string
- func (m *AddManagedCellarIDsProposal) GetTitle() string
- func (m *AddManagedCellarIDsProposal) Marshal() (dAtA []byte, err error)
- func (m *AddManagedCellarIDsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *AddManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *AddManagedCellarIDsProposal) ProposalRoute() string
- func (m *AddManagedCellarIDsProposal) ProposalType() string
- func (*AddManagedCellarIDsProposal) ProtoMessage()
- func (m *AddManagedCellarIDsProposal) Reset()
- func (m *AddManagedCellarIDsProposal) Size() (n int)
- func (m *AddManagedCellarIDsProposal) String() string
- func (m *AddManagedCellarIDsProposal) Unmarshal(dAtA []byte) error
- func (m *AddManagedCellarIDsProposal) ValidateBasic() error
- func (m *AddManagedCellarIDsProposal) XXX_DiscardUnknown()
- func (m *AddManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddManagedCellarIDsProposal) XXX_Merge(src proto.Message)
- func (m *AddManagedCellarIDsProposal) XXX_Size() int
- func (m *AddManagedCellarIDsProposal) XXX_Unmarshal(b []byte) error
- type AddManagedCellarIDsProposalWithDeposit
- func (*AddManagedCellarIDsProposalWithDeposit) Descriptor() ([]byte, []int)
- func (m *AddManagedCellarIDsProposalWithDeposit) GetCellarIds() []string
- func (m *AddManagedCellarIDsProposalWithDeposit) GetDeposit() string
- func (m *AddManagedCellarIDsProposalWithDeposit) GetDescription() string
- func (m *AddManagedCellarIDsProposalWithDeposit) GetPublisherDomain() string
- func (m *AddManagedCellarIDsProposalWithDeposit) GetTitle() string
- func (m *AddManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err error)
- func (m *AddManagedCellarIDsProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *AddManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddManagedCellarIDsProposalWithDeposit) ProtoMessage()
- func (m *AddManagedCellarIDsProposalWithDeposit) Reset()
- func (m *AddManagedCellarIDsProposalWithDeposit) Size() (n int)
- func (m *AddManagedCellarIDsProposalWithDeposit) String() string
- func (m *AddManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error
- func (m *AddManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown()
- func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Merge(src proto.Message)
- func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Size() int
- func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Unmarshal(b []byte) error
- type CellarIDSet
- func (*CellarIDSet) Descriptor() ([]byte, []int)
- func (m *CellarIDSet) GetIds() []string
- func (m *CellarIDSet) Marshal() (dAtA []byte, err error)
- func (m *CellarIDSet) MarshalTo(dAtA []byte) (int, error)
- func (m *CellarIDSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CellarIDSet) ProtoMessage()
- func (m *CellarIDSet) Reset()
- func (m *CellarIDSet) Size() (n int)
- func (m *CellarIDSet) String() string
- func (m *CellarIDSet) Unmarshal(dAtA []byte) error
- func (c *CellarIDSet) ValidateBasic() error
- func (m *CellarIDSet) XXX_DiscardUnknown()
- func (m *CellarIDSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CellarIDSet) XXX_Merge(src proto.Message)
- func (m *CellarIDSet) XXX_Size() int
- func (m *CellarIDSet) XXX_Unmarshal(b []byte) error
- type Cork
- func (*Cork) Descriptor() ([]byte, []int)
- func (c *Cork) Equals(other Cork) bool
- func (m *Cork) GetEncodedContractCall() []byte
- func (m *Cork) GetTargetContractAddress() string
- func (c *Cork) IDHash(blockHeight uint64) []byte
- func (c *Cork) InvalidationScope() tmbytes.HexBytes
- func (m *Cork) Marshal() (dAtA []byte, err error)
- func (m *Cork) MarshalTo(dAtA []byte) (int, error)
- func (m *Cork) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cork) ProtoMessage()
- func (m *Cork) Reset()
- func (m *Cork) Size() (n int)
- func (m *Cork) String() string
- func (m *Cork) Unmarshal(dAtA []byte) error
- func (c *Cork) ValidateBasic() error
- func (m *Cork) XXX_DiscardUnknown()
- func (m *Cork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cork) XXX_Merge(src proto.Message)
- func (m *Cork) XXX_Size() int
- func (m *Cork) XXX_Unmarshal(b []byte) error
- type CorkResult
- func (*CorkResult) Descriptor() ([]byte, []int)
- func (m *CorkResult) GetApprovalPercentage() string
- func (m *CorkResult) GetApproved() bool
- func (m *CorkResult) GetBlockHeight() uint64
- func (m *CorkResult) GetCork() *Cork
- func (m *CorkResult) Marshal() (dAtA []byte, err error)
- func (m *CorkResult) MarshalTo(dAtA []byte) (int, error)
- func (m *CorkResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CorkResult) ProtoMessage()
- func (m *CorkResult) Reset()
- func (m *CorkResult) Size() (n int)
- func (m *CorkResult) String() string
- func (m *CorkResult) Unmarshal(dAtA []byte) error
- func (c *CorkResult) ValidateBasic() error
- func (m *CorkResult) XXX_DiscardUnknown()
- func (m *CorkResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CorkResult) XXX_Merge(src proto.Message)
- func (m *CorkResult) XXX_Size() int
- func (m *CorkResult) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCellarIds() CellarIDSet
- func (m *GenesisState) GetCorkResults() []*CorkResult
- func (m *GenesisState) GetInvalidationNonce() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetScheduledCorks() []*ScheduledCork
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgScheduleCorkRequest
- func (*MsgScheduleCorkRequest) Descriptor() ([]byte, []int)
- func (m *MsgScheduleCorkRequest) GetBlockHeight() uint64
- func (m *MsgScheduleCorkRequest) GetCork() *Cork
- func (m *MsgScheduleCorkRequest) GetSignBytes() []byte
- func (m *MsgScheduleCorkRequest) GetSigner() string
- func (m *MsgScheduleCorkRequest) GetSigners() []sdk.AccAddress
- func (m *MsgScheduleCorkRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgScheduleCorkRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgScheduleCorkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *MsgScheduleCorkRequest) MustGetSigner() sdk.AccAddress
- func (*MsgScheduleCorkRequest) ProtoMessage()
- func (m *MsgScheduleCorkRequest) Reset()
- func (m *MsgScheduleCorkRequest) Route() string
- func (m *MsgScheduleCorkRequest) Size() (n int)
- func (m *MsgScheduleCorkRequest) String() string
- func (m *MsgScheduleCorkRequest) Type() string
- func (m *MsgScheduleCorkRequest) Unmarshal(dAtA []byte) error
- func (m *MsgScheduleCorkRequest) ValidateBasic() error
- func (m *MsgScheduleCorkRequest) XXX_DiscardUnknown()
- func (m *MsgScheduleCorkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgScheduleCorkRequest) XXX_Merge(src proto.Message)
- func (m *MsgScheduleCorkRequest) XXX_Size() int
- func (m *MsgScheduleCorkRequest) XXX_Unmarshal(b []byte) error
- type MsgScheduleCorkResponse
- func (*MsgScheduleCorkResponse) Descriptor() ([]byte, []int)
- func (m *MsgScheduleCorkResponse) GetId() string
- func (m *MsgScheduleCorkResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgScheduleCorkResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgScheduleCorkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgScheduleCorkResponse) ProtoMessage()
- func (m *MsgScheduleCorkResponse) Reset()
- func (m *MsgScheduleCorkResponse) Size() (n int)
- func (m *MsgScheduleCorkResponse) String() string
- func (m *MsgScheduleCorkResponse) Unmarshal(dAtA []byte) error
- func (m *MsgScheduleCorkResponse) XXX_DiscardUnknown()
- func (m *MsgScheduleCorkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgScheduleCorkResponse) XXX_Merge(src proto.Message)
- func (m *MsgScheduleCorkResponse) XXX_Size() int
- func (m *MsgScheduleCorkResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMaxCorksPerValidator() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) ValidateBasic() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryCellarIDsRequest
- func (*QueryCellarIDsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCellarIDsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCellarIDsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCellarIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCellarIDsRequest) ProtoMessage()
- func (m *QueryCellarIDsRequest) Reset()
- func (m *QueryCellarIDsRequest) Size() (n int)
- func (m *QueryCellarIDsRequest) String() string
- func (m *QueryCellarIDsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCellarIDsRequest) XXX_DiscardUnknown()
- func (m *QueryCellarIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCellarIDsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCellarIDsRequest) XXX_Size() int
- func (m *QueryCellarIDsRequest) XXX_Unmarshal(b []byte) error
- type QueryCellarIDsResponse
- func (*QueryCellarIDsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCellarIDsResponse) GetCellarIds() []string
- func (m *QueryCellarIDsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCellarIDsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCellarIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCellarIDsResponse) ProtoMessage()
- func (m *QueryCellarIDsResponse) Reset()
- func (m *QueryCellarIDsResponse) Size() (n int)
- func (m *QueryCellarIDsResponse) String() string
- func (m *QueryCellarIDsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCellarIDsResponse) XXX_DiscardUnknown()
- func (m *QueryCellarIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCellarIDsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCellarIDsResponse) XXX_Size() int
- func (m *QueryCellarIDsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCorkResultRequest
- func (*QueryCorkResultRequest) Descriptor() ([]byte, []int)
- func (m *QueryCorkResultRequest) GetId() string
- func (m *QueryCorkResultRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCorkResultRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCorkResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCorkResultRequest) ProtoMessage()
- func (m *QueryCorkResultRequest) Reset()
- func (m *QueryCorkResultRequest) Size() (n int)
- func (m *QueryCorkResultRequest) String() string
- func (m *QueryCorkResultRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCorkResultRequest) XXX_DiscardUnknown()
- func (m *QueryCorkResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCorkResultRequest) XXX_Merge(src proto.Message)
- func (m *QueryCorkResultRequest) XXX_Size() int
- func (m *QueryCorkResultRequest) XXX_Unmarshal(b []byte) error
- type QueryCorkResultResponse
- func (*QueryCorkResultResponse) Descriptor() ([]byte, []int)
- func (m *QueryCorkResultResponse) GetCorkResult() *CorkResult
- func (m *QueryCorkResultResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCorkResultResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCorkResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCorkResultResponse) ProtoMessage()
- func (m *QueryCorkResultResponse) Reset()
- func (m *QueryCorkResultResponse) Size() (n int)
- func (m *QueryCorkResultResponse) String() string
- func (m *QueryCorkResultResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCorkResultResponse) XXX_DiscardUnknown()
- func (m *QueryCorkResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCorkResultResponse) XXX_Merge(src proto.Message)
- func (m *QueryCorkResultResponse) XXX_Size() int
- func (m *QueryCorkResultResponse) XXX_Unmarshal(b []byte) error
- type QueryCorkResultsRequest
- func (*QueryCorkResultsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCorkResultsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCorkResultsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCorkResultsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCorkResultsRequest) ProtoMessage()
- func (m *QueryCorkResultsRequest) Reset()
- func (m *QueryCorkResultsRequest) Size() (n int)
- func (m *QueryCorkResultsRequest) String() string
- func (m *QueryCorkResultsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCorkResultsRequest) XXX_DiscardUnknown()
- func (m *QueryCorkResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCorkResultsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCorkResultsRequest) XXX_Size() int
- func (m *QueryCorkResultsRequest) XXX_Unmarshal(b []byte) error
- type QueryCorkResultsResponse
- func (*QueryCorkResultsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCorkResultsResponse) GetCorkResults() []*CorkResult
- func (m *QueryCorkResultsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCorkResultsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCorkResultsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCorkResultsResponse) ProtoMessage()
- func (m *QueryCorkResultsResponse) Reset()
- func (m *QueryCorkResultsResponse) Size() (n int)
- func (m *QueryCorkResultsResponse) String() string
- func (m *QueryCorkResultsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCorkResultsResponse) XXX_DiscardUnknown()
- func (m *QueryCorkResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCorkResultsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCorkResultsResponse) XXX_Size() int
- func (m *QueryCorkResultsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryScheduledBlockHeightsRequest
- func (*QueryScheduledBlockHeightsRequest) Descriptor() ([]byte, []int)
- func (m *QueryScheduledBlockHeightsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryScheduledBlockHeightsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryScheduledBlockHeightsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryScheduledBlockHeightsRequest) ProtoMessage()
- func (m *QueryScheduledBlockHeightsRequest) Reset()
- func (m *QueryScheduledBlockHeightsRequest) Size() (n int)
- func (m *QueryScheduledBlockHeightsRequest) String() string
- func (m *QueryScheduledBlockHeightsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryScheduledBlockHeightsRequest) XXX_DiscardUnknown()
- func (m *QueryScheduledBlockHeightsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryScheduledBlockHeightsRequest) XXX_Merge(src proto.Message)
- func (m *QueryScheduledBlockHeightsRequest) XXX_Size() int
- func (m *QueryScheduledBlockHeightsRequest) XXX_Unmarshal(b []byte) error
- type QueryScheduledBlockHeightsResponse
- func (*QueryScheduledBlockHeightsResponse) Descriptor() ([]byte, []int)
- func (m *QueryScheduledBlockHeightsResponse) GetBlockHeights() []uint64
- func (m *QueryScheduledBlockHeightsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryScheduledBlockHeightsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryScheduledBlockHeightsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryScheduledBlockHeightsResponse) ProtoMessage()
- func (m *QueryScheduledBlockHeightsResponse) Reset()
- func (m *QueryScheduledBlockHeightsResponse) Size() (n int)
- func (m *QueryScheduledBlockHeightsResponse) String() string
- func (m *QueryScheduledBlockHeightsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryScheduledBlockHeightsResponse) XXX_DiscardUnknown()
- func (m *QueryScheduledBlockHeightsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryScheduledBlockHeightsResponse) XXX_Merge(src proto.Message)
- func (m *QueryScheduledBlockHeightsResponse) XXX_Size() int
- func (m *QueryScheduledBlockHeightsResponse) XXX_Unmarshal(b []byte) error
- type QueryScheduledCorksByBlockHeightRequest
- func (*QueryScheduledCorksByBlockHeightRequest) Descriptor() ([]byte, []int)
- func (m *QueryScheduledCorksByBlockHeightRequest) GetBlockHeight() uint64
- func (m *QueryScheduledCorksByBlockHeightRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryScheduledCorksByBlockHeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryScheduledCorksByBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryScheduledCorksByBlockHeightRequest) ProtoMessage()
- func (m *QueryScheduledCorksByBlockHeightRequest) Reset()
- func (m *QueryScheduledCorksByBlockHeightRequest) Size() (n int)
- func (m *QueryScheduledCorksByBlockHeightRequest) String() string
- func (m *QueryScheduledCorksByBlockHeightRequest) Unmarshal(dAtA []byte) error
- func (m *QueryScheduledCorksByBlockHeightRequest) XXX_DiscardUnknown()
- func (m *QueryScheduledCorksByBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryScheduledCorksByBlockHeightRequest) XXX_Merge(src proto.Message)
- func (m *QueryScheduledCorksByBlockHeightRequest) XXX_Size() int
- func (m *QueryScheduledCorksByBlockHeightRequest) XXX_Unmarshal(b []byte) error
- type QueryScheduledCorksByBlockHeightResponse
- func (*QueryScheduledCorksByBlockHeightResponse) Descriptor() ([]byte, []int)
- func (m *QueryScheduledCorksByBlockHeightResponse) GetCorks() []*ScheduledCork
- func (m *QueryScheduledCorksByBlockHeightResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryScheduledCorksByBlockHeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryScheduledCorksByBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryScheduledCorksByBlockHeightResponse) ProtoMessage()
- func (m *QueryScheduledCorksByBlockHeightResponse) Reset()
- func (m *QueryScheduledCorksByBlockHeightResponse) Size() (n int)
- func (m *QueryScheduledCorksByBlockHeightResponse) String() string
- func (m *QueryScheduledCorksByBlockHeightResponse) Unmarshal(dAtA []byte) error
- func (m *QueryScheduledCorksByBlockHeightResponse) XXX_DiscardUnknown()
- func (m *QueryScheduledCorksByBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryScheduledCorksByBlockHeightResponse) XXX_Merge(src proto.Message)
- func (m *QueryScheduledCorksByBlockHeightResponse) XXX_Size() int
- func (m *QueryScheduledCorksByBlockHeightResponse) XXX_Unmarshal(b []byte) error
- type QueryScheduledCorksByIDRequest
- func (*QueryScheduledCorksByIDRequest) Descriptor() ([]byte, []int)
- func (m *QueryScheduledCorksByIDRequest) GetId() string
- func (m *QueryScheduledCorksByIDRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryScheduledCorksByIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryScheduledCorksByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryScheduledCorksByIDRequest) ProtoMessage()
- func (m *QueryScheduledCorksByIDRequest) Reset()
- func (m *QueryScheduledCorksByIDRequest) Size() (n int)
- func (m *QueryScheduledCorksByIDRequest) String() string
- func (m *QueryScheduledCorksByIDRequest) Unmarshal(dAtA []byte) error
- func (m *QueryScheduledCorksByIDRequest) XXX_DiscardUnknown()
- func (m *QueryScheduledCorksByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryScheduledCorksByIDRequest) XXX_Merge(src proto.Message)
- func (m *QueryScheduledCorksByIDRequest) XXX_Size() int
- func (m *QueryScheduledCorksByIDRequest) XXX_Unmarshal(b []byte) error
- type QueryScheduledCorksByIDResponse
- func (*QueryScheduledCorksByIDResponse) Descriptor() ([]byte, []int)
- func (m *QueryScheduledCorksByIDResponse) GetCorks() []*ScheduledCork
- func (m *QueryScheduledCorksByIDResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryScheduledCorksByIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryScheduledCorksByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryScheduledCorksByIDResponse) ProtoMessage()
- func (m *QueryScheduledCorksByIDResponse) Reset()
- func (m *QueryScheduledCorksByIDResponse) Size() (n int)
- func (m *QueryScheduledCorksByIDResponse) String() string
- func (m *QueryScheduledCorksByIDResponse) Unmarshal(dAtA []byte) error
- func (m *QueryScheduledCorksByIDResponse) XXX_DiscardUnknown()
- func (m *QueryScheduledCorksByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryScheduledCorksByIDResponse) XXX_Merge(src proto.Message)
- func (m *QueryScheduledCorksByIDResponse) XXX_Size() int
- func (m *QueryScheduledCorksByIDResponse) XXX_Unmarshal(b []byte) error
- type QueryScheduledCorksRequest
- func (*QueryScheduledCorksRequest) Descriptor() ([]byte, []int)
- func (m *QueryScheduledCorksRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryScheduledCorksRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryScheduledCorksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryScheduledCorksRequest) ProtoMessage()
- func (m *QueryScheduledCorksRequest) Reset()
- func (m *QueryScheduledCorksRequest) Size() (n int)
- func (m *QueryScheduledCorksRequest) String() string
- func (m *QueryScheduledCorksRequest) Unmarshal(dAtA []byte) error
- func (m *QueryScheduledCorksRequest) XXX_DiscardUnknown()
- func (m *QueryScheduledCorksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryScheduledCorksRequest) XXX_Merge(src proto.Message)
- func (m *QueryScheduledCorksRequest) XXX_Size() int
- func (m *QueryScheduledCorksRequest) XXX_Unmarshal(b []byte) error
- type QueryScheduledCorksResponse
- func (*QueryScheduledCorksResponse) Descriptor() ([]byte, []int)
- func (m *QueryScheduledCorksResponse) GetCorks() []*ScheduledCork
- func (m *QueryScheduledCorksResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryScheduledCorksResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryScheduledCorksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryScheduledCorksResponse) ProtoMessage()
- func (m *QueryScheduledCorksResponse) Reset()
- func (m *QueryScheduledCorksResponse) Size() (n int)
- func (m *QueryScheduledCorksResponse) String() string
- func (m *QueryScheduledCorksResponse) Unmarshal(dAtA []byte) error
- func (m *QueryScheduledCorksResponse) XXX_DiscardUnknown()
- func (m *QueryScheduledCorksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryScheduledCorksResponse) XXX_Merge(src proto.Message)
- func (m *QueryScheduledCorksResponse) XXX_Size() int
- func (m *QueryScheduledCorksResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RemoveManagedCellarIDsProposal
- func (*RemoveManagedCellarIDsProposal) Descriptor() ([]byte, []int)
- func (m *RemoveManagedCellarIDsProposal) GetCellarIds() *CellarIDSet
- func (m *RemoveManagedCellarIDsProposal) GetDescription() string
- func (m *RemoveManagedCellarIDsProposal) GetTitle() string
- func (m *RemoveManagedCellarIDsProposal) Marshal() (dAtA []byte, err error)
- func (m *RemoveManagedCellarIDsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *RemoveManagedCellarIDsProposal) ProposalRoute() string
- func (m *RemoveManagedCellarIDsProposal) ProposalType() string
- func (*RemoveManagedCellarIDsProposal) ProtoMessage()
- func (m *RemoveManagedCellarIDsProposal) Reset()
- func (m *RemoveManagedCellarIDsProposal) Size() (n int)
- func (m *RemoveManagedCellarIDsProposal) String() string
- func (m *RemoveManagedCellarIDsProposal) Unmarshal(dAtA []byte) error
- func (m *RemoveManagedCellarIDsProposal) ValidateBasic() error
- func (m *RemoveManagedCellarIDsProposal) XXX_DiscardUnknown()
- func (m *RemoveManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveManagedCellarIDsProposal) XXX_Merge(src proto.Message)
- func (m *RemoveManagedCellarIDsProposal) XXX_Size() int
- func (m *RemoveManagedCellarIDsProposal) XXX_Unmarshal(b []byte) error
- type RemoveManagedCellarIDsProposalWithDeposit
- func (*RemoveManagedCellarIDsProposalWithDeposit) Descriptor() ([]byte, []int)
- func (m *RemoveManagedCellarIDsProposalWithDeposit) GetCellarIds() []string
- func (m *RemoveManagedCellarIDsProposalWithDeposit) GetDeposit() string
- func (m *RemoveManagedCellarIDsProposalWithDeposit) GetDescription() string
- func (m *RemoveManagedCellarIDsProposalWithDeposit) GetTitle() string
- func (m *RemoveManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err error)
- func (m *RemoveManagedCellarIDsProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveManagedCellarIDsProposalWithDeposit) ProtoMessage()
- func (m *RemoveManagedCellarIDsProposalWithDeposit) Reset()
- func (m *RemoveManagedCellarIDsProposalWithDeposit) Size() (n int)
- func (m *RemoveManagedCellarIDsProposalWithDeposit) String() string
- func (m *RemoveManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error
- func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown()
- func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Merge(src proto.Message)
- func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Size() int
- func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Unmarshal(b []byte) error
- type ScheduledCork
- func (*ScheduledCork) Descriptor() ([]byte, []int)
- func (m *ScheduledCork) GetBlockHeight() uint64
- func (m *ScheduledCork) GetCork() *Cork
- func (m *ScheduledCork) GetId() []byte
- func (m *ScheduledCork) GetValidator() string
- func (m *ScheduledCork) Marshal() (dAtA []byte, err error)
- func (m *ScheduledCork) MarshalTo(dAtA []byte) (int, error)
- func (m *ScheduledCork) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScheduledCork) ProtoMessage()
- func (m *ScheduledCork) Reset()
- func (m *ScheduledCork) Size() (n int)
- func (m *ScheduledCork) String() string
- func (m *ScheduledCork) Unmarshal(dAtA []byte) error
- func (s *ScheduledCork) ValidateBasic() error
- func (m *ScheduledCork) XXX_DiscardUnknown()
- func (m *ScheduledCork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScheduledCork) XXX_Merge(src proto.Message)
- func (m *ScheduledCork) XXX_Size() int
- func (m *ScheduledCork) XXX_Unmarshal(b []byte) error
- type ScheduledCorkProposal
- func (*ScheduledCorkProposal) Descriptor() ([]byte, []int)
- func (m *ScheduledCorkProposal) GetBlockHeight() uint64
- func (m *ScheduledCorkProposal) GetContractCallProtoJson() string
- func (m *ScheduledCorkProposal) GetDescription() string
- func (m *ScheduledCorkProposal) GetTargetContractAddress() string
- func (m *ScheduledCorkProposal) GetTitle() string
- func (m *ScheduledCorkProposal) Marshal() (dAtA []byte, err error)
- func (m *ScheduledCorkProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ScheduledCorkProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *ScheduledCorkProposal) ProposalRoute() string
- func (m *ScheduledCorkProposal) ProposalType() string
- func (*ScheduledCorkProposal) ProtoMessage()
- func (m *ScheduledCorkProposal) Reset()
- func (m *ScheduledCorkProposal) Size() (n int)
- func (m *ScheduledCorkProposal) String() string
- func (m *ScheduledCorkProposal) Unmarshal(dAtA []byte) error
- func (m *ScheduledCorkProposal) ValidateBasic() error
- func (m *ScheduledCorkProposal) XXX_DiscardUnknown()
- func (m *ScheduledCorkProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScheduledCorkProposal) XXX_Merge(src proto.Message)
- func (m *ScheduledCorkProposal) XXX_Size() int
- func (m *ScheduledCorkProposal) XXX_Unmarshal(b []byte) error
- type ScheduledCorkProposalWithDeposit
- func (*ScheduledCorkProposalWithDeposit) Descriptor() ([]byte, []int)
- func (m *ScheduledCorkProposalWithDeposit) GetBlockHeight() uint64
- func (m *ScheduledCorkProposalWithDeposit) GetContractCallProtoJson() string
- func (m *ScheduledCorkProposalWithDeposit) GetDeposit() string
- func (m *ScheduledCorkProposalWithDeposit) GetDescription() string
- func (m *ScheduledCorkProposalWithDeposit) GetTargetContractAddress() string
- func (m *ScheduledCorkProposalWithDeposit) GetTitle() string
- func (m *ScheduledCorkProposalWithDeposit) Marshal() (dAtA []byte, err error)
- func (m *ScheduledCorkProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *ScheduledCorkProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScheduledCorkProposalWithDeposit) ProtoMessage()
- func (m *ScheduledCorkProposalWithDeposit) Reset()
- func (m *ScheduledCorkProposalWithDeposit) Size() (n int)
- func (m *ScheduledCorkProposalWithDeposit) String() string
- func (m *ScheduledCorkProposalWithDeposit) Unmarshal(dAtA []byte) error
- func (m *ScheduledCorkProposalWithDeposit) XXX_DiscardUnknown()
- func (m *ScheduledCorkProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScheduledCorkProposalWithDeposit) XXX_Merge(src proto.Message)
- func (m *ScheduledCorkProposalWithDeposit) XXX_Size() int
- func (m *ScheduledCorkProposalWithDeposit) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) QueryCellarIDs(ctx context.Context, req *QueryCellarIDsRequest) (*QueryCellarIDsResponse, error)
- func (*UnimplementedQueryServer) QueryCorkResult(ctx context.Context, req *QueryCorkResultRequest) (*QueryCorkResultResponse, error)
- func (*UnimplementedQueryServer) QueryCorkResults(ctx context.Context, req *QueryCorkResultsRequest) (*QueryCorkResultsResponse, error)
- func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueryScheduledBlockHeights(ctx context.Context, req *QueryScheduledBlockHeightsRequest) (*QueryScheduledBlockHeightsResponse, error)
- func (*UnimplementedQueryServer) QueryScheduledCorks(ctx context.Context, req *QueryScheduledCorksRequest) (*QueryScheduledCorksResponse, error)
- func (*UnimplementedQueryServer) QueryScheduledCorksByBlockHeight(ctx context.Context, req *QueryScheduledCorksByBlockHeightRequest) (*QueryScheduledCorksByBlockHeightResponse, error)
- func (*UnimplementedQueryServer) QueryScheduledCorksByID(ctx context.Context, req *QueryScheduledCorksByIDRequest) (*QueryScheduledCorksByIDResponse, error)
Constants ¶
const ( TypeMsgSubmitCorkRequest = "cork_submit" TypeMsgScheduleCorkRequest = "cork_schedule" )
const ( ProposalTypeAddManagedCellarIDs = "v2/AddManagedCellarIDs" ProposalTypeRemoveManagedCellarIDs = "v2/RemoveManagedCellarIDs" ProposalTypeScheduledCork = "v2/ScheduledCork" )
const DefaultParamspace = types.ModuleName
Variables ¶
var ( ErrInvalidLengthCork = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCork = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCork = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyVotePeriod = []byte("voteperiod") KeyVoteThreshold = []byte("votethreshold") KeyMaxCorksPerValidator = []byte("maxcorkspervalidator") )
Parameter keys
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc Note, the codec should ONLY be used in certain instances of tests and for // JSON encoding as Amino is still used for that purpose. // // The actual codec used for serialization should be provided to x/staking and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the cork proto files
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the vesting interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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 AddManagedCellarIDsProposal ¶
type AddManagedCellarIDsProposal 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"` CellarIds *CellarIDSet `protobuf:"bytes,3,opt,name=cellar_ids,json=cellarIds,proto3" json:"cellar_ids,omitempty"` PublisherDomain string `protobuf:"bytes,4,opt,name=publisher_domain,json=publisherDomain,proto3" json:"publisher_domain,omitempty"` }
func NewAddManagedCellarIDsProposal ¶
func NewAddManagedCellarIDsProposal(title string, description string, cellarIds *CellarIDSet, publisherDomain string) *AddManagedCellarIDsProposal
func (*AddManagedCellarIDsProposal) Descriptor ¶
func (*AddManagedCellarIDsProposal) Descriptor() ([]byte, []int)
func (*AddManagedCellarIDsProposal) GetCellarIds ¶
func (m *AddManagedCellarIDsProposal) GetCellarIds() *CellarIDSet
func (*AddManagedCellarIDsProposal) GetDescription ¶
func (m *AddManagedCellarIDsProposal) GetDescription() string
func (*AddManagedCellarIDsProposal) GetPublisherDomain ¶
func (m *AddManagedCellarIDsProposal) GetPublisherDomain() string
func (*AddManagedCellarIDsProposal) GetTitle ¶
func (m *AddManagedCellarIDsProposal) GetTitle() string
func (*AddManagedCellarIDsProposal) Marshal ¶
func (m *AddManagedCellarIDsProposal) Marshal() (dAtA []byte, err error)
func (*AddManagedCellarIDsProposal) MarshalTo ¶
func (m *AddManagedCellarIDsProposal) MarshalTo(dAtA []byte) (int, error)
func (*AddManagedCellarIDsProposal) MarshalToSizedBuffer ¶
func (m *AddManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddManagedCellarIDsProposal) ProposalRoute ¶
func (m *AddManagedCellarIDsProposal) ProposalRoute() string
func (*AddManagedCellarIDsProposal) ProposalType ¶
func (m *AddManagedCellarIDsProposal) ProposalType() string
func (*AddManagedCellarIDsProposal) ProtoMessage ¶
func (*AddManagedCellarIDsProposal) ProtoMessage()
func (*AddManagedCellarIDsProposal) Reset ¶
func (m *AddManagedCellarIDsProposal) Reset()
func (*AddManagedCellarIDsProposal) Size ¶
func (m *AddManagedCellarIDsProposal) Size() (n int)
func (*AddManagedCellarIDsProposal) String ¶
func (m *AddManagedCellarIDsProposal) String() string
func (*AddManagedCellarIDsProposal) Unmarshal ¶
func (m *AddManagedCellarIDsProposal) Unmarshal(dAtA []byte) error
func (*AddManagedCellarIDsProposal) ValidateBasic ¶
func (m *AddManagedCellarIDsProposal) ValidateBasic() error
func (*AddManagedCellarIDsProposal) XXX_DiscardUnknown ¶
func (m *AddManagedCellarIDsProposal) XXX_DiscardUnknown()
func (*AddManagedCellarIDsProposal) XXX_Marshal ¶
func (m *AddManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddManagedCellarIDsProposal) XXX_Merge ¶
func (m *AddManagedCellarIDsProposal) XXX_Merge(src proto.Message)
func (*AddManagedCellarIDsProposal) XXX_Size ¶
func (m *AddManagedCellarIDsProposal) XXX_Size() int
func (*AddManagedCellarIDsProposal) XXX_Unmarshal ¶
func (m *AddManagedCellarIDsProposal) XXX_Unmarshal(b []byte) error
type AddManagedCellarIDsProposalWithDeposit ¶
type AddManagedCellarIDsProposalWithDeposit 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"` CellarIds []string `protobuf:"bytes,3,rep,name=cellar_ids,json=cellarIds,proto3" json:"cellar_ids,omitempty"` PublisherDomain string `protobuf:"bytes,4,opt,name=publisher_domain,json=publisherDomain,proto3" json:"publisher_domain,omitempty"` Deposit string `protobuf:"bytes,5,opt,name=deposit,proto3" json:"deposit,omitempty"` }
AddManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands
func (*AddManagedCellarIDsProposalWithDeposit) Descriptor ¶
func (*AddManagedCellarIDsProposalWithDeposit) Descriptor() ([]byte, []int)
func (*AddManagedCellarIDsProposalWithDeposit) GetCellarIds ¶
func (m *AddManagedCellarIDsProposalWithDeposit) GetCellarIds() []string
func (*AddManagedCellarIDsProposalWithDeposit) GetDeposit ¶
func (m *AddManagedCellarIDsProposalWithDeposit) GetDeposit() string
func (*AddManagedCellarIDsProposalWithDeposit) GetDescription ¶
func (m *AddManagedCellarIDsProposalWithDeposit) GetDescription() string
func (*AddManagedCellarIDsProposalWithDeposit) GetPublisherDomain ¶
func (m *AddManagedCellarIDsProposalWithDeposit) GetPublisherDomain() string
func (*AddManagedCellarIDsProposalWithDeposit) GetTitle ¶
func (m *AddManagedCellarIDsProposalWithDeposit) GetTitle() string
func (*AddManagedCellarIDsProposalWithDeposit) Marshal ¶
func (m *AddManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err error)
func (*AddManagedCellarIDsProposalWithDeposit) MarshalTo ¶
func (m *AddManagedCellarIDsProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
func (*AddManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer ¶
func (m *AddManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddManagedCellarIDsProposalWithDeposit) ProtoMessage ¶
func (*AddManagedCellarIDsProposalWithDeposit) ProtoMessage()
func (*AddManagedCellarIDsProposalWithDeposit) Reset ¶
func (m *AddManagedCellarIDsProposalWithDeposit) Reset()
func (*AddManagedCellarIDsProposalWithDeposit) Size ¶
func (m *AddManagedCellarIDsProposalWithDeposit) Size() (n int)
func (*AddManagedCellarIDsProposalWithDeposit) String ¶
func (m *AddManagedCellarIDsProposalWithDeposit) String() string
func (*AddManagedCellarIDsProposalWithDeposit) Unmarshal ¶
func (m *AddManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error
func (*AddManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown ¶
func (m *AddManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown()
func (*AddManagedCellarIDsProposalWithDeposit) XXX_Marshal ¶
func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddManagedCellarIDsProposalWithDeposit) XXX_Merge ¶
func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Merge(src proto.Message)
func (*AddManagedCellarIDsProposalWithDeposit) XXX_Size ¶
func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Size() int
func (*AddManagedCellarIDsProposalWithDeposit) XXX_Unmarshal ¶
func (m *AddManagedCellarIDsProposalWithDeposit) XXX_Unmarshal(b []byte) error
type CellarIDSet ¶
type CellarIDSet struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
}
func (*CellarIDSet) Descriptor ¶
func (*CellarIDSet) Descriptor() ([]byte, []int)
func (*CellarIDSet) GetIds ¶
func (m *CellarIDSet) GetIds() []string
func (*CellarIDSet) Marshal ¶
func (m *CellarIDSet) Marshal() (dAtA []byte, err error)
func (*CellarIDSet) MarshalToSizedBuffer ¶
func (m *CellarIDSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CellarIDSet) ProtoMessage ¶
func (*CellarIDSet) ProtoMessage()
func (*CellarIDSet) Reset ¶
func (m *CellarIDSet) Reset()
func (*CellarIDSet) Size ¶
func (m *CellarIDSet) Size() (n int)
func (*CellarIDSet) String ¶
func (m *CellarIDSet) String() string
func (*CellarIDSet) Unmarshal ¶
func (m *CellarIDSet) Unmarshal(dAtA []byte) error
func (*CellarIDSet) ValidateBasic ¶
func (c *CellarIDSet) ValidateBasic() error
func (*CellarIDSet) XXX_DiscardUnknown ¶
func (m *CellarIDSet) XXX_DiscardUnknown()
func (*CellarIDSet) XXX_Marshal ¶
func (m *CellarIDSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CellarIDSet) XXX_Merge ¶
func (m *CellarIDSet) XXX_Merge(src proto.Message)
func (*CellarIDSet) XXX_Size ¶
func (m *CellarIDSet) XXX_Size() int
func (*CellarIDSet) XXX_Unmarshal ¶
func (m *CellarIDSet) XXX_Unmarshal(b []byte) error
type Cork ¶
type Cork struct { // call body containing the ABI encoded bytes to send to the contract EncodedContractCall []byte `protobuf:"bytes,1,opt,name=encoded_contract_call,json=encodedContractCall,proto3" json:"encoded_contract_call,omitempty"` // address of the contract to send the call TargetContractAddress string `` /* 126-byte string literal not displayed */ }
func (*Cork) Descriptor ¶
func (*Cork) GetEncodedContractCall ¶
func (*Cork) GetTargetContractAddress ¶
func (*Cork) InvalidationScope ¶
func (*Cork) ProtoMessage ¶
func (*Cork) ProtoMessage()
func (*Cork) ValidateBasic ¶
func (*Cork) XXX_DiscardUnknown ¶
func (m *Cork) XXX_DiscardUnknown()
func (*Cork) XXX_Unmarshal ¶
type CorkResult ¶
type CorkResult struct { Cork *Cork `protobuf:"bytes,1,opt,name=cork,proto3" json:"cork,omitempty"` BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Approved bool `protobuf:"varint,3,opt,name=approved,proto3" json:"approved,omitempty"` ApprovalPercentage string `protobuf:"bytes,4,opt,name=approval_percentage,json=approvalPercentage,proto3" json:"approval_percentage,omitempty"` }
func (*CorkResult) Descriptor ¶
func (*CorkResult) Descriptor() ([]byte, []int)
func (*CorkResult) GetApprovalPercentage ¶
func (m *CorkResult) GetApprovalPercentage() string
func (*CorkResult) GetApproved ¶
func (m *CorkResult) GetApproved() bool
func (*CorkResult) GetBlockHeight ¶
func (m *CorkResult) GetBlockHeight() uint64
func (*CorkResult) GetCork ¶
func (m *CorkResult) GetCork() *Cork
func (*CorkResult) Marshal ¶
func (m *CorkResult) Marshal() (dAtA []byte, err error)
func (*CorkResult) MarshalToSizedBuffer ¶
func (m *CorkResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CorkResult) ProtoMessage ¶
func (*CorkResult) ProtoMessage()
func (*CorkResult) Reset ¶
func (m *CorkResult) Reset()
func (*CorkResult) Size ¶
func (m *CorkResult) Size() (n int)
func (*CorkResult) String ¶
func (m *CorkResult) String() string
func (*CorkResult) Unmarshal ¶
func (m *CorkResult) Unmarshal(dAtA []byte) error
func (*CorkResult) ValidateBasic ¶
func (c *CorkResult) ValidateBasic() error
func (*CorkResult) XXX_DiscardUnknown ¶
func (m *CorkResult) XXX_DiscardUnknown()
func (*CorkResult) XXX_Marshal ¶
func (m *CorkResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CorkResult) XXX_Merge ¶
func (m *CorkResult) XXX_Merge(src proto.Message)
func (*CorkResult) XXX_Size ¶
func (m *CorkResult) XXX_Size() int
func (*CorkResult) XXX_Unmarshal ¶
func (m *CorkResult) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` CellarIds CellarIDSet `protobuf:"bytes,2,opt,name=cellar_ids,json=cellarIds,proto3" json:"cellar_ids"` InvalidationNonce uint64 `protobuf:"varint,3,opt,name=invalidation_nonce,json=invalidationNonce,proto3" json:"invalidation_nonce,omitempty"` ScheduledCorks []*ScheduledCork `protobuf:"bytes,4,rep,name=scheduled_corks,json=scheduledCorks,proto3" json:"scheduled_corks,omitempty"` CorkResults []*CorkResult `protobuf:"bytes,5,rep,name=cork_results,json=corkResults,proto3" json:"cork_results,omitempty"` }
GenesisState - all cork state that must be provided at genesis
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
DefaultGenesisState get raw genesis raw message for testing
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCellarIds ¶
func (m *GenesisState) GetCellarIds() CellarIDSet
func (*GenesisState) GetCorkResults ¶
func (m *GenesisState) GetCorkResults() []*CorkResult
func (*GenesisState) GetInvalidationNonce ¶
func (m *GenesisState) GetInvalidationNonce() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetScheduledCorks ¶
func (m *GenesisState) GetScheduledCorks() []*ScheduledCork
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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 a basic stateless validation of the genesis fields.
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 MsgClient ¶
type MsgClient interface {
ScheduleCork(ctx context.Context, in *MsgScheduleCorkRequest, opts ...grpc.CallOption) (*MsgScheduleCorkResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgScheduleCorkRequest ¶
type MsgScheduleCorkRequest struct { // the scheduled cork Cork *Cork `protobuf:"bytes,1,opt,name=cork,proto3" json:"cork,omitempty"` // the block height that must be reached BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // signer account address Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` }
MsgScheduleCorkRequest - sdk.Msg for scheduling a cork request for on or after a specific block height
func NewMsgScheduleCorkRequest ¶
func NewMsgScheduleCorkRequest(body []byte, address common.Address, blockHeight uint64, signer sdk.AccAddress) (*MsgScheduleCorkRequest, error)
NewMsgScheduleCorkRequest return a new MsgScheduleCorkRequest
func (*MsgScheduleCorkRequest) Descriptor ¶
func (*MsgScheduleCorkRequest) Descriptor() ([]byte, []int)
func (*MsgScheduleCorkRequest) GetBlockHeight ¶
func (m *MsgScheduleCorkRequest) GetBlockHeight() uint64
func (*MsgScheduleCorkRequest) GetCork ¶
func (m *MsgScheduleCorkRequest) GetCork() *Cork
func (*MsgScheduleCorkRequest) GetSignBytes ¶
func (m *MsgScheduleCorkRequest) GetSignBytes() []byte
GetSignBytes implements sdk.Msg
func (*MsgScheduleCorkRequest) GetSigner ¶
func (m *MsgScheduleCorkRequest) GetSigner() string
func (*MsgScheduleCorkRequest) GetSigners ¶
func (m *MsgScheduleCorkRequest) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgScheduleCorkRequest) Marshal ¶
func (m *MsgScheduleCorkRequest) Marshal() (dAtA []byte, err error)
func (*MsgScheduleCorkRequest) MarshalTo ¶
func (m *MsgScheduleCorkRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgScheduleCorkRequest) MarshalToSizedBuffer ¶
func (m *MsgScheduleCorkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgScheduleCorkRequest) MustGetSigner ¶
func (m *MsgScheduleCorkRequest) MustGetSigner() sdk.AccAddress
MustGetSigner returns the signer address
func (*MsgScheduleCorkRequest) ProtoMessage ¶
func (*MsgScheduleCorkRequest) ProtoMessage()
func (*MsgScheduleCorkRequest) Reset ¶
func (m *MsgScheduleCorkRequest) Reset()
func (*MsgScheduleCorkRequest) Route ¶
func (m *MsgScheduleCorkRequest) Route() string
Route implements sdk.Msg
func (*MsgScheduleCorkRequest) Size ¶
func (m *MsgScheduleCorkRequest) Size() (n int)
func (*MsgScheduleCorkRequest) String ¶
func (m *MsgScheduleCorkRequest) String() string
func (*MsgScheduleCorkRequest) Type ¶
func (m *MsgScheduleCorkRequest) Type() string
Type implements sdk.Msg
func (*MsgScheduleCorkRequest) Unmarshal ¶
func (m *MsgScheduleCorkRequest) Unmarshal(dAtA []byte) error
func (*MsgScheduleCorkRequest) ValidateBasic ¶
func (m *MsgScheduleCorkRequest) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgScheduleCorkRequest) XXX_DiscardUnknown ¶
func (m *MsgScheduleCorkRequest) XXX_DiscardUnknown()
func (*MsgScheduleCorkRequest) XXX_Marshal ¶
func (m *MsgScheduleCorkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgScheduleCorkRequest) XXX_Merge ¶
func (m *MsgScheduleCorkRequest) XXX_Merge(src proto.Message)
func (*MsgScheduleCorkRequest) XXX_Size ¶
func (m *MsgScheduleCorkRequest) XXX_Size() int
func (*MsgScheduleCorkRequest) XXX_Unmarshal ¶
func (m *MsgScheduleCorkRequest) XXX_Unmarshal(b []byte) error
type MsgScheduleCorkResponse ¶
type MsgScheduleCorkResponse struct { // cork ID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` }
func (*MsgScheduleCorkResponse) Descriptor ¶
func (*MsgScheduleCorkResponse) Descriptor() ([]byte, []int)
func (*MsgScheduleCorkResponse) GetId ¶
func (m *MsgScheduleCorkResponse) GetId() string
func (*MsgScheduleCorkResponse) Marshal ¶
func (m *MsgScheduleCorkResponse) Marshal() (dAtA []byte, err error)
func (*MsgScheduleCorkResponse) MarshalTo ¶
func (m *MsgScheduleCorkResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgScheduleCorkResponse) MarshalToSizedBuffer ¶
func (m *MsgScheduleCorkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgScheduleCorkResponse) ProtoMessage ¶
func (*MsgScheduleCorkResponse) ProtoMessage()
func (*MsgScheduleCorkResponse) Reset ¶
func (m *MsgScheduleCorkResponse) Reset()
func (*MsgScheduleCorkResponse) Size ¶
func (m *MsgScheduleCorkResponse) Size() (n int)
func (*MsgScheduleCorkResponse) String ¶
func (m *MsgScheduleCorkResponse) String() string
func (*MsgScheduleCorkResponse) Unmarshal ¶
func (m *MsgScheduleCorkResponse) Unmarshal(dAtA []byte) error
func (*MsgScheduleCorkResponse) XXX_DiscardUnknown ¶
func (m *MsgScheduleCorkResponse) XXX_DiscardUnknown()
func (*MsgScheduleCorkResponse) XXX_Marshal ¶
func (m *MsgScheduleCorkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgScheduleCorkResponse) XXX_Merge ¶
func (m *MsgScheduleCorkResponse) XXX_Merge(src proto.Message)
func (*MsgScheduleCorkResponse) XXX_Size ¶
func (m *MsgScheduleCorkResponse) XXX_Size() int
func (*MsgScheduleCorkResponse) XXX_Unmarshal ¶
func (m *MsgScheduleCorkResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
ScheduleCork(context.Context, *MsgScheduleCorkRequest) (*MsgScheduleCorkResponse, error)
}
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { // Deprecated // VoteThreshold defines the percentage of bonded stake required to vote for a scheduled cork to be approved VoteThreshold github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */ MaxCorksPerValidator uint64 `` /* 126-byte string literal not displayed */ }
Params cork parameters
func (*Params) Descriptor ¶
func (*Params) GetMaxCorksPerValidator ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ValidateBasic ¶
ValidateBasic performs basic validation on oracle parameters.
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryCellarIDsRequest ¶
type QueryCellarIDsRequest struct { }
QueryCellarIDsRequest is the request type for Query/QueryCellarIDs gRPC method.
func (*QueryCellarIDsRequest) Descriptor ¶
func (*QueryCellarIDsRequest) Descriptor() ([]byte, []int)
func (*QueryCellarIDsRequest) Marshal ¶
func (m *QueryCellarIDsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCellarIDsRequest) MarshalTo ¶
func (m *QueryCellarIDsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCellarIDsRequest) MarshalToSizedBuffer ¶
func (m *QueryCellarIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCellarIDsRequest) ProtoMessage ¶
func (*QueryCellarIDsRequest) ProtoMessage()
func (*QueryCellarIDsRequest) Reset ¶
func (m *QueryCellarIDsRequest) Reset()
func (*QueryCellarIDsRequest) Size ¶
func (m *QueryCellarIDsRequest) Size() (n int)
func (*QueryCellarIDsRequest) String ¶
func (m *QueryCellarIDsRequest) String() string
func (*QueryCellarIDsRequest) Unmarshal ¶
func (m *QueryCellarIDsRequest) Unmarshal(dAtA []byte) error
func (*QueryCellarIDsRequest) XXX_DiscardUnknown ¶
func (m *QueryCellarIDsRequest) XXX_DiscardUnknown()
func (*QueryCellarIDsRequest) XXX_Marshal ¶
func (m *QueryCellarIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCellarIDsRequest) XXX_Merge ¶
func (m *QueryCellarIDsRequest) XXX_Merge(src proto.Message)
func (*QueryCellarIDsRequest) XXX_Size ¶
func (m *QueryCellarIDsRequest) XXX_Size() int
func (*QueryCellarIDsRequest) XXX_Unmarshal ¶
func (m *QueryCellarIDsRequest) XXX_Unmarshal(b []byte) error
type QueryCellarIDsResponse ¶
type QueryCellarIDsResponse struct {
CellarIds []string `protobuf:"bytes,1,rep,name=cellar_ids,json=cellarIds,proto3" json:"cellar_ids,omitempty"`
}
QueryCellarIDsResponse is the response type for Query/QueryCellars gRPC method.
func (*QueryCellarIDsResponse) Descriptor ¶
func (*QueryCellarIDsResponse) Descriptor() ([]byte, []int)
func (*QueryCellarIDsResponse) GetCellarIds ¶
func (m *QueryCellarIDsResponse) GetCellarIds() []string
func (*QueryCellarIDsResponse) Marshal ¶
func (m *QueryCellarIDsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCellarIDsResponse) MarshalTo ¶
func (m *QueryCellarIDsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCellarIDsResponse) MarshalToSizedBuffer ¶
func (m *QueryCellarIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCellarIDsResponse) ProtoMessage ¶
func (*QueryCellarIDsResponse) ProtoMessage()
func (*QueryCellarIDsResponse) Reset ¶
func (m *QueryCellarIDsResponse) Reset()
func (*QueryCellarIDsResponse) Size ¶
func (m *QueryCellarIDsResponse) Size() (n int)
func (*QueryCellarIDsResponse) String ¶
func (m *QueryCellarIDsResponse) String() string
func (*QueryCellarIDsResponse) Unmarshal ¶
func (m *QueryCellarIDsResponse) Unmarshal(dAtA []byte) error
func (*QueryCellarIDsResponse) XXX_DiscardUnknown ¶
func (m *QueryCellarIDsResponse) XXX_DiscardUnknown()
func (*QueryCellarIDsResponse) XXX_Marshal ¶
func (m *QueryCellarIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCellarIDsResponse) XXX_Merge ¶
func (m *QueryCellarIDsResponse) XXX_Merge(src proto.Message)
func (*QueryCellarIDsResponse) XXX_Size ¶
func (m *QueryCellarIDsResponse) XXX_Size() int
func (*QueryCellarIDsResponse) XXX_Unmarshal ¶
func (m *QueryCellarIDsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // QueryParams queries the allocation module parameters. QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // QueryCellarIDs returns all cellars and current tick ranges QueryCellarIDs(ctx context.Context, in *QueryCellarIDsRequest, opts ...grpc.CallOption) (*QueryCellarIDsResponse, error) // QueryScheduledCorks returns all scheduled corks QueryScheduledCorks(ctx context.Context, in *QueryScheduledCorksRequest, opts ...grpc.CallOption) (*QueryScheduledCorksResponse, error) // QueryScheduledBlockHeights returns all scheduled block heights QueryScheduledBlockHeights(ctx context.Context, in *QueryScheduledBlockHeightsRequest, opts ...grpc.CallOption) (*QueryScheduledBlockHeightsResponse, error) // QueryScheduledCorks returns all scheduled corks at a block height QueryScheduledCorksByBlockHeight(ctx context.Context, in *QueryScheduledCorksByBlockHeightRequest, opts ...grpc.CallOption) (*QueryScheduledCorksByBlockHeightResponse, error) // QueryScheduledCorks returns all scheduled corks with the specified ID QueryScheduledCorksByID(ctx context.Context, in *QueryScheduledCorksByIDRequest, opts ...grpc.CallOption) (*QueryScheduledCorksByIDResponse, error) QueryCorkResult(ctx context.Context, in *QueryCorkResultRequest, opts ...grpc.CallOption) (*QueryCorkResultResponse, error) QueryCorkResults(ctx context.Context, in *QueryCorkResultsRequest, opts ...grpc.CallOption) (*QueryCorkResultsResponse, 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 QueryCorkResultRequest ¶
type QueryCorkResultRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QueryCorkResultRequest) Descriptor ¶
func (*QueryCorkResultRequest) Descriptor() ([]byte, []int)
func (*QueryCorkResultRequest) GetId ¶
func (m *QueryCorkResultRequest) GetId() string
func (*QueryCorkResultRequest) Marshal ¶
func (m *QueryCorkResultRequest) Marshal() (dAtA []byte, err error)
func (*QueryCorkResultRequest) MarshalTo ¶
func (m *QueryCorkResultRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCorkResultRequest) MarshalToSizedBuffer ¶
func (m *QueryCorkResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCorkResultRequest) ProtoMessage ¶
func (*QueryCorkResultRequest) ProtoMessage()
func (*QueryCorkResultRequest) Reset ¶
func (m *QueryCorkResultRequest) Reset()
func (*QueryCorkResultRequest) Size ¶
func (m *QueryCorkResultRequest) Size() (n int)
func (*QueryCorkResultRequest) String ¶
func (m *QueryCorkResultRequest) String() string
func (*QueryCorkResultRequest) Unmarshal ¶
func (m *QueryCorkResultRequest) Unmarshal(dAtA []byte) error
func (*QueryCorkResultRequest) XXX_DiscardUnknown ¶
func (m *QueryCorkResultRequest) XXX_DiscardUnknown()
func (*QueryCorkResultRequest) XXX_Marshal ¶
func (m *QueryCorkResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCorkResultRequest) XXX_Merge ¶
func (m *QueryCorkResultRequest) XXX_Merge(src proto.Message)
func (*QueryCorkResultRequest) XXX_Size ¶
func (m *QueryCorkResultRequest) XXX_Size() int
func (*QueryCorkResultRequest) XXX_Unmarshal ¶
func (m *QueryCorkResultRequest) XXX_Unmarshal(b []byte) error
type QueryCorkResultResponse ¶
type QueryCorkResultResponse struct {
CorkResult *CorkResult `protobuf:"bytes,1,opt,name=corkResult,proto3" json:"corkResult,omitempty"`
}
func (*QueryCorkResultResponse) Descriptor ¶
func (*QueryCorkResultResponse) Descriptor() ([]byte, []int)
func (*QueryCorkResultResponse) GetCorkResult ¶
func (m *QueryCorkResultResponse) GetCorkResult() *CorkResult
func (*QueryCorkResultResponse) Marshal ¶
func (m *QueryCorkResultResponse) Marshal() (dAtA []byte, err error)
func (*QueryCorkResultResponse) MarshalTo ¶
func (m *QueryCorkResultResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCorkResultResponse) MarshalToSizedBuffer ¶
func (m *QueryCorkResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCorkResultResponse) ProtoMessage ¶
func (*QueryCorkResultResponse) ProtoMessage()
func (*QueryCorkResultResponse) Reset ¶
func (m *QueryCorkResultResponse) Reset()
func (*QueryCorkResultResponse) Size ¶
func (m *QueryCorkResultResponse) Size() (n int)
func (*QueryCorkResultResponse) String ¶
func (m *QueryCorkResultResponse) String() string
func (*QueryCorkResultResponse) Unmarshal ¶
func (m *QueryCorkResultResponse) Unmarshal(dAtA []byte) error
func (*QueryCorkResultResponse) XXX_DiscardUnknown ¶
func (m *QueryCorkResultResponse) XXX_DiscardUnknown()
func (*QueryCorkResultResponse) XXX_Marshal ¶
func (m *QueryCorkResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCorkResultResponse) XXX_Merge ¶
func (m *QueryCorkResultResponse) XXX_Merge(src proto.Message)
func (*QueryCorkResultResponse) XXX_Size ¶
func (m *QueryCorkResultResponse) XXX_Size() int
func (*QueryCorkResultResponse) XXX_Unmarshal ¶
func (m *QueryCorkResultResponse) XXX_Unmarshal(b []byte) error
type QueryCorkResultsRequest ¶
type QueryCorkResultsRequest struct { }
func (*QueryCorkResultsRequest) Descriptor ¶
func (*QueryCorkResultsRequest) Descriptor() ([]byte, []int)
func (*QueryCorkResultsRequest) Marshal ¶
func (m *QueryCorkResultsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCorkResultsRequest) MarshalTo ¶
func (m *QueryCorkResultsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCorkResultsRequest) MarshalToSizedBuffer ¶
func (m *QueryCorkResultsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCorkResultsRequest) ProtoMessage ¶
func (*QueryCorkResultsRequest) ProtoMessage()
func (*QueryCorkResultsRequest) Reset ¶
func (m *QueryCorkResultsRequest) Reset()
func (*QueryCorkResultsRequest) Size ¶
func (m *QueryCorkResultsRequest) Size() (n int)
func (*QueryCorkResultsRequest) String ¶
func (m *QueryCorkResultsRequest) String() string
func (*QueryCorkResultsRequest) Unmarshal ¶
func (m *QueryCorkResultsRequest) Unmarshal(dAtA []byte) error
func (*QueryCorkResultsRequest) XXX_DiscardUnknown ¶
func (m *QueryCorkResultsRequest) XXX_DiscardUnknown()
func (*QueryCorkResultsRequest) XXX_Marshal ¶
func (m *QueryCorkResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCorkResultsRequest) XXX_Merge ¶
func (m *QueryCorkResultsRequest) XXX_Merge(src proto.Message)
func (*QueryCorkResultsRequest) XXX_Size ¶
func (m *QueryCorkResultsRequest) XXX_Size() int
func (*QueryCorkResultsRequest) XXX_Unmarshal ¶
func (m *QueryCorkResultsRequest) XXX_Unmarshal(b []byte) error
type QueryCorkResultsResponse ¶
type QueryCorkResultsResponse struct {
CorkResults []*CorkResult `protobuf:"bytes,1,rep,name=corkResults,proto3" json:"corkResults,omitempty"`
}
func (*QueryCorkResultsResponse) Descriptor ¶
func (*QueryCorkResultsResponse) Descriptor() ([]byte, []int)
func (*QueryCorkResultsResponse) GetCorkResults ¶
func (m *QueryCorkResultsResponse) GetCorkResults() []*CorkResult
func (*QueryCorkResultsResponse) Marshal ¶
func (m *QueryCorkResultsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCorkResultsResponse) MarshalTo ¶
func (m *QueryCorkResultsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCorkResultsResponse) MarshalToSizedBuffer ¶
func (m *QueryCorkResultsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCorkResultsResponse) ProtoMessage ¶
func (*QueryCorkResultsResponse) ProtoMessage()
func (*QueryCorkResultsResponse) Reset ¶
func (m *QueryCorkResultsResponse) Reset()
func (*QueryCorkResultsResponse) Size ¶
func (m *QueryCorkResultsResponse) Size() (n int)
func (*QueryCorkResultsResponse) String ¶
func (m *QueryCorkResultsResponse) String() string
func (*QueryCorkResultsResponse) Unmarshal ¶
func (m *QueryCorkResultsResponse) Unmarshal(dAtA []byte) error
func (*QueryCorkResultsResponse) XXX_DiscardUnknown ¶
func (m *QueryCorkResultsResponse) XXX_DiscardUnknown()
func (*QueryCorkResultsResponse) XXX_Marshal ¶
func (m *QueryCorkResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCorkResultsResponse) XXX_Merge ¶
func (m *QueryCorkResultsResponse) XXX_Merge(src proto.Message)
func (*QueryCorkResultsResponse) XXX_Size ¶
func (m *QueryCorkResultsResponse) XXX_Size() int
func (*QueryCorkResultsResponse) XXX_Unmarshal ¶
func (m *QueryCorkResultsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params gRPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // allocation parameters Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsRequest is the response type for the Query/Params gRPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryScheduledBlockHeightsRequest ¶
type QueryScheduledBlockHeightsRequest struct { }
QueryScheduledBlockHeightsRequest
func (*QueryScheduledBlockHeightsRequest) Descriptor ¶
func (*QueryScheduledBlockHeightsRequest) Descriptor() ([]byte, []int)
func (*QueryScheduledBlockHeightsRequest) Marshal ¶
func (m *QueryScheduledBlockHeightsRequest) Marshal() (dAtA []byte, err error)
func (*QueryScheduledBlockHeightsRequest) MarshalTo ¶
func (m *QueryScheduledBlockHeightsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryScheduledBlockHeightsRequest) MarshalToSizedBuffer ¶
func (m *QueryScheduledBlockHeightsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryScheduledBlockHeightsRequest) ProtoMessage ¶
func (*QueryScheduledBlockHeightsRequest) ProtoMessage()
func (*QueryScheduledBlockHeightsRequest) Reset ¶
func (m *QueryScheduledBlockHeightsRequest) Reset()
func (*QueryScheduledBlockHeightsRequest) Size ¶
func (m *QueryScheduledBlockHeightsRequest) Size() (n int)
func (*QueryScheduledBlockHeightsRequest) String ¶
func (m *QueryScheduledBlockHeightsRequest) String() string
func (*QueryScheduledBlockHeightsRequest) Unmarshal ¶
func (m *QueryScheduledBlockHeightsRequest) Unmarshal(dAtA []byte) error
func (*QueryScheduledBlockHeightsRequest) XXX_DiscardUnknown ¶
func (m *QueryScheduledBlockHeightsRequest) XXX_DiscardUnknown()
func (*QueryScheduledBlockHeightsRequest) XXX_Marshal ¶
func (m *QueryScheduledBlockHeightsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryScheduledBlockHeightsRequest) XXX_Merge ¶
func (m *QueryScheduledBlockHeightsRequest) XXX_Merge(src proto.Message)
func (*QueryScheduledBlockHeightsRequest) XXX_Size ¶
func (m *QueryScheduledBlockHeightsRequest) XXX_Size() int
func (*QueryScheduledBlockHeightsRequest) XXX_Unmarshal ¶
func (m *QueryScheduledBlockHeightsRequest) XXX_Unmarshal(b []byte) error
type QueryScheduledBlockHeightsResponse ¶
type QueryScheduledBlockHeightsResponse struct {
BlockHeights []uint64 `protobuf:"varint,1,rep,packed,name=block_heights,json=blockHeights,proto3" json:"block_heights,omitempty"`
}
QueryScheduledBlockHeightsResponse
func (*QueryScheduledBlockHeightsResponse) Descriptor ¶
func (*QueryScheduledBlockHeightsResponse) Descriptor() ([]byte, []int)
func (*QueryScheduledBlockHeightsResponse) GetBlockHeights ¶
func (m *QueryScheduledBlockHeightsResponse) GetBlockHeights() []uint64
func (*QueryScheduledBlockHeightsResponse) Marshal ¶
func (m *QueryScheduledBlockHeightsResponse) Marshal() (dAtA []byte, err error)
func (*QueryScheduledBlockHeightsResponse) MarshalTo ¶
func (m *QueryScheduledBlockHeightsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryScheduledBlockHeightsResponse) MarshalToSizedBuffer ¶
func (m *QueryScheduledBlockHeightsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryScheduledBlockHeightsResponse) ProtoMessage ¶
func (*QueryScheduledBlockHeightsResponse) ProtoMessage()
func (*QueryScheduledBlockHeightsResponse) Reset ¶
func (m *QueryScheduledBlockHeightsResponse) Reset()
func (*QueryScheduledBlockHeightsResponse) Size ¶
func (m *QueryScheduledBlockHeightsResponse) Size() (n int)
func (*QueryScheduledBlockHeightsResponse) String ¶
func (m *QueryScheduledBlockHeightsResponse) String() string
func (*QueryScheduledBlockHeightsResponse) Unmarshal ¶
func (m *QueryScheduledBlockHeightsResponse) Unmarshal(dAtA []byte) error
func (*QueryScheduledBlockHeightsResponse) XXX_DiscardUnknown ¶
func (m *QueryScheduledBlockHeightsResponse) XXX_DiscardUnknown()
func (*QueryScheduledBlockHeightsResponse) XXX_Marshal ¶
func (m *QueryScheduledBlockHeightsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryScheduledBlockHeightsResponse) XXX_Merge ¶
func (m *QueryScheduledBlockHeightsResponse) XXX_Merge(src proto.Message)
func (*QueryScheduledBlockHeightsResponse) XXX_Size ¶
func (m *QueryScheduledBlockHeightsResponse) XXX_Size() int
func (*QueryScheduledBlockHeightsResponse) XXX_Unmarshal ¶
func (m *QueryScheduledBlockHeightsResponse) XXX_Unmarshal(b []byte) error
type QueryScheduledCorksByBlockHeightRequest ¶
type QueryScheduledCorksByBlockHeightRequest struct {
BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}
QueryScheduledCorksByBlockHeightRequest
func (*QueryScheduledCorksByBlockHeightRequest) Descriptor ¶
func (*QueryScheduledCorksByBlockHeightRequest) Descriptor() ([]byte, []int)
func (*QueryScheduledCorksByBlockHeightRequest) GetBlockHeight ¶
func (m *QueryScheduledCorksByBlockHeightRequest) GetBlockHeight() uint64
func (*QueryScheduledCorksByBlockHeightRequest) Marshal ¶
func (m *QueryScheduledCorksByBlockHeightRequest) Marshal() (dAtA []byte, err error)
func (*QueryScheduledCorksByBlockHeightRequest) MarshalTo ¶
func (m *QueryScheduledCorksByBlockHeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryScheduledCorksByBlockHeightRequest) MarshalToSizedBuffer ¶
func (m *QueryScheduledCorksByBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryScheduledCorksByBlockHeightRequest) ProtoMessage ¶
func (*QueryScheduledCorksByBlockHeightRequest) ProtoMessage()
func (*QueryScheduledCorksByBlockHeightRequest) Reset ¶
func (m *QueryScheduledCorksByBlockHeightRequest) Reset()
func (*QueryScheduledCorksByBlockHeightRequest) Size ¶
func (m *QueryScheduledCorksByBlockHeightRequest) Size() (n int)
func (*QueryScheduledCorksByBlockHeightRequest) String ¶
func (m *QueryScheduledCorksByBlockHeightRequest) String() string
func (*QueryScheduledCorksByBlockHeightRequest) Unmarshal ¶
func (m *QueryScheduledCorksByBlockHeightRequest) Unmarshal(dAtA []byte) error
func (*QueryScheduledCorksByBlockHeightRequest) XXX_DiscardUnknown ¶
func (m *QueryScheduledCorksByBlockHeightRequest) XXX_DiscardUnknown()
func (*QueryScheduledCorksByBlockHeightRequest) XXX_Marshal ¶
func (m *QueryScheduledCorksByBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryScheduledCorksByBlockHeightRequest) XXX_Merge ¶
func (m *QueryScheduledCorksByBlockHeightRequest) XXX_Merge(src proto.Message)
func (*QueryScheduledCorksByBlockHeightRequest) XXX_Size ¶
func (m *QueryScheduledCorksByBlockHeightRequest) XXX_Size() int
func (*QueryScheduledCorksByBlockHeightRequest) XXX_Unmarshal ¶
func (m *QueryScheduledCorksByBlockHeightRequest) XXX_Unmarshal(b []byte) error
type QueryScheduledCorksByBlockHeightResponse ¶
type QueryScheduledCorksByBlockHeightResponse struct {
Corks []*ScheduledCork `protobuf:"bytes,1,rep,name=corks,proto3" json:"corks,omitempty"`
}
QueryScheduledCorksByBlockHeightResponse
func (*QueryScheduledCorksByBlockHeightResponse) Descriptor ¶
func (*QueryScheduledCorksByBlockHeightResponse) Descriptor() ([]byte, []int)
func (*QueryScheduledCorksByBlockHeightResponse) GetCorks ¶
func (m *QueryScheduledCorksByBlockHeightResponse) GetCorks() []*ScheduledCork
func (*QueryScheduledCorksByBlockHeightResponse) Marshal ¶
func (m *QueryScheduledCorksByBlockHeightResponse) Marshal() (dAtA []byte, err error)
func (*QueryScheduledCorksByBlockHeightResponse) MarshalTo ¶
func (m *QueryScheduledCorksByBlockHeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryScheduledCorksByBlockHeightResponse) MarshalToSizedBuffer ¶
func (m *QueryScheduledCorksByBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryScheduledCorksByBlockHeightResponse) ProtoMessage ¶
func (*QueryScheduledCorksByBlockHeightResponse) ProtoMessage()
func (*QueryScheduledCorksByBlockHeightResponse) Reset ¶
func (m *QueryScheduledCorksByBlockHeightResponse) Reset()
func (*QueryScheduledCorksByBlockHeightResponse) Size ¶
func (m *QueryScheduledCorksByBlockHeightResponse) Size() (n int)
func (*QueryScheduledCorksByBlockHeightResponse) String ¶
func (m *QueryScheduledCorksByBlockHeightResponse) String() string
func (*QueryScheduledCorksByBlockHeightResponse) Unmarshal ¶
func (m *QueryScheduledCorksByBlockHeightResponse) Unmarshal(dAtA []byte) error
func (*QueryScheduledCorksByBlockHeightResponse) XXX_DiscardUnknown ¶
func (m *QueryScheduledCorksByBlockHeightResponse) XXX_DiscardUnknown()
func (*QueryScheduledCorksByBlockHeightResponse) XXX_Marshal ¶
func (m *QueryScheduledCorksByBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryScheduledCorksByBlockHeightResponse) XXX_Merge ¶
func (m *QueryScheduledCorksByBlockHeightResponse) XXX_Merge(src proto.Message)
func (*QueryScheduledCorksByBlockHeightResponse) XXX_Size ¶
func (m *QueryScheduledCorksByBlockHeightResponse) XXX_Size() int
func (*QueryScheduledCorksByBlockHeightResponse) XXX_Unmarshal ¶
func (m *QueryScheduledCorksByBlockHeightResponse) XXX_Unmarshal(b []byte) error
type QueryScheduledCorksByIDRequest ¶
type QueryScheduledCorksByIDRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
QueryScheduledCorksByIDRequest
func (*QueryScheduledCorksByIDRequest) Descriptor ¶
func (*QueryScheduledCorksByIDRequest) Descriptor() ([]byte, []int)
func (*QueryScheduledCorksByIDRequest) GetId ¶
func (m *QueryScheduledCorksByIDRequest) GetId() string
func (*QueryScheduledCorksByIDRequest) Marshal ¶
func (m *QueryScheduledCorksByIDRequest) Marshal() (dAtA []byte, err error)
func (*QueryScheduledCorksByIDRequest) MarshalTo ¶
func (m *QueryScheduledCorksByIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryScheduledCorksByIDRequest) MarshalToSizedBuffer ¶
func (m *QueryScheduledCorksByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryScheduledCorksByIDRequest) ProtoMessage ¶
func (*QueryScheduledCorksByIDRequest) ProtoMessage()
func (*QueryScheduledCorksByIDRequest) Reset ¶
func (m *QueryScheduledCorksByIDRequest) Reset()
func (*QueryScheduledCorksByIDRequest) Size ¶
func (m *QueryScheduledCorksByIDRequest) Size() (n int)
func (*QueryScheduledCorksByIDRequest) String ¶
func (m *QueryScheduledCorksByIDRequest) String() string
func (*QueryScheduledCorksByIDRequest) Unmarshal ¶
func (m *QueryScheduledCorksByIDRequest) Unmarshal(dAtA []byte) error
func (*QueryScheduledCorksByIDRequest) XXX_DiscardUnknown ¶
func (m *QueryScheduledCorksByIDRequest) XXX_DiscardUnknown()
func (*QueryScheduledCorksByIDRequest) XXX_Marshal ¶
func (m *QueryScheduledCorksByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryScheduledCorksByIDRequest) XXX_Merge ¶
func (m *QueryScheduledCorksByIDRequest) XXX_Merge(src proto.Message)
func (*QueryScheduledCorksByIDRequest) XXX_Size ¶
func (m *QueryScheduledCorksByIDRequest) XXX_Size() int
func (*QueryScheduledCorksByIDRequest) XXX_Unmarshal ¶
func (m *QueryScheduledCorksByIDRequest) XXX_Unmarshal(b []byte) error
type QueryScheduledCorksByIDResponse ¶
type QueryScheduledCorksByIDResponse struct {
Corks []*ScheduledCork `protobuf:"bytes,1,rep,name=corks,proto3" json:"corks,omitempty"`
}
QueryScheduledCorksByIDResponse
func (*QueryScheduledCorksByIDResponse) Descriptor ¶
func (*QueryScheduledCorksByIDResponse) Descriptor() ([]byte, []int)
func (*QueryScheduledCorksByIDResponse) GetCorks ¶
func (m *QueryScheduledCorksByIDResponse) GetCorks() []*ScheduledCork
func (*QueryScheduledCorksByIDResponse) Marshal ¶
func (m *QueryScheduledCorksByIDResponse) Marshal() (dAtA []byte, err error)
func (*QueryScheduledCorksByIDResponse) MarshalTo ¶
func (m *QueryScheduledCorksByIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryScheduledCorksByIDResponse) MarshalToSizedBuffer ¶
func (m *QueryScheduledCorksByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryScheduledCorksByIDResponse) ProtoMessage ¶
func (*QueryScheduledCorksByIDResponse) ProtoMessage()
func (*QueryScheduledCorksByIDResponse) Reset ¶
func (m *QueryScheduledCorksByIDResponse) Reset()
func (*QueryScheduledCorksByIDResponse) Size ¶
func (m *QueryScheduledCorksByIDResponse) Size() (n int)
func (*QueryScheduledCorksByIDResponse) String ¶
func (m *QueryScheduledCorksByIDResponse) String() string
func (*QueryScheduledCorksByIDResponse) Unmarshal ¶
func (m *QueryScheduledCorksByIDResponse) Unmarshal(dAtA []byte) error
func (*QueryScheduledCorksByIDResponse) XXX_DiscardUnknown ¶
func (m *QueryScheduledCorksByIDResponse) XXX_DiscardUnknown()
func (*QueryScheduledCorksByIDResponse) XXX_Marshal ¶
func (m *QueryScheduledCorksByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryScheduledCorksByIDResponse) XXX_Merge ¶
func (m *QueryScheduledCorksByIDResponse) XXX_Merge(src proto.Message)
func (*QueryScheduledCorksByIDResponse) XXX_Size ¶
func (m *QueryScheduledCorksByIDResponse) XXX_Size() int
func (*QueryScheduledCorksByIDResponse) XXX_Unmarshal ¶
func (m *QueryScheduledCorksByIDResponse) XXX_Unmarshal(b []byte) error
type QueryScheduledCorksRequest ¶
type QueryScheduledCorksRequest struct { }
QueryScheduledCorksRequest
func (*QueryScheduledCorksRequest) Descriptor ¶
func (*QueryScheduledCorksRequest) Descriptor() ([]byte, []int)
func (*QueryScheduledCorksRequest) Marshal ¶
func (m *QueryScheduledCorksRequest) Marshal() (dAtA []byte, err error)
func (*QueryScheduledCorksRequest) MarshalTo ¶
func (m *QueryScheduledCorksRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryScheduledCorksRequest) MarshalToSizedBuffer ¶
func (m *QueryScheduledCorksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryScheduledCorksRequest) ProtoMessage ¶
func (*QueryScheduledCorksRequest) ProtoMessage()
func (*QueryScheduledCorksRequest) Reset ¶
func (m *QueryScheduledCorksRequest) Reset()
func (*QueryScheduledCorksRequest) Size ¶
func (m *QueryScheduledCorksRequest) Size() (n int)
func (*QueryScheduledCorksRequest) String ¶
func (m *QueryScheduledCorksRequest) String() string
func (*QueryScheduledCorksRequest) Unmarshal ¶
func (m *QueryScheduledCorksRequest) Unmarshal(dAtA []byte) error
func (*QueryScheduledCorksRequest) XXX_DiscardUnknown ¶
func (m *QueryScheduledCorksRequest) XXX_DiscardUnknown()
func (*QueryScheduledCorksRequest) XXX_Marshal ¶
func (m *QueryScheduledCorksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryScheduledCorksRequest) XXX_Merge ¶
func (m *QueryScheduledCorksRequest) XXX_Merge(src proto.Message)
func (*QueryScheduledCorksRequest) XXX_Size ¶
func (m *QueryScheduledCorksRequest) XXX_Size() int
func (*QueryScheduledCorksRequest) XXX_Unmarshal ¶
func (m *QueryScheduledCorksRequest) XXX_Unmarshal(b []byte) error
type QueryScheduledCorksResponse ¶
type QueryScheduledCorksResponse struct {
Corks []*ScheduledCork `protobuf:"bytes,1,rep,name=corks,proto3" json:"corks,omitempty"`
}
QueryScheduledCorksResponse
func (*QueryScheduledCorksResponse) Descriptor ¶
func (*QueryScheduledCorksResponse) Descriptor() ([]byte, []int)
func (*QueryScheduledCorksResponse) GetCorks ¶
func (m *QueryScheduledCorksResponse) GetCorks() []*ScheduledCork
func (*QueryScheduledCorksResponse) Marshal ¶
func (m *QueryScheduledCorksResponse) Marshal() (dAtA []byte, err error)
func (*QueryScheduledCorksResponse) MarshalTo ¶
func (m *QueryScheduledCorksResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryScheduledCorksResponse) MarshalToSizedBuffer ¶
func (m *QueryScheduledCorksResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryScheduledCorksResponse) ProtoMessage ¶
func (*QueryScheduledCorksResponse) ProtoMessage()
func (*QueryScheduledCorksResponse) Reset ¶
func (m *QueryScheduledCorksResponse) Reset()
func (*QueryScheduledCorksResponse) Size ¶
func (m *QueryScheduledCorksResponse) Size() (n int)
func (*QueryScheduledCorksResponse) String ¶
func (m *QueryScheduledCorksResponse) String() string
func (*QueryScheduledCorksResponse) Unmarshal ¶
func (m *QueryScheduledCorksResponse) Unmarshal(dAtA []byte) error
func (*QueryScheduledCorksResponse) XXX_DiscardUnknown ¶
func (m *QueryScheduledCorksResponse) XXX_DiscardUnknown()
func (*QueryScheduledCorksResponse) XXX_Marshal ¶
func (m *QueryScheduledCorksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryScheduledCorksResponse) XXX_Merge ¶
func (m *QueryScheduledCorksResponse) XXX_Merge(src proto.Message)
func (*QueryScheduledCorksResponse) XXX_Size ¶
func (m *QueryScheduledCorksResponse) XXX_Size() int
func (*QueryScheduledCorksResponse) XXX_Unmarshal ¶
func (m *QueryScheduledCorksResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // QueryParams queries the allocation module parameters. QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // QueryCellarIDs returns all cellars and current tick ranges QueryCellarIDs(context.Context, *QueryCellarIDsRequest) (*QueryCellarIDsResponse, error) // QueryScheduledCorks returns all scheduled corks QueryScheduledCorks(context.Context, *QueryScheduledCorksRequest) (*QueryScheduledCorksResponse, error) // QueryScheduledBlockHeights returns all scheduled block heights QueryScheduledBlockHeights(context.Context, *QueryScheduledBlockHeightsRequest) (*QueryScheduledBlockHeightsResponse, error) // QueryScheduledCorks returns all scheduled corks at a block height QueryScheduledCorksByBlockHeight(context.Context, *QueryScheduledCorksByBlockHeightRequest) (*QueryScheduledCorksByBlockHeightResponse, error) // QueryScheduledCorks returns all scheduled corks with the specified ID QueryScheduledCorksByID(context.Context, *QueryScheduledCorksByIDRequest) (*QueryScheduledCorksByIDResponse, error) QueryCorkResult(context.Context, *QueryCorkResultRequest) (*QueryCorkResultResponse, error) QueryCorkResults(context.Context, *QueryCorkResultsRequest) (*QueryCorkResultsResponse, error) }
QueryServer is the server API for Query service.
type RemoveManagedCellarIDsProposal ¶
type RemoveManagedCellarIDsProposal 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"` CellarIds *CellarIDSet `protobuf:"bytes,3,opt,name=cellar_ids,json=cellarIds,proto3" json:"cellar_ids,omitempty"` }
func NewRemoveManagedCellarIDsProposal ¶
func NewRemoveManagedCellarIDsProposal(title string, description string, cellarIds *CellarIDSet) *RemoveManagedCellarIDsProposal
func (*RemoveManagedCellarIDsProposal) Descriptor ¶
func (*RemoveManagedCellarIDsProposal) Descriptor() ([]byte, []int)
func (*RemoveManagedCellarIDsProposal) GetCellarIds ¶
func (m *RemoveManagedCellarIDsProposal) GetCellarIds() *CellarIDSet
func (*RemoveManagedCellarIDsProposal) GetDescription ¶
func (m *RemoveManagedCellarIDsProposal) GetDescription() string
func (*RemoveManagedCellarIDsProposal) GetTitle ¶
func (m *RemoveManagedCellarIDsProposal) GetTitle() string
func (*RemoveManagedCellarIDsProposal) Marshal ¶
func (m *RemoveManagedCellarIDsProposal) Marshal() (dAtA []byte, err error)
func (*RemoveManagedCellarIDsProposal) MarshalTo ¶
func (m *RemoveManagedCellarIDsProposal) MarshalTo(dAtA []byte) (int, error)
func (*RemoveManagedCellarIDsProposal) MarshalToSizedBuffer ¶
func (m *RemoveManagedCellarIDsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveManagedCellarIDsProposal) ProposalRoute ¶
func (m *RemoveManagedCellarIDsProposal) ProposalRoute() string
func (*RemoveManagedCellarIDsProposal) ProposalType ¶
func (m *RemoveManagedCellarIDsProposal) ProposalType() string
func (*RemoveManagedCellarIDsProposal) ProtoMessage ¶
func (*RemoveManagedCellarIDsProposal) ProtoMessage()
func (*RemoveManagedCellarIDsProposal) Reset ¶
func (m *RemoveManagedCellarIDsProposal) Reset()
func (*RemoveManagedCellarIDsProposal) Size ¶
func (m *RemoveManagedCellarIDsProposal) Size() (n int)
func (*RemoveManagedCellarIDsProposal) String ¶
func (m *RemoveManagedCellarIDsProposal) String() string
func (*RemoveManagedCellarIDsProposal) Unmarshal ¶
func (m *RemoveManagedCellarIDsProposal) Unmarshal(dAtA []byte) error
func (*RemoveManagedCellarIDsProposal) ValidateBasic ¶
func (m *RemoveManagedCellarIDsProposal) ValidateBasic() error
func (*RemoveManagedCellarIDsProposal) XXX_DiscardUnknown ¶
func (m *RemoveManagedCellarIDsProposal) XXX_DiscardUnknown()
func (*RemoveManagedCellarIDsProposal) XXX_Marshal ¶
func (m *RemoveManagedCellarIDsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveManagedCellarIDsProposal) XXX_Merge ¶
func (m *RemoveManagedCellarIDsProposal) XXX_Merge(src proto.Message)
func (*RemoveManagedCellarIDsProposal) XXX_Size ¶
func (m *RemoveManagedCellarIDsProposal) XXX_Size() int
func (*RemoveManagedCellarIDsProposal) XXX_Unmarshal ¶
func (m *RemoveManagedCellarIDsProposal) XXX_Unmarshal(b []byte) error
type RemoveManagedCellarIDsProposalWithDeposit ¶
type RemoveManagedCellarIDsProposalWithDeposit 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"` CellarIds []string `protobuf:"bytes,3,rep,name=cellar_ids,json=cellarIds,proto3" json:"cellar_ids,omitempty"` Deposit string `protobuf:"bytes,4,opt,name=deposit,proto3" json:"deposit,omitempty"` }
RemoveManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands
func (*RemoveManagedCellarIDsProposalWithDeposit) Descriptor ¶
func (*RemoveManagedCellarIDsProposalWithDeposit) Descriptor() ([]byte, []int)
func (*RemoveManagedCellarIDsProposalWithDeposit) GetCellarIds ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) GetCellarIds() []string
func (*RemoveManagedCellarIDsProposalWithDeposit) GetDeposit ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) GetDeposit() string
func (*RemoveManagedCellarIDsProposalWithDeposit) GetDescription ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) GetDescription() string
func (*RemoveManagedCellarIDsProposalWithDeposit) GetTitle ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) GetTitle() string
func (*RemoveManagedCellarIDsProposalWithDeposit) Marshal ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) Marshal() (dAtA []byte, err error)
func (*RemoveManagedCellarIDsProposalWithDeposit) MarshalTo ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
func (*RemoveManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveManagedCellarIDsProposalWithDeposit) ProtoMessage ¶
func (*RemoveManagedCellarIDsProposalWithDeposit) ProtoMessage()
func (*RemoveManagedCellarIDsProposalWithDeposit) Reset ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) Reset()
func (*RemoveManagedCellarIDsProposalWithDeposit) Size ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) Size() (n int)
func (*RemoveManagedCellarIDsProposalWithDeposit) String ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) String() string
func (*RemoveManagedCellarIDsProposalWithDeposit) Unmarshal ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) Unmarshal(dAtA []byte) error
func (*RemoveManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_DiscardUnknown()
func (*RemoveManagedCellarIDsProposalWithDeposit) XXX_Marshal ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveManagedCellarIDsProposalWithDeposit) XXX_Merge ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Merge(src proto.Message)
func (*RemoveManagedCellarIDsProposalWithDeposit) XXX_Size ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Size() int
func (*RemoveManagedCellarIDsProposalWithDeposit) XXX_Unmarshal ¶
func (m *RemoveManagedCellarIDsProposalWithDeposit) XXX_Unmarshal(b []byte) error
type ScheduledCork ¶
type ScheduledCork struct { Cork *Cork `protobuf:"bytes,1,opt,name=cork,proto3" json:"cork,omitempty"` BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Validator string `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"` Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` }
func (*ScheduledCork) Descriptor ¶
func (*ScheduledCork) Descriptor() ([]byte, []int)
func (*ScheduledCork) GetBlockHeight ¶
func (m *ScheduledCork) GetBlockHeight() uint64
func (*ScheduledCork) GetCork ¶
func (m *ScheduledCork) GetCork() *Cork
func (*ScheduledCork) GetId ¶
func (m *ScheduledCork) GetId() []byte
func (*ScheduledCork) GetValidator ¶
func (m *ScheduledCork) GetValidator() string
func (*ScheduledCork) Marshal ¶
func (m *ScheduledCork) Marshal() (dAtA []byte, err error)
func (*ScheduledCork) MarshalToSizedBuffer ¶
func (m *ScheduledCork) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScheduledCork) ProtoMessage ¶
func (*ScheduledCork) ProtoMessage()
func (*ScheduledCork) Reset ¶
func (m *ScheduledCork) Reset()
func (*ScheduledCork) Size ¶
func (m *ScheduledCork) Size() (n int)
func (*ScheduledCork) String ¶
func (m *ScheduledCork) String() string
func (*ScheduledCork) Unmarshal ¶
func (m *ScheduledCork) Unmarshal(dAtA []byte) error
func (*ScheduledCork) ValidateBasic ¶
func (s *ScheduledCork) ValidateBasic() error
func (*ScheduledCork) XXX_DiscardUnknown ¶
func (m *ScheduledCork) XXX_DiscardUnknown()
func (*ScheduledCork) XXX_Marshal ¶
func (m *ScheduledCork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScheduledCork) XXX_Merge ¶
func (m *ScheduledCork) XXX_Merge(src proto.Message)
func (*ScheduledCork) XXX_Size ¶
func (m *ScheduledCork) XXX_Size() int
func (*ScheduledCork) XXX_Unmarshal ¶
func (m *ScheduledCork) XXX_Unmarshal(b []byte) error
type ScheduledCorkProposal ¶
type ScheduledCorkProposal 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"` BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` TargetContractAddress string `` /* 126-byte string literal not displayed */ // // The JSON representation of a ScheduleRequest defined in the Steward protos // // Example: The following is the JSON form of a ScheduleRequest containing a steward.v2.cellar_v1.TrustPosition // message, which maps to the `trustPosition(address)` function of the the V1 Cellar contract. // // { // "cellar_id": "0x1234567890000000000000000000000000000000", // "cellar_v1": { // "trust_position": { // "erc20_address": "0x1234567890000000000000000000000000000000" // } // }, // "block_height": 1000000 // } // // You can use the Steward CLI to generate the required JSON rather than constructing it by hand https://github.com/peggyjv/steward ContractCallProtoJson string `` /* 128-byte string literal not displayed */ }
func (*ScheduledCorkProposal) Descriptor ¶
func (*ScheduledCorkProposal) Descriptor() ([]byte, []int)
func (*ScheduledCorkProposal) GetBlockHeight ¶
func (m *ScheduledCorkProposal) GetBlockHeight() uint64
func (*ScheduledCorkProposal) GetContractCallProtoJson ¶
func (m *ScheduledCorkProposal) GetContractCallProtoJson() string
func (*ScheduledCorkProposal) GetDescription ¶
func (m *ScheduledCorkProposal) GetDescription() string
func (*ScheduledCorkProposal) GetTargetContractAddress ¶
func (m *ScheduledCorkProposal) GetTargetContractAddress() string
func (*ScheduledCorkProposal) GetTitle ¶
func (m *ScheduledCorkProposal) GetTitle() string
func (*ScheduledCorkProposal) Marshal ¶
func (m *ScheduledCorkProposal) Marshal() (dAtA []byte, err error)
func (*ScheduledCorkProposal) MarshalTo ¶
func (m *ScheduledCorkProposal) MarshalTo(dAtA []byte) (int, error)
func (*ScheduledCorkProposal) MarshalToSizedBuffer ¶
func (m *ScheduledCorkProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScheduledCorkProposal) ProposalRoute ¶
func (m *ScheduledCorkProposal) ProposalRoute() string
func (*ScheduledCorkProposal) ProposalType ¶
func (m *ScheduledCorkProposal) ProposalType() string
func (*ScheduledCorkProposal) ProtoMessage ¶
func (*ScheduledCorkProposal) ProtoMessage()
func (*ScheduledCorkProposal) Reset ¶
func (m *ScheduledCorkProposal) Reset()
func (*ScheduledCorkProposal) Size ¶
func (m *ScheduledCorkProposal) Size() (n int)
func (*ScheduledCorkProposal) String ¶
func (m *ScheduledCorkProposal) String() string
func (*ScheduledCorkProposal) Unmarshal ¶
func (m *ScheduledCorkProposal) Unmarshal(dAtA []byte) error
func (*ScheduledCorkProposal) ValidateBasic ¶
func (m *ScheduledCorkProposal) ValidateBasic() error
func (*ScheduledCorkProposal) XXX_DiscardUnknown ¶
func (m *ScheduledCorkProposal) XXX_DiscardUnknown()
func (*ScheduledCorkProposal) XXX_Marshal ¶
func (m *ScheduledCorkProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScheduledCorkProposal) XXX_Merge ¶
func (m *ScheduledCorkProposal) XXX_Merge(src proto.Message)
func (*ScheduledCorkProposal) XXX_Size ¶
func (m *ScheduledCorkProposal) XXX_Size() int
func (*ScheduledCorkProposal) XXX_Unmarshal ¶
func (m *ScheduledCorkProposal) XXX_Unmarshal(b []byte) error
type ScheduledCorkProposalWithDeposit ¶
type ScheduledCorkProposalWithDeposit 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"` BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` TargetContractAddress string `` /* 126-byte string literal not displayed */ ContractCallProtoJson string `` /* 128-byte string literal not displayed */ Deposit string `protobuf:"bytes,6,opt,name=deposit,proto3" json:"deposit,omitempty"` }
ScheduledCorkProposalWithDeposit is a specific definition for CLI commands
func (*ScheduledCorkProposalWithDeposit) Descriptor ¶
func (*ScheduledCorkProposalWithDeposit) Descriptor() ([]byte, []int)
func (*ScheduledCorkProposalWithDeposit) GetBlockHeight ¶
func (m *ScheduledCorkProposalWithDeposit) GetBlockHeight() uint64
func (*ScheduledCorkProposalWithDeposit) GetContractCallProtoJson ¶
func (m *ScheduledCorkProposalWithDeposit) GetContractCallProtoJson() string
func (*ScheduledCorkProposalWithDeposit) GetDeposit ¶
func (m *ScheduledCorkProposalWithDeposit) GetDeposit() string
func (*ScheduledCorkProposalWithDeposit) GetDescription ¶
func (m *ScheduledCorkProposalWithDeposit) GetDescription() string
func (*ScheduledCorkProposalWithDeposit) GetTargetContractAddress ¶
func (m *ScheduledCorkProposalWithDeposit) GetTargetContractAddress() string
func (*ScheduledCorkProposalWithDeposit) GetTitle ¶
func (m *ScheduledCorkProposalWithDeposit) GetTitle() string
func (*ScheduledCorkProposalWithDeposit) Marshal ¶
func (m *ScheduledCorkProposalWithDeposit) Marshal() (dAtA []byte, err error)
func (*ScheduledCorkProposalWithDeposit) MarshalTo ¶
func (m *ScheduledCorkProposalWithDeposit) MarshalTo(dAtA []byte) (int, error)
func (*ScheduledCorkProposalWithDeposit) MarshalToSizedBuffer ¶
func (m *ScheduledCorkProposalWithDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScheduledCorkProposalWithDeposit) ProtoMessage ¶
func (*ScheduledCorkProposalWithDeposit) ProtoMessage()
func (*ScheduledCorkProposalWithDeposit) Reset ¶
func (m *ScheduledCorkProposalWithDeposit) Reset()
func (*ScheduledCorkProposalWithDeposit) Size ¶
func (m *ScheduledCorkProposalWithDeposit) Size() (n int)
func (*ScheduledCorkProposalWithDeposit) String ¶
func (m *ScheduledCorkProposalWithDeposit) String() string
func (*ScheduledCorkProposalWithDeposit) Unmarshal ¶
func (m *ScheduledCorkProposalWithDeposit) Unmarshal(dAtA []byte) error
func (*ScheduledCorkProposalWithDeposit) XXX_DiscardUnknown ¶
func (m *ScheduledCorkProposalWithDeposit) XXX_DiscardUnknown()
func (*ScheduledCorkProposalWithDeposit) XXX_Marshal ¶
func (m *ScheduledCorkProposalWithDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScheduledCorkProposalWithDeposit) XXX_Merge ¶
func (m *ScheduledCorkProposalWithDeposit) XXX_Merge(src proto.Message)
func (*ScheduledCorkProposalWithDeposit) XXX_Size ¶
func (m *ScheduledCorkProposalWithDeposit) XXX_Size() int
func (*ScheduledCorkProposalWithDeposit) XXX_Unmarshal ¶
func (m *ScheduledCorkProposalWithDeposit) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ScheduleCork ¶
func (*UnimplementedMsgServer) ScheduleCork(ctx context.Context, req *MsgScheduleCorkRequest) (*MsgScheduleCorkResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) QueryCellarIDs ¶
func (*UnimplementedQueryServer) QueryCellarIDs(ctx context.Context, req *QueryCellarIDsRequest) (*QueryCellarIDsResponse, error)
func (*UnimplementedQueryServer) QueryCorkResult ¶
func (*UnimplementedQueryServer) QueryCorkResult(ctx context.Context, req *QueryCorkResultRequest) (*QueryCorkResultResponse, error)
func (*UnimplementedQueryServer) QueryCorkResults ¶
func (*UnimplementedQueryServer) QueryCorkResults(ctx context.Context, req *QueryCorkResultsRequest) (*QueryCorkResultsResponse, error)
func (*UnimplementedQueryServer) QueryParams ¶
func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QueryScheduledBlockHeights ¶
func (*UnimplementedQueryServer) QueryScheduledBlockHeights(ctx context.Context, req *QueryScheduledBlockHeightsRequest) (*QueryScheduledBlockHeightsResponse, error)
func (*UnimplementedQueryServer) QueryScheduledCorks ¶
func (*UnimplementedQueryServer) QueryScheduledCorks(ctx context.Context, req *QueryScheduledCorksRequest) (*QueryScheduledCorksResponse, error)
func (*UnimplementedQueryServer) QueryScheduledCorksByBlockHeight ¶
func (*UnimplementedQueryServer) QueryScheduledCorksByBlockHeight(ctx context.Context, req *QueryScheduledCorksByBlockHeightRequest) (*QueryScheduledCorksByBlockHeightResponse, error)
func (*UnimplementedQueryServer) QueryScheduledCorksByID ¶
func (*UnimplementedQueryServer) QueryScheduledCorksByID(ctx context.Context, req *QueryScheduledCorksByIDRequest) (*QueryScheduledCorksByIDResponse, error)