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/python/trezorlib/messages/TronVote.py

22 lines
470 B

# Automatically generated by pb2py
# fmt: off
from .. import protobuf as p
class TronVote(p.MessageType):
def __init__(
self,
vote_address: bytes = None,
vote_count: int = None,
) -> None:
self.vote_address = vote_address
self.vote_count = vote_count
@classmethod
def get_fields(cls):
return {
1: ('vote_address', p.BytesType, 0),
2: ('vote_count', p.UVarintType, 0),
}