2018-04-16 19:45:19 +00:00
|
|
|
# Automatically generated by pb2py
|
2018-07-02 16:40:24 +00:00
|
|
|
# fmt: off
|
2018-04-16 19:45:19 +00:00
|
|
|
import protobuf as p
|
2018-05-24 13:41:57 +00:00
|
|
|
if __debug__:
|
|
|
|
try:
|
|
|
|
from typing import List
|
|
|
|
except ImportError:
|
2018-07-02 16:40:24 +00:00
|
|
|
List = None # type: ignore
|
2018-04-16 19:45:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
class StellarGetPublicKey(p.MessageType):
|
2018-05-24 13:41:57 +00:00
|
|
|
MESSAGE_WIRE_TYPE = 200
|
2018-04-16 19:45:19 +00:00
|
|
|
FIELDS = {
|
|
|
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
2018-06-28 09:21:07 +00:00
|
|
|
2: ('show_display', p.BoolType, 0),
|
2018-04-16 19:45:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
def __init__(
|
|
|
|
self,
|
2018-06-28 09:21:07 +00:00
|
|
|
address_n: List[int] = None,
|
2018-07-02 16:40:24 +00:00
|
|
|
show_display: bool = None,
|
2018-05-24 13:41:57 +00:00
|
|
|
) -> None:
|
|
|
|
self.address_n = address_n if address_n is not None else []
|
2018-06-28 09:21:07 +00:00
|
|
|
self.show_display = show_display
|