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/src/trezor/messages/TezosTransactionType.py

23 lines
570 B

# Automatically generated by pb2py
# fmt: off
import protobuf as p
from .TezosContractID import TezosContractID
class TezosTransactionType(p.MessageType):
FIELDS = {
1: ('amount', p.UVarintType, 0),
2: ('destination', TezosContractID, 0),
3: ('parameters', p.BytesType, 0),
}
def __init__(
self,
amount: int = None,
destination: TezosContractID = None,
parameters: bytes = None,
) -> None:
self.amount = amount
self.destination = destination
self.parameters = parameters