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

Add Broker, GodsUnchainedValidator, ChainlinkStopLimit to ContractAdd… #2498

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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