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 xrpl::uint256 getAmendmentId (std::string_view const name)
 Get the amendment Id from its name.

Public Attributes

std::string name
 Name of the amendment.
xrpl::uint256 feature
 Amendment ID (hash of the name).
bool isSupportedByXRPL = false
 Whether libxrpl knows and supports the amendment.
bool isSupportedByClio = false
 Whether Clio supports the amendment.
bool isRetired = false
 Whether the amendment is retired.

Detailed Description

Represents an amendment in the XRPL.

Member Function Documentation

◆ getAmendmentId()

xrpl::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:
  • /__w/clio/clio/src/data/Types.hpp
  • /__w/clio/clio/src/data/AmendmentCenter.cpp