3#include <test/jtx/Account.h>
4#include <test/jtx/Env.h>
5#include <test/jtx/owners.h>
7#include <xrpl/basics/strHex.h>
15mint(jtx::Account
const& account, std::uint32_t tokenTaxon = 0);
184 uint256 const& sellOfferIndex);
Immutable cryptographic account descriptor.
A transaction testing environment.
void operator()(Env &, JTx &jtx) const
Amount(STAmount const amount)
void operator()(Env &, JTx &jtx) const
STAmount const brokerFee_
BrokerFee(STAmount const fee)
Destination(jtx::Account const &dest)
void operator()(Env &, JTx &jtx) const
void operator()(Env &, JTx &jtx) const
Expiration(std::uint32_t const &expires)
Issuer(jtx::Account const &issue)
void operator()(Env &, JTx &jtx) const
void operator()(Env &, JTx &jtx) const
Owner(jtx::Account const &ownedBy)
void operator()(Env &, JTx &jtx) const
RootIndex(uint256 const &index)
void operator()(Env &, JTx &jtx) const
Uri(std::string const &u)
void operator()(Env &, JTx &jtx) const
XferFee(std::uint16_t fee)
json::Value clearMinter(jtx::Account const &account)
Clear any authorized minter from an account root.
uint256 getID(jtx::Env const &env, jtx::Account const &issuer, std::uint32_t nfTokenTaxon, std::uint32_t nftSeq, std::uint16_t flags, std::uint16_t xferFee)
Get the NFTokenID for a particular nftSequence.
json::Value brokerOffers(jtx::Account const &account, uint256 const &buyOfferIndex, uint256 const &sellOfferIndex)
Broker two NFToken offers.
json::Value mint(jtx::Account const &account, std::uint32_t nfTokenTaxon)
Mint an NFToken.
json::Value cancelOffer(jtx::Account const &account, std::initializer_list< uint256 > const &nftokenOffers)
Cancel NFTokenOffers.
json::Value createOffer(jtx::Account const &account, uint256 const &nftokenID, STAmount const &amount)
Create an NFTokenOffer.
json::Value acceptBuyOffer(jtx::Account const &account, uint256 const &offerIndex)
Accept an NFToken buy offer.
json::Value acceptSellOffer(jtx::Account const &account, uint256 const &offerIndex)
Accept an NFToken sell offer.
json::Value modify(jtx::Account const &account, uint256 const &nftokenID)
Modify an NFToken.
json::Value setMinter(jtx::Account const &account, jtx::Account const &minter)
Set the authorized minter on an account root.
json::Value burn(jtx::Account const &account, uint256 const &nftokenID)
Burn an NFToken.
uint256 getNextID(jtx::Env const &env, jtx::Account const &issuer, std::uint32_t nfTokenTaxon, std::uint16_t flags, std::uint16_t xferFee)
Get the next NFTokenID that will be issued.
std::string strHex(FwdIt begin, FwdIt end)
std::string to_string(BaseUInt< Bits, Tag > const &a)
Execution context for applying a JSON transaction.