gateway

package
v0.0.0-...-dcdbaa1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 15 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.

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

Index

Constants

This section is empty.

Variables

View Source
var File_poktroll_gateway_gateway_proto protoreflect.FileDescriptor
View Source
var File_poktroll_gateway_genesis_proto protoreflect.FileDescriptor
View Source
var File_poktroll_gateway_params_proto protoreflect.FileDescriptor
View Source
var File_poktroll_gateway_query_proto protoreflect.FileDescriptor
View Source
var File_poktroll_gateway_tx_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	Address string        `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The Bech32 address of the gateway
	Stake   *v1beta1.Coin `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"`     // The total amount of uPOKT the gateway has staked
	// contains filtered or unexported fields
}

func (*Gateway) Descriptor deprecated

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

Deprecated: Use Gateway.ProtoReflect.Descriptor instead.

func (*Gateway) GetAddress

func (x *Gateway) GetAddress() string

func (*Gateway) GetStake

func (x *Gateway) GetStake() *v1beta1.Coin

func (*Gateway) ProtoMessage

func (*Gateway) ProtoMessage()

func (*Gateway) ProtoReflect

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

func (*Gateway) Reset

func (x *Gateway) Reset()

func (*Gateway) String

func (x *Gateway) 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"`
	GatewayList []*Gateway `protobuf:"bytes,2,rep,name=gateway_list,json=gatewayList,proto3" json:"gateway_list,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the gateway module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetGatewayList

func (x *GenesisState) GetGatewayList() []*Gateway

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

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 MsgStakeGateway

type MsgStakeGateway struct {
	Address string        `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The Bech32 address of the gateway
	Stake   *v1beta1.Coin `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"`     // The total amount of uPOKT the gateway is staking. Must be ≥ to the current amount that the gateway has staked (if any)
	// contains filtered or unexported fields
}

func (*MsgStakeGateway) Descriptor deprecated

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

Deprecated: Use MsgStakeGateway.ProtoReflect.Descriptor instead.

func (*MsgStakeGateway) GetAddress

func (x *MsgStakeGateway) GetAddress() string

func (*MsgStakeGateway) GetStake

func (x *MsgStakeGateway) GetStake() *v1beta1.Coin

func (*MsgStakeGateway) ProtoMessage

func (*MsgStakeGateway) ProtoMessage()

func (*MsgStakeGateway) ProtoReflect

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

func (*MsgStakeGateway) Reset

func (x *MsgStakeGateway) Reset()

func (*MsgStakeGateway) String

func (x *MsgStakeGateway) String() string

type MsgStakeGatewayResponse

type MsgStakeGatewayResponse struct {
	// contains filtered or unexported fields
}

func (*MsgStakeGatewayResponse) Descriptor deprecated

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

Deprecated: Use MsgStakeGatewayResponse.ProtoReflect.Descriptor instead.

func (*MsgStakeGatewayResponse) ProtoMessage

func (*MsgStakeGatewayResponse) ProtoMessage()

func (*MsgStakeGatewayResponse) ProtoReflect

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

func (*MsgStakeGatewayResponse) Reset

func (x *MsgStakeGatewayResponse) Reset()

func (*MsgStakeGatewayResponse) String

func (x *MsgStakeGatewayResponse) String() string

type MsgUnstakeGateway

type MsgUnstakeGateway struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The Bech32 address of the gateway
	// contains filtered or unexported fields
}

func (*MsgUnstakeGateway) Descriptor deprecated

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

Deprecated: Use MsgUnstakeGateway.ProtoReflect.Descriptor instead.

func (*MsgUnstakeGateway) GetAddress

func (x *MsgUnstakeGateway) GetAddress() string

func (*MsgUnstakeGateway) ProtoMessage

func (*MsgUnstakeGateway) ProtoMessage()

func (*MsgUnstakeGateway) ProtoReflect

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

func (*MsgUnstakeGateway) Reset

func (x *MsgUnstakeGateway) Reset()

func (*MsgUnstakeGateway) String

func (x *MsgUnstakeGateway) String() string

type MsgUnstakeGatewayResponse

type MsgUnstakeGatewayResponse struct {
	// contains filtered or unexported fields
}

func (*MsgUnstakeGatewayResponse) Descriptor deprecated

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

Deprecated: Use MsgUnstakeGatewayResponse.ProtoReflect.Descriptor instead.

func (*MsgUnstakeGatewayResponse) ProtoMessage

func (*MsgUnstakeGatewayResponse) ProtoMessage()

func (*MsgUnstakeGatewayResponse) ProtoReflect

func (*MsgUnstakeGatewayResponse) Reset

func (x *MsgUnstakeGatewayResponse) Reset()

func (*MsgUnstakeGatewayResponse) String

func (x *MsgUnstakeGatewayResponse) 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/gateway 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) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

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 QueryAllGatewaysRequest

type QueryAllGatewaysRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllGatewaysRequest) Descriptor deprecated

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

Deprecated: Use QueryAllGatewaysRequest.ProtoReflect.Descriptor instead.

func (*QueryAllGatewaysRequest) GetPagination

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

func (*QueryAllGatewaysRequest) ProtoMessage

func (*QueryAllGatewaysRequest) ProtoMessage()

func (*QueryAllGatewaysRequest) ProtoReflect

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

func (*QueryAllGatewaysRequest) Reset

func (x *QueryAllGatewaysRequest) Reset()

func (*QueryAllGatewaysRequest) String

func (x *QueryAllGatewaysRequest) String() string

type QueryAllGatewaysResponse

type QueryAllGatewaysResponse struct {
	Gateways   []*Gateway            `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"`
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAllGatewaysResponse) Descriptor deprecated

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

Deprecated: Use QueryAllGatewaysResponse.ProtoReflect.Descriptor instead.

func (*QueryAllGatewaysResponse) GetGateways

func (x *QueryAllGatewaysResponse) GetGateways() []*Gateway

func (*QueryAllGatewaysResponse) GetPagination

func (x *QueryAllGatewaysResponse) GetPagination() *v1beta1.PageResponse

func (*QueryAllGatewaysResponse) ProtoMessage

func (*QueryAllGatewaysResponse) ProtoMessage()

func (*QueryAllGatewaysResponse) ProtoReflect

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

func (*QueryAllGatewaysResponse) Reset

func (x *QueryAllGatewaysResponse) Reset()

func (*QueryAllGatewaysResponse) String

func (x *QueryAllGatewaysResponse) String() string

type QueryGetGatewayRequest

type QueryGetGatewayRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGetGatewayRequest) Descriptor deprecated

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

Deprecated: Use QueryGetGatewayRequest.ProtoReflect.Descriptor instead.

func (*QueryGetGatewayRequest) GetAddress

func (x *QueryGetGatewayRequest) GetAddress() string

func (*QueryGetGatewayRequest) ProtoMessage

func (*QueryGetGatewayRequest) ProtoMessage()

func (*QueryGetGatewayRequest) ProtoReflect

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

func (*QueryGetGatewayRequest) Reset

func (x *QueryGetGatewayRequest) Reset()

func (*QueryGetGatewayRequest) String

func (x *QueryGetGatewayRequest) String() string

type QueryGetGatewayResponse

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

func (*QueryGetGatewayResponse) Descriptor deprecated

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

Deprecated: Use QueryGetGatewayResponse.ProtoReflect.Descriptor instead.

func (*QueryGetGatewayResponse) GetGateway

func (x *QueryGetGatewayResponse) GetGateway() *Gateway

func (*QueryGetGatewayResponse) ProtoMessage

func (*QueryGetGatewayResponse) ProtoMessage()

func (*QueryGetGatewayResponse) ProtoReflect

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

func (*QueryGetGatewayResponse) Reset

func (x *QueryGetGatewayResponse) Reset()

func (*QueryGetGatewayResponse) String

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

Directories

Path Synopsis
Code generated by protoc-gen-go-pulsar.
Code generated by protoc-gen-go-pulsar.

Jump to

Keyboard shortcuts

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