Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeeDetails ¶
type FeeDetails struct { InclusionFee sc.Option[InclusionFee] Tip primitives.Balance // not serializable }
func DecodeFeeDetails ¶
func DecodeFeeDetails(buffer *bytes.Buffer) (FeeDetails, error)
func (FeeDetails) Bytes ¶
func (fd FeeDetails) Bytes() []byte
func (FeeDetails) FinalFee ¶
func (fd FeeDetails) FinalFee() primitives.Balance
type InclusionFee ¶
type InclusionFee struct { BaseFee primitives.Balance LenFee primitives.Balance AdjustedWeightFee primitives.Balance }
func DecodeInclusionFee ¶
func DecodeInclusionFee(buffer *bytes.Buffer) (InclusionFee, error)
func NewInclusionFee ¶
func NewInclusionFee(baseFee, lenFee, adjustedWeightFee primitives.Balance) InclusionFee
func (InclusionFee) Bytes ¶
func (i InclusionFee) Bytes() []byte
func (InclusionFee) InclusionFee ¶
func (i InclusionFee) InclusionFee() primitives.Balance
Click to show internal directories.
Click to hide internal directories.