legacy

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var File_milkyway_restaking_legacy_models_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type LegacyOperatorParams

type LegacyOperatorParams struct {

	// CommissionRate defines the commission rate charged to delegators, as a
	// fraction.
	CommissionRate string `protobuf:"bytes,1,opt,name=commission_rate,json=commissionRate,proto3" json:"commission_rate,omitempty"`
	// JoinedServicesIDs defines the list of service IDs that the operator has
	// joined.
	JoinedServicesIds []uint32 `protobuf:"varint,2,rep,packed,name=joined_services_ids,json=joinedServicesIds,proto3" json:"joined_services_ids,omitempty"`
	// contains filtered or unexported fields
}

LegacyOperatorParams represent previous format that we where using to store a operator params.

func (*LegacyOperatorParams) Descriptor deprecated

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

Deprecated: Use LegacyOperatorParams.ProtoReflect.Descriptor instead.

func (*LegacyOperatorParams) GetCommissionRate

func (x *LegacyOperatorParams) GetCommissionRate() string

func (*LegacyOperatorParams) GetJoinedServicesIds

func (x *LegacyOperatorParams) GetJoinedServicesIds() []uint32

func (*LegacyOperatorParams) ProtoMessage

func (*LegacyOperatorParams) ProtoMessage()

func (*LegacyOperatorParams) ProtoReflect

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

func (*LegacyOperatorParams) Reset

func (x *LegacyOperatorParams) Reset()

func (*LegacyOperatorParams) String

func (x *LegacyOperatorParams) String() string

type LegacyServiceParams

type LegacyServiceParams struct {

	// SlashFraction defines the fraction of the delegation that will be slashed
	// in case of a misbehavior.
	SlashFraction string `protobuf:"bytes,1,opt,name=slash_fraction,json=slashFraction,proto3" json:"slash_fraction,omitempty"`
	// WhitelistedPoolsIDs defines the list of pool IDs that are providing
	// cryptoeconomic security to the service.
	WhitelistedPoolsIds []uint32 `` /* 128-byte string literal not displayed */
	// WhitelistedOperatorsIDs defines the list of operator IDs that are allowed
	// to validate this service.
	WhitelistedOperatorsIds []uint32 `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

LegacyServiceParams represent the previous format that we where using to store the params that have been set for an individual service.

func (*LegacyServiceParams) Descriptor deprecated

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

Deprecated: Use LegacyServiceParams.ProtoReflect.Descriptor instead.

func (*LegacyServiceParams) GetSlashFraction

func (x *LegacyServiceParams) GetSlashFraction() string

func (*LegacyServiceParams) GetWhitelistedOperatorsIds

func (x *LegacyServiceParams) GetWhitelistedOperatorsIds() []uint32

func (*LegacyServiceParams) GetWhitelistedPoolsIds

func (x *LegacyServiceParams) GetWhitelistedPoolsIds() []uint32

func (*LegacyServiceParams) ProtoMessage

func (*LegacyServiceParams) ProtoMessage()

func (*LegacyServiceParams) ProtoReflect

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

func (*LegacyServiceParams) Reset

func (x *LegacyServiceParams) Reset()

func (*LegacyServiceParams) String

func (x *LegacyServiceParams) String() string

Jump to

Keyboard shortcuts

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