From 7b5056a9767eb2a86113dca94440572884d70446 Mon Sep 17 00:00:00 2001 From: neodiX Date: Sat, 7 Sep 2024 20:51:59 +0400 Subject: [PATCH] fix javadocs in tlb type classes --- .../org/ton/java/tlb/types/AccountBlock.java | 11 ++++--- .../ton/java/tlb/types/AccountStorage.java | 11 ++++--- .../org/ton/java/tlb/types/ActionPhase.java | 11 ++++--- .../java/tlb/types/ActionReserveCurrency.java | 7 +++-- .../org/ton/java/tlb/types/ActionSendMsg.java | 7 +++-- .../org/ton/java/tlb/types/ActionSetCode.java | 9 ++++-- .../java/org/ton/java/tlb/types/Anycast.java | 11 ++++--- .../java/org/ton/java/tlb/types/Block.java | 11 ++++--- .../ton/java/tlb/types/BlockCreateStats.java | 2 ++ .../java/tlb/types/BlockCreateStatsExt.java | 2 ++ .../tlb/types/BlockCreateStatsOrdinary.java | 2 ++ .../java/tlb/types/BlockIdExtShardIdent.java | 9 ++++-- .../org/ton/java/tlb/types/BlockInfo.java | 11 ++++--- .../org/ton/java/tlb/types/BlockProof.java | 11 ++++--- .../ton/java/tlb/types/BlockSignatures.java | 15 +++++---- .../java/tlb/types/BlockSignaturesPure.java | 11 ++++--- .../main/java/org/ton/java/tlb/types/Boc.java | 2 ++ .../java/tlb/types/BouncePhaseNegFounds.java | 9 ++++-- .../java/tlb/types/BouncePhaseNoFounds.java | 11 ++++--- .../org/ton/java/tlb/types/BouncePhaseOk.java | 11 ++++--- .../ton/java/tlb/types/CatchainConfig.java | 1 - .../org/ton/java/tlb/types/CommonMsgInfo.java | 6 ++-- .../java/tlb/types/CommonMsgInfoRelaxed.java | 4 ++- .../java/tlb/types/ComputePhaseVMDetails.java | 11 ++++--- .../org/ton/java/tlb/types/CreatorStats.java | 9 ++++-- .../org/ton/java/tlb/types/CreditPhase.java | 11 ++++--- .../ton/java/tlb/types/CryptoSignature.java | 10 ++++-- .../java/tlb/types/CryptoSignaturePair.java | 9 ++++-- .../java/tlb/types/CurrencyCollection.java | 11 ++++--- .../ton/java/tlb/types/DepthBalanceInfo.java | 10 +++--- .../org/ton/java/tlb/types/EnqueuedMsg.java | 9 ++++-- .../org/ton/java/tlb/types/ExtBlkRef.java | 11 ++++--- .../java/tlb/types/ExternalMessageInfo.java | 17 +++++----- .../tlb/types/ExternalMessageOutInfo.java | 19 +++++++----- .../types/ExternalMessageOutInfoRelaxed.java | 19 +++++++----- .../ton/java/tlb/types/FutureSplitMerge.java | 13 +++++--- .../org/ton/java/tlb/types/GlobalVersion.java | 9 ++++-- .../org/ton/java/tlb/types/ImportFees.java | 11 ++++--- .../java/org/ton/java/tlb/types/InMsg.java | 2 ++ .../org/ton/java/tlb/types/InMsgDescr.java | 7 +++-- .../ton/java/tlb/types/InMsgDiscardFin.java | 15 +++++---- .../ton/java/tlb/types/InMsgDiscardTr.java | 17 +++++----- .../ton/java/tlb/types/InMsgImportExt.java | 13 +++++--- .../ton/java/tlb/types/InMsgImportFin.java | 11 ++++--- .../ton/java/tlb/types/InMsgImportIhr.java | 11 ++++--- .../ton/java/tlb/types/InMsgImportImm.java | 9 ++++-- .../org/ton/java/tlb/types/InMsgImportTr.java | 11 ++++--- .../java/tlb/types/IntermediateAddress.java | 2 ++ .../tlb/types/IntermediateAddressExt.java | 2 ++ .../tlb/types/IntermediateAddressRegular.java | 2 ++ .../tlb/types/IntermediateAddressSimple.java | 2 ++ .../java/tlb/types/InternalMessageInfo.java | 31 ++++++++++--------- .../tlb/types/InternalMessageInfoRelaxed.java | 31 ++++++++++--------- .../org/ton/java/tlb/types/KeyExtBlkRef.java | 9 ++++-- .../java/org/ton/java/tlb/types/KeyMaxLt.java | 7 +++-- .../java/org/ton/java/tlb/types/LibDescr.java | 11 ++++--- .../org/ton/java/tlb/types/McBlockExtra.java | 16 +++++++--- .../ton/java/tlb/types/McBlockExtraInfo.java | 11 ++++--- .../org/ton/java/tlb/types/McStateExtra.java | 12 ++++--- .../ton/java/tlb/types/McStateExtraInfo.java | 11 ++++--- .../org/ton/java/tlb/types/MerkleUpdate.java | 11 ++++--- .../java/org/ton/java/tlb/types/Message.java | 11 ++++--- .../ton/java/tlb/types/MessageRelaxed.java | 17 +++++----- .../org/ton/java/tlb/types/MessagesList.java | 2 +- .../org/ton/java/tlb/types/MsgAddress.java | 8 +++-- .../org/ton/java/tlb/types/MsgAddressExt.java | 2 ++ .../ton/java/tlb/types/MsgAddressExtNone.java | 9 ++++-- .../java/tlb/types/MsgAddressExternal.java | 9 ++++-- .../org/ton/java/tlb/types/MsgAddressInt.java | 4 ++- .../ton/java/tlb/types/MsgAddressIntStd.java | 10 +++--- .../ton/java/tlb/types/MsgAddressIntVar.java | 9 ++++-- .../org/ton/java/tlb/types/MsgEnvelope.java | 11 ++++--- .../ton/java/tlb/types/OldMcBlocksInfo.java | 9 ++++-- .../java/org/ton/java/tlb/types/OutList.java | 11 ++++--- .../java/org/ton/java/tlb/types/OutMsg.java | 10 +++--- .../org/ton/java/tlb/types/OutMsgDeq.java | 11 ++++--- .../org/ton/java/tlb/types/OutMsgDeqImm.java | 11 ++++--- .../ton/java/tlb/types/OutMsgDeqShort.java | 17 +++++----- .../org/ton/java/tlb/types/OutMsgDescr.java | 9 ++++-- .../org/ton/java/tlb/types/OutMsgExt.java | 11 ++++--- .../org/ton/java/tlb/types/OutMsgImm.java | 9 +++--- .../org/ton/java/tlb/types/OutMsgNew.java | 11 ++++--- .../ton/java/tlb/types/OutMsgQueueInfo.java | 13 +++++--- .../java/org/ton/java/tlb/types/OutMsgTr.java | 11 ++++--- .../org/ton/java/tlb/types/OutMsgTrReq.java | 11 ++++--- .../org/ton/java/tlb/types/ProcessedUpto.java | 9 ++++-- .../org/ton/java/tlb/types/ShardAccount.java | 15 +++++---- .../org/ton/java/tlb/types/ShardAccounts.java | 9 ++++-- .../org/ton/java/tlb/types/ShardDescr.java | 11 ++++--- .../ton/java/tlb/types/ShardFeeCreated.java | 9 ++++-- .../org/ton/java/tlb/types/ShardFees.java | 9 ++++-- .../org/ton/java/tlb/types/ShardHashes.java | 9 ++++-- .../org/ton/java/tlb/types/ShardIdent.java | 11 ++++--- .../org/ton/java/tlb/types/ShardState.java | 13 +++++--- .../ton/java/tlb/types/ShardStateInfo.java | 11 ++++--- .../ton/java/tlb/types/ShardStateUnsplit.java | 11 ++++--- .../org/ton/java/tlb/types/SigPubKey.java | 9 ++++-- .../ton/java/tlb/types/SplitMergeInfo.java | 11 ++++--- .../org/ton/java/tlb/types/StateInit.java | 11 ++++--- .../org/ton/java/tlb/types/StorageInfo.java | 15 +++++---- .../org/ton/java/tlb/types/StoragePhase.java | 11 ++++--- .../org/ton/java/tlb/types/StorageUsed.java | 11 ++++--- .../ton/java/tlb/types/StorageUsedShort.java | 11 ++++--- .../org/ton/java/tlb/types/Transaction.java | 11 ++++--- .../TransactionDescriptionMergeInstall.java | 11 ++++--- .../TransactionDescriptionMergePrepare.java | 11 ++++--- .../types/TransactionDescriptionOrdinary.java | 11 ++++--- .../TransactionDescriptionSplitInstall.java | 11 ++++--- .../TransactionDescriptionSplitPrepare.java | 11 ++++--- .../types/TransactionDescriptionStorage.java | 11 ++++--- .../types/TransactionDescriptionTickTock.java | 11 ++++--- .../org/ton/java/tlb/types/TransactionIO.java | 11 ++++--- .../org/ton/java/tlb/types/Validator.java | 7 +++-- .../org/ton/java/tlb/types/ValidatorAddr.java | 7 +++-- .../ton/java/tlb/types/ValidatorBaseInfo.java | 15 +++++---- .../ton/java/tlb/types/ValidatorDescr.java | 2 ++ .../org/ton/java/tlb/types/ValidatorInfo.java | 17 +++++----- .../org/ton/java/tlb/types/ValidatorSet.java | 2 ++ .../org/ton/java/tlb/types/Validators.java | 11 ++++--- .../org/ton/java/tlb/types/ValidatorsExt.java | 11 ++++--- .../org/ton/java/tlb/types/ValueFlow.java | 11 ++++--- .../java/org/ton/java/tlb/types/VmTuple.java | 2 ++ .../org/ton/java/tlb/types/VmTupleRef.java | 2 ++ .../java/tlb/types/WcSplitMergeTimings.java | 15 +++++---- 124 files changed, 791 insertions(+), 460 deletions(-) diff --git a/cell/src/main/java/org/ton/java/tlb/types/AccountBlock.java b/cell/src/main/java/org/ton/java/tlb/types/AccountBlock.java index 3100c4aa..06b09d45 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/AccountBlock.java +++ b/cell/src/main/java/org/ton/java/tlb/types/AccountBlock.java @@ -11,17 +11,20 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * acc_trans#5
  *  account_addr:bits256
  *  transactions:(HashmapAug 64 ^Transaction CurrencyCollection)
  *  state_update:^(HASH_UPDATE Account)
  *  = AccountBlock;
+ *  
*/ +@Builder +@Getter +@Setter +@ToString + public class AccountBlock { long magic; BigInteger addr; diff --git a/cell/src/main/java/org/ton/java/tlb/types/AccountStorage.java b/cell/src/main/java/org/ton/java/tlb/types/AccountStorage.java index 88fad749..2d5d2384 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/AccountStorage.java +++ b/cell/src/main/java/org/ton/java/tlb/types/AccountStorage.java @@ -10,17 +10,20 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * account_storage$_
  *     last_trans_lt:uint64
  *     balance:CurrencyCollection
  *     state:AccountState
  *   = AccountStorage;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class AccountStorage { String accountStatus; BigInteger lastTransactionLt; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ActionPhase.java b/cell/src/main/java/org/ton/java/tlb/types/ActionPhase.java index 3b7cd463..83ea52d2 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ActionPhase.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ActionPhase.java @@ -10,11 +10,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * tr_phase_action$_
  *   success:Bool
  *   valid:Bool
@@ -31,7 +28,13 @@
  *   action_list_hash:bits256
  *   tot_msg_size:StorageUsedShort
  *   = TrActionPhase;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class ActionPhase { boolean success; boolean valid; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ActionReserveCurrency.java b/cell/src/main/java/org/ton/java/tlb/types/ActionReserveCurrency.java index 4bc1206f..365b1087 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ActionReserveCurrency.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ActionReserveCurrency.java @@ -8,13 +8,14 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + * action_reserve_currency#36e6b809 mode:(## 8) currency:CurrencyCollection = OutAction; + */ @Builder @Getter @Setter @ToString -/** - action_reserve_currency#36e6b809 mode:(## 8) currency:CurrencyCollection = OutAction; - */ + public class ActionReserveCurrency implements OutAction { long magic; int mode; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ActionSendMsg.java b/cell/src/main/java/org/ton/java/tlb/types/ActionSendMsg.java index 6519bb22..332e742d 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ActionSendMsg.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ActionSendMsg.java @@ -8,13 +8,14 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + * action_send_msg#0ec3c86d mode:(## 8) out_msg:^(MessageRelaxed Any) = OutAction; + */ @Builder @Getter @Setter @ToString -/** - action_send_msg#0ec3c86d mode:(## 8) out_msg:^(MessageRelaxed Any) = OutAction; - */ + public class ActionSendMsg implements OutAction { long magic; int mode; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ActionSetCode.java b/cell/src/main/java/org/ton/java/tlb/types/ActionSetCode.java index cb35698c..a83d8772 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ActionSetCode.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ActionSetCode.java @@ -8,13 +8,16 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * action_set_code#ad4de08e new_code:^Cell = OutAction;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - action_set_code#ad4de08e new_code:^Cell = OutAction; - */ + public class ActionSetCode implements OutAction { long magic; Cell newCode; diff --git a/cell/src/main/java/org/ton/java/tlb/types/Anycast.java b/cell/src/main/java/org/ton/java/tlb/types/Anycast.java index 4195f3c6..e1c10a95 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/Anycast.java +++ b/cell/src/main/java/org/ton/java/tlb/types/Anycast.java @@ -8,16 +8,19 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * anycast_info$_
  *  depth:(#<= 30) { depth >= 1 }
  *  rewrite_pfx:(bits depth)
  *  = Anycast;
+ *  
*/ +@Builder +@Getter +@Setter +@ToString + public class Anycast { int depth; // 5 bits byte rewritePfx; diff --git a/cell/src/main/java/org/ton/java/tlb/types/Block.java b/cell/src/main/java/org/ton/java/tlb/types/Block.java index 41a32c99..4a5b2b48 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/Block.java +++ b/cell/src/main/java/org/ton/java/tlb/types/Block.java @@ -8,18 +8,21 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * block#11ef55aa
  *   global_id:int32
  *   info:^BlockInfo
  *   value_flow:^ValueFlow
  *   state_update:^(MERKLE_UPDATE ShardState)
  *   extra:^BlockExtra = Block;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class Block { long magic; int globalId; diff --git a/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStats.java b/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStats.java index 82d45046..be4ee269 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStats.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStats.java @@ -4,8 +4,10 @@ import org.ton.java.cell.CellSlice; /** + *
  * block_create_stats#17 counters:(HashmapE 256 CreatorStats) = BlockCreateStats;
  * block_create_stats_ext#34 counters:(HashmapAugE 256 CreatorStats uint32) = BlockCreateStats;
+ * 
*/ public interface BlockCreateStats { diff --git a/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStatsExt.java b/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStatsExt.java index 0dd8f8e3..c43efc0a 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStatsExt.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStatsExt.java @@ -10,7 +10,9 @@ import org.ton.java.cell.TonHashMapAugE; /** + *
  * block_create_stats_ext#34 counters:(HashmapAugE 256 CreatorStats uint32) = BlockCreateStats;
+ * 
*/ @Builder diff --git a/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStatsOrdinary.java b/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStatsOrdinary.java index 966b9bd2..fa052284 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStatsOrdinary.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BlockCreateStatsOrdinary.java @@ -10,7 +10,9 @@ import org.ton.java.cell.TonHashMapE; /** + *
  * block_create_stats#17 counters:(HashmapE 256 CreatorStats) = BlockCreateStats;
+ * 
*/ @Builder diff --git a/cell/src/main/java/org/ton/java/tlb/types/BlockIdExtShardIdent.java b/cell/src/main/java/org/ton/java/tlb/types/BlockIdExtShardIdent.java index b565b9ad..c4d66c79 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BlockIdExtShardIdent.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BlockIdExtShardIdent.java @@ -9,16 +9,19 @@ import java.math.BigInteger; -@ToString -@Builder -@Getter /** + *
  * block_id_ext$_
  *   shard_id:ShardIdent
  *   seq_no:uint32
  *   root_hash:bits256
  *   file_hash:bits256 = BlockIdExt;
+ *   
*/ +@ToString +@Builder +@Getter + public class BlockIdExtShardIdent { // int workchain; // long shard; diff --git a/cell/src/main/java/org/ton/java/tlb/types/BlockInfo.java b/cell/src/main/java/org/ton/java/tlb/types/BlockInfo.java index b245f537..5c1305e6 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BlockInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BlockInfo.java @@ -10,11 +10,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * block_info#9bc7a987
  *   version:uint32
  *   not_master:(## 1)
@@ -42,7 +39,13 @@
  *   prev_ref:^(BlkPrevInfo after_merge)
  *   prev_vert_ref:vert_seqno_incr?^(BlkPrevInfo 0)
  *   = BlockInfo;
+ *   
  */
+@Builder
+@Getter
+@Setter
+@ToString
+
 public class BlockInfo {
     long magic;
     long version;
diff --git a/cell/src/main/java/org/ton/java/tlb/types/BlockProof.java b/cell/src/main/java/org/ton/java/tlb/types/BlockProof.java
index bb33bc3a..c1d6103c 100644
--- a/cell/src/main/java/org/ton/java/tlb/types/BlockProof.java
+++ b/cell/src/main/java/org/ton/java/tlb/types/BlockProof.java
@@ -8,16 +8,19 @@
 import org.ton.java.cell.CellBuilder;
 import org.ton.java.cell.CellSlice;
 
-@Builder
-@Getter
-@Setter
-@ToString
 /**
+ * 
  * block_proof#c3
  * proof_for:BlockIdExt
  * root:^Cell
  * signatures:(Maybe ^BlockSignatures) = BlockProof;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class BlockProof { int magic; BlockIdExtShardIdent proofFor; diff --git a/cell/src/main/java/org/ton/java/tlb/types/BlockSignatures.java b/cell/src/main/java/org/ton/java/tlb/types/BlockSignatures.java index 6e0d8ee4..7bec0b6a 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BlockSignatures.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BlockSignatures.java @@ -8,16 +8,19 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * block_signatures#11
+ * validator_info:ValidatorBaseInfo
+ * pure_signatures:BlockSignaturesPure
+ * = BlockSignatures;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - block_signatures#11 - validator_info:ValidatorBaseInfo - pure_signatures:BlockSignaturesPure - = BlockSignatures; - */ + public class BlockSignatures { int magic; ValidatorBaseInfo validatorBaseInfo; diff --git a/cell/src/main/java/org/ton/java/tlb/types/BlockSignaturesPure.java b/cell/src/main/java/org/ton/java/tlb/types/BlockSignaturesPure.java index 105f7d18..9a7dd800 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BlockSignaturesPure.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BlockSignaturesPure.java @@ -11,14 +11,17 @@ import java.math.BigInteger; +/** + *
+ * block_signatures_pure#_ sig_count:uint32 sig_weight:uint64
+ * signatures:(HashmapE 16 CryptoSignaturePair) = BlockSignaturesPure;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - block_signatures_pure#_ sig_count:uint32 sig_weight:uint64 - signatures:(HashmapE 16 CryptoSignaturePair) = BlockSignaturesPure; - */ + public class BlockSignaturesPure { long sigCount; BigInteger sigWeight; diff --git a/cell/src/main/java/org/ton/java/tlb/types/Boc.java b/cell/src/main/java/org/ton/java/tlb/types/Boc.java index 898f16de..23fd5249 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/Boc.java +++ b/cell/src/main/java/org/ton/java/tlb/types/Boc.java @@ -13,6 +13,7 @@ import java.util.List; /** + *
  * serialized_boc#b5ee9c72
  * has_idx:(## 1)
  * has_crc32c:(## 1)
@@ -29,6 +30,7 @@
  * cell_data:(tot_cells_size * [ uint8 ])
  * crc32c:has_crc32c?uint32
  * = BagOfCells;
+ * 
*/ @Builder @Getter diff --git a/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseNegFounds.java b/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseNegFounds.java index 1892624e..c8ad2547 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseNegFounds.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseNegFounds.java @@ -8,13 +8,16 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * tr_phase_bounce_negfunds$00 = TrBouncePhase;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * tr_phase_bounce_negfunds$00 = TrBouncePhase; - */ + public class BouncePhaseNegFounds implements BouncePhase { int magic; diff --git a/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseNoFounds.java b/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseNoFounds.java index da879653..a2ff1c14 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseNoFounds.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseNoFounds.java @@ -10,15 +10,18 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * tr_phase_bounce_nofunds$01
  *   msg_size:StorageUsedShort
  *   req_fwd_fees:Grams = TrBouncePhase;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class BouncePhaseNoFounds implements BouncePhase { int magic; StorageUsedShort msgSize; diff --git a/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseOk.java b/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseOk.java index bba5d6bd..364342d4 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseOk.java +++ b/cell/src/main/java/org/ton/java/tlb/types/BouncePhaseOk.java @@ -10,16 +10,19 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * tr_phase_bounce_ok$1
  *   msg_size:StorageUsedShort
  *   msg_fees:Grams
  *   fwd_fees:Grams = TrBouncePhase;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class BouncePhaseOk implements BouncePhase { int magic; StorageUsedShort msgSize; diff --git a/cell/src/main/java/org/ton/java/tlb/types/CatchainConfig.java b/cell/src/main/java/org/ton/java/tlb/types/CatchainConfig.java index 7e1bb27e..f0fa905a 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/CatchainConfig.java +++ b/cell/src/main/java/org/ton/java/tlb/types/CatchainConfig.java @@ -6,7 +6,6 @@ public interface CatchainConfig { - Cell toCell(); static CatchainConfig deserialize(CellSlice cs) { diff --git a/cell/src/main/java/org/ton/java/tlb/types/CommonMsgInfo.java b/cell/src/main/java/org/ton/java/tlb/types/CommonMsgInfo.java index 9fd55e71..0c293082 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/CommonMsgInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/CommonMsgInfo.java @@ -5,6 +5,7 @@ import org.ton.java.cell.CellSlice; /** + *
  * int_msg_info$0
  * ihr_disabled:Bool
  * bounce:Bool
@@ -16,17 +17,18 @@
  * fwd_fee:Grams
  * created_lt:uint64
  * created_at:uint32 = CommonMsgInfo;
- * 

+ * * ext_in_msg_info$10 * src:MsgAddressExt * dest:MsgAddressInt * import_fee:Grams = CommonMsgInfo; - *

+ * * ext_out_msg_info$11 * src:MsgAddressInt * dest:MsgAddressExt * created_lt:uint64 * created_at:uint32 = CommonMsgInfo; + *

*/ public interface CommonMsgInfo { diff --git a/cell/src/main/java/org/ton/java/tlb/types/CommonMsgInfoRelaxed.java b/cell/src/main/java/org/ton/java/tlb/types/CommonMsgInfoRelaxed.java index 0dd97724..954c5105 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/CommonMsgInfoRelaxed.java +++ b/cell/src/main/java/org/ton/java/tlb/types/CommonMsgInfoRelaxed.java @@ -5,6 +5,7 @@ import org.ton.java.cell.CellSlice; /** + *
  * int_msg_info$0 ihr_disabled:Bool bounce:Bool bounced:Bool
  * src:MsgAddress
  * dest:MsgAddressInt
@@ -13,8 +14,9 @@
  * fwd_fee:Grams
  * created_lt:uint64
  * created_at:uint32 = CommonMsgInfoRelaxed;
- * 

+ * * ext_out_msg_info$11 src:MsgAddress dest:MsgAddressExt created_lt:uint64 created_at:uint32 = CommonMsgInfoRelaxed; + *

*/ diff --git a/cell/src/main/java/org/ton/java/tlb/types/ComputePhaseVMDetails.java b/cell/src/main/java/org/ton/java/tlb/types/ComputePhaseVMDetails.java index 359fff95..7c18d0c7 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ComputePhaseVMDetails.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ComputePhaseVMDetails.java @@ -10,11 +10,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  *   gas_used:(VarUInteger 7)
  *   gas_limit:(VarUInteger 7)
  *   gas_credit:(Maybe (VarUInteger 3))
@@ -24,7 +21,13 @@
  *   vm_steps:uint32
  *   vm_init_state_hash:bits256
  *   vm_final_state_hash:bits256
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class ComputePhaseVMDetails { BigInteger gasUsed; BigInteger gasLimit; diff --git a/cell/src/main/java/org/ton/java/tlb/types/CreatorStats.java b/cell/src/main/java/org/ton/java/tlb/types/CreatorStats.java index 957f7fac..37c0c320 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/CreatorStats.java +++ b/cell/src/main/java/org/ton/java/tlb/types/CreatorStats.java @@ -8,13 +8,16 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * creator_info#4 mc_blocks:Counters shard_blocks:Counters = CreatorStats;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - creator_info#4 mc_blocks:Counters shard_blocks:Counters = CreatorStats; - */ + public class CreatorStats { long magic; diff --git a/cell/src/main/java/org/ton/java/tlb/types/CreditPhase.java b/cell/src/main/java/org/ton/java/tlb/types/CreditPhase.java index 8e553301..2987d4a9 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/CreditPhase.java +++ b/cell/src/main/java/org/ton/java/tlb/types/CreditPhase.java @@ -10,15 +10,18 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * tr_phase_credit$_
  *  due_fees_collected:(Maybe Grams)
  *  credit:CurrencyCollection = TrCreditPhase;
+ *  
*/ +@Builder +@Getter +@Setter +@ToString + public class CreditPhase { BigInteger dueFeesCollected; CurrencyCollection credit; diff --git a/cell/src/main/java/org/ton/java/tlb/types/CryptoSignature.java b/cell/src/main/java/org/ton/java/tlb/types/CryptoSignature.java index 5618398c..54a7ec88 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/CryptoSignature.java +++ b/cell/src/main/java/org/ton/java/tlb/types/CryptoSignature.java @@ -10,13 +10,17 @@ import java.math.BigInteger; +/** + *
+ * ed25519_signature#5 R:bits256 s:bits256 = CryptoSignatureSimple;  // 516 bits
+ * _ CryptoSignatureSimple = CryptoSignature;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - ed25519_signature#5 R:bits256 s:bits256 = CryptoSignatureSimple; // 516 bits - _ CryptoSignatureSimple = CryptoSignature; */ + public class CryptoSignature { int magic; BigInteger r; diff --git a/cell/src/main/java/org/ton/java/tlb/types/CryptoSignaturePair.java b/cell/src/main/java/org/ton/java/tlb/types/CryptoSignaturePair.java index 14b1b956..aafd7ffd 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/CryptoSignaturePair.java +++ b/cell/src/main/java/org/ton/java/tlb/types/CryptoSignaturePair.java @@ -10,13 +10,16 @@ import java.math.BigInteger; +/** + *
+ * sig_pair$_ node_id_short:bits256 sign:CryptoSignature = CryptoSignaturePair; // 256+x ~ 772 bits
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - sig_pair$_ node_id_short:bits256 sign:CryptoSignature = CryptoSignaturePair; // 256+x ~ 772 bits - */ + public class CryptoSignaturePair { BigInteger nodeIdShort; CryptoSignature sign; diff --git a/cell/src/main/java/org/ton/java/tlb/types/CurrencyCollection.java b/cell/src/main/java/org/ton/java/tlb/types/CurrencyCollection.java index d5c36f16..484bf973 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/CurrencyCollection.java +++ b/cell/src/main/java/org/ton/java/tlb/types/CurrencyCollection.java @@ -13,14 +13,17 @@ import static java.util.Objects.isNull; -@Builder -@Getter -@Setter -@ToString /** + *
  * extra_currencies$_ dict:(HashmapE 32 (VarUInteger 32)) = ExtraCurrencyCollection;
  * currencies$_ grams:Grams other:ExtraCurrencyCollection = CurrencyCollection;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class CurrencyCollection { BigInteger coins; TonHashMapE extraCurrencies; diff --git a/cell/src/main/java/org/ton/java/tlb/types/DepthBalanceInfo.java b/cell/src/main/java/org/ton/java/tlb/types/DepthBalanceInfo.java index b2384f03..00669406 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/DepthBalanceInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/DepthBalanceInfo.java @@ -9,14 +9,16 @@ import org.ton.java.cell.CellSlice; import org.ton.java.utils.Utils; - +/** + *
+ * depth_balance$_ split_depth:(#<= 30) balance:CurrencyCollection = DepthBalanceInfo;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * depth_balance$_ split_depth:(#<= 30) balance:CurrencyCollection = DepthBalanceInfo; - */ + public class DepthBalanceInfo { int depth; CurrencyCollection currencies; diff --git a/cell/src/main/java/org/ton/java/tlb/types/EnqueuedMsg.java b/cell/src/main/java/org/ton/java/tlb/types/EnqueuedMsg.java index 014ddc50..c3be866e 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/EnqueuedMsg.java +++ b/cell/src/main/java/org/ton/java/tlb/types/EnqueuedMsg.java @@ -10,13 +10,16 @@ import java.math.BigInteger; +/** + *
+ * _ enqueued_lt:uint64 out_msg:^MsgEnvelope = EnqueuedMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - _ enqueued_lt:uint64 out_msg:^MsgEnvelope = EnqueuedMsg; - */ + public class EnqueuedMsg implements InMsg { BigInteger enqueuedLt; MsgEnvelope outMsg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ExtBlkRef.java b/cell/src/main/java/org/ton/java/tlb/types/ExtBlkRef.java index 5d312e4a..93948d4e 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ExtBlkRef.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ExtBlkRef.java @@ -10,17 +10,20 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * ext_blk_ref$_
  * end_lt:uint64
  * seq_no:uint32
  * root_hash:bits256
  * file_hash:bits256 = ExtBlkRef;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class ExtBlkRef { BigInteger endLt; int seqno; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageInfo.java b/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageInfo.java index fe8bde10..0893988d 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageInfo.java @@ -12,19 +12,20 @@ import static java.util.Objects.isNull; +/** + * ext_in_msg_info$10 + * src:MsgAddressExt + * dest:MsgAddressInt + * import_fee:Grams - default zero + * = CommonMsgInfo; + *

+ * import_fee - default BigInteger.ZERO + */ @Builder @Getter @Setter @ToString -/** - ext_in_msg_info$10 - src:MsgAddressExt - dest:MsgAddressInt - import_fee:Grams - default zero - = CommonMsgInfo; - import_fee - default BigInteger.ZERO - */ public class ExternalMessageInfo implements CommonMsgInfo { long magic; MsgAddressExt srcAddr; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageOutInfo.java b/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageOutInfo.java index eea4fc66..66b3cec0 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageOutInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageOutInfo.java @@ -12,18 +12,21 @@ import static java.util.Objects.isNull; +/** + *

+ * ext_out_msg_info$11
+ * src:MsgAddressInt
+ * dest:MsgAddressExt
+ * created_lt:uint64 - default zero
+ * created_at:uint32 - default zero
+ * = CommonMsgInfo;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - ext_out_msg_info$11 - src:MsgAddressInt - dest:MsgAddressExt - created_lt:uint64 - default zero - created_at:uint32 - default zero - = CommonMsgInfo; - */ + public class ExternalMessageOutInfo implements CommonMsgInfo { long magic; MsgAddressInt srcAddr; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageOutInfoRelaxed.java b/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageOutInfoRelaxed.java index 941b6006..d821ff25 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageOutInfoRelaxed.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ExternalMessageOutInfoRelaxed.java @@ -12,18 +12,21 @@ import static java.util.Objects.isNull; +/** + *
+ * ext_out_msg_info$11
+ * src:MsgAddress
+ * dest:MsgAddressExt
+ * created_lt:uint64 - default zero
+ * created_at:uint32 = default zero
+ * = CommonMsgInfoRelaxed;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - ext_out_msg_info$11 - src:MsgAddress - dest:MsgAddressExt - created_lt:uint64 - default zero - created_at:uint32 = default zero - = CommonMsgInfoRelaxed; - */ + public class ExternalMessageOutInfoRelaxed implements CommonMsgInfoRelaxed { long magic; MsgAddress srcAddr; diff --git a/cell/src/main/java/org/ton/java/tlb/types/FutureSplitMerge.java b/cell/src/main/java/org/ton/java/tlb/types/FutureSplitMerge.java index 11085da7..b153944d 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/FutureSplitMerge.java +++ b/cell/src/main/java/org/ton/java/tlb/types/FutureSplitMerge.java @@ -8,15 +8,18 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * fsm_none$0 = FutureSplitMerge; + * fsm_split$10 split_utime:uint32 interval:uint32 = FutureSplitMerge; + * fsm_merge$11 merge_utime:uint32 interval:uint32 = FutureSplitMerge; + *
+ */
 @Builder
 @Getter
 @Setter
 @ToString
-/**
- fsm_none$0 = FutureSplitMerge;
- fsm_split$10 split_utime:uint32 interval:uint32 = FutureSplitMerge;
- fsm_merge$11 merge_utime:uint32 interval:uint32 = FutureSplitMerge;
- */
+
 public class FutureSplitMerge {
     int flag;
     long splitUTime;
diff --git a/cell/src/main/java/org/ton/java/tlb/types/GlobalVersion.java b/cell/src/main/java/org/ton/java/tlb/types/GlobalVersion.java
index ffe70621..0f562db6 100644
--- a/cell/src/main/java/org/ton/java/tlb/types/GlobalVersion.java
+++ b/cell/src/main/java/org/ton/java/tlb/types/GlobalVersion.java
@@ -10,13 +10,16 @@
 
 import java.math.BigInteger;
 
+/**
+ * 
+ * capabilities#c4 version:uint32 capabilities:uint64 = GlobalVersion;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * capabilities#c4 version:uint32 capabilities:uint64 = GlobalVersion; - */ + public class GlobalVersion { long magic; long version; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ImportFees.java b/cell/src/main/java/org/ton/java/tlb/types/ImportFees.java index 6eaf6b9d..a7c66064 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ImportFees.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ImportFees.java @@ -10,15 +10,18 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * import_fees$_
  * fees_collected:Grams
  * value_imported:CurrencyCollection = ImportFees;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class ImportFees { BigInteger feesCollected; diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsg.java b/cell/src/main/java/org/ton/java/tlb/types/InMsg.java index 6da7d881..4f49dbeb 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsg.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsg.java @@ -4,6 +4,7 @@ import org.ton.java.cell.CellSlice; /** + *
  * msg_import_ext$000 msg:^(Message Any)  transaction:^Transaction = InMsg;
  * msg_import_ihr$010 msg:^(Message Any)  transaction:^Transaction ihr_fee:Grams proof_created:^Cell = InMsg;
  * msg_import_imm$011 in_msg:^MsgEnvelope transaction:^Transaction fwd_fee:Grams = InMsg;
@@ -11,6 +12,7 @@
  * msg_import_tr$101  in_msg:^MsgEnvelope out_msg:^MsgEnvelope transit_fee:Grams = InMsg;
  * msg_discard_fin$110 in_msg:^MsgEnvelope transaction_id:uint64 fwd_fee:Grams = InMsg;
  * msg_discard_tr$111 in_msg:^MsgEnvelope transaction_id:uint64 fwd_fee:Grams proof_delivered:^Cell = InMsg;
+ * 
*/ // msg_export_new extends InMsg diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsgDescr.java b/cell/src/main/java/org/ton/java/tlb/types/InMsgDescr.java index e5236bd6..383112fa 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsgDescr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsgDescr.java @@ -9,13 +9,14 @@ import org.ton.java.cell.CellSlice; import org.ton.java.cell.TonHashMapAugE; +/** + * _ (HashmapAugE 256 InMsg ImportFees) = InMsgDescr; + */ @Builder @Getter @Setter @ToString -/** - * _ (HashmapAugE 256 InMsg ImportFees) = InMsgDescr; - */ + public class InMsgDescr { TonHashMapAugE inMsg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsgDiscardFin.java b/cell/src/main/java/org/ton/java/tlb/types/InMsgDiscardFin.java index bceae561..743028d5 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsgDiscardFin.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsgDiscardFin.java @@ -10,16 +10,19 @@ import java.math.BigInteger; +/** + *
+ * msg_discard_fin$110
+ * in_msg:^MsgEnvelope
+ * transaction_id:uint64
+ * fwd_fee:Grams = InMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * msg_discard_fin$110 - * in_msg:^MsgEnvelope - * transaction_id:uint64 - * fwd_fee:Grams = InMsg; - */ + public class InMsgDiscardFin implements InMsg { MsgEnvelope inMsg; BigInteger transactionId; diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsgDiscardTr.java b/cell/src/main/java/org/ton/java/tlb/types/InMsgDiscardTr.java index d54ccbfc..7dc8c1ef 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsgDiscardTr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsgDiscardTr.java @@ -10,17 +10,20 @@ import java.math.BigInteger; +/** + *
+ * msg_discard_tr$111
+ * in_msg:^MsgEnvelope
+ * transaction_id:uint64
+ * fwd_fee:Grams
+ * proof_delivered:^Cell = InMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - msg_discard_tr$111 - in_msg:^MsgEnvelope - transaction_id:uint64 - fwd_fee:Grams - proof_delivered:^Cell = InMsg; - */ + public class InMsgDiscardTr implements InMsg { MsgEnvelope inMsg; BigInteger transactionId; diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportExt.java b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportExt.java index 5354db63..8a2ed877 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportExt.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportExt.java @@ -8,15 +8,18 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * msg_import_ext$000
+ * msg:^(Message Any)
+ * transaction:^Transaction  = InMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * msg_import_ext$000 - * msg:^(Message Any) - * transaction:^Transaction = InMsg; - */ + public class InMsgImportExt implements InMsg { Message msg; Transaction transaction; diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportFin.java b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportFin.java index 161bd8ef..c660381b 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportFin.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportFin.java @@ -10,16 +10,19 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * msg_import_fin$100
  *   in_msg:^MsgEnvelope
  *   transaction:^Transaction
  *   fwd_fee:Grams = InMsg;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + // msg_export_new extends InMsg diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportIhr.java b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportIhr.java index d0b91d09..4e8d7fb6 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportIhr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportIhr.java @@ -10,17 +10,20 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * msg_import_ihr$010
  *  msg:^(Message Any)
  *  transaction:^Transaction
  *  ihr_fee:Grams
  *  proof_created:^Cell = InMsg;
+ *  
*/ +@Builder +@Getter +@Setter +@ToString + // msg_export_new extends InMsg diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportImm.java b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportImm.java index ad97b7d1..527fe2cd 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportImm.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportImm.java @@ -10,13 +10,16 @@ import java.math.BigInteger; +/** + *
+ * msg_import_imm$011 in_msg:^MsgEnvelope transaction:^Transaction fwd_fee:Grams = InMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * msg_import_imm$011 in_msg:^MsgEnvelope transaction:^Transaction fwd_fee:Grams = InMsg; - */ + public class InMsgImportImm implements InMsg { MsgEnvelope inMsg; Transaction transaction; diff --git a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportTr.java b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportTr.java index 1aeddfd4..8aa5d213 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InMsgImportTr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InMsgImportTr.java @@ -10,16 +10,19 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * msg_import_tr$101
  *  in_msg:^MsgEnvelope
  *  out_msg:^MsgEnvelope
  *  transit_fee:Grams = InMsg;
+ *  
*/ +@Builder +@Getter +@Setter +@ToString + public class InMsgImportTr implements InMsg { MsgEnvelope inMsg; MsgEnvelope outMsg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddress.java b/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddress.java index e8bde395..54858608 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddress.java +++ b/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddress.java @@ -4,9 +4,11 @@ import org.ton.java.cell.CellSlice; /** + *
  * interm_addr_regular$0 use_dest_bits:(#<= 96) = IntermediateAddress;
  * interm_addr_simple$10 workchain_id:int8 addr_pfx:uint64 = IntermediateAddress;
  * interm_addr_ext$11    workchain_id:int32 addr_pfx:uint64 = IntermediateAddress;
+ * 
*/ public interface IntermediateAddress { diff --git a/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressExt.java b/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressExt.java index 492a4be0..edf03bf8 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressExt.java +++ b/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressExt.java @@ -10,7 +10,9 @@ import java.math.BigInteger; /** + *
  * interm_addr_ext$11 workchain_id:int32 addr_pfx:uint64 = IntermediateAddress;
+ * 
*/ @Builder @Getter diff --git a/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressRegular.java b/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressRegular.java index a38df307..94591398 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressRegular.java +++ b/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressRegular.java @@ -8,7 +8,9 @@ import org.ton.java.cell.CellBuilder; /** + *
  * interm_addr_regular$0 use_dest_bits:(#<= 96) = IntermediateAddress;
+ * 
*/ @Builder @Getter diff --git a/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressSimple.java b/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressSimple.java index e8d81dd2..bfe92d73 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressSimple.java +++ b/cell/src/main/java/org/ton/java/tlb/types/IntermediateAddressSimple.java @@ -10,7 +10,9 @@ import java.math.BigInteger; /** + *
  * interm_addr_simple$10 workchain_id:int8 addr_pfx:uint64 = IntermediateAddress;
+ * 
*/ @Builder @Getter diff --git a/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfo.java b/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfo.java index 9ce2766a..d4975b7a 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfo.java @@ -13,24 +13,27 @@ import static java.util.Objects.isNull; import static java.util.Objects.nonNull; +/** + *
+ * int_msg_info$0
+ * ihr_disabled:Bool - default true
+ * bounce:Bool - default true
+ * bounced:Bool - default false
+ * src:MsgAddressInt
+ * dest:MsgAddressInt
+ * value:CurrencyCollection - default zero
+ * ihr_fee:Grams  - default zero
+ * fwd_fee:Grams - default zero
+ * created_lt:uint64 - default zero
+ * created_at:uint32 - default zero
+ * = CommonMsgInfo;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - int_msg_info$0 - ihr_disabled:Bool - default true - bounce:Bool - default true - bounced:Bool - default false - src:MsgAddressInt - dest:MsgAddressInt - value:CurrencyCollection - default zero - ihr_fee:Grams - default zero - fwd_fee:Grams - default zero - created_lt:uint64 - default zero - created_at:uint32 - default zero - = CommonMsgInfo; - */ + public class InternalMessageInfo implements CommonMsgInfo { int magic; Boolean iHRDisabled; diff --git a/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfoRelaxed.java b/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfoRelaxed.java index eda43e1a..bb3392bd 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfoRelaxed.java +++ b/cell/src/main/java/org/ton/java/tlb/types/InternalMessageInfoRelaxed.java @@ -13,24 +13,27 @@ import static java.util.Objects.isNull; import static java.util.Objects.nonNull; +/** + *
+ * int_msg_info$0
+ * ihr_disabled:Bool - default true
+ * bounce:Bool - default true
+ * bounced:Bool - default false
+ * src:MsgAddress
+ * dest:MsgAddressInt
+ * value:CurrencyCollection - default zero
+ * ihr_fee:Grams  - default zero
+ * fwd_fee:Grams - default zero
+ * created_lt:uint64 - default zero
+ * created_at:uint32 - default zero
+ * = CommonMsgInfoRelaxed;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - int_msg_info$0 - ihr_disabled:Bool - default true - bounce:Bool - default true - bounced:Bool - default false - src:MsgAddress - dest:MsgAddressInt - value:CurrencyCollection - default zero - ihr_fee:Grams - default zero - fwd_fee:Grams - default zero - created_lt:uint64 - default zero - created_at:uint32 - default zero - = CommonMsgInfoRelaxed; - */ + public class InternalMessageInfoRelaxed implements CommonMsgInfoRelaxed { long magic; // must be 0 Boolean iHRDisabled; diff --git a/cell/src/main/java/org/ton/java/tlb/types/KeyExtBlkRef.java b/cell/src/main/java/org/ton/java/tlb/types/KeyExtBlkRef.java index eaeb15e9..609fd470 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/KeyExtBlkRef.java +++ b/cell/src/main/java/org/ton/java/tlb/types/KeyExtBlkRef.java @@ -8,13 +8,16 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * _ key:Bool blk_ref:ExtBlkRef = KeyExtBlkRef;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * _ key:Bool blk_ref:ExtBlkRef = KeyExtBlkRef; - */ + public class KeyExtBlkRef { boolean key; ExtBlkRef blkRef; diff --git a/cell/src/main/java/org/ton/java/tlb/types/KeyMaxLt.java b/cell/src/main/java/org/ton/java/tlb/types/KeyMaxLt.java index a7f46be4..5dd83074 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/KeyMaxLt.java +++ b/cell/src/main/java/org/ton/java/tlb/types/KeyMaxLt.java @@ -10,13 +10,14 @@ import java.math.BigInteger; +/** + * _ key:Bool max_end_lt:uint64 = KeyMaxLt; + */ @Builder @Getter @Setter @ToString -/** - * _ key:Bool max_end_lt:uint64 = KeyMaxLt; - */ + public class KeyMaxLt { BigInteger endLt; int seqno; diff --git a/cell/src/main/java/org/ton/java/tlb/types/LibDescr.java b/cell/src/main/java/org/ton/java/tlb/types/LibDescr.java index 38fc7902..af903a75 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/LibDescr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/LibDescr.java @@ -9,14 +9,17 @@ import org.ton.java.cell.CellSlice; import org.ton.java.cell.TonHashMap; +/** + *
+ * shared_lib_descr$00 lib:^Cell publishers:(Hashmap 256 True)
+ * = LibDescr;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - shared_lib_descr$00 lib:^Cell publishers:(Hashmap 256 True) - = LibDescr; - */ + public class LibDescr { long magic; Cell lib; diff --git a/cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java b/cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java index a61cb452..90ef50d4 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java +++ b/cell/src/main/java/org/ton/java/tlb/types/McBlockExtra.java @@ -4,13 +4,13 @@ import lombok.Getter; import lombok.Setter; import lombok.ToString; -import org.ton.java.cell.*; +import org.ton.java.cell.Cell; +import org.ton.java.cell.CellBuilder; +import org.ton.java.cell.CellSlice; +import org.ton.java.cell.TonHashMapAugE; -@Builder -@Getter -@Setter -@ToString /** + *
  * masterchain_block_extra#cca5
  *   key_block:(## 1)
  *   shard_hashes:ShardHashes // _ (HashmapE 32 ^(BinTree ShardDescr)) = ShardHashes;
@@ -22,7 +22,13 @@
  *    ]
  *   config:key_block?ConfigParams
  * = McBlockExtra;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class McBlockExtra { long magic; boolean keyBlock; diff --git a/cell/src/main/java/org/ton/java/tlb/types/McBlockExtraInfo.java b/cell/src/main/java/org/ton/java/tlb/types/McBlockExtraInfo.java index 30bc6364..887557a5 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/McBlockExtraInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/McBlockExtraInfo.java @@ -11,15 +11,18 @@ import static java.util.Objects.isNull; -@Builder -@Getter -@Setter -@ToString /** + *
  * prev_blk_signatures:(HashmapE 16 CryptoSignaturePair)
  * recover_create_msg:(Maybe ^InMsg)
  * mint_msg:(Maybe ^InMsg)
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class McBlockExtraInfo { TonHashMapE prevBlkSignatures; InMsg recoverCreateMsg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java b/cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java index dad44e28..894bba0b 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java +++ b/cell/src/main/java/org/ton/java/tlb/types/McStateExtra.java @@ -7,15 +7,11 @@ import org.ton.java.cell.Cell; import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -import org.ton.java.cell.TonHashMapE; import static java.util.Objects.isNull; -@Builder -@Getter -@Setter -@ToString /** + *
  * masterchain_state_extra#cc26
  *   shard_hashes:ShardHashes
  *   config:ConfigParams
@@ -27,7 +23,13 @@
  *      block_create_stats:(flags . 0)?BlockCreateStats ]
  *   global_balance:CurrencyCollection
  * = McStateExtra;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class McStateExtra { long magic; ShardHashes shardHashes; diff --git a/cell/src/main/java/org/ton/java/tlb/types/McStateExtraInfo.java b/cell/src/main/java/org/ton/java/tlb/types/McStateExtraInfo.java index 4b5b7e70..2e5b3a43 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/McStateExtraInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/McStateExtraInfo.java @@ -11,11 +11,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * ...
  *   ^[ flags:(## 16) { flags <= 1 }
  *      validator_info:ValidatorInfo
@@ -25,7 +22,13 @@
  *      block_create_stats:(flags . 0)?BlockCreateStats ]
  *   ....
  * = McStateExtra;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class McStateExtraInfo { BigInteger flags; ValidatorInfo validatorInfo; diff --git a/cell/src/main/java/org/ton/java/tlb/types/MerkleUpdate.java b/cell/src/main/java/org/ton/java/tlb/types/MerkleUpdate.java index 573a994d..bb683aae 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MerkleUpdate.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MerkleUpdate.java @@ -11,15 +11,18 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * !merkle_update#02 {X:Type} old_hash:bits256 new_hash:bits256 old:^X new:^X  = MERKLE_UPDATE X;
  *  update_hashes#72 {X:Type} old_hash:bits256 new_hash:bits256                = HASH_UPDATE X;
  * !merkle_proof#03 {X:Type} virtual_hash:bits256 depth:uint16 virtual_root:^X = MERKLE_PROOF X;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class MerkleUpdate { // ShardState oldOne; BigInteger oldHash; diff --git a/cell/src/main/java/org/ton/java/tlb/types/Message.java b/cell/src/main/java/org/ton/java/tlb/types/Message.java index e257a7b6..c335d704 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/Message.java +++ b/cell/src/main/java/org/ton/java/tlb/types/Message.java @@ -10,17 +10,20 @@ import static java.util.Objects.isNull; -@Builder -@Getter -@Setter -@ToString /** + *
  * message$_ {X:Type}
  *   info:CommonMsgInfo
  *   init:(Maybe (Either StateInit ^StateInit)) - default storeBit(false)
  *   body:(Either X ^X)  - default storeBit(false)
  *   = Message X;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class Message { CommonMsgInfo info; StateInit init; diff --git a/cell/src/main/java/org/ton/java/tlb/types/MessageRelaxed.java b/cell/src/main/java/org/ton/java/tlb/types/MessageRelaxed.java index bfdf5420..7c0633ca 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MessageRelaxed.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MessageRelaxed.java @@ -10,17 +10,20 @@ import static java.util.Objects.isNull; +/** + *
+ * message$_ {X:Type}
+ * info:CommonMsgInfoRelaxed
+ * init:(Maybe (Either StateInit ^StateInit)) - default storeBit(false)
+ * body:(Either X ^X) - default storeBit(false)
+ * = MessageRelaxed X;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - message$_ {X:Type} - info:CommonMsgInfoRelaxed - init:(Maybe (Either StateInit ^StateInit)) - default storeBit(false) - body:(Either X ^X) - default storeBit(false) - = MessageRelaxed X; - */ + public class MessageRelaxed { CommonMsgInfoRelaxed info; StateInit init; diff --git a/cell/src/main/java/org/ton/java/tlb/types/MessagesList.java b/cell/src/main/java/org/ton/java/tlb/types/MessagesList.java index 949b8234..13a7b9d0 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MessagesList.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MessagesList.java @@ -14,7 +14,7 @@ @Setter @ToString public class MessagesList { - TonHashMapE list; //dict 15 + TonHashMapE list; public static MessagesList deserialize(CellSlice cs) { if (isNull(cs)) { diff --git a/cell/src/main/java/org/ton/java/tlb/types/MsgAddress.java b/cell/src/main/java/org/ton/java/tlb/types/MsgAddress.java index 4d896a2a..f4096123 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MsgAddress.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MsgAddress.java @@ -4,20 +4,22 @@ import org.ton.java.cell.CellSlice; /** + *
  * addr_none$00 = MsgAddressExt;
  * addr_extern$01 len:(## 9) external_address:(bits len) = MsgAddressExt;
- * 

+ * * anycast_info$_ depth:(#<= 30) { depth >= 1 } rewrite_pfx:(bits depth) = Anycast; * addr_std$10 anycast:(Maybe Anycast) workchain_id:int8 address:bits256 = MsgAddressInt; - *

+ * * addr_var$11 * anycast:(Maybe Anycast) * addr_len:(## 9) * workchain_id:int32 * address:(bits addr_len) = MsgAddressInt; - *

+ * * _ _:MsgAddressInt = MsgAddress; * _ _:MsgAddressExt = MsgAddress; + *

*/ public interface MsgAddress { Cell toCell(); diff --git a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExt.java b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExt.java index c323aa94..00f6ee54 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExt.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExt.java @@ -5,8 +5,10 @@ /** + *
  * addr_none$00 = MsgAddressExt;
  * addr_extern$01 len:(## 9) external_address:(bits len) = MsgAddressExt;
+ * 
*/ public interface MsgAddressExt extends MsgAddress { diff --git a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExtNone.java b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExtNone.java index ca3f2077..1b180220 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExtNone.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExtNone.java @@ -7,12 +7,15 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter /** + *
  * addr_none$00 = MsgAddressExt;
+ * 
*/ +@Builder +@Getter +@Setter + public class MsgAddressExtNone implements MsgAddressExt { int magic; diff --git a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExternal.java b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExternal.java index 11d537ac..82cfe11b 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExternal.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressExternal.java @@ -11,12 +11,15 @@ import static java.util.Objects.nonNull; -@Builder -@Getter -@Setter /** + *
  * addr_extern$01 len:(## 9) external_address:(bits len) = MsgAddressExt;
+ * 
*/ +@Builder +@Getter +@Setter + public class MsgAddressExternal implements MsgAddressExt { int magic; int len; diff --git a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressInt.java b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressInt.java index d7869ce7..43fe359d 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressInt.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressInt.java @@ -6,9 +6,11 @@ /** + *
  * addr_std$10 anycast:(Maybe Anycast)  workchain_id:int8 address:bits256  = MsgAddressInt;
- * 

+ * * addr_var$11 anycast:(Maybe Anycast) addr_len:(## 9) workchain_id:int32 address:(bits addr_len) = MsgAddressInt; + *

*/ public interface MsgAddressInt extends MsgAddress { Cell toCell(); diff --git a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressIntStd.java b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressIntStd.java index 190d7a78..d0043afe 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressIntStd.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressIntStd.java @@ -13,15 +13,17 @@ import static java.util.Objects.isNull; import static java.util.Objects.nonNull; -@Builder -@Getter -@Setter /** + *
  * addr_std$10 anycast:(Maybe Anycast)  workchain_id:int8 address:bits256  = MsgAddressInt;
  *
  * anycast - default is storeBit(false)
- *
+ * 
*/ +@Builder +@Getter +@Setter + public class MsgAddressIntStd implements MsgAddressInt { int magic; Anycast anycast; diff --git a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressIntVar.java b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressIntVar.java index fd4f8430..db656e3b 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MsgAddressIntVar.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MsgAddressIntVar.java @@ -13,16 +13,19 @@ import static java.util.Objects.isNull; import static java.util.Objects.nonNull; -@Builder -@Getter -@Setter /** + *
  * addr_var$11
  *   anycast:(Maybe Anycast)
  *   addr_len:(## 9)
  *   workchain_id:int32
  *   address:(bits addr_len) = MsgAddressInt;
+ *   
*/ +@Builder +@Getter +@Setter + public class MsgAddressIntVar implements MsgAddressInt { int magic; Anycast anycast; diff --git a/cell/src/main/java/org/ton/java/tlb/types/MsgEnvelope.java b/cell/src/main/java/org/ton/java/tlb/types/MsgEnvelope.java index bd67faa5..c36ca890 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/MsgEnvelope.java +++ b/cell/src/main/java/org/ton/java/tlb/types/MsgEnvelope.java @@ -10,11 +10,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * interm_addr_regular$0 use_dest_bits:(#<= 96) = IntermediateAddress;
  * interm_addr_simple$10 workchain_id:int8 addr_pfx:uint64 = IntermediateAddress;
  * interm_addr_ext$11 workchain_id:int32 addr_pfx:uint64 = IntermediateAddress;
@@ -24,7 +21,13 @@
  *   next_addr:IntermediateAddress
  *   fwd_fee_remaining:Grams
  *   msg:^(Message Any) = MsgEnvelope;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class MsgEnvelope { int magic; IntermediateAddress currAddr; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OldMcBlocksInfo.java b/cell/src/main/java/org/ton/java/tlb/types/OldMcBlocksInfo.java index 5d553580..8e7f38c0 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OldMcBlocksInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OldMcBlocksInfo.java @@ -11,13 +11,16 @@ import static java.util.Objects.isNull; +/** + *
+ * _ (HashmapAugE 32 KeyExtBlkRef KeyMaxLt) = OldMcBlocksInfo;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * _ (HashmapAugE 32 KeyExtBlkRef KeyMaxLt) = OldMcBlocksInfo; - */ + public class OldMcBlocksInfo { TonHashMapAugE list; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutList.java b/cell/src/main/java/org/ton/java/tlb/types/OutList.java index 7ba8e944..186d06d4 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutList.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutList.java @@ -11,14 +11,17 @@ import java.util.ArrayList; import java.util.List; -@Builder -@Getter -@Setter -@ToString /** + *
  * out_list_empty$_ = OutList 0;
  * out_list$_ {n:#} prev:^(OutList n) action:OutAction = OutList (n + 1);
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class OutList { List actions; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsg.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsg.java index ae09b890..619bb377 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsg.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsg.java @@ -6,6 +6,7 @@ // msg_export_new extends OutMsg /** + *
  * msg_export_ext$000 msg:^(Message Any)
  * transaction:^Transaction = OutMsg;
  * msg_export_imm$010 out_msg:^MsgEnvelope
@@ -14,19 +15,20 @@
  * transaction:^Transaction = OutMsg;
  * msg_export_tr$011  out_msg:^MsgEnvelope
  * imported:^InMsg = OutMsg;
- * 

+ * * msg_export_deq$1100 out_msg:^MsgEnvelope * import_block_lt:uint63 = OutMsg; - *

+ * * msg_export_deq_short$1101 msg_env_hash:bits256 * next_workchain:int32 next_addr_pfx:uint64 * import_block_lt:uint64 = OutMsg; - *

+ * * msg_export_tr_req$111 out_msg:^MsgEnvelope * imported:^InMsg = OutMsg; - *

+ * * msg_export_deq_imm$100 out_msg:^MsgEnvelope * reimport:^InMsg = OutMsg; + *

*/ public interface OutMsg { Cell toCell(); diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeq.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeq.java index b0095a00..1342c3d6 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeq.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeq.java @@ -10,14 +10,17 @@ import java.math.BigInteger; +/** + *
+ * msg_export_deq$1100 out_msg:^MsgEnvelope
+ * import_block_lt:uint63 = OutMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - msg_export_deq$1100 out_msg:^MsgEnvelope - import_block_lt:uint63 = OutMsg; - */ + public class OutMsgDeq implements OutMsg { int magic; MsgEnvelope outMsg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeqImm.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeqImm.java index bbc142fa..becb1e44 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeqImm.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeqImm.java @@ -8,14 +8,17 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * msg_export_deq_imm$100 out_msg:^MsgEnvelope
+ * reimport:^InMsg = OutMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - msg_export_deq_imm$100 out_msg:^MsgEnvelope - reimport:^InMsg = OutMsg; - */ + public class OutMsgDeqImm implements OutMsg { int magic; MsgEnvelope msg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeqShort.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeqShort.java index a448e136..e4638f86 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeqShort.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgDeqShort.java @@ -10,17 +10,20 @@ import java.math.BigInteger; +/** + *
+ * msg_export_deq_short$1101
+ * msg_env_hash:bits256
+ * next_workchain:int32
+ * next_addr_pfx:uint64
+ * import_block_lt:uint64 = OutMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - msg_export_deq_short$1101 - msg_env_hash:bits256 - next_workchain:int32 - next_addr_pfx:uint64 - import_block_lt:uint64 = OutMsg; - */ + public class OutMsgDeqShort implements OutMsg { int magic; BigInteger msgEnvHash; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgDescr.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgDescr.java index 972338ab..be69556b 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgDescr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgDescr.java @@ -9,13 +9,16 @@ import org.ton.java.cell.CellSlice; import org.ton.java.cell.TonHashMapAugE; +/** + *
+ * _ (HashmapAugE 256 OutMsg CurrencyCollection) = OutMsgDescr;
+ * 
+ */ + @Builder @Getter @Setter @ToString -/** - * _ (HashmapAugE 256 OutMsg CurrencyCollection) = OutMsgDescr; - */ public class OutMsgDescr { TonHashMapAugE outMsg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgExt.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgExt.java index be8e79a1..df8e7f1f 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgExt.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgExt.java @@ -8,14 +8,17 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * msg_export_ext$000 msg:^(Message Any)
+ * transaction:^Transaction = OutMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - msg_export_ext$000 msg:^(Message Any) - transaction:^Transaction = OutMsg; - */ + public class OutMsgExt implements OutMsg { int magic; Message msg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgImm.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgImm.java index 4406b95b..6c56ed28 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgImm.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgImm.java @@ -8,14 +8,15 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + * msg_export_imm$010 out_msg:^MsgEnvelope + * transaction:^Transaction reimport:^InMsg = OutMsg; + */ @Builder @Getter @Setter @ToString -/** - msg_export_imm$010 out_msg:^MsgEnvelope - transaction:^Transaction reimport:^InMsg = OutMsg; - */ + public class OutMsgImm implements OutMsg { int magic; MsgEnvelope msg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgNew.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgNew.java index c4f0fe28..1d55176d 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgNew.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgNew.java @@ -8,14 +8,17 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * msg_export_new$001 out_msg:^MsgEnvelope
+ * transaction:^Transaction = OutMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - msg_export_new$001 out_msg:^MsgEnvelope - transaction:^Transaction = OutMsg; - */ + public class OutMsgNew implements OutMsg { int magic; MsgEnvelope outMsg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgQueueInfo.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgQueueInfo.java index 49c26947..15158a99 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgQueueInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgQueueInfo.java @@ -6,15 +6,18 @@ import lombok.ToString; import org.ton.java.cell.*; +/** + *
+ * _ (HashmapAugE 352 EnqueuedMsg uint64) = OutMsgQueue;
+ * _ (HashmapE 96 ProcessedUpto) = ProcessedInfo; // key is [ shard:uint64 mc_seqno:uint32 ]
+ * _ (HashmapE 320 IhrPendingSince) = IhrPendingInfo;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - // _ (HashmapAugE 352 EnqueuedMsg uint64) = OutMsgQueue; - // _ (HashmapE 96 ProcessedUpto) = ProcessedInfo; // key is [ shard:uint64 mc_seqno:uint32 ] - // _ (HashmapE 320 IhrPendingSince) = IhrPendingInfo; - */ + public class OutMsgQueueInfo { TonHashMapAugE outMsgQueue; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgTr.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgTr.java index ab16af52..da25e293 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgTr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgTr.java @@ -8,14 +8,17 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * msg_export_tr$011  out_msg:^MsgEnvelope
+ * imported:^InMsg = OutMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - msg_export_tr$011 out_msg:^MsgEnvelope - imported:^InMsg = OutMsg; - */ + public class OutMsgTr implements OutMsg { int magic; MsgEnvelope outMsg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/OutMsgTrReq.java b/cell/src/main/java/org/ton/java/tlb/types/OutMsgTrReq.java index aa50dd58..3382f4ef 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/OutMsgTrReq.java +++ b/cell/src/main/java/org/ton/java/tlb/types/OutMsgTrReq.java @@ -8,14 +8,17 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * msg_export_tr_req$111 out_msg:^MsgEnvelope
+ * imported:^InMsg = OutMsg;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - msg_export_tr_req$111 out_msg:^MsgEnvelope - imported:^InMsg = OutMsg; - */ + public class OutMsgTrReq implements OutMsg { int magic; MsgEnvelope msg; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ProcessedUpto.java b/cell/src/main/java/org/ton/java/tlb/types/ProcessedUpto.java index beccf992..e62a3a25 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ProcessedUpto.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ProcessedUpto.java @@ -10,13 +10,16 @@ import java.math.BigInteger; +/** + *
+ * processed_upto$_ last_msg_lt:uint64 last_msg_hash:bits256 = ProcessedUpto;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - processed_upto$_ last_msg_lt:uint64 last_msg_hash:bits256 = ProcessedUpto; - */ + public class ProcessedUpto { BigInteger lastMsgLt; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardAccount.java b/cell/src/main/java/org/ton/java/tlb/types/ShardAccount.java index b9d49e7e..ea47efd6 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardAccount.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardAccount.java @@ -10,16 +10,19 @@ import java.math.BigInteger; +/** + *
+ * account_descr$_ + * account:^Account + * last_trans_hash:bits256 + * last_trans_lt:uint64 = ShardAccount; + *
+ */
 @Builder
 @Getter
 @Setter
 @ToString
-/**
- * account_descr$_
- *   account:^Account
- *   last_trans_hash:bits256
- *   last_trans_lt:uint64 = ShardAccount;
- */
+
 public class ShardAccount {
     Account account;
     BigInteger lastTransHash;
diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardAccounts.java b/cell/src/main/java/org/ton/java/tlb/types/ShardAccounts.java
index 6d3793b0..b0943c96 100644
--- a/cell/src/main/java/org/ton/java/tlb/types/ShardAccounts.java
+++ b/cell/src/main/java/org/ton/java/tlb/types/ShardAccounts.java
@@ -9,13 +9,16 @@
 import org.ton.java.cell.CellSlice;
 import org.ton.java.cell.TonHashMapAugE;
 
+/**
+ * 
+ * _ (HashmapAugE 256 ShardAccount DepthBalanceInfo) = ShardAccounts;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * _ (HashmapAugE 256 ShardAccount DepthBalanceInfo) = ShardAccounts; - */ + public class ShardAccounts { TonHashMapAugE shardAccounts; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardDescr.java b/cell/src/main/java/org/ton/java/tlb/types/ShardDescr.java index 7815d54d..cfbe7a02 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardDescr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardDescr.java @@ -10,11 +10,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * shard_descr#b
  *   seq_no:uint32
  *   reg_mc_seqno:uint32
@@ -56,7 +53,13 @@
  *   split_merge_at:FutureSplitMerge
  *   ^[ fees_collected:CurrencyCollection
  *      funds_created:CurrencyCollection ] = ShardDescr;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class ShardDescr { long magic; long seqNo; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardFeeCreated.java b/cell/src/main/java/org/ton/java/tlb/types/ShardFeeCreated.java index 985c9df3..a1ec1f67 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardFeeCreated.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardFeeCreated.java @@ -8,13 +8,16 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * _ fees:CurrencyCollection create:CurrencyCollection = ShardFeeCreated;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - *_ fees:CurrencyCollection create:CurrencyCollection = ShardFeeCreated; - */ + public class ShardFeeCreated { CurrencyCollection fees; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardFees.java b/cell/src/main/java/org/ton/java/tlb/types/ShardFees.java index 945a05c9..3f9d3c40 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardFees.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardFees.java @@ -9,13 +9,16 @@ import org.ton.java.cell.CellSlice; import org.ton.java.cell.TonHashMapAugE; +/** + *
+ * _ (HashmapAugE 96 ShardFeeCreated ShardFeeCreated) = ShardFees;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - *_ (HashmapAugE 96 ShardFeeCreated ShardFeeCreated) = ShardFees; - */ + public class ShardFees { TonHashMapAugE shardFees; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardHashes.java b/cell/src/main/java/org/ton/java/tlb/types/ShardHashes.java index 477f4ab7..626ed3c5 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardHashes.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardHashes.java @@ -6,13 +6,16 @@ import lombok.ToString; import org.ton.java.cell.*; +/** + *
+ * _ (HashmapE 32 ^(BinTree ShardDescr)) = ShardHashes;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * _ (HashmapE 32 ^(BinTree ShardDescr)) = ShardHashes; - */ + public class ShardHashes { TonHashMapE shardHashes; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardIdent.java b/cell/src/main/java/org/ton/java/tlb/types/ShardIdent.java index d52089e9..2db20bf1 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardIdent.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardIdent.java @@ -12,17 +12,20 @@ import static java.util.Objects.isNull; -@Builder -@Getter -@Setter -@ToString /** + *
  * shard_ident$00
  *  shard_pfx_bits:(#<= 60)
  *  workchain_id:int32
  *  shard_prefix:uint64
  *  = ShardIdent;
+ *  
*/ +@Builder +@Getter +@Setter +@ToString + public class ShardIdent { long magic; int prefixBits; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardState.java b/cell/src/main/java/org/ton/java/tlb/types/ShardState.java index 4925b729..c4bccfd7 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardState.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardState.java @@ -8,15 +8,18 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * split_state#5f327da5
+ * left:^ShardStateUnsplit
+ * right:^ShardStateUnsplit = ShardState;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * split_state#5f327da5 - * left:^ShardStateUnsplit - * right:^ShardStateUnsplit = ShardState; - */ + public class ShardState { long magic; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardStateInfo.java b/cell/src/main/java/org/ton/java/tlb/types/ShardStateInfo.java index 58e85f29..2db5b7cd 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardStateInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardStateInfo.java @@ -11,18 +11,21 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  *   ^[ overload_history:uint64
  *     underload_history:uint64
  *     total_balance:CurrencyCollection
  *     total_validator_fees:CurrencyCollection
  *     libraries:(HashmapE 256 LibDescr)
  *     master_ref:(Maybe BlkMasterInfo) ]
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class ShardStateInfo { BigInteger overloadHistory; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ShardStateUnsplit.java b/cell/src/main/java/org/ton/java/tlb/types/ShardStateUnsplit.java index eda12eb8..8cbd2326 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ShardStateUnsplit.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ShardStateUnsplit.java @@ -10,11 +10,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * shard_state#9023afe2
  *   global_id:int32
  *   shard_id:ShardIdent
@@ -34,7 +31,13 @@
  *     master_ref:(Maybe BlkMasterInfo) ]
  *   custom:(Maybe ^McStateExtra)
  *   = ShardStateUnsplit;
+ * 
*/ +@Builder +@Getter +@Setter +@ToString + public class ShardStateUnsplit { long magic; int globalId; diff --git a/cell/src/main/java/org/ton/java/tlb/types/SigPubKey.java b/cell/src/main/java/org/ton/java/tlb/types/SigPubKey.java index 55558fef..e5ffd037 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/SigPubKey.java +++ b/cell/src/main/java/org/ton/java/tlb/types/SigPubKey.java @@ -10,13 +10,16 @@ import java.math.BigInteger; +/** + *
+ * ed25519_pubkey#8e81278a pubkey:bits256 = SigPubKey;  // 288 bits
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - ed25519_pubkey#8e81278a pubkey:bits256 = SigPubKey; // 288 bits - */ + public class SigPubKey { long magic; BigInteger pubkey; diff --git a/cell/src/main/java/org/ton/java/tlb/types/SplitMergeInfo.java b/cell/src/main/java/org/ton/java/tlb/types/SplitMergeInfo.java index 67820952..3592d0f5 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/SplitMergeInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/SplitMergeInfo.java @@ -10,18 +10,21 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * split_merge_info$_
  *  cur_shard_pfx_len:(## 6)
  *  acc_split_depth:(## 6)
  *  this_addr:bits256
  *  sibling_addr:bits256
  *   = SplitMergeInfo;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class SplitMergeInfo { int curShardPfxLen; int accSplitDepth; diff --git a/cell/src/main/java/org/ton/java/tlb/types/StateInit.java b/cell/src/main/java/org/ton/java/tlb/types/StateInit.java index 160ea39c..45d7ae7d 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/StateInit.java +++ b/cell/src/main/java/org/ton/java/tlb/types/StateInit.java @@ -14,17 +14,20 @@ import static java.util.Objects.nonNull; -@Builder -@Getter -@Setter -@ToString /** + *
  * _ split_depth:(Maybe (## 5))
  *   special:(Maybe TickTock)
  *   code:(Maybe ^Cell)
  *   data:(Maybe ^Cell)
  *   library:(Maybe ^Cell) = StateInit;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class StateInit { BigInteger depth; TickTock tickTock; diff --git a/cell/src/main/java/org/ton/java/tlb/types/StorageInfo.java b/cell/src/main/java/org/ton/java/tlb/types/StorageInfo.java index 0799a9a0..369a000e 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/StorageInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/StorageInfo.java @@ -10,16 +10,19 @@ import java.math.BigInteger; +/** + *
+ * storage_info$_
+ * used:StorageUsed
+ * last_paid:uint32
+ * due_payment:(Maybe Grams) = StorageInfo;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - * storage_info$_ - * used:StorageUsed - * last_paid:uint32 - * due_payment:(Maybe Grams) = StorageInfo; - */ + public class StorageInfo { StorageUsed storageUsed; long lastPaid; diff --git a/cell/src/main/java/org/ton/java/tlb/types/StoragePhase.java b/cell/src/main/java/org/ton/java/tlb/types/StoragePhase.java index d6f448e2..bbee7258 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/StoragePhase.java +++ b/cell/src/main/java/org/ton/java/tlb/types/StoragePhase.java @@ -10,16 +10,19 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * tr_phase_storage$_ storage_fees_collected:Grams
  *   storage_fees_due:(Maybe Grams)
  *   status_change:AccStatusChange
  *   = TrStoragePhase;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class StoragePhase { BigInteger storageFeesCollected; BigInteger storageFeesDue; diff --git a/cell/src/main/java/org/ton/java/tlb/types/StorageUsed.java b/cell/src/main/java/org/ton/java/tlb/types/StorageUsed.java index e9aeda9e..98396d5c 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/StorageUsed.java +++ b/cell/src/main/java/org/ton/java/tlb/types/StorageUsed.java @@ -11,16 +11,19 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * storage_used$_
  *   cells:(VarUInteger 7)
  *   bits:(VarUInteger 7)
  *   public_cells:(VarUInteger 7) = StorageUsed;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class StorageUsed { BigInteger bitsUsed; BigInteger cellsUsed; diff --git a/cell/src/main/java/org/ton/java/tlb/types/StorageUsedShort.java b/cell/src/main/java/org/ton/java/tlb/types/StorageUsedShort.java index 41126694..f450bab2 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/StorageUsedShort.java +++ b/cell/src/main/java/org/ton/java/tlb/types/StorageUsedShort.java @@ -10,15 +10,18 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * storage_used_short$_
  *   cells:(VarUInteger 7)
  *   bits:(VarUInteger 7) = StorageUsedShort;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class StorageUsedShort { BigInteger cells; BigInteger bits; diff --git a/cell/src/main/java/org/ton/java/tlb/types/Transaction.java b/cell/src/main/java/org/ton/java/tlb/types/Transaction.java index 3bc219f6..1c586567 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/Transaction.java +++ b/cell/src/main/java/org/ton/java/tlb/types/Transaction.java @@ -11,11 +11,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * transaction$0111
  *   account_addr:bits256
  *   lt:uint64
@@ -32,7 +29,13 @@
  *   total_fees:CurrencyCollection
  *   state_update:^(HASH_UPDATE Account)
  *   description:^TransactionDescr = Transaction;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class Transaction { int magic; BigInteger accountAddr; diff --git a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionMergeInstall.java b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionMergeInstall.java index 0c79bf00..f7bc4b4d 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionMergeInstall.java +++ b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionMergeInstall.java @@ -8,11 +8,8 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * trans_merge_install$0111
  *   split_info:SplitMergeInfo
  *   prepare_transaction:^Transaction
@@ -22,7 +19,13 @@
  *   action:(Maybe ^TrActionPhase)
  *   aborted:Bool destroyed:Bool
  *   = TransactionDescr;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class TransactionDescriptionMergeInstall { int magic; SplitMergeInfo splitInfo; diff --git a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionMergePrepare.java b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionMergePrepare.java index 28a9e258..f9b4b7c4 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionMergePrepare.java +++ b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionMergePrepare.java @@ -8,11 +8,8 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * trans_split_prepare$0100
  *   split_info:SplitMergeInfo
  *   storage_ph:(Maybe TrStoragePhase)
@@ -20,7 +17,13 @@
  *   action:(Maybe ^TrActionPhase)
  *   aborted:Bool destroyed:Bool
  *   = TransactionDescr;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class TransactionDescriptionMergePrepare { int magic; SplitMergeInfo splitInfo; diff --git a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionOrdinary.java b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionOrdinary.java index eb21a0c6..f79f5d1b 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionOrdinary.java +++ b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionOrdinary.java @@ -8,11 +8,8 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * trans_ord$0000
  *   credit_first:Bool
  *   storage_ph:(Maybe TrStoragePhase)
@@ -23,7 +20,13 @@
  *   bounce:(Maybe TrBouncePhase)
  *   destroyed:Bool
  *   = TransactionDescr;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class TransactionDescriptionOrdinary { int magic; boolean creditFirst; diff --git a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionSplitInstall.java b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionSplitInstall.java index fde38db7..3adfcbb2 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionSplitInstall.java +++ b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionSplitInstall.java @@ -8,16 +8,19 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * trans_split_install$0101
  *   split_info:SplitMergeInfo
  *   prepare_transaction:^Transaction
  *   installed:Bool = TransactionDescr;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class TransactionDescriptionSplitInstall { int magic; SplitMergeInfo splitInfo; diff --git a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionSplitPrepare.java b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionSplitPrepare.java index a95cc149..33b132a4 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionSplitPrepare.java +++ b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionSplitPrepare.java @@ -8,11 +8,8 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * trans_split_prepare$0100
  *   split_info:SplitMergeInfo
  *   storage_ph:(Maybe TrStoragePhase)
@@ -20,7 +17,13 @@
  *   action:(Maybe ^TrActionPhase)
  *   aborted:Bool destroyed:Bool
  *   = TransactionDescr;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class TransactionDescriptionSplitPrepare { int magic; SplitMergeInfo splitInfo; diff --git a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionStorage.java b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionStorage.java index 27e62b09..7057c467 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionStorage.java +++ b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionStorage.java @@ -8,15 +8,18 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * trans_storage$0001
  *    storage_ph:TrStoragePhase
  *   = TransactionDescr;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class TransactionDescriptionStorage { int magic; StoragePhase storagePhase; diff --git a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionTickTock.java b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionTickTock.java index 672fa52a..97d18628 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionTickTock.java +++ b/cell/src/main/java/org/ton/java/tlb/types/TransactionDescriptionTickTock.java @@ -8,11 +8,8 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * trans_tick_tock$001
  *   is_tock:Bool
  *   storage_ph:TrStoragePhase
@@ -20,7 +17,13 @@
  *   action:(Maybe ^TrActionPhase)
  *   aborted:Bool
  *   destroyed:Bool = TransactionDescr;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class TransactionDescriptionTickTock { int magic; boolean isTock; diff --git a/cell/src/main/java/org/ton/java/tlb/types/TransactionIO.java b/cell/src/main/java/org/ton/java/tlb/types/TransactionIO.java index 19a1f37f..97a13876 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/TransactionIO.java +++ b/cell/src/main/java/org/ton/java/tlb/types/TransactionIO.java @@ -9,16 +9,19 @@ import org.ton.java.cell.CellSlice; import org.ton.java.cell.TonHashMapE; -@Builder -@Getter -@Setter -@ToString /** + *
  * ^[
  *   in_msg:(Maybe ^(Message Any))
  *   out_msgs:(HashmapE 15 ^(Message Any))
  *  ]
+ *  
*/ +@Builder +@Getter +@Setter +@ToString + public class TransactionIO { Message in; TonHashMapE out; diff --git a/cell/src/main/java/org/ton/java/tlb/types/Validator.java b/cell/src/main/java/org/ton/java/tlb/types/Validator.java index 7e2e226e..7e9ac1e0 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/Validator.java +++ b/cell/src/main/java/org/ton/java/tlb/types/Validator.java @@ -10,13 +10,14 @@ import java.math.BigInteger; +/** + * validator#53 public_key:SigPubKey weight:uint64 = ValidatorDescr; + */ @Builder @Getter @Setter @ToString -/** - * validator#53 public_key:SigPubKey weight:uint64 = ValidatorDescr; - */ + public class Validator implements ValidatorDescr { long magic; //SigPubKeyED25519 publicKey; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ValidatorAddr.java b/cell/src/main/java/org/ton/java/tlb/types/ValidatorAddr.java index 45553a8c..fc21f11a 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ValidatorAddr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ValidatorAddr.java @@ -10,13 +10,14 @@ import java.math.BigInteger; +/** + * validator_addr#73 public_key:SigPubKey weight:uint64 adnl_addr:bits256 = ValidatorDescr; + */ @Builder @Getter @Setter @ToString -/** - * validator_addr#73 public_key:SigPubKey weight:uint64 adnl_addr:bits256 = ValidatorDescr; - */ + public class ValidatorAddr implements ValidatorDescr { int magic; // SigPubKeyED25519 publicKey; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ValidatorBaseInfo.java b/cell/src/main/java/org/ton/java/tlb/types/ValidatorBaseInfo.java index 7d53a374..b7ac00ee 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ValidatorBaseInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ValidatorBaseInfo.java @@ -8,16 +8,19 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * validator_base_info$_
+ * validator_list_hash_short:uint32
+ * catchain_seqno:uint32
+ * = ValidatorBaseInfo;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - validator_base_info$_ - validator_list_hash_short:uint32 - catchain_seqno:uint32 - = ValidatorBaseInfo; - */ + public class ValidatorBaseInfo { int magic; long validatorListHashShort; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ValidatorDescr.java b/cell/src/main/java/org/ton/java/tlb/types/ValidatorDescr.java index fa898c4c..b4183631 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ValidatorDescr.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ValidatorDescr.java @@ -4,8 +4,10 @@ import org.ton.java.cell.CellSlice; /** + *
  * validator#53 public_key:SigPubKey weight:uint64 = ValidatorDescr;
  * validator_addr#73 public_key:SigPubKey weight:uint64 adnl_addr:bits256 = ValidatorDescr;
+ * 
*/ public interface ValidatorDescr { diff --git a/cell/src/main/java/org/ton/java/tlb/types/ValidatorInfo.java b/cell/src/main/java/org/ton/java/tlb/types/ValidatorInfo.java index 9379f9ce..0c1af1f7 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ValidatorInfo.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ValidatorInfo.java @@ -8,17 +8,20 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * validator_info$_
+ * validator_list_hash_short:uint32
+ * catchain_seqno:uint32
+ * nx_cc_updated:Bool
+ * = ValidatorInfo;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - validator_info$_ - validator_list_hash_short:uint32 - catchain_seqno:uint32 - nx_cc_updated:Bool - = ValidatorInfo; - */ + public class ValidatorInfo { long validatorListHashShort; long catchainSeqno; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ValidatorSet.java b/cell/src/main/java/org/ton/java/tlb/types/ValidatorSet.java index 6b60a522..c2abac88 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ValidatorSet.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ValidatorSet.java @@ -5,12 +5,14 @@ /** + *
  * validators#11 utime_since:uint32 utime_until:uint32
  * total:(## 16) main:(## 16) { main <= total } { main >= 1 }
  * list:(Hashmap 16 ValidatorDescr) = ValidatorSet;
  * validators_ext#12 utime_since:uint32 utime_until:uint32
  * total:(## 16) main:(## 16) { main <= total } { main >= 1 }
  * total_weight:uint64 list:(HashmapE 16 ValidatorDescr) = ValidatorSet;
+ * 
*/ public interface ValidatorSet { Cell toCell(); diff --git a/cell/src/main/java/org/ton/java/tlb/types/Validators.java b/cell/src/main/java/org/ton/java/tlb/types/Validators.java index 5d999aac..d43c210e 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/Validators.java +++ b/cell/src/main/java/org/ton/java/tlb/types/Validators.java @@ -9,18 +9,21 @@ import org.ton.java.cell.CellSlice; import org.ton.java.cell.TonHashMap; -@Builder -@Getter -@Setter -@ToString /** + *
  * validators#11
  *   utime_since:uint32
  *   utime_until:uint32
  *   total:(## 16)
  *   main:(## 16) { main <= total } { main >= 1 }
  *   list:(Hashmap 16 ValidatorDescr) = ValidatorSet;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class Validators implements ValidatorSet { int magic; long uTimeSince; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ValidatorsExt.java b/cell/src/main/java/org/ton/java/tlb/types/ValidatorsExt.java index 1de43605..6b298089 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ValidatorsExt.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ValidatorsExt.java @@ -11,11 +11,8 @@ import java.math.BigInteger; -@Builder -@Getter -@Setter -@ToString /** + *
  * validators_ext#12
  *   utime_since:uint32
  *   utime_until:uint32
@@ -23,7 +20,13 @@
  *   main:(## 16) { main <= total } { main >= 1 }
  *   total_weight:uint64
  *   list:(HashmapE 16 ValidatorDescr) = ValidatorSet;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class ValidatorsExt implements ValidatorSet { long magic; long uTimeSince; diff --git a/cell/src/main/java/org/ton/java/tlb/types/ValueFlow.java b/cell/src/main/java/org/ton/java/tlb/types/ValueFlow.java index 8e5e6655..e17933f8 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/ValueFlow.java +++ b/cell/src/main/java/org/ton/java/tlb/types/ValueFlow.java @@ -8,11 +8,8 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; -@Builder -@Getter -@Setter -@ToString /** + *
  * value_flow#b8e48dfb
  *  ^[
  *   from_prev_blk:CurrencyCollection
@@ -28,7 +25,13 @@
  *   created:CurrencyCollection
  *   minted:CurrencyCollection
  *   ] = ValueFlow;
+ *   
*/ +@Builder +@Getter +@Setter +@ToString + public class ValueFlow { long magic; CurrencyCollection fromPrevBlk; diff --git a/cell/src/main/java/org/ton/java/tlb/types/VmTuple.java b/cell/src/main/java/org/ton/java/tlb/types/VmTuple.java index 53ca0afb..39848aa5 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/VmTuple.java +++ b/cell/src/main/java/org/ton/java/tlb/types/VmTuple.java @@ -13,8 +13,10 @@ import java.util.List; /** + *
  * vm_tuple_nil$_ = VmTuple 0;
  * vm_tuple_tcons$_ {n:#} head:(VmTupleRef n) tail:^VmStackValue = VmTuple (n + 1);
+ * 
*/ @Builder @Getter diff --git a/cell/src/main/java/org/ton/java/tlb/types/VmTupleRef.java b/cell/src/main/java/org/ton/java/tlb/types/VmTupleRef.java index d754aaf2..a4e01949 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/VmTupleRef.java +++ b/cell/src/main/java/org/ton/java/tlb/types/VmTupleRef.java @@ -12,9 +12,11 @@ import java.util.List; /** + *
  * vm_tupref_nil$_ = VmTupleRef 0;
  * vm_tupref_single$_ entry:^VmStackValue = VmTupleRef 1;
  * vm_tupref_any$_ {n:#} ref:^(VmTuple (n + 2)) = VmTupleRef (n + 2);
+ * 
*/ @Builder @Getter diff --git a/cell/src/main/java/org/ton/java/tlb/types/WcSplitMergeTimings.java b/cell/src/main/java/org/ton/java/tlb/types/WcSplitMergeTimings.java index 13b62b94..ce675c1d 100644 --- a/cell/src/main/java/org/ton/java/tlb/types/WcSplitMergeTimings.java +++ b/cell/src/main/java/org/ton/java/tlb/types/WcSplitMergeTimings.java @@ -8,16 +8,19 @@ import org.ton.java.cell.CellBuilder; import org.ton.java.cell.CellSlice; +/** + *
+ * wc_split_merge_timings#0
+ * split_merge_delay:uint32 split_merge_interval:uint32
+ * min_split_merge_interval:uint32 max_split_merge_delay:uint32
+ * = WcSplitMergeTimings;
+ * 
+ */ @Builder @Getter @Setter @ToString -/** - wc_split_merge_timings#0 - split_merge_delay:uint32 split_merge_interval:uint32 - min_split_merge_interval:uint32 max_split_merge_delay:uint32 - = WcSplitMergeTimings; - */ + public class WcSplitMergeTimings { int magic; long splitMergeDelay;