This commit is contained in:
Adrian Brzeziński 2023-12-14 01:15:23 +01:00
parent 41f7fdc46a
commit 75a3a9f66f
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ declare const PREMIUM_LISTING: {
minVaultToDepositsRatio: number;
netBorrowLimitWindowSizeTs: number;
netBorrowLimitPerWindowQuote: number;
insuranceFound: boolean;
groupInsuranceFund: boolean;
borrowWeightScaleStartQuote: number;
depositWeightScaleStartQuote: number;
preset_key: string;

View File

@ -24,7 +24,7 @@ const PREMIUM_LISTING = {
minVaultToDepositsRatio: 0.2,
netBorrowLimitWindowSizeTs: 24 * 60 * 60,
netBorrowLimitPerWindowQuote: toNative(50000, 6).toNumber(),
insuranceFound: true,
groupInsuranceFund: true,
borrowWeightScaleStartQuote: toNative(250000, 6).toNumber(),
depositWeightScaleStartQuote: toNative(250000, 6).toNumber(),
preset_key: "PREMIUM",
@ -48,11 +48,11 @@ exports.LISTING_PRESETS = {
//Price impact on $100,000 swap lower then 1%
PREMIUM: Object.assign({}, PREMIUM_LISTING),
//Price impact on $20,000 swap lower then 1%
MID: Object.assign(Object.assign({}, PREMIUM_LISTING), { maintAssetWeight: 0.75, initAssetWeight: 0.5, maintLiabWeight: 1.2, initLiabWeight: 1.4, liquidationFee: 0.1, loanFeeRate: 0.01, netBorrowLimitPerWindowQuote: toNative(20000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(50000, 6).toNumber(), depositWeightScaleStartQuote: toNative(50000, 6).toNumber(), insuranceFound: true, preset_name: "A", preset_key: "MID", preset_target_amount: 20000 }),
MID: Object.assign(Object.assign({}, PREMIUM_LISTING), { maintAssetWeight: 0.75, initAssetWeight: 0.5, maintLiabWeight: 1.2, initLiabWeight: 1.4, liquidationFee: 0.1, loanFeeRate: 0.01, netBorrowLimitPerWindowQuote: toNative(20000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(50000, 6).toNumber(), depositWeightScaleStartQuote: toNative(50000, 6).toNumber(), groupInsuranceFund: true, preset_name: "A", preset_key: "MID", preset_target_amount: 20000 }),
//Price impact on $5,000 swap lower then 1%
MEME: Object.assign(Object.assign({}, PREMIUM_LISTING), { loanOriginationFeeRate: 0.002, maintAssetWeight: 0, initAssetWeight: 0, loanFeeRate: 0.02, maintLiabWeight: 1.25, initLiabWeight: 1.5, liquidationFee: 0.1, netBorrowLimitPerWindowQuote: toNative(5000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(20000, 6).toNumber(), depositWeightScaleStartQuote: toNative(20000, 6).toNumber(), insuranceFound: false, preset_name: "BBB", preset_key: "MEME", preset_target_amount: 5000 }),
MEME: Object.assign(Object.assign({}, PREMIUM_LISTING), { loanOriginationFeeRate: 0.002, maintAssetWeight: 0, initAssetWeight: 0, loanFeeRate: 0.02, maintLiabWeight: 1.25, initLiabWeight: 1.5, liquidationFee: 0.1, netBorrowLimitPerWindowQuote: toNative(5000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(20000, 6).toNumber(), depositWeightScaleStartQuote: toNative(20000, 6).toNumber(), groupInsuranceFund: false, preset_name: "BBB", preset_key: "MEME", preset_target_amount: 5000 }),
//Price impact on $1,000 swap lower then 1%
SHIT: Object.assign(Object.assign({}, PREMIUM_LISTING), { loanOriginationFeeRate: 0.002, maintAssetWeight: 0, initAssetWeight: 0, loanFeeRate: 0.02, maintLiabWeight: 1.3, initLiabWeight: 1.6, liquidationFee: 0.1, netBorrowLimitPerWindowQuote: toNative(5000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(20000, 6).toNumber(), depositWeightScaleStartQuote: toNative(20000, 6).toNumber(), insuranceFound: false, preset_name: "BB", preset_key: "SHIT", preset_target_amount: 1000, maxStalenessSlots: 1000, oracleConfFilter: 1000 }),
SHIT: Object.assign(Object.assign({}, PREMIUM_LISTING), { loanOriginationFeeRate: 0.002, maintAssetWeight: 0, initAssetWeight: 0, loanFeeRate: 0.02, maintLiabWeight: 1.3, initLiabWeight: 1.6, liquidationFee: 0.1, netBorrowLimitPerWindowQuote: toNative(5000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(20000, 6).toNumber(), depositWeightScaleStartQuote: toNative(20000, 6).toNumber(), groupInsuranceFund: false, preset_name: "BB", preset_key: "SHIT", preset_target_amount: 1000, maxStalenessSlots: 1000, oracleConfFilter: 1000 }),
//should run untrusted, instruction preset should be named C
UNTRUSTED: {},
};