aave-protocol-v2/types/BaseUpgradeabilityProxyFactory.ts
2020-08-19 15:23:41 +03:00

61 lines
1.9 KiB
TypeScript

/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import { Signer } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import { Contract, ContractFactory, Overrides } from "@ethersproject/contracts";
import { BaseUpgradeabilityProxy } from "./BaseUpgradeabilityProxy";
export class BaseUpgradeabilityProxyFactory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(overrides?: Overrides): Promise<BaseUpgradeabilityProxy> {
return super.deploy(overrides || {}) as Promise<BaseUpgradeabilityProxy>;
}
getDeployTransaction(overrides?: Overrides): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): BaseUpgradeabilityProxy {
return super.attach(address) as BaseUpgradeabilityProxy;
}
connect(signer: Signer): BaseUpgradeabilityProxyFactory {
return super.connect(signer) as BaseUpgradeabilityProxyFactory;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): BaseUpgradeabilityProxy {
return new Contract(
address,
_abi,
signerOrProvider
) as BaseUpgradeabilityProxy;
}
}
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "implementation",
type: "address"
}
],
name: "Upgraded",
type: "event"
},
{
stateMutability: "payable",
type: "fallback"
}
];
const _bytecode =
"0x6080604052348015600f57600080fd5b50609e8061001e6000396000f3fe6080604052600a600c565b005b6012601e565b601e601a6020565b6045565b565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156063573d6000f35b3d6000fdfea26469706673582212200d565f838a16394f83cdf6c38616b91c97db6ee9f15446292f209fbacee99bb364736f6c63430006080033";