UNPKG

@perp/curie-deployments

Version:

Perpetual Protocol Curie (v2) contract artifacts (ABIs) and deployed addresses

238 lines (237 loc) 5.11 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IClearingHouseConfig", "sourceName": "contracts/interface/IClearingHouseConfig.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint24", "name": "liquidationPenaltyRatio", "type": "uint24" } ], "name": "LiquidationPenaltyRatioChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint32", "name": "twapInterval", "type": "uint32" } ], "name": "MarkPriceMarketTwapIntervalChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint32", "name": "premiumInterval", "type": "uint32" } ], "name": "MarkPricePremiumIntervalChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint24", "name": "rate", "type": "uint24" } ], "name": "MaxFundingRateChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint8", "name": "maxMarketsPerAccount", "type": "uint8" } ], "name": "MaxMarketsPerAccountChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint24", "name": "partialCloseRatio", "type": "uint24" } ], "name": "PartialCloseRatioChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "cap", "type": "uint256" } ], "name": "SettlementTokenBalanceCapChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "twapInterval", "type": "uint256" } ], "name": "TwapIntervalChanged", "type": "event" }, { "inputs": [], "name": "getImRatio", "outputs": [ { "internalType": "uint24", "name": "imRatio", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLiquidationPenaltyRatio", "outputs": [ { "internalType": "uint24", "name": "liquidationPenaltyRatio", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMarkPriceConfig", "outputs": [ { "internalType": "uint32", "name": "marketTwapInterval", "type": "uint32" }, { "internalType": "uint32", "name": "premiumInterval", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMaxFundingRate", "outputs": [ { "internalType": "uint24", "name": "maxFundingRate", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMaxMarketsPerAccount", "outputs": [ { "internalType": "uint8", "name": "maxMarketsPerAccount", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMmRatio", "outputs": [ { "internalType": "uint24", "name": "mmRatio", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getPartialCloseRatio", "outputs": [ { "internalType": "uint24", "name": "partialCloseRatio", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getSettlementTokenBalanceCap", "outputs": [ { "internalType": "uint256", "name": "settlementTokenBalanceCap", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTwapInterval", "outputs": [ { "internalType": "uint32", "name": "twapInterval", "type": "uint32" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }