Skip to main content

contracts.ERC20__factory

@bosonprotocol/ethers-sdk / Exports / contracts / ERC20__factory

Class: ERC20__factory

contracts.ERC20__factory

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new ERC20__factory()

Properties​

abi​

▪ Static Readonly abi: ({ anonymous: undefined = false; constant: boolean = false; inputs: { name: string = "_spender"; type: string = "address" }[] ; name: string = "approve"; outputs: { name: string = ""; type: string = "bool" }[] ; payable: boolean = false; stateMutability: string = "nonpayable"; type: string = "function" } | { anonymous: undefined = false; constant: undefined = false; inputs: undefined ; name: undefined = "Approval"; outputs: undefined ; payable: boolean = true; stateMutability: string = "payable"; type: string = "fallback" } | { anonymous: boolean = false; constant: undefined = false; inputs: { indexed: boolean = true; name: string = "owner"; type: string = "address" }[] ; name: string = "Approval"; outputs: undefined ; payable: undefined = true; stateMutability: undefined = "payable"; type: string = "event" })[] = _abi

Defined in​

src/contracts/factories/ERC20__factory.ts:233

Methods​

connect​

▸ Static connect(address, signerOrProvider): ERC20

Parameters​

NameType
addressstring
signerOrProviderSigner | Provider

Returns​

ERC20

Defined in​

src/contracts/factories/ERC20__factory.ts:237


createInterface​

▸ Static createInterface(): ERC20Interface

Returns​

ERC20Interface

Defined in​

src/contracts/factories/ERC20__factory.ts:234