drivers

package
v0.0.0-...-d4ead40 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0, MIT Imports: 50 Imported by: 0

Documentation

Index

Constants

View Source
const SerializedInputTypeKey = "type"

Variables

This section is empty.

Functions

func CheckError

func CheckError(driver Driver, err error) errors.Status

func MarshalTxInput

func MarshalTxInput(methodInput xc.TxInput) ([]byte, error)

func MarshalVariantInput

func MarshalVariantInput(methodInput xc.TxVariantInput) ([]byte, error)

func NewAddressBuilder

func NewAddressBuilder(cfg *ChainBaseConfig, options ...xcaddress.AddressOption) (AddressBuilder, error)

func NewClient

func NewClient(cfg ITask, driver Driver) (xclient.Client, error)

func NewSigner

func NewSigner(chain *ChainBaseConfig, secret string, options ...xcaddress.AddressOption) (*signer.Signer, error)

func NewStakingClient

func NewStakingClient(servicesConfig *services.ServicesConfig, cfg ITask, provider StakingProvider) (xclient.StakingClient, error)

func NewTxBuilder

func NewTxBuilder(cfg *ChainBaseConfig) (xcbuilder.FullTransferBuilder, error)

func NewTxInput

func NewTxInput(driver xc.Driver) (xc.TxInput, error)

func NewVariantInput

func NewVariantInput(variantType xc.TxVariantInputType) (xc.TxVariantInput, error)

func UnmarshalStakingInput

func UnmarshalStakingInput(data []byte) (xc.StakeTxInput, error)

func UnmarshalTxInput

func UnmarshalTxInput(data []byte) (xc.TxInput, error)

func UnmarshalUnstakingInput

func UnmarshalUnstakingInput(data []byte) (xc.UnstakeTxInput, error)

func UnmarshalVariantInput

func UnmarshalVariantInput(data []byte) (xc.TxVariantInput, error)

func UnmarshalWithdrawingInput

func UnmarshalWithdrawingInput(data []byte) (xc.WithdrawTxInput, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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