@swaptoshi/dex-module
Version:
Klayr decentralized exchange (dex) on-chain module
73 lines • 2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
const cryptography = require("@klayr/cryptography");
const address_1 = require("./address");
const token_symbol_1 = require("./token_symbol");
exports.defaultConfig = {
feeAmountTickSpacing: [
{
fee: '100',
tickSpacing: '1',
},
{
fee: '500',
tickSpacing: '10',
},
{
fee: '3000',
tickSpacing: '60',
},
{
fee: '10000',
tickSpacing: '200',
},
],
feeProtocol: 0,
feeProtocolPool: cryptography.address.getKlayr32AddressFromAddress(address_1.DEFAULT_TREASURY_ADDRESS),
feeConversionEnabled: true,
supportAllTokens: true,
minTransactionFee: {
createPool: '0',
mint: '0',
burn: '0',
collect: '0',
increaseLiquidity: '0',
decreaseLiquidity: '0',
exactInput: '0',
exactInputSingle: '0',
exactOutput: '0',
exactOutputSingle: '0',
treasurify: '0',
},
baseFee: {
createPool: '0',
mint: '0',
burn: '0',
collect: '0',
increaseLiquidity: '0',
decreaseLiquidity: '0',
exactInput: '0',
exactInputSingle: '0',
exactOutput: '0',
exactOutputSingle: '0',
treasurify: '0',
},
nftPositionMetadata: {
dex: {
name: token_symbol_1.DEX_DEFAULT_NAME,
symbol: token_symbol_1.DEX_DEFAULT_TOKEN_SYMBOL,
decimal: token_symbol_1.DEX_DEFAULT_TOKEN_DECIMAL,
},
mainchain: {
symbol: token_symbol_1.MAINCHAIN_DEFAULT_TOKEN_SYMBOL,
decimal: token_symbol_1.MAINCHAIN_DEFAULT_TOKEN_DECIMAL,
},
},
nftPositionColorRange: {
hue: [0, 360],
saturation: [70, 100],
lightness: [50, 60],
},
};
//# sourceMappingURL=config.js.map