aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/redux/actions.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-10 02:06:22 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-10 02:06:22 +0800
commitdf91d343154bced69be86f7af4c4c702286cfd16 (patch)
tree35a540b849c38ce72a2b5bd5aedcc23f2b72ef6d /packages/instant/src/redux/actions.ts
parentd703c13f8eca7f7139581468e86cf6d2fa067c1e (diff)
parentb4a11de097258d37fa9271e64fc28a1d012a8d26 (diff)
downloaddexon-sol-tools-df91d343154bced69be86f7af4c4c702286cfd16.tar
dexon-sol-tools-df91d343154bced69be86f7af4c4c702286cfd16.tar.gz
dexon-sol-tools-df91d343154bced69be86f7af4c4c702286cfd16.tar.bz2
dexon-sol-tools-df91d343154bced69be86f7af4c4c702286cfd16.tar.lz
dexon-sol-tools-df91d343154bced69be86f7af4c4c702286cfd16.tar.xz
dexon-sol-tools-df91d343154bced69be86f7af4c4c702286cfd16.tar.zst
dexon-sol-tools-df91d343154bced69be86f7af4c4c702286cfd16.zip
Merge branch 'development' into feature/instant/buy-quote-heartbeat
Diffstat (limited to 'packages/instant/src/redux/actions.ts')
-rw-r--r--packages/instant/src/redux/actions.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/instant/src/redux/actions.ts b/packages/instant/src/redux/actions.ts
index 9b0d80152..fc89e3d0e 100644
--- a/packages/instant/src/redux/actions.ts
+++ b/packages/instant/src/redux/actions.ts
@@ -2,7 +2,7 @@ import { BuyQuote } from '@0x/asset-buyer';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
-import { ActionsUnion, Asset } from '../types';
+import { ActionsUnion, AddressAndEthBalanceInWei, Asset } from '../types';
export interface PlainAction<T extends string> {
type: T;
@@ -49,7 +49,8 @@ export const actions = {
setAccountStateLocked: () => createAction(ActionTypes.SET_ACCOUNT_STATE_LOCKED),
setAccountStateError: () => createAction(ActionTypes.SET_ACCOUNT_STATE_ERROR),
setAccountStateReady: (address: string) => createAction(ActionTypes.SET_ACCOUNT_STATE_READY, address),
- updateAccountEthBalance: (balance: BigNumber) => createAction(ActionTypes.UPDATE_ACCOUNT_ETH_BALANCE, balance),
+ 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),
setBuyOrderStateNone: () => createAction(ActionTypes.SET_BUY_ORDER_STATE_NONE),