@coset-dev/contracts 1.0.10 → 1.0.11

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,363 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js";
3
+ export interface OracleFactoryInterface extends Interface {
4
+ getFunction(nameOrSignature: "activeOracleCount" | "config" | "cstPriceOracle" | "deployOracle" | "getAllOracles" | "getOracleInfo" | "getProviderOracles" | "oracleList" | "oracles" | "owner" | "providerOracles" | "renounceOwnership" | "setOracleDataUpdatePrice" | "setOracleStatus" | "transferOwnership" | "updateConfig" | "updateCstPriceOracle" | "updateOracleData"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "OracleDeployed" | "OracleStatusChanged" | "OwnershipTransferred"): EventFragment;
6
+ encodeFunctionData(functionFragment: 'activeOracleCount', values?: undefined): string;
7
+ encodeFunctionData(functionFragment: 'config', values?: undefined): string;
8
+ encodeFunctionData(functionFragment: 'cstPriceOracle', values?: undefined): string;
9
+ encodeFunctionData(functionFragment: 'deployOracle', values: [AddressLike, BigNumberish, BigNumberish, BytesLike, BigNumberish, BigNumberish, BytesLike, BigNumberish, BytesLike, BytesLike]): string;
10
+ encodeFunctionData(functionFragment: 'getAllOracles', values: [BigNumberish, BigNumberish]): string;
11
+ encodeFunctionData(functionFragment: 'getOracleInfo', values: [AddressLike]): string;
12
+ encodeFunctionData(functionFragment: 'getProviderOracles', values: [AddressLike, BigNumberish, BigNumberish]): string;
13
+ encodeFunctionData(functionFragment: 'oracleList', values: [BigNumberish]): string;
14
+ encodeFunctionData(functionFragment: 'oracles', values: [AddressLike]): string;
15
+ encodeFunctionData(functionFragment: 'owner', values?: undefined): string;
16
+ encodeFunctionData(functionFragment: 'providerOracles', values: [AddressLike, BigNumberish]): string;
17
+ encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string;
18
+ encodeFunctionData(functionFragment: 'setOracleDataUpdatePrice', values: [AddressLike, BigNumberish]): string;
19
+ encodeFunctionData(functionFragment: 'setOracleStatus', values: [AddressLike, boolean]): string;
20
+ encodeFunctionData(functionFragment: 'transferOwnership', values: [AddressLike]): string;
21
+ encodeFunctionData(functionFragment: 'updateConfig', values: [BigNumberish, BigNumberish, AddressLike, AddressLike]): string;
22
+ encodeFunctionData(functionFragment: 'updateCstPriceOracle', values: [AddressLike]): string;
23
+ encodeFunctionData(functionFragment: 'updateOracleData', values: [AddressLike, AddressLike, BytesLike, BigNumberish, BigNumberish, BytesLike, BigNumberish, BytesLike, BytesLike]): string;
24
+ decodeFunctionResult(functionFragment: 'activeOracleCount', data: BytesLike): Result;
25
+ decodeFunctionResult(functionFragment: 'config', data: BytesLike): Result;
26
+ decodeFunctionResult(functionFragment: 'cstPriceOracle', data: BytesLike): Result;
27
+ decodeFunctionResult(functionFragment: 'deployOracle', data: BytesLike): Result;
28
+ decodeFunctionResult(functionFragment: 'getAllOracles', data: BytesLike): Result;
29
+ decodeFunctionResult(functionFragment: 'getOracleInfo', data: BytesLike): Result;
30
+ decodeFunctionResult(functionFragment: 'getProviderOracles', data: BytesLike): Result;
31
+ decodeFunctionResult(functionFragment: 'oracleList', data: BytesLike): Result;
32
+ decodeFunctionResult(functionFragment: 'oracles', data: BytesLike): Result;
33
+ decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result;
34
+ decodeFunctionResult(functionFragment: 'providerOracles', data: BytesLike): Result;
35
+ decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result;
36
+ decodeFunctionResult(functionFragment: 'setOracleDataUpdatePrice', data: BytesLike): Result;
37
+ decodeFunctionResult(functionFragment: 'setOracleStatus', data: BytesLike): Result;
38
+ decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result;
39
+ decodeFunctionResult(functionFragment: 'updateConfig', data: BytesLike): Result;
40
+ decodeFunctionResult(functionFragment: 'updateCstPriceOracle', data: BytesLike): Result;
41
+ decodeFunctionResult(functionFragment: 'updateOracleData', data: BytesLike): Result;
42
+ }
43
+ export declare namespace OracleDeployedEvent {
44
+ type InputTuple = [oracleAddress: AddressLike, provider: AddressLike, timestamp: BigNumberish];
45
+ type OutputTuple = [oracleAddress: string, provider: string, timestamp: bigint];
46
+ interface OutputObject {
47
+ oracleAddress: string;
48
+ provider: string;
49
+ timestamp: bigint;
50
+ }
51
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
52
+ type Filter = TypedDeferredTopicFilter<Event>;
53
+ type Log = TypedEventLog<Event>;
54
+ type LogDescription = TypedLogDescription<Event>;
55
+ }
56
+ export declare namespace OracleStatusChangedEvent {
57
+ type InputTuple = [oracleAddress: AddressLike, provider: AddressLike, newOracleStatus: boolean, timestamp: BigNumberish];
58
+ type OutputTuple = [oracleAddress: string, provider: string, newOracleStatus: boolean, timestamp: bigint];
59
+ interface OutputObject {
60
+ oracleAddress: string;
61
+ provider: string;
62
+ newOracleStatus: boolean;
63
+ timestamp: bigint;
64
+ }
65
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
66
+ type Filter = TypedDeferredTopicFilter<Event>;
67
+ type Log = TypedEventLog<Event>;
68
+ type LogDescription = TypedLogDescription<Event>;
69
+ }
70
+ export declare namespace OwnershipTransferredEvent {
71
+ type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
72
+ type OutputTuple = [previousOwner: string, newOwner: string];
73
+ interface OutputObject {
74
+ previousOwner: string;
75
+ newOwner: string;
76
+ }
77
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
78
+ type Filter = TypedDeferredTopicFilter<Event>;
79
+ type Log = TypedEventLog<Event>;
80
+ type LogDescription = TypedLogDescription<Event>;
81
+ }
82
+ export interface OracleFactory extends BaseContract {
83
+ connect(runner?: ContractRunner | null): OracleFactory;
84
+ waitForDeployment(): Promise<this>;
85
+ interface: OracleFactoryInterface;
86
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
87
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
88
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
89
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
90
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
91
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
92
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
93
+ listeners(eventName?: string): Promise<Array<Listener>>;
94
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
95
+ activeOracleCount: TypedContractMethod<[
96
+ ], [
97
+ bigint
98
+ ], 'view'>;
99
+ config: TypedContractMethod<[
100
+ ], [
101
+ [bigint, bigint, string, string] & {
102
+ oracleDeployPrice: bigint;
103
+ oracleFactoryShare: bigint;
104
+ usdcTokenAddress: string;
105
+ cstTokenAddress: string;
106
+ }
107
+ ], 'view'>;
108
+ cstPriceOracle: TypedContractMethod<[
109
+ ], [
110
+ string
111
+ ], 'view'>;
112
+ deployOracle: TypedContractMethod<[
113
+ paymentTokenAddress: AddressLike,
114
+ _recommendedUpdateDuration: BigNumberish,
115
+ _dataUpdatePrice: BigNumberish,
116
+ _initialData: BytesLike,
117
+ validAfter: BigNumberish,
118
+ validBefore: BigNumberish,
119
+ nonce: BytesLike,
120
+ v: BigNumberish,
121
+ r: BytesLike,
122
+ s: BytesLike
123
+ ], [
124
+ void
125
+ ], 'nonpayable'>;
126
+ getAllOracles: TypedContractMethod<[
127
+ offset: BigNumberish,
128
+ limit: BigNumberish
129
+ ], [
130
+ [string[], bigint] & {
131
+ total: bigint;
132
+ }
133
+ ], 'view'>;
134
+ getOracleInfo: TypedContractMethod<[
135
+ oracleAddress: AddressLike
136
+ ], [
137
+ [string, bigint, boolean] & {
138
+ provider: string;
139
+ createdAt: bigint;
140
+ isActive: boolean;
141
+ }
142
+ ], 'view'>;
143
+ getProviderOracles: TypedContractMethod<[
144
+ provider: AddressLike,
145
+ offset: BigNumberish,
146
+ limit: BigNumberish
147
+ ], [
148
+ [string[], bigint] & {
149
+ total: bigint;
150
+ }
151
+ ], 'view'>;
152
+ oracleList: TypedContractMethod<[
153
+ arg0: BigNumberish
154
+ ], [
155
+ string
156
+ ], 'view'>;
157
+ oracles: TypedContractMethod<[
158
+ arg0: AddressLike
159
+ ], [
160
+ [string, bigint, boolean] & {
161
+ provider: string;
162
+ createdAt: bigint;
163
+ isActive: boolean;
164
+ }
165
+ ], 'view'>;
166
+ owner: TypedContractMethod<[
167
+ ], [
168
+ string
169
+ ], 'view'>;
170
+ providerOracles: TypedContractMethod<[
171
+ arg0: AddressLike,
172
+ arg1: BigNumberish
173
+ ], [
174
+ string
175
+ ], 'view'>;
176
+ renounceOwnership: TypedContractMethod<[
177
+ ], [
178
+ void
179
+ ], 'nonpayable'>;
180
+ setOracleDataUpdatePrice: TypedContractMethod<[
181
+ oracleAddress: AddressLike,
182
+ _dataUpdatePrice: BigNumberish
183
+ ], [
184
+ void
185
+ ], 'nonpayable'>;
186
+ setOracleStatus: TypedContractMethod<[
187
+ oracleAddress: AddressLike,
188
+ _isActive: boolean
189
+ ], [
190
+ void
191
+ ], 'nonpayable'>;
192
+ transferOwnership: TypedContractMethod<[
193
+ newOwner: AddressLike
194
+ ], [
195
+ void
196
+ ], 'nonpayable'>;
197
+ updateConfig: TypedContractMethod<[
198
+ _oracleDeployPrice: BigNumberish,
199
+ _oracleFactoryShare: BigNumberish,
200
+ _usdcTokenAddress: AddressLike,
201
+ _cstTokenAddress: AddressLike
202
+ ], [
203
+ void
204
+ ], 'nonpayable'>;
205
+ updateCstPriceOracle: TypedContractMethod<[
206
+ _cstPriceOracle: AddressLike
207
+ ], [
208
+ void
209
+ ], 'nonpayable'>;
210
+ updateOracleData: TypedContractMethod<[
211
+ paymentTokenAddress: AddressLike,
212
+ oracleAddress: AddressLike,
213
+ _data: BytesLike,
214
+ validAfter: BigNumberish,
215
+ validBefore: BigNumberish,
216
+ nonce: BytesLike,
217
+ v: BigNumberish,
218
+ r: BytesLike,
219
+ s: BytesLike
220
+ ], [
221
+ void
222
+ ], 'nonpayable'>;
223
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
224
+ getFunction(nameOrSignature: 'activeOracleCount'): TypedContractMethod<[
225
+ ], [
226
+ bigint
227
+ ], 'view'>;
228
+ getFunction(nameOrSignature: 'config'): TypedContractMethod<[
229
+ ], [
230
+ [bigint, bigint, string, string] & {
231
+ oracleDeployPrice: bigint;
232
+ oracleFactoryShare: bigint;
233
+ usdcTokenAddress: string;
234
+ cstTokenAddress: string;
235
+ }
236
+ ], 'view'>;
237
+ getFunction(nameOrSignature: 'cstPriceOracle'): TypedContractMethod<[
238
+ ], [
239
+ string
240
+ ], 'view'>;
241
+ getFunction(nameOrSignature: 'deployOracle'): TypedContractMethod<[
242
+ paymentTokenAddress: AddressLike,
243
+ _recommendedUpdateDuration: BigNumberish,
244
+ _dataUpdatePrice: BigNumberish,
245
+ _initialData: BytesLike,
246
+ validAfter: BigNumberish,
247
+ validBefore: BigNumberish,
248
+ nonce: BytesLike,
249
+ v: BigNumberish,
250
+ r: BytesLike,
251
+ s: BytesLike
252
+ ], [
253
+ void
254
+ ], 'nonpayable'>;
255
+ getFunction(nameOrSignature: 'getAllOracles'): TypedContractMethod<[
256
+ offset: BigNumberish,
257
+ limit: BigNumberish
258
+ ], [
259
+ [string[], bigint] & {
260
+ total: bigint;
261
+ }
262
+ ], 'view'>;
263
+ getFunction(nameOrSignature: 'getOracleInfo'): TypedContractMethod<[
264
+ oracleAddress: AddressLike
265
+ ], [
266
+ [string, bigint, boolean] & {
267
+ provider: string;
268
+ createdAt: bigint;
269
+ isActive: boolean;
270
+ }
271
+ ], 'view'>;
272
+ getFunction(nameOrSignature: 'getProviderOracles'): TypedContractMethod<[
273
+ provider: AddressLike,
274
+ offset: BigNumberish,
275
+ limit: BigNumberish
276
+ ], [
277
+ [string[], bigint] & {
278
+ total: bigint;
279
+ }
280
+ ], 'view'>;
281
+ getFunction(nameOrSignature: 'oracleList'): TypedContractMethod<[
282
+ arg0: BigNumberish
283
+ ], [
284
+ string
285
+ ], 'view'>;
286
+ getFunction(nameOrSignature: 'oracles'): TypedContractMethod<[
287
+ arg0: AddressLike
288
+ ], [
289
+ [string, bigint, boolean] & {
290
+ provider: string;
291
+ createdAt: bigint;
292
+ isActive: boolean;
293
+ }
294
+ ], 'view'>;
295
+ getFunction(nameOrSignature: 'owner'): TypedContractMethod<[
296
+ ], [
297
+ string
298
+ ], 'view'>;
299
+ getFunction(nameOrSignature: 'providerOracles'): TypedContractMethod<[
300
+ arg0: AddressLike,
301
+ arg1: BigNumberish
302
+ ], [
303
+ string
304
+ ], 'view'>;
305
+ getFunction(nameOrSignature: 'renounceOwnership'): TypedContractMethod<[
306
+ ], [
307
+ void
308
+ ], 'nonpayable'>;
309
+ getFunction(nameOrSignature: 'setOracleDataUpdatePrice'): TypedContractMethod<[
310
+ oracleAddress: AddressLike,
311
+ _dataUpdatePrice: BigNumberish
312
+ ], [
313
+ void
314
+ ], 'nonpayable'>;
315
+ getFunction(nameOrSignature: 'setOracleStatus'): TypedContractMethod<[
316
+ oracleAddress: AddressLike,
317
+ _isActive: boolean
318
+ ], [
319
+ void
320
+ ], 'nonpayable'>;
321
+ getFunction(nameOrSignature: 'transferOwnership'): TypedContractMethod<[
322
+ newOwner: AddressLike
323
+ ], [
324
+ void
325
+ ], 'nonpayable'>;
326
+ getFunction(nameOrSignature: 'updateConfig'): TypedContractMethod<[
327
+ _oracleDeployPrice: BigNumberish,
328
+ _oracleFactoryShare: BigNumberish,
329
+ _usdcTokenAddress: AddressLike,
330
+ _cstTokenAddress: AddressLike
331
+ ], [
332
+ void
333
+ ], 'nonpayable'>;
334
+ getFunction(nameOrSignature: 'updateCstPriceOracle'): TypedContractMethod<[
335
+ _cstPriceOracle: AddressLike
336
+ ], [
337
+ void
338
+ ], 'nonpayable'>;
339
+ getFunction(nameOrSignature: 'updateOracleData'): TypedContractMethod<[
340
+ paymentTokenAddress: AddressLike,
341
+ oracleAddress: AddressLike,
342
+ _data: BytesLike,
343
+ validAfter: BigNumberish,
344
+ validBefore: BigNumberish,
345
+ nonce: BytesLike,
346
+ v: BigNumberish,
347
+ r: BytesLike,
348
+ s: BytesLike
349
+ ], [
350
+ void
351
+ ], 'nonpayable'>;
352
+ getEvent(key: 'OracleDeployed'): TypedContractEvent<OracleDeployedEvent.InputTuple, OracleDeployedEvent.OutputTuple, OracleDeployedEvent.OutputObject>;
353
+ getEvent(key: 'OracleStatusChanged'): TypedContractEvent<OracleStatusChangedEvent.InputTuple, OracleStatusChangedEvent.OutputTuple, OracleStatusChangedEvent.OutputObject>;
354
+ getEvent(key: 'OwnershipTransferred'): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
355
+ filters: {
356
+ 'OracleDeployed(address,address,uint256)': TypedContractEvent<OracleDeployedEvent.InputTuple, OracleDeployedEvent.OutputTuple, OracleDeployedEvent.OutputObject>;
357
+ OracleDeployed: TypedContractEvent<OracleDeployedEvent.InputTuple, OracleDeployedEvent.OutputTuple, OracleDeployedEvent.OutputObject>;
358
+ 'OracleStatusChanged(address,address,bool,uint256)': TypedContractEvent<OracleStatusChangedEvent.InputTuple, OracleStatusChangedEvent.OutputTuple, OracleStatusChangedEvent.OutputObject>;
359
+ OracleStatusChanged: TypedContractEvent<OracleStatusChangedEvent.InputTuple, OracleStatusChangedEvent.OutputTuple, OracleStatusChangedEvent.OutputObject>;
360
+ 'OwnershipTransferred(address,address)': TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
361
+ OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
362
+ };
363
+ }
@@ -1,3 +1,4 @@
1
1
  {
2
- "type": "commonjs"
2
+ "type": "commonjs",
3
+ "types": "../../index.d.ts"
3
4
  }
@@ -0,0 +1,46 @@
1
+ import type { FunctionFragment, Typed, EventFragment, ContractTransaction, ContractTransactionResponse, DeferredTopicFilter, EventLog, TransactionRequest, LogDescription } from 'ethers';
2
+ export interface TypedDeferredTopicFilter<_TCEvent extends TypedContractEvent> extends DeferredTopicFilter {
3
+ }
4
+ export interface TypedContractEvent<InputTuple extends Array<any> = any, OutputTuple extends Array<any> = any, OutputObject = any> {
5
+ (...args: Partial<InputTuple>): TypedDeferredTopicFilter<TypedContractEvent<InputTuple, OutputTuple, OutputObject>>;
6
+ name: string;
7
+ fragment: EventFragment;
8
+ getFragment(...args: Partial<InputTuple>): EventFragment;
9
+ }
10
+ type __TypechainAOutputTuple<T> = T extends TypedContractEvent<infer _U, infer W> ? W : never;
11
+ type __TypechainOutputObject<T> = T extends TypedContractEvent<infer _U, infer _W, infer V> ? V : never;
12
+ export interface TypedEventLog<TCEvent extends TypedContractEvent> extends Omit<EventLog, 'args'> {
13
+ args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
14
+ }
15
+ export interface TypedLogDescription<TCEvent extends TypedContractEvent> extends Omit<LogDescription, 'args'> {
16
+ args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
17
+ }
18
+ export type TypedListener<TCEvent extends TypedContractEvent> = (...listenerArg: [...__TypechainAOutputTuple<TCEvent>, TypedEventLog<TCEvent>, ...undefined[]]) => void;
19
+ export type MinEthersFactory<C, ARGS> = {
20
+ deploy(...a: ARGS[]): Promise<C>;
21
+ };
22
+ export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<infer C, any> ? C : never;
23
+ export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any> ? Parameters<F['deploy']> : never;
24
+ export type StateMutability = 'nonpayable' | 'payable' | 'view';
25
+ export type BaseOverrides = Omit<TransactionRequest, 'to' | 'data'>;
26
+ export type NonPayableOverrides = Omit<BaseOverrides, 'value' | 'blockTag' | 'enableCcipRead'>;
27
+ export type PayableOverrides = Omit<BaseOverrides, 'blockTag' | 'enableCcipRead'>;
28
+ export type ViewOverrides = Omit<TransactionRequest, 'to' | 'data'>;
29
+ export type Overrides<S extends StateMutability> = S extends 'nonpayable' ? NonPayableOverrides : S extends 'payable' ? PayableOverrides : ViewOverrides;
30
+ export type PostfixOverrides<A extends Array<any>, S extends StateMutability> = A | [...A, Overrides<S>];
31
+ export type ContractMethodArgs<A extends Array<any>, S extends StateMutability> = PostfixOverrides<{
32
+ [I in keyof A]-?: A[I] | Typed;
33
+ }, S>;
34
+ export type DefaultReturnType<R> = R extends Array<any> ? R[0] : R;
35
+ export interface TypedContractMethod<A extends Array<any> = Array<any>, R = any, S extends StateMutability = 'payable'> {
36
+ (...args: ContractMethodArgs<A, S>): S extends 'view' ? Promise<DefaultReturnType<R>> : Promise<ContractTransactionResponse>;
37
+ name: string;
38
+ fragment: FunctionFragment;
39
+ getFragment(...args: ContractMethodArgs<A, S>): FunctionFragment;
40
+ populateTransaction(...args: ContractMethodArgs<A, S>): Promise<ContractTransaction>;
41
+ staticCall(...args: ContractMethodArgs<A, 'view'>): Promise<DefaultReturnType<R>>;
42
+ send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
43
+ estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
44
+ staticCallResult(...args: ContractMethodArgs<A, 'view'>): Promise<R>;
45
+ }
46
+ export {};
@@ -1,3 +1,4 @@
1
1
  {
2
- "type": "module"
2
+ "type": "module",
3
+ "types": "../../index.d.ts"
3
4
  }