Add Broker, GodsUnchainedValidator, ChainlinkStopLimit to ContractAddresses interface (#2498)

This commit is contained in:
mzhu25 2020-02-26 11:54:32 -08:00 committed by GitHub
parent 4dd2fb6903
commit ac56038eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 6 deletions

View File

@ -1,4 +1,13 @@
[ [
{
"version": "4.8.0",
"changes": [
{
"note": "Added Broker, GodsUnchainedValidator, ChainlinkStopLimit to index.ts",
"pr": 2498
}
]
},
{ {
"version": "4.7.0", "version": "4.7.0",
"changes": [ "changes": [

View File

@ -24,13 +24,9 @@
}, },
"homepage": "https://github.com/0xProject/0x-monorepo/packages/contract-addresses/README.md", "homepage": "https://github.com/0xProject/0x-monorepo/packages/contract-addresses/README.md",
"devDependencies": { "devDependencies": {
"@types/lodash": "4.14.104",
"shx": "^0.2.2", "shx": "^0.2.2",
"typescript": "3.0.1" "typescript": "3.0.1"
}, },
"dependencies": {
"lodash": "^4.17.11"
},
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
} }

View File

@ -1,5 +1,3 @@
import * as _ from 'lodash';
import addresses from '../addresses.json'; import addresses from '../addresses.json';
export interface ContractAddresses { export interface ContractAddresses {
@ -29,6 +27,9 @@ export interface ContractAddresses {
chaiBridge: string; chaiBridge: string;
dydxBridge: string; dydxBridge: string;
curveBridge: string; curveBridge: string;
godsUnchainedValidator: string;
broker: string;
chainlinkStopLimit: string;
} }
export enum ChainId { export enum ChainId {

View File

@ -304,6 +304,9 @@ export async function runMigrationsAsync(
chaiBridge: constants.NULL_ADDRESS, chaiBridge: constants.NULL_ADDRESS,
dydxBridge: constants.NULL_ADDRESS, dydxBridge: constants.NULL_ADDRESS,
curveBridge: constants.NULL_ADDRESS, curveBridge: constants.NULL_ADDRESS,
godsUnchainedValidator: constants.NULL_ADDRESS,
broker: constants.NULL_ADDRESS,
chainlinkStopLimit: constants.NULL_ADDRESS,
}; };
return contractAddresses; return contractAddresses;
} }