executor

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//KeyPrefixStateDB state db key必须前缀
	KeyPrefixStateDB = "mavl-rgbx-"
	//KeyPrefixLocalDB local db的key必须前缀
	KeyPrefixLocalDB = "LODB-rgbx-"
)

Variables

View Source
var (
	ErrInvalidSymbolLength              = errors.New("invalid asset symbol length")
	ErrInvalidAssetAmount               = errors.New("invalid asset amount")
	ErrInvalidMetaHashLength            = errors.New("invalid meta hash length")
	ErrNilGenesisOut                    = errors.New("nil genesis output")
	ErrDuplicateAssetSymbol             = errors.New("duplicate asset symbol")
	ErrAssetNotExist                    = errors.New("asset not exist")
	ErrDecodeBtcTx                      = errors.New("decode btc tx error")
	ErrPendingTxNotExist                = errors.New("pending tx not exist")
	ErrConfirmPayloadNotExist           = errors.New("confirm payload not exist")
	ErrTxAlreadyConfirmed               = errors.New("tx already confirmed")
	ErrConfirmedHashNotEqual            = errors.New("confirmed hash not equal")
	ErrSpendingInputNotEqual            = errors.New("spending input not equal")
	ErrInvalidCommitAddress             = errors.New("ErrInvalidCommitAddress")
	ErrFromUtxoPkScriptNotSet           = errors.New("ErrFromUtxoPkScriptNotSet")
	ErrInvalidAssetPrecision            = errors.New("ErrInvalidAssetPrecision")
	ErrInvalidAssetSender               = errors.New("ErrInvalidAssetSender")
	ErrInvalidFromUtxo                  = errors.New("invalid from utxo")
	ErrInvalidSpendingTxIn              = errors.New("ErrInvalidSpendingTxIn")
	ErrInvalidWithdrawAmount            = errors.New("invalid withdraw amount")
	ErrInvalidWithdrawDestination       = errors.New("invalid withdraw destination")
	ErrInvalidWithdrawDestinationScript = errors.New("invalid withdraw destination script")
	ErrInvalidDepositAmount             = errors.New("invalid deposit amount")
	ErrInvalidDepositAddress            = errors.New("invalid deposit address")
	ErrInvalidDepositCommitment         = errors.New("invalid deposit opreturn commitment")
	ErrInvalidWithdrawFeeRate           = errors.New("invalid withdraw fee rate")
	ErrInvalidAssetSymbol               = errors.New("invalid asset symbol")
	ErrInvalidBtcTxProof                = errors.New("invalid btc tx proof")
	ErrWithdrawConfirmTimeoutNotAllowed = errors.New("withdraw confirm timeout not allowed")
	ErrInvalidBtcBlockHash              = errors.New("invalid btc block hash")
	ErrGetBtcHeader                     = errors.New("get btc header error")
	ErrInvalidBtcProofBlock             = errors.New("invalid btc proof block info")
	ErrInvalidBtcProofCommitment        = errors.New("invalid btc withdraw commitment")
	ErrInvalidBtcProofMerkle            = errors.New("invalid btc merkle proof")
	ErrCalcBtcMerkleRoot                = errors.New("calc btc merkle root error")
	ErrInvalidCrossChainInfo            = errors.New("invalid cross chain info")
	ErrNewAccountDB                     = errors.New("new account db error")
	ErrGetCrossChainInfo                = errors.New("get cross chain info error")
	ErrDuplicateDepositProof            = errors.New("duplicate deposit proof")
	ErrInvalidGuardianCommitter         = errors.New("invalid guardian committer")
	ErrDuplicateDKGCommit               = errors.New("duplicate dkg commit")
	ErrGetGuardianNodeAddress           = errors.New("get guardian node address error")
	ErrGetDkgConfirmations              = errors.New("get dkg confirmations error")
	ErrInvalidDkgAddress                = errors.New("invalid dkg address")
)

Functions

func GetName

func GetName() string

GetName get driver name

func Init

func Init(_ string, cfg *types.Chain33Config, sub []byte)

Init register dapp

func InitExecType

func InitExecType()

InitExecType Init Exec Type

Types

This section is empty.

Jump to

Keyboard shortcuts

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