-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪚 OmniGraph™ Fix types & README (#64)
- Loading branch information
1 parent
2c06f48
commit 8c641a8
Showing
6 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
import { Contract } from '@ethersproject/contracts' | ||
import { EndpointId } from '@layerzerolabs/lz-definitions' | ||
import type { Contract } from '@ethersproject/contracts' | ||
import type { EndpointId } from '@layerzerolabs/lz-definitions' | ||
import type { OmniPoint } from '@layerzerolabs/utils' | ||
|
||
export interface OmniContract<TContract extends Contract = Contract> { | ||
eid: EndpointId | ||
contract: TContract | ||
} | ||
|
||
export type OmniContractFactory = (point: OmniPoint) => OmniContract | Promise<OmniContract> |