static constexpr std::size_t maxLength() noexcept
Returns the maximum supported contract type length.
bool empty() const noexcept
Checks whether the stored value is empty.
static std::string normalize(std::string value)
Trims leading and trailing whitespace from a contract type.
static bool isValid(const std::string &value)
Checks whether a raw contract type is valid.
const std::string & value() const noexcept