Create Perpetual market 1000PEPE/USDT
While a plan is agreed on by the community and the market maker (Upcoming protocol release and Arbitrum asset bridge), I would like to propose a new future market using the arbitrum USDT asset as settlement.
Also because everyone has been waiting for it, I’d like to propose a PEPE market. Because pepe price is so small this market would be for a 1000 PEPE per contract. The following contract deployed on gnosis (0x2BA6654FdB605637994047ecA217a02E224c4828) will be used a oracle price source for the external price used for funding payment, it takes any asset a return the price multiplied by the second parameters passed to the contract call (1000 in this case).
Also, to encourage market maker to support this new market, a small reward will be associated with this market for an initial duration of 3 months using the community funds.
Here’s the market proposal:
{
"proposalSubmission": {
"rationale": {
"title": "VMP-47 - Create 1000PEPE/USDT Perpetual Market",
"description": "This proposal requests to create a PEPE (PEPE) Perpetual Market settled in USDT (https://community.vega.xyz/t/vmp-47-1000pepe-usdt-future-market/4500)"
},
"reference": "",
"terms": {
"closingTimestamp": "/*TODO*/",
"enactmentTimestamp": "/*TODO*/",
"validationTimestamp": "0",
"newMarket": {
"changes": {
"instrument": {
"code": "1000PEPE/USDT",
"name": "1000 PEPE / Tether USD (Perpetual)",
"decimalPlaces": "7",
"positionDecimalPlaces": "-3",
"tickSize": "100",
"perpetual": {
"settlementAsset": "2a1f29de786c49d7d4234410bf2e7196a6d173730288ffe44b1f7e282efb92b1",
"quoteName": "USDT",
"marginFundingFactor": "0.9",
"interestRate": "0.1095",
"clampLowerBound": "-0.0005",
"clampUpperBound": "0.0005",
"dataSourceSpecForSettlementSchedule": {
"internal": {
"timeTrigger": {
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
],
"triggers": [
{
"every": "28800"
}
]
}
}
},
"dataSourceSpecForSettlementData": {
"external": {
"ethOracle": {
"address": "0x2BA6654FdB605637994047ecA217a02E224c4828",
"abi": "[{\"inputs\": [{\"internalType\": \"bytes32\", \"name\": \"id\", \"type\": \"bytes32\"}, {\"internalType\": \"int32\", \"name\": \"multiplier\", \"type\": \"int32\"}], \"name\": \"getPrice\", \"outputs\": [{\"internalType\": \"int256\", \"name\": \"\", \"type\": \"int256\" }], \"stateMutability\": \"view\", \"type\": \"function\"}]",
"method": "getPrice",
"args": [
"0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4",
1000
],
"trigger": {
"timeTrigger": {
"every": "60"
}
},
"requiredConfirmations": "3",
"filters": [
{
"key": {
"name": "pepe.price",
"type": "TYPE_INTEGER",
"numberDecimalPlaces": "18"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
]
}
],
"normalisers": [
{
"name": "pepe.price",
"expression": "$[0]"
}
],
"sourceChainId": "100"
}
}
},
"dataSourceSpecBinding": {
"settlementDataProperty": "pepe.price",
"settlementScheduleProperty": "vegaprotocol.builtin.timetrigger"
},
"fundingRateScalingFactor": "1",
"fundingRateLowerBound": "-0.001",
"fundingRateUpperBound": "0.001",
"internalCompositePriceConfiguration": {
"decayWeight": "1",
"decayPower": "1",
"cashAmount": "50000000",
"sourceWeights": [
"0",
"0.999",
"0.001",
"0"
],
"sourceStalenessTolerance": [
"1m0s",
"1m0s",
"10m0s",
"10m0s"
],
"compositePriceType": "COMPOSITE_PRICE_TYPE_WEIGHTED",
"dataSourcesSpec": [
{
"external": {
"ethOracle": {
"address": "0x2BA6654FdB605637994047ecA217a02E224c4828",
"abi": "[{\"inputs\": [{\"internalType\": \"bytes32\", \"name\": \"id\", \"type\": \"bytes32\"}, {\"internalType\": \"int32\", \"name\": \"multiplier\", \"type\": \"int32\"}], \"name\": \"getPrice\", \"outputs\": [{\"internalType\": \"int256\", \"name\": \"\", \"type\": \"int256\" }], \"stateMutability\": \"view\", \"type\": \"function\"}]",
"method": "getPrice",
"args": [
"0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4",
1000
],
"trigger": {
"timeTrigger": {
"every": "60"
}
},
"requiredConfirmations": "3",
"filters": [
{
"key": {
"name": "pepe.price",
"type": "TYPE_INTEGER",
"numberDecimalPlaces": "18"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
]
}
],
"normalisers": [
{
"name": "pepe.price",
"expression": "$[0]"
}
],
"sourceChainId": "100"
}
}
}
],
"dataSourcesSpecBinding": [
{
"priceSourceProperty": "pepe.price"
}
]
}
}
},
"metadata": [
"base:PEPE",
"quote:USDT",
"oracle:pyth",
"oracleChain:gnosis",
"class:fx/crypto",
"perpetual",
"sector:defi",
"enactment:2024-02-04T15:00:00Z",
"domain:https://www.pepe.vip/"
],
"priceMonitoringParameters": {
"triggers": [
{
"horizon": "120",
"probability": "0.9999999",
"auctionExtension": "60"
},
{
"horizon": "120",
"probability": "0.9999999",
"auctionExtension": "60"
},
{
"horizon": "120",
"probability": "0.9999999",
"auctionExtension": "60"
},
{
"horizon": "120",
"probability": "0.9999999",
"auctionExtension": "60"
},
{
"horizon": "120",
"probability": "0.9999999",
"auctionExtension": "60"
},
{
"horizon": "200",
"probability": "0.9999999",
"auctionExtension": "300"
},
{
"horizon": "200",
"probability": "0.9999999",
"auctionExtension": "300"
},
{
"horizon": "200",
"probability": "0.9999999",
"auctionExtension": "300"
},
{
"horizon": "200",
"probability": "0.9999999",
"auctionExtension": "300"
},
{
"horizon": "200",
"probability": "0.9999999",
"auctionExtension": "300"
},
{
"horizon": "400",
"probability": "0.9999999",
"auctionExtension": "900"
},
{
"horizon": "400",
"probability": "0.9999999",
"auctionExtension": "900"
},
{
"horizon": "400",
"probability": "0.9999999",
"auctionExtension": "900"
},
{
"horizon": "400",
"probability": "0.9999999",
"auctionExtension": "900"
},
{
"horizon": "400",
"probability": "0.9999999",
"auctionExtension": "900"
},
{
"horizon": "400",
"probability": "0.9999999",
"auctionExtension": "900"
},
{
"horizon": "500",
"probability": "0.9999999",
"auctionExtension": "1800"
},
{
"horizon": "500",
"probability": "0.9999999",
"auctionExtension": "1800"
},
{
"horizon": "500",
"probability": "0.9999999",
"auctionExtension": "1800"
},
{
"horizon": "500",
"probability": "0.9999999",
"auctionExtension": "1800"
},
{
"horizon": "500",
"probability": "0.9999999",
"auctionExtension": "1800"
},
{
"horizon": "500",
"probability": "0.9999999",
"auctionExtension": "1800"
},
{
"horizon": "500",
"probability": "0.9999999",
"auctionExtension": "1800"
},
{
"horizon": "620",
"probability": "0.9999999",
"auctionExtension": "3600"
},
{
"horizon": "620",
"probability": "0.9999999",
"auctionExtension": "3600"
},
{
"horizon": "620",
"probability": "0.9999999",
"auctionExtension": "3600"
},
{
"horizon": "620",
"probability": "0.9999999",
"auctionExtension": "3600"
},
{
"horizon": "620",
"probability": "0.9999999",
"auctionExtension": "3600"
},
{
"horizon": "620",
"probability": "0.9999999",
"auctionExtension": "3600"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "750",
"probability": "0.9999999",
"auctionExtension": "7200"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
},
{
"horizon": "800",
"probability": "0.9999999",
"auctionExtension": "28800"
}
]
},
"liquidityMonitoringParameters": {
"targetStakeParameters": {
"timeWindow": "3600",
"scalingFactor": 0.05
},
"triggeringRatio": "0.9",
"auctionExtension": "1"
},
"logNormal": {
"riskAversionParameter": 1e-06,
"tau": 7.1e-06,
"params": {
"mu": 0,
"r": 0,
"sigma": 1.5
}
},
"linearSlippageFactor": "0.001",
"quadraticSlippageFactor": "0",
"liquiditySlaParameters": {
"priceRange": "0.005",
"commitmentMinTimeFraction": "0.5",
"performanceHysteresisEpochs": "0",
"slaCompetitionFactor": "1"
},
"liquidityFeeSettings": {
"method": "METHOD_MARGINAL_COST"
},
"liquidationStrategy": {
"disposalTimeStep": "1",
"disposalFraction": "1",
"fullDisposalSize": "1000000",
"maxFractionConsumed": "0.1",
"disposalSlippageRange": "1"
},
"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": "0x2BA6654FdB605637994047ecA217a02E224c4828",
"abi": "[{\"inputs\": [{\"internalType\": \"bytes32\", \"name\": \"id\", \"type\": \"bytes32\"}, {\"internalType\": \"int32\", \"name\": \"multiplier\", \"type\": \"int32\"}], \"name\": \"getPrice\", \"outputs\": [{\"internalType\": \"int256\", \"name\": \"\", \"type\": \"int256\" }], \"stateMutability\": \"view\", \"type\": \"function\"}]",
"method": "getPrice",
"args": [
"0xd69731a2e74ac1ce884fc3890f7ee324b6deb66147055249568869ed700882e4",
1000
],
"trigger": {
"timeTrigger": {
"every": "60"
}
},
"requiredConfirmations": "3",
"filters": [
{
"key": {
"name": "pepe.price",
"type": "TYPE_INTEGER",
"numberDecimalPlaces": "18"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
]
}
],
"normalisers": [
{
"name": "pepe.price",
"expression": "$[0]"
}
],
"sourceChainId": "100"
}
}
}
],
"dataSourcesSpecBinding": [
{
"priceSourceProperty": "pepe.price"
}
]
}
}
}
}
}
}
And the associated reward which will be updated and submitted once the market is enacted:
{
"proposalSubmission": {
"rationale": {
"title": "Reward for ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES for the 1000PEPE/USDT market",
"description": "ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES rewards for the 1000PEPE/USDT market"
},
"terms": {
"closingTimestamp": /*TODO*/,
"enactmentTimestamp": /*TODO*/,
"newTransfer": {
"changes": {
"sourceType": "ACCOUNT_TYPE_NETWORK_TREASURY",
"transferType": "GOVERNANCE_TRANSFER_TYPE_BEST_EFFORT",
"amount": "100000000000000000000",
"asset": "d1984e3d365faa05bcafbe41f50f90e3663ee7c0da22bb1e24b164e9532691b2",
"fractionOfBalance": "1",
"destinationType": "ACCOUNT_TYPE_REWARD_LP_RECEIVED_FEES",
"recurring": {
"startEpoch": /*TODO*/,
"endEpoch": /*TODO*/,
"dispatchStrategy": {
"assetForMetric": "2a1f29de786c49d7d4234410bf2e7196a6d173730288ffe44b1f7e282efb92b1",
"metric": "DISPATCH_METRIC_LP_FEES_RECEIVED",
"windowLength": "1",
"entityScope": "ENTITY_SCOPE_INDIVIDUALS",
"individualScope": "INDIVIDUAL_SCOPE_ALL",
"transferInterval":"1",
"lockPeriod": "7",
"distributionStrategy": "DISTRIBUTION_STRATEGY_PRO_RATA",
"markets": ["/*TODO_ONCE_MARKET_ENACTED*/"]
}
}
}
}
}
}
}