2018-07-04 15:13:46 +00:00
|
|
|
# Automatically generated by pb2py
|
|
|
|
# fmt: off
|
|
|
|
import protobuf as p
|
|
|
|
|
|
|
|
|
|
|
|
class TezosSignedTx(p.MessageType):
|
|
|
|
MESSAGE_WIRE_TYPE = 153
|
|
|
|
|
|
|
|
def __init__(
|
|
|
|
self,
|
2018-08-20 17:37:47 +00:00
|
|
|
signature: str = None,
|
2018-07-04 15:13:46 +00:00
|
|
|
sig_op_contents: bytes = None,
|
|
|
|
operation_hash: str = None,
|
|
|
|
) -> None:
|
|
|
|
self.signature = signature
|
|
|
|
self.sig_op_contents = sig_op_contents
|
|
|
|
self.operation_hash = operation_hash
|
2018-09-18 12:12:35 +00:00
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def get_fields(cls):
|
|
|
|
return {
|
|
|
|
1: ('signature', p.UnicodeType, 0),
|
|
|
|
2: ('sig_op_contents', p.BytesType, 0),
|
|
|
|
3: ('operation_hash', p.UnicodeType, 0),
|
|
|
|
}
|