pay

package
v0.0.0-...-cd62ce9 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT, GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ERR_LARGER_DATA               = errors.New("err_larger_data")
	ERR_INVALID_OWNER             = errors.New("err_invalid_owner")
	ERR_INVALID_TX_VERSION        = errors.New("err_invalid_tx_version")
	ERR_INVALID_AMOUNT            = errors.New("err_invalid_amount")
	ERR_INVALID_FEE               = errors.New("err_invalid_fee")
	ERR_INVALID_TARGET_CHAIN_TYPE = errors.New("err_invalid_target_chain_type")
	ERR_INVALID_FEE_RECIPIENT     = errors.New("err_invalid_fee_recipient")
	ERR_INVALID_CHAINID           = errors.New("err_invalid_chainid")
	ERR_INVALID_BUNDLE_DATA       = errors.New("err_invalid_bundle_data")
	ERR_BUNDLE_EXECUTED           = errors.New("err_bundle_executed")
	ERR_BUNDLE_EXPIRED            = errors.New("err_bundle_expired")
	ERR_BUNDLE_SALT               = errors.New("err_bundle_salt")
	ERR_BUNDLE_VERSION            = errors.New("err_bundle_version")
	ERR_NOT_FOUND_TOKEN           = errors.New("err_token_not_found")
	ERR_NOT_FOUND_BUNDLE_SIG      = errors.New("err_not_found_bundle_sig")
	ERR_NOT_FOUND_BUNDLE_ITEMS    = errors.New("err_not_found_bundle_items")
)

Functions

func AsTokenTx

func AsTokenTx(t schema.Transaction) (tokenTx tokSchema.Transaction,
	err error)

func GetTargetChainTypeFromData

func GetTargetChainTypeFromData(txData, txAction, txChainType string) (string,
	error)

func VerifyBundleSigs

func VerifyBundleSigs(stx schema.BundleWithSigs) *schema.InternalErr

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