v0.3.2
This commit is contained in:
parent
75a3a9f66f
commit
ffcda72811
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@blockworks-foundation/mango-v4-settings",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"scripts": {
|
||||
|
|
|
@ -9,7 +9,7 @@ const PREMIUM_LISTING = {
|
|||
util1: 0.75,
|
||||
rate1: 0.05,
|
||||
maxRate: 0.5,
|
||||
loanFeeRate: 0.005,
|
||||
loanFeeRate: 0.01,
|
||||
loanOriginationFeeRate: 0.001,
|
||||
maintAssetWeight: 0.9,
|
||||
initAssetWeight: 0.8,
|
||||
|
@ -61,6 +61,7 @@ export const LISTING_PRESETS: {
|
|||
preset_key: "ULTRA_PREMIUM",
|
||||
preset_target_amount: 250000,
|
||||
loanFeeRate: 0.0005,
|
||||
loanOriginationFeeRate: 0.0005,
|
||||
},
|
||||
//Price impact on $100,000 swap lower then 1%
|
||||
PREMIUM: {
|
||||
|
@ -74,7 +75,7 @@ export const LISTING_PRESETS: {
|
|||
maintLiabWeight: 1.2,
|
||||
initLiabWeight: 1.4,
|
||||
liquidationFee: 0.1,
|
||||
loanFeeRate: 0.01,
|
||||
loanFeeRate: 0.02,
|
||||
netBorrowLimitPerWindowQuote: toNative(20000, 6).toNumber(),
|
||||
borrowWeightScaleStartQuote: toNative(50000, 6).toNumber(),
|
||||
depositWeightScaleStartQuote: toNative(50000, 6).toNumber(),
|
||||
|
@ -82,32 +83,15 @@ export const LISTING_PRESETS: {
|
|||
preset_name: "A",
|
||||
preset_key: "MID",
|
||||
preset_target_amount: 20000,
|
||||
loanOriginationFeeRate: 0.002,
|
||||
},
|
||||
//Price impact on $5,000 swap lower then 1%
|
||||
MEME: {
|
||||
...PREMIUM_LISTING,
|
||||
loanOriginationFeeRate: 0.002,
|
||||
loanOriginationFeeRate: 0.005,
|
||||
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: {
|
||||
...PREMIUM_LISTING,
|
||||
loanOriginationFeeRate: 0.002,
|
||||
maintAssetWeight: 0,
|
||||
initAssetWeight: 0,
|
||||
loanFeeRate: 0.02,
|
||||
loanFeeRate: 0.05,
|
||||
maintLiabWeight: 1.3,
|
||||
initLiabWeight: 1.6,
|
||||
liquidationFee: 0.1,
|
||||
|
@ -116,9 +100,29 @@ export const LISTING_PRESETS: {
|
|||
depositWeightScaleStartQuote: toNative(20000, 6).toNumber(),
|
||||
groupInsuranceFund: false,
|
||||
preset_name: "BB",
|
||||
preset_key: "MEME",
|
||||
preset_target_amount: 5000,
|
||||
maxStalenessSlots: 1000,
|
||||
oracleConfFilter: 1000,
|
||||
},
|
||||
//Price impact on $1,000 swap lower then 1%
|
||||
SHIT: {
|
||||
...PREMIUM_LISTING,
|
||||
loanFeeRate: 0.075,
|
||||
loanOriginationFeeRate: 0.0075,
|
||||
maintAssetWeight: 0,
|
||||
initAssetWeight: 0,
|
||||
maintLiabWeight: 1.4,
|
||||
initLiabWeight: 1.8,
|
||||
liquidationFee: 0.1,
|
||||
netBorrowLimitPerWindowQuote: toNative(5000, 6).toNumber(),
|
||||
borrowWeightScaleStartQuote: toNative(20000, 6).toNumber(),
|
||||
depositWeightScaleStartQuote: toNative(20000, 6).toNumber(),
|
||||
groupInsuranceFund: false,
|
||||
preset_name: "B",
|
||||
preset_key: "SHIT",
|
||||
preset_target_amount: 1000,
|
||||
maxStalenessSlots: 1000,
|
||||
maxStalenessSlots: 10000,
|
||||
oracleConfFilter: 1000,
|
||||
},
|
||||
//should run untrusted, instruction preset should be named C
|
||||
|
|
Loading…
Reference in New Issue