application

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: 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.

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_application_application_proto protoreflect.FileDescriptor
View Source
var File_poktroll_application_event_proto protoreflect.FileDescriptor
View Source
var File_poktroll_application_genesis_proto protoreflect.FileDescriptor
View Source
var File_poktroll_application_params_proto protoreflect.FileDescriptor
View Source
var File_poktroll_application_query_proto protoreflect.FileDescriptor
View Source
var File_poktroll_application_tx_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Application

type Application struct {
	Address                   string                             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`                                     // The Bech32 address of the application using cosmos' ScalarDescriptor to ensure deterministic encoding
	Stake                     *v1beta1.Coin                      `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"`                                         // The total amount of uPOKT the application has staked
	ServiceConfigs            []*shared.ApplicationServiceConfig `protobuf:"bytes,3,rep,name=service_configs,json=serviceConfigs,proto3" json:"service_configs,omitempty"` // The list of services this appliccation is configured to request service for
	DelegateeGatewayAddresses []string                           ``                                                                                                        // The Bech32 encoded addresses for all delegatee Gateways, in a non-nullable slice
	/* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Application defines the type used to store an on-chain definition and state for an application

func (*Application) Descriptor deprecated

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

Deprecated: Use Application.ProtoReflect.Descriptor instead.

func (*Application) GetAddress

func (x *Application) GetAddress() string

func (*Application) GetDelegateeGatewayAddresses

func (x *Application) GetDelegateeGatewayAddresses() []string

func (*Application) GetServiceConfigs

func (x *Application) GetServiceConfigs() []*shared.ApplicationServiceConfig

func (*Application) GetStake

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

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) ProtoReflect

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

func (*Application) Reset

func (x *Application) Reset()

func (*Application) String

func (x *Application) String() string

type EventRedelegation

type EventRedelegation struct {
	AppAddress     string `protobuf:"bytes,1,opt,name=app_address,json=appAddress,proto3" json:"app_address,omitempty"`             // The Bech32 address of the application, using cosmos' ScalarDescriptor to ensure deterministic encoding
	GatewayAddress string `protobuf:"bytes,2,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"` // The Bech32 address of the gateway the application has changed their delegation of, using cosmos' ScalarDescriptor to ensure deterministic encoding
	// contains filtered or unexported fields
}

EventRedelegation is an event emitted whenever an application changes its delegatee gateways on chain. This is in response to both a DelegateToGateway and UndelegateFromGateway message.

func (*EventRedelegation) Descriptor deprecated

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

Deprecated: Use EventRedelegation.ProtoReflect.Descriptor instead.

func (*EventRedelegation) GetAppAddress

func (x *EventRedelegation) GetAppAddress() string

func (*EventRedelegation) GetGatewayAddress

func (x *EventRedelegation) GetGatewayAddress() string

func (*EventRedelegation) ProtoMessage

func (*EventRedelegation) ProtoMessage()

func (*EventRedelegation) ProtoReflect

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

func (*EventRedelegation) Reset

func (x *EventRedelegation) Reset()

func (*EventRedelegation) String

func (x *EventRedelegation) 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"`
	ApplicationList []*Application `protobuf:"bytes,2,rep,name=application_list,json=applicationList,proto3" json:"application_list,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the application module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetApplicationList

func (x *GenesisState) GetApplicationList() []*Application

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 MsgDelegateToGateway

type MsgDelegateToGateway struct {
	AppAddress     string `protobuf:"bytes,1,opt,name=app_address,json=appAddress,proto3" json:"app_address,omitempty"`             // The Bech32 address of the application using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding
	GatewayAddress string `protobuf:"bytes,2,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"` // The Bech32 address of the gateway the application wants to delegate to using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding
	// contains filtered or unexported fields
}

func (*MsgDelegateToGateway) Descriptor deprecated

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

Deprecated: Use MsgDelegateToGateway.ProtoReflect.Descriptor instead.

func (*MsgDelegateToGateway) GetAppAddress

func (x *MsgDelegateToGateway) GetAppAddress() string

func (*MsgDelegateToGateway) GetGatewayAddress

func (x *MsgDelegateToGateway) GetGatewayAddress() string

func (*MsgDelegateToGateway) ProtoMessage

func (*MsgDelegateToGateway) ProtoMessage()

func (*MsgDelegateToGateway) ProtoReflect

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

func (*MsgDelegateToGateway) Reset

func (x *MsgDelegateToGateway) Reset()

func (*MsgDelegateToGateway) String

func (x *MsgDelegateToGateway) String() string

type MsgDelegateToGatewayResponse

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

func (*MsgDelegateToGatewayResponse) Descriptor deprecated

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

Deprecated: Use MsgDelegateToGatewayResponse.ProtoReflect.Descriptor instead.

func (*MsgDelegateToGatewayResponse) ProtoMessage

func (*MsgDelegateToGatewayResponse) ProtoMessage()

func (*MsgDelegateToGatewayResponse) ProtoReflect

func (*MsgDelegateToGatewayResponse) Reset

func (x *MsgDelegateToGatewayResponse) Reset()

func (*MsgDelegateToGatewayResponse) String

type MsgStakeApplication

type MsgStakeApplication struct {
	Address  string                             `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`   // The Bech32 address of the application using cosmos' ScalarDescriptor to ensure deterministic encoding
	Stake    *v1beta1.Coin                      `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"`       // The total amount of uPOKT the application has staked. Must be ≥ to the current amount that the application has staked (if any)
	Services []*shared.ApplicationServiceConfig `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"` // The list of services this application is staked to request service for
	// contains filtered or unexported fields
}

func (*MsgStakeApplication) Descriptor deprecated

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

Deprecated: Use MsgStakeApplication.ProtoReflect.Descriptor instead.

func (*MsgStakeApplication) GetAddress

func (x *MsgStakeApplication) GetAddress() string

func (*MsgStakeApplication) GetServices

func (*MsgStakeApplication) GetStake

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

func (*MsgStakeApplication) ProtoMessage

func (*MsgStakeApplication) ProtoMessage()

func (*MsgStakeApplication) ProtoReflect

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

func (*MsgStakeApplication) Reset

func (x *MsgStakeApplication) Reset()

func (*MsgStakeApplication) String

func (x *MsgStakeApplication) String() string

type MsgStakeApplicationResponse

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

func (*MsgStakeApplicationResponse) Descriptor deprecated

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

Deprecated: Use MsgStakeApplicationResponse.ProtoReflect.Descriptor instead.

func (*MsgStakeApplicationResponse) ProtoMessage

func (*MsgStakeApplicationResponse) ProtoMessage()

func (*MsgStakeApplicationResponse) ProtoReflect

func (*MsgStakeApplicationResponse) Reset

func (x *MsgStakeApplicationResponse) Reset()

func (*MsgStakeApplicationResponse) String

func (x *MsgStakeApplicationResponse) String() string

type MsgUndelegateFromGateway

type MsgUndelegateFromGateway struct {
	AppAddress     string `protobuf:"bytes,1,opt,name=app_address,json=appAddress,proto3" json:"app_address,omitempty"`             // The Bech32 address of the application using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding
	GatewayAddress string `protobuf:"bytes,2,opt,name=gateway_address,json=gatewayAddress,proto3" json:"gateway_address,omitempty"` // The Bech32 address of the gateway the application wants to undelegate from using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding using cosmos' ScalarDescriptor to ensure deterministic deterministic encoding
	// contains filtered or unexported fields
}

func (*MsgUndelegateFromGateway) Descriptor deprecated

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

Deprecated: Use MsgUndelegateFromGateway.ProtoReflect.Descriptor instead.

func (*MsgUndelegateFromGateway) GetAppAddress

func (x *MsgUndelegateFromGateway) GetAppAddress() string

func (*MsgUndelegateFromGateway) GetGatewayAddress

func (x *MsgUndelegateFromGateway) GetGatewayAddress() string

func (*MsgUndelegateFromGateway) ProtoMessage

func (*MsgUndelegateFromGateway) ProtoMessage()

func (*MsgUndelegateFromGateway) ProtoReflect

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

func (*MsgUndelegateFromGateway) Reset

func (x *MsgUndelegateFromGateway) Reset()

func (*MsgUndelegateFromGateway) String

func (x *MsgUndelegateFromGateway) String() string

type MsgUndelegateFromGatewayResponse

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

func (*MsgUndelegateFromGatewayResponse) Descriptor deprecated

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

Deprecated: Use MsgUndelegateFromGatewayResponse.ProtoReflect.Descriptor instead.

func (*MsgUndelegateFromGatewayResponse) ProtoMessage

func (*MsgUndelegateFromGatewayResponse) ProtoMessage()

func (*MsgUndelegateFromGatewayResponse) ProtoReflect

func (*MsgUndelegateFromGatewayResponse) Reset

func (*MsgUndelegateFromGatewayResponse) String

type MsgUnstakeApplication

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

func (*MsgUnstakeApplication) Descriptor deprecated

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

Deprecated: Use MsgUnstakeApplication.ProtoReflect.Descriptor instead.

func (*MsgUnstakeApplication) GetAddress

func (x *MsgUnstakeApplication) GetAddress() string

func (*MsgUnstakeApplication) ProtoMessage

func (*MsgUnstakeApplication) ProtoMessage()

func (*MsgUnstakeApplication) ProtoReflect

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

func (*MsgUnstakeApplication) Reset

func (x *MsgUnstakeApplication) Reset()

func (*MsgUnstakeApplication) String

func (x *MsgUnstakeApplication) String() string

type MsgUnstakeApplicationResponse

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

func (*MsgUnstakeApplicationResponse) Descriptor deprecated

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

Deprecated: Use MsgUnstakeApplicationResponse.ProtoReflect.Descriptor instead.

func (*MsgUnstakeApplicationResponse) ProtoMessage

func (*MsgUnstakeApplicationResponse) ProtoMessage()

func (*MsgUnstakeApplicationResponse) ProtoReflect

func (*MsgUnstakeApplicationResponse) Reset

func (x *MsgUnstakeApplicationResponse) Reset()

func (*MsgUnstakeApplicationResponse) 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/application 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 {
	MaxDelegatedGateways uint64 `protobuf:"varint,1,opt,name=max_delegated_gateways,json=maxDelegatedGateways,proto3" json:"max_delegated_gateways,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) GetMaxDelegatedGateways

func (x *Params) GetMaxDelegatedGateways() uint64

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 QueryAllApplicationsRequest

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

func (*QueryAllApplicationsRequest) Descriptor deprecated

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

Deprecated: Use QueryAllApplicationsRequest.ProtoReflect.Descriptor instead.

func (*QueryAllApplicationsRequest) GetPagination

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

func (*QueryAllApplicationsRequest) ProtoMessage

func (*QueryAllApplicationsRequest) ProtoMessage()

func (*QueryAllApplicationsRequest) ProtoReflect

func (*QueryAllApplicationsRequest) Reset

func (x *QueryAllApplicationsRequest) Reset()

func (*QueryAllApplicationsRequest) String

func (x *QueryAllApplicationsRequest) String() string

type QueryAllApplicationsResponse

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

func (*QueryAllApplicationsResponse) Descriptor deprecated

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

Deprecated: Use QueryAllApplicationsResponse.ProtoReflect.Descriptor instead.

func (*QueryAllApplicationsResponse) GetApplications

func (x *QueryAllApplicationsResponse) GetApplications() []*Application

func (*QueryAllApplicationsResponse) GetPagination

func (*QueryAllApplicationsResponse) ProtoMessage

func (*QueryAllApplicationsResponse) ProtoMessage()

func (*QueryAllApplicationsResponse) ProtoReflect

func (*QueryAllApplicationsResponse) Reset

func (x *QueryAllApplicationsResponse) Reset()

func (*QueryAllApplicationsResponse) String

type QueryGetApplicationRequest

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

func (*QueryGetApplicationRequest) Descriptor deprecated

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

Deprecated: Use QueryGetApplicationRequest.ProtoReflect.Descriptor instead.

func (*QueryGetApplicationRequest) GetAddress

func (x *QueryGetApplicationRequest) GetAddress() string

func (*QueryGetApplicationRequest) ProtoMessage

func (*QueryGetApplicationRequest) ProtoMessage()

func (*QueryGetApplicationRequest) ProtoReflect

func (*QueryGetApplicationRequest) Reset

func (x *QueryGetApplicationRequest) Reset()

func (*QueryGetApplicationRequest) String

func (x *QueryGetApplicationRequest) String() string

type QueryGetApplicationResponse

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

func (*QueryGetApplicationResponse) Descriptor deprecated

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

Deprecated: Use QueryGetApplicationResponse.ProtoReflect.Descriptor instead.

func (*QueryGetApplicationResponse) GetApplication

func (x *QueryGetApplicationResponse) GetApplication() *Application

func (*QueryGetApplicationResponse) ProtoMessage

func (*QueryGetApplicationResponse) ProtoMessage()

func (*QueryGetApplicationResponse) ProtoReflect

func (*QueryGetApplicationResponse) Reset

func (x *QueryGetApplicationResponse) Reset()

func (*QueryGetApplicationResponse) String

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