1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

remove marketFeeAmount config

This commit is contained in:
Matthias Kretschmann 2020-10-12 14:39:42 +02:00
parent 2fd40ae35e
commit aeb26b89c5
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 1 additions and 4 deletions

View File

@ -4,4 +4,3 @@ GATSBY_NETWORK="rinkeby"
#GATSBY_INFURA_PROJECT_ID="xxx" #GATSBY_INFURA_PROJECT_ID="xxx"
#GATSBY_METADATA_STORE_URI="xxx" #GATSBY_METADATA_STORE_URI="xxx"
#GATSBY_MARKET_FEE_ADDRESS="0xxx" #GATSBY_MARKET_FEE_ADDRESS="0xxx"
#GATSBY_MARKET_FEE_AMOUNT="xxx"

View File

@ -6,7 +6,6 @@ module.exports = {
marketFeeAddress: marketFeeAddress:
process.env.GATSBY_MARKET_FEE_ADDRESS || process.env.GATSBY_MARKET_FEE_ADDRESS ||
'0x903322C7E45A60d7c8C3EA236c5beA9Af86310c7', '0x903322C7E45A60d7c8C3EA236c5beA9Af86310c7',
marketFeeAmount: process.env.GATSBY_MARKET_FEE_AMOUNT || '0.1', // in %
// Used for conversion display, can be whatever coingecko API supports // Used for conversion display, can be whatever coingecko API supports
// see: https://api.coingecko.com/api/v3/simple/supported_vs_currencies // see: https://api.coingecko.com/api/v3/simple/supported_vs_currencies
currencies: ['EUR', 'USD', 'ETH', 'BTC'] currencies: ['EUR', 'USD', 'ETH', 'BTC']

View File

@ -55,7 +55,7 @@ export default function Fees({
<Tooltip content={tooltips.marketplaceFee} /> <Tooltip content={tooltips.marketplaceFee} />
</> </>
} }
value={appConfig.marketFeeAmount} value="0.1"
name="marketplaceFee" name="marketplaceFee"
postfix="%" postfix="%"
readOnly readOnly

View File

@ -17,7 +17,6 @@ const query = graphql`
infuraProjectId infuraProjectId
network network
marketFeeAddress marketFeeAddress
marketFeeAmount
currencies currencies
} }
} }