Documentation ¶
Index ¶
- type DefaultDispatchModule
- func (dmh DefaultDispatchModule) OffchainWorker(n sc.U64)
- func (dmh DefaultDispatchModule) OnFinalize(n sc.U64) error
- func (dmh DefaultDispatchModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
- func (dmh DefaultDispatchModule) OnInitialize(n sc.U64) (primitives.Weight, error)
- func (dmh DefaultDispatchModule) OnRuntimeUpgrade() primitives.Weight
- type DefaultOnRuntimeUpgrade
- type OnChargeTransaction
- type OnSetCode
- type OnTimestampSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultDispatchModule ¶
type DefaultDispatchModule struct{}
func (DefaultDispatchModule) OffchainWorker ¶
func (dmh DefaultDispatchModule) OffchainWorker(n sc.U64)
func (DefaultDispatchModule) OnFinalize ¶
func (dmh DefaultDispatchModule) OnFinalize(n sc.U64) error
func (DefaultDispatchModule) OnIdle ¶
func (dmh DefaultDispatchModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
func (DefaultDispatchModule) OnInitialize ¶
func (dmh DefaultDispatchModule) OnInitialize(n sc.U64) (primitives.Weight, error)
func (DefaultDispatchModule) OnRuntimeUpgrade ¶
func (dmh DefaultDispatchModule) OnRuntimeUpgrade() primitives.Weight
type DefaultOnRuntimeUpgrade ¶
type DefaultOnRuntimeUpgrade struct{}
func (DefaultOnRuntimeUpgrade) OnRuntimeUpgrade ¶
func (doru DefaultOnRuntimeUpgrade) OnRuntimeUpgrade() primitives.Weight
type OnChargeTransaction ¶
type OnChargeTransaction interface { CorrectAndDepositFee(who primitives.AccountId, correctedFee primitives.Balance, tip primitives.Balance, alreadyWithdrawn sc.Option[primitives.Balance]) error WithdrawFee(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, fee primitives.Balance, tip primitives.Balance) (sc.Option[primitives.Balance], error) }
type OnSetCode ¶
type OnSetCode interface { // SetCode sets the code to the given blob. SetCode(sc.Sequence[sc.U8]) error }
OnSetCode does something when we should be setting the code.
type OnTimestampSet ¶
Click to show internal directories.
Click to hide internal directories.