Lawrence Forman 0c33aa16a1 @0x/utils: Add more ZeroEx rich reverts.
`@0x/utils: Display revert error payload in stack traces.
2020-04-21 22:29:46 -04:00

53 lines
3.0 KiB
TypeScript

export { promisify } from './promisify';
export { addressUtils } from './address_utils';
export { classUtils } from './class_utils';
export { deleteNestedProperty } from './delete_nested_property';
export { intervalUtils } from './interval_utils';
export { providerUtils } from './provider_utils';
export { BigNumber } from './configured_bignumber';
export { AbiDecoder } from './abi_decoder';
export { logUtils } from './log_utils';
export { abiUtils } from './abi_utils';
export { NULL_BYTES, NULL_ADDRESS } from './constants';
export { errorUtils } from './error_utils';
export { fetchAsync } from './fetch_async';
export { signTypedDataUtils } from './sign_typed_data_utils';
export { hexUtils } from './hex_utils';
export import AbiEncoder = require('./abi_encoder');
export * from './types';
export { generatePseudoRandom256BitNumber } from './random';
export {
decodeBytesAsRevertError,
decodeThrownErrorAsRevertError,
coerceThrownErrorAsRevertError,
RawRevertError,
registerRevertErrorType,
RevertError,
StringRevertError,
AnyRevertError,
} from './revert_error';
export { fromTokenUnitAmount, toTokenUnitAmount } from './token_utils';
export import BrokerRevertErrors = require('./revert_errors/broker/revert_errors');
export import CoordinatorRevertErrors = require('./revert_errors/coordinator/revert_errors');
export import ExchangeForwarderRevertErrors = require('./revert_errors/exchange-forwarder/revert_errors');
export import LibMathRevertErrors = require('./revert_errors/exchange-libs/lib_math_revert_errors');
export import ExchangeRevertErrors = require('./revert_errors/exchange/revert_errors');
export import LibAssetDataTransferRevertErrors = require('./revert_errors/extensions/lib_asset_data_transfer_revert_errors');
export import MixinWethUtilsRevertErrors = require('./revert_errors/extensions/mixin_weth_utils_revert_errors');
export import FixedMathRevertErrors = require('./revert_errors/staking/fixed_math_revert_errors');
export import StakingRevertErrors = require('./revert_errors/staking/staking_revert_errors');
export import AuthorizableRevertErrors = require('./revert_errors/utils/authorizable_revert_errors');
export import LibAddressArrayRevertErrors = require('./revert_errors/utils/lib_address_array_revert_errors');
export import LibBytesRevertErrors = require('./revert_errors/utils/lib_bytes_revert_errors');
export import OwnableRevertErrors = require('./revert_errors/utils/ownable_revert_errors');
export import ReentrancyGuardRevertErrors = require('./revert_errors/utils/reentrancy_guard_revert_errors');
export import SafeMathRevertErrors = require('./revert_errors/utils/safe_math_revert_errors');
export const ZeroExRevertErrors = {
Common: require('./revert_errors/zero-ex/common_revert_errors'),
Proxy: require('./revert_errors/zero-ex/proxy_revert_errors'),
SimpleFunctionRegistry: require('./revert_errors/zero-ex/simple_function_registry_revert_errors'),
Migrate: require('./revert_errors/zero-ex/migrate_revert_errors'),
};