2020-09-14 11:56:11 +00:00
|
|
|
# Automatically generated by pb2py
|
|
|
|
# fmt: off
|
|
|
|
from .. import protobuf as p
|
|
|
|
|
2020-09-23 11:08:26 +00:00
|
|
|
from .TxInput import TxInput
|
2020-09-14 11:56:11 +00:00
|
|
|
|
|
|
|
if __debug__:
|
|
|
|
try:
|
|
|
|
from typing import Dict, List # noqa: F401
|
|
|
|
from typing_extensions import Literal # noqa: F401
|
|
|
|
except ImportError:
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class TxAckInputWrapper(p.MessageType):
|
|
|
|
|
|
|
|
def __init__(
|
|
|
|
self,
|
|
|
|
*,
|
2020-09-23 11:08:26 +00:00
|
|
|
input: TxInput,
|
2020-09-14 11:56:11 +00:00
|
|
|
) -> None:
|
|
|
|
self.input = input
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def get_fields(cls) -> Dict:
|
|
|
|
return {
|
2020-09-23 11:08:26 +00:00
|
|
|
2: ('input', TxInput, p.FLAG_REQUIRED),
|
2020-09-14 11:56:11 +00:00
|
|
|
}
|