Documentation ¶
Index ¶
- func NewChargeTransactionPayment(module system.Module, txPaymentModule transaction_payment.Module, ...) primitives.SignedExtension
- type ChargeTransactionPayment
- func (ctp ChargeTransactionPayment) AdditionalSigned() (primitives.AdditionalSigned, error)
- func (ctp ChargeTransactionPayment) Bytes() []byte
- func (ctp *ChargeTransactionPayment) Decode(buffer *bytes.Buffer) error
- func (ctp ChargeTransactionPayment) DeepCopy() primitives.SignedExtension
- func (ctp ChargeTransactionPayment) Encode(buffer *bytes.Buffer) error
- func (ctp ChargeTransactionPayment) ModulePath() string
- func (ctp ChargeTransactionPayment) PostDispatch(pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, ...) error
- func (ctp ChargeTransactionPayment) PreDispatch(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, ...) (primitives.Pre, error)
- func (ctp ChargeTransactionPayment) PreDispatchUnsigned(call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error
- func (ctp ChargeTransactionPayment) Validate(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, ...) (primitives.ValidTransaction, error)
- func (ctp ChargeTransactionPayment) ValidateUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChargeTransactionPayment ¶
func NewChargeTransactionPayment(module system.Module, txPaymentModule transaction_payment.Module, currencyAdapter primitives.CurrencyAdapter) primitives.SignedExtension
Types ¶
type ChargeTransactionPayment ¶
type ChargeTransactionPayment struct {
// contains filtered or unexported fields
}
func (ChargeTransactionPayment) AdditionalSigned ¶
func (ctp ChargeTransactionPayment) AdditionalSigned() (primitives.AdditionalSigned, error)
func (ChargeTransactionPayment) Bytes ¶
func (ctp ChargeTransactionPayment) Bytes() []byte
func (*ChargeTransactionPayment) Decode ¶
func (ctp *ChargeTransactionPayment) Decode(buffer *bytes.Buffer) error
func (ChargeTransactionPayment) DeepCopy ¶
func (ctp ChargeTransactionPayment) DeepCopy() primitives.SignedExtension
func (ChargeTransactionPayment) Encode ¶
func (ctp ChargeTransactionPayment) Encode(buffer *bytes.Buffer) error
func (ChargeTransactionPayment) ModulePath ¶
func (ctp ChargeTransactionPayment) ModulePath() string
func (ChargeTransactionPayment) PostDispatch ¶
func (ctp ChargeTransactionPayment) PostDispatch(pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, postInfo *primitives.PostDispatchInfo, length sc.Compact, dispatchErr error) error
func (ChargeTransactionPayment) PreDispatch ¶
func (ctp ChargeTransactionPayment) PreDispatch(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.Pre, error)
func (ChargeTransactionPayment) PreDispatchUnsigned ¶
func (ctp ChargeTransactionPayment) PreDispatchUnsigned(call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error
func (ChargeTransactionPayment) Validate ¶
func (ctp ChargeTransactionPayment) Validate(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)
func (ChargeTransactionPayment) ValidateUnsigned ¶
func (ctp ChargeTransactionPayment) ValidateUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)
Click to show internal directories.
Click to hide internal directories.