File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ class DelegateContractId : public ContractId
5555 *
5656 * @param id The contract ID string from which to construct.
5757 * @return The constructed DelegateContractId object.
58+ * @throws std::invalid_argument If the input string is malformed or the type of <num> cannot be determined.
5859 */
5960 [[nodiscard]] static DelegateContractId fromString (std::string_view id);
6061
@@ -68,9 +69,9 @@ class DelegateContractId : public ContractId
6869 [[nodiscard]] static DelegateContractId fromSolidityAddress (std::string_view address);
6970
7071 /* *
71- * Construct an DelegateContractId object from an DelegateContractId protobuf object.
72+ * Construct a DelegateContractId object from a DelegateContractId protobuf object.
7273 *
73- * @param proto The DelegateContractId protobuf object from which to create an DelegateContractId object.
74+ * @param proto The DelegateContractId protobuf object from which to create a DelegateContractId object.
7475 * @return The constructed DelegateContractId object.
7576 */
7677 [[nodiscard]] static DelegateContractId fromProtobuf (const proto::ContractID& id);
@@ -79,7 +80,7 @@ class DelegateContractId : public ContractId
7980 * Construct a DelegateContractId object from a representative byte array.
8081 *
8182 * @param bytes The byte array from which to construct a DelegateContractId object.
82- * @return The constructed ContractId object.
83+ * @return The constructed DelegateContractId object.
8384 */
8485 [[nodiscard]] static DelegateContractId fromBytes (const std::vector<std::byte>& bytes);
8586
You can’t perform that action at this time.
0 commit comments