You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/src/trezor/messages/EosPermissionLevel.py

30 lines
672 B

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