supplier

package
v0.1.21-dev2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 16 Imported by: 0

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.

DO NOT DELETE this file. It is intentionally added and kept empty to ensure an empty package exists and can be referenced to prevent the ignite CLI from throwing errors during proto generation.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	SupplierUnbondingReason_name = map[int32]string{
		0: "SUPPLIER_UNBONDING_REASON_UNSPECIFIED",
		1: "SUPPLIER_UNBONDING_REASON_VOLUNTARY",
		2: "SUPPLIER_UNBONDING_REASON_BELOW_MIN_STAKE",
		3: "SUPPLIER_UNBONDING_REASON_MIGRATION",
	}
	SupplierUnbondingReason_value = map[string]int32{
		"SUPPLIER_UNBONDING_REASON_UNSPECIFIED":     0,
		"SUPPLIER_UNBONDING_REASON_VOLUNTARY":       1,
		"SUPPLIER_UNBONDING_REASON_BELOW_MIN_STAKE": 2,
		"SUPPLIER_UNBONDING_REASON_MIGRATION":       3,
	}
)

Enum value maps for SupplierUnbondingReason.

View Source
var File_pocket_supplier_event_proto protoreflect.FileDescriptor
View Source
var File_pocket_supplier_genesis_proto protoreflect.FileDescriptor
View Source
var File_pocket_supplier_params_proto protoreflect.FileDescriptor
View Source
var File_pocket_supplier_query_proto protoreflect.FileDescriptor
View Source
var File_pocket_supplier_tx_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EventSupplierServiceConfigActivated

type EventSupplierServiceConfigActivated struct {

	// supplier contains the complete updated supplier information including the
	// active service configurations in supplier.Services.
	Supplier *shared.Supplier `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// activation_height indicates the block height at which the new service
	// configurations became active.
	ActivationHeight int64 `protobuf:"varint,2,opt,name=activation_height,json=activationHeight,proto3" json:"activation_height,omitempty"`
	// contains filtered or unexported fields
}

EventSupplierServiceConfigActivated is emitted when a supplier service configuration becomes effective at a specific block height.

func (*EventSupplierServiceConfigActivated) Descriptor deprecated

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

Deprecated: Use EventSupplierServiceConfigActivated.ProtoReflect.Descriptor instead.

func (*EventSupplierServiceConfigActivated) GetActivationHeight

func (x *EventSupplierServiceConfigActivated) GetActivationHeight() int64

func (*EventSupplierServiceConfigActivated) GetSupplier

func (*EventSupplierServiceConfigActivated) ProtoMessage

func (*EventSupplierServiceConfigActivated) ProtoMessage()

func (*EventSupplierServiceConfigActivated) ProtoReflect

func (*EventSupplierServiceConfigActivated) Reset

func (*EventSupplierServiceConfigActivated) String

type EventSupplierStaked

type EventSupplierStaked struct {
	Supplier *shared.Supplier `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// The session end height of the last session in which the supplier was staked.
	SessionEndHeight int64 `protobuf:"varint,2,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// contains filtered or unexported fields
}

EventSupplierStaked is emitted when a supplier stake message is committed onchain.

func (*EventSupplierStaked) Descriptor deprecated

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

Deprecated: Use EventSupplierStaked.ProtoReflect.Descriptor instead.

func (*EventSupplierStaked) GetSessionEndHeight

func (x *EventSupplierStaked) GetSessionEndHeight() int64

func (*EventSupplierStaked) GetSupplier

func (x *EventSupplierStaked) GetSupplier() *shared.Supplier

func (*EventSupplierStaked) ProtoMessage

func (*EventSupplierStaked) ProtoMessage()

func (*EventSupplierStaked) ProtoReflect

func (x *EventSupplierStaked) ProtoReflect() protoreflect.Message

func (*EventSupplierStaked) Reset

func (x *EventSupplierStaked) Reset()

func (*EventSupplierStaked) String

func (x *EventSupplierStaked) String() string

type EventSupplierUnbondingBegin

type EventSupplierUnbondingBegin struct {
	Supplier *shared.Supplier        `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"`
	Reason   SupplierUnbondingReason `protobuf:"varint,2,opt,name=reason,proto3,enum=pocket.supplier.SupplierUnbondingReason" json:"reason,omitempty"`
	// The session end height of the last session in which the supplier unbonding began.
	SessionEndHeight int64 `protobuf:"varint,3,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The height at which supplier unbonding will end.
	UnbondingEndHeight int64 `protobuf:"varint,4,opt,name=unbonding_end_height,json=unbondingEndHeight,proto3" json:"unbonding_end_height,omitempty"`
	// contains filtered or unexported fields
}

EventSupplierUnbondingBegin is emitted when an application unstake message is committed onchain, indicating that the supplier will now begin unbonding.

func (*EventSupplierUnbondingBegin) Descriptor deprecated

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

Deprecated: Use EventSupplierUnbondingBegin.ProtoReflect.Descriptor instead.

func (*EventSupplierUnbondingBegin) GetReason

func (*EventSupplierUnbondingBegin) GetSessionEndHeight

func (x *EventSupplierUnbondingBegin) GetSessionEndHeight() int64

func (*EventSupplierUnbondingBegin) GetSupplier

func (x *EventSupplierUnbondingBegin) GetSupplier() *shared.Supplier

func (*EventSupplierUnbondingBegin) GetUnbondingEndHeight

func (x *EventSupplierUnbondingBegin) GetUnbondingEndHeight() int64

func (*EventSupplierUnbondingBegin) ProtoMessage

func (*EventSupplierUnbondingBegin) ProtoMessage()

func (*EventSupplierUnbondingBegin) ProtoReflect

func (*EventSupplierUnbondingBegin) Reset

func (x *EventSupplierUnbondingBegin) Reset()

func (*EventSupplierUnbondingBegin) String

func (x *EventSupplierUnbondingBegin) String() string

type EventSupplierUnbondingCanceled

type EventSupplierUnbondingCanceled struct {
	Supplier *shared.Supplier `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// The exact height at which the supplier unbonding was canceled.
	Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// The session end height of the session in which the supplier unbonding was canceled.
	SessionEndHeight int64 `protobuf:"varint,2,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// contains filtered or unexported fields
}

EventSupplierUnbondingCanceled is emitted when an supplier which was unbonding successfully (re-)stakes before the unbonding period has elapsed. An EventSupplierStaked event will also be emitted immediately after this event.

func (*EventSupplierUnbondingCanceled) Descriptor deprecated

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

Deprecated: Use EventSupplierUnbondingCanceled.ProtoReflect.Descriptor instead.

func (*EventSupplierUnbondingCanceled) GetHeight

func (x *EventSupplierUnbondingCanceled) GetHeight() int64

func (*EventSupplierUnbondingCanceled) GetSessionEndHeight

func (x *EventSupplierUnbondingCanceled) GetSessionEndHeight() int64

func (*EventSupplierUnbondingCanceled) GetSupplier

func (*EventSupplierUnbondingCanceled) ProtoMessage

func (*EventSupplierUnbondingCanceled) ProtoMessage()

func (*EventSupplierUnbondingCanceled) ProtoReflect

func (*EventSupplierUnbondingCanceled) Reset

func (x *EventSupplierUnbondingCanceled) Reset()

func (*EventSupplierUnbondingCanceled) String

type EventSupplierUnbondingEnd

type EventSupplierUnbondingEnd struct {
	Supplier *shared.Supplier        `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"`
	Reason   SupplierUnbondingReason `protobuf:"varint,2,opt,name=reason,proto3,enum=pocket.supplier.SupplierUnbondingReason" json:"reason,omitempty"`
	// The session end height of the session in which the supplier unbonding endeded.
	SessionEndHeight int64 `protobuf:"varint,3,opt,name=session_end_height,json=sessionEndHeight,proto3" json:"session_end_height,omitempty"`
	// The height at which supplier unbonding will end.
	UnbondingEndHeight int64 `protobuf:"varint,4,opt,name=unbonding_end_height,json=unbondingEndHeight,proto3" json:"unbonding_end_height,omitempty"`
	// contains filtered or unexported fields
}

EventSupplierUnbondingEnd is emitted when an supplier has completed unbonding. The unbonding period is determined by the shared param, supplier_unbonding_period_sessions.

func (*EventSupplierUnbondingEnd) Descriptor deprecated

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

Deprecated: Use EventSupplierUnbondingEnd.ProtoReflect.Descriptor instead.

func (*EventSupplierUnbondingEnd) GetReason

func (*EventSupplierUnbondingEnd) GetSessionEndHeight

func (x *EventSupplierUnbondingEnd) GetSessionEndHeight() int64

func (*EventSupplierUnbondingEnd) GetSupplier

func (x *EventSupplierUnbondingEnd) GetSupplier() *shared.Supplier

func (*EventSupplierUnbondingEnd) GetUnbondingEndHeight

func (x *EventSupplierUnbondingEnd) GetUnbondingEndHeight() int64

func (*EventSupplierUnbondingEnd) ProtoMessage

func (*EventSupplierUnbondingEnd) ProtoMessage()

func (*EventSupplierUnbondingEnd) ProtoReflect

func (*EventSupplierUnbondingEnd) Reset

func (x *EventSupplierUnbondingEnd) Reset()

func (*EventSupplierUnbondingEnd) String

func (x *EventSupplierUnbondingEnd) String() string

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 {
	Signer          string                          `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`                                          // The Bech32 address of the message signer (i.e. owner or operator)
	OwnerAddress    string                          `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`          // The Bech32 address of the owner (i.e. custodial, staker)
	OperatorAddress string                          `protobuf:"bytes,3,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // The Bech32 address of the operator (i.e. provider, non-custodial)
	Stake           *v1beta1.Coin                   `protobuf:"bytes,4,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,5,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) GetOperatorAddress

func (x *MsgStakeSupplier) GetOperatorAddress() string

func (*MsgStakeSupplier) GetOwnerAddress

func (x *MsgStakeSupplier) GetOwnerAddress() string

func (*MsgStakeSupplier) GetServices

func (x *MsgStakeSupplier) GetServices() []*shared.SupplierServiceConfig

func (*MsgStakeSupplier) GetSigner

func (x *MsgStakeSupplier) GetSigner() string

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 {
	Supplier *shared.Supplier `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgStakeSupplierResponse) Descriptor deprecated

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

Deprecated: Use MsgStakeSupplierResponse.ProtoReflect.Descriptor instead.

func (*MsgStakeSupplierResponse) GetSupplier

func (x *MsgStakeSupplierResponse) GetSupplier() *shared.Supplier

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 {
	Signer          string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`                                          // The Bech32 address of the message signer (i.e. owner or operator)
	OperatorAddress string `protobuf:"bytes,2,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // The Bech32 address of the operator (i.e. provider, non-custodial)
	// contains filtered or unexported fields
}

func (*MsgUnstakeSupplier) Descriptor deprecated

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

Deprecated: Use MsgUnstakeSupplier.ProtoReflect.Descriptor instead.

func (*MsgUnstakeSupplier) GetOperatorAddress

func (x *MsgUnstakeSupplier) GetOperatorAddress() string

func (*MsgUnstakeSupplier) GetSigner

func (x *MsgUnstakeSupplier) GetSigner() 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 {
	Supplier *shared.Supplier `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUnstakeSupplierResponse) Descriptor deprecated

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

Deprecated: Use MsgUnstakeSupplierResponse.ProtoReflect.Descriptor instead.

func (*MsgUnstakeSupplierResponse) GetSupplier

func (x *MsgUnstakeSupplierResponse) GetSupplier() *shared.Supplier

func (*MsgUnstakeSupplierResponse) ProtoMessage

func (*MsgUnstakeSupplierResponse) ProtoMessage()

func (*MsgUnstakeSupplierResponse) ProtoReflect

func (*MsgUnstakeSupplierResponse) Reset

func (x *MsgUnstakeSupplierResponse) Reset()

func (*MsgUnstakeSupplierResponse) String

func (x *MsgUnstakeSupplierResponse) String() string

type MsgUpdateParam

type MsgUpdateParam 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"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to AsType:
	//
	//	*MsgUpdateParam_AsCoin
	AsType isMsgUpdateParam_AsType `protobuf_oneof:"asType"`
	// contains filtered or unexported fields
}

MsgUpdateParam is the Msg/UpdateParam request type to update a single param.

func (*MsgUpdateParam) Descriptor deprecated

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

Deprecated: Use MsgUpdateParam.ProtoReflect.Descriptor instead.

func (*MsgUpdateParam) GetAsCoin

func (x *MsgUpdateParam) GetAsCoin() *v1beta1.Coin

func (*MsgUpdateParam) GetAsType

func (x *MsgUpdateParam) GetAsType() isMsgUpdateParam_AsType

func (*MsgUpdateParam) GetAuthority

func (x *MsgUpdateParam) GetAuthority() string

func (*MsgUpdateParam) GetName

func (x *MsgUpdateParam) GetName() string

func (*MsgUpdateParam) ProtoMessage

func (*MsgUpdateParam) ProtoMessage()

func (*MsgUpdateParam) ProtoReflect

func (x *MsgUpdateParam) ProtoReflect() protoreflect.Message

func (*MsgUpdateParam) Reset

func (x *MsgUpdateParam) Reset()

func (*MsgUpdateParam) String

func (x *MsgUpdateParam) String() string

type MsgUpdateParamResponse

type MsgUpdateParamResponse struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateParamResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamResponse) GetParams

func (x *MsgUpdateParamResponse) GetParams() *Params

func (*MsgUpdateParamResponse) ProtoMessage

func (*MsgUpdateParamResponse) ProtoMessage()

func (*MsgUpdateParamResponse) ProtoReflect

func (x *MsgUpdateParamResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamResponse) Reset

func (x *MsgUpdateParamResponse) Reset()

func (*MsgUpdateParamResponse) String

func (x *MsgUpdateParamResponse) String() string

type MsgUpdateParam_AsCoin

type MsgUpdateParam_AsCoin struct {
	AsCoin *v1beta1.Coin `protobuf:"bytes,3,opt,name=as_coin,json=asCoin,proto3,oneof"`
}

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 {

	// min_stake is the minimum amount of uPOKT that a supplier must stake to be
	// included in network sessions and remain staked.
	MinStake *v1beta1.Coin `protobuf:"bytes,1,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"`
	// staking_fee is the fee charged by the protocol for staking a supplier.
	StakingFee *v1beta1.Coin `protobuf:"bytes,2,opt,name=staking_fee,json=stakingFee,proto3" json:"staking_fee,omitempty"`
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetMinStake

func (x *Params) GetMinStake() *v1beta1.Coin

func (*Params) GetStakingFee

func (x *Params) GetStakingFee() *v1beta1.Coin

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryAllSuppliersRequest

type QueryAllSuppliersRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// Types that are assignable to Filter:
	//
	//	*QueryAllSuppliersRequest_ServiceId
	Filter isQueryAllSuppliersRequest_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

func (*QueryAllSuppliersRequest) Descriptor deprecated

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

Deprecated: Use QueryAllSuppliersRequest.ProtoReflect.Descriptor instead.

func (*QueryAllSuppliersRequest) GetFilter

func (x *QueryAllSuppliersRequest) GetFilter() isQueryAllSuppliersRequest_Filter

func (*QueryAllSuppliersRequest) GetPagination

func (x *QueryAllSuppliersRequest) GetPagination() *v1beta1.PageRequest

func (*QueryAllSuppliersRequest) GetServiceId

func (x *QueryAllSuppliersRequest) GetServiceId() string

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 QueryAllSuppliersRequest_ServiceId

type QueryAllSuppliersRequest_ServiceId struct {
	ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3,oneof"` // unique service identifier to filter by
}

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 (*QueryAllSuppliersResponse) Reset

func (x *QueryAllSuppliersResponse) Reset()

func (*QueryAllSuppliersResponse) String

func (x *QueryAllSuppliersResponse) String() string

type QueryGetSupplierRequest

type QueryGetSupplierRequest struct {
	OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // TODO_TECHDEBT: Add the ability to query for a supplier by owner_id
	// contains filtered or unexported fields
}

func (*QueryGetSupplierRequest) Descriptor deprecated

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

Deprecated: Use QueryGetSupplierRequest.ProtoReflect.Descriptor instead.

func (*QueryGetSupplierRequest) GetOperatorAddress

func (x *QueryGetSupplierRequest) GetOperatorAddress() 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

type SupplierUnbondingReason

type SupplierUnbondingReason int32
const (
	SupplierUnbondingReason_SUPPLIER_UNBONDING_REASON_UNSPECIFIED     SupplierUnbondingReason = 0
	SupplierUnbondingReason_SUPPLIER_UNBONDING_REASON_VOLUNTARY       SupplierUnbondingReason = 1
	SupplierUnbondingReason_SUPPLIER_UNBONDING_REASON_BELOW_MIN_STAKE SupplierUnbondingReason = 2
	SupplierUnbondingReason_SUPPLIER_UNBONDING_REASON_MIGRATION       SupplierUnbondingReason = 3
)

func (SupplierUnbondingReason) Descriptor

func (SupplierUnbondingReason) Enum

func (SupplierUnbondingReason) EnumDescriptor deprecated

func (SupplierUnbondingReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use SupplierUnbondingReason.Descriptor instead.

func (SupplierUnbondingReason) Number

func (SupplierUnbondingReason) String

func (x SupplierUnbondingReason) String() string

func (SupplierUnbondingReason) Type

Directories

Path Synopsis
DO NOT DELETE this file.
DO NOT DELETE this file.

Jump to

Keyboard shortcuts

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