Documentation ¶
Index ¶
- Variables
- type Fee
- type FeeParameters
- type GasPrices
- func (*GasPrices) Descriptor() ([]byte, []int)deprecated
- func (x *GasPrices) GetBlockSpacePrice() uint64
- func (x *GasPrices) GetCompactBlockSpacePrice() uint64
- func (x *GasPrices) GetExecutionPrice() uint64
- func (x *GasPrices) GetVerificationPrice() uint64
- func (*GasPrices) ProtoMessage()
- func (x *GasPrices) ProtoReflect() protoreflect.Message
- func (x *GasPrices) Reset()
- func (x *GasPrices) String() string
- type GenesisContent
- func (*GenesisContent) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisContent) GetFeeParams() *FeeParameters
- func (x *GenesisContent) GetGasPrices() *GasPrices
- func (*GenesisContent) ProtoMessage()
- func (x *GenesisContent) ProtoReflect() protoreflect.Message
- func (x *GenesisContent) Reset()
- func (x *GenesisContent) String() string
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) GetAssetId ¶
func (*Fee) ProtoMessage ¶
func (*Fee) ProtoMessage()
func (*Fee) ProtoReflect ¶
func (x *Fee) ProtoReflect() protoreflect.Message
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) GetBlockSpacePrice ¶ added in v0.62.0
func (*GasPrices) GetCompactBlockSpacePrice ¶ added in v0.62.0
func (*GasPrices) GetExecutionPrice ¶ added in v0.62.0
func (*GasPrices) GetVerificationPrice ¶ added in v0.62.0
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
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
Click to show internal directories.
Click to hide internal directories.