mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-07 13:12:41 +00:00
21 lines
490 B
Python
21 lines
490 B
Python
# Automatically generated by pb2py
|
|
import protobuf as p
|
|
|
|
|
|
class EthereumSignMessage(p.MessageType):
|
|
FIELDS = {
|
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
|
2: ('message', p.BytesType, 0), # required
|
|
}
|
|
MESSAGE_WIRE_TYPE = 64
|
|
|
|
def __init__(
|
|
self,
|
|
address_n: list = [],
|
|
message: bytes = None,
|
|
**kwargs,
|
|
):
|
|
self.address_n = address_n
|
|
self.message = message
|
|
p.MessageType.__init__(self, **kwargs)
|