1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-12 07:32:48 +00:00
trezor-firmware/src/trezor/messages/NEMGetAddress.py

27 lines
673 B
Python
Raw Normal View History

# Automatically generated by pb2py
import protobuf as p
if __debug__:
try:
from typing import List
except ImportError:
List = None
class NEMGetAddress(p.MessageType):
MESSAGE_WIRE_TYPE = 67
FIELDS = {
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
2: ('network', p.UVarintType, 0),
3: ('show_display', p.BoolType, 0),
}
2018-02-25 17:48:44 +00:00
def __init__(
self,
address_n: List[int] = None,
2018-02-25 17:48:44 +00:00
network: int = None,
show_display: bool = None
) -> None:
self.address_n = address_n if address_n is not None else []
2018-02-25 17:48:44 +00:00
self.network = network
self.show_display = show_display