diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 09:09:58 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-14 09:09:58 +0800 |
commit | da9de70bbcecc16fa3a7f6991623f5027628f2b3 (patch) | |
tree | 5ec1cdef371604aa360eeae4ae7cde3190a8783d /packages/instant/src/redux/actions.ts | |
parent | f03afe6f1b6a6bfa339507ee47b42c62550444a0 (diff) | |
parent | e02dc13805349a770506350c69e9061f596b48b2 (diff) | |
download | dexon-sol-tools-da9de70bbcecc16fa3a7f6991623f5027628f2b3.tar dexon-sol-tools-da9de70bbcecc16fa3a7f6991623f5027628f2b3.tar.gz dexon-sol-tools-da9de70bbcecc16fa3a7f6991623f5027628f2b3.tar.bz2 dexon-sol-tools-da9de70bbcecc16fa3a7f6991623f5027628f2b3.tar.lz dexon-sol-tools-da9de70bbcecc16fa3a7f6991623f5027628f2b3.tar.xz dexon-sol-tools-da9de70bbcecc16fa3a7f6991623f5027628f2b3.tar.zst dexon-sol-tools-da9de70bbcecc16fa3a7f6991623f5027628f2b3.zip |
Merge https://github.com/0xProject/0x-monorepo into feature/instant/metamask-connect-flow
Diffstat (limited to 'packages/instant/src/redux/actions.ts')
-rw-r--r-- | packages/instant/src/redux/actions.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/instant/src/redux/actions.ts b/packages/instant/src/redux/actions.ts index 0891170b4..77e3dec12 100644 --- a/packages/instant/src/redux/actions.ts +++ b/packages/instant/src/redux/actions.ts @@ -26,7 +26,7 @@ export enum ActionTypes { SET_ACCOUNT_STATE_READY = 'SET_ACCOUNT_STATE_READY', UPDATE_ACCOUNT_ETH_BALANCE = 'UPDATE_ACCOUNT_ETH_BALANCE', UPDATE_ETH_USD_PRICE = 'UPDATE_ETH_USD_PRICE', - UPDATE_SELECTED_ASSET_AMOUNT = 'UPDATE_SELECTED_ASSET_AMOUNT', + UPDATE_SELECTED_ASSET_UNIT_AMOUNT = 'UPDATE_SELECTED_ASSET_UNIT_AMOUNT', SET_BUY_ORDER_STATE_NONE = 'SET_BUY_ORDER_STATE_NONE', SET_BUY_ORDER_STATE_VALIDATING = 'SET_BUY_ORDER_STATE_VALIDATING', SET_BUY_ORDER_STATE_PROCESSING = 'SET_BUY_ORDER_STATE_PROCESSING', @@ -52,7 +52,8 @@ export const actions = { updateAccountEthBalance: (addressAndBalance: AddressAndEthBalanceInWei) => createAction(ActionTypes.UPDATE_ACCOUNT_ETH_BALANCE, addressAndBalance), updateEthUsdPrice: (price?: BigNumber) => createAction(ActionTypes.UPDATE_ETH_USD_PRICE, price), - updateSelectedAssetAmount: (amount?: BigNumber) => createAction(ActionTypes.UPDATE_SELECTED_ASSET_AMOUNT, amount), + updateSelectedAssetAmount: (amount?: BigNumber) => + createAction(ActionTypes.UPDATE_SELECTED_ASSET_UNIT_AMOUNT, amount), setBuyOrderStateNone: () => createAction(ActionTypes.SET_BUY_ORDER_STATE_NONE), setBuyOrderStateValidating: () => createAction(ActionTypes.SET_BUY_ORDER_STATE_VALIDATING), setBuyOrderStateProcessing: (txHash: string, startTimeUnix: number, expectedEndTimeUnix: number) => |