1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-12 17:38:13 +00:00
trezor-firmware/python/trezorlib/messages/TronTransferContract.py

22 lines
458 B
Python
Raw Normal View History

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