ufomarketplace-sdk-new
Version:
SDK to interact with set ufo marketplace contracts
58 lines (54 loc) • 1.29 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
IERC20Burnable,
IERC20BurnableInterface,
} from "../IERC20Burnable";
const _abi = [
{
type: "function",
name: "burn",
inputs: [
{
name: "amount",
type: "uint256",
internalType: "uint256",
},
],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
name: "burnFrom",
inputs: [
{
name: "account",
type: "address",
internalType: "address",
},
{
name: "amount",
type: "uint256",
internalType: "uint256",
},
],
outputs: [],
stateMutability: "nonpayable",
},
] as const;
export class IERC20Burnable__factory {
static readonly abi = _abi;
static createInterface(): IERC20BurnableInterface {
return new utils.Interface(_abi) as IERC20BurnableInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): IERC20Burnable {
return new Contract(address, _abi, signerOrProvider) as IERC20Burnable;
}
}