chainqueue/chainqueue/fs/otx.py
2021-06-02 12:59:04 +02:00

15 lines
315 B
Python

# local imports
from chainqueue.enum import (
StatusEnum,
StatusBits,
)
class Otx:
def __init__(self, nonce, tx_hash, signed_tx):
self.nonce = nonce
self.tx_hash = strip_0x(tx_hash)
self.signed_tx = strip_0x(signed_tx)
self.status = StatusEnum.PENDING