Add contract-wrappers MD docs and update it's index.ts so that no types are missing

This commit is contained in:
fabioberger
2019-09-03 12:43:27 +02:00
parent 3264bd223d
commit 94f94bdda7
3 changed files with 890 additions and 595 deletions

View File

@@ -52,7 +52,7 @@
"config": {
"contractsPackages": "@0x/contracts-asset-proxy @0x/contracts-erc20 @0x/contracts-erc721 @0x/contracts-erc1155 @0x/contracts-exchange @0x/contracts-exchange-forwarder @0x/contracts-exchange-libs @0x/contracts-extensions @0x/contracts-multisig @0x/contracts-test-utils @0x/contracts-utils @0x/contracts-coordinator @0x/contracts-dev-utils",
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic",
"packagesWithDocPages": "0x.js connect json-schemas subproviders web3-wrapper order-utils sol-compiler sol-coverage sol-profiler sol-trace ethereum-types asset-buyer asset-swapper migrations",
"packagesWithDocPages": "contract-wrappers 0x.js connect json-schemas subproviders web3-wrapper order-utils sol-compiler sol-coverage sol-profiler sol-trace ethereum-types asset-buyer asset-swapper migrations",
"ignoreDependencyVersions": "@types/styled-components @types/node",
"ignoreDependencyVersionsForPackage": "website instant dev-tools-pages contract-wrappers"
},

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
export * from '@0x/contract-addresses';
export { ContractAddresses } from '@0x/contract-addresses';
export { ContractWrappers } from './contract_wrappers';
export { CoordinatorWrapper } from './coordinator_wrapper';
@@ -78,7 +78,6 @@ export {
OrderStatus,
ContractError,
ForwarderError,
OrderAndTraderInfo,
CoordinatorServerCancellationResponse,
CoordinatorServerError,
IndexedFilterValues,
@@ -88,7 +87,72 @@ export {
OrderInfo,
EventCallback,
DecodedLogEvent,
TraderInfo,
} from './types';
export { BlockRange } from 'ethereum-types';
export {
BlockRange,
SupportedProvider,
TxData,
ContractAbi,
ContractArtifact,
DataItem,
CallData,
BlockParam,
ContractEventArg,
DecodedLogArgs,
LogWithDecodedArgs,
CompilerOpts,
StandardContractOutput,
ContractNetworks,
EventParameter,
TupleDataItem,
TxDataPayable,
BlockParamLiteral,
AbiDefinition,
Web3JsProvider,
GanacheProvider,
EIP1193Provider,
ZeroExProvider,
LogEntry,
RawLog,
CompilerSettings,
ContractNetworkData,
EIP1193Event,
JSONRPCRequestPayload,
JSONRPCErrorCallback,
DecodedLogEntry,
LogEntryEvent,
DevdocOutput,
EvmOutput,
FunctionAbi,
EventAbi,
Web3JsV1Provider,
Web3JsV2Provider,
Web3JsV3Provider,
CompilerSettingsMetadata,
OptimizerSettings,
OutputField,
DecodedLogEntryEvent,
ParamDescription,
EvmBytecodeOutput,
JSONRPCResponsePayload,
MethodAbi,
ConstructorAbi,
FallbackAbi,
ConstructorStateMutability,
JSONRPCResponseError,
StateMutability,
} from 'ethereum-types';
export {
SimpleContractArtifact,
ZeroExTransaction,
SignedOrder,
Order,
SimpleStandardContractOutput,
SignedZeroExTransaction,
SimpleEvmOutput,
SimpleEvmBytecodeOutput,
} from '@0x/types';
export { AbiDecoder, DecodedCalldata } from '@0x/utils';