aave-protocol-v2/types/ProxyFactory.ts

21 lines
449 B
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 { Proxy } from "./Proxy";
2020-06-03 10:23:21 +00:00
export class ProxyFactory {
static connect(address: string, signerOrProvider: Signer | Provider): Proxy {
return new Contract(address, _abi, signerOrProvider) as Proxy;
}
}
const _abi = [
{
2020-08-07 17:29:13 +00:00
stateMutability: "payable",
type: "fallback"
}
2020-06-03 10:23:21 +00:00
];