Make the banner more visible
This commit is contained in:
parent
47357ddec8
commit
1a88eac9c7
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as DummyERC20Token from '../generated-artifacts/DummyERC20Token.json';
|
import * as DummyERC20Token from '../generated-artifacts/DummyERC20Token.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/dummy_erc20_token';
|
export * from '../generated-wrappers/dummy_erc20_token';
|
||||||
export * from '../generated-wrappers/dummy_erc721_receiver';
|
export * from '../generated-wrappers/dummy_erc721_receiver';
|
||||||
export * from '../generated-wrappers/dummy_erc721_token';
|
export * from '../generated-wrappers/dummy_erc721_token';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as DummyERC20Token from '../generated-artifacts/DummyERC20Token.json';
|
import * as DummyERC20Token from '../generated-artifacts/DummyERC20Token.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/dummy_erc20_token';
|
export * from '../generated-wrappers/dummy_erc20_token';
|
||||||
export * from '../generated-wrappers/dummy_multiple_return_erc20_token';
|
export * from '../generated-wrappers/dummy_multiple_return_erc20_token';
|
||||||
export * from '../generated-wrappers/dummy_no_return_erc20_token';
|
export * from '../generated-wrappers/dummy_no_return_erc20_token';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as DummyERC721Receiver from '../generated-artifacts/DummyERC721Receiver.json';
|
import * as DummyERC721Receiver from '../generated-artifacts/DummyERC721Receiver.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/dummy_erc721_receiver';
|
export * from '../generated-wrappers/dummy_erc721_receiver';
|
||||||
export * from '../generated-wrappers/dummy_erc721_token';
|
export * from '../generated-wrappers/dummy_erc721_token';
|
||||||
export * from '../generated-wrappers/erc721_token';
|
export * from '../generated-wrappers/erc721_token';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as DummyERC20Token from '../generated-artifacts/DummyERC20Token.json';
|
import * as DummyERC20Token from '../generated-artifacts/DummyERC20Token.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/dummy_erc20_token';
|
export * from '../generated-wrappers/dummy_erc20_token';
|
||||||
export * from '../generated-wrappers/dummy_erc721_token';
|
export * from '../generated-wrappers/dummy_erc721_token';
|
||||||
export * from '../generated-wrappers/exchange';
|
export * from '../generated-wrappers/exchange';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as LibAbiEncoder from '../generated-artifacts/LibAbiEncoder.json';
|
import * as LibAbiEncoder from '../generated-artifacts/LibAbiEncoder.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/lib_abi_encoder';
|
export * from '../generated-wrappers/lib_abi_encoder';
|
||||||
export * from '../generated-wrappers/lib_asset_proxy_errors';
|
export * from '../generated-wrappers/lib_asset_proxy_errors';
|
||||||
export * from '../generated-wrappers/lib_constants';
|
export * from '../generated-wrappers/lib_constants';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as DummyERC20Token from '../generated-artifacts/DummyERC20Token.json';
|
import * as DummyERC20Token from '../generated-artifacts/DummyERC20Token.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/dummy_erc20_token';
|
export * from '../generated-wrappers/dummy_erc20_token';
|
||||||
export * from '../generated-wrappers/dummy_erc721_token';
|
export * from '../generated-wrappers/dummy_erc721_token';
|
||||||
export * from '../generated-wrappers/dummy_no_return_erc20_token';
|
export * from '../generated-wrappers/dummy_no_return_erc20_token';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as BalanceThresholdFilter from '../generated-artifacts/BalanceThresholdFilter.json';
|
import * as BalanceThresholdFilter from '../generated-artifacts/BalanceThresholdFilter.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/balance_threshold_filter';
|
export * from '../generated-wrappers/balance_threshold_filter';
|
||||||
export * from '../generated-wrappers/dummy_erc20_token';
|
export * from '../generated-wrappers/dummy_erc20_token';
|
||||||
export * from '../generated-wrappers/dummy_erc721_token';
|
export * from '../generated-wrappers/dummy_erc721_token';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as AssetProxyOwner from '../generated-artifacts/AssetProxyOwner.json';
|
import * as AssetProxyOwner from '../generated-artifacts/AssetProxyOwner.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/asset_proxy_owner';
|
export * from '../generated-wrappers/asset_proxy_owner';
|
||||||
export * from '../generated-wrappers/mixin_authorizable';
|
export * from '../generated-wrappers/mixin_authorizable';
|
||||||
export * from '../generated-wrappers/multi_sig_wallet';
|
export * from '../generated-wrappers/multi_sig_wallet';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
import * as IOwnable from '../generated-artifacts/IOwnable.json';
|
import * as IOwnable from '../generated-artifacts/IOwnable.json';
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
// This file is auto-generated by contracts-gen. Don't edit manually.
|
/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
export * from '../generated-wrappers/i_ownable';
|
export * from '../generated-wrappers/i_ownable';
|
||||||
export * from '../generated-wrappers/lib_bytes';
|
export * from '../generated-wrappers/lib_bytes';
|
||||||
export * from '../generated-wrappers/ownable';
|
export * from '../generated-wrappers/ownable';
|
||||||
|
@ -14,7 +14,11 @@ const SOLIDITY_EXTENSION = '.sol';
|
|||||||
const DEFAULT_ARTIFACTS_DIR = 'artifacts';
|
const DEFAULT_ARTIFACTS_DIR = 'artifacts';
|
||||||
const DEFAULT_CONTRACTS_DIR = 'contracts';
|
const DEFAULT_CONTRACTS_DIR = 'contracts';
|
||||||
const DEFAULT_WRAPPERS_DIR = 'generated-wrappers';
|
const DEFAULT_WRAPPERS_DIR = 'generated-wrappers';
|
||||||
const AUTO_GENERATED_BANNER = `This file is auto-generated by contracts-gen. Don't edit manually.`;
|
const AUTO_GENERATED_BANNER = `/*
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
* Warning: This file is auto-generated by contracts-gen. Don't edit manually.
|
||||||
|
* -----------------------------------------------------------------------------
|
||||||
|
*/`;
|
||||||
const AUTO_GENERATED_BANNER_FOR_LISTS = `This list is auto-generated by contracts-gen. Don't edit manually.`;
|
const AUTO_GENERATED_BANNER_FOR_LISTS = `This list is auto-generated by contracts-gen. Don't edit manually.`;
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
@ -82,7 +86,7 @@ function generateArtifactsTs(contracts: string[], artifactsDir: string, prettier
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
const artifactsTs = `
|
const artifactsTs = `
|
||||||
// ${AUTO_GENERATED_BANNER}
|
${AUTO_GENERATED_BANNER}
|
||||||
import { ContractArtifact } from 'ethereum-types';
|
import { ContractArtifact } from 'ethereum-types';
|
||||||
|
|
||||||
${sortedImports.join('\n')}
|
${sortedImports.join('\n')}
|
||||||
@ -102,7 +106,7 @@ function generateWrappersTs(contracts: string[], wrappersDir: string, prettierCo
|
|||||||
});
|
});
|
||||||
const sortedImports = _.sortBy(imports);
|
const sortedImports = _.sortBy(imports);
|
||||||
const wrappersTs = `
|
const wrappersTs = `
|
||||||
// ${AUTO_GENERATED_BANNER}
|
${AUTO_GENERATED_BANNER}
|
||||||
${sortedImports.join('\n')}
|
${sortedImports.join('\n')}
|
||||||
`;
|
`;
|
||||||
const WRAPPERS_TS_FILE_PATH = 'src/wrappers.ts';
|
const WRAPPERS_TS_FILE_PATH = 'src/wrappers.ts';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user