Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Add Broker, GodsUnchainedValidator, ChainlinkStopLimit to ContractAdd…
Browse files Browse the repository at this point in the history
…resses interface
  • Loading branch information
moodlezoup committed Feb 26, 2020
1 parent 58ff2dc commit 9ebf9a8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions packages/contract-addresses/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
[
{
"version": "4.8.0",
"changes": [
{
"note": "Added Broker, GodsUnchainedValidator, ChainlinkStopLimit to index.ts",
"pr": 2498
}
]
},
{
"version": "4.7.0",
"changes": [
Expand Down
4 changes: 0 additions & 4 deletions packages/contract-addresses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,9 @@
},
"homepage": "https://github.com/0xProject/0x-monorepo/packages/contract-addresses/README.md",
"devDependencies": {
"@types/lodash": "4.14.104",
"shx": "^0.2.2",
"typescript": "3.0.1"
},
"dependencies": {
"lodash": "^4.17.11"
},
"publishConfig": {
"access": "public"
}
Expand Down
5 changes: 3 additions & 2 deletions packages/contract-addresses/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import * as _ from 'lodash';

import addresses from '../addresses.json';

export interface ContractAddresses {
Expand Down Expand Up @@ -29,6 +27,9 @@ export interface ContractAddresses {
chaiBridge: string;
dydxBridge: string;
curveBridge: string;
godsUnchainedValidator: string;
broker: string;
chainlinkStopLimit: string;
}

export enum ChainId {
Expand Down
3 changes: 3 additions & 0 deletions packages/migrations/src/migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ export async function runMigrationsAsync(
chaiBridge: constants.NULL_ADDRESS,
dydxBridge: constants.NULL_ADDRESS,
curveBridge: constants.NULL_ADDRESS,
godsUnchainedValidator: constants.NULL_ADDRESS,
broker: constants.NULL_ADDRESS,
chainlinkStopLimit: constants.NULL_ADDRESS,
};
return contractAddresses;
}
Expand Down

0 comments on commit 9ebf9a8

Please sign in to comment.