featureTokenIssuance

This commit is contained in:
Denis Angell
2026-09-12 06:35:47 -04:00
parent 9403736199
commit b045b86222
39 changed files with 2432 additions and 40 deletions

View File

@@ -104,6 +104,7 @@ enum class LedgerNameSpace : std::uint16_t {
LoanBroker = 'l', // lower-case L
Loan = 'L',
Sponsorship = '>',
TokenIssuance = 'F',
// No longer used or supported. Left here to reserve the space to avoid accidental reuse.
Contract [[deprecated]] = 'c',
@@ -560,6 +561,12 @@ mptokenIssuance(MPTID const& issuanceID) noexcept
return {ltMPTOKEN_ISSUANCE, indexHash(LedgerNameSpace::MPTokenIssuance, issuanceID)};
}
Keylet
tokenIssuance(AccountID const& issuer, Currency const& currency) noexcept
{
return {ltTOKEN_ISSUANCE, indexHash(LedgerNameSpace::TokenIssuance, issuer, currency)};
}
Keylet
mptoken(MPTID const& issuanceID, AccountID const& holder) noexcept
{