aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/utils/constants.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-12-21 07:35:26 +0800
committerGitHub <noreply@github.com>2018-12-21 07:35:26 +0800
commit9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3 (patch)
tree87b38e76cc52301a4b4fd259c83f3eb69414fe85 /packages/contract-wrappers/src/utils/constants.ts
parent5ec1ae5f7f488d20130d68ed422fac769b843f93 (diff)
parent56af9b2aab26fd6a774d0b345ce8e1441bb1a9e0 (diff)
downloaddexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar
dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.gz
dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.bz2
dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.lz
dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.xz
dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.tar.zst
dexon-sol-tools-9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3.zip
Merge pull request #1434 from 0xProject/fix/instant/signature-denied
[instant] fix signature denial error message and add trust wallet detection
Diffstat (limited to 'packages/contract-wrappers/src/utils/constants.ts')
-rw-r--r--packages/contract-wrappers/src/utils/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contract-wrappers/src/utils/constants.ts b/packages/contract-wrappers/src/utils/constants.ts
index c587ba526..94afdc112 100644
--- a/packages/contract-wrappers/src/utils/constants.ts
+++ b/packages/contract-wrappers/src/utils/constants.ts
@@ -14,5 +14,6 @@ export const constants = {
ZERO_AMOUNT: new BigNumber(0),
ONE_AMOUNT: new BigNumber(1),
ETHER_TOKEN_DECIMALS: 18,
- USER_DENIED_SIGNATURE_PATTERN: 'User denied transaction signature',
+ METAMASK_USER_DENIED_SIGNATURE_PATTERN: 'User denied transaction signature',
+ TRUST_WALLET_USER_DENIED_SIGNATURE_PATTERN: 'cancelled',
};