1 2 3 4 5 6 7 8 9 10
import { Artifact } from '@0xproject/types'; import * as Exchange from './artifacts/Exchange.json'; import * as IValidator from './artifacts/IValidator.json'; import * as IWallet from './artifacts/IWallet.json'; export const artifacts = { Exchange: (Exchange as any) as Artifact, IWallet: (IWallet as any) as Artifact, IValidator: (IValidator as any) as Artifact, };