Add Broker, GodsUnchainedValidator, ChainlinkStopLimit to ContractAddresses interface (#2498)
This commit is contained in:
parent
4dd2fb6903
commit
ac56038eca
@ -1,4 +1,13 @@
|
||||
[
|
||||
{
|
||||
"version": "4.8.0",
|
||||
"changes": [
|
||||
{
|
||||
"note": "Added Broker, GodsUnchainedValidator, ChainlinkStopLimit to index.ts",
|
||||
"pr": 2498
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "4.7.0",
|
||||
"changes": [
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import addresses from '../addresses.json';
|
||||
|
||||
export interface ContractAddresses {
|
||||
@ -29,6 +27,9 @@ export interface ContractAddresses {
|
||||
chaiBridge: string;
|
||||
dydxBridge: string;
|
||||
curveBridge: string;
|
||||
godsUnchainedValidator: string;
|
||||
broker: string;
|
||||
chainlinkStopLimit: string;
|
||||
}
|
||||
|
||||
export enum ChainId {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user