diff options
Diffstat (limited to 'packages/sra-report/src')
4 files changed, 14 insertions, 12 deletions
diff --git a/packages/sra-report/src/contract_addresses/kovan_addresses.ts b/packages/sra-report/src/contract_addresses/kovan_addresses.ts index e097bf12a..4d2b76a51 100644 --- a/packages/sra-report/src/contract_addresses/kovan_addresses.ts +++ b/packages/sra-report/src/contract_addresses/kovan_addresses.ts @@ -1,6 +1,6 @@ export const addresses = { - 'DAI_address': '0xb18845c260f680d5b9d84649638813e342e4f8c9', - 'WETH_address': '0xd0a1e359811322d97991e03f863a0c30c2cf029c', - 'ZRX_address': '0x6ff6c0ff1d68b964901f986d4c9fa3ac68346570', - 'EXCHANGE_CONTRACT_address': '0x90fe2af704b34e0224bf2299c838e04d4dcf1364', + DAI_address: '0xb18845c260f680d5b9d84649638813e342e4f8c9', + WETH_address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c', + ZRX_address: '0x6ff6c0ff1d68b964901f986d4c9fa3ac68346570', + EXCHANGE_CONTRACT_address: '0x90fe2af704b34e0224bf2299c838e04d4dcf1364', }; diff --git a/packages/sra-report/src/contract_addresses/mainnet_addresses.ts b/packages/sra-report/src/contract_addresses/mainnet_addresses.ts index cbd79a0e7..4ccbdf12d 100644 --- a/packages/sra-report/src/contract_addresses/mainnet_addresses.ts +++ b/packages/sra-report/src/contract_addresses/mainnet_addresses.ts @@ -1,6 +1,6 @@ export const addresses = { - 'DAI_address': '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', - 'WETH_address': '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', - 'ZRX_address': '0xe41d2489571d322189246dafa5ebde1f4699f498', - 'EXCHANGE_CONTRACT_address': '0x12459c951127e0c374ff9105dda097662a027093', + DAI_address: '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359', + WETH_address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', + ZRX_address: '0xe41d2489571d322189246dafa5ebde1f4699f498', + EXCHANGE_CONTRACT_address: '0x12459c951127e0c374ff9105dda097662a027093', }; diff --git a/packages/sra-report/src/index.ts b/packages/sra-report/src/index.ts index 37c7a8f04..4419a3ec8 100644 --- a/packages/sra-report/src/index.ts +++ b/packages/sra-report/src/index.ts @@ -52,8 +52,10 @@ const args = yargs normalize: true, demandOption: false, }) - .example("$0 --endpoint-url 'http://api.example.com' --out 'path/to/report.json' --network-id 42 --export-environment 'path/to/environment.json' --export-collection 'path/to/collection.json'", 'Full usage example') - .argv; + .example( + "$0 --endpoint-url 'http://api.example.com' --out 'path/to/report.json' --network-id 42 --export-environment 'path/to/environment.json' --export-collection 'path/to/collection.json'", + 'Full usage example', + ).argv; // perform extra validation on command line arguments try { assert.isWebUri('args', args.endpointUrl); diff --git a/packages/sra-report/src/postman_environment_factory.ts b/packages/sra-report/src/postman_environment_factory.ts index d32d41e18..e4276d4a5 100644 --- a/packages/sra-report/src/postman_environment_factory.ts +++ b/packages/sra-report/src/postman_environment_factory.ts @@ -2,8 +2,8 @@ import { SignedOrder, ZeroEx } from '0x.js'; import { Schema, schemas as schemasByName } from '@0xproject/json-schemas'; import * as _ from 'lodash'; -import { addresses as kovanAddresses} from './contract_addresses/kovan_addresses'; -import { addresses as mainnetAddresses} from './contract_addresses/mainnet_addresses'; +import { addresses as kovanAddresses } from './contract_addresses/kovan_addresses'; +import { addresses as mainnetAddresses } from './contract_addresses/mainnet_addresses'; interface EnvironmentValue { key: string; |