{
    "contractName": "ChainlinkPriceOracleV1",
    "abi": [
        {
            "inputs": [
                {
                    "internalType": "address[]",
                    "name": "_tokens",
                    "type": "address[]"
                },
                {
                    "internalType": "address[]",
                    "name": "_chainlinkAggregators",
                    "type": "address[]"
                },
                {
                    "internalType": "uint8[]",
                    "name": "_tokenDecimals",
                    "type": "uint8[]"
                },
                {
                    "internalType": "address[]",
                    "name": "_tokenPairs",
                    "type": "address[]"
                },
                {
                    "internalType": "address",
                    "name": "_dolomiteMargin",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "constructor"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": false,
                    "internalType": "uint256",
                    "name": "stalenessDuration",
                    "type": "uint256"
                }
            ],
            "name": "StalenessDurationUpdated",
            "type": "event"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": true,
                    "internalType": "address",
                    "name": "token",
                    "type": "address"
                },
                {
                    "indexed": true,
                    "internalType": "address",
                    "name": "aggregator",
                    "type": "address"
                },
                {
                    "indexed": true,
                    "internalType": "address",
                    "name": "tokenPair",
                    "type": "address"
                }
            ],
            "name": "TokenInsertedOrUpdated",
            "type": "event"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "DOLOMITE_MARGIN",
            "outputs": [
                {
                    "internalType": "contract IDolomiteMargin",
                    "name": "",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "ONE_DOLLAR",
            "outputs": [
                {
                    "internalType": "uint256",
                    "name": "",
                    "type": "uint256"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "stalenessThreshold",
            "outputs": [
                {
                    "internalType": "uint256",
                    "name": "",
                    "type": "uint256"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "internalType": "uint256",
                    "name": "_stalenessThreshold",
                    "type": "uint256"
                }
            ],
            "name": "ownerSetStalenessThreshold",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "internalType": "address",
                    "name": "_token",
                    "type": "address"
                },
                {
                    "internalType": "uint8",
                    "name": "_tokenDecimals",
                    "type": "uint8"
                },
                {
                    "internalType": "address",
                    "name": "_chainlinkAggregator",
                    "type": "address"
                },
                {
                    "internalType": "address",
                    "name": "_tokenPair",
                    "type": "address"
                }
            ],
            "name": "ownerInsertOrUpdateOracleToken",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [
                {
                    "internalType": "address",
                    "name": "_token",
                    "type": "address"
                }
            ],
            "name": "getPrice",
            "outputs": [
                {
                    "components": [
                        {
                            "internalType": "uint256",
                            "name": "value",
                            "type": "uint256"
                        }
                    ],
                    "internalType": "struct Monetary.Price",
                    "name": "",
                    "type": "tuple"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [
                {
                    "internalType": "uint8",
                    "name": "_tokenDecimals",
                    "type": "uint8"
                },
                {
                    "internalType": "uint256",
                    "name": "_value",
                    "type": "uint256"
                },
                {
                    "internalType": "uint8",
                    "name": "_valueDecimals",
                    "type": "uint8"
                }
            ],
            "name": "standardizeNumberOfDecimals",
            "outputs": [
                {
                    "internalType": "uint256",
                    "name": "",
                    "type": "uint256"
                }
            ],
            "payable": false,
            "stateMutability": "pure",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [
                {
                    "internalType": "address",
                    "name": "_token",
                    "type": "address"
                }
            ],
            "name": "getAggregatorByToken",
            "outputs": [
                {
                    "internalType": "contract IChainlinkAggregator",
                    "name": "",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [
                {
                    "internalType": "address",
                    "name": "_token",
                    "type": "address"
                }
            ],
            "name": "getDecimalsByToken",
            "outputs": [
                {
                    "internalType": "uint8",
                    "name": "",
                    "type": "uint8"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [
                {
                    "internalType": "address",
                    "name": "_token",
                    "type": "address"
                }
            ],
            "name": "getTokenPairByToken",
            "outputs": [
                {
                    "internalType": "address",
                    "name": "_tokenPair",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        }
    ],
    "networks": {
        "1": {
            "links": {},
            "address": "0x3E41A4165E60A7Ec1eCe061DeC36AE83Afc28AD0",
            "transactionHash": "0x24c9a02b81c7122c723545b5c0ceba3734821e4005de7c4d60ad418a26aa34cb"
        },
        "56": {
            "links": {},
            "address": "0x3E41A4165E60A7Ec1eCe061DeC36AE83Afc28AD0",
            "transactionHash": "0xa8f1c8cc46ed733d3a823b60f76662d33efc8d1f93d466c1649488721cfe52aa"
        },
        "196": {
            "links": {},
            "address": "0xB3fF983d7927540B7f92602657a2a26977664e77",
            "transactionHash": "0x9139f45290e38b5a8909da1d68f1ecb3c54c8915fb45f52492d6e3bdb3100dba"
        },
        "1101": {
            "links": {},
            "address": "0xA5F4CEB032a1d7C711BB8AE687F9AB13a976e2E9",
            "transactionHash": "0x01e35f8837ddf83299ce298d34a7a47133c238eae17470896afb7e464296c94e"
        },
        "3637": {
            "links": {},
            "address": "0x3E41A4165E60A7Ec1eCe061DeC36AE83Afc28AD0",
            "transactionHash": "0xfe359b4feed4f41cd1fb8ceb1c8b85e4d2f0c809d2dc9986554f779229e22867"
        },
        "5000": {
            "links": {},
            "address": "0x564A9fdae2708490940449dcD2716E056A5B65bD",
            "transactionHash": "0x2394ba56aee338625521c4b9f32265bcfd60325c5780af8bc05019fccc42a348"
        },
        "5330": {
            "links": {},
            "address": "0x3E41A4165E60A7Ec1eCe061DeC36AE83Afc28AD0",
            "transactionHash": "0xf68f1b2aa7ee7087c0990fa29f0dee978253838fdfda3a86101b8576a12f05b9"
        },
        "8453": {
            "links": {},
            "address": "0x3E41A4165E60A7Ec1eCe061DeC36AE83Afc28AD0",
            "transactionHash": "0x4b68c61a0404a80ec9137f3f5e40d5c5b13bbc19075d4919b6e0209215a93e5e"
        },
        "42161": {
            "links": {},
            "address": "0xeA3Fe12d8CC2E87f99e985EE271971C808006531",
            "transactionHash": "0xae57b9b21c5e6933b6c4f3d9b8e2bffd0a368a64eca0a92729a268a35ac7aeaf"
        },
        "57073": {
            "links": {},
            "address": "0x3E41A4165E60A7Ec1eCe061DeC36AE83Afc28AD0",
            "transactionHash": "0x591089cee4a88f4f146a2ec94f4714e1fa8b99c30a6e7ff8fc6cda8c76a7b2db"
        },
        "80094": {
            "links": {},
            "address": "0x3E41A4165E60A7Ec1eCe061DeC36AE83Afc28AD0",
            "transactionHash": "0xa40831ce43f1c6e5c4161434256d055dba67f8f5cf0c574cc95990151dad502d"
        }
    }
}
