Some transaction "layout" documentation only changes, including missing entry for "recipient" in TRANSFER_ASSET transactions

This commit is contained in:
catbref 2020-01-13 15:47:11 +00:00
parent 3e3c0affb0
commit c3a6e0d9fd
3 changed files with 4 additions and 3 deletions

View File

@ -43,14 +43,14 @@ public class ArbitraryTransactionTransformer extends TransactionTransformer {
layout.add("transaction's groupID", TransformationType.INT); layout.add("transaction's groupID", TransformationType.INT);
layout.add("reference", TransformationType.SIGNATURE); layout.add("reference", TransformationType.SIGNATURE);
layout.add("sender's public key", TransformationType.PUBLIC_KEY); layout.add("sender's public key", TransformationType.PUBLIC_KEY);
layout.add("number of payments", TransformationType.INT); layout.add("number of payments (v3+)", TransformationType.INT);
layout.add("* recipient", TransformationType.ADDRESS); layout.add("* recipient", TransformationType.ADDRESS);
layout.add("* asset ID of payment", TransformationType.LONG); layout.add("* asset ID of payment", TransformationType.LONG);
layout.add("* payment amount", TransformationType.AMOUNT); layout.add("* payment amount", TransformationType.AMOUNT);
layout.add("service ID", TransformationType.INT); layout.add("service ID", TransformationType.INT);
layout.add("is data raw?", TransformationType.BOOLEAN); layout.add("is data raw? (v4+)", TransformationType.BOOLEAN);
layout.add("data length", TransformationType.INT); layout.add("data length", TransformationType.INT);
layout.add("data", TransformationType.DATA); layout.add("data", TransformationType.DATA);
layout.add("fee", TransformationType.AMOUNT); layout.add("fee", TransformationType.AMOUNT);

View File

@ -41,7 +41,7 @@ public class MessageTransactionTransformer extends TransactionTransformer {
layout.add("reference", TransformationType.SIGNATURE); layout.add("reference", TransformationType.SIGNATURE);
layout.add("sender's public key", TransformationType.PUBLIC_KEY); layout.add("sender's public key", TransformationType.PUBLIC_KEY);
layout.add("recipient", TransformationType.ADDRESS); layout.add("recipient", TransformationType.ADDRESS);
layout.add("asset ID of payment", TransformationType.LONG); layout.add("asset ID of payment (v2+)", TransformationType.LONG);
layout.add("payment (can be zero)", TransformationType.AMOUNT); layout.add("payment (can be zero)", TransformationType.AMOUNT);
layout.add("message length", TransformationType.INT); layout.add("message length", TransformationType.INT);
layout.add("message", TransformationType.DATA); layout.add("message", TransformationType.DATA);

View File

@ -33,6 +33,7 @@ public class TransferAssetTransactionTransformer extends TransactionTransformer
layout.add("transaction's groupID", TransformationType.INT); layout.add("transaction's groupID", TransformationType.INT);
layout.add("reference", TransformationType.SIGNATURE); layout.add("reference", TransformationType.SIGNATURE);
layout.add("asset owner's public key", TransformationType.PUBLIC_KEY); layout.add("asset owner's public key", TransformationType.PUBLIC_KEY);
layout.add("recipient", TransformationType.ADDRESS);
layout.add("asset quantity", TransformationType.ASSET_QUANTITY); layout.add("asset quantity", TransformationType.ASSET_QUANTITY);
layout.add("asset ID", TransformationType.LONG); layout.add("asset ID", TransformationType.LONG);
layout.add("fee", TransformationType.AMOUNT); layout.add("fee", TransformationType.AMOUNT);