[
    {
        "constant": false,
        "inputs": [
            { "name": "erc20", "type": "address" },
            { "name": "cErc20", "type": "address" },
            { "name": "tokenAmt", "type": "uint256" }
        ],
        "name": "mintCToken",
        "outputs": [],
        "payable": true,
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [],
        "name": "getComptrollerAddress",
        "outputs": [{ "name": "troller", "type": "address" }],
        "payable": false,
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "constant": false,
        "inputs": [
            { "name": "erc20", "type": "address" },
            { "name": "cErc20", "type": "address" },
            { "name": "tokenAmt", "type": "uint256" }
        ],
        "name": "borrow",
        "outputs": [],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "constant": false,
        "inputs": [
            { "name": "erc20", "type": "address" },
            { "name": "cErc20", "type": "address" },
            { "name": "tokenAmt", "type": "uint256" }
        ],
        "name": "repayToken",
        "outputs": [],
        "payable": true,
        "stateMutability": "payable",
        "type": "function"
    },
    {
        "constant": false,
        "inputs": [
            { "name": "erc20", "type": "address" },
            { "name": "cErc20", "type": "address" },
            { "name": "tokenAmt", "type": "uint256" }
        ],
        "name": "redeemUnderlying",
        "outputs": [],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "constant": false,
        "inputs": [
            { "name": "erc20", "type": "address" },
            { "name": "cErc20", "type": "address" },
            { "name": "cTokenAmt", "type": "uint256" }
        ],
        "name": "redeemCToken",
        "outputs": [],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "constant": true,
        "inputs": [],
        "name": "getAddressETH",
        "outputs": [{ "name": "eth", "type": "address" }],
        "payable": false,
        "stateMutability": "pure",
        "type": "function"
    },
    {
        "constant": false,
        "inputs": [
            { "name": "borrower", "type": "address" },
            { "name": "erc20", "type": "address" },
            { "name": "cErc20", "type": "address" },
            { "name": "tokenAmt", "type": "uint256" }
        ],
        "name": "repaytokenBehalf",
        "outputs": [],
        "payable": true,
        "stateMutability": "payable",
        "type": "function"
    },
    { "payable": true, "stateMutability": "payable", "type": "fallback" },
    {
        "anonymous": false,
        "inputs": [
            { "indexed": false, "name": "erc20", "type": "address" },
            { "indexed": false, "name": "cErc20", "type": "address" },
            { "indexed": false, "name": "tokenAmt", "type": "uint256" },
            { "indexed": false, "name": "owner", "type": "address" }
        ],
        "name": "LogMint",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            { "indexed": false, "name": "erc20", "type": "address" },
            { "indexed": false, "name": "cErc20", "type": "address" },
            { "indexed": false, "name": "tokenAmt", "type": "uint256" },
            { "indexed": false, "name": "owner", "type": "address" }
        ],
        "name": "LogRedeem",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            { "indexed": false, "name": "erc20", "type": "address" },
            { "indexed": false, "name": "cErc20", "type": "address" },
            { "indexed": false, "name": "tokenAmt", "type": "uint256" },
            { "indexed": false, "name": "owner", "type": "address" }
        ],
        "name": "LogBorrow",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            { "indexed": false, "name": "erc20", "type": "address" },
            { "indexed": false, "name": "cErc20", "type": "address" },
            { "indexed": false, "name": "tokenAmt", "type": "uint256" },
            { "indexed": false, "name": "owner", "type": "address" }
        ],
        "name": "LogRepay",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            { "indexed": false, "name": "borrower", "type": "address" },
            { "indexed": false, "name": "erc20", "type": "address" },
            { "indexed": false, "name": "cErc20", "type": "address" },
            { "indexed": false, "name": "tokenAmt", "type": "uint256" },
            { "indexed": false, "name": "owner", "type": "address" }
        ],
        "name": "LogRepayBehalf",
        "type": "event"
    }
]
