status-desktop/ui/app/AppLayouts/Chat/helpers/CollectibleObject.qml
Noelia f58f82d4c6 refactor(MintToken): Mint token views refactor
- Created `TokenObject` files and use them inside `CommunityNewTokenView` instead of plain properties.
- Updated `CommunityTokenView` to use `TokenObject` properties instead of plain properties.
- Updated store calls to use `TokenObject` properties instead of plain properties.
- Remote destruct properties renames.
- Airdrop navigation extended passing token type (asset or collectible).
- Updated `storybook` according to new changes.
2023-06-13 15:57:20 +02:00

22 lines
613 B
QML

import QtQuick 2.15
import utils 1.0
/*!
\qmltype CollectibleObject
\inherits TokenObject
\brief ERC721 token object properties definition (also known as collectible).
*/
TokenObject {
property bool transferable: false
property bool remotelyDestruct: true
property int remotelyDestructState: Constants.ContractTransactionStatus.None
function copyCollectible(tokenObject) {
copyToken(tokenObject)
transferable = tokenObject.transferable
remotelyDestruct = tokenObject.remotelyDestruct
remotelyDestructState = tokenObject.remotelyDestructState
}
}