mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-30 10:08:18 +00:00
22 lines
519 B
Python
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
|