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

16 lines
332 B
QML

import QtQuick 2.15
/*!
\qmltype AssetObject
\inherits TokenObject
\brief ERC20 token object properties definition (also known as asset).
*/
TokenObject {
property int decimals: 2 // Default value
function copyAsset(tokenObject) {
copyToken(tokenObject)
decimals = tokenObject.decimals
}
}