fix(@desktop/wallet): Update the link to point to terms and condition of paraswap page.
This commit is contained in:
parent
347e0df8b0
commit
b93edff484
|
@ -95,6 +95,9 @@ SplitView {
|
||||||
networkIconPath: Style.svg(priv.selectedNetwork.iconUrl)
|
networkIconPath: Style.svg(priv.selectedNetwork.iconUrl)
|
||||||
networkBlockExplorerUrl: priv.selectedNetwork.blockExplorerURL
|
networkBlockExplorerUrl: priv.selectedNetwork.blockExplorerURL
|
||||||
|
|
||||||
|
serviceProviderName: "Paraswap"
|
||||||
|
serviceProviderURL: Constants.swap.termsAndConditionParaswapUrl
|
||||||
|
|
||||||
fiatFees: "1.54 EUR"
|
fiatFees: "1.54 EUR"
|
||||||
cryptoFees: "0.001 ETH"
|
cryptoFees: "0.001 ETH"
|
||||||
slippage: 0.5
|
slippage: 0.5
|
||||||
|
|
|
@ -47,6 +47,9 @@ Item {
|
||||||
networkIconPath: Style.svg("network/Network=Ethereum")
|
networkIconPath: Style.svg("network/Network=Ethereum")
|
||||||
networkBlockExplorerUrl: "https://etherscan.io/"
|
networkBlockExplorerUrl: "https://etherscan.io/"
|
||||||
|
|
||||||
|
serviceProviderName: "Paraswap"
|
||||||
|
serviceProviderURL: Constants.swap.termsAndConditionParaswapUrl
|
||||||
|
|
||||||
fiatFees: "1.54 EUR"
|
fiatFees: "1.54 EUR"
|
||||||
cryptoFees: "0.001 ETH"
|
cryptoFees: "0.001 ETH"
|
||||||
slippage: 0.2
|
slippage: 0.2
|
||||||
|
|
|
@ -507,7 +507,7 @@ StatusDialog {
|
||||||
slippage: root.swapInputParamsForm.selectedSlippage
|
slippage: root.swapInputParamsForm.selectedSlippage
|
||||||
|
|
||||||
serviceProviderName: root.swapAdaptor.swapOutputData.txProviderName
|
serviceProviderName: root.swapAdaptor.swapOutputData.txProviderName
|
||||||
// serviceProviderURL: "" // FIXME get the service provider URL from backend
|
serviceProviderURL: Constants.swap.termsAndConditionParaswapUrl // TODO https://github.com/status-im/status-desktop/issues/15329
|
||||||
|
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
root.swapAdaptor.sendSwapTx()
|
root.swapAdaptor.sendSwapTx()
|
||||||
|
|
|
@ -42,8 +42,8 @@ SignTransactionModalBase {
|
||||||
required property string cryptoFees
|
required property string cryptoFees
|
||||||
required property double slippage
|
required property double slippage
|
||||||
|
|
||||||
property string serviceProviderName: "Paraswap"
|
required property string serviceProviderName
|
||||||
property string serviceProviderURL: "https://www.paraswap.io/" // TODO https://github.com/status-im/status-desktop/issues/15329
|
required property string serviceProviderURL
|
||||||
|
|
||||||
title: qsTr("Sign Swap")
|
title: qsTr("Sign Swap")
|
||||||
//: e.g. (swap) 100 DAI to 100 USDT
|
//: e.g. (swap) 100 DAI to 100 USDT
|
||||||
|
|
|
@ -1335,6 +1335,7 @@ QtObject {
|
||||||
this list dynamically */
|
this list dynamically */
|
||||||
readonly property string paraswapIcon: "paraswap"
|
readonly property string paraswapIcon: "paraswap"
|
||||||
readonly property string paraswapUrl: "app.paraswap.io"
|
readonly property string paraswapUrl: "app.paraswap.io"
|
||||||
|
readonly property string termsAndConditionParaswapUrl: "https://files.paraswap.io/tos_v4.pdf"
|
||||||
|
|
||||||
readonly property QtObject errorCodes: QtObject {
|
readonly property QtObject errorCodes: QtObject {
|
||||||
readonly property string errNotEnoughTokenBalance: "WR-016"
|
readonly property string errNotEnoughTokenBalance: "WR-016"
|
||||||
|
|
Loading…
Reference in New Issue