mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-15 02:58:12 +00:00
33 lines
806 B
Python
33 lines
806 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 LiskMultisignatureType(p.MessageType):
|
|
|
|
def __init__(
|
|
self,
|
|
*,
|
|
keys_group: List[str] = None,
|
|
min: int = None,
|
|
life_time: int = None,
|
|
) -> None:
|
|
self.keys_group = keys_group if keys_group is not None else []
|
|
self.min = min
|
|
self.life_time = life_time
|
|
|
|
@classmethod
|
|
def get_fields(cls) -> Dict:
|
|
return {
|
|
1: ('min', p.UVarintType, None),
|
|
2: ('life_time', p.UVarintType, None),
|
|
3: ('keys_group', p.UnicodeType, p.FLAG_REPEATED),
|
|
}
|