2017-12-12 15:40:11 +00:00
|
|
|
# Automatically generated by pb2py
|
|
|
|
from __future__ import absolute_import
|
|
|
|
from .. import protobuf as p
|
2018-01-12 11:54:06 +00:00
|
|
|
from .NEMAggregateModification import NEMAggregateModification
|
2017-12-12 15:40:11 +00:00
|
|
|
from .NEMImportanceTransfer import NEMImportanceTransfer
|
2018-01-12 11:58:39 +00:00
|
|
|
from .NEMMosaicCreation import NEMMosaicCreation
|
|
|
|
from .NEMMosaicSupplyChange import NEMMosaicSupplyChange
|
|
|
|
from .NEMProvisionNamespace import NEMProvisionNamespace
|
|
|
|
from .NEMTransactionCommon import NEMTransactionCommon
|
|
|
|
from .NEMTransfer import NEMTransfer
|
2017-12-12 15:40:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
class NEMSignTx(p.MessageType):
|
|
|
|
FIELDS = {
|
|
|
|
1: ('transaction', NEMTransactionCommon, 0),
|
|
|
|
2: ('multisig', NEMTransactionCommon, 0),
|
|
|
|
3: ('transfer', NEMTransfer, 0),
|
|
|
|
4: ('cosigning', p.BoolType, 0),
|
|
|
|
5: ('provision_namespace', NEMProvisionNamespace, 0),
|
|
|
|
6: ('mosaic_creation', NEMMosaicCreation, 0),
|
|
|
|
7: ('supply_change', NEMMosaicSupplyChange, 0),
|
|
|
|
8: ('aggregate_modification', NEMAggregateModification, 0),
|
|
|
|
9: ('importance_transfer', NEMImportanceTransfer, 0),
|
|
|
|
}
|
|
|
|
MESSAGE_WIRE_TYPE = 69
|