Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/sdk/main/include/DelegateContractId.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class DelegateContractId : public ContractId
*
* @param id The contract ID string from which to construct.
* @return The constructed DelegateContractId object.
* @throws std::invalid_argument If the input string is malformed or the type of <num> cannot be determined.
*/
[[nodiscard]] static DelegateContractId fromString(std::string_view id);

Expand All @@ -68,9 +69,9 @@ class DelegateContractId : public ContractId
[[nodiscard]] static DelegateContractId fromSolidityAddress(std::string_view address);

/**
* Construct an DelegateContractId object from an DelegateContractId protobuf object.
* Construct a DelegateContractId object from a DelegateContractId protobuf object.
*
* @param proto The DelegateContractId protobuf object from which to create an DelegateContractId object.
* @param proto The DelegateContractId protobuf object from which to create a DelegateContractId object.
* @return The constructed DelegateContractId object.
*/
[[nodiscard]] static DelegateContractId fromProtobuf(const proto::ContractID& id);
Expand All @@ -79,7 +80,7 @@ class DelegateContractId : public ContractId
* Construct a DelegateContractId object from a representative byte array.
*
* @param bytes The byte array from which to construct a DelegateContractId object.
* @return The constructed ContractId object.
* @return The constructed DelegateContractId object.
*/
[[nodiscard]] static DelegateContractId fromBytes(const std::vector<std::byte>& bytes);

Expand Down
Loading