crptm 780f3ba94f balance fetching (#41)
* balance fetching

* fix tests

* bump deps

* validate custom token form

* equiv values

* fix rates saga naming

* address review comments
2017-07-13 16:02:39 -05:00

16 lines
268 B
JavaScript

// @flow
export type SetRatesAction = {
type: 'RATES_SET',
payload: { [string]: number }
};
export type RatesAction = SetRatesAction;
export function setRates(payload: { [string]: number }): SetRatesAction {
return {
type: 'RATES_SET',
payload
};
}