Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetSupplierList() []*shared.Supplier
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgStakeSupplier
- func (*MsgStakeSupplier) Descriptor() ([]byte, []int)deprecated
- func (x *MsgStakeSupplier) GetAddress() string
- func (x *MsgStakeSupplier) GetServices() []*shared.SupplierServiceConfig
- func (x *MsgStakeSupplier) GetStake() *v1beta1.Coin
- func (*MsgStakeSupplier) ProtoMessage()
- func (x *MsgStakeSupplier) ProtoReflect() protoreflect.Message
- func (x *MsgStakeSupplier) Reset()
- func (x *MsgStakeSupplier) String() string
- type MsgStakeSupplierResponse
- type MsgUnstakeSupplier
- func (*MsgUnstakeSupplier) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUnstakeSupplier) GetAddress() string
- func (*MsgUnstakeSupplier) ProtoMessage()
- func (x *MsgUnstakeSupplier) ProtoReflect() protoreflect.Message
- func (x *MsgUnstakeSupplier) Reset()
- func (x *MsgUnstakeSupplier) String() string
- type MsgUnstakeSupplierResponse
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- type QueryAllSuppliersRequest
- func (*QueryAllSuppliersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllSuppliersRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAllSuppliersRequest) ProtoMessage()
- func (x *QueryAllSuppliersRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAllSuppliersRequest) Reset()
- func (x *QueryAllSuppliersRequest) String() string
- type QueryAllSuppliersResponse
- func (*QueryAllSuppliersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAllSuppliersResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryAllSuppliersResponse) GetSupplier() []*shared.Supplier
- func (*QueryAllSuppliersResponse) ProtoMessage()
- func (x *QueryAllSuppliersResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAllSuppliersResponse) Reset()
- func (x *QueryAllSuppliersResponse) String() string
- type QueryGetSupplierRequest
- func (*QueryGetSupplierRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetSupplierRequest) GetAddress() string
- func (*QueryGetSupplierRequest) ProtoMessage()
- func (x *QueryGetSupplierRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGetSupplierRequest) Reset()
- func (x *QueryGetSupplierRequest) String() string
- type QueryGetSupplierResponse
- func (*QueryGetSupplierResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGetSupplierResponse) GetSupplier() *shared.Supplier
- func (*QueryGetSupplierResponse) ProtoMessage()
- func (x *QueryGetSupplierResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGetSupplierResponse) Reset()
- func (x *QueryGetSupplierResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_poktroll_supplier_genesis_proto protoreflect.FileDescriptor
var File_poktroll_supplier_params_proto protoreflect.FileDescriptor
var File_poktroll_supplier_query_proto protoreflect.FileDescriptor
var File_poktroll_supplier_tx_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` SupplierList []*shared.Supplier `protobuf:"bytes,2,rep,name=supplierList,proto3" json:"supplierList,omitempty"` // contains filtered or unexported fields }
GenesisState defines the supplier module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetSupplierList ¶
func (x *GenesisState) GetSupplierList() []*shared.Supplier
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MsgStakeSupplier ¶
type MsgStakeSupplier struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The Bech32 address of the supplier using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding Stake *v1beta1.Coin `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` // The total amount of uPOKT the supplier has staked. Must be ≥ to the current amount that the supplier has staked (if any) Services []*shared.SupplierServiceConfig `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` // The list of services this supplier is staked to provide service for // contains filtered or unexported fields }
func (*MsgStakeSupplier) Descriptor
deprecated
func (*MsgStakeSupplier) Descriptor() ([]byte, []int)
Deprecated: Use MsgStakeSupplier.ProtoReflect.Descriptor instead.
func (*MsgStakeSupplier) GetAddress ¶
func (x *MsgStakeSupplier) GetAddress() string
func (*MsgStakeSupplier) GetServices ¶
func (x *MsgStakeSupplier) GetServices() []*shared.SupplierServiceConfig
func (*MsgStakeSupplier) GetStake ¶
func (x *MsgStakeSupplier) GetStake() *v1beta1.Coin
func (*MsgStakeSupplier) ProtoMessage ¶
func (*MsgStakeSupplier) ProtoMessage()
func (*MsgStakeSupplier) ProtoReflect ¶
func (x *MsgStakeSupplier) ProtoReflect() protoreflect.Message
func (*MsgStakeSupplier) Reset ¶
func (x *MsgStakeSupplier) Reset()
func (*MsgStakeSupplier) String ¶
func (x *MsgStakeSupplier) String() string
type MsgStakeSupplierResponse ¶
type MsgStakeSupplierResponse struct {
// contains filtered or unexported fields
}
func (*MsgStakeSupplierResponse) Descriptor
deprecated
func (*MsgStakeSupplierResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgStakeSupplierResponse.ProtoReflect.Descriptor instead.
func (*MsgStakeSupplierResponse) ProtoMessage ¶
func (*MsgStakeSupplierResponse) ProtoMessage()
func (*MsgStakeSupplierResponse) ProtoReflect ¶
func (x *MsgStakeSupplierResponse) ProtoReflect() protoreflect.Message
func (*MsgStakeSupplierResponse) Reset ¶
func (x *MsgStakeSupplierResponse) Reset()
func (*MsgStakeSupplierResponse) String ¶
func (x *MsgStakeSupplierResponse) String() string
type MsgUnstakeSupplier ¶
type MsgUnstakeSupplier struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The Bech32 address of the supplier using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding // contains filtered or unexported fields }
func (*MsgUnstakeSupplier) Descriptor
deprecated
func (*MsgUnstakeSupplier) Descriptor() ([]byte, []int)
Deprecated: Use MsgUnstakeSupplier.ProtoReflect.Descriptor instead.
func (*MsgUnstakeSupplier) GetAddress ¶
func (x *MsgUnstakeSupplier) GetAddress() string
func (*MsgUnstakeSupplier) ProtoMessage ¶
func (*MsgUnstakeSupplier) ProtoMessage()
func (*MsgUnstakeSupplier) ProtoReflect ¶
func (x *MsgUnstakeSupplier) ProtoReflect() protoreflect.Message
func (*MsgUnstakeSupplier) Reset ¶
func (x *MsgUnstakeSupplier) Reset()
func (*MsgUnstakeSupplier) String ¶
func (x *MsgUnstakeSupplier) String() string
type MsgUnstakeSupplierResponse ¶
type MsgUnstakeSupplierResponse struct {
// contains filtered or unexported fields
}
func (*MsgUnstakeSupplierResponse) Descriptor
deprecated
func (*MsgUnstakeSupplierResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUnstakeSupplierResponse.ProtoReflect.Descriptor instead.
func (*MsgUnstakeSupplierResponse) ProtoMessage ¶
func (*MsgUnstakeSupplierResponse) ProtoMessage()
func (*MsgUnstakeSupplierResponse) ProtoReflect ¶
func (x *MsgUnstakeSupplierResponse) ProtoReflect() protoreflect.Message
func (*MsgUnstakeSupplierResponse) Reset ¶
func (x *MsgUnstakeSupplierResponse) Reset()
func (*MsgUnstakeSupplierResponse) String ¶
func (x *MsgUnstakeSupplierResponse) String() string
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/supplier parameters to update. // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct {
// contains filtered or unexported fields
}
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAllSuppliersRequest ¶
type QueryAllSuppliersRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllSuppliersRequest) Descriptor
deprecated
func (*QueryAllSuppliersRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllSuppliersRequest.ProtoReflect.Descriptor instead.
func (*QueryAllSuppliersRequest) GetPagination ¶
func (x *QueryAllSuppliersRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAllSuppliersRequest) ProtoMessage ¶
func (*QueryAllSuppliersRequest) ProtoMessage()
func (*QueryAllSuppliersRequest) ProtoReflect ¶
func (x *QueryAllSuppliersRequest) ProtoReflect() protoreflect.Message
func (*QueryAllSuppliersRequest) Reset ¶
func (x *QueryAllSuppliersRequest) Reset()
func (*QueryAllSuppliersRequest) String ¶
func (x *QueryAllSuppliersRequest) String() string
type QueryAllSuppliersResponse ¶
type QueryAllSuppliersResponse struct { Supplier []*shared.Supplier `protobuf:"bytes,1,rep,name=supplier,proto3" json:"supplier,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*QueryAllSuppliersResponse) Descriptor
deprecated
func (*QueryAllSuppliersResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAllSuppliersResponse.ProtoReflect.Descriptor instead.
func (*QueryAllSuppliersResponse) GetPagination ¶
func (x *QueryAllSuppliersResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAllSuppliersResponse) GetSupplier ¶
func (x *QueryAllSuppliersResponse) GetSupplier() []*shared.Supplier
func (*QueryAllSuppliersResponse) ProtoMessage ¶
func (*QueryAllSuppliersResponse) ProtoMessage()
func (*QueryAllSuppliersResponse) ProtoReflect ¶
func (x *QueryAllSuppliersResponse) ProtoReflect() protoreflect.Message
func (*QueryAllSuppliersResponse) Reset ¶
func (x *QueryAllSuppliersResponse) Reset()
func (*QueryAllSuppliersResponse) String ¶
func (x *QueryAllSuppliersResponse) String() string
type QueryGetSupplierRequest ¶
type QueryGetSupplierRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*QueryGetSupplierRequest) Descriptor
deprecated
func (*QueryGetSupplierRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetSupplierRequest.ProtoReflect.Descriptor instead.
func (*QueryGetSupplierRequest) GetAddress ¶
func (x *QueryGetSupplierRequest) GetAddress() string
func (*QueryGetSupplierRequest) ProtoMessage ¶
func (*QueryGetSupplierRequest) ProtoMessage()
func (*QueryGetSupplierRequest) ProtoReflect ¶
func (x *QueryGetSupplierRequest) ProtoReflect() protoreflect.Message
func (*QueryGetSupplierRequest) Reset ¶
func (x *QueryGetSupplierRequest) Reset()
func (*QueryGetSupplierRequest) String ¶
func (x *QueryGetSupplierRequest) String() string
type QueryGetSupplierResponse ¶
type QueryGetSupplierResponse struct { Supplier *shared.Supplier `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"` // contains filtered or unexported fields }
func (*QueryGetSupplierResponse) Descriptor
deprecated
func (*QueryGetSupplierResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGetSupplierResponse.ProtoReflect.Descriptor instead.
func (*QueryGetSupplierResponse) GetSupplier ¶
func (x *QueryGetSupplierResponse) GetSupplier() *shared.Supplier
func (*QueryGetSupplierResponse) ProtoMessage ¶
func (*QueryGetSupplierResponse) ProtoMessage()
func (*QueryGetSupplierResponse) ProtoReflect ¶
func (x *QueryGetSupplierResponse) ProtoReflect() protoreflect.Message
func (*QueryGetSupplierResponse) Reset ¶
func (x *QueryGetSupplierResponse) Reset()
func (*QueryGetSupplierResponse) String ¶
func (x *QueryGetSupplierResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string