@admin-jigsaw/jigsaw-sdk
Version:
Returns predefined data for Jigsaw platform and exposes functionality to retrieve the necessary data
30 lines (29 loc) • 802 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PENDLE_EMPTY_SWAP_DATA = exports.PROTOCOLS_DATA = void 0;
// Shared dictionary of all protocols and their icons
exports.PROTOCOLS_DATA = {
AAVE: {
name: 'AAVE',
icon: '/assets/protocols/aave.svg',
},
RESERVOIR: {
name: 'RESERVOIR',
icon: '/assets/protocols/reservoir.svg',
},
DINERO: {
name: 'DINERO',
icon: '/assets/protocols/dinero.svg',
},
PENDLE: {
name: 'PENDLE',
icon: '/assets/protocols/pendle.svg',
},
};
// Universal for all Pendle liquidity requests
exports.PENDLE_EMPTY_SWAP_DATA = {
swapType: '0',
extRouter: '0x0000000000000000000000000000000000000000',
extCalldata: '',
needScale: false,
};