1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-09 17:10:17 +00:00
trezor-firmware/trezorlib/messages/EthereumVerifyMessage.py

22 lines
519 B
Python

# Automatically generated by pb2py
from .. import protobuf as p
class EthereumVerifyMessage(p.MessageType):
MESSAGE_WIRE_TYPE = 65
FIELDS = {
1: ('address', p.BytesType, 0),
2: ('signature', p.BytesType, 0),
3: ('message', p.BytesType, 0),
}
def __init__(
self,
address: bytes = None,
signature: bytes = None,
message: bytes = None
) -> None:
self.address = address
self.signature = signature
self.message = message