[
    {
        "type": "constructor",
        "stateMutability": "nonpayable",
        "inputs": [
            {
                "type": "address",
                "name": "weth",
                "internalType": "address"
            }
        ]
    },
    {
        "type": "event",
        "name": "OwnershipTransferred",
        "inputs": [
            {
                "type": "address",
                "name": "previousOwner",
                "internalType": "address",
                "indexed": true
            },
            {
                "type": "address",
                "name": "newOwner",
                "internalType": "address",
                "indexed": true
            }
        ],
        "anonymous": false
    },
    {
        "type": "fallback",
        "stateMutability": "payable"
    },
    {
        "type": "function",
        "stateMutability": "nonpayable",
        "outputs": [],
        "name": "authorizeLendingPool",
        "inputs": [
            {
                "type": "address",
                "name": "lendingPool",
                "internalType": "address"
            }
        ]
    },
    {
        "type": "function",
        "stateMutability": "nonpayable",
        "outputs": [],
        "name": "borrowETH",
        "inputs": [
            {
                "type": "address",
                "name": "lendingPool",
                "internalType": "address"
            },
            {
                "type": "uint256",
                "name": "amount",
                "internalType": "uint256"
            },
            {
                "type": "uint256",
                "name": "interesRateMode",
                "internalType": "uint256"
            },
            {
                "type": "uint16",
                "name": "referralCode",
                "internalType": "uint16"
            }
        ]
    },
    {
        "type": "function",
        "stateMutability": "payable",
        "outputs": [],
        "name": "depositETH",
        "inputs": [
            {
                "type": "address",
                "name": "lendingPool",
                "internalType": "address"
            },
            {
                "type": "address",
                "name": "onBehalfOf",
                "internalType": "address"
            },
            {
                "type": "uint16",
                "name": "referralCode",
                "internalType": "uint16"
            }
        ]
    },
    {
        "type": "function",
        "stateMutability": "nonpayable",
        "outputs": [],
        "name": "emergencyEtherTransfer",
        "inputs": [
            {
                "type": "address",
                "name": "to",
                "internalType": "address"
            },
            {
                "type": "uint256",
                "name": "amount",
                "internalType": "uint256"
            }
        ]
    },
    {
        "type": "function",
        "stateMutability": "nonpayable",
        "outputs": [],
        "name": "emergencyTokenTransfer",
        "inputs": [
            {
                "type": "address",
                "name": "token",
                "internalType": "address"
            },
            {
                "type": "address",
                "name": "to",
                "internalType": "address"
            },
            {
                "type": "uint256",
                "name": "amount",
                "internalType": "uint256"
            }
        ]
    },
    {
        "type": "function",
        "stateMutability": "view",
        "outputs": [
            {
                "type": "address",
                "name": "",
                "internalType": "address"
            }
        ],
        "name": "getWETHAddress",
        "inputs": []
    },
    {
        "type": "function",
        "stateMutability": "view",
        "outputs": [
            {
                "type": "address",
                "name": "",
                "internalType": "address"
            }
        ],
        "name": "owner",
        "inputs": []
    },
    {
        "type": "function",
        "stateMutability": "nonpayable",
        "outputs": [],
        "name": "renounceOwnership",
        "inputs": []
    },
    {
        "type": "function",
        "stateMutability": "payable",
        "outputs": [],
        "name": "repayETH",
        "inputs": [
            {
                "type": "address",
                "name": "lendingPool",
                "internalType": "address"
            },
            {
                "type": "uint256",
                "name": "amount",
                "internalType": "uint256"
            },
            {
                "type": "uint256",
                "name": "rateMode",
                "internalType": "uint256"
            },
            {
                "type": "address",
                "name": "onBehalfOf",
                "internalType": "address"
            }
        ]
    },
    {
        "type": "function",
        "stateMutability": "nonpayable",
        "outputs": [],
        "name": "transferOwnership",
        "inputs": [
            {
                "type": "address",
                "name": "newOwner",
                "internalType": "address"
            }
        ]
    },
    {
        "type": "function",
        "stateMutability": "nonpayable",
        "outputs": [],
        "name": "withdrawETH",
        "inputs": [
            {
                "type": "address",
                "name": "lendingPool",
                "internalType": "address"
            },
            {
                "type": "uint256",
                "name": "amount",
                "internalType": "uint256"
            },
            {
                "type": "address",
                "name": "to",
                "internalType": "address"
            }
        ]
    },
    {
        "type": "receive",
        "stateMutability": "payable"
    }
]
