status-desktop/ui/app/AppLayouts/Wallet/popups/swap/SwapInputParamsForm.qml

15 lines
453 B
QML

import QtQml 2.15
/* This is used so that there is an easy way to fill in the data
needed to launch the Swap Modal with pre-filled requisites. */
QtObject {
id: root
property int selectedAccountIndex: 0
property int selectedNetworkChainId: -1
property string fromTokensKey: ""
property string fromTokenAmount: "0"
property string toTokenKey: ""
property string toTokenAmount: "0"
property double selectedSlippage: 0.5
}