|
| NFTsData (ripple::uint256 const &tokenID, ripple::AccountID const &owner, ripple::Blob const &uri, ripple::TxMeta const &meta) |
| Construct a new NFTsData object.
|
|
| NFTsData (ripple::uint256 const &tokenID, ripple::AccountID const &owner, ripple::TxMeta const &meta, bool isBurned) |
| Construct a new NFTsData object.
|
|
| NFTsData (ripple::uint256 const &tokenID, std::uint32_t const ledgerSequence, ripple::AccountID const &owner, ripple::Blob const &uri) |
| Construct a new NFTsData object.
|
|
| NFTsData (ripple::uint256 const &tokenID, ripple::TxMeta const &meta, ripple::Blob const &uri) |
| Construct a new NFTsData object with only the URI changed.
|
|
Represents an NFT state at a particular ledger.
Gets written to nf_tokens table and the like.
The transaction index is only stored because we want to store only the final state of an NFT per ledger. Since we pull this from transactions we keep track of which tx index created this so we can de-duplicate, as it is possible for one ledger to have multiple txs that change the state of the same NFT.
We only set the uri if this is a mint tx, or if we are loading initial state from NFTokenPage objects.