xrpld
Loading...
Searching...
No Matches
xrpl::XChainCreateAccountAttestation Struct Reference

#include <XChainAttestations.h>

Collaboration diagram for xrpl::XChainCreateAccountAttestation:

Classes

struct  MatchFields

Public Types

using TSignedAttestation = Attestations::AttestationCreateAccount

Public Member Functions

 XChainCreateAccountAttestation (AccountID const &keyAccount, PublicKey const &publicKey, STAmount const &amount, STAmount const &rewardAmount, AccountID const &rewardAccount, bool wasLockingChainSend, AccountID const &dst)
 XChainCreateAccountAttestation (TSignedAttestation const &claimAtt)
 XChainCreateAccountAttestation (STObject const &o)
 XChainCreateAccountAttestation (json::Value const &v)
STObject toSTObject () const
AttestationMatch match (MatchFields const &rhs) const

Public Attributes

AccountID keyAccount
PublicKey publicKey
STAmount amount
STAmount rewardAmount
AccountID rewardAccount
bool wasLockingChainSend
AccountID dst

Static Public Attributes

static SField const & arrayFieldName {sfXChainCreateAccountAttestations}

Friends

bool operator== (XChainCreateAccountAttestation const &lhs, XChainCreateAccountAttestation const &rhs)

Detailed Description

Definition at line 298 of file XChainAttestations.h.

Member Typedef Documentation

◆ TSignedAttestation

Constructor & Destructor Documentation

◆ XChainCreateAccountAttestation() [1/4]

xrpl::XChainCreateAccountAttestation::XChainCreateAccountAttestation ( AccountID const & keyAccount,
PublicKey const & publicKey,
STAmount const & amount,
STAmount const & rewardAmount,
AccountID const & rewardAccount,
bool wasLockingChainSend,
AccountID const & dst )
explicit

Definition at line 511 of file XChainAttestations.cpp.

◆ XChainCreateAccountAttestation() [2/4]

xrpl::XChainCreateAccountAttestation::XChainCreateAccountAttestation ( XChainCreateAccountAttestation::TSignedAttestation const & createAtt)
explicit

Definition at line 551 of file XChainAttestations.cpp.

◆ XChainCreateAccountAttestation() [3/4]

xrpl::XChainCreateAccountAttestation::XChainCreateAccountAttestation ( STObject const & o)
explicit

Definition at line 529 of file XChainAttestations.cpp.

◆ XChainCreateAccountAttestation() [4/4]

xrpl::XChainCreateAccountAttestation::XChainCreateAccountAttestation ( json::Value const & v)
explicit

Definition at line 539 of file XChainAttestations.cpp.

Member Function Documentation

◆ toSTObject()

STObject xrpl::XChainCreateAccountAttestation::toSTObject ( ) const
nodiscard

Definition at line 565 of file XChainAttestations.cpp.

◆ match()

AttestationMatch xrpl::XChainCreateAccountAttestation::match ( XChainCreateAccountAttestation::MatchFields const & rhs) const
nodiscard

Definition at line 590 of file XChainAttestations.cpp.

◆ operator==

bool operator== ( XChainCreateAccountAttestation const & lhs,
XChainCreateAccountAttestation const & rhs )
friend

Definition at line 601 of file XChainAttestations.cpp.

Member Data Documentation

◆ arrayFieldName

SField const & xrpl::XChainCreateAccountAttestation::arrayFieldName {sfXChainCreateAccountAttestations}
static

Definition at line 301 of file XChainAttestations.h.

◆ keyAccount

AccountID xrpl::XChainCreateAccountAttestation::keyAccount

Definition at line 303 of file XChainAttestations.h.

◆ publicKey

PublicKey xrpl::XChainCreateAccountAttestation::publicKey

Definition at line 304 of file XChainAttestations.h.

◆ amount

STAmount xrpl::XChainCreateAccountAttestation::amount

Definition at line 305 of file XChainAttestations.h.

◆ rewardAmount

STAmount xrpl::XChainCreateAccountAttestation::rewardAmount

Definition at line 306 of file XChainAttestations.h.

◆ rewardAccount

AccountID xrpl::XChainCreateAccountAttestation::rewardAccount

Definition at line 307 of file XChainAttestations.h.

◆ wasLockingChainSend

bool xrpl::XChainCreateAccountAttestation::wasLockingChainSend

Definition at line 308 of file XChainAttestations.h.

◆ dst

AccountID xrpl::XChainCreateAccountAttestation::dst

Definition at line 309 of file XChainAttestations.h.