add custom price step
This commit is contained in:
parent
fe2efc3c4d
commit
703fb67941
@ -464,6 +464,11 @@ export default {
|
||||
}
|
||||
},
|
||||
initParamsForKeplr(chainid, chain) {
|
||||
const gasPriceStep = chain.keplr_price_step || {
|
||||
low: 0.01,
|
||||
average: 0.025,
|
||||
high: 0.03,
|
||||
}
|
||||
return JSON.stringify({
|
||||
chainId: chainid,
|
||||
chainName: chain.chain_name,
|
||||
@ -495,19 +500,16 @@ export default {
|
||||
coinMinimalDenom: chain.assets[0].base,
|
||||
coinDecimals: chain.assets[0].exponent,
|
||||
coinGeckoId: chain.assets[0].coingecko_id || 'unknown',
|
||||
gasPriceStep,
|
||||
},
|
||||
],
|
||||
gasPriceStep,
|
||||
stakeCurrency: {
|
||||
coinDenom: chain.assets[0].symbol,
|
||||
coinMinimalDenom: chain.assets[0].base,
|
||||
coinDecimals: chain.assets[0].exponent,
|
||||
coinGeckoId: chain.assets[0].coingecko_id || 'unknown',
|
||||
},
|
||||
gasPriceStep: {
|
||||
low: 0.01,
|
||||
average: 0.025,
|
||||
high: 0.03,
|
||||
},
|
||||
features: chain.keplr_features || [],
|
||||
}, null, '\t')
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user