Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
data::Amendment Struct Reference

Represents an amendment in the XRPL. More...

#include <Types.hpp>

Public Member Functions

bool operator== (Amendment const &other) const
 Equality comparison operator.
 

Static Public Member Functions

static ripple::uint256 getAmendmentId (std::string_view const name)
 Get the amendment Id from its name.
 

Public Attributes

std::string name
 
ripple::uint256 feature
 
bool isSupportedByXRPL = false
 
bool isSupportedByClio = false
 
bool isRetired = false
 

Detailed Description

Represents an amendment in the XRPL.

Member Function Documentation

◆ getAmendmentId()

ripple::uint256 data::Amendment::getAmendmentId ( std::string_view const name)
static

Get the amendment Id from its name.

Parameters
nameThe name of the amendment
Returns
The amendment Id as uint256

◆ operator==()

bool data::Amendment::operator== ( Amendment const & other) const
inline

Equality comparison operator.

Parameters
otherThe object to compare to
Returns
Whether the objects are equal

The documentation for this struct was generated from the following files: