feev1alpha1

package
v2.5.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFee        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFee          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFee = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Fee

type Fee struct {
	// The amount of the token used to pay fees.
	Amount *v1alpha1.Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// If present, the asset ID of the token used to pay fees.
	// If absent, specifies the staking token implicitly.
	AssetId *v1alpha11.AssetId `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
}

Specifies fees paid by a transaction.

func (*Fee) Descriptor

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

func (*Fee) GetAmount

func (m *Fee) GetAmount() *v1alpha1.Amount

func (*Fee) GetAssetId

func (m *Fee) GetAssetId() *v1alpha11.AssetId

func (*Fee) Marshal

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

func (*Fee) MarshalTo

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

func (*Fee) MarshalToSizedBuffer

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

func (*Fee) ProtoMessage

func (*Fee) ProtoMessage()

func (*Fee) Reset

func (m *Fee) Reset()

func (*Fee) Size

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

func (*Fee) String

func (m *Fee) String() string

func (*Fee) Unmarshal

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

func (*Fee) XXX_DiscardUnknown

func (m *Fee) XXX_DiscardUnknown()

func (*Fee) XXX_Marshal

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

func (*Fee) XXX_Merge

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

func (*Fee) XXX_Size

func (m *Fee) XXX_Size() int

func (*Fee) XXX_Unmarshal

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

type FeeParameters

type FeeParameters struct {
}

Fee component configuration data.

func (*FeeParameters) Descriptor

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

func (*FeeParameters) Marshal

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

func (*FeeParameters) MarshalTo

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

func (*FeeParameters) MarshalToSizedBuffer

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

func (*FeeParameters) ProtoMessage

func (*FeeParameters) ProtoMessage()

func (*FeeParameters) Reset

func (m *FeeParameters) Reset()

func (*FeeParameters) Size

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

func (*FeeParameters) String

func (m *FeeParameters) String() string

func (*FeeParameters) Unmarshal

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

func (*FeeParameters) XXX_DiscardUnknown

func (m *FeeParameters) XXX_DiscardUnknown()

func (*FeeParameters) XXX_Marshal

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

func (*FeeParameters) XXX_Merge

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

func (*FeeParameters) XXX_Size

func (m *FeeParameters) XXX_Size() int

func (*FeeParameters) XXX_Unmarshal

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

type GasPrices

type GasPrices struct {
	// The price per unit block space in terms of the staking token, with an implicit 1,000 denominator.
	BlockSpacePrice uint64 `protobuf:"varint,1,opt,name=block_space_price,json=blockSpacePrice,proto3" json:"block_space_price,omitempty"`
	// The price per unit compact block space in terms of the staking token, with an implicit 1,000 denominator.
	CompactBlockSpacePrice uint64 `` /* 132-byte string literal not displayed */
	// The price per unit verification cost in terms of the staking token, with an implicit 1,000 denominator.
	VerificationPrice uint64 `protobuf:"varint,3,opt,name=verification_price,json=verificationPrice,proto3" json:"verification_price,omitempty"`
	// The price per unit execution cost in terms of the staking token, with an implicit 1,000 denominator.
	ExecutionPrice uint64 `protobuf:"varint,4,opt,name=execution_price,json=executionPrice,proto3" json:"execution_price,omitempty"`
}

func (*GasPrices) Descriptor

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

func (*GasPrices) GetBlockSpacePrice

func (m *GasPrices) GetBlockSpacePrice() uint64

func (*GasPrices) GetCompactBlockSpacePrice

func (m *GasPrices) GetCompactBlockSpacePrice() uint64

func (*GasPrices) GetExecutionPrice

func (m *GasPrices) GetExecutionPrice() uint64

func (*GasPrices) GetVerificationPrice

func (m *GasPrices) GetVerificationPrice() uint64

func (*GasPrices) Marshal

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

func (*GasPrices) MarshalTo

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

func (*GasPrices) MarshalToSizedBuffer

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

func (*GasPrices) ProtoMessage

func (*GasPrices) ProtoMessage()

func (*GasPrices) Reset

func (m *GasPrices) Reset()

func (*GasPrices) Size

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

func (*GasPrices) String

func (m *GasPrices) String() string

func (*GasPrices) Unmarshal

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

func (*GasPrices) XXX_DiscardUnknown

func (m *GasPrices) XXX_DiscardUnknown()

func (*GasPrices) XXX_Marshal

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

func (*GasPrices) XXX_Merge

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

func (*GasPrices) XXX_Size

func (m *GasPrices) XXX_Size() int

func (*GasPrices) XXX_Unmarshal

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

type GenesisContent

type GenesisContent struct {
	// The FeeParameters present at genesis.
	FeeParams *FeeParameters `protobuf:"bytes,1,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"`
	// The initial gas prices.
	GasPrices *GasPrices `protobuf:"bytes,2,opt,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
}

Fee-specific genesis content.

func (*GenesisContent) Descriptor

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

func (*GenesisContent) GetFeeParams

func (m *GenesisContent) GetFeeParams() *FeeParameters

func (*GenesisContent) GetGasPrices

func (m *GenesisContent) GetGasPrices() *GasPrices

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