Documentation ¶
Index ¶
- Variables
- type Fee
- func (*Fee) Descriptor() ([]byte, []int)
- func (m *Fee) GetAmount() *v1alpha1.Amount
- func (m *Fee) GetAssetId() *v1alpha11.AssetId
- func (m *Fee) Marshal() (dAtA []byte, err error)
- func (m *Fee) MarshalTo(dAtA []byte) (int, error)
- func (m *Fee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fee) ProtoMessage()
- func (m *Fee) Reset()
- func (m *Fee) Size() (n int)
- func (m *Fee) String() string
- func (m *Fee) Unmarshal(dAtA []byte) error
- func (m *Fee) XXX_DiscardUnknown()
- func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fee) XXX_Merge(src proto.Message)
- func (m *Fee) XXX_Size() int
- func (m *Fee) XXX_Unmarshal(b []byte) error
- type FeeParameters
- func (*FeeParameters) Descriptor() ([]byte, []int)
- func (m *FeeParameters) Marshal() (dAtA []byte, err error)
- func (m *FeeParameters) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeParameters) ProtoMessage()
- func (m *FeeParameters) Reset()
- func (m *FeeParameters) Size() (n int)
- func (m *FeeParameters) String() string
- func (m *FeeParameters) Unmarshal(dAtA []byte) error
- func (m *FeeParameters) XXX_DiscardUnknown()
- func (m *FeeParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeParameters) XXX_Merge(src proto.Message)
- func (m *FeeParameters) XXX_Size() int
- func (m *FeeParameters) XXX_Unmarshal(b []byte) error
- type GasPrices
- func (*GasPrices) Descriptor() ([]byte, []int)
- func (m *GasPrices) GetBlockSpacePrice() uint64
- func (m *GasPrices) GetCompactBlockSpacePrice() uint64
- func (m *GasPrices) GetExecutionPrice() uint64
- func (m *GasPrices) GetVerificationPrice() uint64
- func (m *GasPrices) Marshal() (dAtA []byte, err error)
- func (m *GasPrices) MarshalTo(dAtA []byte) (int, error)
- func (m *GasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasPrices) ProtoMessage()
- func (m *GasPrices) Reset()
- func (m *GasPrices) Size() (n int)
- func (m *GasPrices) String() string
- func (m *GasPrices) Unmarshal(dAtA []byte) error
- func (m *GasPrices) XXX_DiscardUnknown()
- func (m *GasPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasPrices) XXX_Merge(src proto.Message)
- func (m *GasPrices) XXX_Size() int
- func (m *GasPrices) XXX_Unmarshal(b []byte) error
- type GenesisContent
- func (*GenesisContent) Descriptor() ([]byte, []int)
- func (m *GenesisContent) GetFeeParams() *FeeParameters
- func (m *GenesisContent) GetGasPrices() *GasPrices
- func (m *GenesisContent) Marshal() (dAtA []byte, err error)
- func (m *GenesisContent) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisContent) ProtoMessage()
- func (m *GenesisContent) Reset()
- func (m *GenesisContent) Size() (n int)
- func (m *GenesisContent) String() string
- func (m *GenesisContent) Unmarshal(dAtA []byte) error
- func (m *GenesisContent) XXX_DiscardUnknown()
- func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisContent) XXX_Merge(src proto.Message)
- func (m *GenesisContent) XXX_Size() int
- func (m *GenesisContent) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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) GetAssetId ¶
func (*Fee) ProtoMessage ¶
func (*Fee) ProtoMessage()
func (*Fee) XXX_DiscardUnknown ¶
func (m *Fee) XXX_DiscardUnknown()
func (*Fee) XXX_Unmarshal ¶
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) 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) GetBlockSpacePrice ¶
func (*GasPrices) GetCompactBlockSpacePrice ¶
func (*GasPrices) GetExecutionPrice ¶
func (*GasPrices) GetVerificationPrice ¶
func (*GasPrices) MarshalToSizedBuffer ¶
func (*GasPrices) ProtoMessage ¶
func (*GasPrices) ProtoMessage()
func (*GasPrices) XXX_DiscardUnknown ¶
func (m *GasPrices) XXX_DiscardUnknown()
func (*GasPrices) XXX_Marshal ¶
func (*GasPrices) XXX_Unmarshal ¶
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) 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
Click to show internal directories.
Click to hide internal directories.