@coset-dev/contracts 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,55 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+
6
+ import { ethers } from 'ethers'
7
+ import { DeployContractOptions, FactoryOptions, HardhatEthersHelpers as HardhatEthersHelpersBase} from "@nomicfoundation/hardhat-ethers/types";
8
+
9
+ import * as Contracts from "./index.js";
10
+
11
+ declare module "@nomicfoundation/hardhat-ethers/types" {
12
+ interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
13
+ getContractFactory(name: 'Oracle', signerOrOptions?: ethers.Signer | FactoryOptions): Promise<Contracts.Oracle__factory>
14
+ getContractFactory(name: 'OracleFactory', signerOrOptions?: ethers.Signer | FactoryOptions): Promise<Contracts.OracleFactory__factory>
15
+ getContractFactory(name: 'OracleUtils', signerOrOptions?: ethers.Signer | FactoryOptions): Promise<Contracts.OracleUtils__factory>
16
+
17
+ getContractAt(name: 'Oracle', address: string | ethers.Addressable, signer?: ethers.Signer): Promise<Contracts.Oracle>
18
+ getContractAt(name: 'OracleFactory', address: string | ethers.Addressable, signer?: ethers.Signer): Promise<Contracts.OracleFactory>
19
+ getContractAt(name: 'OracleUtils', address: string | ethers.Addressable, signer?: ethers.Signer): Promise<Contracts.OracleUtils>
20
+
21
+ deployContract(name: 'Oracle', signerOrOptions?: ethers.Signer | DeployContractOptions): Promise<Contracts.Oracle>
22
+ deployContract(name: 'OracleFactory', signerOrOptions?: ethers.Signer | DeployContractOptions): Promise<Contracts.OracleFactory>
23
+ deployContract(name: 'OracleUtils', signerOrOptions?: ethers.Signer | DeployContractOptions): Promise<Contracts.OracleUtils>
24
+
25
+ deployContract(name: 'Oracle', args: any[], signerOrOptions?: ethers.Signer | DeployContractOptions): Promise<Contracts.Oracle>
26
+ deployContract(name: 'OracleFactory', args: any[], signerOrOptions?: ethers.Signer | DeployContractOptions): Promise<Contracts.OracleFactory>
27
+ deployContract(name: 'OracleUtils', args: any[], signerOrOptions?: ethers.Signer | DeployContractOptions): Promise<Contracts.OracleUtils>
28
+
29
+ // default types
30
+ getContractFactory(
31
+ name: string,
32
+ signerOrOptions?: ethers.Signer | FactoryOptions
33
+ ): Promise<ethers.ContractFactory>;
34
+ getContractFactory(
35
+ abi: any[],
36
+ bytecode: ethers.BytesLike,
37
+ signer?: ethers.Signer
38
+ ): Promise<ethers.ContractFactory>;
39
+ getContractAt(
40
+ nameOrAbi: string | any[],
41
+ address: string | ethers.Addressable,
42
+ signer?: ethers.Signer
43
+ ): Promise<ethers.Contract>;
44
+ deployContract(
45
+ name: string,
46
+ signerOrOptions?: ethers.Signer | DeployContractOptions
47
+ ): Promise<ethers.Contract>;
48
+ deployContract(
49
+ name: string,
50
+ args: any[],
51
+ signerOrOptions?: ethers.Signer | DeployContractOptions
52
+ ): Promise<ethers.Contract>;
53
+ }
54
+ }
55
+
@@ -0,0 +1,10 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export type { Oracle } from './Oracle.js';
5
+ export type { OracleFactory } from './OracleFactory.js';
6
+ export type { OracleUtils } from './OracleUtils.js';
7
+ export * as factories from './factories/index.js';
8
+ export { Oracle__factory } from './factories/Oracle__factory.js';
9
+ export { OracleFactory__factory } from './factories/OracleFactory__factory.js';
10
+ export { OracleUtils__factory } from './factories/OracleUtils__factory.js';