bump token listing settings
This commit is contained in:
parent
8193542879
commit
5cd2463ab2
|
@ -468,18 +468,18 @@ const ListToken = ({ goBack }: { goBack: () => void }) => {
|
|||
Number(tierPreset.maintLiabWeight),
|
||||
Number(tierPreset.initLiabWeight),
|
||||
Number(tierPreset.liquidationFee),
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
Number(tierPreset.delayIntervalSeconds),
|
||||
Number(tierPreset.delayGrowthLimit),
|
||||
Number(tierPreset.stableGrowthLimit),
|
||||
Number(tierPreset.minVaultToDepositsRatio),
|
||||
new BN(tierPreset.netBorrowLimitWindowSizeTs),
|
||||
new BN(tierPreset.netBorrowLimitPerWindowQuote),
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
Number(tierPreset.borrowWeightScale),
|
||||
Number(tierPreset.depositWeightScale),
|
||||
Number(tierPreset.reduceOnly),
|
||||
Number(tierPreset.tokenConditionalSwapTakerFeeRate),
|
||||
Number(tierPreset.tokenConditionalSwapMakerFeeRate),
|
||||
Number(tierPreset.flashLoanDepositFeeRate),
|
||||
)
|
||||
.accounts({
|
||||
admin: MANGO_DAO_WALLET,
|
||||
|
@ -511,16 +511,16 @@ const ListToken = ({ goBack }: { goBack: () => void }) => {
|
|||
null,
|
||||
null,
|
||||
null,
|
||||
tierPreset.borrowWeightScale,
|
||||
tierPreset.depositWeightScale,
|
||||
null,
|
||||
null,
|
||||
false,
|
||||
false,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
0, // FIXME
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
)
|
||||
.accounts({
|
||||
oracle: new PublicKey(advForm.oraclePk),
|
||||
|
@ -536,7 +536,9 @@ const ListToken = ({ goBack }: { goBack: () => void }) => {
|
|||
} as AccountMeta,
|
||||
])
|
||||
.instruction()
|
||||
proposalTx.push(editIx)
|
||||
if (!tierPreset.insuranceFound) {
|
||||
proposalTx.push(editIx)
|
||||
}
|
||||
} else {
|
||||
const trustlessIx = await client!.program.methods
|
||||
.tokenRegisterTrustless(Number(advForm.tokenIndex), advForm.name)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"dependencies": {
|
||||
"@blockworks-foundation/mango-feeds": "0.1.7",
|
||||
"@blockworks-foundation/mango-v4": "^0.19.20",
|
||||
"@blockworks-foundation/mango-v4-settings": "0.2.6",
|
||||
"@blockworks-foundation/mango-v4-settings": "0.2.8",
|
||||
"@headlessui/react": "1.6.6",
|
||||
"@heroicons/react": "2.0.10",
|
||||
"@metaplex-foundation/js": "0.19.4",
|
||||
|
|
|
@ -26,10 +26,10 @@
|
|||
dependencies:
|
||||
ws "^8.13.0"
|
||||
|
||||
"@blockworks-foundation/mango-v4-settings@0.2.6":
|
||||
version "0.2.6"
|
||||
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4-settings/-/mango-v4-settings-0.2.6.tgz#725a8cf669e164cd7694d97989472f7852afad68"
|
||||
integrity sha512-RK8O8lbflIN9IgNE1uUkjrtlv/7f0BjIqTwcuLNFos6/e/Q2/AnlXRlD5Y9WnO6xS7mXNsw9kr05xCxeYZzM1Q==
|
||||
"@blockworks-foundation/mango-v4-settings@0.2.8":
|
||||
version "0.2.8"
|
||||
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4-settings/-/mango-v4-settings-0.2.8.tgz#fa88d6ddb6dcc1dd1cd8f75ab96bc0d41629799d"
|
||||
integrity sha512-20h5+Vky3YZfd3ekcnMgUxp1XaddFgtSNE6SPCy1oOAOjzvDHgZ3AVJd95WTTjTONGTZqqmTbP2ReWIu4ZfP6w==
|
||||
dependencies:
|
||||
bn.js "^5.2.1"
|
||||
eslint-config-prettier "^9.0.0"
|
||||
|
|
Loading…
Reference in New Issue