aave-protocol-v2/types/ILendingPoolAddressesProviderFactory.ts

232 lines
4.2 KiB
TypeScript
Raw Normal View History

2020-06-03 10:23:21 +00:00
/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
2020-08-07 17:29:13 +00:00
import { Contract, Signer } from "ethers";
import { Provider } from "ethers/providers";
2020-06-03 10:23:21 +00:00
2020-08-07 17:29:13 +00:00
import { ILendingPoolAddressesProvider } from "./ILendingPoolAddressesProvider";
2020-06-03 10:23:21 +00:00
export class ILendingPoolAddressesProviderFactory {
static connect(
address: string,
signerOrProvider: Signer | Provider
): ILendingPoolAddressesProvider {
2020-08-07 17:29:13 +00:00
return new Contract(
address,
_abi,
signerOrProvider
) as ILendingPoolAddressesProvider;
2020-06-03 10:23:21 +00:00
}
}
const _abi = [
{
inputs: [],
2020-08-07 17:29:13 +00:00
name: "getFeeProvider",
2020-06-03 10:23:21 +00:00
outputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
stateMutability: "view",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [],
2020-08-07 17:29:13 +00:00
name: "getLendingPool",
2020-06-03 10:23:21 +00:00
outputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
stateMutability: "view",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [],
2020-08-07 17:29:13 +00:00
name: "getLendingPoolConfigurator",
2020-06-03 10:23:21 +00:00
outputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
stateMutability: "view",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [],
2020-08-07 17:29:13 +00:00
name: "getLendingPoolLiquidationManager",
2020-06-03 10:23:21 +00:00
outputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
stateMutability: "view",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [],
2020-08-07 17:29:13 +00:00
name: "getLendingPoolManager",
2020-06-03 10:23:21 +00:00
outputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
stateMutability: "view",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [],
2020-08-07 17:29:13 +00:00
name: "getLendingRateOracle",
2020-06-03 10:23:21 +00:00
outputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
stateMutability: "view",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [],
2020-08-07 17:29:13 +00:00
name: "getPriceOracle",
2020-06-03 10:23:21 +00:00
outputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
stateMutability: "view",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [],
2020-08-07 17:29:13 +00:00
name: "getTokenDistributor",
2020-06-03 10:23:21 +00:00
outputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
stateMutability: "view",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "_feeProvider",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "setFeeProviderImpl",
2020-06-03 10:23:21 +00:00
outputs: [],
2020-08-07 17:29:13 +00:00
stateMutability: "nonpayable",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "_configurator",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "setLendingPoolConfiguratorImpl",
2020-06-03 10:23:21 +00:00
outputs: [],
2020-08-07 17:29:13 +00:00
stateMutability: "nonpayable",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "_pool",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "setLendingPoolImpl",
2020-06-03 10:23:21 +00:00
outputs: [],
2020-08-07 17:29:13 +00:00
stateMutability: "nonpayable",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "_manager",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "setLendingPoolLiquidationManager",
2020-06-03 10:23:21 +00:00
outputs: [],
2020-08-07 17:29:13 +00:00
stateMutability: "nonpayable",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "_lendingPoolManager",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "setLendingPoolManager",
2020-06-03 10:23:21 +00:00
outputs: [],
2020-08-07 17:29:13 +00:00
stateMutability: "nonpayable",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "_lendingRateOracle",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "setLendingRateOracle",
2020-06-03 10:23:21 +00:00
outputs: [],
2020-08-07 17:29:13 +00:00
stateMutability: "nonpayable",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "_priceOracle",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "setPriceOracle",
2020-06-03 10:23:21 +00:00
outputs: [],
2020-08-07 17:29:13 +00:00
stateMutability: "nonpayable",
type: "function"
2020-06-03 10:23:21 +00:00
},
{
inputs: [
{
2020-08-07 17:29:13 +00:00
internalType: "address",
name: "_tokenDistributor",
type: "address"
}
2020-06-03 10:23:21 +00:00
],
2020-08-07 17:29:13 +00:00
name: "setTokenDistributor",
2020-06-03 10:23:21 +00:00
outputs: [],
2020-08-07 17:29:13 +00:00
stateMutability: "nonpayable",
type: "function"
}
2020-06-03 10:23:21 +00:00
];