parent
761e528215
commit
6b36d7f196
@ -1,11 +1,7 @@ |
||||
import { RouterContracts, RouterFactories } from '@hyperlane-xyz/sdk'; |
||||
import { HelloWorld__factory } from '../types'; |
||||
|
||||
import { HelloWorld, HelloWorld__factory } from '../types'; |
||||
|
||||
export type HelloWorldFactories = RouterFactories<HelloWorld>; |
||||
|
||||
export const helloWorldFactories: HelloWorldFactories = { |
||||
export const helloWorldFactories = { |
||||
router: new HelloWorld__factory(), |
||||
}; |
||||
|
||||
export type HelloWorldContracts = RouterContracts<HelloWorld>; |
||||
export type HelloWorldFactories = typeof helloWorldFactories; |
||||
|
@ -1,12 +1,12 @@ |
||||
import { HyperlaneRouterChecker } from '@hyperlane-xyz/sdk'; |
||||
|
||||
import { HelloWorldApp } from '../app/app'; |
||||
import { HelloWorldContracts } from '../app/contracts'; |
||||
import { HelloWorldFactories } from '../app/contracts'; |
||||
|
||||
import { HelloWorldConfig } from './config'; |
||||
|
||||
export class HelloWorldChecker extends HyperlaneRouterChecker< |
||||
HelloWorldFactories, |
||||
HelloWorldApp, |
||||
HelloWorldConfig, |
||||
HelloWorldContracts |
||||
HelloWorldConfig |
||||
> {} |
||||
|
@ -1,10 +1,6 @@ |
||||
export { HelloWorldApp } from './app/app'; |
||||
export { HelloWorldFactories, helloWorldFactories } from './app/contracts'; |
||||
export { HelloWorldChecker } from './deploy/check'; |
||||
export { HelloWorldConfig } from './deploy/config'; |
||||
export { HelloWorldDeployer } from './deploy/deploy'; |
||||
export { HelloWorldApp } from './app/app'; |
||||
export { |
||||
HelloWorldContracts, |
||||
HelloWorldFactories, |
||||
helloWorldFactories, |
||||
} from './app/contracts'; |
||||
export * as types from './types'; |
||||
|
Loading…
Reference in new issue