aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/constants
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-29 02:20:30 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-29 02:20:30 +0800
commite743f44150d4c09908d24945de5a281e15e8469d (patch)
tree76984504e65b06ae15633d721fedc7ddd5b0cca7 /ui/app/constants
parent3106374cc31b66e5a0faadd657b4430e21aa48b2 (diff)
parent0259eb02140fec1db9861506a6ff7890911af652 (diff)
downloadtangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.tar.gz
tangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.tar.zst
tangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.zip
fix conflicts
Diffstat (limited to 'ui/app/constants')
-rw-r--r--ui/app/constants/common.js1
-rw-r--r--ui/app/constants/transactions.js22
2 files changed, 23 insertions, 0 deletions
diff --git a/ui/app/constants/common.js b/ui/app/constants/common.js
new file mode 100644
index 000000000..28731ce33
--- /dev/null
+++ b/ui/app/constants/common.js
@@ -0,0 +1 @@
+export const ETH = 'ETH'
diff --git a/ui/app/constants/transactions.js b/ui/app/constants/transactions.js
new file mode 100644
index 000000000..df6c4c8a4
--- /dev/null
+++ b/ui/app/constants/transactions.js
@@ -0,0 +1,22 @@
+export const UNAPPROVED_STATUS = 'unapproved'
+export const REJECTED_STATUS = 'rejected'
+export const APPROVED_STATUS = 'approved'
+export const SIGNED_STATUS = 'signed'
+export const SUBMITTED_STATUS = 'submitted'
+export const CONFIRMED_STATUS = 'confirmed'
+export const FAILED_STATUS = 'failed'
+export const DROPPED_STATUS = 'dropped'
+
+export const TOKEN_METHOD_TRANSFER = 'transfer'
+export const TOKEN_METHOD_APPROVE = 'approve'
+export const TOKEN_METHOD_TRANSFER_FROM = 'transferfrom'
+
+export const SEND_ETHER_ACTION_KEY = 'sentEther'
+export const DEPLOY_CONTRACT_ACTION_KEY = 'contractDeployment'
+export const APPROVE_ACTION_KEY = 'approve'
+export const SEND_TOKEN_ACTION_KEY = 'sentTokens'
+export const TRANSFER_FROM_ACTION_KEY = 'transferFrom'
+export const SIGNATURE_REQUEST_KEY = 'signatureRequest'
+export const UNKNOWN_FUNCTION_KEY = 'unknownFunction'
+
+export const TRANSACTION_TYPE_SHAPESHIFT = 'shapeshift'