Documentation ¶
Index ¶
- func DepositIntoExisting(who types.Address32, value sc.U128) (types.Balance, types.DispatchError)
- func Withdraw(who types.Address32, value sc.U128, reasons sc.U8, ...) (types.Balance, types.DispatchError)
- type DustCleanerValue
- type ForceFreeCall
- func (c ForceFreeCall) Args() sc.VaryingData
- func (_ ForceFreeCall) BaseWeight(b ...any) types.Weight
- func (c ForceFreeCall) Bytes() []byte
- func (_ ForceFreeCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
- func (c ForceFreeCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
- func (_ ForceFreeCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
- func (c ForceFreeCall) Encode(buffer *bytes.Buffer)
- func (c ForceFreeCall) FunctionIndex() sc.U8
- func (_ ForceFreeCall) IsInherent() bool
- func (c ForceFreeCall) ModuleIndex() sc.U8
- func (_ ForceFreeCall) PaysFee(baseWeight types.Weight) types.Pays
- func (_ ForceFreeCall) WeightInfo(baseWeight types.Weight) types.Weight
- type ForceTransferCall
- func (c ForceTransferCall) Args() sc.VaryingData
- func (_ ForceTransferCall) BaseWeight(b ...any) types.Weight
- func (c ForceTransferCall) Bytes() []byte
- func (_ ForceTransferCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
- func (c ForceTransferCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
- func (_ ForceTransferCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
- func (c ForceTransferCall) Encode(buffer *bytes.Buffer)
- func (c ForceTransferCall) FunctionIndex() sc.U8
- func (_ ForceTransferCall) IsInherent() bool
- func (c ForceTransferCall) ModuleIndex() sc.U8
- func (_ ForceTransferCall) PaysFee(baseWeight types.Weight) types.Pays
- func (_ ForceTransferCall) WeightInfo(baseWeight types.Weight) types.Weight
- type NegativeImbalance
- type PositiveImbalance
- type SetBalanceCall
- func (c SetBalanceCall) Args() sc.VaryingData
- func (_ SetBalanceCall) BaseWeight(b ...any) types.Weight
- func (c SetBalanceCall) Bytes() []byte
- func (_ SetBalanceCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
- func (c SetBalanceCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
- func (_ SetBalanceCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
- func (c SetBalanceCall) Encode(buffer *bytes.Buffer)
- func (c SetBalanceCall) FunctionIndex() sc.U8
- func (_ SetBalanceCall) IsInherent() bool
- func (c SetBalanceCall) ModuleIndex() sc.U8
- func (_ SetBalanceCall) PaysFee(baseWeight types.Weight) types.Pays
- func (_ SetBalanceCall) WeightInfo(baseWeight types.Weight) types.Weight
- type TransferAllCall
- func (c TransferAllCall) Args() sc.VaryingData
- func (_ TransferAllCall) BaseWeight(b ...any) types.Weight
- func (c TransferAllCall) Bytes() []byte
- func (_ TransferAllCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
- func (c TransferAllCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
- func (_ TransferAllCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
- func (c TransferAllCall) Encode(buffer *bytes.Buffer)
- func (c TransferAllCall) FunctionIndex() sc.U8
- func (_ TransferAllCall) IsInherent() bool
- func (c TransferAllCall) ModuleIndex() sc.U8
- func (_ TransferAllCall) PaysFee(baseWeight types.Weight) types.Pays
- func (_ TransferAllCall) WeightInfo(baseWeight types.Weight) types.Weight
- type TransferCall
- func (c TransferCall) Args() sc.VaryingData
- func (_ TransferCall) BaseWeight(b ...any) types.Weight
- func (c TransferCall) Bytes() []byte
- func (_ TransferCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
- func (c TransferCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
- func (_ TransferCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
- func (c TransferCall) Encode(buffer *bytes.Buffer)
- func (c TransferCall) FunctionIndex() sc.U8
- func (_ TransferCall) IsInherent() bool
- func (c TransferCall) ModuleIndex() sc.U8
- func (_ TransferCall) PaysFee(baseWeight types.Weight) types.Pays
- func (_ TransferCall) WeightInfo(baseWeight types.Weight) types.Weight
- type TransferKeepAliveCall
- func (c TransferKeepAliveCall) Args() sc.VaryingData
- func (_ TransferKeepAliveCall) BaseWeight(b ...any) types.Weight
- func (c TransferKeepAliveCall) Bytes() []byte
- func (_ TransferKeepAliveCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
- func (c TransferKeepAliveCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
- func (_ TransferKeepAliveCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
- func (c TransferKeepAliveCall) Encode(buffer *bytes.Buffer)
- func (c TransferKeepAliveCall) FunctionIndex() sc.U8
- func (_ TransferKeepAliveCall) IsInherent() bool
- func (c TransferKeepAliveCall) ModuleIndex() sc.U8
- func (_ TransferKeepAliveCall) PaysFee(baseWeight types.Weight) types.Pays
- func (_ TransferKeepAliveCall) WeightInfo(baseWeight types.Weight) types.Weight
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DepositIntoExisting ¶
DepositIntoExisting deposits `value` into the free balance of an existing target account `who`. If `value` is 0, it does nothing.
Types ¶
type DustCleanerValue ¶
type DustCleanerValue struct { AccountId types.Address32 NegativeImbalance NegativeImbalance }
func (DustCleanerValue) Bytes ¶
func (dcv DustCleanerValue) Bytes() []byte
func (DustCleanerValue) Drop ¶
func (dcv DustCleanerValue) Drop()
func (DustCleanerValue) Encode ¶
func (dcv DustCleanerValue) Encode(buffer *bytes.Buffer)
type ForceFreeCall ¶
type ForceFreeCall struct {
primitives.Callable
}
func NewForceFreeCall ¶
func NewForceFreeCall(args sc.VaryingData) ForceFreeCall
func (ForceFreeCall) Args ¶
func (c ForceFreeCall) Args() sc.VaryingData
func (ForceFreeCall) BaseWeight ¶
func (_ ForceFreeCall) BaseWeight(b ...any) types.Weight
func (ForceFreeCall) Bytes ¶
func (c ForceFreeCall) Bytes() []byte
func (ForceFreeCall) ClassifyDispatch ¶
func (_ ForceFreeCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
func (ForceFreeCall) DecodeArgs ¶
func (c ForceFreeCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
func (ForceFreeCall) Dispatch ¶
func (_ ForceFreeCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
func (ForceFreeCall) Encode ¶
func (c ForceFreeCall) Encode(buffer *bytes.Buffer)
func (ForceFreeCall) FunctionIndex ¶
func (c ForceFreeCall) FunctionIndex() sc.U8
func (ForceFreeCall) IsInherent ¶
func (_ ForceFreeCall) IsInherent() bool
func (ForceFreeCall) ModuleIndex ¶
func (c ForceFreeCall) ModuleIndex() sc.U8
func (ForceFreeCall) WeightInfo ¶
func (_ ForceFreeCall) WeightInfo(baseWeight types.Weight) types.Weight
type ForceTransferCall ¶
type ForceTransferCall struct {
primitives.Callable
}
func NewForceTransferCall ¶
func NewForceTransferCall(args sc.VaryingData) ForceTransferCall
func (ForceTransferCall) Args ¶
func (c ForceTransferCall) Args() sc.VaryingData
func (ForceTransferCall) BaseWeight ¶
func (_ ForceTransferCall) BaseWeight(b ...any) types.Weight
func (ForceTransferCall) Bytes ¶
func (c ForceTransferCall) Bytes() []byte
func (ForceTransferCall) ClassifyDispatch ¶
func (_ ForceTransferCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
func (ForceTransferCall) DecodeArgs ¶
func (c ForceTransferCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
func (ForceTransferCall) Dispatch ¶
func (_ ForceTransferCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
func (ForceTransferCall) Encode ¶
func (c ForceTransferCall) Encode(buffer *bytes.Buffer)
func (ForceTransferCall) FunctionIndex ¶
func (c ForceTransferCall) FunctionIndex() sc.U8
func (ForceTransferCall) IsInherent ¶
func (_ ForceTransferCall) IsInherent() bool
func (ForceTransferCall) ModuleIndex ¶
func (c ForceTransferCall) ModuleIndex() sc.U8
func (ForceTransferCall) PaysFee ¶
func (_ ForceTransferCall) PaysFee(baseWeight types.Weight) types.Pays
func (ForceTransferCall) WeightInfo ¶
func (_ ForceTransferCall) WeightInfo(baseWeight types.Weight) types.Weight
type NegativeImbalance ¶
func NewNegativeImbalance ¶
func NewNegativeImbalance(balance types.Balance) NegativeImbalance
func (NegativeImbalance) Drop ¶
func (ni NegativeImbalance) Drop()
type PositiveImbalance ¶
func NewPositiveImbalance ¶
func NewPositiveImbalance(balance types.Balance) PositiveImbalance
func (PositiveImbalance) Drop ¶
func (pi PositiveImbalance) Drop()
type SetBalanceCall ¶
type SetBalanceCall struct {
primitives.Callable
}
func NewSetBalanceCall ¶
func NewSetBalanceCall(args sc.VaryingData) SetBalanceCall
func (SetBalanceCall) Args ¶
func (c SetBalanceCall) Args() sc.VaryingData
func (SetBalanceCall) BaseWeight ¶
func (_ SetBalanceCall) BaseWeight(b ...any) types.Weight
func (SetBalanceCall) Bytes ¶
func (c SetBalanceCall) Bytes() []byte
func (SetBalanceCall) ClassifyDispatch ¶
func (_ SetBalanceCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
func (SetBalanceCall) DecodeArgs ¶
func (c SetBalanceCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
func (SetBalanceCall) Dispatch ¶
func (_ SetBalanceCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
func (SetBalanceCall) Encode ¶
func (c SetBalanceCall) Encode(buffer *bytes.Buffer)
func (SetBalanceCall) FunctionIndex ¶
func (c SetBalanceCall) FunctionIndex() sc.U8
func (SetBalanceCall) IsInherent ¶
func (_ SetBalanceCall) IsInherent() bool
func (SetBalanceCall) ModuleIndex ¶
func (c SetBalanceCall) ModuleIndex() sc.U8
func (SetBalanceCall) WeightInfo ¶
func (_ SetBalanceCall) WeightInfo(baseWeight types.Weight) types.Weight
type TransferAllCall ¶
type TransferAllCall struct {
primitives.Callable
}
func NewTransferAllCall ¶
func NewTransferAllCall(args sc.VaryingData) TransferAllCall
func (TransferAllCall) Args ¶
func (c TransferAllCall) Args() sc.VaryingData
func (TransferAllCall) BaseWeight ¶
func (_ TransferAllCall) BaseWeight(b ...any) types.Weight
func (TransferAllCall) Bytes ¶
func (c TransferAllCall) Bytes() []byte
func (TransferAllCall) ClassifyDispatch ¶
func (_ TransferAllCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
func (TransferAllCall) DecodeArgs ¶
func (c TransferAllCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
func (TransferAllCall) Dispatch ¶
func (_ TransferAllCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
func (TransferAllCall) Encode ¶
func (c TransferAllCall) Encode(buffer *bytes.Buffer)
func (TransferAllCall) FunctionIndex ¶
func (c TransferAllCall) FunctionIndex() sc.U8
func (TransferAllCall) IsInherent ¶
func (_ TransferAllCall) IsInherent() bool
func (TransferAllCall) ModuleIndex ¶
func (c TransferAllCall) ModuleIndex() sc.U8
func (TransferAllCall) PaysFee ¶
func (_ TransferAllCall) PaysFee(baseWeight types.Weight) types.Pays
func (TransferAllCall) WeightInfo ¶
func (_ TransferAllCall) WeightInfo(baseWeight types.Weight) types.Weight
type TransferCall ¶
type TransferCall struct {
primitives.Callable
}
func NewTransferCall ¶
func NewTransferCall(args sc.VaryingData) TransferCall
func (TransferCall) Args ¶
func (c TransferCall) Args() sc.VaryingData
func (TransferCall) BaseWeight ¶
func (_ TransferCall) BaseWeight(b ...any) types.Weight
func (TransferCall) Bytes ¶
func (c TransferCall) Bytes() []byte
func (TransferCall) ClassifyDispatch ¶
func (_ TransferCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
func (TransferCall) DecodeArgs ¶
func (c TransferCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
func (TransferCall) Dispatch ¶
func (_ TransferCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
func (TransferCall) Encode ¶
func (c TransferCall) Encode(buffer *bytes.Buffer)
func (TransferCall) FunctionIndex ¶
func (c TransferCall) FunctionIndex() sc.U8
func (TransferCall) IsInherent ¶
func (_ TransferCall) IsInherent() bool
func (TransferCall) ModuleIndex ¶
func (c TransferCall) ModuleIndex() sc.U8
func (TransferCall) WeightInfo ¶
func (_ TransferCall) WeightInfo(baseWeight types.Weight) types.Weight
type TransferKeepAliveCall ¶
type TransferKeepAliveCall struct {
primitives.Callable
}
func NewTransferKeepAliveCall ¶
func NewTransferKeepAliveCall(args sc.VaryingData) TransferKeepAliveCall
func (TransferKeepAliveCall) Args ¶
func (c TransferKeepAliveCall) Args() sc.VaryingData
func (TransferKeepAliveCall) BaseWeight ¶
func (_ TransferKeepAliveCall) BaseWeight(b ...any) types.Weight
func (TransferKeepAliveCall) Bytes ¶
func (c TransferKeepAliveCall) Bytes() []byte
func (TransferKeepAliveCall) ClassifyDispatch ¶
func (_ TransferKeepAliveCall) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
func (TransferKeepAliveCall) DecodeArgs ¶
func (c TransferKeepAliveCall) DecodeArgs(buffer *bytes.Buffer) primitives.Call
func (TransferKeepAliveCall) Dispatch ¶
func (_ TransferKeepAliveCall) Dispatch(origin types.RuntimeOrigin, args sc.VaryingData) types.DispatchResultWithPostInfo[types.PostDispatchInfo]
func (TransferKeepAliveCall) Encode ¶
func (c TransferKeepAliveCall) Encode(buffer *bytes.Buffer)
func (TransferKeepAliveCall) FunctionIndex ¶
func (c TransferKeepAliveCall) FunctionIndex() sc.U8
func (TransferKeepAliveCall) IsInherent ¶
func (_ TransferKeepAliveCall) IsInherent() bool
func (TransferKeepAliveCall) ModuleIndex ¶
func (c TransferKeepAliveCall) ModuleIndex() sc.U8
func (TransferKeepAliveCall) PaysFee ¶
func (_ TransferKeepAliveCall) PaysFee(baseWeight types.Weight) types.Pays
func (TransferKeepAliveCall) WeightInfo ¶
func (_ TransferKeepAliveCall) WeightInfo(baseWeight types.Weight) types.Weight
Click to show internal directories.
Click to hide internal directories.