aave-protocol-v2/types/Ierc20DetailedBytesFactory.ts
2020-06-03 12:23:21 +02:00

80 lines
2.3 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 { Ierc20DetailedBytes } from "./Ierc20DetailedBytes";
export class Ierc20DetailedBytesFactory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(overrides?: TransactionOverrides): Promise<Ierc20DetailedBytes> {
return super.deploy(overrides) as Promise<Ierc20DetailedBytes>;
}
getDeployTransaction(overrides?: TransactionOverrides): UnsignedTransaction {
return super.getDeployTransaction(overrides);
}
attach(address: string): Ierc20DetailedBytes {
return super.attach(address) as Ierc20DetailedBytes;
}
connect(signer: Signer): Ierc20DetailedBytesFactory {
return super.connect(signer) as Ierc20DetailedBytesFactory;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): Ierc20DetailedBytes {
return new Contract(address, _abi, signerOrProvider) as Ierc20DetailedBytes;
}
}
const _abi = [
{
inputs: [],
name: "decimals",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256"
}
],
stateMutability: "view",
type: "function"
},
{
inputs: [],
name: "name",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32"
}
],
stateMutability: "view",
type: "function"
},
{
inputs: [],
name: "symbol",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32"
}
],
stateMutability: "view",
type: "function"
}
];
const _bytecode =
"0x608060405234801561001057600080fd5b5060dd8061001f6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c806306fdde03146041578063313ce56714605d57806395d89b41146079575b600080fd5b60476095565b6040518082815260200191505060405180910390f35b6063609b565b6040518082815260200191505060405180910390f35b607f60a1565b6040518082815260200191505060405180910390f35b60005481565b60025481565b6001548156fea264697066735822122012181cc1edfa2cb5dc11110436ba200114c6189dd7b22301a6738f7f6169359264736f6c63430006080033";