mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 09:46:53 +00:00
add prefunded sponsor tests
This commit is contained in:
@@ -454,6 +454,9 @@ areCompatible(
|
||||
uint32_t
|
||||
ownerCount(std::shared_ptr<SLE const> const& sponsorSle);
|
||||
|
||||
bool
|
||||
isReserveSponsored(STTx const& tx);
|
||||
|
||||
bool
|
||||
isSponsorReserveCoSigning(STTx const& tx);
|
||||
|
||||
@@ -476,12 +479,23 @@ getTxReserveSponsor(ApplyView& view, STTx const& tx);
|
||||
std::optional<std::shared_ptr<SLE const>>
|
||||
getTxReserveSponsor(ReadView const& view, STTx const& tx);
|
||||
|
||||
std::optional<AccountID>
|
||||
getLedgerEntryReserveSponsorAccountID(
|
||||
std::shared_ptr<SLE const> sle,
|
||||
SF_ACCOUNT const& field = sfSponsorAccount);
|
||||
|
||||
std::optional<std::shared_ptr<SLE>>
|
||||
getLedgerEntryReserveSponsor(
|
||||
ApplyView& view,
|
||||
std::shared_ptr<SLE> sle,
|
||||
SF_ACCOUNT const& field = sfSponsorAccount);
|
||||
|
||||
std::optional<std::shared_ptr<SLE const>>
|
||||
getLedgerEntryReserveSponsor(
|
||||
ReadView const& view,
|
||||
std::shared_ptr<SLE const> sle,
|
||||
SF_ACCOUNT const& field = sfSponsorAccount);
|
||||
|
||||
void
|
||||
addSponsorToLedgerEntry(
|
||||
std::shared_ptr<SLE> const& sle,
|
||||
|
||||
Reference in New Issue
Block a user