aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/transactions/enums.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2018-09-11 07:29:29 +0800
committerGitHub <noreply@github.com>2018-09-11 07:29:29 +0800
commit1552fe1c3eb8571036f8e32a3b2c5895849d19f1 (patch)
treeccb2b157cbc249e8b750202763299a59fa57a9ff /app/scripts/controllers/transactions/enums.js
parenta43e71693f87290ac1610ae9bc3cc2887a86555b (diff)
parent43de189d067f8cf03cdd97380cbe2487319271eb (diff)
downloadtangerine-wallet-browser-1552fe1c3eb8571036f8e32a3b2c5895849d19f1.tar
tangerine-wallet-browser-1552fe1c3eb8571036f8e32a3b2c5895849d19f1.tar.gz
tangerine-wallet-browser-1552fe1c3eb8571036f8e32a3b2c5895849d19f1.tar.bz2
tangerine-wallet-browser-1552fe1c3eb8571036f8e32a3b2c5895849d19f1.tar.lz
tangerine-wallet-browser-1552fe1c3eb8571036f8e32a3b2c5895849d19f1.tar.xz
tangerine-wallet-browser-1552fe1c3eb8571036f8e32a3b2c5895849d19f1.tar.zst
tangerine-wallet-browser-1552fe1c3eb8571036f8e32a3b2c5895849d19f1.zip
Merge pull request #5216 from MetaMask/tx-cancel
Add createCancelTransaction method
Diffstat (limited to 'app/scripts/controllers/transactions/enums.js')
-rw-r--r--app/scripts/controllers/transactions/enums.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/scripts/controllers/transactions/enums.js b/app/scripts/controllers/transactions/enums.js
new file mode 100644
index 000000000..be6f16e0d
--- /dev/null
+++ b/app/scripts/controllers/transactions/enums.js
@@ -0,0 +1,12 @@
+const TRANSACTION_TYPE_CANCEL = 'cancel'
+const TRANSACTION_TYPE_RETRY = 'retry'
+const TRANSACTION_TYPE_STANDARD = 'standard'
+
+const TRANSACTION_STATUS_APPROVED = 'approved'
+
+module.exports = {
+ TRANSACTION_TYPE_CANCEL,
+ TRANSACTION_TYPE_RETRY,
+ TRANSACTION_TYPE_STANDARD,
+ TRANSACTION_STATUS_APPROVED,
+}