2021-04-04 14:55:27 +02:00
|
|
|
# standard imports
|
|
|
|
import enum
|
|
|
|
|
|
|
|
class Status(enum.Enum):
|
2021-08-21 09:31:59 +02:00
|
|
|
"""Representation of transaction status in network.
|
|
|
|
"""
|
2022-05-09 12:00:58 +02:00
|
|
|
UNKNOWN = -1
|
2021-04-04 14:55:27 +02:00
|
|
|
PENDING = 0
|
|
|
|
SUCCESS = 1
|
|
|
|
ERROR = 2
|