aave-protocol-v2/types/BaseUpgradeabilityProxyFactory.ts
2020-06-27 04:13:32 +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 =
"0x6080604052348015600f57600080fd5b50609e8061001e6000396000f3fe6080604052600a600c565b005b6012601e565b601e601a6020565b6045565b565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156063573d6000f35b3d6000fdfea26469706673582212204da865f60c349026a6987afe00968cca8fac24d5035d8f57aa280f04a1b54d3664736f6c63430006080033";