38 auto const account = ctx.
tx[sfAccount];
40 auto const& ids = ctx.
tx[sfNFTokenOffers];
43 ids.begin(), ids.end(), [&ctx, &account](
uint256 const&
id) {
44 auto const offer = ctx.view.read(keylet::child(id));
53 if (offer->getType() != ltNFTOKEN_OFFER)
57 if (hasExpired(ctx.view, (*offer)[~sfExpiration]))
61 if ((*offer)[sfOwner] == account)
65 if (auto const dest = (*offer)[~sfDestination]; dest == account)
State information when determining if a tx is likely to claim a fee.
State information when preflighting a tx.