aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/utils/constants.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-19 05:56:07 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-19 05:56:07 +0800
commitfd4b4f8f8289d1e5a873ff5aa0aa9f7ac6a2ba08 (patch)
tree5731fb9ef35179affdf4f56fd9ec7b7fb3646f4a /packages/contract-wrappers/src/utils/constants.ts
parent0003666050c4991623cb36ec994d536e4703b4fe (diff)
downloaddexon-sol-tools-fd4b4f8f8289d1e5a873ff5aa0aa9f7ac6a2ba08.tar
dexon-sol-tools-fd4b4f8f8289d1e5a873ff5aa0aa9f7ac6a2ba08.tar.gz
dexon-sol-tools-fd4b4f8f8289d1e5a873ff5aa0aa9f7ac6a2ba08.tar.bz2
dexon-sol-tools-fd4b4f8f8289d1e5a873ff5aa0aa9f7ac6a2ba08.tar.lz
dexon-sol-tools-fd4b4f8f8289d1e5a873ff5aa0aa9f7ac6a2ba08.tar.xz
dexon-sol-tools-fd4b4f8f8289d1e5a873ff5aa0aa9f7ac6a2ba08.tar.zst
dexon-sol-tools-fd4b4f8f8289d1e5a873ff5aa0aa9f7ac6a2ba08.zip
Make ForwaderWrapper take in a number for feePercentage instead of BigNumber
Diffstat (limited to 'packages/contract-wrappers/src/utils/constants.ts')
-rw-r--r--packages/contract-wrappers/src/utils/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/utils/constants.ts b/packages/contract-wrappers/src/utils/constants.ts
index 2df11538c..78441decf 100644
--- a/packages/contract-wrappers/src/utils/constants.ts
+++ b/packages/contract-wrappers/src/utils/constants.ts
@@ -12,4 +12,6 @@ export const constants = {
UNLIMITED_ALLOWANCE_IN_BASE_UNITS: new BigNumber(2).pow(256).minus(1),
DEFAULT_BLOCK_POLLING_INTERVAL: 1000,
ZERO_AMOUNT: new BigNumber(0),
+ ONE_AMOUNT: new BigNumber(1),
+ ETHER_TOKEN_DECIMALS: 18,
};