export const setOptions = ({ state }, upd) => {
    if (!upd)
        return;
    Object.keys(upd).forEach((k) => (state.flows.stake.options[k] = upd[k]));
};
export const setLatestMode = ({ state }, { stakingMode }) => {
    state.flows.stake.latestMode = stakingMode ?? -1;
};
//# sourceMappingURL=actions.js.map