Hey guys,
I’d like to create the SOL/USDT perp market that was originally shut down. The market should function fine now with Vega’s new updates.
The proposal JSON follows closely to that of INJ. However, I did notice that the INJ proposal had no values for “triggeringRatio” and “auction extension” under LiquidityMonitoringParameters. Not sure if this is intentional as it looks like BTC and ETH markets some values
Full Proposal JSON:
{
"rationale": {
"title": "VMP-34 - Create SOL/USDT Perpetual",
"description": "This proposal requests to recreate a SOL/USDT Perpetual market using Vega's updated features. Full forum discussion can be found [here](***add link***)"
},
"terms": {
"newMarket": {
"changes": {
"linearSlippageFactor": "0.001",
"decimalPlaces": "2",
"positionDecimalPlaces": "0",
"instrument": {
"name": "Solana / Tethere USD (Perpetual)",
"code": "SOL/USDT",
"perpetual": {
"settlementAsset": "bf1e88d19db4b3ca0d1d5bdb73718a01686b18cf731ca26adedf3c8b83802bba",
"quoteName": "USDT",
"marginFundingFactor": "0.9",
"interestRate": "0.1095",
"clampLowerBound": "-0.0005",
"clampUpperBound": "0.0005",
"fundingRateLowerBound": "-0.001",
"fundingRateUpperBound": "0.001",
"fundingRateScalingFactor": "1",
"dataSourceSpecForSettlementData": {
"external": {
"ethOracle": {
"sourceChainId": "100",
"address": "0x719abd606155442c21b7d561426d42bd0e40a776",
"abi": "[{\"inputs\": [{\"internalType\": \"bytes32\", \"name\": \"id\", \"type\": \"bytes32\"}], \"name\": \"getPrice\", \"outputs\": [{\"internalType\": \"int256\", \"name\": \"\", \"type\": \"int256\" }], \"stateMutability\": \"view\", \"type\": \"function\"}]",
"method": "getPrice",
"args": [
"0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d"
],
"normalisers": [
{
"name": "sol.price",
"expression": "$[0]"
}
],
"requiredConfirmations": "3",
"trigger": {
"timeTrigger": {
"every": "60"
}
},
"filters": [
{
"key": {
"name": "sol.price",
"type": "TYPE_INTEGER",
"numberDecimalPlaces": "18"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
]
}
]
}
}
},
"dataSourceSpecForSettlementSchedule": {
"internal": {
"timeTrigger": {
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
],
"triggers": [
{
"every": "28800"
}
]
}
}
},
"dataSourceSpecBinding": {
"settlementDataProperty": "sol.price",
"settlementScheduleProperty": "vegaprotocol.builtin.timetrigger"
}
}
},
"metadata": [
"base:SOL",
"quote:USDT",
"oracle:pyth",
"oracleChain:gnosis",
"class:fx/crypto",
"perpetual",
"sector:defi",
"enactment:****TODO****"
],
"priceMonitoringParameters": {
"triggers": [
{
"horizon": "21600",
"probability": "0.9999999",
"auctionExtension": "86400"
},
{
"horizon": "4320",
"probability": "0.9999999",
"auctionExtension": "3600"
},
{
"horizon": "1440",
"probability": "0.9999999",
"auctionExtension": "1800"
},
{
"horizon": "360",
"probability": "0.9999999",
"auctionExtension": "300"
}
]
},
"logNormal": {
"tau": 0.000001,
"riskAversionParameter": 0.0000071,
"params": {
"mu": 0,
"r": 0,
"sigma": 1.5
}
},
"liquiditySlaParameters": {
"priceRange": "0.03",
"commitmentMinTimeFraction": "0.75",
"performanceHysteresisEpochs": "1",
"slaCompetitionFactor": "0.8"
},
"liquidationStrategy": {
"disposalTimeStep": "1",
"disposalFraction": "1",
"fullDisposalSize": "1000000",
"maxFractionConsumed": "0.1"
},
"liquidityFeeSettings": {
"method": "METHOD_MARGINAL_COST"
},
"liquidityMonitoringParameters": {
"targetStakeParameters": {
"timeWindow": "3600",
"scalingFactor": "0.05"
},
"triggeringRatio": "",
"auctionExtension": "0"
},
"markPriceConfiguration": {
"decayWeight": "1",
"decayPower": "1",
"cashAmount": "0",
"sourceWeights": [
"0",
"0",
"1",
"0"
],
"sourceStalenessTolerance": [
"1m0s",
"1m0s",
"1m0s",
"1m0s"
],
"compositePriceType": "COMPOSITE_PRICE_TYPE_WEIGHTED",
"dataSourcesSpec": [
{
"external": {
"ethOracle": {
"address": "0x719abd606155442c21b7d561426d42bd0e40a776",
"abi": "[{\"inputs\": [{\"internalType\": \"bytes32\", \"name\": \"id\", \"type\": \"bytes32\"}], \"name\": \"getPrice\", \"outputs\": [{\"internalType\": \"int256\", \"name\": \"\", \"type\": \"int256\" }], \"stateMutability\": \"view\", \"type\": \"function\"}]",
"method": "getPrice",
"args": [
"0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d"
],
"trigger": {
"timeTrigger": {
"every": "60"
}
},
"requiredConfirmations": "3",
"filters": [
{
"key": {
"name": "sol.price",
"type": "TYPE_INTEGER",
"numberDecimalPlaces": "18"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
]
}
],
"normalisers": [
{
"name": "sol.price",
"expression": "$[0]"
}
],
"sourceChainId": "100"
}
}
}
],
"dataSourcesSpecBinding": [
{
"priceSourceProperty": "sol.price"
}
]
}
}
},
"closingTimestamp": ****TODO****,
"enactmentTimestamp": ****TODO***
}
}