aave-protocol-v2/types/BaseUpgradeabilityProxyFactory.ts
2020-08-07 19:29:13 +02:00

62 lines
1.9 KiB
TypeScript

/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import { Contract, ContractFactory, Signer } from "ethers";
import { Provider } from "ethers/providers";
import { UnsignedTransaction } from "ethers/utils/transaction";
import { TransactionOverrides } from ".";
import { BaseUpgradeabilityProxy } from "./BaseUpgradeabilityProxy";
export class BaseUpgradeabilityProxyFactory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(overrides?: TransactionOverrides): Promise<BaseUpgradeabilityProxy> {
return super.deploy(overrides) as Promise<BaseUpgradeabilityProxy>;
}
getDeployTransaction(overrides?: TransactionOverrides): UnsignedTransaction {
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 =
"0x6080604052348015600f57600080fd5b50609e8061001e6000396000f3fe6080604052600a600c565b005b6012601e565b601e601a6020565b6045565b565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156063573d6000f35b3d6000fdfea264697066735822122026f9f0a10c55993cd5e1ec3854f2261ee54f57fd62ea6dcffd6b08e6f296847d64736f6c63430006080033";