aave-protocol-v2/types/Ierc20BurnableFactory.ts

51 lines
983 B
TypeScript

/* Generated by ts-generator ver. 0.0.8 */
/* tslint:disable */
import { Contract, Signer } from "ethers";
import { Provider } from "ethers/providers";
import { Ierc20Burnable } from "./Ierc20Burnable";
export class Ierc20BurnableFactory {
static connect(
address: string,
signerOrProvider: Signer | Provider
): Ierc20Burnable {
return new Contract(address, _abi, signerOrProvider) as Ierc20Burnable;
}
}
const _abi = [
{
inputs: [
{
internalType: "uint256",
name: "amount",
type: "uint256"
}
],
name: "burn",
outputs: [],
stateMutability: "nonpayable",
type: "function"
},
{
inputs: [
{
internalType: "address",
name: "account",
type: "address"
},
{
internalType: "uint256",
name: "amount",
type: "uint256"
}
],
name: "burnFrom",
outputs: [],
stateMutability: "nonpayable",
type: "function"
}
];