parent
668a52b85f
commit
c0a823ca1c
@ -0,0 +1,15 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
|
||||||
|
|
||||||
|
class StellarAddress(p.MessageType):
|
||||||
|
MESSAGE_WIRE_TYPE = 208
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address', p.UnicodeType, 0),
|
||||||
|
}
|
||||||
|
|
||||||
|
def __init__(
|
||||||
|
self,
|
||||||
|
address: str = None
|
||||||
|
) -> None:
|
||||||
|
self.address = address
|
@ -0,0 +1,20 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
from .. import protobuf as p
|
||||||
|
if __debug__:
|
||||||
|
try:
|
||||||
|
from typing import List
|
||||||
|
except ImportError:
|
||||||
|
List = None
|
||||||
|
|
||||||
|
|
||||||
|
class StellarGetAddress(p.MessageType):
|
||||||
|
MESSAGE_WIRE_TYPE = 207
|
||||||
|
FIELDS = {
|
||||||
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
|
}
|
||||||
|
|
||||||
|
def __init__(
|
||||||
|
self,
|
||||||
|
address_n: List[int] = None
|
||||||
|
) -> None:
|
||||||
|
self.address_n = address_n if address_n is not None else []
|
Loading…
Reference in new issue