|
|
@ -149,6 +149,7 @@ var actions = { |
|
|
|
UPDATE_SEND_AMOUNT: 'UPDATE_SEND_AMOUNT', |
|
|
|
UPDATE_SEND_AMOUNT: 'UPDATE_SEND_AMOUNT', |
|
|
|
UPDATE_SEND_MEMO: 'UPDATE_SEND_MEMO', |
|
|
|
UPDATE_SEND_MEMO: 'UPDATE_SEND_MEMO', |
|
|
|
UPDATE_SEND_ERRORS: 'UPDATE_SEND_ERRORS', |
|
|
|
UPDATE_SEND_ERRORS: 'UPDATE_SEND_ERRORS', |
|
|
|
|
|
|
|
UPDATE_SEND: 'UPDATE_SEND', |
|
|
|
CLEAR_SEND: 'CLEAR_SEND', |
|
|
|
CLEAR_SEND: 'CLEAR_SEND', |
|
|
|
updateGasLimit, |
|
|
|
updateGasLimit, |
|
|
|
updateGasPrice, |
|
|
|
updateGasPrice, |
|
|
@ -159,6 +160,7 @@ var actions = { |
|
|
|
updateSendAmount, |
|
|
|
updateSendAmount, |
|
|
|
updateSendMemo, |
|
|
|
updateSendMemo, |
|
|
|
updateSendErrors, |
|
|
|
updateSendErrors, |
|
|
|
|
|
|
|
updateSend, |
|
|
|
clearSend, |
|
|
|
clearSend, |
|
|
|
setSelectedAddress, |
|
|
|
setSelectedAddress, |
|
|
|
// app messages
|
|
|
|
// app messages
|
|
|
@ -632,6 +634,13 @@ function updateSendErrors (error) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function updateSend (newSend) { |
|
|
|
|
|
|
|
return { |
|
|
|
|
|
|
|
type: actions.UPDATE_SEND, |
|
|
|
|
|
|
|
value: newSend, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function clearSend () { |
|
|
|
function clearSend () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
type: actions.CLEAR_SEND, |
|
|
|
type: actions.CLEAR_SEND, |
|
|
|