@0x/contracts-test-utils: Add ONE_ETHER and MAX_UINT256_ROOT constants.
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
"pr": "TODO"
|
||||
},
|
||||
{
|
||||
"note": "Add the constants: `MAX_UINT256`, `ADDRESS_LENGTH`",
|
||||
"note": "Add the constants: `MAX_UINT256`, `ADDRESS_LENGTH`, `MAX_UINT256_ROOT`, `ONE_ETHER`",
|
||||
"pr": "TODO"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -64,4 +64,6 @@ export const constants = {
|
||||
PERCENTAGE_DENOMINATOR: new BigNumber(10).pow(18),
|
||||
TIME_BUFFER: new BigNumber(1000),
|
||||
KECCAK256_NULL: ethUtil.addHexPrefix(ethUtil.bufferToHex(ethUtil.SHA3_NULL)),
|
||||
MAX_UINT256_ROOT: new BigNumber('340282366920938463463374607431768211456'),
|
||||
ONE_ETHER: new BigNumber(1e18),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user