feev1alpha1

package
v0.64.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_penumbra_core_component_fee_v1alpha1_fee_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

Specifies fees paid by a transaction.

func (*Fee) Descriptor deprecated

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

Deprecated: Use Fee.ProtoReflect.Descriptor instead.

func (*Fee) GetAmount

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

func (*Fee) GetAssetId

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

func (*Fee) ProtoMessage

func (*Fee) ProtoMessage()

func (*Fee) ProtoReflect

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

func (*Fee) Reset

func (x *Fee) Reset()

func (*Fee) String

func (x *Fee) String() string

type FeeParameters added in v0.62.0

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

Fee component configuration data.

func (*FeeParameters) Descriptor deprecated added in v0.62.0

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

Deprecated: Use FeeParameters.ProtoReflect.Descriptor instead.

func (*FeeParameters) ProtoMessage added in v0.62.0

func (*FeeParameters) ProtoMessage()

func (*FeeParameters) ProtoReflect added in v0.62.0

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

func (*FeeParameters) Reset added in v0.62.0

func (x *FeeParameters) Reset()

func (*FeeParameters) String added in v0.62.0

func (x *FeeParameters) String() string

type GasPrices added in v0.62.0

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"`
	// contains filtered or unexported fields
}

func (*GasPrices) Descriptor deprecated added in v0.62.0

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

Deprecated: Use GasPrices.ProtoReflect.Descriptor instead.

func (*GasPrices) GetBlockSpacePrice added in v0.62.0

func (x *GasPrices) GetBlockSpacePrice() uint64

func (*GasPrices) GetCompactBlockSpacePrice added in v0.62.0

func (x *GasPrices) GetCompactBlockSpacePrice() uint64

func (*GasPrices) GetExecutionPrice added in v0.62.0

func (x *GasPrices) GetExecutionPrice() uint64

func (*GasPrices) GetVerificationPrice added in v0.62.0

func (x *GasPrices) GetVerificationPrice() uint64

func (*GasPrices) ProtoMessage added in v0.62.0

func (*GasPrices) ProtoMessage()

func (*GasPrices) ProtoReflect added in v0.62.0

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

func (*GasPrices) Reset added in v0.62.0

func (x *GasPrices) Reset()

func (*GasPrices) String added in v0.62.0

func (x *GasPrices) String() string

type GenesisContent added in v0.62.0

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"`
	// contains filtered or unexported fields
}

Fee-specific genesis content.

func (*GenesisContent) Descriptor deprecated added in v0.62.0

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

Deprecated: Use GenesisContent.ProtoReflect.Descriptor instead.

func (*GenesisContent) GetFeeParams added in v0.62.0

func (x *GenesisContent) GetFeeParams() *FeeParameters

func (*GenesisContent) GetGasPrices added in v0.62.0

func (x *GenesisContent) GetGasPrices() *GasPrices

func (*GenesisContent) ProtoMessage added in v0.62.0

func (*GenesisContent) ProtoMessage()

func (*GenesisContent) ProtoReflect added in v0.62.0

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

func (*GenesisContent) Reset added in v0.62.0

func (x *GenesisContent) Reset()

func (*GenesisContent) String added in v0.62.0

func (x *GenesisContent) String() string

Jump to

Keyboard shortcuts

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