mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 20:38:10 +00:00
nem: transaction importance transfer
This commit is contained in:
parent
48c6686dca
commit
667585041c
@ -125,6 +125,20 @@ def nem_transaction_create_mosaic_supply_change(network: int, timestamp: int, si
|
||||
return w
|
||||
|
||||
|
||||
def nem_transaction_create_importance_transfer(network: int, timestamp: int, signer_public_key: bytes, fee: int,
|
||||
deadline: int, mode: int, remote: bytes):
|
||||
|
||||
w = _nem_transaction_write_common(NEM_TRANSACTION_TYPE_IMPORTANCE_TRANSFER,
|
||||
_nem_get_version(network),
|
||||
timestamp,
|
||||
signer_public_key,
|
||||
fee,
|
||||
deadline)
|
||||
|
||||
write_uint32(w, mode)
|
||||
write_bytes_with_length(w, bytearray(remote))
|
||||
|
||||
|
||||
def nem_transaction_create_aggregate_modification(network: int, timestamp: int, signer_public_key: bytes, fee: int,
|
||||
deadline: int, modifications: int, relative_change: bool):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user