Broker contracts

This commit is contained in:
Michael Zhu
2020-01-24 14:42:52 -08:00
parent 5bbbae5b23
commit a98c95b514
13 changed files with 494 additions and 9 deletions

View File

@@ -6,4 +6,14 @@
import { ContractArtifact } from 'ethereum-types';
import * as Broker from '../generated-artifacts/Broker.json';
export const artifacts = { Broker: Broker as ContractArtifact };
import * as GodsUnchainedValidator from '../generated-artifacts/GodsUnchainedValidator.json';
import * as IBroker from '../generated-artifacts/IBroker.json';
import * as IGodsUnchained from '../generated-artifacts/IGodsUnchained.json';
import * as IPropertyValidator from '../generated-artifacts/IPropertyValidator.json';
export const artifacts = {
Broker: Broker as ContractArtifact,
IBroker: IBroker as ContractArtifact,
IGodsUnchained: IGodsUnchained as ContractArtifact,
IPropertyValidator: IPropertyValidator as ContractArtifact,
GodsUnchainedValidator: GodsUnchainedValidator as ContractArtifact,
};

View File

@@ -1,2 +1,2 @@
export { artifacts } from './artifacts';
export { BrokerContract } from './wrappers';
export { BrokerContract, GodsUnchainedValidatorContract } from './wrappers';

View File

@@ -4,3 +4,7 @@
* -----------------------------------------------------------------------------
*/
export * from '../generated-wrappers/broker';
export * from '../generated-wrappers/gods_unchained_validator';
export * from '../generated-wrappers/i_broker';
export * from '../generated-wrappers/i_gods_unchained';
export * from '../generated-wrappers/i_property_validator';