diff --git a/src/main/java/com/casper/sdk/model/contract/Contract.java b/src/main/java/com/casper/sdk/model/contract/Contract.java index 2a7e5a16..6e53ce81 100644 --- a/src/main/java/com/casper/sdk/model/contract/Contract.java +++ b/src/main/java/com/casper/sdk/model/contract/Contract.java @@ -1,11 +1,7 @@ package com.casper.sdk.model.contract; import com.fasterxml.jackson.annotation.JsonProperty; -import lombok.AllArgsConstructor; -import lombok.Builder; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; +import lombok.*; import java.util.List; @@ -23,34 +19,23 @@ @NoArgsConstructor public class Contract { - /** - * contract_package_hash(String) - The hash address of the contract package. - */ + /** contract_package_hash(String) - The hash address of the contract package. */ @JsonProperty("contract_package_hash") private String packageHash; - /** - * contract_wasm_hash(String) The hash address of the contract wasm. - */ + /** contract_wasm_hash(String) The hash address of the contract wasm. */ @JsonProperty("contract_wasm_hash") private String wasmHash; - /** - * entry_points(Array) - A list of entry points. - */ + /** entry_points(Array) - A list of entry points. */ @JsonProperty("entry_points") private List entryPoints; - - /** - * named_keys(Array) - A list of named keys. - */ + /** named_keys(Array) - A list of named keys. */ @JsonProperty("named_keys") private List namedKeys; - /** - * protocol_version(String) - ? - */ + /** protocol_version(String) - ? */ @JsonProperty("protocol_version") private String protocolVersion; } diff --git a/src/main/java/com/casper/sdk/model/deploy/executionresult/Failure.java b/src/main/java/com/casper/sdk/model/deploy/executionresult/Failure.java index 70dbff0d..b2a5f507 100644 --- a/src/main/java/com/casper/sdk/model/deploy/executionresult/Failure.java +++ b/src/main/java/com/casper/sdk/model/deploy/executionresult/Failure.java @@ -27,25 +27,17 @@ @JsonTypeName("Failure") public class Failure { - /** - * The cost of executing the deploy. - */ + /** The cost of executing the deploy. */ @JsonSerialize(using = ToStringSerializer.class) private BigInteger cost; - /** - * @see ExecutionEffect - */ + /** @see ExecutionEffect */ private ExecutionEffect effect; - /** - * The error message associated with executing the deploy - */ + /** The error message associated with executing the deploy */ @JsonProperty("error_message") private String errorMessage; - /** - * List of Hex-encoded transfer address. - */ + /** List of Hex-encoded transfer address. */ private List transfers; } diff --git a/src/main/java/com/casper/sdk/model/deploy/executionresult/Success.java b/src/main/java/com/casper/sdk/model/deploy/executionresult/Success.java index 1cc294fb..8a363d85 100644 --- a/src/main/java/com/casper/sdk/model/deploy/executionresult/Success.java +++ b/src/main/java/com/casper/sdk/model/deploy/executionresult/Success.java @@ -26,19 +26,13 @@ @JsonTypeName("Success") public class Success { - /** - * @see ExecutionEffect - */ + /** @see ExecutionEffect */ private ExecutionEffect effect; - /** - * List of Hex-encoded transfer address. - */ + /** List of Hex-encoded transfer address. */ private List transfers; - /** - * The cost of executing the deploy. - */ + /** The cost of executing the deploy. */ @JsonSerialize(using = ToStringSerializer.class) private BigInteger cost; } diff --git a/src/main/java/com/casper/sdk/model/deploy/transform/WriteBid.java b/src/main/java/com/casper/sdk/model/deploy/transform/WriteBid.java index 28c8fbaa..05007b75 100644 --- a/src/main/java/com/casper/sdk/model/deploy/transform/WriteBid.java +++ b/src/main/java/com/casper/sdk/model/deploy/transform/WriteBid.java @@ -21,9 +21,7 @@ @JsonTypeName("WriteBid") public class WriteBid implements Transform { - /** - * @see Bid - */ + /** @see Bid */ @JsonProperty("WriteBid") private Bid bid; } diff --git a/src/main/java/com/casper/sdk/model/transaction/AbstractTransaction.java b/src/main/java/com/casper/sdk/model/transaction/AbstractTransaction.java index 8e5d4a6f..39145354 100644 --- a/src/main/java/com/casper/sdk/model/transaction/AbstractTransaction.java +++ b/src/main/java/com/casper/sdk/model/transaction/AbstractTransaction.java @@ -21,7 +21,7 @@ import java.util.List; /** - * Transaction response obtained using the info_get_transaction RPC call. + * Base class for transaction response obtained using the info_get_transaction RPC call. * * @author ian@meywood.com */