enum

package
v0.7.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IN_NETWORK             OtxStatus = "IN_NETWORK"
	OBSOLETE               OtxStatus = "OBSOLETE"
	SUCCESS                OtxStatus = "SUCCESS"
	FAIL_NO_GAS            OtxStatus = "FAIL_NO_GAS"
	FAIL_LOW_NONCE         OtxStatus = "FAIL_LOW_NONCE"
	FAIL_LOW_GAS_PRICE     OtxStatus = "FAIL_LOW_GAS_PRICE"
	FAIL_UNKNOWN_RPC_ERROR OtxStatus = "FAIL_UNKNOWN_RPC_ERROR"
	REVERTED               OtxStatus = "REVERTED"

	ACCOUNT_REGISTER OtxType = "ACCOUNT_REGISTER"
	REFILL_GAS       OtxType = "REFILL_GAS"
	TRANSFER_AUTH    OtxType = "TRANSFER_AUTHORIZATION"
	TRANSFER_VOUCHER OtxType = "TRANSFER_VOUCHER"
)

NOTE: These values must also be inserted/updated into db to enforce referential integrity.

Variables

This section is empty.

Functions

This section is empty.

Types

type OtxStatus

type OtxStatus string

OtxStatus represents enum-like values received in the dispatcher from the RPC node or Network callback. It includes a subset of well-known and likely failures the dispatcher may encounter.

type OtxType

type OtxType string

OtxType reprsents the specific type of signed transaction.

Jump to

Keyboard shortcuts

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