fundingv1

package
v9.0.0-...-e599657 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFunding        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFunding          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFunding = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type EventFundingStreamReward

type EventFundingStreamReward struct {
	// The recipient of the funding stream reward.
	// This is a string value for future extensibility.
	// Currently it will be either "community-pool"
	// or an address.
	Recipient string `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// The epoch for which the reward was paid.
	EpochIndex uint64 `protobuf:"varint,2,opt,name=epoch_index,json=epochIndex,proto3" json:"epoch_index,omitempty"`
	// The amount of the reward, in staking tokens.
	RewardAmount *v1.Amount `protobuf:"bytes,3,opt,name=reward_amount,json=rewardAmount,proto3" json:"reward_amount,omitempty"`
}

Indicates that a funding stream reward was paid.

func (*EventFundingStreamReward) Descriptor

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

func (*EventFundingStreamReward) GetEpochIndex

func (m *EventFundingStreamReward) GetEpochIndex() uint64

func (*EventFundingStreamReward) GetRecipient

func (m *EventFundingStreamReward) GetRecipient() string

func (*EventFundingStreamReward) GetRewardAmount

func (m *EventFundingStreamReward) GetRewardAmount() *v1.Amount

func (*EventFundingStreamReward) Marshal

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

func (*EventFundingStreamReward) MarshalTo

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

func (*EventFundingStreamReward) MarshalToSizedBuffer

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

func (*EventFundingStreamReward) ProtoMessage

func (*EventFundingStreamReward) ProtoMessage()

func (*EventFundingStreamReward) Reset

func (m *EventFundingStreamReward) Reset()

func (*EventFundingStreamReward) Size

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

func (*EventFundingStreamReward) String

func (m *EventFundingStreamReward) String() string

func (*EventFundingStreamReward) Unmarshal

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

func (*EventFundingStreamReward) XXX_DiscardUnknown

func (m *EventFundingStreamReward) XXX_DiscardUnknown()

func (*EventFundingStreamReward) XXX_Marshal

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

func (*EventFundingStreamReward) XXX_Merge

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

func (*EventFundingStreamReward) XXX_Size

func (m *EventFundingStreamReward) XXX_Size() int

func (*EventFundingStreamReward) XXX_Unmarshal

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

type FundingParameters

type FundingParameters struct {
}

Funding component configuration data.

func (*FundingParameters) Descriptor

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

func (*FundingParameters) Marshal

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

func (*FundingParameters) MarshalTo

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

func (*FundingParameters) MarshalToSizedBuffer

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

func (*FundingParameters) ProtoMessage

func (*FundingParameters) ProtoMessage()

func (*FundingParameters) Reset

func (m *FundingParameters) Reset()

func (*FundingParameters) Size

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

func (*FundingParameters) String

func (m *FundingParameters) String() string

func (*FundingParameters) Unmarshal

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

func (*FundingParameters) XXX_DiscardUnknown

func (m *FundingParameters) XXX_DiscardUnknown()

func (*FundingParameters) XXX_Marshal

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

func (*FundingParameters) XXX_Merge

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

func (*FundingParameters) XXX_Size

func (m *FundingParameters) XXX_Size() int

func (*FundingParameters) XXX_Unmarshal

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

type GenesisContent

type GenesisContent struct {
	FundingParams *FundingParameters `protobuf:"bytes,1,opt,name=funding_params,json=fundingParams,proto3" json:"funding_params,omitempty"`
}

Genesis data for the funding component.

func (*GenesisContent) Descriptor

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

func (*GenesisContent) GetFundingParams

func (m *GenesisContent) GetFundingParams() *FundingParameters

func (*GenesisContent) Marshal

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

func (*GenesisContent) MarshalTo

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

func (*GenesisContent) MarshalToSizedBuffer

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

func (*GenesisContent) ProtoMessage

func (*GenesisContent) ProtoMessage()

func (*GenesisContent) Reset

func (m *GenesisContent) Reset()

func (*GenesisContent) Size

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

func (*GenesisContent) String

func (m *GenesisContent) String() string

func (*GenesisContent) Unmarshal

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

func (*GenesisContent) XXX_DiscardUnknown

func (m *GenesisContent) XXX_DiscardUnknown()

func (*GenesisContent) XXX_Marshal

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

func (*GenesisContent) XXX_Merge

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

func (*GenesisContent) XXX_Size

func (m *GenesisContent) XXX_Size() int

func (*GenesisContent) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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