0.2.24
This commit is contained in:
parent
bab0fdf9eb
commit
9f9361eca2
|
@ -40,15 +40,15 @@ const PREMIUM_LISTING = {
|
|||
};
|
||||
exports.LISTING_PRESETS = {
|
||||
//Price impact on $250,000 swap lower then 1%
|
||||
ULTRA_PREMIUM: Object.assign(Object.assign({}, PREMIUM_LISTING), { netBorrowLimitPerWindowQuote: toNative(125000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(500000, 6).toNumber(), depositWeightScaleStartQuote: toNative(500000, 6).toNumber(), preset_name: "AAA", preset_key: "ULTRA_PREMIUM", preset_target_amount: 250000 }),
|
||||
ULTRA_PREMIUM: Object.assign(Object.assign({}, PREMIUM_LISTING), { netBorrowLimitPerWindowQuote: toNative(125000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(500000, 6).toNumber(), depositWeightScaleStartQuote: toNative(500000, 6).toNumber(), preset_name: "AAA", preset_key: "ULTRA_PREMIUM", preset_target_amount: 250000, loanFeeRate: 0.0005 }),
|
||||
//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.125, loanFeeRate: 0.01, netBorrowLimitPerWindowQuote: toNative(20000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(50000, 6).toNumber(), depositWeightScaleStartQuote: toNative(50000, 6).toNumber(), insuranceFound: false, 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(), insuranceFound: 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.2, 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(), insuranceFound: 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.004, maintAssetWeight: 0, initAssetWeight: 0, loanFeeRate: 0.05, maintLiabWeight: 1.4, initLiabWeight: 1.8, liquidationFee: 0.2, netBorrowLimitPerWindowQuote: toNative(1000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(5000, 6).toNumber(), depositWeightScaleStartQuote: toNative(5000, 6).toNumber(), insuranceFound: false, preset_name: "BB", preset_key: "SHIT", preset_target_amount: 1000, reduceOnly: 2, maxStalenessSlots: null, oracleConfFilter: Number.MAX_SAFE_INTEGER }),
|
||||
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(1000, 6).toNumber(), borrowWeightScaleStartQuote: toNative(5000, 6).toNumber(), depositWeightScaleStartQuote: toNative(5000, 6).toNumber(), insuranceFound: false, preset_name: "BB", preset_key: "SHIT", preset_target_amount: 1000, maxStalenessSlots: 1000, oracleConfFilter: Number.MAX_SAFE_INTEGER }),
|
||||
//should run untrusted, instruction preset should be named C
|
||||
UNTRUSTED: {},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue