types

package
v3.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDelegatorReward        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDelegatorReward          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDelegatorReward = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type DelegatorRewardv4

type DelegatorRewardv4 struct {
	Delegator string     `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	Provider  string     `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	ChainId   string     `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Amount    types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
}

func (*DelegatorRewardv4) Descriptor

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

func (*DelegatorRewardv4) GetAmount

func (m *DelegatorRewardv4) GetAmount() types.Coin

func (*DelegatorRewardv4) GetChainId

func (m *DelegatorRewardv4) GetChainId() string

func (*DelegatorRewardv4) GetDelegator

func (m *DelegatorRewardv4) GetDelegator() string

func (*DelegatorRewardv4) GetProvider

func (m *DelegatorRewardv4) GetProvider() string

func (*DelegatorRewardv4) Marshal

func (m *DelegatorRewardv4) Marshal() (dAtA []byte, err error)

func (*DelegatorRewardv4) MarshalTo

func (m *DelegatorRewardv4) MarshalTo(dAtA []byte) (int, error)

func (*DelegatorRewardv4) MarshalToSizedBuffer

func (m *DelegatorRewardv4) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegatorRewardv4) ProtoMessage

func (*DelegatorRewardv4) ProtoMessage()

func (*DelegatorRewardv4) Reset

func (m *DelegatorRewardv4) Reset()

func (*DelegatorRewardv4) Size

func (m *DelegatorRewardv4) Size() (n int)

func (*DelegatorRewardv4) String

func (m *DelegatorRewardv4) String() string

func (*DelegatorRewardv4) Unmarshal

func (m *DelegatorRewardv4) Unmarshal(dAtA []byte) error

func (*DelegatorRewardv4) XXX_DiscardUnknown

func (m *DelegatorRewardv4) XXX_DiscardUnknown()

func (*DelegatorRewardv4) XXX_Marshal

func (m *DelegatorRewardv4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegatorRewardv4) XXX_Merge

func (m *DelegatorRewardv4) XXX_Merge(src proto.Message)

func (*DelegatorRewardv4) XXX_Size

func (m *DelegatorRewardv4) XXX_Size() int

func (*DelegatorRewardv4) XXX_Unmarshal

func (m *DelegatorRewardv4) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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