Moving away from default exports.
This commit is contained in:
parent
614b2d0325
commit
3b843a1782
@ -7,10 +7,3 @@ export {
|
|||||||
Contract,
|
Contract,
|
||||||
Interface
|
Interface
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
export default {
|
|
||||||
Contract,
|
|
||||||
Interface
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
@ -42,7 +42,7 @@ export {
|
|||||||
version
|
version
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export const ethers = {
|
||||||
Wallet,
|
Wallet,
|
||||||
|
|
||||||
HDNode,
|
HDNode,
|
||||||
|
@ -33,20 +33,4 @@ export {
|
|||||||
|
|
||||||
JsonRpcSigner
|
JsonRpcSigner
|
||||||
};
|
};
|
||||||
/*
|
|
||||||
export default {
|
|
||||||
Provider,
|
|
||||||
getDefaultProvider,
|
|
||||||
|
|
||||||
FallbackProvider,
|
|
||||||
|
|
||||||
EtherscanProvider,
|
|
||||||
InfuraProvider,
|
|
||||||
JsonRpcProvider,
|
|
||||||
Web3Provider,
|
|
||||||
|
|
||||||
IpcProvider,
|
|
||||||
|
|
||||||
JsonRpcSigner
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
@ -110,74 +110,4 @@ export {
|
|||||||
|
|
||||||
errors
|
errors
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
export default {
|
|
||||||
AbiCoder,
|
|
||||||
defaultAbiCoder,
|
|
||||||
parseSignature,
|
|
||||||
parseParamType,
|
|
||||||
|
|
||||||
constants,
|
|
||||||
|
|
||||||
RLP,
|
|
||||||
|
|
||||||
fetchJson,
|
|
||||||
|
|
||||||
defineReadOnly,
|
|
||||||
defineFrozen,
|
|
||||||
resolveProperties,
|
|
||||||
shallowCopy,
|
|
||||||
|
|
||||||
etherSymbol,
|
|
||||||
|
|
||||||
arrayify,
|
|
||||||
|
|
||||||
concat,
|
|
||||||
padZeros,
|
|
||||||
stripZeros,
|
|
||||||
|
|
||||||
base64,
|
|
||||||
|
|
||||||
bigNumberify,
|
|
||||||
|
|
||||||
hexlify,
|
|
||||||
hexStripZeros,
|
|
||||||
hexZeroPad,
|
|
||||||
hexDataLength,
|
|
||||||
hexDataSlice,
|
|
||||||
|
|
||||||
toUtf8Bytes,
|
|
||||||
toUtf8String,
|
|
||||||
|
|
||||||
hashMessage,
|
|
||||||
namehash,
|
|
||||||
id,
|
|
||||||
|
|
||||||
getAddress,
|
|
||||||
getIcapAddress,
|
|
||||||
getContractAddress,
|
|
||||||
|
|
||||||
formatEther,
|
|
||||||
parseEther,
|
|
||||||
|
|
||||||
formatUnits,
|
|
||||||
parseUnits,
|
|
||||||
|
|
||||||
keccak256,
|
|
||||||
sha256,
|
|
||||||
|
|
||||||
randomBytes,
|
|
||||||
|
|
||||||
solidityPack,
|
|
||||||
solidityKeccak256,
|
|
||||||
soliditySha256,
|
|
||||||
|
|
||||||
splitSignature,
|
|
||||||
joinSignature,
|
|
||||||
|
|
||||||
parseTransaction,
|
|
||||||
serializeTransaction,
|
|
||||||
|
|
||||||
errors
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
@ -7,5 +7,3 @@ import { SigningKey } from './signing-key';
|
|||||||
|
|
||||||
export { HDNode, SigningKey, Wallet };
|
export { HDNode, SigningKey, Wallet };
|
||||||
|
|
||||||
//export default { HDNode, SigningKey, Wallet };
|
|
||||||
|
|
||||||
|
@ -18,9 +18,3 @@ const zh_tw: Wordlist = _zh_tw;
|
|||||||
export {
|
export {
|
||||||
en, it, ja, ko, zh, zh_cn, zh_tw
|
en, it, ja, ko, zh, zh_cn, zh_tw
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
export default {
|
|
||||||
en, it, ja, ko, zh, zh_cn, zh_tw
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user