mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
51 lines
983 B
TypeScript
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"
|
||
|
}
|
||
|
];
|