-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1638 from bancorprotocol/issue-#1637
Hide terms & privacy if not carbon
- Loading branch information
Showing
25 changed files
with
170 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+5 Bytes
(100%)
...screenshots/simulator/recurring/Recurring_limit_limit/simulator-input-price.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+7.45 KB
(110%)
e2e/screenshots/strategy/disposable/Disposable_buy_limit/create/my-strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7.48 KB
(89%)
e2e/screenshots/strategy/disposable/Disposable_buy_range/create/my-strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-428 Bytes
(99%)
e2e/screenshots/strategy/disposable/Disposable_buy_range/deposit/form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(100%)
e2e/screenshots/strategy/disposable/Disposable_sell_limit/create/my-strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4 Bytes
(100%)
e2e/screenshots/strategy/disposable/Disposable_sell_range/create/my-strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8.65 KB
(110%)
e2e/screenshots/strategy/recurring/Recurring_limit_limit/create/my-strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.85 KB
(95%)
e2e/screenshots/strategy/recurring/Recurring_limit_limit/undercut/form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.67 KB
(87%)
e2e/screenshots/strategy/recurring/Recurring_limit_range/create/my-strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.51 KB
(110%)
e2e/screenshots/strategy/recurring/Recurring_range_limit/deposit/form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.68 KB
(95%)
e2e/screenshots/strategy/recurring/Recurring_range_range/create/form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.71 KB
(87%)
e2e/screenshots/strategy/recurring/Recurring_range_range/create/my-strategy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+45 Bytes
(100%)
e2e/screenshots/strategy/recurring/Recurring_range_range/deposit/form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
import { AppConfig } from 'config/types'; | ||
|
||
const addresses = { | ||
ZERO: '0x0000000000000000000000000000000000000000', | ||
}; | ||
|
||
export const commonConfig: AppConfig = { | ||
hidden: true, | ||
mode: 'development', | ||
appName: '', | ||
appUrl: '', | ||
carbonApi: '', | ||
selectedConnectors: ['MetaMask'], | ||
blockedConnectors: [], | ||
walletConnectProjectId: '', | ||
isSimulatorEnabled: false, | ||
policiesLastUpdated: '', | ||
network: { | ||
name: 'Demo Network', | ||
logoUrl: '', | ||
chainId: 0, | ||
blockExplorer: { | ||
name: '', | ||
url: '', | ||
}, | ||
rpc: { | ||
url: import.meta.env.VITE_CHAIN_RPC_URL, | ||
}, | ||
defaultLimitedApproval: true, | ||
gasToken: { | ||
name: '', | ||
symbol: '', | ||
decimals: 18, | ||
address: '', | ||
logoURI: '', | ||
}, | ||
}, | ||
sdk: { | ||
cacheTTL: 0, | ||
}, | ||
defaultTokenPair: ['', ''], | ||
popularPairs: [], | ||
popularTokens: { | ||
base: [], | ||
quote: [], | ||
}, | ||
addresses: { | ||
tokens: addresses, | ||
carbon: { | ||
carbonController: '', | ||
voucher: '', | ||
}, | ||
}, | ||
utils: { | ||
multicall3: { | ||
address: '0x...', | ||
blockCreated: 0, | ||
}, | ||
}, | ||
tokenListOverride: [], | ||
tokenLists: [], | ||
tenderly: { | ||
nativeTokenDonorAccount: '', | ||
faucetAmount: 1000, | ||
faucetTokens: [ | ||
{ | ||
donorAccount: '', | ||
tokenContract: '', | ||
decimals: 18, | ||
symbol: '', | ||
}, | ||
{ | ||
donorAccount: '', | ||
tokenContract: '', | ||
decimals: 6, | ||
symbol: '', | ||
}, | ||
{ | ||
donorAccount: '', | ||
tokenContract: '', | ||
decimals: 6, | ||
symbol: '', | ||
}, | ||
], | ||
}, | ||
ui: { | ||
priceChart: 'tradingView', | ||
useGradientBranding: false, | ||
tradeCount: false, | ||
currencyMenu: false, | ||
/* ⚠️ If you set it to true, you need to change the content of the page 'src/pages/terms/index.tsx' ⚠️ */ | ||
showTerms: false, | ||
/* ⚠️ If you set it to true, you need to change the content of the page 'src/pages/privacy/index.tsx' ⚠️ */ | ||
showPrivacy: false, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { AppConfig } from '../types'; | ||
import { commonConfig } from './common'; | ||
|
||
const config: AppConfig = { | ||
...commonConfig, | ||
mode: 'development', | ||
}; | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { AppConfig } from '../types'; | ||
import { commonConfig } from './common'; | ||
|
||
const config: AppConfig = { | ||
...commonConfig, | ||
mode: 'production', | ||
sentryDSN: '', | ||
}; | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters