mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-07 13:12:41 +00:00
23 lines
530 B
Python
23 lines
530 B
Python
# Automatically generated by pb2py
|
|
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,
|
|
**kwargs,
|
|
):
|
|
self.namespace = namespace
|
|
self.mosaic = mosaic
|
|
self.quantity = quantity
|
|
p.MessageType.__init__(self, **kwargs)
|