mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 05:48:23 +00:00
21 lines
480 B
Python
21 lines
480 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
|
|
|
|
class NEMMosaic(p.MessageType):
|
|
FIELDS = {
|
|
1: ('namespace', p.UnicodeType, 0),
|
|
2: ('mosaic', p.UnicodeType, 0),
|
|
3: ('quantity', p.UVarintType, 0),
|
|
}
|
|
|
|
def __init__(
|
|
self,
|
|
namespace: str = None,
|
|
mosaic: str = None,
|
|
quantity: int = None
|
|
) -> None:
|
|
self.namespace = namespace
|
|
self.mosaic = mosaic
|
|
self.quantity = quantity
|