dispatchables

package
v0.0.1-rc-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestCall

type TestCall struct {
	primitives.Callable
}

func NewTestCall

func NewTestCall(args sc.VaryingData) TestCall

func (TestCall) Args

func (c TestCall) Args() sc.VaryingData

func (TestCall) BaseWeight

func (_ TestCall) BaseWeight(args ...any) types.Weight

func (TestCall) Bytes

func (c TestCall) Bytes() []byte

func (TestCall) ClassifyDispatch

func (_ TestCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass

func (TestCall) DecodeArgs

func (c TestCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call

func (TestCall) Encode

func (c TestCall) Encode(buffer *bytes.Buffer)

func (TestCall) FunctionIndex

func (c TestCall) FunctionIndex() sc.U8

func (TestCall) IsInherent

func (_ TestCall) IsInherent() bool

func (TestCall) ModuleIndex

func (c TestCall) ModuleIndex() sc.U8

func (TestCall) PaysFee

func (_ TestCall) PaysFee(baseWeight types.Weight) types.Pays

func (TestCall) WeightInfo

func (_ TestCall) WeightInfo(baseWeight types.Weight) types.Weight

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL