diff --git a/src/contract/ContractProvider.ts b/src/contract/ContractProvider.ts index f359bbb..2e578b8 100644 --- a/src/contract/ContractProvider.ts +++ b/src/contract/ContractProvider.ts @@ -13,6 +13,7 @@ import { TupleItem } from "../tuple/tuple"; import { Maybe } from "../utils/maybe"; import { ContractState } from "./ContractState"; import { Sender } from './Sender'; +import { Contract } from "./Contract"; export type ContractGetMethodResult = { stack: TupleReader; @@ -25,4 +26,5 @@ export interface ContractProvider { get(name: string, args: TupleItem[]): Promise; external(message: Cell): Promise; internal(via: Sender, args: { value: bigint | string, bounce?: Maybe, sendMode?: SendMode, body?: Maybe }): Promise; -} \ No newline at end of file + open(contract: T): ContractProvider; +}