{
  "_format": "hh-sol-artifact-1",
  "contractName": "IBancorExchangeProvider",
  "sourceName": "contracts/MentoInterfaces.sol",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "newBroker",
          "type": "address"
        }
      ],
      "name": "BrokerUpdated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "exchangeId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserveAsset",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "tokenAddress",
          "type": "address"
        }
      ],
      "name": "ExchangeCreated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "exchangeId",
          "type": "bytes32"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "reserveAsset",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "tokenAddress",
          "type": "address"
        }
      ],
      "name": "ExchangeDestroyed",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "bytes32",
          "name": "exchangeId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "exitContribution",
          "type": "uint256"
        }
      ],
      "name": "ExitContributionSet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "newReserve",
          "type": "address"
        }
      ],
      "name": "ReserveUpdated",
      "type": "event"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "reserveAsset",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "tokenAddress",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "tokenSupply",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "reserveBalance",
              "type": "uint256"
            },
            {
              "internalType": "uint32",
              "name": "reserveRatio",
              "type": "uint32"
            },
            {
              "internalType": "uint32",
              "name": "exitContribution",
              "type": "uint32"
            }
          ],
          "internalType": "struct IBancorExchangeProvider.PoolExchange",
          "name": "exchange",
          "type": "tuple"
        }
      ],
      "name": "createExchange",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "exchangeId",
          "type": "bytes32"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "exchangeId",
          "type": "bytes32"
        }
      ],
      "name": "currentPrice",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "price",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "exchangeId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "exchangeIdIndex",
          "type": "uint256"
        }
      ],
      "name": "destroyExchange",
      "outputs": [
        {
          "internalType": "bool",
          "name": "destroyed",
          "type": "bool"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getExchangeIds",
      "outputs": [
        {
          "internalType": "bytes32[]",
          "name": "exchangeIds",
          "type": "bytes32[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "exchangeId",
          "type": "bytes32"
        }
      ],
      "name": "getPoolExchange",
      "outputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "reserveAsset",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "tokenAddress",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "tokenSupply",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "reserveBalance",
              "type": "uint256"
            },
            {
              "internalType": "uint32",
              "name": "reserveRatio",
              "type": "uint32"
            },
            {
              "internalType": "uint32",
              "name": "exitContribution",
              "type": "uint32"
            }
          ],
          "internalType": "struct IBancorExchangeProvider.PoolExchange",
          "name": "exchange",
          "type": "tuple"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "exchangeId",
          "type": "bytes32"
        },
        {
          "internalType": "uint32",
          "name": "exitContribution",
          "type": "uint32"
        }
      ],
      "name": "setExitContribution",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
