UNPKG

@perp/perp-oracle-contract

Version:

Perpetual Protocol Curie (v2) oracle contracts - v0.5.0 is not an audited version

109 lines (108 loc) 2.27 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IPriceFeedDispatcher", "sourceName": "contracts/interface/IPriceFeedDispatcher.sol", "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "enum IPriceFeedDispatcherEvent.Status", "name": "status", "type": "uint8" } ], "name": "StatusUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "uniswapV3PriceFeed", "type": "address" } ], "name": "UniswapV3PriceFeedUpdated", "type": "event" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "interval", "type": "uint256" } ], "name": "dispatchPrice", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getChainlinkPriceFeedV3", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "interval", "type": "uint256" } ], "name": "getDispatchedPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getUniswapV3PriceFeed", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }