{
    "abi": [
        {
            "inputs": [
                {
                    "internalType": "address",
                    "name": "_nativeTokenHash",
                    "type": "address"
                },
                {
                    "internalType": "address",
                    "name": "_owner",
                    "type": "address"
                }
            ],
            "stateMutability": "nonpayable",
            "type": "constructor"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": false,
                    "internalType": "address",
                    "name": "_input",
                    "type": "address"
                },
                {
                    "indexed": false,
                    "internalType": "address",
                    "name": "_output",
                    "type": "address"
                },
                {
                    "indexed": false,
                    "internalType": "address",
                    "name": "_aggregator",
                    "type": "address"
                }
            ],
            "name": "AggregatorUpdated",
            "type": "event"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": true,
                    "internalType": "address",
                    "name": "account",
                    "type": "address"
                }
            ],
            "name": "WhitelistAdminAdded",
            "type": "event"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": true,
                    "internalType": "address",
                    "name": "account",
                    "type": "address"
                }
            ],
            "name": "WhitelistAdminRemoved",
            "type": "event"
        },
        {
            "inputs": [
                {
                    "internalType": "address",
                    "name": "account",
                    "type": "address"
                }
            ],
            "name": "addWhitelistAdmin",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "inputs": [
                {
                    "internalType": "address",
                    "name": "",
                    "type": "address"
                },
                {
                    "internalType": "address",
                    "name": "",
                    "type": "address"
                }
            ],
            "name": "allAggregators",
            "outputs": [
                {
                    "internalType": "address",
                    "name": "",
                    "type": "address"
                }
            ],
            "stateMutability": "view",
            "type": "function"
        },
        {
            "inputs": [
                {
                    "internalType": "uint256",
                    "name": "_amountIn",
                    "type": "uint256"
                },
                {
                    "internalType": "address[]",
                    "name": "_path",
                    "type": "address[]"
                }
            ],
            "name": "getConversion",
            "outputs": [
                {
                    "internalType": "uint256",
                    "name": "result",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "oldestRateTimestamp",
                    "type": "uint256"
                }
            ],
            "stateMutability": "view",
            "type": "function"
        },
        {
            "inputs": [
                {
                    "internalType": "address[]",
                    "name": "_path",
                    "type": "address[]"
                }
            ],
            "name": "getRate",
            "outputs": [
                {
                    "internalType": "uint256",
                    "name": "rate",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "oldestRateTimestamp",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "decimals",
                    "type": "uint256"
                }
            ],
            "stateMutability": "view",
            "type": "function"
        },
        {
            "inputs": [
                {
                    "internalType": "address",
                    "name": "account",
                    "type": "address"
                }
            ],
            "name": "isWhitelistAdmin",
            "outputs": [
                {
                    "internalType": "bool",
                    "name": "",
                    "type": "bool"
                }
            ],
            "stateMutability": "view",
            "type": "function"
        },
        {
            "inputs": [],
            "name": "nativeTokenHash",
            "outputs": [
                {
                    "internalType": "address",
                    "name": "",
                    "type": "address"
                }
            ],
            "stateMutability": "view",
            "type": "function"
        },
        {
            "inputs": [],
            "name": "renounceWhitelistAdmin",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "inputs": [
                {
                    "internalType": "address",
                    "name": "_input",
                    "type": "address"
                },
                {
                    "internalType": "address",
                    "name": "_output",
                    "type": "address"
                },
                {
                    "internalType": "address",
                    "name": "_aggregator",
                    "type": "address"
                }
            ],
            "name": "updateAggregator",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "inputs": [
                {
                    "internalType": "address[]",
                    "name": "_inputs",
                    "type": "address[]"
                },
                {
                    "internalType": "address[]",
                    "name": "_outputs",
                    "type": "address[]"
                },
                {
                    "internalType": "address[]",
                    "name": "_aggregators",
                    "type": "address[]"
                }
            ],
            "name": "updateAggregatorsList",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "inputs": [
                {
                    "internalType": "address",
                    "name": "_nativeTokenHash",
                    "type": "address"
                }
            ],
            "name": "updateNativeTokenHash",
            "outputs": [],
            "stateMutability": "nonpayable",
            "type": "function"
        }
    ]
}
