{
    "contractName": "P1FundingOracle",
    "abi": [
        {
            "inputs": [
                {
                    "internalType": "address",
                    "name": "fundingRateProvider",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "constructor"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": false,
                    "internalType": "address",
                    "name": "fundingRateProvider",
                    "type": "address"
                }
            ],
            "name": "LogFundingRateProviderSet",
            "type": "event"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": false,
                    "internalType": "bytes32",
                    "name": "fundingRate",
                    "type": "bytes32"
                }
            ],
            "name": "LogFundingRateUpdated",
            "type": "event"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": true,
                    "internalType": "address",
                    "name": "previousOwner",
                    "type": "address"
                },
                {
                    "indexed": true,
                    "internalType": "address",
                    "name": "newOwner",
                    "type": "address"
                }
            ],
            "name": "OwnershipTransferred",
            "type": "event"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "MAX_ABS_DIFF_PER_SECOND",
            "outputs": [
                {
                    "internalType": "uint128",
                    "name": "",
                    "type": "uint128"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "MAX_ABS_VALUE",
            "outputs": [
                {
                    "internalType": "uint128",
                    "name": "",
                    "type": "uint128"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "_FUNDING_RATE_PROVIDER_",
            "outputs": [
                {
                    "internalType": "address",
                    "name": "",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "isOwner",
            "outputs": [
                {
                    "internalType": "bool",
                    "name": "",
                    "type": "bool"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "owner",
            "outputs": [
                {
                    "internalType": "address",
                    "name": "",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [],
            "name": "renounceOwnership",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "internalType": "address",
                    "name": "newOwner",
                    "type": "address"
                }
            ],
            "name": "transferOwnership",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "components": [
                        {
                            "internalType": "uint256",
                            "name": "value",
                            "type": "uint256"
                        },
                        {
                            "internalType": "bool",
                            "name": "isPositive",
                            "type": "bool"
                        }
                    ],
                    "internalType": "struct SignedMath.Int",
                    "name": "newRate",
                    "type": "tuple"
                }
            ],
            "name": "setFundingRate",
            "outputs": [
                {
                    "components": [
                        {
                            "internalType": "uint32",
                            "name": "timestamp",
                            "type": "uint32"
                        },
                        {
                            "internalType": "bool",
                            "name": "isPositive",
                            "type": "bool"
                        },
                        {
                            "internalType": "uint128",
                            "name": "value",
                            "type": "uint128"
                        }
                    ],
                    "internalType": "struct P1Types.Index",
                    "name": "",
                    "type": "tuple"
                }
            ],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "internalType": "address",
                    "name": "newProvider",
                    "type": "address"
                }
            ],
            "name": "setFundingRateProvider",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [
                {
                    "internalType": "uint256",
                    "name": "timeDelta",
                    "type": "uint256"
                }
            ],
            "name": "getFunding",
            "outputs": [
                {
                    "internalType": "bool",
                    "name": "",
                    "type": "bool"
                },
                {
                    "internalType": "uint256",
                    "name": "",
                    "type": "uint256"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        }
    ],
    "networks": {
        "PBTC-USDC": {
            "1": {
                "links": {},
                "address": "0x4525D2B71f7f018c9EBddFcD336852A85404e75B",
                "transactionHash": "0x4c28d4cde296e23aa06eae7a69e0d7b92afb366771d548f014d835e4f3de5515"
            }
        },
        "PLINK-USDC": {
            "1": {
                "links": {},
                "address": "0x8B90515C7a99b7Edd97702c04d1E3666281De1B0",
                "transactionHash": "0xa935927f7e9269033c8e9cc35d3b74a05c13b4ff81cd4a8917f56bb302d36690"
            }
        },
        "WETH-PUSD": {}
    }
}