-
Notifications
You must be signed in to change notification settings - Fork 353
/
LibraryConsumer__factory.ts
45 lines (42 loc) 路 1 KB
/
LibraryConsumer__factory.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
LibraryConsumer,
LibraryConsumerInterface,
} from "../../v0.6.4/LibraryConsumer";
const _abi = [
{
inputs: [
{
internalType: "enum Lib.BOOL",
name: "b",
type: "uint8",
},
],
name: "someOther",
outputs: [
{
internalType: "enum Lib.BOOL",
name: "",
type: "uint8",
},
],
stateMutability: "pure",
type: "function",
},
] as const;
export class LibraryConsumer__factory {
static readonly abi = _abi;
static createInterface(): LibraryConsumerInterface {
return new utils.Interface(_abi) as LibraryConsumerInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): LibraryConsumer {
return new Contract(address, _abi, signerOrProvider) as LibraryConsumer;
}
}