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/TronTransferContract.py

22 lines
458 B

# 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),
}