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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemarkCall

type RemarkCall struct {
	primitives.Callable
}

func NewRemarkCall

func NewRemarkCall(args sc.VaryingData) RemarkCall

func (RemarkCall) Args

func (c RemarkCall) Args() sc.VaryingData

func (RemarkCall) BaseWeight

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

Make some on-chain remark.

## Complexity - `O(1)` The range of component `b` is `[0, 3932160]`.

func (RemarkCall) Bytes

func (c RemarkCall) Bytes() []byte

func (RemarkCall) ClassifyDispatch

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

func (RemarkCall) DecodeArgs

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

func (RemarkCall) Encode

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

func (RemarkCall) FunctionIndex

func (c RemarkCall) FunctionIndex() sc.U8

func (RemarkCall) IsInherent

func (_ RemarkCall) IsInherent() bool

func (RemarkCall) ModuleIndex

func (c RemarkCall) ModuleIndex() sc.U8

func (RemarkCall) PaysFee

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

func (RemarkCall) WeightInfo

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

Jump to

Keyboard shortcuts

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