@myronkoch/andromeda-mcp-server
Version:
Production-ready MCP server for Andromeda blockchain - v2.0 with 98% functionality, fixed core bugs, and complete ADO ecosystem support
35 lines • 1.41 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BLOCKCHAIN_CONSTANTS = exports.createFeeConfig = exports.TRANSACTION_FEES = exports.GAS_LIMITS = void 0;
// Gas limit constants
exports.GAS_LIMITS = {
LOW: '150000', // Lower gas requirements
DEFAULT: '200000', // Default gas limit for standard operations
STANDARD: '250000', // Standard gas limit for most ADO operations
HIGH: '300000', // Higher gas limit for CW20-Exchange operations and NFT transfers
NFT_OPS: '400000', // Specific NFT operations
COMPLEX: '500000', // Complex operations
MAXIMUM: '1000000' // Maximum gas limit for enhanced fee operations
};
// Transaction fee constants (in uandr)
exports.TRANSACTION_FEES = {
LOW: '3750', // Lower fee for specific operations
STANDARD: '5000', // Standard fee for basic operations
ADO_STANDARD: '6250', // Standard fee for most ADO operations
PLATFORM: '5000000', // Platform fee (5 ANDR)
ENHANCED: '25000' // Enhanced fee for retry attempts
};
// Fee configuration helper
const createFeeConfig = (amount, gas) => ({
amount: [{ denom: 'uandr', amount }],
gas
});
exports.createFeeConfig = createFeeConfig;
// Blockchain constants
exports.BLOCKCHAIN_CONSTANTS = {
DEFAULT_DENOM: 'uandr',
SEARCH_LIMIT: 50,
MAX_RETRIES: 3,
RETRY_DELAY: 1000 // milliseconds
};
//# sourceMappingURL=constants.js.map