mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
83 lines
1.7 KiB
TypeScript
83 lines
1.7 KiB
TypeScript
/* Generated by ts-generator ver. 0.0.8 */
|
|
/* tslint:disable */
|
|
|
|
import {Contract, Signer} from 'ethers';
|
|
import {Provider} from 'ethers/providers';
|
|
|
|
import {ILendingPoolAddressesProviderRegistry} from './ILendingPoolAddressesProviderRegistry';
|
|
|
|
export class ILendingPoolAddressesProviderRegistryFactory {
|
|
static connect(
|
|
address: string,
|
|
signerOrProvider: Signer | Provider
|
|
): ILendingPoolAddressesProviderRegistry {
|
|
return new Contract(address, _abi, signerOrProvider) as ILendingPoolAddressesProviderRegistry;
|
|
}
|
|
}
|
|
|
|
const _abi = [
|
|
{
|
|
inputs: [],
|
|
name: 'getAddressesProvidersList',
|
|
outputs: [
|
|
{
|
|
internalType: 'address[]',
|
|
name: '',
|
|
type: 'address[]',
|
|
},
|
|
],
|
|
stateMutability: 'view',
|
|
type: 'function',
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: 'address',
|
|
name: '_provider',
|
|
type: 'address',
|
|
},
|
|
],
|
|
name: 'isAddressesProviderRegistered',
|
|
outputs: [
|
|
{
|
|
internalType: 'uint256',
|
|
name: '',
|
|
type: 'uint256',
|
|
},
|
|
],
|
|
stateMutability: 'view',
|
|
type: 'function',
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: 'address',
|
|
name: '_provider',
|
|
type: 'address',
|
|
},
|
|
{
|
|
internalType: 'uint256',
|
|
name: '_id',
|
|
type: 'uint256',
|
|
},
|
|
],
|
|
name: 'registerAddressesProvider',
|
|
outputs: [],
|
|
stateMutability: 'nonpayable',
|
|
type: 'function',
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: 'address',
|
|
name: '_provider',
|
|
type: 'address',
|
|
},
|
|
],
|
|
name: 'unregisterAddressesProvider',
|
|
outputs: [],
|
|
stateMutability: 'nonpayable',
|
|
type: 'function',
|
|
},
|
|
];
|