1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-06 14:52:33 +00:00
trezor-firmware/core/src/trezor/messages/EosActionUnlinkAuth.py
2020-09-23 16:00:10 +02:00

33 lines
724 B
Python

# Automatically generated by pb2py
# fmt: off
import protobuf as p
if __debug__:
try:
from typing import Dict, List # noqa: F401
from typing_extensions import Literal # noqa: F401
except ImportError:
pass
class EosActionUnlinkAuth(p.MessageType):
def __init__(
self,
*,
account: int = None,
code: int = None,
type: int = None,
) -> None:
self.account = account
self.code = code
self.type = type
@classmethod
def get_fields(cls) -> Dict:
return {
1: ('account', p.UVarintType, None),
2: ('code', p.UVarintType, None),
3: ('type', p.UVarintType, None),
}