Documentation ¶
Index ¶
- type TestableModule
- func (tm TestableModule) Functions() map[sc.U8]primitives.Call
- func (tm TestableModule) Metadata() (sc.Sequence[primitives.MetadataType], primitives.MetadataModule)
- func (tm TestableModule) PreDispatch(_ primitives.Call) (sc.Empty, primitives.TransactionValidityError)
- func (tm TestableModule) ValidateUnsigned(_ primitives.TransactionSource, _ primitives.Call) (primitives.ValidTransaction, primitives.TransactionValidityError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestableModule ¶
type TestableModule struct {
// contains filtered or unexported fields
}
func NewTestingModule ¶
func NewTestingModule() TestableModule
func (TestableModule) Functions ¶
func (tm TestableModule) Functions() map[sc.U8]primitives.Call
func (TestableModule) Metadata ¶
func (tm TestableModule) Metadata() (sc.Sequence[primitives.MetadataType], primitives.MetadataModule)
func (TestableModule) PreDispatch ¶
func (tm TestableModule) PreDispatch(_ primitives.Call) (sc.Empty, primitives.TransactionValidityError)
func (TestableModule) ValidateUnsigned ¶
func (tm TestableModule) ValidateUnsigned(_ primitives.TransactionSource, _ primitives.Call) (primitives.ValidTransaction, primitives.TransactionValidityError)
Click to show internal directories.
Click to hide internal directories.